/* 共通フォント & 基本設定 */
body {
    font-family: 'Inter', sans-serif;
}

[x-cloak] {
    display: none !important;
}

/* HTMX トランジション */
.htmx-swapping {
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.htmx-settling {
    opacity: 0;
}

#now-playing-info,
#mobile-now-playing {
    transition: opacity 300ms ease-in;
}

/* PC（lg以上）でのセットリスト表示制御 */
@media (min-width: 1024px) {
    .lg-show-playlist {
        display: flex !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}

/* SortableJS ドラッグ＆ドロップ スタイル（曲リスト・プレイリスト・お気に入り） */
.sortable-ghost {
    opacity: 0.25 !important;
    background-color: rgba(35, 36, 133, 0.08) !important;
    border: 2px dashed #232485 !important;
}

.sortable-chosen {
    background-color: rgba(35, 36, 133, 0.04);
}

.sortable-drag {
    background-color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    opacity: 0.98 !important;
    cursor: grabbing !important;
}

/* トグルの囲みスタイル（赤色を排除しニュートラル/ブランドカラーに） */
.toggle {
    border-color: #cbd5e1 !important;
    background-color: #cbd5e1 !important;
    color: #ffffff !important;
}
.toggle:checked {
    border-color: #232485 !important;
    background-color: #232485 !important;
}
