/* ==========================================================================
   SPOTIFY COMPLETE DESIGN SYSTEM (All Views Architecture)
   Pure CSS, Hardware Accelerated, Zero External Bloat
   ========================================================================== */
:root {
  --bg-black: #060913;          /* 深い漆黒ネイビー（全体フレーム・プレイヤー背景） */
  --bg-base: #0a0f1d;           /* 澄んだミッドナイトネイビー（メイン画面背景） */
  --bg-surface: #101726;        /* 洗練されたダークスレート（サイドバー・パネル） */
  --bg-surface-hover: #162035;  /* ホバー時 */
  --bg-surface-active: #1a253c; /* アクティブ時 */
  --bg-card: #101726;           /* カード背景 */
  --bg-card-hover: #162035;     /* カードホバー */
  
  --accent-green: #38bdf8;        /* Nemgiの象徴シアンブルー（ミクカラー） */
  --accent-green-hover: #60a5fa;  /* ホバー時の明るいスカイブルー */
  --accent-green-active: #0284c7; /* アクティブ時のディープシアン */
  
  --border: #1b263b;            /* 前のNemgiと完全一致する不透明スレートネイビー枠線 */
  --border-subtle: #162035;     /* 控えめな区切り線 */
  --border-focus: #38bdf8;      /* フォーカス・選択時のシアン */
  
  --text-base: #f1f5f9;         /* やわらかなオフホワイト */
  --text-subdued: #94a3b8;      /* 上品なスレートグレー */
  --text-bright: #f8fafc;       /* 眩しさを抑えたクリアオフホワイト */
  
  --radius-panel: 8px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --radius-sm: 4px;

  --slider-bg: #1e293b;
  --slider-fg: #f1f5f9;
  --slider-active: #38bdf8;

  --header-height: 64px;
  --player-height: 70px;
  --sidebar-width: 280px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   DAY MODE (LIGHT THEME) DESIGN SYSTEM - GALLERY MODERNIST
   現代美術館スタイル：展示壁ペールグレー・全ジャケット＆大判カード影ゼロ・枠線ゼロの洗練
   ========================================================================== */
/* ==========================================================================
   DAY MODE (PERFECT WHITE WITH 0.5MM WARMTH - SOLID MONOCHROME)
   さらに白寄りに極限調整した至高の一色・影枠線ゼロ・角丸ゼロ
   ========================================================================== */
[data-theme="gallery"],
[data-theme="light"] {
  /* オールスター厳選パレット：純白背景 × 深緑ティール #156064 × セルリアン #37718E × シアン #24D4D4 × ビビッドピンク #F75590 */
  --bg-black: #ffffff;
  --bg-base: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f0fdfa;     /* #a1ffde を溶かした淡いミントヴェール */
  --bg-surface-active: #ccfbf1;
  --bg-card: #ffffff;
  --bg-card-hover: #f0fdfa;
  
  --accent-green: #24d4d4;        /* Strong Cyan (鮮烈ミクシアン) */
  --accent-green-hover: #156064;
  --accent-green-active: #0e4447;
  --accent-pink: #f75590;         /* ビビッドピンク */
  --accent-yellow: #fcfc62;       /* カナリーイエロー */
  
  --border: transparent;
  --border-subtle: transparent;
  --border-focus: #24d4d4;
  
  --text-base: #156064;           /* 主役タイトル：Stormy Teal (深みのある青緑ティール) */
  --text-subdued: #37718e;        /* 脇役サブテキスト：Cerulean (知的なセルリアンブルー) */
  --text-bright: #156064;         /* 最高濃度のティール */
  
  --slider-bg: #ccfbf1;
  --slider-fg: #24d4d4;
  --slider-active: #f75590;
}

[data-theme="gallery"],
[data-theme="light"],
[data-theme="gallery"] body,
[data-theme="light"] body {
  background: #f3f8f5 !important;
  background-color: #f3f8f5 !important;
  color: #0f3d2e !important;
}

[data-theme="gallery"] .app-container,
[data-theme="light"] .app-container {
  background: #fffffe !important;
}

[data-theme="gallery"] .sidebar-container,
[data-theme="light"] .sidebar-container {
  background: #fffffe !important;
}

[data-theme="gallery"] .panel,
[data-theme="light"] .panel,
[data-theme="gallery"] .nav-panel,
[data-theme="light"] .nav-panel,
[data-theme="gallery"] .sidebar-playlists-panel,
[data-theme="light"] .sidebar-playlists-panel {
  background: #fffffe !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .main-view,
[data-theme="light"] .main-view,
[data-theme="gallery"] .main-scroll,
[data-theme="light"] .main-scroll {
  background: #fffffe !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .top-header,
[data-theme="light"] .top-header,
[data-theme="gallery"] .top-header.scrolled,
[data-theme="light"] .top-header.scrolled {
  background: #fffffe !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .player-bar,
[data-theme="light"] .player-bar {
  background: #fffffe !important;
  border-top: none !important;
  box-shadow: none !important;
}

/* 均一な一色を保つためエフェクトは完全非表示 */
[data-theme="gallery"] .ambient-container,
[data-theme="light"] .ambient-container {
  display: none !important;
}

[data-theme="gallery"] .nemgi-negi-svg,
[data-theme="light"] .nemgi-negi-svg {
  filter: none !important;
}

[data-theme="gallery"] .search-input, [data-theme="light"] .search-input {
  background-color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #0f3d2e;
  box-shadow: none !important;
  font-weight: 600;
}
[data-theme="gallery"] .search-input:focus, [data-theme="light"] .search-input:focus {
  background-color: #ffffff;
  border: none !important;
  box-shadow: 0 0 0 2px #22c55e !important;
}

[data-theme="gallery"] .spotify-logo, [data-theme="light"] .spotify-logo { color: #08291e; }
[data-theme="gallery"] .spotify-logo-text, [data-theme="light"] .spotify-logo-text { color: #08291e !important; }

[data-theme="gallery"] .nav-item, [data-theme="light"] .nav-item { color: #447766; font-weight: 600; }
[data-theme="gallery"] .nav-item:hover, [data-theme="light"] .nav-item:hover { color: #10b981; background-color: rgba(16, 185, 129, 0.1); }
/* neutralized ancient active */

[data-theme="gallery"] .player-title, [data-theme="light"] .player-title { color: #08291e; font-weight: 700; }
[data-theme="gallery"] .player-sub-credits, [data-theme="light"] .player-sub-credits { color: #447766 !important; }

[data-theme="gallery"] .btn-pill-header, [data-theme="light"] .btn-pill-header {
  background-color: rgba(255, 255, 255, 0.92);
  color: #0f3d2e;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600;
}
[data-theme="gallery"] .btn-pill-header:hover, [data-theme="light"] .btn-pill-header:hover {
  background-color: #dcfce7;
  color: #15803d;
}

[data-theme="gallery"] .btn-header-home, [data-theme="light"] .btn-header-home {
  background-color: rgba(255, 255, 255, 0.92);
  border: none !important;
  box-shadow: none !important;
  color: #14532d;
}

[data-theme="gallery"] .btn-control, [data-theme="light"] .btn-control { color: #78716c; }
[data-theme="gallery"] .btn-control:hover, [data-theme="light"] .btn-control:hover { color: #16a34a; }

[data-theme="gallery"] .circle-nav-btn, [data-theme="light"] .circle-nav-btn {
  background-color: rgba(255, 255, 255, 0.92);
  border: none !important;
  box-shadow: none !important;
  color: #14532d;
}

[data-theme="gallery"] .card-spotify, [data-theme="light"] .card-spotify { background-color: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
[data-theme="gallery"] .track-row:hover, [data-theme="light"] .track-row:hover { background-color: rgba(34, 197, 94, 0.06); }
[data-theme="gallery"] .track-row.selected, [data-theme="light"] .track-row.selected { background-color: rgba(34, 197, 94, 0.12); }
[data-theme="gallery"] .modal-box, [data-theme="light"] .modal-box {
  background: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.12) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  color: #156064 !important;
}
[data-theme="gallery"] .quick-tile, [data-theme="light"] .quick-tile {
  background-color: rgba(255, 255, 255, 0.9);
  border: none !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .quick-tile:hover, [data-theme="light"] .quick-tile:hover {
  background-color: #ffffff;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}
[data-theme="gallery"] .quick-tile-title, [data-theme="light"] .quick-tile-title { color: #14532d; font-weight: 700; }

/* ジャケット・サムネイル（影ゼロ・枠線ゼロの究極クリーン仕様） */
[data-theme="gallery"] .card-art-wrap,
[data-theme="gallery"] .library-large-card .card-art-wrap,
[data-theme="gallery"] .hero-artist-banner,
[data-theme="gallery"] .hero-artist-mini-art,
[data-theme="gallery"] .stream-theater-stage,
[data-theme="gallery"] .stream-live-banner,
[data-theme="gallery"] .sound-gallery-art-wrap,
[data-theme="gallery"] .art-voyage-art-wrap,
[data-theme="gallery"] .sidebar-fav-art,
[data-theme="gallery"] .track-mini-art,
[data-theme="gallery"] .player-art-wrap,
[data-theme="gallery"] .quick-tile-art,
[data-theme="light"] .card-art-wrap,
[data-theme="light"] .library-large-card .card-art-wrap,
[data-theme="light"] .hero-artist-banner,
[data-theme="light"] .hero-artist-mini-art,
[data-theme="light"] .stream-theater-stage,
[data-theme="light"] .stream-live-banner,
[data-theme="light"] .sound-gallery-art-wrap,
[data-theme="light"] .art-voyage-art-wrap,
[data-theme="light"] .sidebar-fav-art,
[data-theme="light"] .track-mini-art,
[data-theme="light"] .player-art-wrap,
[data-theme="light"] .quick-tile-art {
  border: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  background-color: transparent !important;
}

[data-theme="gallery"] .card-art,
[data-theme="gallery"] .hero-artist-banner-bg,
[data-theme="light"] .card-art,
[data-theme="light"] .hero-artist-banner-bg {
  border: none !important;
  border-radius: 8px !important;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* ホバー時も影ゼロ・枠線ゼロを完全維持 */
[data-theme="gallery"] .spotify-card:hover .card-art-wrap,
[data-theme="gallery"] .library-large-card:hover .card-art-wrap,
[data-theme="gallery"] .hero-artist-banner:hover,
[data-theme="gallery"] .hero-artist-banner:hover .hero-artist-mini-art,
[data-theme="gallery"] .sound-gallery-card:hover .sound-gallery-art-wrap,
[data-theme="gallery"] .art-voyage-art-wrap:hover,
[data-theme="gallery"] .stream-live-banner:hover,
[data-theme="light"] .spotify-card:hover .card-art-wrap,
[data-theme="light"] .library-large-card:hover .card-art-wrap,
[data-theme="light"] .hero-artist-banner:hover,
[data-theme="light"] .hero-artist-banner:hover .hero-artist-mini-art,
[data-theme="light"] .sound-gallery-card:hover .sound-gallery-art-wrap,
[data-theme="light"] .art-voyage-art-wrap:hover,
[data-theme="light"] .stream-live-banner:hover {
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-4px) !important;
}

/* イラスト探索カード（昼モード）のタイトル・作者カラー */
[data-theme="gallery"] #home-voyage-title,
[data-theme="light"] #home-voyage-title {
  color: #14532d !important;
}
[data-theme="gallery"] #home-voyage-artist,
[data-theme="light"] #home-voyage-artist {
  color: #5a6068 !important;
}
[data-theme="gallery"] .art-voyage-spotify-card,
[data-theme="light"] .art-voyage-spotify-card {
  border: none !important;
  box-shadow: none !important;
}

/* サイドバーお気に入りリスト（昼モード） */
[data-theme="gallery"] .sidebar-fav-title,
[data-theme="light"] .sidebar-fav-title {
  color: #14532d !important;
}
[data-theme="gallery"] .sidebar-fav-artist,
[data-theme="light"] .sidebar-fav-artist {
  color: #64748b !important;
}
[data-theme="gallery"] .sidebar-fav-item:hover,
[data-theme="light"] .sidebar-fav-item:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* プロフィール画面・鑑賞履歴サムネイル（昼モード） */
[data-theme="gallery"] .settings-wrap .playlist-hero,
[data-theme="light"] .settings-wrap .playlist-hero {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .settings-wrap .playlist-hero-title,
[data-theme="light"] .settings-wrap .playlist-hero-title {
  color: #14532d !important;
}
[data-theme="gallery"] .settings-sec-title,
[data-theme="light"] .settings-sec-title {
  color: #14532d !important;
}
[data-theme="gallery"] .profile-art-thumb,
[data-theme="light"] .profile-art-thumb {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .profile-art-title,
[data-theme="light"] .profile-art-title {
  color: #14532d !important;
}
[data-theme="gallery"] .profile-art-artist,
[data-theme="light"] .profile-art-artist {
  color: #64748b !important;
}

/* ライブラリ画面（昼モード・全白） */
[data-theme="gallery"] .library-full-wrap,
[data-theme="light"] .library-full-wrap {
  background: #ffffff !important;
}
[data-theme="gallery"] .library-main-title,
[data-theme="gallery"] .library-section-title,
[data-theme="light"] .library-main-title,
[data-theme="light"] .library-section-title {
  color: #14532d !important;
}
[data-theme="gallery"] .library-count-text,
[data-theme="light"] .library-count-text {
  color: #5a6068 !important;
}
[data-theme="gallery"] .library-count-num,
[data-theme="light"] .library-count-num {
  color: #14532d !important;
}
[data-theme="gallery"] .library-card,
[data-theme="light"] .library-card {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .library-card:hover,
[data-theme="light"] .library-card:hover {
  background: #edf0f3 !important;
}
[data-theme="gallery"] .library-card-title,
[data-theme="light"] .library-card-title {
  color: #14532d !important;
}
[data-theme="gallery"] .library-card-desc,
[data-theme="light"] .library-card-desc {
  color: #5a6068 !important;
}
[data-theme="gallery"] .library-large-art-card,
[data-theme="light"] .library-large-art-card {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .library-large-art-card:hover,
[data-theme="light"] .library-large-art-card:hover {
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .library-art-title,
[data-theme="light"] .library-art-title {
  color: #14532d !important;
}
[data-theme="gallery"] .library-art-artist,
[data-theme="light"] .library-art-artist {
  color: #5a6068 !important;
}

/* 検索画面（昼モード・全白） */
[data-theme="gallery"] .search-view-wrap,
[data-theme="light"] .search-view-wrap {
  background: #ffffff !important;
}
[data-theme="gallery"] .search-tag-label,
[data-theme="light"] .search-tag-label {
  color: #5a6068 !important;
}
[data-theme="gallery"] .search-tag-pill,
[data-theme="light"] .search-tag-pill {
  background: #f1f3f5 !important;
  color: #14532d !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
[data-theme="gallery"] .search-tag-pill:hover,
[data-theme="light"] .search-tag-pill:hover {
  background: #e5e8eb !important;
  color: #14532d !important;
}
[data-theme="gallery"] .search-tag-pill.active,
[data-theme="light"] .search-tag-pill.active {
  background: #14532d !important;
  color: #ffffff !important;
  border: 1px solid #14532d !important;
}
[data-theme="gallery"] .search-section-title,
[data-theme="light"] .search-section-title {
  color: #14532d !important;
}
[data-theme="gallery"] .search-section-sub,
[data-theme="light"] .search-section-sub {
  color: #5a6068 !important;
}

/* 検索画面 短冊形キャラクターカード（洗練されたダークガラス ＆ 上品なアクセント） */
.search-genre-strip-card {
  display: flex;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-genre-strip-card:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}
.search-genre-strip-card.active {
  transform: translateY(-1px);
}
.search-genre-strip-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.15s;
}

[data-theme="gallery"] .search-genre-strip-card,
[data-theme="light"] .search-genre-strip-card {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}
[data-theme="gallery"] .search-genre-strip-card:hover,
[data-theme="light"] .search-genre-strip-card:hover {
  background: #f1f5f9 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  filter: brightness(1.02);
  transform: translateY(-2px);
}
[data-theme="gallery"] .search-genre-strip-title,
[data-theme="light"] .search-genre-strip-title {
  color: #156064 !important;
}

/* 歌い手・キャラクター アバターピル（洗練されたモダンデザイン） */
.search-char-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4px 14px 4px 5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-char-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.search-char-pill.active {
  background: #ffffff !important;
  border-color: #ffffff !important;
}
.search-char-avatar {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.15);
}
.search-char-name {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.search-char-pill.active .search-char-name {
  color: #0b0f17 !important;
  font-weight: 700;
}
.search-char-pill.active .search-char-avatar {
  box-shadow: 0 0 0 1.5px #0b0f17;
}

[data-theme="gallery"] .search-char-pill,
[data-theme="light"] .search-char-pill {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
[data-theme="gallery"] .search-char-pill:hover,
[data-theme="light"] .search-char-pill:hover {
  background: #e5e8eb !important;
}
[data-theme="gallery"] .search-char-pill.active,
[data-theme="light"] .search-char-pill.active {
  background: #14532d !important;
  border-color: #14532d !important;
}
[data-theme="gallery"] .search-char-pill .search-char-name,
[data-theme="light"] .search-char-pill .search-char-name {
  color: #14532d !important;
}
[data-theme="gallery"] .search-char-pill.active .search-char-name,
[data-theme="light"] .search-char-pill.active .search-char-name {
  color: #ffffff !important;
}

/* 検索窓内に入ったタグ・キャラクターボタン（トークンピル） */
.search-inbox-pill {
  animation: searchPillPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes searchPillPop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.search-inbox-pill button:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
}
[data-theme="gallery"] .search-inbox-pill.tag,
[data-theme="light"] .search-inbox-pill.tag {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #14532d !important;
}
[data-theme="gallery"] .search-inbox-pill button,
[data-theme="light"] .search-inbox-pill button {
  color: #5a6068 !important;
}
[data-theme="gallery"] .search-inbox-pill button:hover,
[data-theme="light"] .search-inbox-pill button:hover {
  color: #14532d !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

/* プロフィール画面のモダンUI（タブ＆スタッツ） */
.profile-tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.profile-tab-btn:hover {
  color: #ffffff;
}
.profile-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.profile-stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.profile-stat-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

[data-theme="gallery"] .profile-tab-btn,
[data-theme="light"] .profile-tab-btn {
  color: #5a6068 !important;
}
[data-theme="gallery"] .profile-tab-btn:hover,
[data-theme="light"] .profile-tab-btn:hover {
  color: #14532d !important;
}
[data-theme="gallery"] .profile-tab-btn.active,
[data-theme="light"] .profile-tab-btn.active {
  color: #14532d !important;
  border-bottom-color: #14532d !important;
}
[data-theme="gallery"] .profile-stat-box,
[data-theme="light"] .profile-stat-box {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* 検索結果 フロー再生ボタン（海外ストリーミング風・洗練されたピルスタイル） */
.search-flow-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #24d4d4 0%, #0284c7 100%);
  color: #031320;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 7px 16px 7px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(36, 212, 212, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-flow-play-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(36, 212, 212, 0.48);
  filter: brightness(1.06);
}
.search-flow-play-btn:active {
  transform: scale(0.97);
}
.search-flow-play-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.search-flow-play-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(3, 19, 32, 0.16);
  color: #031320;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0;
}
/* イラスト画面 上部カテゴリ切り替えタグピル */
.art-tag-filter-bar {
  user-select: none;
}
.art-filter-pill {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.art-filter-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.art-filter-pill.active {
  background: #24d4d4 !important;
  color: #031320 !important;
  border-color: #24d4d4 !important;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(36, 212, 212, 0.35) !important;
}

[data-theme="gallery"] .art-filter-pill,
[data-theme="light"] .art-filter-pill {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.15) !important;
  color: #37718e !important;
  box-shadow: 0 2px 8px rgba(21, 96, 100, 0.04) !important;
}
[data-theme="gallery"] .art-filter-pill:hover,
[data-theme="light"] .art-filter-pill:hover {
  background: #e6faf5 !important;
  color: #156064 !important;
  border-color: rgba(21, 96, 100, 0.3) !important;
}
[data-theme="gallery"] .art-filter-pill.active,
[data-theme="light"] .art-filter-pill.active {
  background: #156064 !important;
  border-color: #156064 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(21, 96, 100, 0.2) !important;
}

/* 検索タグピル（統一されたミニマルデザイン） */
.search-tag-pill {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.search-tag-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.search-tag-pill.active {
  background: #ffffff !important;
  color: #0b0f17 !important;
  border-color: #ffffff !important;
}

[data-theme="gallery"] .search-flow-play-btn,
[data-theme="light"] .search-flow-play-btn {
  background: #156064 !important;
  color: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.3) !important;
  box-shadow: 0 4px 14px rgba(21, 96, 100, 0.22) !important;
}
[data-theme="gallery"] .search-flow-play-btn:hover,
[data-theme="light"] .search-flow-play-btn:hover {
  background: #0f4649 !important;
  box-shadow: 0 6px 20px rgba(21, 96, 100, 0.32) !important;
  transform: translateY(-1px) scale(1.02);
}
[data-theme="gallery"] .search-flow-play-count,
[data-theme="light"] .search-flow-play-count {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 検索結果のふんわりフェードイン演出（目に優しく滑らかに浮かび上がる） */
@keyframes searchResultFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-results-fade-in {
  animation: searchResultFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

/* 検索結果内のアクティブタグチップ ＆ ✕ボタン */
.search-active-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 14px;
}
.search-active-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  border-radius: 9999px;
  padding: 4px 8px 4px 14px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.search-active-tag-chip:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.6);
}
.search-tag-remove-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  transition: all 0.15s ease;
}
.search-tag-remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.15);
}

[data-theme="gallery"] .search-active-tag-chip,
[data-theme="light"] .search-active-tag-chip {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #14532d !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="gallery"] .search-tag-remove-btn,
[data-theme="light"] .search-tag-remove-btn {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #14532d !important;
}
[data-theme="gallery"] .search-tag-remove-btn:hover,
[data-theme="light"] .search-tag-remove-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

/* 検索フローティング窓（昼モード・淡いミントホワイト） */
[data-theme="gallery"] #search-floating-box,
[data-theme="gallery"] .search-floating-box,
[data-theme="light"] #search-floating-box,
[data-theme="light"] .search-floating-box {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.16) !important;
  box-shadow: 0 2px 12px rgba(21, 96, 100, 0.05) !important;
  filter: none !important;
}
[data-theme="gallery"] #search-floating-box:hover,
[data-theme="gallery"] #search-floating-box:focus-within,
[data-theme="gallery"] .search-floating-box:hover,
[data-theme="gallery"] .search-floating-box:focus-within,
[data-theme="light"] #search-floating-box:hover,
[data-theme="light"] #search-floating-box:focus-within,
[data-theme="light"] .search-floating-box:hover,
[data-theme="light"] .search-floating-box:focus-within {
  background: #ffffff !important;
  border-color: #24d4d4 !important;
  box-shadow: 0 4px 18px rgba(36, 212, 212, 0.16) !important;
  transform: none !important;
}
[data-theme="gallery"] #view-search-input,
[data-theme="light"] #view-search-input {
  color: #156064 !important;
}
[data-theme="gallery"] #view-search-input::placeholder,
[data-theme="light"] #view-search-input::placeholder {
  color: rgba(21, 96, 100, 0.5) !important;
}
[data-theme="gallery"] .search-bar-icon,
[data-theme="light"] .search-bar-icon {
  color: #37718e !important;
}
[data-theme="gallery"] .search-inbox-pill,
[data-theme="light"] .search-inbox-pill {
  background: rgba(21, 96, 100, 0.08) !important;
  border-color: rgba(21, 96, 100, 0.2) !important;
  color: #156064 !important;
}

/* 検索フローティング窓（通常ダークモード・シックなチャコールブラック） */
#search-floating-box,
.search-floating-box {
  background: #1e1e24 !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  filter: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3) !important;
}
#search-floating-box:hover,
#search-floating-box:focus-within,
.search-floating-box:hover,
.search-floating-box:focus-within {
  background: #25252c !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: none !important;
}
#view-search-input {
  color: #ffffff;
}
#view-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="gallery"] .library-large-card, [data-theme="light"] .library-large-card { background-color: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
[data-theme="gallery"] .library-large-card:hover, [data-theme="light"] .library-large-card:hover { background-color: transparent !important; box-shadow: none !important; }

/* カプセルフィルター */
[data-theme="gallery"] .home-mood-pill, [data-theme="light"] .home-mood-pill { background: #f1f3f5; border: none !important; color: #5a6068; font-weight: 600; box-shadow: none !important; }
[data-theme="gallery"] .home-mood-pill:hover, [data-theme="light"] .home-mood-pill:hover { background: #e5e8eb; color: #14532d; }
[data-theme="gallery"] .home-mood-pill.active, [data-theme="light"] .home-mood-pill.active { background: #14532d; border: none !important; color: #ffffff; box-shadow: none !important; }

/* 見出し＆タイポグラフィ */
[data-theme="gallery"] .section-title, [data-theme="gallery"] .greeting-text, [data-theme="gallery"] .playlist-main-title,
[data-theme="light"] .section-title, [data-theme="light"] .greeting-text, [data-theme="light"] .playlist-main-title {
  color: #14532d !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

[data-theme="gallery"] .card-title, [data-theme="gallery"] .track-title, [data-theme="gallery"] .quick-tile-title, [data-theme="gallery"] .player-title, [data-theme="gallery"] .library-item-title,
[data-theme="light"] .card-title, [data-theme="light"] .track-title, [data-theme="light"] .quick-tile-title, [data-theme="light"] .player-title, [data-theme="light"] .library-item-title {
  color: #14532d !important;
  font-weight: 700 !important;
}

[data-theme="gallery"] .card-title, [data-theme="light"] .card-title { font-size: 14px !important; margin-top: 8px !important; letter-spacing: -0.01em !important; }
[data-theme="gallery"] .card-subtitle, [data-theme="gallery"] .card-desc, [data-theme="gallery"] .card-metadata, [data-theme="gallery"] .track-artist, [data-theme="gallery"] .quick-tile-subtitle, [data-theme="gallery"] .player-sub-credits, [data-theme="gallery"] .library-item-subtitle,
[data-theme="light"] .card-subtitle, [data-theme="light"] .card-desc, [data-theme="light"] .card-metadata, [data-theme="light"] .track-artist, [data-theme="light"] .quick-tile-subtitle, [data-theme="light"] .player-sub-credits, [data-theme="light"] .library-item-subtitle {
  color: #5a6068 !important;
  font-weight: 500 !important;
  font-size: 12.5px !important;
}

[data-theme="gallery"] .track-duration, [data-theme="gallery"] .track-num-cell, [data-theme="gallery"] .playback-time,
[data-theme="light"] .track-duration, [data-theme="light"] .track-num-cell, [data-theme="light"] .playback-time {
  color: #7b828d !important;
  font-weight: 500 !important;
}

/* 今の気分ミックス・各種ボタン */
[data-theme="gallery"] .wbtn, [data-theme="light"] .wbtn { background: #f1f3f5; border: none !important; color: #5a6068; font-weight: 600; box-shadow: none !important; }
[data-theme="gallery"] .wbtn:hover, [data-theme="light"] .wbtn:hover { background: #e5e8eb; color: #14532d; }
[data-theme="gallery"] .wbtn.active, [data-theme="light"] .wbtn.active { background: #14532d; color: #ffffff; border: none !important; box-shadow: none !important; }
[data-theme="gallery"] .weather-badge, [data-theme="light"] .weather-badge { background: #f1f3f5; border: none !important; color: #14532d; box-shadow: none !important; }
[data-theme="gallery"] .mood-tab-btn, [data-theme="light"] .mood-tab-btn { background: #f1f3f5; border: none !important; color: #5a6068; font-weight: 700; box-shadow: none !important; }
[data-theme="gallery"] .mood-tab-btn:hover, [data-theme="light"] .mood-tab-btn:hover { background: #e5e8eb; color: #14532d; }
[data-theme="gallery"] .mood-tab-btn.active, [data-theme="light"] .mood-tab-btn.active { background: #14532d; color: #ffffff !important; border: none !important; box-shadow: none !important; }
[data-theme="gallery"] .mood-dual-card, [data-theme="light"] .mood-dual-card { background: #ffffff; border: 1px solid rgba(21, 96, 100, 0.12) !important; box-shadow: 0 4px 16px rgba(21, 96, 100, 0.06) !important; }
[data-theme="gallery"] .mood-dual-card:hover, [data-theme="gallery"] .mood-dual-card.hover-hint, [data-theme="light"] .mood-dual-card:hover, [data-theme="light"] .mood-dual-card.hover-hint { border-color: #24d4d4 !important; box-shadow: 0 10px 28px rgba(36, 212, 212, 0.28) !important; transform: translateY(-3px); }
[data-theme="gallery"] .mood-dual-card.active, [data-theme="light"] .mood-dual-card.active { border-color: #24d4d4 !important; box-shadow: 0 0 0 2px #24d4d4, 0 10px 32px rgba(36, 212, 212, 0.32) !important; }
[data-theme="gallery"] .mood-card-footer, [data-theme="light"] .mood-card-footer { background: rgba(255, 255, 255, 0.95); border-top: 1px solid rgba(21, 96, 100, 0.08); }
[data-theme="gallery"] .mood-dual-card:hover .mood-card-footer, [data-theme="gallery"] .mood-dual-card.hover-hint .mood-card-footer, [data-theme="gallery"] .mood-dual-card.active .mood-card-footer, [data-theme="light"] .mood-dual-card:hover .mood-card-footer, [data-theme="light"] .mood-dual-card.hover-hint .mood-card-footer, [data-theme="light"] .mood-dual-card.active .mood-card-footer { background: rgba(255, 255, 255, 0.98) !important; border-top-color: rgba(36, 212, 212, 0.4) !important; color: #156064 !important; text-shadow: none !important; }
[data-theme="gallery"] .mood-card-desc, [data-theme="light"] .mood-card-desc { color: #156064; font-weight: 700; }
[data-theme="gallery"] .mood-dual-card:hover .mood-card-desc, [data-theme="gallery"] .mood-dual-card.hover-hint .mood-card-desc, [data-theme="gallery"] .mood-dual-card.active .mood-card-desc, [data-theme="light"] .mood-dual-card:hover .mood-card-desc, [data-theme="light"] .mood-dual-card.hover-hint .mood-card-desc, [data-theme="light"] .mood-dual-card.active .mood-card-desc { color: #0d9488 !important; text-shadow: none !important; }
[data-theme="gallery"] .stream-theater-stage, [data-theme="light"] .stream-theater-stage { background: #f8f9fa; border: none !important; box-shadow: none !important; }
[data-theme="gallery"] .stream-theater-stage:hover, [data-theme="light"] .stream-theater-stage:hover { background: #edf0f3; border: none !important; }
[data-theme="gallery"] .section-header > div[onclick*="live"], [data-theme="light"] .section-header > div[onclick*="live"] { background: #f1f3f5 !important; border: none !important; box-shadow: none !important; }
[data-theme="gallery"] .live-mini-ticker-item, [data-theme="light"] .live-mini-ticker-item { color: #5a6068 !important; font-weight: 600 !important; }
[data-theme="gallery"] ::-webkit-scrollbar-thumb, [data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); }

/* イラストページの30タグボタン */
.art-voyage-tag-btn {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.art-voyage-tag-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.art-voyage-tag-btn.active {
  background: #38bdf8;
  color: #060a14;
  border-color: #38bdf8;
  font-weight: 700;
}

[data-theme="gallery"] .art-voyage-tag-btn,
[data-theme="light"] .art-voyage-tag-btn {
  background: #f1f3f5 !important;
  color: #5a6068 !important;
  border: 1px solid transparent !important;
}
[data-theme="gallery"] .art-voyage-tag-btn:hover,
[data-theme="light"] .art-voyage-tag-btn:hover {
  background: #e5e8eb !important;
  color: #14532d !important;
}
[data-theme="gallery"] .art-voyage-tag-btn.active,
[data-theme="light"] .art-voyage-tag-btn.active {
  background: #14532d !important;
  color: #ffffff !important;
  border-color: #14532d !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   イラストページ開始時のシネマティック・イントロ演出（正方形ポップアップ仕様）
   1枚目の正方形タイルがふんわりポップアップし、後ろのグリッドがフェードイン
   ========================================================================== */
@keyframes artIntroFirstTilePop {
  0% {
    opacity: 0.15;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes artIntroFollowGridFade {
  0% {
    opacity: 0.05;
    transform: scale(0.985);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.art-intro-first-tile {
  animation: artIntroFirstTilePop 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: relative;
  z-index: 5;
}

.art-intro-follow-tile {
  animation: artIntroFollowGridFade 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


/* ==========================================================================
   全画面一貫性統一ルール（昼モード / GALLERYモード）
   インラインスタイルの直書き黒背景を完全排除し、至高の白世界へ完全調和
   ========================================================================== */

/* 1. 昼の作業部屋（ライブ配信ステージ） */
[data-theme="gallery"] .nowplaying-page,
[data-theme="light"] .nowplaying-page {
  background: #fffffe !important;
  color: #14532d !important;
}
[data-theme="gallery"] .nowplaying-page button[onclick*="home"],
[data-theme="light"] .nowplaying-page button[onclick*="home"] {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #14532d !important;
}
[data-theme="gallery"] .nowplaying-page .live-header-marquee-wrap,
[data-theme="light"] .nowplaying-page .live-header-marquee-wrap {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
[data-theme="gallery"] .nowplaying-page .live-header-marquee-item,
[data-theme="light"] .nowplaying-page .live-header-marquee-item {
  color: #5a6068 !important;
}
[data-theme="gallery"] .nowplaying-page .live-header-marquee-item b,
[data-theme="light"] .nowplaying-page .live-header-marquee-item b {
  color: #14532d !important;
}
[data-theme="gallery"] .nowplaying-page div[style*="background:rgba(56,189,248,0.06)"],
[data-theme="light"] .nowplaying-page div[style*="background:rgba(56,189,248,0.06)"] {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #5a6068 !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .stream-art-canvas-wrap,
[data-theme="light"] .stream-art-canvas-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .nowplaying-art-card,
[data-theme="light"] .nowplaying-art-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2. チップ履歴画面 */
.hist-simple-row {
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hist-simple-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}
[data-theme="gallery"] .hist-simple-row,
[data-theme="light"] .hist-simple-row {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .hist-simple-row:hover,
[data-theme="light"] .hist-simple-row:hover {
  background: #f1f3f5 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
[data-theme="gallery"] .hist-simple-row div,
[data-theme="light"] .hist-simple-row div,
[data-theme="gallery"] .hist-simple-row span,
[data-theme="light"] .hist-simple-row span {
  color: #14532d !important;
}
[data-theme="gallery"] .hist-simple-row div[style*="color:rgba(255,255,255,0.4)"],
[data-theme="light"] .hist-simple-row div[style*="color:rgba(255,255,255,0.4)"],
[data-theme="gallery"] .hist-simple-row div[style*="color:rgba(255,255,255,0.5)"],
[data-theme="light"] .hist-simple-row div[style*="color:rgba(255,255,255,0.5)"],
[data-theme="gallery"] .hist-simple-row span[style*="color:rgba(255,255,255,0.4)"],
[data-theme="light"] .hist-simple-row span[style*="color:rgba(255,255,255,0.4)"] {
  color: #7b828d !important;
}
[data-theme="gallery"] h2[style*="color:#fff"],
[data-theme="light"] h2[style*="color:#fff"] {
  color: #14532d !important;
}

/* 3. プロフィール画面（.settings-wrap） */
.profile-track-item {
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-track-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
[data-theme="gallery"] .profile-track-item,
[data-theme="light"] .profile-track-item {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .profile-track-item:hover,
[data-theme="light"] .profile-track-item:hover {
  background: #f1f3f5 !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-1px);
}
[data-theme="gallery"] .profile-track-item div,
[data-theme="light"] .profile-track-item div {
  color: #14532d !important;
}

[data-theme="gallery"] .settings-wrap,
[data-theme="light"] .settings-wrap {
  color: #14532d !important;
}
[data-theme="gallery"] .settings-wrap div[style*="background:#0d0d10"],
[data-theme="light"] .settings-wrap div[style*="background:#0d0d10"],
[data-theme="gallery"] .settings-wrap div[style*="background: #0d0d10"],
[data-theme="light"] .settings-wrap div[style*="background: #0d0d10"] {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .settings-wrap h1,
[data-theme="light"] .settings-wrap h1,
[data-theme="gallery"] .settings-wrap h2,
[data-theme="light"] .settings-wrap h2,
[data-theme="gallery"] .settings-wrap b,
[data-theme="light"] .settings-wrap b {
  color: #14532d !important;
}
[data-theme="gallery"] .settings-wrap span[style*="color:rgba(255,255,255"],
[data-theme="light"] .settings-wrap span[style*="color:rgba(255,255,255"],
[data-theme="gallery"] .settings-wrap div[style*="color:rgba(255,255,255"],
[data-theme="light"] .settings-wrap div[style*="color:rgba(255,255,255"] {
  color: #5a6068 !important;
}
[data-theme="gallery"] .settings-wrap div[style*="background:rgba(255,255,255,0.03)"],
[data-theme="light"] .settings-wrap div[style*="background:rgba(255,255,255,0.03)"] {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #14532d !important;
}
[data-theme="gallery"] .settings-wrap button[style*="background:rgba(255,255,255,0.04)"],
[data-theme="light"] .settings-wrap button[style*="background:rgba(255,255,255,0.04)"] {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #14532d !important;
}
[data-theme="gallery"] .settings-wrap button[style*="background:rgba(255,255,255,0.04)"]:hover,
[data-theme="light"] .settings-wrap button[style*="background:rgba(255,255,255,0.04)"]:hover {
  background: #e5e8eb !important;
}
[data-theme="gallery"] .settings-wrap span[style*="background:rgba(255,255,255,0.08)"],
[data-theme="light"] .settings-wrap span[style*="background:rgba(255,255,255,0.08)"] {
  background: #e5e8eb !important;
  color: #14532d !important;
}
[data-theme="gallery"] .settings-wrap footer,
[data-theme="light"] .settings-wrap footer {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="gallery"] .settings-wrap footer div,
[data-theme="light"] .settings-wrap footer div,
[data-theme="gallery"] .settings-wrap footer button,
[data-theme="light"] .settings-wrap footer button {
  color: #5a6068 !important;
}
[data-theme="gallery"] .settings-wrap .form-select,
[data-theme="light"] .settings-wrap .form-select {
  background-color: #ffffff !important;
  color: #14532d !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}
[data-theme="gallery"] .settings-wrap button.btn-pill-header,
[data-theme="light"] .settings-wrap button.btn-pill-header {
  background: #f1f3f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #14532d !important;
}
[data-theme="gallery"] .settings-wrap button.btn-pill-header:hover,
[data-theme="light"] .settings-wrap button.btn-pill-header:hover {
  background: #e5e8eb !important;
}

/* 4. 全画面共通：直書き黒背景・ダークモーダルの包括的一貫化 */
[data-theme="gallery"] div[style*="background:#0d0d10"],
[data-theme="light"] div[style*="background:#0d0d10"],
[data-theme="gallery"] div[style*="background: #0d0d10"],
[data-theme="light"] div[style*="background: #0d0d10"] {
  background: #f8f9fa !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .modal-content[style*="background:#0d0d10"],
[data-theme="light"] .modal-content[style*="background:#0d0d10"],
[data-theme="gallery"] .modal-box[style*="background:#0d0d10"],
[data-theme="light"] .modal-box[style*="background:#0d0d10"] {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12) !important;
  color: #14532d !important;
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}


body {
  background-color: var(--bg-black);
  color: var(--text-base);
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* App Grid Container */
#app {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: 1fr var(--player-height);
  gap: 8px;
  height: 100vh;
  padding: 8px;
  background-color: var(--bg-black);
}

/* Panel */
.panel {
  background-color: var(--bg-base);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  overflow: hidden;
}

.nav-panel {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.sidebar-playlists-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 12px 14px;
  overflow: hidden;
}

.spotify-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  cursor: pointer;
  user-select: none;
}

.nemgi-negi-svg {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.spotify-logo:hover .nemgi-negi-svg {
  transform: rotate(-9deg) scale(1.14);
}

.negi-white-stem {
  stroke: #ffffff !important;
}

.negi-green-leaf {
  stroke: #4ade80 !important;
}

.negi-ring {
  stroke: #4ade80 !important;
}

.spotify-logo-text {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  transition: color 0.2s ease;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-subdued);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-base);
}

.nav-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Library Panel */
.library-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.library-header {
  padding: 16px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.library-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--text-subdued);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.library-btn:hover, .library-btn.active {
  color: var(--text-base);
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  color: var(--text-base);
  background-color: var(--bg-surface-hover);
}

.library-tags {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  overflow-x: auto;
}

.tag-pill {
  background-color: var(--bg-surface);
  color: var(--text-base);
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background-color: var(--bg-surface-hover);
}

.tag-pill.active {
  background-color: #fff;
  color: #000;
}

.library-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lib-item:hover {
  background-color: var(--bg-surface);
}

.lib-item.active {
  background-color: var(--bg-surface-hover);
}

.lib-art {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #282828;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.lib-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lib-title {
  color: var(--text-base);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lib-sub {
  color: var(--text-subdued);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lib-pin {
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   MAIN VIEW CONTAINER & HEADER
   ========================================================================== */
.main-view {
  background: linear-gradient(180deg, #131f38 0%, #0d1527 240px, var(--bg-base) 560px);
  background-color: var(--bg-base);
  border-radius: var(--radius-panel);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.top-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background-color: rgba(10, 15, 29, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: none !important;
}

.top-header.scrolled {
  background-color: rgba(10, 15, 29, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="gallery"] .top-header,
[data-theme="light"] .top-header,
[data-theme="gallery"] .top-header.scrolled,
[data-theme="light"] .top-header.scrolled {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(21, 96, 100, 0.1) !important;
  box-shadow: none !important;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.circle-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.circle-nav-btn:hover {
  transform: scale(1.05);
}

.circle-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* ホームボタン：夜モード */
.btn-header-home {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  flex-shrink: 0;
}

.btn-header-home:hover {
  background-color: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
}

.btn-header-home.active {
  background-color: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

/* ホームボタン：昼モード（黒枠・黒背景を完全根絶） */
[data-theme="gallery"] .btn-header-home,
[data-theme="light"] .btn-header-home,
[data-theme="gallery"] .btn-header-home.active,
[data-theme="light"] .btn-header-home.active {
  background-color: rgba(36, 212, 212, 0.16) !important;
  border: none !important;
  box-shadow: none !important;
  color: #156064 !important;
}

[data-theme="gallery"] .btn-header-home:hover,
[data-theme="light"] .btn-header-home:hover {
  background-color: rgba(36, 212, 212, 0.28) !important;
  color: #0d9488 !important;
  transform: translateY(-1px);
}

.search-input-wrap {
  position: relative;
  width: 380px;
  display: block;
}

.search-input-wrap.active {
  display: block;
}

/* 検索バー：夜モード */
.search-input {
  width: 100%;
  height: 36px !important;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0 36px 0 38px !important;
  color: #ffffff;
  font-size: 13px !important;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.search-input:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
}

.search-input:focus {
  background-color: rgba(10, 15, 29, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

/* 検索バー：昼モード */
[data-theme="gallery"] .search-input,
[data-theme="light"] .search-input {
  background-color: rgba(36, 212, 212, 0.12) !important;
  border: 1px solid rgba(36, 212, 212, 0.28) !important;
  color: #156064 !important;
  font-weight: 600 !important;
}

[data-theme="gallery"] .search-input:hover,
[data-theme="light"] .search-input:hover {
  background-color: rgba(36, 212, 212, 0.18) !important;
  border-color: #24d4d4 !important;
}

[data-theme="gallery"] .search-input:focus,
[data-theme="light"] .search-input:focus {
  background-color: #ffffff !important;
  border-color: #24d4d4 !important;
  box-shadow: 0 0 0 2px rgba(36, 212, 212, 0.3) !important;
  color: #156064 !important;
}

.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subdued);
  pointer-events: none;
  display: flex;
}

.header-user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pill-header {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-pill-header:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}

.user-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  box-shadow: none !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

.user-avatar-btn:hover {
  transform: scale(1.06) translateY(-1px);
  border-color: #38bdf8 !important;
  box-shadow: none !important;
}

/* 昼モード（美術館スタイル）: 繊細な1.5pxミクシアンリング・影ゼロ・ホバー時も黒化ゼロ */
[data-theme="gallery"] .user-avatar-btn,
[data-theme="light"] .user-avatar-btn {
  background: #ffffff !important;
  border: 1.5px solid rgba(36, 212, 212, 0.75) !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .user-avatar-btn:hover,
[data-theme="light"] .user-avatar-btn:hover {
  border-color: #24d4d4 !important;
  background: #ffffff !important;
  transform: scale(1.06) translateY(-1px) !important;
  box-shadow: none !important;
}

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

/* Scroll Area & Dynamic Views */
.main-scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  padding-top: var(--header-height);
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   VIEW 1: HOME VIEW
   ========================================================================== */
.ambient-hero {
  padding: 32px 40px;
  background: linear-gradient(180deg, #1e3a8a 0%, var(--bg-base) 100%);
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 32px);
  transition: background 0.6s ease;
}

.greeting-text {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.quick-tile {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 71px;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.quick-tile:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) translateZ(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.quick-tile:active {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.quick-tile-img {
  width: 71px;
  height: 71px;
  flex-shrink: 0;
  background: #282828;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.quick-tile:hover .quick-tile-img {
  transform: scale(1.06) translateZ(0);
}

.quick-tile:active .quick-tile-img {
  transform: scale(1.08) translateZ(0);
}

.quick-tile-title {
  padding: 0 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.quick-tile-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.quick-tile:hover .quick-tile-play {
  opacity: 1;
  transform: translateY(0);
}

.content-section {
  padding: 30px 40px 14px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-base);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-title.clickable,
.library-section-title.clickable {
  cursor: pointer;
  user-select: none;
  transition: color 0.18s ease;
}

.section-title.clickable:hover,
.library-section-title.clickable:hover {
  color: #38bdf8 !important;
  text-decoration: none;
}

[data-theme="gallery"] .section-title.clickable:hover,
[data-theme="light"] .section-title.clickable:hover,
[data-theme="gallery"] .library-section-title.clickable:hover,
[data-theme="light"] .library-section-title.clickable:hover {
  color: #24d4d4 !important;
}

.section-title.clickable .title-arrow,
.library-section-title.clickable .title-arrow {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-base);
  opacity: 0.6;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, color 0.18s ease;
  display: inline-block;
  line-height: 1;
  margin-left: 2px;
}

.section-title.clickable:hover .title-arrow,
.library-section-title.clickable:hover .title-arrow {
  color: #38bdf8 !important;
  opacity: 1;
  transform: translateX(4px);
}

[data-theme="gallery"] .section-title.clickable:hover .title-arrow,
[data-theme="light"] .section-title.clickable:hover .title-arrow,
[data-theme="gallery"] .library-section-title.clickable:hover .title-arrow,
[data-theme="light"] .library-section-title.clickable:hover .title-arrow {
  color: #24d4d4 !important;
}

.section-title.clickable svg,
.library-section-title.clickable svg {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, color 0.18s ease;
}

.section-title.clickable:hover svg.title-arrow-svg,
.library-section-title.clickable:hover svg.title-arrow-svg {
  transform: translateX(4px);
  color: #38bdf8 !important;
}

[data-theme="gallery"] .section-title.clickable:hover svg.title-arrow-svg,
[data-theme="light"] .section-title.clickable:hover svg.title-arrow-svg {
  color: #24d4d4 !important;
}

@keyframes live-pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
    box-shadow: 0 0 8px 3px rgba(34, 197, 94, 0.5);
  }
}

@keyframes on-air-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
    border-color: rgba(34, 197, 94, 0.6);
  }
  50% {
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.85);
    border-color: rgba(34, 197, 94, 0.95);
  }
}

/* 呼吸するようにゆっくり明滅するグリーンのLIVE光（深呼吸パルス・ホームと統一） */
@keyframes live-breathe-pulse-green {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px 2px rgba(34, 197, 94, 0.7);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 4px 1px rgba(34, 197, 94, 0.3);
  }
}

/* 視聴者数がふんわり息づくグローアニメーション */
@keyframes viewer-count-breathe {
  0% {
    color: #38bdf8;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
    transform: scale(1.04);
  }
  100% {
    color: #38bdf8;
    text-shadow: none;
    transform: scale(1);
  }
}

/* 背景をゆっくり12〜16秒かけて漂うアンビエント星屑パーティクル */
@keyframes ambient-stardust-drift {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  20% {
    opacity: 0.65;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-280px) scale(1.1);
  }
}

/* アートの周囲を優しく包み込んで漂う星屑パーティクル（横揺れウェーブを加えてゆったり昇る・CSS超軽量） */
@keyframes art-ambient-stardust {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0.6);
  }
  20% {
    opacity: 0.75;
    transform: translateY(-40px) translateX(14px) scale(1.05);
  }
  45% {
    opacity: 0.85;
    transform: translateY(-90px) translateX(-12px) scale(1.15);
  }
  70% {
    opacity: 0.6;
    transform: translateY(-145px) translateX(18px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-210px) translateX(-6px) scale(0.5);
  }
}

/* 電光掲示板ティッカー（右から左へシームレスに流れるマーキーアニメーション・CPU負荷ゼロ） */
.live-header-marquee-wrap {
  flex: 1;
  min-width: 200px;
  max-width: 480px;
  height: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(16, 24, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0 16px;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.live-header-marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: live-marquee-scroll 38s linear infinite;
  will-change: transform;
}

.live-header-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes live-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 同室リスナードットの呼吸パルス（青色の静かな生命感・GPU超軽量） */
@keyframes live-breathe-pulse-blue {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px 1.5px rgba(56, 189, 248, 0.75);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
    box-shadow: 0 0 3px 0.5px rgba(56, 189, 248, 0.25);
  }
}

/* リスナー人数の優しい呼吸（眩しくならない静かな脈動） */
@keyframes listener-count-gentle-breathe {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* リスナーアイコンの穏やかな波紋エフェクト */
@keyframes listener-icon-wave {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.35));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
  }
}

/* STARDUST ECHO 縦スクロールコメント窓（シネマティック上下フェード ＆ すっきり左揃えタイムライン） */
.stardust-vertical-viewport {
  height: 205px;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

.stardust-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.stardust-vertical-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  animation: stardust-item-fade-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.028);
  border-radius: 8px;
  padding: 7px 16px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s ease;
}
.stardust-vertical-item:hover {
  background: rgba(255, 255, 255, 0.055);
}

.stardust-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  flex-shrink: 0;
}

.stardust-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.stardust-item-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stardust-item-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  margin-left: auto;
  flex-shrink: 0;
}

@keyframes stardust-item-fade-in {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stardust-action-btn {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex: 1 1 190px;
  max-width: 226px;
  box-sizing: border-box;
}
.stardust-action-btn:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-1px);
}

/* ストリームアートのホバー時のみ出現するコレクション保存ボタン（ゆっくり心地よくポップする洗練UI） */
.stream-art-hover-save-btn {
  opacity: 0;
  transform: translateY(8px) scale(0.88);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.34, 1.35, 0.64, 1),
              background 0.2s ease,
              border-color 0.2s ease !important;
}
.stream-art-canvas-wrap:hover .stream-art-hover-save-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (hover: none) {
  .stream-art-hover-save-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
.stardust-action-btn:active {
  transform: scale(0.94);
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.55);
  transition: all 0.05s ease;
}

@keyframes stardust-item-slide-up {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 絵の呼吸（ブリージング・オーラ）：6秒周期で優しく深呼吸するようにアンビエント光が満ち引きする（CPU負荷ゼロ） */
@keyframes art-breathing-aura {
  0% {
    opacity: 0.48;
    filter: blur(40px) saturate(1.6);
    transform: scale(0.985);
  }
  50% {
    opacity: 0.75;
    filter: blur(52px) saturate(1.9);
    transform: scale(1.015);
  }
  100% {
    opacity: 0.48;
    filter: blur(40px) saturate(1.6);
    transform: scale(0.985);
  }
}

/* 絵の優しい深呼吸：明るさは一切変えず、わずか1%の伸縮だけで自然な呼吸を表現（眩しさゼロ・GPU超軽量） */
@keyframes art-gentle-breathe {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.014);
  }
  55% {
    transform: scale(1.012);
  }
}

/* 真夜中の蛍・深海の光（優雅な横移動とスローな呼吸・パターンA） */
@keyframes firefly-float-a {
  0%, 100% {
    transform: translate(0, 0) scale(0.85);
    opacity: 0.35;
  }
  25% {
    transform: translate(28px, -12px) scale(1.15);
    opacity: 0.88;
  }
  50% {
    transform: translate(12px, -20px) scale(0.95);
    opacity: 0.5;
  }
  75% {
    transform: translate(-24px, -6px) scale(1.2);
    opacity: 0.92;
  }
}

/* 真夜中の蛍・深海の光（優雅な横移動とスローな呼吸・パターンB） */
@keyframes firefly-float-b {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  30% {
    transform: translate(-30px, 8px) scale(0.8);
    opacity: 0.38;
  }
  60% {
    transform: translate(20px, 16px) scale(1.2);
    opacity: 0.95;
  }
  85% {
    transform: translate(32px, -4px) scale(0.9);
    opacity: 0.45;
  }
}

/* 真夜中の蛍・深海の光（優雅な横移動とスローな呼吸・パターンC） */
@keyframes firefly-float-c {
  0%, 100% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.45;
  }
  35% {
    transform: translate(26px, 14px) scale(1.15);
    opacity: 0.9;
  }
  70% {
    transform: translate(-26px, -12px) scale(0.8);
    opacity: 0.35;
  }
}

/* 星屑の光がふわりと浮かんで夜空に溶けるパーティクルアニメーション */
@keyframes stardust-fade-up {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.7);
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -18px) scale(1.1);
  }
  75% {
    opacity: 0.9;
    transform: translate(-50%, -36px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -54px) scale(0.8);
  }
}

@keyframes on-air-eq-1 {
  0%, 100% { height: 4px; }
  50% { height: 13px; }
}
@keyframes on-air-eq-2 {
  0%, 100% { height: 13px; }
  50% { height: 5px; }
}
@keyframes on-air-eq-3 {
  0%, 100% { height: 7px; }
  50% { height: 15px; }
}

/* リアルタイム・ストリーム 画面いっぱいに広がる塗りつぶし枠 (キーカードと統一したダークスレートネイビー) */
.stream-theater-stage {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #1e2635;
  padding: 24px 20px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.stream-theater-stage:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: #222b3c;
}

.stream-live-banner {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 40px rgba(129, 140, 248, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.stream-live-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 50px rgba(34, 197, 94, 0.25);
}

.sidebar-fav-art {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================
   発見・出会い 5大機能スタイル
   ========================================== */

/* ① 今の気分・シチュエーション フィルターバー */
.home-mood-pill-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.home-mood-pill-bar::-webkit-scrollbar {
  display: none;
}
.home-mood-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.home-mood-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.home-mood-pill.active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #070d18;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

/* ② デイリー・ピックアップ バナー */
.daily-pick-banner {
  width: 100%;
  max-width: 680px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 24px;
}
.daily-pick-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.2);
}

/* ④ 世界観・モチーフタグ カード */
.motif-tag-card {
  width: 220px;
  min-width: 220px;
  height: 120px;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.motif-tag-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* イラスト探求 ミニマル大型アート展示 (元の美しい比率へ復元・Ver 292 #292) */
.art-voyage-spotify-card {
  width: 440px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* イラスト探求 Tip & コレクション追加ボタン */
.art-voyage-btn-tip {
  padding: 6px 13px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.art-voyage-btn-tip:hover {
  background: rgba(56, 189, 248, 0.22);
  transform: translateY(-1px);
}
.art-voyage-btn-save {
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}
.art-voyage-btn-save:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}
.art-voyage-btn-save.saved {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
}

/* イラスト探求 アート画像ラッパー (横4 : 縦5 比率・自立した美しいカード・Ver 292 #292) */
.art-voyage-art-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #0d121c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Similar Songs Station Section (好きな曲から似た曲を再生・Ver 289 #289)
   ========================================================================== */
.similar-songs-pill-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.similar-songs-pill-bar::-webkit-scrollbar {
  display: none;
}

.similar-songs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 9999px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-subdued);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.similar-songs-pill:hover {
  background: var(--bg-surface-active, rgba(255, 255, 255, 0.12));
  color: var(--text-base);
  transform: translateY(-1px);
}
.similar-songs-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-green);
  color: var(--accent-green);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}
.similar-songs-pill-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.similar-songs-play-all-btn {
  background: var(--accent-green);
  color: #070b14;
  border: none;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.15s ease;
  white-space: nowrap;
}
.similar-songs-play-all-btn:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.1);
}

/* イラスト探求 左右クリックめくりゾーン (絵を隠さず判定だけ広大に) */
.art-voyage-nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  background: transparent;
  transition: background 0.2s ease;
}
.art-voyage-nav-zone.left {
  left: 0;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}
.art-voyage-nav-zone.right {
  right: 0;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}
.art-voyage-nav-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}
.art-voyage-art-wrap:hover .art-voyage-nav-icon-badge {
  opacity: 0.8;
}
.art-voyage-nav-zone:hover .art-voyage-nav-icon-badge {
  transform: scale(1.08);
  opacity: 1;
  background: rgba(0, 0, 0, 0.68);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.art-voyage-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.art-voyage-art-wrap:hover .art-voyage-art-img {
  transform: scale(1.02);
}

/* イラスト探求 下部メタデータ情報枠 */
.art-voyage-info-area {
  padding: 14px 4px 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* 大画面アート鑑賞ライトボックスモーダル */
.art-fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  cursor: zoom-out;
}
.art-fullscreen-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  cursor: default;
}

/* 大判アーティストカード (横6 : 縦7 比率、幅430px、立体影) */
.hero-artist-banner {
  width: 430px;
  max-width: 95%;
  aspect-ratio: 6 / 7;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121620;
  transform: translateZ(0);
  transition: border-color 0.3s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .wide-hero-banner {
    width: 100%;
    margin: 0;
  }
}

.hero-artist-banner:hover,
.wide-hero-banner:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

/* 背景アートのゆったり呼吸ズーム＆左右パン移動アニメーション（映画風Ken Burns効果） */
@keyframes hero-art-breathe {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  25% {
    transform: scale(1.14) translate3d(-3.5%, 0, 0);
  }
  50% {
    transform: scale(1.10) translate3d(0, 0, 0);
  }
  75% {
    transform: scale(1.14) translate3d(3.5%, 0, 0);
  }
  100% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
}

/* 大判アーティストカードの背景アート (呼吸ズーム＆左右移動＆ホバー拡大) */
.hero-artist-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08) translate3d(0, 0, 0);
  animation: hero-art-breathe 12s ease-in-out infinite;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-artist-banner:hover .hero-artist-banner-bg {
}

/* 音を聴く、アートギャラリー: ゆっくり横移動 ＆ 拡大ズーム (Ken Burns 効果) */
@keyframes gallery-pan-zoom-1 {
  0% {
    transform: scale(1.0) translateX(0);
  }
  100% {
    transform: scale(1.15) translateX(-22px);
  }
}
@keyframes gallery-pan-zoom-2 {
  0% {
    transform: scale(1.08) translateX(-16px);
  }
  100% {
    transform: scale(1.18) translateX(18px);
  }
}
@keyframes gallery-pan-zoom-3 {
  0% {
    transform: scale(1.15) translateX(16px);
  }
  100% {
    transform: scale(1.03) translateX(-12px);
  }
}
.sound-gallery-art-wrap {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #101726;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.sound-gallery-card:hover .sound-gallery-art-wrap {
  transform: none !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.22);
}
.sound-gallery-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-pan-zoom-1,
.gallery-pan-zoom-2,
.gallery-pan-zoom-3 {
  animation: none !important;
}
.sound-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.18s ease;
  opacity: 0.85;
}
.sound-gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

/* ワイド生配信・イラスト探求バナーの背景アート (拡大エフェクトなし・静止) */
.wide-hero-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none !important;
  animation: none !important;
}

.wide-hero-banner:hover .wide-hero-banner-bg {
  transform: none !important;
}

/* ミニジャケットも少し立体的に */
.hero-artist-mini-art {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-artist-banner:hover .hero-artist-mini-art {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
}

/* 右下の緑再生ボタン */
.hero-artist-play-btn,
.wide-hero-play-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1ed760;
  border: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 2;
  transform: scale(1) translateZ(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.hero-artist-banner:hover .hero-artist-play-btn,
.wide-hero-banner:hover .wide-hero-play-btn {
  transform: scale(1.08) translateZ(0);
  box-shadow: 0 10px 28px rgba(30, 215, 96, 0.45);
}

.hero-artist-play-btn:hover,
.wide-hero-play-btn:hover {
  transform: scale(1.15) !important;
  background-color: #22e668 !important;
  box-shadow: 0 12px 32px rgba(30, 215, 96, 0.65) !important;
}

.hero-artist-play-btn:active,
.wide-hero-play-btn:active {
  transform: scale(0.96) !important;
}

.see-all-link {
  display: none !important;
}

/* Spotify Official Quick Access Shortcuts Grid (Top 6 Tiles: 3x2) */
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 1024px) {
  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
}

.quick-tile {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  overflow: hidden;
  height: 56px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.22s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.quick-tile:hover {
  background-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.quick-tile:active {
  transform: scale(0.99);
}

.quick-tile-art {
  width: 56px;
  height: 56px;
  min-width: 56px;
  object-fit: cover;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
}

.quick-tile-content {
  flex: 1;
  padding: 0 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-tile-title {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.quick-tile-subtitle {
  color: var(--text-sub, #a7a7a7);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.quick-tile-play-btn {
  position: absolute;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent-green, #1ed760);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease;
  cursor: pointer;
  z-index: 2;
}
.quick-tile:hover .quick-tile-play-btn {
  opacity: 1;
  transform: scale(1);
}
.quick-tile-play-btn:hover {
  background-color: #2be86c;
  transform: scale(1.06);
}
@media (max-width: 768px) {
  .quick-tile {
    height: 48px;
  }
  .quick-tile-art {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .quick-tile-title {
    font-size: 12px;
  }
  .quick-tile-subtitle {
    display: none;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   CINEMATIC SOUND GALLERY (息を呑む没入型シネマティック・アート空間)
   ========================================================================== */
.cinema-gallery-stage {
  position: relative;
  overflow: hidden;
  padding: 44px 16px 36px;
  border-radius: 28px;
  background: #070b14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  user-select: none;
}

/* 空間全体を染めるフルブリード・アンビエントオーラ */
.cinema-ambient-aurora {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 38%, var(--ambient-glow-color, rgba(245, 158, 11, 0.35)) 0%, rgba(15, 23, 42, 0.4) 45%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: background, opacity;
  opacity: 0.85;
}

/* 天井からの微細なシネマライト */
.cinema-top-light {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 220px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
  z-index: 2;
}

/* ==========================================================================
   BOTTOM PLAYER SYNC ALIGNMENT
   大判ジャケットやアート展示の中心を、下の再生ボタン（ウィンドウ中央50vw）と垂直同期
   ========================================================================== */
.player-centered-block {
  display: flex;
  justify-content: center;
  transform: translateX(calc(-1 * (var(--sidebar-width, 280px) + 16px) / 2));
}

.cinema-slots-viewport {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  perspective: 1300px;
  perspective-origin: 50% 48%;
  min-height: 420px;
  z-index: 3;
  touch-action: pan-y;
  cursor: grab;
  /* メイン展示の中央を、下の再生プレイヤーの再生ボタンの真上に同期 */
  transform: translateX(calc(-1 * (var(--sidebar-width, 280px) + 16px) / 2));
}
.cinema-slots-viewport:active {
  cursor: grabbing;
}

.cinema-card {
  flex: 0 0 290px;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: #0a0f1d;
  /* ぬるぬるスムーズ（最新ハイエンドの慣性イージング） */
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease, filter 0.55s ease, box-shadow 0.65s ease, border-color 0.65s ease;
  will-change: transform, opacity;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.cinema-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* メイン絵画のシネマティック・パン＆フォーカス移動 (映画のような優雅な横移動) */
@keyframes cinema-pan-scan {
  0% {
    transform: scale(1.16) translate(0%, 0%);
  }
  30% {
    transform: scale(1.25) translate(-4%, -2%); /* 絵画のフォーカスポイントへ寄る */
  }
  70% {
    transform: scale(1.23) translate(4%, 2%);   /* ゆっくり反対側へ横移動 */
  }
  100% {
    transform: scale(1.16) translate(0%, 0%);
  }
}

/* スロット切り替え時の「スララララーッ」リール回転＆フェード効果 */
@keyframes slot-reel-roll-left {
  0% {
    transform: scale(0.9) translateX(80px) translateZ(-40px);
    opacity: 0.3;
    filter: blur(5px);
  }
  65% {
    transform: scale(1.3) translateX(-6px) translateZ(85px);
    opacity: 0.95;
    filter: blur(0.5px);
  }
  100% {
    transform: scale(1.26) translateX(0) translateZ(70px);
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes slot-reel-roll-right {
  0% {
    transform: scale(0.9) translateX(-80px) translateZ(-40px);
    opacity: 0.3;
    filter: blur(5px);
  }
  65% {
    transform: scale(1.3) translateX(6px) translateZ(85px);
    opacity: 0.95;
    filter: blur(0.5px);
  }
  100% {
    transform: scale(1.26) translateX(0) translateZ(70px);
    opacity: 1;
    filter: blur(0px);
  }
}

.cinema-card.slot-center.roll-from-right {
  animation: slot-reel-roll-left 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cinema-card.slot-center.roll-from-left {
  animation: slot-reel-roll-right 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* サブ展示 (左) - 手前にぐっと出して鮮明に見せつつ、メインを美しく引き立てる */
.cinema-card.slot-left {
  transform: scale(0.92) translateZ(0px) rotateY(12deg);
  opacity: 0.85;
  filter: brightness(0.85);
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.cinema-card.slot-left:hover {
  transform: scale(0.96) translateZ(24px) rotateY(6deg);
  opacity: 1;
  filter: brightness(1);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.7);
}

/* メイン展示 (中央特大・息を呑む主役・シネマティックパン作動) */
.cinema-card.slot-center {
  transform: scale(1.26) translateZ(70px) rotateY(0deg);
  opacity: 1;
  filter: brightness(1);
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 0 0 60px var(--ambient-glow-color, rgba(245, 158, 11, 0.45));
}
.cinema-card.slot-center img {
  animation: cinema-pan-scan 20s infinite alternate ease-in-out;
  transform-origin: 50% 40%;
}

/* サブ展示 (右) - 手前にぐっと出して鮮明に見せつつ、メインを美しく引き立てる */
.cinema-card.slot-right {
  transform: scale(0.92) translateZ(0px) rotateY(-12deg);
  opacity: 0.85;
  filter: brightness(0.85);
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.cinema-card.slot-right:hover {
  transform: scale(0.96) translateZ(24px) rotateY(-6deg);
  opacity: 1;
  filter: brightness(1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
}

/* テーマバッジ (ガラスモーフィズム) */
.cinema-theme-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  z-index: 5;
}

.cinema-card.slot-center .cinema-theme-pill {
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--ambient-border-color, rgba(245, 158, 11, 0.8));
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* 洗練を極めたミニマル・タイポグラフィ (再生ボタン軸と完全同期) */
@keyframes cinema-caption-fade {
  0% {
    opacity: 0;
    transform: translateX(calc(-1 * (var(--sidebar-width, 280px) + 16px) / 2)) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(calc(-1 * (var(--sidebar-width, 280px) + 16px) / 2)) translateY(0);
  }
}

.cinema-minimal-typography {
  position: relative;
  z-index: 4;
  max-width: 600px;
  margin: 28px auto 0;
  text-align: center;
  transform: translateX(calc(-1 * (var(--sidebar-width, 280px) + 16px) / 2));
  transition: opacity 0.4s ease;
}

.cinema-minimal-typography.fade-in {
  animation: cinema-caption-fade 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
  .cinema-card {
    flex: 0 0 210px;
    max-width: 230px;
  }
  .cinema-slots-viewport {
    gap: 16px;
    min-height: 330px;
  }
  .cinema-card.slot-left {
    transform: scale(0.72) translateZ(-40px) rotateY(20deg);
  }
  .cinema-card.slot-center {
    transform: scale(1.22) translateZ(45px) rotateY(0deg);
  }
  .cinema-card.slot-right {
    transform: scale(0.72) translateZ(-40px) rotateY(-20deg);
  }
  .cinema-minimal-typography {
    margin-top: 24px;
    padding: 0 12px;
  }
}

.spotify-card {
  background-color: transparent;
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  transform: translateZ(0);
}

.spotify-card:hover {
  background-color: transparent;
  transform: translateY(-3px) translateZ(0);
}

.spotify-card:active {
  transform: translateY(-1px) translateZ(0);
}

.card-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background-color: #141c2e;
  transform: translateZ(0);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spotify-card:hover .card-art-wrap {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0.96;
}

.spotify-card:hover .card-art {
  transform: scale(1.03) translateZ(0);
  opacity: 1;
}

.card-play-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.9) translateY(4px);
  transition: all 0.2s cubic-bezier(0.3, 0, 0, 1);
}

.spotify-card:hover .card-play-btn,
.library-large-card:hover .card-play-btn {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.card-play-btn:hover {
  transform: scale(1.08) !important;
  background-color: #fff;
}

.card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

/* ==========================================================================
   TRACK TABLE (Spotify Precision Spec)
   Used in Playlist View, Collection View, Artist View
   ========================================================================== */
.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.track-table th {
  color: var(--text-subdued);
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.track-table td {
  padding: 10px 16px;
  vertical-align: middle;
}

.track-row {
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.track-row:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.track-row.playing td {
  color: var(--accent-green);
}

.track-num-cell {
  width: 44px;
  text-align: center;
  color: var(--text-subdued);
  font-variant-numeric: tabular-nums;
  position: relative;
}

.track-row:hover .track-num-text {
  display: none;
}

.track-row-play-icon {
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.track-row:hover .track-row-play-icon {
  display: inline-flex;
}

.track-meta-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.track-mini-art {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: #141c2e;
  flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.track-row:hover .track-mini-art {
  border-color: rgba(255, 255, 255, 0.22);
}

.track-name-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-name {
  color: var(--text-base);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-row.playing .track-name {
  color: var(--accent-green);
}

.track-artist-link {
  color: var(--text-subdued);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.track-artist-link:hover {
  color: #fff;
  text-decoration: underline;
}

.track-album-cell {
  color: var(--text-subdued);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.track-time-cell {
  color: var(--text-subdued);
  font-variant-numeric: tabular-nums;
  text-align: right;
  width: 80px;
}

/* ==========================================================================
   VIEW 2: SEARCH / BROWSE VIEW
   ========================================================================== */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 24px 28px;
}

.genre-card {
  height: 140px;
  border-radius: var(--radius-card);
  padding: 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.genre-card:hover {
  transform: scale(1.02);
}

.genre-card-art {
  position: absolute;
  right: -15px;
  bottom: -5px;
  width: 100px;
  height: 100px;
  transform: rotate(25deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ==========================================================================
   VIEW 3: PLAYLIST / ALBUM VIEW
   ========================================================================== */
.playlist-hero {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding: 28px;
  background: linear-gradient(180deg, #4f46e5 0%, var(--bg-base) 100%);
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 28px);
}

.playlist-cover-big {
  width: 232px;
  height: 232px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  flex-shrink: 0;
  background-color: #282828;
}

.playlist-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.playlist-type-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.playlist-main-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.playlist-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-subdued);
  font-weight: 600;
}

.playlist-meta-line b {
  color: #fff;
}

.playlist-action-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px 16px;
}

.btn-play-hero {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-play-hero:hover {
  transform: scale(1.06);
  background-color: var(--accent-green-hover);
}

/* ==========================================================================
   VIEW 4: ARTIST PROFILE VIEW
   ========================================================================== */
/* ==========================================================================
   VIEW 4: ARTIST PROFILE VIEW (Spotify Official Design)
   ========================================================================== */
.artist-hero {
  height: 400px;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 44px;
  position: relative;
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 36px);
}

.artist-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.15) 0%, rgba(8, 12, 22, 0.5) 55%, #080c16 100%);
}

.artist-hero-content {
  position: relative;
  z-index: 2;
}

.artist-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
}

.artist-name-big {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.artist-stats {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.artist-action-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 44px 18px;
  background: linear-gradient(180deg, #080c16 0%, #070a14 100%);
}

.btn-artist-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1ed760;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(30, 215, 96, 0.4);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-artist-play:hover {
  transform: scale(1.06);
  background: #1fdf64;
}

.btn-artist-follow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-artist-follow:hover {
  border-color: #fff;
  transform: scale(1.03);
}

.btn-artist-follow.active {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.artist-latest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.artist-latest-thumb:hover {
  transform: scale(1.08);
}

.artist-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-artist-icon {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.btn-artist-icon:hover {
  color: #fff;
  transform: scale(1.1);
}

/* Popular Track Row Spotify Spec */
.popular-track-row {
  display: grid;
  grid-template-columns: 28px 48px 1fr 140px 44px 60px;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.popular-track-row:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.popular-track-row.active {
  color: #1ed760;
}

.popular-track-num {
  font-size: 14px;
  color: var(--text-subdued);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popular-track-row:hover .popular-track-num-text {
  display: none;
}

.popular-track-row .popular-track-play-icon {
  display: none;
}

.popular-track-row:hover .popular-track-play-icon {
  display: block;
  color: #fff;
}

.popular-track-row.active .popular-track-num-text {
  display: none;
}

.popular-track-row.active .popular-track-play-icon {
  display: none;
}

.popular-track-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #182236;
}

.popular-track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-track-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popular-track-row.active .popular-track-title {
  color: #1ed760;
}

.popular-track-plays {
  font-size: 13px;
  color: var(--text-subdued);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.popular-track-check {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1ed760;
  font-size: 15px;
}

.popular-track-dur {
  font-size: 13px;
  color: var(--text-subdued);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   VIEW 5: USER SETTINGS & PROFILE VIEW
   ========================================================================== */
.settings-wrap {
  padding: 32px 36px;
  max-width: 860px;
}

.settings-sec-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.settings-desc {
  font-size: 13px;
  color: var(--text-subdued);
}

.form-input {
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-width: 260px;
}

.form-input:focus {
  border-color: #fff;
}

.form-select {
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background-color: #4d4d4d;
  border-radius: 34px;
  cursor: pointer;
  transition: 0.2s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s;
}

input:checked + .toggle-slider {
  background-color: var(--accent-green);
}

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

/* ==========================================================================
   VIEW 6: CREATOR STUDIO (SPOTIFY DARK DESIGN)
   ========================================================================== */
.creator-wrap {
  padding: 32px 40px 80px;
  max-width: 980px;
  margin: 0;
}

.creator-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: none;
  padding-bottom: 0;
  flex-wrap: wrap;
  gap: 16px;
}

.creator-title-area h1 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-title-area p {
  color: var(--text-subdued);
  font-size: 13.5px;
  margin: 0;
}

.creator-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.creator-tab-btn:hover {
  color: #fff;
}

.creator-tab-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Upload Panel Card */
.creator-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.creator-card-header {
  margin-bottom: 20px;
}

.creator-card-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.creator-card-header p {
  font-size: 13px;
  color: var(--text-subdued);
  margin: 0;
}

/* Drop Zone (Taller Window) */
.spotify-drop-zone {
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 88px 24px;
  min-height: 380px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spotify-drop-zone:hover, .spotify-drop-zone.dragover {
  border-color: var(--accent-green);
  background: rgba(30, 215, 96, 0.04);
}

.drop-corner-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

/* 音楽・イラスト両方とも同じ落ち着いた色に統一 */
.drop-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.btn-submit-gray {
  background: #2a2a2a;
  color: #a7a7a7;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  cursor: default;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-gray.active {
  background: #fff;
  color: #000;
  cursor: pointer;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-submit-gray.active:hover {
  transform: scale(1.04);
  background: var(--accent-green);
}

.drop-center-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-base);
}

.drop-title-text {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.drop-hint-text {
  font-size: 13px;
  color: var(--text-subdued);
  margin-bottom: 22px;
}

.btn-choose-file {
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.btn-choose-file:hover {
  transform: scale(1.04);
}

/* File Selected State */
.drop-selected-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.drop-selected-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(30, 215, 96, 0.15);
  border: 1px solid rgba(30, 215, 96, 0.4);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drop-selected-info {
  text-align: left;
}

.drop-selected-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.drop-selected-meta {
  font-size: 12.5px;
  color: var(--accent-green);
  font-weight: 600;
  margin-top: 2px;
}

.btn-drop-reset {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-drop-reset:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Metadata Form */
.creator-meta-form {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-subdued);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-field input, .form-field select, .form-field textarea {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: #fff;
  background: #181818;
}

/* Monetize Switch Pill */
.monetize-switch-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.switch-pill-group {
  display: flex;
  gap: 4px;
  background: #121212;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.switch-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.switch-pill-btn.active {
  background: var(--accent-green);
  color: #000;
}

.monetize-explain-text {
  font-size: 12.5px;
  color: var(--accent-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bottom Action Bar */
.creator-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  flex-wrap: wrap;
}

.creator-bottom-hint {
  font-size: 12px;
  color: var(--text-subdued);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-submit-green {
  background: var(--accent-green);
  color: #000;
  font-weight: 800;
  font-size: 14.5px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-green:hover:not(:disabled) {
  transform: scale(1.04);
  background: var(--accent-green-hover);
}

.btn-submit-green:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Mood & Weather Section (Compact 2-Choice System) */
.mood-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.mood-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 気温と時刻のすりガラス風バッジ */
.weather-badge {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.weather-badge:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.weather-icon-wrap {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.weather-icon-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.75) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 75%);
  animation: weather-glow-breathe 1.5s infinite ease-in-out;
  pointer-events: none;
  filter: blur(1px);
}

@keyframes weather-glow-breathe {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.95;
  }
}

/* ==========================================================================
   AMBIENT BACKGROUND EFFECTS (Mode 1: Stardust / Mode 2: Aurora Waves)
   Pure CSS, Hardware Accelerated, Zero CPU Load
   ========================================================================== */
.ambient-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

/* モード切替制御 */
.ambient-container.mode-particles .ambient-particles-layer {
  opacity: 1;
}
.ambient-container.mode-aurora .ambient-aurora-layer {
  opacity: 1;
}
.ambient-container.mode-off .ambient-layer {
  opacity: 0;
}

/* --- モード①: 澄んだシアン＆スカイブルーのシンプルな星屑・音の粒子 --- */
.ambient-stardust {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: stardust-drift var(--star-dur, 9s) infinite ease-in-out var(--star-del, 0s);
  filter: blur(var(--star-blur, 0px));
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
  will-change: transform, opacity;
}

@keyframes stardust-drift {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.65);
  }
  20% {
    opacity: var(--star-max-op, 0.6);
  }
  50% {
    opacity: calc(var(--star-max-op, 0.6) * 0.9);
    transform: translate3d(var(--star-mid-x, -25px), var(--star-mid-y, 80px), 0) scale(1);
  }
  80% {
    opacity: calc(var(--star-max-op, 0.6) * 0.5);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--star-end-x, -50px), var(--star-end-y, 180px), 0) scale(0.65);
  }
}

/* --- モード②: オーロラ・音波グラデーション (画面全体を包む雄大なゆらめき) --- */
.ambient-aurora-layer {
  overflow: hidden;
  filter: blur(80px);
}

.aurora-orb {
  position: absolute;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* ① 右上〜中央上：澄んだシアンミクブルーの巨大光幕 */
.aurora-orb-1 {
  width: 780px;
  height: 580px;
  top: -120px;
  right: -5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, rgba(14, 165, 233, 0.12) 55%, transparent 80%);
  animation: aurora-float-1 6.5s infinite ease-in-out alternate;
}

/* ② 左上〜中央：深みのあるインディゴ・スカイ */
.aurora-orb-2 {
  width: 820px;
  height: 640px;
  top: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.26) 0%, rgba(56, 189, 248, 0.1) 60%, transparent 80%);
  animation: aurora-float-2 7.8s infinite ease-in-out alternate;
}

/* ③ 右下〜中央下：やわらかなエメラルドミント */
.aurora-orb-3 {
  width: 720px;
  height: 540px;
  bottom: -80px;
  right: 5%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.24) 0%, rgba(30, 58, 138, 0.08) 60%, transparent 80%);
  animation: aurora-float-3 7.2s infinite ease-in-out alternate;
}

/* ④ 左下〜画面中央：エレクトリック・アイスブルー */
.aurora-orb-4 {
  width: 760px;
  height: 560px;
  bottom: 0;
  left: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(129, 140, 248, 0.09) 60%, transparent 80%);
  animation: aurora-float-4 8.2s infinite ease-in-out alternate;
}

@keyframes aurora-float-1 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.38; }
  50% { transform: translate3d(-140px, 90px, 0) scale(1.22) rotate(18deg); opacity: 0.65; }
  100% { transform: translate3d(80px, 160px, 0) scale(0.9) rotate(-12deg); opacity: 0.42; }
}

@keyframes aurora-float-2 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.32; }
  50% { transform: translate3d(130px, -70px, 0) scale(1.25) rotate(-22deg); opacity: 0.62; }
  100% { transform: translate3d(-100px, 60px, 0) scale(0.88) rotate(15deg); opacity: 0.36; }
}

@keyframes aurora-float-3 {
  0% { transform: translate3d(0, 0, 0) scale(0.92) rotate(0deg); opacity: 0.3; }
  50% { transform: translate3d(-110px, 120px, 0) scale(1.2) rotate(25deg); opacity: 0.58; }
  100% { transform: translate3d(90px, -60px, 0) scale(0.95) rotate(-16deg); opacity: 0.35; }
}

@keyframes aurora-float-4 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.28; }
  50% { transform: translate3d(120px, 80px, 0) scale(1.22) rotate(-18deg); opacity: 0.6; }
  100% { transform: translate3d(-70px, -90px, 0) scale(0.88) rotate(20deg); opacity: 0.32; }
}

/* 右上ミニLIVEウィジェット：すりガラス＆0.8sクロスフェードティッカー（ひとまわり拡大版） */
.live-mini-ticker-box {
  height: 24px;
  position: relative;
  min-width: 230px;
  max-width: 340px;
  overflow: hidden;
}

.live-mini-ticker-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  will-change: opacity, transform;
}

.live-ticker-track {
  animation: live-crossfade-track 8s infinite ease-in-out;
}

.live-ticker-viewers {
  animation: live-crossfade-viewers 8s infinite ease-in-out;
}

/* フェードタイム：きっちり0.8秒（全体8sの10%） */
@keyframes live-crossfade-track {
  0%, 40% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  50% {
    opacity: 0;
    transform: translateY(-2px);
    pointer-events: none;
  }
  90% {
    opacity: 0;
    transform: translateY(2px);
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@keyframes live-crossfade-viewers {
  0%, 40% {
    opacity: 0;
    transform: translateY(2px);
    pointer-events: none;
  }
  50%, 90% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    transform: translateY(-2px);
    pointer-events: none;
  }
}

/* ミニ音波イコライザー（生きた音楽の柔らかさ・13px） */
.live-wave-bars {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 13px;
}

.live-wave-bar {
  width: 2.5px;
  background-color: #22c55e;
  border-radius: 9999px;
  animation: live-wave-pulse 1.2s ease-in-out infinite alternate;
  transform-origin: bottom;
}

.live-wave-bar:nth-child(1) { height: 7px; animation-duration: 0.9s; animation-delay: 0s; }
.live-wave-bar:nth-child(2) { height: 13px; animation-duration: 1.3s; animation-delay: 0.25s; }
.live-wave-bar:nth-child(3) { height: 9.5px; animation-duration: 1.0s; animation-delay: 0.5s; }

@keyframes live-wave-pulse {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* 天気セレクトボタン群 */
.weather-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wbtn {
  background: #141c2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text-subdued);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 32px;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.wbtn:hover {
  color: #fff;
  background: #1a263e;
  border-color: rgba(56, 189, 248, 0.45);
}

.wbtn.active {
  background: #0284c7;
  color: #fff;
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

.wbtn.active svg {
  filter: none;
}

/* 気分切り替えボタンバー（内部インデントを右に15px） */
.mood-box {
  max-width: 580px;
  margin-left: 15px;
  user-select: none;
  -webkit-user-select: none;
}


.mood-toggle-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 580px;
  margin-bottom: 12px;
}

.mood-tab-btn {
  width: 100%;
  box-sizing: border-box;
  background: #141c2e;
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 8.5px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.8s ease;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.mood-tab-btn:active {
  transform: scale(0.97);
}

.mood-tab-btn svg {
  flex-shrink: 0;
  transition: transform 0.8s ease;
}

/* ホバー時または連動ホバー時：前のNemgiと完全一致（0 4px 14px rgba(56,189,248,.3)） */
.mood-tab-btn:hover,
.mood-tab-btn.hover-hint {
  background: #38bdf8;
  color: #060a14 !important;
  border-color: #38bdf8;
  font-weight: 800;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

/* 選択中：前のNemgiと完全一致（0.8sかけて優雅にスローフェードイン） */
.mood-tab-btn.active {
  background: #38bdf8;
  color: #060a14 !important;
  border-color: #38bdf8;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

/* 横幅を少し狭めて縦を伸ばした黄金比の2分割カード */
.mood-dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 580px;
}

@media (max-width: 768px) {
  .mood-toggle-bar {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .mood-dual-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.mood-dual-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  border-radius: 18px;
  background: #101726;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}


/* ライブラリの大判430pxジャケット（文字なし・枠なし・角丸20pxの極上ギャラリー空間） */
.library-section-title {
  font-size: 19px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.015em;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.library-large-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .library-large-grid {
    gap: 16px;
  }
}

.library-large-card {
  width: 430px;
  max-width: 100%;
  flex: 0 0 430px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  outline: none;
}

.library-large-card:hover {
  transform: translateY(-6px) scale(1.015) translateZ(0);
}

.library-large-card:active {
  transform: translateY(-2px) scale(0.99) translateZ(0);
}

.library-large-card .card-art-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px !important;
  overflow: hidden;
  border: none !important;
  background: #0d1117;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.library-large-card:hover .card-art-wrap {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.65), 0 6px 16px rgba(0, 0, 0, 0.3);
}

.library-large-card .card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px !important;
  border: none !important;
}

.library-large-card .card-art-wrap {
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.library-large-card .card-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 5px;
}

.library-large-card .card-desc {
  font-size: 13px;
}

.library-large-card:hover .card-art {
  transform: scale(1.05) translateZ(0);
}

.library-large-card:active .card-art {
  transform: scale(1.07) translateZ(0);
}

/* ホバー時または連動ホバー時：前のNemgiと完全一致（translateY(-3px), box-shadow: 0 10px 28px rgba(56,189,248,.24)） */
.mood-dual-card:hover,
.mood-dual-card.hover-hint {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.24);
}

/* 選択中：前のNemgiと完全一致（枠線と光だけが灯り、マウスを外すとカード本体は元の位置へスロー復帰） */
.mood-dual-card.active {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px #38bdf8, 0 8px 26px rgba(56, 189, 248, 0.32);
}

.mood-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.8s ease;
}

#card-mood-chill .mood-card-badge {
  background: rgba(56, 189, 248, 0.12);
  color: var(--pk, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

#card-mood-uplifting .mood-card-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.mood-card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  background: #141c2e;
  overflow: hidden;
  z-index: 1;
}

.mood-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.mood-dual-card:hover .mood-card-art img,
.mood-dual-card.hover-hint .mood-card-art img {
  transform: scale(1.06);
}

/* タイトルと丸い再生ボタンは非表示（文字潰れを根本解消） */
.mood-card-title {
  display: none !important;
}

.mood-card-play-btn {
  display: none !important;
}

/* 前のNemgiと完全一致するすりガラス調の説明文 */
.mood-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3;
  margin: 0;
  padding: 12px 14px;
  background: rgba(8, 14, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.4s ease;
  overflow: hidden;
}

.mood-card-footer-info {
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}


.mood-card-desc {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
  margin: 0;
  transition: all 0.8s ease;
}

.mood-dual-card:hover .mood-card-footer,
.mood-dual-card.hover-hint .mood-card-footer,
.mood-dual-card.active .mood-card-footer {
  color: #38bdf8;
  background: rgba(8, 14, 26, 0.85);
  border-top-color: rgba(56, 189, 248, 0.3);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.mood-dual-card:hover .mood-card-desc,
.mood-dual-card.hover-hint .mood-card-desc,
.mood-dual-card.active .mood-card-desc {
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   NOW PLAYING FULL SCREEN VIEW (Spotify Canvas Stage)
   ========================================================================== */
.nowplaying-page {
  background: #070a12;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 60px;
}

.nowplaying-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 40px;
  width: 100%;
  /* 再生バーの中央（画面水平中央 50vw）にジャケットの真ん中を完全に一致させる幾何補正 */
  margin-left: calc(-1 * (var(--sidebar-width) + 8px) / 2);
}

@media (max-width: 1080px) {
  .nowplaying-stage {
    margin-left: 0;
  }
}

.nowplaying-ambient-blur {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 70%;
  height: 60%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  transition: background 0.8s ease;
}

.nowplaying-art-card-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nowplaying-art-glow {
  position: absolute;
  inset: 4px;
  border-radius: 24px;
  filter: blur(36px) saturate(1.6);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  transition: background 0.8s ease, opacity 0.8s ease;
  transform: scale(0.96);
}

.nowplaying-art-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: none !important;
  transition: none;
}

.nowplaying-art-card:hover {
  transform: none !important;
}

.nowplaying-art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nowplaying-meta-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.nowplaying-track-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

.nowplaying-track-artist {
  font-size: 16px;
  color: var(--text-subdued);
  margin-top: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.nowplaying-track-artist:hover {
  color: #fff;
  text-decoration: underline;
}

.nowplaying-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-np-tip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-np-tip:hover {
  background: #fff;
  color: #000;
  transform: scale(1.04);
}

/* ==========================================================================
   ARTWORK SLIDESHOW UI (NOW PLAYING VIEW)
   ========================================================================== */
.nowplaying-art-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: none !important;
  transition: none;
  user-select: none;
}

.art-slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.art-slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* 上部プログレスバー（Stories風） */
.art-seg-bars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 5px;
  padding: 12px 14px 6px;
  z-index: 8;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.art-seg-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  position: relative;
}

.art-seg-bar.passed {
  background: rgba(255, 255, 255, 0.9);
}

.art-seg-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* 上部バッジ（PR ＆ 通報） */
.art-top-badges {
  position: absolute;
  top: 26px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 8;
  pointer-events: none;
}

.art-badge-pr {
  pointer-events: auto;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.art-report-btn {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  margin-left: auto;
}

.art-report-btn:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(239, 68, 68, 0.15);
  transform: scale(1.08);
}

/* 左右ナビゲーションボタン（◀ / ▶） */
.art-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.nowplaying-art-card:hover .art-nav-btn,
.nowplaying-art-card:active .art-nav-btn {
  opacity: 1;
}

@media (max-width: 768px) {
  .art-nav-btn {
    opacity: 0.85;
    width: 36px;
    height: 36px;
  }
}

.art-nav-btn.prev {
  left: 12px;
}

.art-nav-btn.next {
  right: 12px;
}

.art-nav-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255,255,255,0.4);
}

/* 再生ビュー: イラストのマウスオーバー・アクションボタン */
.art-hover-actions {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 10;
}

.nowplaying-art-card:hover .art-hover-actions,
.nowplaying-art-card:focus-within .art-hover-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.art-hover-btn {
  background: rgba(10, 15, 25, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.18s ease;
  user-select: none;
}

.art-hover-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

.art-hover-btn.saved {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
}

.art-hover-btn.saved:hover {
  background: #38bdf8;
  color: #000;
}

.art-credit-info {
  min-width: 0;
  flex: 1;
}

.art-credit-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.art-credit-illust {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.art-credit-illust:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.art-tip-quick-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.art-tip-quick-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.art-ad-promote-btn {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  backdrop-filter: blur(8px);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.art-ad-promote-btn:hover {
  background: #10b981;
  color: #000;
  border-color: #10b981;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* 絵広告出稿ポップアップモーダル */
.art-ad-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.art-ad-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.art-ad-dialog {
  background: #12151e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 26px 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  text-align: left;
  animation: artModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes artModalPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.art-ad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.art-ad-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-ad-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.art-ad-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* プレビューカード */
.art-ad-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.art-ad-preview-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.art-ad-preview-meta {
  min-width: 0;
  flex: 1;
}

.art-ad-preview-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.art-ad-preview-artist {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* プランボックス */
.art-ad-plan-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.art-ad-plan-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.art-ad-plan-main-text {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}

.art-ad-plan-main-price {
  color: #34d399;
  font-size: 18px;
  font-weight: 900;
}

.art-ad-plan-sub-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  line-height: 1.4;
}

/* 応援コメント入力 */
.art-ad-comment-wrap {
  margin-bottom: 20px;
}

.art-ad-comment-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.art-ad-comment-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.art-ad-comment-input:focus {
  border-color: #10b981;
  background: rgba(255, 255, 255, 0.08);
}

.art-ad-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* 出稿アクションボタン */
.art-ad-submit-btn {
  width: 100%;
  background: #10b981;
  color: #000;
  font-size: 14px;
  font-weight: 800;
  border: none;
  border-radius: 9999px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.art-ad-submit-btn:hover {
  background: #34d399;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* 通報確認モーダル */
.art-report-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.art-report-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.art-report-dialog {
  background: #141720;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  text-align: left;
}

.art-report-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-report-desc {
  font-size: 13px;
  color: var(--text-subdued);
  line-height: 1.5;
  margin-bottom: 16px;
}

.art-report-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.art-report-reason-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}

.art-report-reason-btn:hover,
.art-report-reason-btn.selected {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.5);
  color: #fca5a5;
}

.art-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.nowplaying-lyrics-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
}

.nowplaying-lyrics-header {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-subdued);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nowplaying-lyrics-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

/* Works List Section (Spotify Dark Visual) */
.works-summary-text {
  font-size: 13px;
  color: var(--text-subdued);
  font-weight: 600;
}

.works-empty-card {
  text-align: center;
  padding: 56px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-subdued);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.works-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.15s ease;
}

.work-row-item:hover {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.2);
}

.work-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.work-row-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-subdued);
  min-width: 24px;
  text-align: center;
}

.work-row-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-row-meta {
  min-width: 0;
  flex: 1;
}

.work-row-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-row-sub {
  font-size: 12.5px;
  color: var(--text-subdued);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.work-play-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-subdued);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-tip-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-subdued);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-work-play-circle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-work-play-circle:hover {
  transform: scale(1.08);
  background: #fff;
  color: #000;
}

.btn-work-action-edit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-work-action-edit:hover {
  background: #fff;
  color: #000;
}

.btn-work-action-danger {
  display: none;
}

/* Works Grid for Artworks (4列グリッド) */
.works-art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .works-art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.art-card-item {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.art-card-item:hover {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.art-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.art-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-card-item:hover .art-card-img-wrap img {
  transform: scale(1.05);
}

/* 画像右上のフロストガラス風編集ボタン */
.art-card-floating-edit {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  z-index: 2;
}

.art-card-floating-edit:hover {
  background: #fff;
  color: #000;
}

.art-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 0;
}

.art-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.art-card-artist {
  font-size: 11.5px;
  color: var(--text-subdued);
  margin-top: 2px;
}

/* Creator Edit Modal */
.creator-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.creator-modal-dialog {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.creator-modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.creator-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.creator-modal-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   BOTTOM PLAYER BAR
   ========================================================================== */
.player-bar {
  grid-column: 1 / -1;
  height: var(--player-height);
  box-sizing: border-box;
  background-color: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(360px, 3fr) minmax(180px, 1fr);
  align-items: center;
  padding: 10px 24px;
  z-index: 200;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-art {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #282828;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.player-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.player-title {
  color: var(--text-base);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.player-title:hover {
  text-decoration: underline;
}

.player-artist {
  color: var(--text-subdued);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.player-artist:hover {
  text-decoration: underline;
  color: var(--text-base);
}

.btn-like {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.btn-like:hover {
  color: var(--text-base);
  transform: scale(1.15);
}

.btn-like.liked {
  color: var(--accent-green);
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 722px;
  width: 100%;
  margin: 0 auto;
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ctrl-btn:hover {
  color: var(--text-base);
  transform: scale(1.1);
}

.ctrl-btn.active {
  color: var(--accent-green);
  position: relative;
}

.ctrl-btn.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-green);
}

.btn-play-main {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-play-main:hover {
  transform: scale(1.08);
  background-color: #f6f6f6;
}

.playback-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.time-label {
  font-size: 11px;
  color: var(--text-subdued);
  min-width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  flex: 1;
  height: 4px;
  background-color: var(--slider-bg);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  background-color: var(--slider-fg);
  border-radius: 2px;
  width: 0%;
  position: relative;
}

.progress-track:hover .progress-fill {
  background-color: var(--slider-active);
}

.progress-thumb {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.progress-track:hover .progress-thumb {
  opacity: 1;
}

.player-aux-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.volume-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #242424;
  border-radius: var(--radius-panel);
  width: 480px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lyrics-overlay {
  position: fixed;
  inset: 0 bottom var(--player-height) 0;
  background: linear-gradient(180deg, #1e1b4b 0%, #09090b 100%);
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 40px 80px;
  overflow-y: auto;
}

.lyrics-overlay.open {
  display: flex;
}

.lyrics-line {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  transition: all 0.2s ease;
}

.lyrics-line.active {
  color: #fff;
  transform: scale(1.02);
}

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #2e77d0;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

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

/* ==========================================================================
   TIP, CREATOR PROFILE, ARTWORK SLIDESHOW & STORE STYLES
   ========================================================================== */

/* Player Bar Add-To-Playlist Button */
.btn-player-add-pl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 5px 11px;
  border-radius: 16px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}
.btn-player-add-pl:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
}

/* Player Bar Tip Button (大きく目立つアクセントスタイル・アイコン左寄せ) */
.btn-tip-player {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.36) 100%);
  border: 1.5px solid #38bdf8;
  color: #ffffff;
  padding: 7px 18px 7px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn-tip-player:hover {
  background: #38bdf8;
  color: #060a14;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.75);
  transform: translateY(-1px) scale(1.03);
}

/* ストリーム内 絵師さんにTipボタン（明るいシアン枠で際立つデザイン ＆ ホバー時シアン反転・中間ゴールデンバランス） */
.stream-illust-tip-btn {
  padding: 6.5px 16px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1.2px solid #38bdf8;
  color: #ffffff;
  font-size: 12.8px;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.32);
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}
.stream-illust-tip-btn:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #060a14;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.75);
  transform: translateY(-1px) scale(1.02);
}

/* シェアボタン用ピルスタイル（Tipと調和する落ち着いたガラス質感） */
.btn-share-player-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 7px 14px 7px 11px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: none;
}
.btn-share-player-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Playlist / Track Table Tip Button */
.pl-tip-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.pl-tip-btn:hover {
  background: #38bdf8;
  color: #060a14;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* Tip Amount Buttons in Modal */
.tip-amount-btn {
  padding: 10px 0;
  border-radius: 10px;
  background: #141f33;
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tip-amount-btn:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}
.tip-amount-btn.on {
  background: #38bdf8;
  color: #060a14;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

/* Artwork Slideshow Dots */
.gallery-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.gallery-dot.active {
  background: #38bdf8;
  width: 12px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

/* Creator Profile Hero */
.creator-hero {
  position: relative;
  padding: 40px 32px 32px;
  background: linear-gradient(180deg, #132742 0%, #0a0f1d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.creator-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  width: fit-content;
}
.creator-hero-name {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0;
}
.creator-hero-sub {
  color: var(--text-subdued);
  font-size: 14px;
  line-height: 1.6;
  max-width: 720px;
}
.creator-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.creator-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #38bdf8;
  color: #060a14;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.creator-btn-primary:hover {
  background: #7dd3fc;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}
.creator-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.creator-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Artwork Gallery Grid (for Illustrators) */
.artwork-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 24px 32px;
}
.artwork-gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #141b2b;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.artwork-gallery-card:hover {
  transform: translateY(-4px) translateZ(0);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.artwork-gallery-card:active {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}
.artwork-gallery-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.artwork-gallery-card:hover .artwork-gallery-img {
  transform: scale(1.05) translateZ(0);
}
.artwork-gallery-card:active .artwork-gallery-img {
  transform: scale(1.07) translateZ(0);
}
.artwork-gallery-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.artwork-gallery-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.artwork-gallery-sub {
  font-size: 12px;
  color: var(--text-subdued);
}

/* Store View */
.store-container {
  padding: 32px;
}
.store-hero {
  margin-bottom: 28px;
}
.store-hero h1 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #fff;
}
.store-hero p {
  color: var(--text-subdued);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.store-card {
  background: #121a29;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  cursor: pointer;
}
.store-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.store-card:active {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}
.store-card-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.store-card:hover .store-card-art {
  transform: scale(1.05) translateZ(0);
}
.store-card:active .store-card-art {
  transform: scale(1.07) translateZ(0);
}
.store-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.store-price-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.store-discount-badge {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ==========================================================================
   APPLE MUSIC STYLE PRODUCT / STORE PAGE
   ========================================================================== */
.apple-sale-container {
  padding: 32px 48px 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.apple-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-subdued);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
  margin-bottom: 24px;
}

.apple-back-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.apple-type-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-bottom: 28px;
}

.apple-type-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-subdued);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.apple-type-tab:hover {
  color: #fff;
}

.apple-type-tab.active {
  background: #fa243c;
  color: #fff;
  box-shadow: 0 4px 14px rgba(250, 36, 60, 0.35);
}

.apple-type-tab.active.art-tab {
  background: #38bdf8;
  color: #000;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.apple-hero-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}

@media (max-width: 820px) {
  .apple-hero-wrap {
    grid-template-columns: 1fr;
  }
}

.apple-hero-art {
  width: 280px;
  height: 280px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  position: relative;
  background: #182236;
  flex-shrink: 0;
}

.apple-hero-art.wide-art {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 10;
  height: auto;
}

.apple-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.apple-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.apple-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.apple-badge-red {
  background: rgba(250, 36, 60, 0.15);
  color: #fa243c;
  border-color: rgba(250, 36, 60, 0.35);
}

.apple-badge-blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.apple-title {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.apple-artist {
  font-size: 18px;
  font-weight: 700;
  color: #fa243c;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 10px;
  transition: opacity 0.15s ease;
}

.apple-artist:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.apple-artist.blue-art {
  color: #38bdf8;
}

.apple-meta-sub {
  font-size: 13px;
  color: var(--text-subdued);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.apple-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-apple-play {
  background: #fa243c;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(250, 36, 60, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-apple-play:hover {
  transform: scale(1.04);
  background: #fb3e53;
}

.btn-apple-buy {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-apple-buy:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: scale(1.03);
}

.btn-apple-buy.owned {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.4);
  cursor: default;
}

.btn-apple-tip {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid rgba(234, 179, 8, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-apple-tip:hover {
  background: rgba(234, 179, 8, 0.2);
  transform: scale(1.03);
}

.apple-discount-notice {
  background: rgba(250, 36, 60, 0.08);
  border: 1px solid rgba(250, 36, 60, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: #fff;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apple-discount-notice.blue-notice {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
}

.apple-tracklist-section {
  margin-top: 40px;
}

.apple-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.apple-tracklist-table {
  width: 100%;
  border-collapse: collapse;
}

.apple-track-row {
  display: grid;
  grid-template-columns: 36px 1fr 100px 70px 110px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.apple-track-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.apple-track-num {
  font-size: 14px;
  color: var(--text-subdued);
  text-align: center;
}

.apple-track-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apple-track-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.apple-track-artist-sub {
  font-size: 12.5px;
  color: var(--text-subdued);
}

.apple-track-badge {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.apple-track-dur {
  font-size: 13.5px;
  color: var(--text-subdued);
}

.apple-track-buy-btn {
  background: rgba(250, 36, 60, 0.15);
  color: #fa243c;
  border: 1px solid rgba(250, 36, 60, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.apple-track-buy-btn:hover {
  background: #fa243c;
  color: #fff;
}

.apple-track-buy-btn.owned {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
  cursor: default;
}

.apple-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .apple-info-grid {
    grid-template-columns: 1fr;
  }
}

.apple-card-block {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px;
}

.apple-card-block h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}

.apple-card-block p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

@keyframes artFadePopIn {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes artFadePopOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
}
@keyframes artBackdropFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes artBackdropFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ポップアップ＆タイルの保存ボタン：洗練されたホバーインタラクション */
.art-dynamic-save-btn {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.art-dynamic-save-btn:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.art-dynamic-save-btn:active {
  transform: scale(0.95);
}

/* 未保存時のホバー（すりガラスが明るく発光） */
.art-dynamic-save-btn[data-saved="false"]:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

/* 保存済み時のホバー（爽やかなシアンが明るく輝く） */
.art-dynamic-save-btn[data-saved="true"]:hover {
  background: #7dd3fc !important;
  border-color: #7dd3fc !important;
  color: #030712 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6) !important;
}

/* ==========================================================================
   MOBILE NOW-PLAYING & VERTICAL ART STREAM SPEC (768px以下 最適化)
   ========================================================================== */
@media (max-width: 768px) {
  #app {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr var(--player-height);
    padding: 0;
    gap: 0;
  }

  .sidebar-container {
    display: none !important;
  }

  .main-view {
    border-radius: 0;
    width: 100%;
  }

  .nowplaying-page {
    padding: 16px 14px 100px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .nowplaying-stage {
    margin-left: 0 !important;
    padding: 6px 0 24px !important;
  }

  .nowplaying-art-card-wrap {
    max-width: 100% !important;
    padding: 0 4px;
  }

  .nowplaying-art-card {
    max-width: 100% !important;
    border-radius: 16px !important;
  }

  .nowplaying-meta-bar {
    max-width: 100% !important;
  }

  .nowplaying-track-title {
    font-size: 22px !important;
  }

  .stream-art-card {
    border-radius: 14px !important;
  }
}













/* ==========================================================================
   NEGI SIGNATURE THEME (オールスター厳選・黄金バランス昼モード)
   深緑ティール #156064 (タイトル) × セルリアン #37718E (サブ文字) ×
   シアン #24D4D4 (主役アクセント) × ビビッドピンク #F75590 (差し色) ×
   カナリーイエロー #FCFC62 (スパイス) × 純白枠線ゼロキャンバス
   ========================================================================== */
[data-theme="gallery"],
[data-theme="light"],
[data-theme="gallery"] body,
[data-theme="light"] body,
[data-theme="gallery"] .app-container,
[data-theme="light"] .app-container,
[data-theme="gallery"] .main-view,
[data-theme="light"] .main-view,
[data-theme="gallery"] .main-scroll,
[data-theme="light"] .main-scroll,
[data-theme="gallery"] .library-full-wrap,
[data-theme="light"] .library-full-wrap {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #156064 !important;
}

/* サイドバー・ヘッダー・プレイヤー（完全枠線ゼロ・純白） */
[data-theme="gallery"] .sidebar-container,
[data-theme="light"] .sidebar-container {
  background: #ffffff !important;
  border-right: none !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .top-header,
[data-theme="light"] .top-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .player-bar,
[data-theme="light"] .player-bar {
  background: #ffffff !important;
  border-top: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   主役タイトル：h1〜h4・曲名・大見出し（深緑ティール Stormy Teal #156064）
   白背景で文字がくっきり引き締まり、知的なネギティールとして抜群の可読性！
   ========================================================================== */
[data-theme="gallery"] h1, [data-theme="light"] h1,
[data-theme="gallery"] h2, [data-theme="light"] h2,
[data-theme="gallery"] h3, [data-theme="light"] h3,
[data-theme="gallery"] h4, [data-theme="light"] h4,
[data-theme="gallery"] h5, [data-theme="light"] h5,
[data-theme="gallery"] h6, [data-theme="light"] h6,
[data-theme="gallery"] .library-main-title, [data-theme="light"] .library-main-title,
[data-theme="gallery"] .library-section-title, [data-theme="light"] .library-section-title,
[data-theme="gallery"] .card-title, [data-theme="light"] .card-title,
[data-theme="gallery"] .library-card-title, [data-theme="light"] .library-card-title,
[data-theme="gallery"] .player-title, [data-theme="light"] .player-title,
[data-theme="gallery"] .spotify-logo-text, [data-theme="light"] .spotify-logo-text,
[data-theme="gallery"] #profile-display-name, [data-theme="light"] #profile-display-name,
[data-theme="gallery"] .sidebar-fav-title, [data-theme="light"] .sidebar-fav-title,
[data-theme="gallery"] .section-title, [data-theme="light"] .section-title,
[data-theme="gallery"] .page-title, [data-theme="light"] .page-title,
[data-theme="gallery"] b, [data-theme="light"] b,
[data-theme="gallery"] strong, [data-theme="light"] strong {
  color: #156064 !important;
}

/* ==========================================================================
   脇役テキスト：アーティスト名・説明・注釈（知的なセルリアン Cerulean #37718E）
   タイトルの深緑ティールと美しく階層化され、曲名と作者名がパッと一瞬で見分けられる！
   ========================================================================== */
[data-theme="gallery"] p, [data-theme="light"] p,
[data-theme="gallery"] .card-desc, [data-theme="light"] .card-desc,
[data-theme="gallery"] .library-card-desc, [data-theme="light"] .library-card-desc,
[data-theme="gallery"] .library-count-text, [data-theme="light"] .library-count-text,
[data-theme="gallery"] .player-sub-credits, [data-theme="light"] .player-sub-credits,
[data-theme="gallery"] .sidebar-fav-artist, [data-theme="light"] .sidebar-fav-artist {
  color: #37718e !important;
}

/* ナビアイテム（左メニュー） */
[data-theme="gallery"] .nav-item, [data-theme="light"] .nav-item {
  color: #37718e !important;
  font-weight: 600 !important;
  border: none !important;
}
[data-theme="gallery"] .nav-item:hover, [data-theme="light"] .nav-item:hover {
  color: #156064 !important;
  background-color: #f0fdfa !important;
}
[data-theme="gallery"] .nav-item.active, [data-theme="light"] .nav-item.active {
  color: #156064 !important;
  background-color: #ccfbf1 !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   完全枠線ゼロ！カード・セクション・リスト行（影も枠線もなし）
   ========================================================================== */
[data-theme="gallery"] .owned-music-card, [data-theme="light"] .owned-music-card,
[data-theme="gallery"] .library-card, [data-theme="light"] .library-card,
[data-theme="gallery"] .hist-simple-row, [data-theme="light"] .hist-simple-row,
[data-theme="gallery"] #dynamic-view-root section, [data-theme="light"] #dynamic-view-root section,
[data-theme="gallery"] .settings-wrap section, [data-theme="light"] .settings-wrap section,
[data-theme="gallery"] .card-spotify, [data-theme="light"] .card-spotify,
[data-theme="gallery"] .panel, [data-theme="light"] .panel,
[data-theme="gallery"] .nav-panel, [data-theme="light"] .nav-panel {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

/* ホバー時の淡いミントヴェール（#a1ffde を溶かした #f0fdfa） */
[data-theme="gallery"] .owned-music-card:hover, [data-theme="light"] .owned-music-card:hover,
[data-theme="gallery"] .library-card:hover, [data-theme="light"] .library-card:hover,
[data-theme="gallery"] .hist-simple-row:hover, [data-theme="light"] .hist-simple-row:hover,
[data-theme="gallery"] .track-row:hover, [data-theme="light"] .track-row:hover {
  background: #f0fdfa !important;
  border: none !important;
  box-shadow: none !important;
}

/* ヘッダーボタン（淡いシアンのふんわりピルボタン） */
[data-theme="gallery"] .btn-pill-header, [data-theme="light"] .btn-pill-header {
  background: rgba(36, 212, 212, 0.16) !important;
  color: #156064 !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .btn-pill-header:hover, [data-theme="light"] .btn-pill-header:hover {
  background: rgba(36, 212, 212, 0.28) !important;
  color: #156064 !important;
}

/* 特別なアクション：作品を投稿するボタン（ビビッドピンク #F75590） - セレクタ汚染を完全排除 */
[data-theme="gallery"] .btn-pill-header.creator-link, [data-theme="light"] .btn-pill-header.creator-link {
  background: rgba(247, 85, 144, 0.16) !important;
  color: #f75590 !important;
  border: none !important;
  font-weight: 800 !important;
}
[data-theme="gallery"] .btn-pill-header.creator-link:hover, [data-theme="light"] .btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.28) !important;
}

/* ハート・お気に入りアイコン（ビビッドピンク #F75590） */
[data-theme="gallery"] .btn-heart.active, [data-theme="light"] .btn-heart.active,
[data-theme="gallery"] svg[fill*="#f43f5e"], [data-theme="light"] svg[fill*="#f43f5e"],
[data-theme="gallery"] svg[fill*="#f4acb7"], [data-theme="light"] svg[fill*="#f4acb7"] {
  fill: #f75590 !important;
  color: #f75590 !important;
}

/* 検索バー（枠線なし・淡いミント塗りでシームレス） */
[data-theme="gallery"] .search-input, [data-theme="light"] .search-input {
  background: #f0fdfa !important;
  border: none !important;
  color: #156064 !important;
  box-shadow: none !important;
}
[data-theme="gallery"] .search-input:focus, [data-theme="light"] .search-input:focus {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 2px #24d4d4 !important;
}

/* プレイヤーのコントロールアイコン（シアン #24D4D4 とティール #156064） */
[data-theme="gallery"] .btn-control, [data-theme="light"] .btn-control {
  color: #156064 !important;
}
[data-theme="gallery"] .btn-control:hover, [data-theme="light"] .btn-control:hover {
  color: #24d4d4 !important;
}

/* スライダー（つまみはシアン #24D4D4） */
[data-theme="gallery"] input[type="range"], [data-theme="light"] input[type="range"] {
  accent-color: #24d4d4 !important;
}

/* 所有中（OWNED）バッジやハイライト（シアン #24D4D4） */
[data-theme="gallery"] span[style*="OWNED"], [data-theme="light"] span[style*="OWNED"] {
  background: rgba(36, 212, 212, 0.18) !important;
  color: #156064 !important;
  border: none !important;
}

/* 全画面シアターモード（絵の全体が黄金比で収まり・暗転ゼロ・✕ボタン以外の全UI非表示） */
#art-voyage-popup-modal.is-art-fullscreen .art-popup-nav-btn,
#art-voyage-popup-modal.is-art-fullscreen .art-popup-top-actions,
#art-voyage-popup-modal.is-art-fullscreen .art-popup-info-bar,
#art-voyage-popup-modal.is-art-fullscreen .art-popup-tip-container,
#art-voyage-popup-modal.is-art-fullscreen #art-ambient-tuner-panel {
  display: none !important;
}

#art-voyage-popup-modal.is-art-fullscreen {
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

/* アートコレクション専用の超特大大判グリッド（360pxの2倍：堂々たる720pxの美術館キャンバス仕様） */
.art-collection-super-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(620px, 1fr));
  gap: 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .art-collection-super-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.art-collection-super-card {
  width: 100%;
  max-width: 720px;
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.art-collection-super-card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.art-collection-super-card .card-art-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  background: #0d1117;
}

.art-collection-super-card .card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-collection-super-card:hover .card-art {
  transform: scale(1.03) translateZ(0);
}

.art-collection-super-card .card-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 20, 30, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transform: scale(0.9) translateY(4px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.art-collection-super-card:hover .card-play-btn {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.art-collection-super-card .card-play-btn:hover {
  transform: scale(1.08) !important;
  background: rgba(56, 189, 248, 0.85);
  border-color: #38bdf8;
  color: #04101e;
}

[data-theme="gallery"] .art-collection-super-card, [data-theme="light"] .art-collection-super-card {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ==========================================================================
   全画面共通：Appleクオリティの超滑らかシルキースムース画面遷移 (途切れ途切れゼロ)
   ========================================================================== */
@keyframes viewFadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-transition-active {
  animation: viewFadeSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  will-change: opacity, transform;
}

/* ==========================================================================
   ホーム開閉時：季節・時間帯に寄り添う購入アートの背景アンビエント展示
   全画面遮断ゼロ。ホーム画面の奥で透き通るように佇み、優美に息づく
   ========================================================================== */
@keyframes homeSeasonalArtFade {
  0% {
    opacity: 0.05;
    transform: scale(1.04) translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.home-seasonal-bg-wrap {
  animation: homeSeasonalArtFade 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

/* ==========================================================================
   フロア電光掲示板クロスフェード（滑らかに切り替わるタイムテーブル表示）
   ========================================================================== */
.floor-ticker-box {
  position: relative;
  height: 24px;
  overflow: hidden;
  min-width: 260px;
}

.floor-ticker-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: opacity, transform;
}

.floor-ticker-main {
  animation: floor-crossfade-main 7.5s infinite ease-in-out;
}

.floor-ticker-sub {
  animation: floor-crossfade-sub 7.5s infinite ease-in-out;
}

@keyframes floor-crossfade-main {
  0%, 42% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  50%, 92% {
    opacity: 0;
    transform: translateY(-3px);
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@keyframes floor-crossfade-sub {
  0%, 42% {
    opacity: 0;
    transform: translateY(3px);
    pointer-events: none;
  }
  50%, 92% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    transform: translateY(3px);
    pointer-events: none;
  }
}

/* ==========================================================================
   ホーム上部のおすすめアート・バナー枠（スタイル1：コンパクト＆背景同色調和）
   ========================================================================== */
.home-art-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 14px 8px 10px;
  margin: 0;
  max-width: 480px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="gallery"] .home-art-banner-card,
[data-theme="light"] .home-art-banner-card {
  background-color: #ffffff !important;
  border: 1px solid rgba(16, 185, 129, 0.16) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="gallery"] .home-art-banner-card:hover,
[data-theme="light"] .home-art-banner-card:hover {
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07) !important;
}

/* ==========================================================================
   ホーム開閉時：左メニューのイラスト拡大（Art Voyage Popup）と同じ極上スタイル
   文字・ボタン・UIは一切重ねず、純粋なキャンバスと極上アンビエントのみで展示
   ========================================================================== */
@keyframes homeSeasonalSplashFade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.home-seasonal-curtain-ambient {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  animation: homeSeasonalSplashFade 2.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity;
}

.home-seasonal-curtain-ambient.dismiss {
  animation: none !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-seasonal-card-wrap {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.home-seasonal-popup-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: artFadePopIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 36px 84px rgba(0, 0, 0, 0.7);
  max-width: min(86vw, 920px);
  max-height: min(80vh, 740px);
}

.home-seasonal-popup-img {
  max-width: 100%;
  max-height: min(80vh, 740px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ==========================================================================
   究極のイマーシブモード（絵と余白だけの縦スクロール美術館）
   UI完全排除・1枚絵ミニマム展示・広大な呼吸できる余白
   ========================================================================== */
@keyframes immersiveFadeEnter {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes immersiveFadeExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}

.immersive-gallery-container {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background-color: #0b0d13;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  animation: immersiveFadeEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

[data-theme="gallery"] .immersive-gallery-container,
[data-theme="light"] .immersive-gallery-container {
  background-color: #ffffff !important;
}

.immersive-gallery-container.dismiss {
  animation: immersiveFadeExit 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  pointer-events: none !important;
}

/* 1枚ごとの展示ステージ：画面いっぱいの静謐な余白の中央に1枚だけ佇む */
.immersive-art-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  box-sizing: border-box;
  position: relative;
}

.immersive-art-img {
  max-width: min(84vw, 880px);
  max-height: min(72vh, 680px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}

[data-theme="gallery"] .immersive-art-img,
[data-theme="light"] .immersive-art-img {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08) !important;
}

/* 画面右上の目立たない静かな戻るボタン（ホバー時のみふわりと浮かぶ） */
.immersive-exit-btn {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.28;
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
}

[data-theme="gallery"] .immersive-exit-btn,
[data-theme="light"] .immersive-exit-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.5);
}

.immersive-exit-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   ARTIST PAGE (Ver 187) - カード内統合デザイン（320pxアイコン・Note統合・公式リンク）
   ========================================================================== */
.artist-page-container {
  padding: 32px 48px 120px;
  background: var(--bg-base);
  min-height: 100%;
}

[data-theme="gallery"] .artist-page-container,
[data-theme="light"] .artist-page-container {
  background: #ffffff !important;
}

/* 1. 大きなアーティストカード */
.artist-hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 36px 40px;
  margin-bottom: 36px;
  background: #11141d;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
}

/* 昼モード（美術館スタイル）のアーティストカード（背景透過ゼロ・澄んだ清潔感） */
[data-theme="gallery"] .artist-hero-card,
[data-theme="light"] .artist-hero-card {
  background: #f0fdfa !important;
  box-shadow: 0 10px 30px rgba(21, 96, 100, 0.08) !important;
  border: 1px solid rgba(21, 96, 100, 0.12) !important;
}

.artist-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 36px;
  flex-wrap: wrap;
  width: 100%;
}

.artist-avatar-img {
  width: 320px;
  height: 320px;
  border-radius: 20px !important;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  background: #1a1e29;
}

@media (max-width: 900px) {
  .artist-avatar-img {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 650px) {
  .artist-avatar-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

[data-theme="gallery"] .artist-avatar-img,
[data-theme="light"] .artist-avatar-img {
  border: 1px solid rgba(21, 96, 100, 0.15) !important;
  box-shadow: 0 12px 32px rgba(21, 96, 100, 0.12) !important;
}

.artist-hero-right {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 320px;
}

.artist-hero-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

[data-theme="gallery"] .artist-hero-title,
[data-theme="light"] .artist-hero-title {
  color: #156064 !important;
}

.artist-hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
}

[data-theme="gallery"] .artist-hero-meta,
[data-theme="light"] .artist-hero-meta {
  color: #37718e !important;
}

[data-theme="gallery"] .artist-hero-meta b,
[data-theme="light"] .artist-hero-meta b {
  color: #156064 !important;
}

.artist-hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.artist-hero-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.artist-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.artist-social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="gallery"] .artist-social-btn,
[data-theme="light"] .artist-social-btn {
  background: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.18) !important;
  color: #156064 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="gallery"] .artist-social-btn:hover,
[data-theme="light"] .artist-social-btn:hover {
  background: #f0fdfa !important;
  border-color: #24d4d4 !important;
  color: #0e4447 !important;
}

/* すべて再生ボタン（文字縦崩れ完全防止ピル型） */
.btn-hero-play-all {
  width: auto !important;
  height: auto !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: #000 !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  transition: all 0.15s;
}

[data-theme="gallery"] .btn-hero-play-all,
[data-theme="light"] .btn-hero-play-all {
  background: #24d4d4 !important;
  color: #000 !important;
  box-shadow: 0 6px 20px rgba(36, 212, 212, 0.35) !important;
}

.btn-hero-play-all:hover {
  transform: scale(1.02);
}

.btn-artist-action {
  padding: 9px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s;
}

.btn-artist-action.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

[data-theme="gallery"] .btn-artist-action,
[data-theme="light"] .btn-artist-action {
  background: #ffffff !important;
  color: #156064 !important;
  border-color: rgba(21, 96, 100, 0.2) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="gallery"] .btn-artist-action:hover,
[data-theme="light"] .btn-artist-action:hover {
  background: #f0fdfa !important;
  border-color: #24d4d4 !important;
}

[data-theme="gallery"] .btn-artist-action.active,
[data-theme="light"] .btn-artist-action.active {
  background: #156064 !important;
  color: #ffffff !important;
  border-color: #156064 !important;
}

/* 透明感ある上質アーティストメッセージエリア */
.artist-message-wrap {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="gallery"] .artist-message-wrap,
[data-theme="light"] .artist-message-wrap {
  border-top: 1px solid rgba(21, 96, 100, 0.12) !important;
}

.artist-bio-display-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.artist-bio-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  white-space: pre-wrap;
  flex: 1;
}

[data-theme="gallery"] .artist-bio-text,
[data-theme="light"] .artist-bio-text {
  color: #156064 !important;
}

.btn-bio-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-bio-edit:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

[data-theme="gallery"] .btn-bio-edit,
[data-theme="light"] .btn-bio-edit {
  background: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.18) !important;
  color: #156064 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="gallery"] .btn-bio-edit:hover,
[data-theme="light"] .btn-bio-edit:hover {
  background: #f0fdfa !important;
  border-color: #24d4d4 !important;
  color: #0e4447 !important;
}
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.artist-link-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

[data-theme="gallery"] .artist-link-pill,
[data-theme="light"] .artist-link-pill {
  background: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.18) !important;
  color: #156064 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="gallery"] .artist-link-pill:hover,
[data-theme="light"] .artist-link-pill:hover {
  background: #f0fdfa !important;
  border-color: #24d4d4 !important;
  color: #0e4447 !important;
}

/* プロフィール編集テキストエリア */
.artist-bio-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 80px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.6;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

[data-theme="gallery"] .artist-bio-textarea,
[data-theme="light"] .artist-bio-textarea {
  background: #ffffff !important;
  border-color: rgba(21, 96, 100, 0.25) !important;
  color: #156064 !important;
}

/* 人気再生トップ5のスタイル */
.artist-top-track-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.artist-top-track-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="gallery"] .artist-top-track-row:hover,
[data-theme="light"] .artist-top-track-row:hover {
  background: #f0fdfa !important;
  border-color: rgba(36, 212, 212, 0.25) !important;
}

.artist-top-track-row.playing {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
}

[data-theme="gallery"] .artist-top-track-row.playing,
[data-theme="light"] .artist-top-track-row.playing {
  background: #ccfbf1 !important;
  border-color: #24d4d4 !important;
}

.artist-top-track-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="gallery"] .artist-top-track-title,
[data-theme="light"] .artist-top-track-title {
  color: #156064 !important;
}

.artist-top-track-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

[data-theme="gallery"] .artist-top-track-meta,
[data-theme="light"] .artist-top-track-meta {
  color: #37718e !important;
}

/* 楽曲カードの文字色（昼モード） */
[data-theme="gallery"] .library-card-title,
[data-theme="light"] .library-card-title {
  color: #156064 !important;
}

[data-theme="gallery"] .library-card-sub,
[data-theme="light"] .library-card-sub {
  color: #37718e !important;
}

/* ==========================================================================
   チップ履歴メニュー：トグルスイッチ ＆ 昼夜テーマ連動
   ========================================================================== */
.tip-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.tip-history-title {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

[data-theme="gallery"] .tip-history-title,
[data-theme="light"] .tip-history-title {
  color: #156064 !important;
}

.tip-history-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  margin: 0;
}

[data-theme="gallery"] .tip-history-sub,
[data-theme="light"] .tip-history-sub {
  color: #37718e !important;
}

/* 2連ピル型トグルスイッチ [ イラスト | 楽曲 ] */
.tip-history-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 2px;
}

[data-theme="gallery"] .tip-history-toggle-wrap,
[data-theme="light"] .tip-history-toggle-wrap {
  background: #f0fdfa !important;
  border-color: rgba(21, 96, 100, 0.15) !important;
  box-shadow: 0 2px 8px rgba(21, 96, 100, 0.04) !important;
}

.tip-history-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.tip-history-toggle-btn:hover {
  color: #fff;
}

[data-theme="gallery"] .tip-history-toggle-btn,
[data-theme="light"] .tip-history-toggle-btn {
  color: #37718e !important;
}

[data-theme="gallery"] .tip-history-toggle-btn:hover,
[data-theme="light"] .tip-history-toggle-btn:hover {
  color: #156064 !important;
}

.tip-history-toggle-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

[data-theme="gallery"] .tip-history-toggle-btn.active,
[data-theme="light"] .tip-history-toggle-btn.active {
  background: #156064 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(21, 96, 100, 0.25) !important;
}

/* イラストグリッド外枠 */
.tip-art-grid-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  border-radius: 16px;
  overflow: hidden;
  background: #090d13;
}

[data-theme="gallery"] .tip-art-grid-wrap,
[data-theme="light"] .tip-art-grid-wrap {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.1) !important;
}

.tip-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tip-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  transition: color 0.18s ease;
}

[data-theme="gallery"] .tip-section-title,
[data-theme="light"] .tip-section-title {
  color: #156064 !important;
}

/* クリック可能なセクションタイトル（ホバーでフワッと色変化 ＆ 矢印アニメーション） */
.tip-section-clickable-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.tip-section-clickable-title:hover .tip-section-title {
  color: #38bdf8 !important;
}

[data-theme="gallery"] .tip-section-clickable-title:hover .tip-section-title,
[data-theme="light"] .tip-section-clickable-title:hover .tip-section-title {
  color: #24d4d4 !important;
}

.tip-section-clickable-title svg {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0.55;
}

.tip-section-clickable-title:hover svg {
  transform: translateX(3px);
  opacity: 1;
  color: #38bdf8;
}

[data-theme="gallery"] .tip-section-clickable-title:hover svg,
[data-theme="light"] .tip-section-clickable-title:hover svg {
  color: #24d4d4 !important;
}

/* ==========================================================================
   プロフィール・設定画面の昼夜完全連動デザインシステム (Ver 209 #209)
   昼モード（美術館スタイル：深緑ティール ＆ セルリアンブルー）
   夜モード（サイバーダーク：純白 ＆ スレートグレー）
   ========================================================================== */
.settings-main-wrap {
  max-width: 680px;
  padding: 40px 24px 120px;
  margin: 0 auto;
}

.settings-main-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--text-base);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

[data-theme="gallery"] .settings-main-title,
[data-theme="light"] .settings-main-title {
  color: #156064 !important;
}

.settings-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
  transition: all 0.2s ease;
}

[data-theme="gallery"] .settings-section-card,
[data-theme="light"] .settings-section-card {
  background: #f8fdfc !important;
  border-color: rgba(21, 96, 100, 0.12) !important;
  box-shadow: 0 4px 20px rgba(21, 96, 100, 0.05);
}

.settings-label {
  font-size: 13px;
  color: var(--text-subdued);
  font-weight: 700;
  margin-bottom: 2px;
}

[data-theme="gallery"] .settings-label,
[data-theme="light"] .settings-label {
  color: #37718e !important;
}

.settings-desc {
  font-size: 12px;
  color: var(--text-subdued);
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1.5;
}

[data-theme="gallery"] .settings-desc,
[data-theme="light"] .settings-desc {
  color: #37718e !important;
}

.settings-item-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-base);
}

[data-theme="gallery"] .settings-item-title,
[data-theme="light"] .settings-item-title {
  color: #156064 !important;
}

.settings-divider-line {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 22px;
}

[data-theme="gallery"] .settings-divider-line,
[data-theme="light"] .settings-divider-line {
  background: rgba(21, 96, 100, 0.1) !important;
}

.settings-money-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: background 0.15s ease;
}

[data-theme="gallery"] .settings-money-row,
[data-theme="light"] .settings-money-row {
  background: #ffffff !important;
  border-color: rgba(21, 96, 100, 0.1) !important;
}

.settings-money-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-base);
}

[data-theme="gallery"] .settings-money-title,
[data-theme="light"] .settings-money-title {
  color: #156064 !important;
}

.settings-money-desc {
  font-size: 12px;
  color: var(--text-subdued);
}

[data-theme="gallery"] .settings-money-desc,
[data-theme="light"] .settings-money-desc {
  color: #37718e !important;
}

.settings-money-amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-base);
}

.settings-money-summary-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  transition: all 0.18s ease;
}

[data-theme="gallery"] .settings-money-summary-card,
[data-theme="light"] .settings-money-summary-card {
  background: #f8fdfc !important;
  border-color: rgba(21, 96, 100, 0.15) !important;
}

[data-theme="gallery"] .settings-money-summary-card:hover,
[data-theme="light"] .settings-money-summary-card:hover {
  border-color: var(--accent-green) !important;
  box-shadow: 0 4px 16px rgba(21, 96, 100, 0.08);
}


/* ==========================================================================
   ART COLLECTION: 2列大判展示システム（Ver 214 #214）
   ========================================================================== */
.art-collection-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .art-collection-two-col-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.art-collection-two-col-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.2s ease;
}

.art-collection-two-col-card:hover .art-collection-img-wrap img {
  transform: scale(1.02);
}

.art-collection-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  background: var(--bg-surface);
  position: relative;
}

.art-collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-collection-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 4px;
}

.art-collection-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-base);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-collection-artist {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-subdued);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="gallery"] .art-collection-title,
[data-theme="light"] .art-collection-title {
  color: #156064 !important;
}

/* ==========================================================================
   MODAL TYPOGRAPHY & FORM CONTROLS (昼夜完全連動・Ver 221 #221)
   ========================================================================== */
.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-base);
  margin: 0;
  letter-spacing: -0.01em;
}

[data-theme="gallery"] .modal-title,
[data-theme="light"] .modal-title {
  color: #156064 !important;
}

.modal-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-subdued);
  margin-bottom: 6px;
}

[data-theme="gallery"] .modal-label,
[data-theme="light"] .modal-label {
  color: #37718e !important;
}

.modal-input,
.modal-textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text-base);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.modal-input:focus,
.modal-textarea:focus {
  border-color: var(--accent-green);
}

[data-theme="gallery"] .modal-input,
[data-theme="light"] .modal-input,
[data-theme="gallery"] .modal-textarea,
[data-theme="light"] .modal-textarea {
  background: #ffffff !important;
  border-color: rgba(21, 96, 100, 0.22) !important;
  color: #156064 !important;
}

.modal-body-text {
  font-size: 12.5px;
  color: var(--text-subdued);
  line-height: 1.7;
}

[data-theme="gallery"] .modal-body-text,
[data-theme="light"] .modal-body-text {
  color: #37718e !important;
}

.modal-btn-cancel {
  padding: 8px 18px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-subdued);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-btn-cancel:hover {
  color: var(--text-base);
  border-color: var(--accent-green);
}

[data-theme="gallery"] .modal-btn-cancel,
[data-theme="light"] .modal-btn-cancel {
  background: #f0fdfa !important;
  border-color: rgba(21, 96, 100, 0.18) !important;
  color: #37718e !important;
}

.modal-close-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.modal-close-icon-btn:hover {
  color: var(--text-base);
}

[data-theme="gallery"] .modal-close-icon-btn,
[data-theme="light"] .modal-close-icon-btn {
  color: #37718e !important;
}

/* ==========================================================================
   Nemgi Ver 223 (#223) - Precision Alignment & Day Mode Refinement
   ========================================================================== */

/* 1. Header Pill Buttons (Height: 36px, compact & perfectly proportioned with 44px search bar) */
.btn-pill-header {
  height: 36px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-pill-header:hover {
  background-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* Day Mode Header Pill Buttons */
[data-theme="gallery"] .btn-pill-header,
[data-theme="light"] .btn-pill-header {
  background: rgba(36, 212, 212, 0.16) !important;
  border: none !important;
  color: #156064 !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .btn-pill-header:hover,
[data-theme="light"] .btn-pill-header:hover {
  background: rgba(36, 212, 212, 0.28) !important;
}

/* Special Creator Link Button (Vivid Pink #F75590) */
.btn-pill-header.creator-link {
  background: rgba(247, 85, 144, 0.16) !important;
  border: none !important;
  color: #f75590 !important;
  font-weight: 800 !important;
}

.btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.28) !important;
}

[data-theme="gallery"] .btn-pill-header.creator-link,
[data-theme="light"] .btn-pill-header.creator-link {
  background: rgba(247, 85, 144, 0.16) !important;
  border: none !important;
  color: #f75590 !important;
}

[data-theme="gallery"] .btn-pill-header.creator-link:hover,
[data-theme="light"] .btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.28) !important;
}

/* Search Clear Button */
.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

[data-theme="gallery"] .search-clear-btn,
[data-theme="light"] .search-clear-btn {
  background: rgba(21, 96, 100, 0.08) !important;
  color: #37718e !important;
}

[data-theme="gallery"] .search-clear-btn:hover,
[data-theme="light"] .search-clear-btn:hover {
  background: rgba(21, 96, 100, 0.16) !important;
  color: #156064 !important;
}

/* 2. Home Live Stream Banner (Clean pill shape, proper contrast in Day Mode) */
.home-live-widget-pill {
  background: rgba(16, 24, 40, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  padding: 5px 16px 5px 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.home-live-widget-pill:hover {
  background: rgba(22, 34, 56, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

[data-theme="gallery"] .home-live-widget-pill,
[data-theme="light"] .home-live-widget-pill {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.14) !important;
  box-shadow: 0 4px 14px rgba(21, 96, 100, 0.06) !important;
}

[data-theme="gallery"] .home-live-widget-pill:hover,
[data-theme="light"] .home-live-widget-pill:hover {
  background: #e6fffa !important;
  border-color: rgba(21, 96, 100, 0.25) !important;
}

/* 3. Player Bar Boundary & Day Mode Refinement */
[data-theme="gallery"] .player-bar,
[data-theme="light"] .player-bar {
  background: #ffffff !important;
  border-top: 1px solid rgba(21, 96, 100, 0.12) !important;
  box-shadow: 0 -4px 20px rgba(21, 96, 100, 0.04) !important;
}

/* Play/Pause Main Circle Button (美術館スタイル：深緑ティール正円・影ゼロ) */
.btn-play-main {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #060913;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-play-main:hover {
  transform: scale(1.08);
  background-color: #f6f6f6;
  box-shadow: none;
}

/* 昼モード（美術館スタイル）：堂々たる深緑ティール正円・影ゼロの端正な美 */
[data-theme="gallery"] .btn-play-main,
[data-theme="light"] .btn-play-main {
  background-color: #156064 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .btn-play-main:hover,
[data-theme="light"] .btn-play-main:hover {
  background-color: #0e4447 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
  box-shadow: none !important;
}

/* Control Buttons (Shuffle, Prev, Next, Repeat) */
.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ctrl-btn:hover {
  color: #38bdf8;
  transform: scale(1.18) translateY(-1px);
}

[data-theme="gallery"] .ctrl-btn,
[data-theme="light"] .ctrl-btn {
  color: #37718e !important;
}

[data-theme="gallery"] .ctrl-btn:hover,
[data-theme="light"] .ctrl-btn:hover {
  color: #24d4d4 !important;
  transform: scale(1.18) translateY(-1px) !important;
}

[data-theme="gallery"] .ctrl-btn.active,
[data-theme="light"] .ctrl-btn.active {
  color: #24d4d4 !important;
}

/* Player Tip & Share Buttons */
[data-theme="gallery"] .btn-tip-player,
[data-theme="light"] .btn-tip-player {
  background: #f0fdfa !important;
  border: 1.5px solid #24d4d4 !important;
  color: #156064 !important;
  box-shadow: 0 2px 10px rgba(36, 212, 212, 0.2) !important;
}

[data-theme="gallery"] .btn-tip-player:hover,
[data-theme="light"] .btn-tip-player:hover {
  background: #24d4d4 !important;
  color: #042f2e !important;
}

[data-theme="gallery"] .btn-share-player-pill,
[data-theme="light"] .btn-share-player-pill {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.18) !important;
  color: #156064 !important;
  box-shadow: none !important;
}

[data-theme="gallery"] .btn-share-player-pill:hover,
[data-theme="light"] .btn-share-player-pill:hover {
  background: rgba(21, 96, 100, 0.08) !important;
  border-color: #156064 !important;
}

/* Player Track Info Elements */
.player-art-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: grab;
  background-color: var(--bg-surface);
}

.player-flow-badge {
  display: none;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
  letter-spacing: -0.01em;
}

[data-theme="gallery"] .player-flow-badge,
[data-theme="light"] .player-flow-badge {
  background: #e0f2fe !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
}

.player-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 2px;
  display: inline-block;
  vertical-align: middle;
}

[data-theme="gallery"] .player-divider,
[data-theme="light"] .player-divider {
  background: rgba(21, 96, 100, 0.15) !important;
}

/* 4. Creator Drop Zone (Fix Disappearing Dotted Line in Day Mode) */
[data-theme="gallery"] .spotify-drop-zone,
[data-theme="light"] .spotify-drop-zone {
  border: 1.5px dashed rgba(21, 96, 100, 0.35) !important;
  background: #f0fdfa !important;
}

[data-theme="gallery"] .spotify-drop-zone:hover,
[data-theme="light"] .spotify-drop-zone:hover,
[data-theme="gallery"] .spotify-drop-zone.dragover,
[data-theme="light"] .spotify-drop-zone.dragover {
  border-color: #156064 !important;
  background: rgba(21, 96, 100, 0.06) !important;
}

[data-theme="gallery"] .drop-title-text,
[data-theme="light"] .drop-title-text {
  color: #156064 !important;
}

[data-theme="gallery"] .drop-hint-text,
[data-theme="light"] .drop-hint-text {
  color: #37718e !important;
}

[data-theme="gallery"] .drop-center-icon-wrap,
[data-theme="light"] .drop-center-icon-wrap {
  background: #ffffff !important;
  border-color: rgba(21, 96, 100, 0.2) !important;
  color: #156064 !important;
}

[data-theme="gallery"] .btn-choose-file,
[data-theme="light"] .btn-choose-file {
  background: #156064 !important;
  color: #ffffff !important;
}

[data-theme="gallery"] .drop-badge-icon,
[data-theme="light"] .drop-badge-icon {
  background: #ffffff !important;
  border-color: rgba(21, 96, 100, 0.22) !important;
  color: #156064 !important;
}

/* ==========================================================================
   Nemgi Ver 224 (#224) - Header Golden Ratio & Art Voyage Popup Overlay Fix
   ========================================================================== */

/* 1. イラスト探索・大画面タイルポップアップモーダル（最前面フルスクリーン配置の完全復元） */
.art-voyage-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  animation: artBackdropFade 0.25s ease forwards;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999 !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

/* 2. ヘッダー黄金比プロポーション（ユーザー様ご提供画像 media_1793118195895_81b339e3.png 完全一致規格） */
/* ① 昼モード・エフェクトOFF等の補助ボタン：スリムな28px（Ver 224確定規格） */
.btn-pill-header {
  height: 28px !important;
  padding: 0 12px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}

/* ② 「作品を投稿する」主役ボタン：ひと回り大きい36px・桜ピンク */
.btn-pill-header.creator-link {
  height: 36px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  background: rgba(247, 85, 144, 0.16) !important;
  border: none !important;
  color: #f75590 !important;
  gap: 6px !important;
}

.btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.28) !important;
  transform: translateY(-1px) !important;
}

[data-theme="gallery"] .btn-pill-header.creator-link,
[data-theme="light"] .btn-pill-header.creator-link {
  background: rgba(247, 85, 144, 0.16) !important;
  border: none !important;
  color: #f75590 !important;
}

[data-theme="gallery"] .btn-pill-header.creator-link:hover,
[data-theme="light"] .btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.28) !important;
}

/* ③ 上のバー（検索窓・ホームボタン）をスマートな36pxに引き締めて全体と調和 */
.search-input {
  height: 36px !important;
  font-size: 13px !important;
  padding: 0 36px 0 38px !important;
}

.btn-header-home {
  width: 36px !important;
  height: 36px !important;
}

.btn-header-home svg {
  width: 18px !important;
  height: 18px !important;
}

.user-avatar-btn {
  width: 36px !important;
  height: 36px !important;
}

/* ==========================================================================
   Nemgi Ver 234 (#234) - Creator Button Rich Hover (Bg Transition + 1px Pink Border)
   ========================================================================== */

/* 「作品を投稿する」ボタン：通常時は透明1px枠線でガタつき完全防止 */
.btn-pill-header.creator-link,
[data-theme="gallery"] .btn-pill-header.creator-link,
[data-theme="light"] .btn-pill-header.creator-link {
  border: 1px solid transparent !important;
  background: rgba(247, 85, 144, 0.16) !important;
  color: #f75590 !important;
  transition: all 0.18s ease !important;
}

/* ホバー時：中身の背景は透き通る淡い桜色（0.18）に抑え、繊細な1pxピンク枠線（#f75590）が上品に点灯 */
.btn-pill-header.creator-link:hover,
[data-theme="gallery"] .btn-pill-header.creator-link:hover,
[data-theme="light"] .btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.18) !important;
  border-color: #f75590 !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   Nemgi Ver 247 (#247) - Creator Button Soft Subtle Hover (0.13 -> 0.19)
   ========================================================================== */

/* 「作品を投稿する」ボタン：通常時は透明感あふれる淡い桜色（0.13）＆ 透明1px枠線 */
.btn-pill-header.creator-link,
[data-theme="gallery"] .btn-pill-header.creator-link,
[data-theme="light"] .btn-pill-header.creator-link {
  border: 1px solid transparent !important;
  background: rgba(247, 85, 144, 0.13) !important;
  color: #f75590 !important;
  transition: all 0.18s ease !important;
}

/* ホバー時：ピンクの濃度変化を穏やかに抑え、ほんのり優しい桜色の色づき（0.19）＆ 繊細なピンク枠線 */
.btn-pill-header.creator-link:hover,
[data-theme="gallery"] .btn-pill-header.creator-link:hover,
[data-theme="light"] .btn-pill-header.creator-link:hover {
  background: rgba(247, 85, 144, 0.19) !important;
  border-color: rgba(247, 85, 144, 0.75) !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}
/* ==========================================================================
   Nemgi Ver 239 (#239) - Fix Slider & Scrollbar Disappearing on Hover
   ========================================================================== */

/* ① 画面右端の縦スクロールバー：昼モードでマウスを乗せても白飛びせずクッキリ濃色 */
[data-theme="gallery"] ::-webkit-scrollbar-thumb,
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(21, 96, 100, 0.22) !important;
}

[data-theme="gallery"] ::-webkit-scrollbar-thumb:hover,
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(21, 96, 100, 0.5) !important;
}

/* ② プレイヤー右側の音量スライダー＆中央プログレスバー：昼モードで白飛びしない深緑ティールつまみ */
[data-theme="gallery"] .progress-thumb,
[data-theme="light"] .progress-thumb {
  background-color: #156064 !important;
  box-shadow: 0 1px 5px rgba(21, 96, 100, 0.3) !important;
}

[data-theme="gallery"] .progress-track,
[data-theme="light"] .progress-track {
  background-color: rgba(21, 96, 100, 0.15) !important;
}

[data-theme="gallery"] .progress-fill,
[data-theme="light"] .progress-fill {
  background-color: #156064 !important;
}

[data-theme="gallery"] .progress-track:hover .progress-fill,
[data-theme="light"] .progress-track:hover .progress-fill {
  background-color: #24d4d4 !important;
}

/* ==========================================================================
   Nemgi Ver 240 (#240) - Sidebar Left Menu Smooth Interactive Hover
   ========================================================================== */

/* 左メニュー基本設計：ゆったりパディング ＆ 10px角丸 ＆ スムーズな遷移 */
.nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease !important;
  will-change: transform, background-color !important;
}

.nav-item svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, filter 0.2s ease !important;
}

/* --- 夜モード（サイバーダーク）ホバー ＆ アクティブ --- */
.nav-item {
  color: var(--text-subdued);
  background-color: transparent;
}

.nav-item:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  transform: translateX(3px) !important;
}

.nav-item:hover svg {
  color: #38bdf8 !important;
  transform: scale(1.08) !important;
}

/* Ver 248 (#248) 夜モード：カード全体は控えめな極薄シアンヴェール、SVGアイコンが鮮烈スカイシアンに発光 */
.nav-item.active {
  color: #ffffff !important;
  background-color: rgba(56, 189, 248, 0.07) !important;
}

.nav-item.active svg {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75)) !important;
  transform: scale(1.06) !important;
}

/* --- 昼モード（美術館スタイル）ホバー ＆ アクティブ --- */
[data-theme="gallery"] .nav-item,
[data-theme="light"] .nav-item {
  color: #37718e !important;
  background-color: transparent !important;
  border: none !important;
}

[data-theme="gallery"] .nav-item:hover,
[data-theme="light"] .nav-item:hover {
  color: #156064 !important;
  background-color: #f0fdfa !important;
  transform: translateX(3px) !important;
}

[data-theme="gallery"] .nav-item:hover svg,
[data-theme="light"] .nav-item:hover svg {
  color: #24d4d4 !important;
  transform: scale(1.08) !important;
}

/* Ver 248 (#248) 昼モード：濃いベタ塗りを撤廃し極薄ミントヴェールへ、SVGアイコンが鮮烈ミクシアンに発光 */
[data-theme="gallery"] .nav-item.active,
[data-theme="light"] .nav-item.active {
  color: #156064 !important;
  background-color: rgba(36, 212, 212, 0.08) !important;
  font-weight: 700 !important;
}

[data-theme="gallery"] .nav-item.active svg,
[data-theme="light"] .nav-item.active svg {
  color: #24d4d4 !important;
  filter: drop-shadow(0 0 6px rgba(36, 212, 212, 0.7)) !important;
  transform: scale(1.06) !important;
}

/* ==========================================================================
   Nemgi Ver 241 (#241) - Compact Refined Left Sidebar Menu
   ========================================================================== */

/* 左メニューのサイズを少し下げてスッキリ上品化 */
.nav-item {
  gap: 11px !important;
  padding: 7px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.nav-item svg {
  width: 19px !important;
  height: 19px !important;
}

/* ==========================================================================
   Nemgi Ver 242 (#242) - Keep Scrollbar Visible at Top (Header Right Clearance)
   ========================================================================== */

/* 上のメニュー（ヘッダー）：右端を12pxあけてスクロールバーの通り道を確保し、最上部でも絶対に隠れないようにする */
.top-header,
[data-theme="gallery"] .top-header,
[data-theme="light"] .top-header {
  right: 12px !important;
  padding: 0 14px 0 24px !important;
}

/* ==========================================================================
   Nemgi Ver 243 (#243) - Perfectly Balanced Sidebar Left Menu (Sweet Spot)
   ========================================================================== */

/* 左メニュー：小さすぎず大きすぎない絶妙な黄金バランスサイズ */
.nav-item {
  gap: 12.5px !important;
  padding: 8.5px 13px !important;
  border-radius: 9px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.nav-item svg {
  width: 20.5px !important;
  height: 20.5px !important;
}

/* ==========================================================================
   Nemgi Ver 246 (#246) - Comfortable & Balanced Scrollbar Cursor
   ========================================================================== */

/* 上のメニュー（ヘッダー）：スクロールバー拡大に合わせて右端クリアランスを14pxへ微調整 */
.top-header,
[data-theme="gallery"] .top-header,
[data-theme="light"] .top-header {
  right: 14px !important;
  padding: 0 14px 0 24px !important;
}

/* スクロールバー基本骨組み：適度な存在感と掴みやすさ（11px）のカプセル型ピル */
::-webkit-scrollbar {
  width: 11px !important;
  height: 11px !important;
}

::-webkit-scrollbar-track {
  background: transparent !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 9999px !important;
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  transition: background-color 0.2s ease !important;
  min-height: 40px !important;
}

/* --- 夜モード（サイバーダーク）：上品な半透明スレート ＆ スカイシアンホバー --- */
::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.22) !important;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(56, 189, 248, 0.6) !important;
}

/* --- 昼モード（美術館スタイル）：澄んだセルリアンティール ＆ 深緑ティールホバー --- */
[data-theme="gallery"] ::-webkit-scrollbar-thumb,
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background-color: rgba(55, 113, 142, 0.26) !important;
}

[data-theme="gallery"] ::-webkit-scrollbar-thumb:hover,
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background-color: rgba(21, 96, 100, 0.52) !important;
}
/* ==========================================================================
   SHARE POPOVER SPEC (Ver 245 #245 前面ポップオーバー型シェア ＆ 視聴者広告規格)
   ========================================================================== */
.share-popover-overlay {
  position: fixed;
  inset: 0;
  background: transparent !important;
  z-index: 998;
  display: none;
}

.share-popover-card {
  position: fixed;
  z-index: 999;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: #0e1424;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: popoverFloatUp 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

@keyframes popoverFloatUp {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 三角の吹き出し矢印（下向き） */
.share-popover-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 48px;
  width: 12px;
  height: 12px;
  background: #0e1424;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

/* ヘッダー */
.share-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.share-popover-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-popover-title-icon {
  stroke: #38bdf8;
}
.share-popover-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.share-popover-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.share-popover-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ミニ対象曲カード */
.share-popover-target {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 14px;
}
.share-popover-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.share-popover-info {
  flex: 1;
  min-width: 0;
}
.share-popover-song-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-popover-song-artist {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* SNSシェアボタングリッド */
.share-sns-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.share-sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.share-sns-item:hover {
  transform: translateY(-2px);
  color: #ffffff;
}
.share-sns-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.share-sns-circle.x-twitter {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.share-sns-circle.x-twitter:hover {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}
.share-sns-circle.line-app {
  background: #06c755;
  color: #ffffff;
}
.share-sns-circle.line-app:hover {
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.35);
}
.share-sns-circle.embed-code {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.share-sns-circle.embed-code:hover {
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}
.share-sns-label {
  letter-spacing: 0.02em;
}

/* タイムスタンプ指定チェックボックス */
.share-timestamp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
}
.share-timestamp-label:hover {
  color: #ffffff;
}
.share-timestamp-checkbox {
  accent-color: #38bdf8;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.share-timestamp-text span {
  color: #38bdf8;
  font-weight: 700;
}

/* URLコピーバー */
.share-copy-bar-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 3px 4px 3px 12px;
  gap: 8px;
  margin-bottom: 4px;
  transition: border-color 0.15s;
}
.share-copy-bar-wrap:focus-within {
  border-color: #38bdf8;
}
.share-url-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #e2e8f0;
  font-size: 12px;
  font-family: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.share-copy-pill-btn {
  background: #38bdf8;
  color: #04101e;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.share-copy-pill-btn:hover {
  background: #7dd3fc;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}
.share-copy-pill-btn.copied {
  background: #10b981;
  color: #ffffff;
}

/* 視聴者広告バナー（推し曲プロモーション） */
.share-boost-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(14, 165, 233, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.share-boost-banner:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
}
.share-boost-banner-left {
  flex: 1;
  min-width: 0;
}
.share-boost-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}
.share-boost-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.share-boost-desc {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 1px;
}
.share-boost-arrow {
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.share-boost-banner:hover .share-boost-arrow {
  transform: translateX(3px);
}

/* 昼モード（美術館スタイル）の完全連動 */
[data-theme="gallery"] .share-popover-card,
[data-theme="light"] .share-popover-card {
  background: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.18) !important;
  box-shadow: 0 16px 40px rgba(21, 96, 100, 0.16), 0 0 0 1px rgba(21, 96, 100, 0.08) !important;
  color: #156064 !important;
}

[data-theme="gallery"] .share-popover-card::after,
[data-theme="light"] .share-popover-card::after {
  background: #ffffff !important;
  border-right: 1px solid rgba(21, 96, 100, 0.18) !important;
  border-bottom: 1px solid rgba(21, 96, 100, 0.18) !important;
}

[data-theme="gallery"] .share-popover-title-icon,
[data-theme="light"] .share-popover-title-icon {
  stroke: #156064 !important;
}

[data-theme="gallery"] .share-popover-title,
[data-theme="light"] .share-popover-title {
  color: #156064 !important;
}

[data-theme="gallery"] .share-popover-close-btn,
[data-theme="light"] .share-popover-close-btn {
  color: #37718e !important;
}
[data-theme="gallery"] .share-popover-close-btn:hover,
[data-theme="light"] .share-popover-close-btn:hover {
  color: #156064 !important;
  background: rgba(21, 96, 100, 0.08) !important;
}

[data-theme="gallery"] .share-popover-target,
[data-theme="light"] .share-popover-target {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.12) !important;
}

[data-theme="gallery"] .share-popover-song-title,
[data-theme="light"] .share-popover-song-title {
  color: #156064 !important;
}

[data-theme="gallery"] .share-popover-song-artist,
[data-theme="light"] .share-popover-song-artist {
  color: #37718e !important;
}

[data-theme="gallery"] .share-sns-grid,
[data-theme="light"] .share-sns-grid {
  border-bottom: 1px solid rgba(21, 96, 100, 0.1) !important;
}

[data-theme="gallery"] .share-sns-item,
[data-theme="light"] .share-sns-item {
  color: #37718e !important;
}
[data-theme="gallery"] .share-sns-item:hover,
[data-theme="light"] .share-sns-item:hover {
  color: #156064 !important;
}

[data-theme="gallery"] .share-sns-circle.embed-code,
[data-theme="light"] .share-sns-circle.embed-code {
  background: #f0fdfa !important;
  color: #156064 !important;
  border: 1px solid rgba(21, 96, 100, 0.22) !important;
}
[data-theme="gallery"] .share-sns-circle.embed-code:hover,
[data-theme="light"] .share-sns-circle.embed-code:hover {
  background: rgba(36, 212, 212, 0.15) !important;
  border-color: #24d4d4 !important;
  box-shadow: 0 4px 12px rgba(36, 212, 212, 0.25) !important;
}

[data-theme="gallery"] .share-timestamp-label,
[data-theme="light"] .share-timestamp-label {
  color: #37718e !important;
}
[data-theme="gallery"] .share-timestamp-label:hover,
[data-theme="light"] .share-timestamp-label:hover {
  color: #156064 !important;
}
[data-theme="gallery"] .share-timestamp-checkbox,
[data-theme="light"] .share-timestamp-checkbox {
  accent-color: #24d4d4 !important;
}
[data-theme="gallery"] .share-timestamp-text span,
[data-theme="light"] .share-timestamp-text span {
  color: #156064 !important;
}

[data-theme="gallery"] .share-copy-bar-wrap,
[data-theme="light"] .share-copy-bar-wrap {
  background: #f0fdfa !important;
  border: 1px solid rgba(21, 96, 100, 0.18) !important;
}
[data-theme="gallery"] .share-copy-bar-wrap:focus-within,
[data-theme="light"] .share-copy-bar-wrap:focus-within {
  border-color: #24d4d4 !important;
}
[data-theme="gallery"] .share-url-input,
[data-theme="light"] .share-url-input {
  color: #156064 !important;
}
[data-theme="gallery"] .share-copy-pill-btn,
[data-theme="light"] .share-copy-pill-btn {
  background: #24d4d4 !important;
  color: #042f2e !important;
}
[data-theme="gallery"] .share-copy-pill-btn:hover,
[data-theme="light"] .share-copy-pill-btn:hover {
  background: #14b8a6 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(36, 212, 212, 0.4) !important;
}

[data-theme="gallery"] .share-boost-banner,
[data-theme="light"] .share-boost-banner {
  background: linear-gradient(135deg, rgba(36, 212, 212, 0.12) 0%, rgba(21, 96, 100, 0.04) 100%) !important;
  border: 1px solid rgba(21, 96, 100, 0.22) !important;
}
[data-theme="gallery"] .share-boost-banner:hover,
[data-theme="light"] .share-boost-banner:hover {
  background: linear-gradient(135deg, rgba(36, 212, 212, 0.2) 0%, rgba(21, 96, 100, 0.08) 100%) !important;
  border-color: #24d4d4 !important;
  box-shadow: 0 4px 14px rgba(36, 212, 212, 0.25) !important;
}
[data-theme="gallery"] .share-boost-badge,
[data-theme="light"] .share-boost-badge {
  color: #156064 !important;
  background: rgba(36, 212, 212, 0.2) !important;
}
[data-theme="gallery"] .share-boost-title,
[data-theme="light"] .share-boost-title {
  color: #156064 !important;
}
[data-theme="gallery"] .share-boost-desc,
[data-theme="light"] .share-boost-desc {
  color: #37718e !important;
}
[data-theme="gallery"] .share-boost-arrow,
[data-theme="light"] .share-boost-arrow {
  color: #156064 !important;
}


/* ==========================================================================
   SETTINGS PURE MINIMAL INDENT SPEC (Ver 256 #256 純粋ミニマル字下げ規格)
   余計な線やバッジは使わず、自然な字下げ（18pxインデント）だけで美しい親子関係を表現
   ========================================================================== */
.settings-section-heading {
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  color: var(--text-base);
  margin: 0 0 3px !important;
}

[data-theme="gallery"] .settings-section-heading,
[data-theme="light"] .settings-section-heading {
  color: #156064 !important;
}

.settings-subitems-wrap {
  margin-left: 18px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-subitem-block {
  display: flex;
  flex-direction: column;
}


/* ==========================================================================
   SETTINGS ACTION PILL BUTTON (Ver 260 #260 設定画面アクションピル規格)
   お財布・履歴ボタン ＆ サポート窓口ボタンの統一美
   完全ピル型（border-radius: 9999px）、ホバーでGPU浮遊、昼夜完全連動
   ========================================================================== */
.settings-wallet-modal-btn,
.settings-action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8.5px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: var(--accent-green);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.settings-wallet-modal-btn:hover,
.settings-action-pill-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--accent-green);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.settings-wallet-modal-btn svg,
.settings-action-pill-btn svg {
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.settings-wallet-modal-btn:hover svg,
.settings-action-pill-btn:hover svg {
  transform: translate(2px, -2px);
}

/* 昼モード（美術館スタイル）の完全連動：透明感あふれるシアンミントピル */
[data-theme="gallery"] .settings-wallet-modal-btn,
[data-theme="light"] .settings-wallet-modal-btn,
[data-theme="gallery"] .settings-action-pill-btn,
[data-theme="light"] .settings-action-pill-btn {
  background: rgba(36, 212, 212, 0.12) !important;
  border: 1px solid rgba(36, 212, 212, 0.38) !important;
  color: #156064 !important;
}

[data-theme="gallery"] .settings-wallet-modal-btn:hover,
[data-theme="light"] .settings-wallet-modal-btn:hover,
[data-theme="gallery"] .settings-action-pill-btn:hover,
[data-theme="light"] .settings-action-pill-btn:hover {
  background: rgba(36, 212, 212, 0.24) !important;
  border-color: #24d4d4 !important;
  color: #042f2e !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 14px rgba(36, 212, 212, 0.28) !important;
}

/* ==========================================================================
   TRANSACTION CANCELLATION & REFUND SPEC (Ver 267 #267 取引取消・返金規格)
   完全ピル型、端正な取消ボタン、昼夜完全連動
   ========================================================================== */
.btn-cancel-refund {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #ef4444;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.btn-cancel-refund:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.money-flow-refunded-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-subdued);
  border: 1px solid rgba(148, 163, 184, 0.24);
  margin-left: 6px;
  white-space: nowrap;
}

/* 昼モード（美術館スタイル）の完全連動 */
[data-theme="gallery"] .btn-cancel-refund,
[data-theme="light"] .btn-cancel-refund {
  background: rgba(220, 38, 38, 0.06) !important;
  border: 1px solid rgba(220, 38, 38, 0.24) !important;
  color: #dc2626 !important;
}

[data-theme="gallery"] .btn-cancel-refund:hover,
[data-theme="light"] .btn-cancel-refund:hover {
  background: rgba(220, 38, 38, 0.14) !important;
  border-color: #dc2626 !important;
  color: #991b1b !important;
  transform: translateY(-1px) !important;
}


/* Player Bar Heart (お気に入り♡) ボタン - Ver 274 #274 (平常時シアン外枠 ＆ 点灯時シアン満ちるスタイル) */
.btn-player-heart {
  background: transparent;
  border: none;
  color: var(--accent-green); /* 押されていない平常時も美しいシアンブルーの外枠 */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1;
  opacity: 0.82;
}
.btn-player-heart svg {
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  fill: none;
  transition: all 0.2s ease;
}
.btn-player-heart:hover {
  opacity: 1;
  color: var(--accent-green);
  transform: scale(1.16);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.45));
}
.btn-player-heart.liked {
  opacity: 1;
  color: var(--accent-green) !important;
  filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.48));
}
.btn-player-heart.liked svg {
  fill: var(--accent-green) !important; /* 押された時は中身もシアンで満ちる */
  stroke: var(--accent-green) !important;
  stroke-width: 2 !important;
}
.btn-player-heart.liked:hover {
  transform: scale(1.22);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7));
}


/* ==========================================================================
   More (...) Menu & Report Modal - Ver 275 #275
   ========================================================================== */

/* More Button in Player Bar */
.btn-player-more {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1;
}
.btn-player-more:hover {
  color: var(--text-base);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.12);
}

/* More Dropdown Menu */
.player-more-dropdown {
  position: absolute;
  bottom: 48px;
  right: 0;
  width: 250px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  animation: moreMenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes moreMenuFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.more-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  color: var(--text-base);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.more-menu-item:hover {
  background: var(--bg-surface-hover);
  color: var(--accent-green);
}
.more-menu-item.item-danger {
  color: var(--text-subdued);
}
.more-menu-item.item-danger:hover {
  background: rgba(247, 85, 144, 0.12);
  color: var(--accent-pink, #f75590);
}
.more-menu-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 8px;
}

/* Report Modal Overlay & Card */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: reportFadeIn 0.2s ease;
}
@keyframes reportFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.report-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.report-close-btn {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.report-close-btn:hover {
  color: var(--text-base);
  background: var(--bg-surface-hover);
}

.report-modal-body {
  padding: 20px 24px;
}

.report-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-base);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
}
.report-radio-label:hover {
  border-color: var(--accent-green);
}
.report-radio-label input[type="radio"] {
  accent-color: var(--accent-green);
}

.report-textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  color: var(--text-base);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease;
}
.report-textarea:focus {
  border-color: var(--accent-green);
}

.report-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-subtle);
}

.btn-report-cancel {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-subdued);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-report-cancel:hover {
  color: var(--text-base);
  background: var(--bg-surface-hover);
}

.btn-report-submit {
  background: var(--accent-green);
  border: none;
  color: #070b14;
  padding: 9px 22px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-report-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}


/* Player Bar Share Button (記号アイコンのみ・上に矢印・Ver 276 #276) */
.btn-player-share {
  background: transparent;
  border: none;
  color: var(--text-subdued);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.18s ease, background 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1;
}
.btn-player-share:hover {
  color: var(--text-base);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.15);
}
.btn-player-share:active {
  transform: scale(0.95);
}


/* ==========================================================================
   Home Stream Live Banner Motion & Transparency - Ver 277 #277
   ========================================================================== */

/* 拡大と左右ランダム視点移動のケン・バーンズ呼吸アニメーション (Ver 278 #278 - 8秒心地よい呼吸リズム) */
@keyframes streamCameraMotion {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  25% {
    transform: scale(1.09) translate3d(-14px, -6px, 0);
  }
  50% {
    transform: scale(1.05) translate3d(0, -2px, 0);
  }
  75% {
    transform: scale(1.10) translate3d(14px, -6px, 0);
  }
  100% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
}

/* ホームストリーム画像: ストリーム画面と完全一致する上品な1.4%深呼吸 (Ver 284 #284) */
.stream-live-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: art-gentle-breathe 8s infinite ease-in-out;
  will-change: transform;
  transform-origin: center center;
  pointer-events: none;
}


/* ==========================================================================
   Pattern A Share Modal Styles (Ver 279 #279)
   ========================================================================== */
.share-action-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 18px;
}

.share-action-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}
.share-action-item:hover {
  background: var(--bg-surface-active);
  border-color: var(--accent-green);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.share-action-item:active {
  transform: translateY(0);
}

.share-action-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.share-action-item:hover .share-action-icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-green);
}

.share-action-text-wrap {
  flex: 1;
  min-width: 0;
}

.share-action-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-base);
  margin-bottom: 2px;
}

.share-action-sub {
  font-size: 11.5px;
  color: var(--text-subdued);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-action-arrow {
  color: var(--text-subdued);
  transition: transform 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}
.share-action-item:hover .share-action-arrow {
  color: var(--accent-green);
  transform: translateX(3px);
}


/* ==========================================================================
   Art Card Generator Modal Styles (Ver 280 #280)
   ========================================================================== */
.art-card-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  animation: artCardFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes artCardFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.art-card-modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
}

.art-card-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.art-card-preview-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  overflow: hidden;
}

.art-card-canvas {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 9/16;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  display: block;
}

.art-card-modal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.btn-art-card-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-base);
  padding: 10px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
}
.btn-art-card-action:hover {
  background: var(--bg-surface-active);
  transform: translateY(-1px);
}
.btn-art-card-action.primary {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #070b14;
}
.btn-art-card-action.primary:hover {
  filter: brightness(1.1);
}


/* ==========================================================================
   Twitter-style App Share Icons Row - Ver 281 #281
   ========================================================================== */
.share-app-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 16px 14px;
  gap: 12px;
}

.share-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 12px;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}
.share-app-item:hover {
  transform: translateY(-2px);
}
.share-app-item:hover .share-app-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.share-app-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-app-circle.x-app {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-app-circle.line-app {
  background: #06c755;
  color: #ffffff;
}

.share-app-circle.insta-app {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.share-app-circle.more-app {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-base);
}

.share-app-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-subdued);
  transition: color 0.15s ease;
}
.share-app-item:hover .share-app-label {
  color: var(--text-base);
}

.share-section-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0 16px;
}


/* ==========================================================================
   Home Hero Art Stand (今日の一枚ミニ展示スタンド ＆ 挨拶ヘッダー - Ver 286 #286)
   ========================================================================== */
.home-hero-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.home-hero-left-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
}

.home-hero-greeting-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}

/* 今日の一枚ミニ展示スタンド（Ver 286 #286） */
.home-hero-art-stand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  user-select: none;
  -webkit-user-select: none;
  max-width: 100%;
}
.home-hero-art-stand:hover {
  transform: translateY(-2px);
  border-color: var(--accent-green);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), 0 0 16px rgba(56, 189, 248, 0.2);
}

.home-hero-art-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  text-align: left;
}

.home-hero-art-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-green);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.home-hero-art-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-base);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-art-creator {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-subdued);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-art-frame {
  position: relative;
  width: 110px;
  height: 110px;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease;
}
.home-hero-art-stand:hover .home-hero-art-frame {
  transform: scale(1.03);
}

.home-hero-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.home-hero-art-stand:hover .home-hero-art-img {
  transform: scale(1.06);
}

.home-hero-art-zoom-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  opacity: 0.9;
  transition: opacity 0.18s ease;
}
.home-hero-art-stand:hover .home-hero-art-zoom-badge {
  opacity: 1;
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* 昼モード（美術館スタイル）の調和 */
[data-theme="gallery"] .home-hero-art-stand,
[data-theme="light"] .home-hero-art-stand {
  background: var(--card-bg, #f0fdfa);
  border-color: rgba(21, 96, 100, 0.16);
  box-shadow: 0 8px 24px rgba(21, 96, 100, 0.08);
}
[data-theme="gallery"] .home-hero-art-stand:hover,
[data-theme="light"] .home-hero-art-stand:hover {
  border-color: var(--accent-green);
  box-shadow: 0 12px 32px rgba(21, 96, 100, 0.14), 0 0 16px rgba(36, 212, 212, 0.2);
}
[data-theme="gallery"] .home-hero-art-frame,
[data-theme="light"] .home-hero-art-frame {
  border-color: rgba(21, 96, 100, 0.14);
}


/* ==========================================================================
   Share Popover & YouTube Style URL Box (YouTube準拠・Ver 286 #286)
   ========================================================================== */
.share-url-box-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px 6px 6px 14px;
  margin: 14px 16px 8px;
  transition: border-color 0.18s ease;
}
.share-url-box-wrap:focus-within {
  border-color: var(--accent-green);
}

.share-url-text-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-base);
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: text;
}

.share-copy-trigger-btn {
  background: var(--accent-green);
  border: none;
  color: #070b14;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}
.share-copy-trigger-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.share-copy-trigger-btn.copied {
  background: #22c55e !important;
  color: #ffffff !important;
}

/* YouTube準拠: 開始位置チェックボックス行 (Ver 286 #286) */
.share-timestamp-row {
  margin: 4px 16px 10px;
  display: flex;
  align-items: center;
}
.share-timestamp-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-subdued);
  transition: color 0.15s ease;
}
.share-timestamp-label:hover {
  color: var(--text-base);
}
.share-timestamp-checkbox {
  accent-color: var(--accent-green);
  width: 15px;
  height: 15px;
  cursor: pointer;
  border-radius: 4px;
}
.share-timestamp-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#share-timestamp-val {
  color: var(--accent-green);
  font-weight: 700;
}

/* ==========================================================================
   ホーム イラスト探索 2列縦アート選択シートモーダル (Ver 298 #298)
   ========================================================================== */
.home-art-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.home-art-picker-sheet {
  background: var(--bg-surface, #121826);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: 24px;
  width: 860px;
  max-width: 95vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  transform: translateZ(0);
}

.home-art-picker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  flex-shrink: 0;
  background: transparent;
}

.home-art-picker-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-green, #38bdf8);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
}

.home-art-picker-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-base, #ffffff);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.home-art-picker-desc {
  font-size: 13px;
  color: var(--text-subdued, rgba(255, 255, 255, 0.65));
  margin: 0;
}

.home-art-picker-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-hover, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
  color: var(--text-base, #ffffff);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.home-art-picker-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}

.home-art-picker-grid-wrap {
  padding: 20px 24px 28px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.home-art-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.home-art-picker-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #0d1117;
  border: 2px solid transparent;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  transform: translateZ(0);
}
.home-art-picker-tile:hover {
  transform: scale(1.02);
  border-color: var(--accent-green, #38bdf8);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.home-art-picker-tile.selected {
  border-color: var(--accent-green, #38bdf8);
}

.home-art-picker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-art-picker-cur-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-green, #38bdf8);
  color: #060a14;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.home-art-picker-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.84) 100%);
  pointer-events: none;
  z-index: 2;
}

.home-art-picker-item-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.home-art-picker-item-artist {
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* 昼モード連動（美術館スタイル） */
[data-theme="gallery"] .home-art-picker-overlay,
[data-theme="light"] .home-art-picker-overlay {
  background: rgba(21, 96, 100, 0.28);
}

[data-theme="gallery"] .home-art-picker-sheet,
[data-theme="light"] .home-art-picker-sheet {
  background: #ffffff !important;
  border-color: rgba(21, 96, 100, 0.16) !important;
  box-shadow: 0 24px 64px rgba(21, 96, 100, 0.18) !important;
}

[data-theme="gallery"] .home-art-picker-title,
[data-theme="light"] .home-art-picker-title {
  color: #156064 !important;
}

[data-theme="gallery"] .home-art-picker-desc,
[data-theme="light"] .home-art-picker-desc {
  color: #37718e !important;
}

[data-theme="gallery"] .home-art-picker-close-btn,
[data-theme="light"] .home-art-picker-close-btn {
  background: rgba(21, 96, 100, 0.08) !important;
  border-color: rgba(21, 96, 100, 0.16) !important;
  color: #156064 !important;
}
[data-theme="gallery"] .home-art-picker-close-btn:hover,
[data-theme="light"] .home-art-picker-close-btn:hover {
  background: rgba(21, 96, 100, 0.16) !important;
}

/* ==========================================================================
   無料再生プレイヤー純化規格（Tip・広告・金銭UIの一時完全非表示・Ver 305 #305）
   ========================================================================== */
#btn-tip-player,
#nav-tips,
#art-voyage-popup-tip-btn,
.stream-illust-tip-btn,
.art-hover-btn[onclick*="Tip"],
.art-hover-btn[onclick*="tip"],
button[onclick*="openTipModalCurrent"],
button[onclick*="openTipModalVoyage"],
button[onclick*="openTipModalFromFullscreen"],
button[onclick*="openLiveAdApplyModal"],
#live-ad-apply-modal,
.live-ad-badge,
.pr-badge-pill,
span[class*="ad-badge"],
#settings-tip-section,
#settings-money-section,
#creator-monetize-field {
  display: none !important;
}

/* ==========================================================================
   未ログイン（ゲスト状態）＆ Google連携ログイン規格（Ver 308 #308）
   ========================================================================== */

/* ヘッダーのログインボタン */
.btn-header-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9999px;
  padding: 0 16px;
  height: 36px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.btn-header-login:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

/* 昼モード（美術館スタイル）のログインボタン */
[data-theme="gallery"] .btn-header-login,
[data-theme="light"] .btn-header-login {
  background: #ffffff !important;
  border: 1.5px solid rgba(21, 96, 100, 0.25) !important;
  color: #156064 !important;
  box-shadow: 0 2px 8px rgba(21, 96, 100, 0.06) !important;
}

[data-theme="gallery"] .btn-header-login:hover,
[data-theme="light"] .btn-header-login:hover {
  border-color: #24d4d4 !important;
  color: #0d9488 !important;
  box-shadow: 0 4px 16px rgba(36, 212, 212, 0.3) !important;
}

/* ログインモーダル */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-card {
  width: 100%;
  max-width: 440px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: authModalPop 0.22s ease-out;
}

@keyframes authModalPop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

[data-theme="gallery"] .auth-modal-card,
[data-theme="light"] .auth-modal-card {
  background: #ffffff !important;
  border: 1px solid rgba(21, 96, 100, 0.15) !important;
  box-shadow: 0 24px 60px rgba(21, 96, 100, 0.18) !important;
}

.auth-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.auth-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  padding: 2px 9px;
  width: fit-content;
}

[data-theme="gallery"] .auth-modal-badge,
[data-theme="light"] .auth-modal-badge {
  color: #156064 !important;
  background: rgba(21, 96, 100, 0.08) !important;
  border-color: rgba(21, 96, 100, 0.2) !important;
}

.auth-modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

[data-theme="gallery"] .auth-modal-title,
[data-theme="light"] .auth-modal-title {
  color: #156064 !important;
}

.auth-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-modal-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

[data-theme="gallery"] .auth-modal-desc,
[data-theme="light"] .auth-modal-desc {
  color: #37718e !important;
}

.btn-auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-auth-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border-color: rgba(0, 0, 0, 0.15);
}

.auth-modal-guest-row {
  display: flex;
  justify-content: center;
}

.btn-auth-guest {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.15s ease;
}

.btn-auth-guest:hover {
  color: #38bdf8;
  text-decoration: underline;
}

[data-theme="gallery"] .btn-auth-guest:hover,
[data-theme="light"] .btn-auth-guest:hover {
  color: #156064 !important;
}

/* ==========================================================================
   Nemgi Ver 316 (#316) - Spotify-Class Player, Day Home Icon & Header Login Button
   ========================================================================== */

/* 1. 右上の未ログイン「ログイン」ボタン：作品を投稿するボタンと全く同じ縦36px・パディング・調和規格 */
.btn-header-login,
.btn-pill-header.btn-header-login,
button#header-btn-login {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.18s ease;
}

/* ログイン時はヘッダーのログインボタンを完全消去（強制非表示） */
body.is-logged-in .btn-header-login,
body.is-logged-in button#header-btn-login,
.is-logged-in #header-btn-login {
  display: none !important;
}

/* 未ログイン時はアバターアイコンを完全消去 */
body:not(.is-logged-in) #header-user-avatar-btn,
body:not(.is-logged-in) .user-avatar-btn {
  display: none !important;
}

/* 夜モード：澄んだサイバーシアン枠 */
.btn-header-login,
button#header-btn-login {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.5) !important;
  color: #ffffff !important;
}

.btn-header-login:hover,
button#header-btn-login:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  transform: translateY(-1px) !important;
}

/* 昼モード（美術館スタイル）：純白背景＋深緑ティール枠＋澄んだ知性 */
[data-theme="gallery"] .btn-header-login,
[data-theme="light"] .btn-header-login,
[data-theme="gallery"] button#header-btn-login,
[data-theme="light"] button#header-btn-login {
  background: #ffffff !important;
  border: 1.5px solid rgba(21, 96, 100, 0.28) !important;
  color: #156064 !important;
  box-shadow: 0 2px 8px rgba(21, 96, 100, 0.06) !important;
}

[data-theme="gallery"] .btn-header-login:hover,
[data-theme="light"] .btn-header-login:hover,
[data-theme="gallery"] button#header-btn-login:hover,
[data-theme="light"] button#header-btn-login:hover {
  background: #f0fdfa !important;
  border-color: #24d4d4 !important;
  color: #0d9488 !important;
  transform: translateY(-1px) !important;
}

/* 2. 昼モードのホームボタン：黒丸完全根絶・澄明ミントヴェール調和 */
[data-theme="gallery"] .btn-header-home,
[data-theme="light"] .btn-header-home,
[data-theme="gallery"] .btn-header-home.active,
[data-theme="light"] .btn-header-home.active,
[data-theme="gallery"] button#btn-header-home,
[data-theme="light"] button#btn-header-home {
  background-color: rgba(36, 212, 212, 0.16) !important;
  border: none !important;
  box-shadow: none !important;
  color: #156064 !important;
}

[data-theme="gallery"] .btn-header-home:hover,
[data-theme="light"] .btn-header-home:hover,
[data-theme="gallery"] button#btn-header-home:hover,
[data-theme="light"] button#btn-header-home:hover {
  background-color: rgba(36, 212, 212, 0.28) !important;
  color: #0d9488 !important;
  transform: translateY(-1px) !important;
}

/* 3. Spotify規格 再生ボタン：完全フラット・影ゼロ正円 */
.btn-play-main,
#btn-play-main {
  box-shadow: none !important;
  border: none !important;
}

.btn-play-main:hover,
#btn-play-main:hover {
  box-shadow: none !important;
  transform: scale(1.08) !important;
}

[data-theme="gallery"] .btn-play-main,
[data-theme="light"] .btn-play-main,
[data-theme="gallery"] #btn-play-main,
[data-theme="light"] #btn-play-main {
  background-color: #156064 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
}

[data-theme="gallery"] .btn-play-main:hover,
[data-theme="light"] .btn-play-main:hover,
[data-theme="gallery"] #btn-play-main:hover,
[data-theme="light"] #btn-play-main:hover {
  background-color: #0e4447 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: scale(1.08) !important;
}

/* 4. Spotify規格 ワイドシークバー：中央エリアいっぱいにゆったりワイド展開 */
.player-controls {
  max-width: 722px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 8px !important;
}

.playback-bar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.time-label {
  font-size: 11px !important;
  min-width: 36px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
  opacity: 0.7 !important;
}

.progress-track {
  flex: 1 !important;
  height: 4px !important;
  cursor: pointer !important;
}





