:root {
    --bg-black: #121212;
    --bg-dark: #181818;
    --bg-light: #282828;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --brand-green: #1db954;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Layout */
.container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background-color: #000;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo i { color: var(--brand-green); font-size: 32px; }

.nav-item {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    padding: 10px 0;
    cursor: pointer;
}

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

.playlist-section {
    margin-top: 20px;
    border-top: 1px solid var(--bg-light);
    padding-top: 20px;
    flex: 1;
    overflow-y: auto;
}

.create-playlist-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
    transition: var(--transition);
}

.create-playlist-btn:hover { color: var(--text-white); }
.create-playlist-btn i { background: var(--text-gray); color: #000; padding: 4px; border-radius: 2px; }

.playlist-list {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px 0;
}
.playlist-item:hover { color: var(--text-white); }
.playlist-menu-btn {
    opacity: 0;
    padding: 0 5px;
    transition: opacity 0.2s;
}
.playlist-item:hover .playlist-menu-btn { opacity: 1; }

/* Main Content */
.main-content {
    flex: 1;
    background: linear-gradient(180deg, #222 0%, var(--bg-black) 100%);
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    height: 40px;
}

.nav-arrows i {
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}

.search-container { position: relative; width: 300px; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #121212; }
#searchInput { width: 100%; padding: 10px 10px 10px 40px; border-radius: 20px; border: none; outline: none; font-weight: bold; }

.user-pill {
    background: rgba(0,0,0,0.7);
    padding: 4px 15px 4px 4px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
    min-height: 36px;
}
.user-pill img { width: 28px; height: 28px; border-radius: 50%; }

h2 { margin-bottom: 20px; font-size: 24px; }

/* 歌詞表示エリア */
.lyrics-wrapper {
    margin-bottom: 30px;
}
.lyrics-container {
    height: 150px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #333;
    scrollbar-width: none; /* Firefox */
}
.lyrics-container::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

.lyric-line {
    font-size: 15px;
    color: var(--text-gray);
    margin: 10px 0;
    transition: all 0.3s ease;
    cursor: default;
    font-weight: bold;
}
.lyric-line.active {
    color: var(--brand-green);
    font-size: 18px;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(29, 185, 84, 0.4);
}
.placeholder-text { color: var(--text-gray); margin-top: 40px; }

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

.card {
    background-color: var(--bg-dark);
    padding: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    position: relative;
    group; /* ホバー用 */
}
.card:hover { background-color: var(--bg-light); }

.card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.play-btn-overlay {
    position: absolute;
    right: 20px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-green);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 8px rgba(0,0,0,0.3);
}
.card:hover .play-btn-overlay { opacity: 1; transform: translateY(0); }

.card-title {
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-desc {
    color: var(--text-gray);
    font-size: 14px;
}

/* カードのメニューボタン (...) */
.card-menu-btn {
    position: absolute;
    top: 10px; right: 10px;
    color: white;
    background: rgba(0,0,0,0.6);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    z-index: 10;
}
.card:hover .card-menu-btn { opacity: 1; }
.card-menu-btn:hover { background: rgba(0,0,0,0.9); transform: scale(1.1); }

/* Player Bar */
.player-bar {
    height: 90px;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--bg-light);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.now-playing {
    display: flex;
    align-items: center;
    width: 30%;
    gap: 14px;
}
.now-playing img { width: 56px; height: 56px; border-radius: 4px; }
.track-info h4 { font-size: 14px; margin-bottom: 4px; }
.track-info p { font-size: 11px; color: var(--text-gray); }

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

/* コントロールボタンの基本 */
.control-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    position: relative; /* 点を表示するために必要 */
}
.control-btn:hover { color: var(--text-white); }

/* ▼▼▼ アクティブなボタン（緑色＋下の点） ▼▼▼ */
.control-btn.active {
    color: var(--brand-green) !important;
    text-shadow: 0 0 10px rgba(29, 185, 84, 0.4);
    opacity: 1 !important;
}
.control-btn.active::after {
    content: '';
    position: absolute;
    bottom: -6px; /* アイコンの下 */
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--brand-green);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--brand-green);
}
/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */


.control-btn.play-pause {
    background-color: var(--text-white);
    color: black;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.control-btn.play-pause:hover { transform: scale(1.1); }

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 11px;
}
.progress-bar {
    flex: 1;
    height: 4px;
    background-color: #535353;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}
.progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--text-white);
    border-radius: 2px;
}
.progress-bar:hover .progress-fill { background-color: var(--brand-green); }

.volume-controls {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

/* なめらかな音量スライダー */
.volume-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
}
.volume-slider:hover::-webkit-slider-thumb {
    background: var(--brand-green);
    transform: scale(1.2);
}

/* ハートアイコン（アクティブ） */
.fa-heart.active {
    color: var(--brand-green) !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(29, 185, 84, 0.4);
}

/* モーダル（プレイリスト作成画面） */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.modal-content h3 { margin-bottom: 15px; }
.modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: none;
    background: #3e3e3e;
    color: white;
}
.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.modal-actions button {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
}
#savePlaylistBtn { background: var(--brand-green); color: black; }
#cancelPlaylistBtn { background: transparent; color: white; }
#inputOkBtn, #confirmOkBtn { background: var(--brand-green); color: black; }
#inputCancelBtn, #confirmCancelBtn, #addToPlaylistCancelBtn { background: transparent; color: white; border: 1px solid #555; }

/* プレイリスト選択リスト */
.select-playlist-list { list-style: none; max-height: 200px; overflow-y: auto; text-align: left; margin-bottom: 20px; }
.select-playlist-list li { padding: 10px; border-bottom: 1px solid #333; cursor: pointer; }
.select-playlist-list li:hover { background: #333; }

/* ▼▼▼ トースト通知のデザイン改善 ▼▼▼ */
.toast {
    position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
    background: #333; /* ダークグレー */
    color: white; 
    padding: 12px 24px; border-radius: 50px;
    font-weight: bold; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 3000;
    border: 1px solid var(--brand-green); /* 緑の枠線 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; }
/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

@media (max-width: 768px) {
    .sidebar { display: none; }
    .player-bar { padding: 10px; }
}
:root {
    --bg-black: #121212;
    --bg-dark: #181818;
    --bg-light: #282828;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --brand-green: #1db954;
    --transition: all 0.3s ease;
    --player-height: 90px;
    --mobile-nav-height: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Arial, sans-serif; }
body { background-color: var(--bg-black); color: var(--text-white); height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

/* Layout */
.container { display: flex; flex: 1; overflow: hidden; }
.sidebar { width: 240px; background-color: #000; padding: 24px; display: flex; flex-direction: column; gap: 20px; flex-shrink: 0; }
.main-content { flex: 1; background: linear-gradient(180deg, #222 0%, var(--bg-black) 100%); padding: 20px; overflow-y: auto; position: relative; padding-bottom: 120px; /* プレイヤーの裏に隠れないように */ }

/* Sidebar Elements */
.logo { font-size: 24px; font-weight: bold; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.logo i { color: var(--brand-green); font-size: 32px; }
.nav-item { color: var(--text-gray); font-weight: bold; display: flex; align-items: center; gap: 15px; padding: 10px 0; cursor: pointer; transition: var(--transition); }
.nav-item:hover, .nav-item.active { color: var(--text-white); }

.playlist-section { margin-top: 20px; border-top: 1px solid var(--bg-light); padding-top: 20px; flex: 1; overflow-y: auto; }
.create-playlist-btn { background: transparent; border: none; color: var(--text-gray); cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 14px; transition: var(--transition); }
.create-playlist-btn:hover { color: var(--text-white); }
.playlist-list { list-style: none; margin-top: 15px; display: flex; flex-direction: column; gap: 10px; }
.playlist-item { display: flex; justify-content: space-between; align-items: center; color: var(--text-gray); font-size: 14px; cursor: pointer; padding: 5px 0; }
.playlist-item:hover { color: var(--text-white); }
.playlist-menu-btn { opacity: 0; padding: 0 5px; transition: opacity 0.2s; }
.playlist-item:hover .playlist-menu-btn { opacity: 1; }

/* Header & Search */
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; height: 40px; }
.nav-arrows i { background: rgba(0,0,0,0.7); padding: 10px; border-radius: 50%; margin-right: 10px; cursor: pointer; }
.search-container { position: relative; width: 300px; max-width: 100%; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #121212; }
#searchInput { width: 100%; padding: 10px 10px 10px 40px; border-radius: 20px; border: none; outline: none; font-weight: bold; }
.user-pill { background: rgba(0,0,0,0.7); padding: 4px 15px 4px 4px; border-radius: 20px; display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 14px; min-height: 36px; white-space: nowrap; }
.user-pill img { width: 28px; height: 28px; border-radius: 50%; }

/* Content Elements */
h2 { margin-bottom: 20px; font-size: 24px; }
.lyrics-wrapper { margin-bottom: 30px; }
.lyrics-container { height: 150px; overflow-y: auto; background-color: rgba(0, 0, 0, 0.3); border-radius: 8px; padding: 20px; text-align: center; border: 1px solid #333; scrollbar-width: none; }
.lyrics-container::-webkit-scrollbar { display: none; }
.lyric-line { font-size: 15px; color: var(--text-gray); margin: 10px 0; transition: all 0.3s ease; font-weight: bold; }
.lyric-line.active { color: var(--brand-green); font-size: 18px; transform: scale(1.05); text-shadow: 0 0 10px rgba(29, 185, 84, 0.4); }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.card { background-color: var(--bg-dark); padding: 16px; border-radius: 8px; transition: background-color 0.3s ease; cursor: pointer; position: relative; group; }
.card:hover { background-color: var(--bg-light); }
.card-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.play-btn-overlay { position: absolute; right: 20px; bottom: 80px; width: 48px; height: 48px; border-radius: 50%; background-color: var(--brand-green); color: black; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; box-shadow: 0 8px 8px rgba(0,0,0,0.3); }
.card:hover .play-btn-overlay { opacity: 1; transform: translateY(0); }
.card-title { font-weight: bold; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-desc { color: var(--text-gray); font-size: 14px; }
.card-menu-btn { position: absolute; top: 10px; right: 10px; color: white; background: rgba(0,0,0,0.6); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.2s; z-index: 10; }
.card:hover .card-menu-btn { opacity: 1; }
.card-menu-btn:hover { background: rgba(0,0,0,0.9); transform: scale(1.1); }

/* Player Bar */
.player-bar { 
    height: var(--player-height); 
    background-color: var(--bg-dark); 
    border-top: 1px solid var(--bg-light); 
    padding: 0 16px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: fixed; /* 固定に変更 */
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000; 
}
.now-playing { display: flex; align-items: center; width: 30%; gap: 14px; }
.now-playing img { width: 56px; height: 56px; border-radius: 4px; }
.track-info h4 { font-size: 14px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.track-info p { font-size: 11px; color: var(--text-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.player-controls { display: flex; flex-direction: column; align-items: center; width: 40%; }
.control-buttons { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.control-btn { background: none; border: none; color: var(--text-gray); font-size: 16px; cursor: pointer; transition: 0.2s; position: relative; }
.control-btn:hover { color: var(--text-white); }
.control-btn.active { color: var(--brand-green) !important; text-shadow: 0 0 10px rgba(29, 185, 84, 0.4); opacity: 1 !important; }
.control-btn.active::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background-color: var(--brand-green); border-radius: 50%; box-shadow: 0 0 4px var(--brand-green); }
.control-btn.play-pause { background-color: var(--text-white); color: black; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.progress-container { width: 100%; display: flex; align-items: center; gap: 8px; color: var(--text-gray); font-size: 11px; }
.progress-bar { flex: 1; height: 4px; background-color: #535353; border-radius: 2px; cursor: pointer; position: relative; }
.progress-fill { width: 0%; height: 100%; background-color: var(--text-white); border-radius: 2px; }
.progress-bar:hover .progress-fill { background-color: var(--brand-green); }
.volume-controls { width: 30%; display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--text-gray); }
.volume-slider { -webkit-appearance: none; width: 100px; height: 4px; background: #535353; border-radius: 2px; outline: none; cursor: pointer; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; background: #fff; border-radius: 50%; cursor: pointer; transition: transform 0.1s; }
.volume-slider:hover::-webkit-slider-thumb { background: var(--brand-green); transform: scale(1.2); }
.fa-heart.active { color: var(--brand-green) !important; font-weight: 900 !important; text-shadow: 0 0 10px rgba(29, 185, 84, 0.4); }

/* モーダル */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; justify-content: center; align-items: center; }
.modal-content { background: var(--bg-light); padding: 24px; border-radius: 8px; width: 90%; max-width: 320px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.modal-content h3 { margin-bottom: 15px; }
.modal-content input { width: 100%; padding: 10px; margin-bottom: 20px; border-radius: 4px; border: none; background: #3e3e3e; color: white; }
.modal-actions { display: flex; justify-content: space-between; gap: 10px; }
.modal-actions button { padding: 8px 20px; border: none; border-radius: 20px; cursor: pointer; font-weight: bold; flex: 1; }
#inputOkBtn, #confirmOkBtn { background: var(--brand-green); color: black; }
#inputCancelBtn, #confirmCancelBtn, #addToPlaylistCancelBtn { background: transparent; color: white; border: 1px solid #555; }
.select-playlist-list { list-style: none; max-height: 200px; overflow-y: auto; text-align: left; margin-bottom: 20px; }
.select-playlist-list li { padding: 10px; border-bottom: 1px solid #333; cursor: pointer; }
.select-playlist-list li:hover { background: #333; }

/* トースト通知 */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 12px 24px; border-radius: 50px; font-weight: bold; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 3000; border: 1px solid var(--brand-green); box-shadow: 0 4px 15px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.toast.show { opacity: 1; }

/* ★★★ モバイル用スタイル (レスポンシブ対応) ★★★ */
.mobile-nav { display: none; } /* デフォルトでは非表示 */

@media (max-width: 768px) {
    /* サイドバーを非表示 */
    .sidebar { display: none; }
    
    /* ヘッダー調整 */
    .header { padding-top: 10px; margin-bottom: 20px; }
    .nav-arrows { display: none; } /* スマホでは戻るボタン等は非表示 */
    .user-pill span { display: none; } /* ユーザー名非表示、アイコンのみ */
    .user-pill { padding: 4px; min-height: auto; }
    .search-container { width: 100%; margin-right: 10px; }

    /* メインコンテンツ */
    .main-content { padding: 15px; padding-bottom: 160px; /* プレイヤー+ナビの分空ける */ }
    .card-grid { 
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* カードを小さくして2列入るように */
        gap: 15px; 
    }
    
    /* プレイヤーバー (スマホ用) */
    .player-bar {
        bottom: var(--mobile-nav-height); /* ナビの上に配置 */
        height: 60px; /* 少し細く */
        padding: 0 10px;
        background-color: #222; /* 少し明るくして区別 */
        border-bottom: 1px solid #333;
    }
    .now-playing { width: 60%; }
    .now-playing img { width: 40px; height: 40px; }
    .track-info h4 { font-size: 12px; }
    .track-info p { font-size: 10px; }
    
    .player-controls { 
        width: 40%; 
        flex-direction: row; /* 横並びに戻す */
        justify-content: flex-end;
    }
    .control-buttons { margin-bottom: 0; gap: 15px; }
    .mobile-hide { display: none !important; } /* 音量などを消す */
    .progress-container { display: none; } /* バーを消す (簡易表示) */
    
    /* ボトムナビゲーション (スマホ用) */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: var(--mobile-nav-height);
        background-color: #121212;
        border-top: 1px solid #333;
        z-index: 1001;
        justify-content: space-around;
        align-items: center;
    }
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-gray);
        font-size: 10px;
        cursor: pointer;
        transition: color 0.2s;
    }
    .mobile-nav-item i { font-size: 20px; margin-bottom: 4px; }
    .mobile-nav-item.active { color: var(--text-white); }
    .mobile-nav-item.active i { color: var(--text-white); }
    
    /* 歌詞エリア調整 */
    .lyrics-container { height: 100px; }
}