/* style.css */
body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #eee;
    display: flex; /* 横並びにする魔法 */
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* 【左】サイドバー */
#side-menu {
    width: 220px;
    min-width: 220px;
    background: #121212;
    border-right: 1px solid #282828;
    display: flex;
    flex-direction: column;
}

/* 【中】メインプレイヤーエリア */
#content-area {
    flex: 1; /* 中央が残りの幅をすべて奪う */
    display: flex;
    flex-direction: column;
    background: #000;
    border-right: 1px solid #282828;
    padding: 20px;
    box-sizing: border-box;
}

#player-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

/* 【右】再生リスト */
#playlist-sidebar {
    width: 300px;
    min-width: 300px;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#playlist-header {
    padding: 15px;
    font-size: 11px;
    font-weight: bold;
    color: #ff004c;
    border-bottom: 1px solid #282828;
    letter-spacing: 2px;
}

#playlist-container {
    flex: 1;
    overflow-y: auto;
}

/* メニューの見た目 */
.menu-item {
    padding: 12px 20px; margin: 4px 12px; border-radius: 8px;
    cursor: pointer; color: #888; font-size: 14px; transition: 0.2s;
}
.menu-item:hover { background: #222; color: #fff; }
.menu-item.active { background: #2a2a2a; color: #fff; border-left: 4px solid #ff004c; }

#console { margin-top: 15px; font-size: 11px; color: #444; font-family: monospace; }