/* Groove — a playlist-first music room for OneMusic. */
:root {
	--groove-bg: #121212;
	--groove-black: #050505;
	--groove-surface: #181818;
	--groove-card: #202020;
	--groove-line: rgba(255,255,255,.08);
	--groove-text: #f7f7f7;
	--groove-muted: #b3b3b3;
	--groove-green: #1ed760;
	--groove-green-soft: rgba(30,215,96,.13);
	--main-color: var(--groove-green);
	--second-color: #45e77b;
}

html, body, .music_app {background: var(--groove-bg); color: var(--groove-text);}
body {color-scheme: dark; font-family: Muli, "Avenir Next", sans-serif;}
a {color: var(--groove-text);}
a:hover, a:focus {color: var(--groove-green);}
::selection {color: #07130a; background: var(--groove-green);}

.ma_sidebar {width: 242px; max-width: 242px; background: var(--groove-black); border-right: 1px solid var(--groove-line); box-shadow: none;}
.ma_page_content {margin-left: 242px;}
.ma_pc_inner {padding-bottom: 108px;}
.sidebar .logo_container {height: 70px; justify-content: flex-start; margin: 0; padding: 0 23px;}
.sidebar .logo_container img {max-width: 142px;}
.sidebar .sidebar_innr .sections {padding: 0 11px 20px;}
.sidebar .sidebar_innr .sections:first-child {padding-top: 12px;}
.sidebar .sidebar_innr .sections h3 {padding: 8px 13px 9px; color: #8d8d8d; font-size: 10px; font-weight: 700; letter-spacing: 1.1px;}
.sidebar .sidebar_innr .sections li {height: 42px; padding: 0;}
.sidebar .sidebar_innr .sections li a {height: 42px; padding: 0 13px; border-radius: 6px; color: var(--groove-muted); font-size: 14px; font-weight: 700;}
.sidebar .sidebar_innr .sections li a svg {width: 21px; height: 21px; margin-right: 13px; color: #b3b3b3;}
.sidebar .sidebar_innr .sections li a:hover {background: rgba(255,255,255,.07); color: #fff;}
.sidebar .sidebar_innr .sections li.active a {color: var(--groove-green); background: var(--groove-green-soft); font-weight: 700;}
.sidebar .sidebar_innr .sections li.active a svg {color: var(--groove-green);}

header {height: 70px; margin-bottom: 20px; margin-left: 242px; padding: 0 28px; background: var(--groove-bg); border: 0; box-shadow: none;}
header .head_search .head_search_cont input {width: min(500px, 42vw); height: 42px; padding-left: 48px; color: var(--groove-text); background: #242424; border: 1px solid transparent; border-radius: 22px;}
header .head_search .head_search_cont input:focus {background: #2b2b2b; border-color: rgba(30,215,96,.5); box-shadow: 0 0 0 3px rgba(30,215,96,.08);}
header .head_search .head_search_cont > svg {color: #d0d0d0;}
header .head_search .search_dropdown {background: #242424; border: 1px solid var(--groove-line); border-radius: 0 0 12px 12px;}
header .head_user a, header .head_user button {color: var(--groove-text);}
header .head_user .btn-primary {padding: 10px 21px; border-radius: 22px; font-weight: 700;}

.page_padding {width: 100%; padding-right: clamp(18px, 2.5vw, 38px); padding-left: clamp(18px, 2.5vw, 38px);}
.ma_discover_page {display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 320px); grid-template-areas: "stories stories" "feature charts" "recent charts" "releases charts" "best best"; align-items: start; column-gap: 24px; row-gap: 8px;}
.ma_discover_page > .user-status-home {grid-area: stories; min-width: 0;}
.ma_discover_page > .groove_featured {grid-area: feature; min-width: 0; width: 100%; margin: 0 0 14px; padding: 0 !important; overflow: hidden;}
.ma_discover_page > .groove_recently {grid-area: recent; min-width: 0; margin: 2px 0 12px;}
.ma_discover_page > .groove_releases {grid-area: releases; min-width: 0; margin: 2px 0 18px;}
.ma_discover_page > .groove_charts {grid-area: charts; display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; align-content: start; min-width: 0; margin: 0;}
.ma_discover_page > .groove_charts > .col-md-6 {float: none; width: 100%; max-width: none; flex: none; padding: 0;}
.ma_discover_page > .short_list_card {grid-area: best; min-width: 0;}

.home_widget_title {display: flex; align-items: center; margin: 0 0 14px; padding: 0 0 10px; color: var(--groove-text); border-bottom: 1px solid var(--groove-line); font-family: Muli, "Avenir Next", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.4px;}
.home_widget_title > span, .sidebar_widget .s_widget_head > span, .store_filters .store_widget .s_widget_head > span, .single_song .ss_related .s_widget_head > span {display: none;}
.home_widget_title .slide_btns {margin-left: auto;}
.home_widget_title .slide_btns a {color: var(--groove-muted); font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: none;}
.home_widget_title .slide_btns a:hover {color: var(--groove-green);}
.home_widget_title .slide_btns button, .home_widget_title .slide_btns .swiper-button-next, .home_widget_title .slide_btns .swiper-button-prev {width: 28px; height: 28px; background-color: var(--groove-card); border: 1px solid var(--groove-line); filter: invert(1);}
.short_list_card {padding: 16px 15px; background: var(--groove-surface); border: 0; border-radius: 8px;}
.short_list_card .home_widget_title {margin-bottom: 10px; border: 0; font-size: 14px; letter-spacing: .2px;}
.short_list_cont .s_lsongs_child {min-height: 56px; padding: 7px 4px; border-color: var(--groove-line);}
.short_list_cont .s_lsongs_child:hover {background: rgba(255,255,255,.06);}
.short_list_cont .s_lsongs_child .art_song, .short_list_cont .s_lsongs_child .art_song img {width: 42px; height: 42px; border-radius: 5px;}
.short_list_cont .s_lsongs_child .second a {color: var(--groove-text); font-size: 13px; font-weight: 700;}
.short_list_cont .s_lsongs_child .third {color: var(--groove-muted); font-size: 11px;}

.groove_featured .swiper-wrapper {align-items: stretch;}
.groove_featured .item .cardd {height: clamp(230px, 23vw, 310px); overflow: hidden; border-radius: 8px; background: var(--groove-card);}
.groove_featured .item .cardd > a {height: 100%; box-shadow: none;}
.groove_featured .item .cardd > a img {width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: .82; transition: transform .5s, opacity .35s;}
.groove_featured .item .cardd:hover > a img {opacity: .98; transform: scale(1.035);}
.groove_featured .item .cardd .shadoww {display: block; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.1) 76%), linear-gradient(0deg, rgba(0,0,0,.25), transparent 58%);}
.groove_featured .item:not(.swiper-slide-active) .cardd .shadoww {opacity: .48;}
.groove_featured .item .bg_text {top: auto; right: auto; bottom: 68px; left: 24px; z-index: 3; width: 78%; padding: 0; background: none;}
.groove_featured .item:not(.swiper-slide-active) .bg_text {display: none;}
.groove_featured .item .bg_text h2 {overflow: hidden; color: #fff; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.06; letter-spacing: -.6px; text-shadow: 0 2px 16px rgba(0,0,0,.5); white-space: normal;}
.groove_featured .item .play_btn {position: absolute; z-index: 4; right: auto; bottom: 18px; left: 22px; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border-radius: 50%; background: var(--groove-green); color: #07130a; opacity: 0; transition: opacity .2s, transform .2s; transform: translateY(4px);}
.groove_featured .item .play_btn svg {width: 22px; height: 22px; color: #07130a;}
.groove_featured .item:hover .play_btn, .groove_featured .item:focus-within .play_btn {opacity: 1; transform: translateY(0);}
.groove_featured .swiper-button-next, .groove_featured .swiper-button-prev {width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(7px);}
.groove_featured .swiper-button-next:after, .groove_featured .swiper-button-prev:after {font-size: 13px; font-weight: 800;}

.sq_music_tracks .track_list .track {padding: 10px; background: var(--groove-surface); border-radius: 8px; transition: background .2s;}
.sq_music_tracks .track_list .track:hover {background: #282828;}
.sq_music_tracks .track .cover_art a {overflow: hidden; border-radius: 5px; box-shadow: none;}
.sq_music_tracks .track .cover_art a img {border-radius: 5px; transition: transform .35s;}
.sq_music_tracks .track:hover .cover_art a img {transform: scale(1.04);}
.sq_music_tracks .track .cover_art .play_btn {border-radius: 5px; background: rgba(0,0,0,.62); color: var(--groove-green);}
.sq_music_tracks .track .track_info {padding: 10px 0 2px;}
.sq_music_tracks .track .track_info .title {color: var(--groove-text); font-size: 13px; font-weight: 700;}
.sq_music_tracks .track .track_info .artist {color: var(--groove-muted); font-size: 11px;}
.groove_releases .swiper-pagination-bullet-active {background: var(--groove-green);}
.user-status-home ul.status-list li a {color: var(--groove-text);}

.ma_player {height: 76px; background: #181818; border-top: 1px solid #282828; box-shadow: 0 -4px 18px rgba(0,0,0,.12);}
.ma_player.closed {bottom: -88px;}
.ma_player .player {height: 100%; background: transparent; box-shadow: none;}
.ma_player .song_details .song_details_inner {height: 100%;}
.ma_player .song_details .song_title h3 {color: var(--groove-text); font-weight: 700;}
.ma_player .song_details .song_title p {color: var(--groove-muted);}
.ma_player .song_progress .song_controls > div {color: #d5d5d5;}
.ma_player .song_progress .song_controls .amplitude-play-pause {background-color: var(--groove-green);}
.ma_player .song_progress .song_time .current_time, .ma_player .song_progress .song_time .duration_time {color: var(--groove-muted);}
.ma_player .song_progress .song_time .progress_container input[type=range]::-webkit-slider-thumb {background: var(--groove-green); border-color: var(--groove-green);}
.ma_player .song_progress .song_time .progress_container .amplitude-song-played-progress[value]::-webkit-progress-value {background-color: var(--groove-green);}
.ma_player .song_progress .song_time .progress_container .amplitude-song-played-progress::-moz-progress-bar {background-color: var(--groove-green);}
.ma_player_playlist {bottom: 76px; background: var(--groove-surface); border: 1px solid var(--groove-line); border-radius: 8px 0 0;}
.ma_player_playlist .queue_head {background: var(--groove-card); border-color: var(--groove-line);}
.ma_player_playlist .queue_head h4, .ma_player_playlist .song .song_meta_data .song_title {color: var(--groove-text);}
.ma_player_playlist .queue_head span {color: var(--groove-green);}
.ma_player_playlist .song.amplitude-playing {background: var(--groove-green-soft);}
.ma_player_playlist .song.amplitude-playing .song_title {color: var(--groove-green);}

.content, .modal-content, .dropdown-menu, .popover, .panel, .well {background-color: var(--groove-surface); color: var(--groove-text); border-color: var(--groove-line);}
.modal-header, .modal-footer, .panel-heading {border-color: var(--groove-line);}
.form-control, input.form-control, textarea.form-control, select.form-control {background-color: var(--groove-card); border-color: var(--groove-line); color: var(--groove-text);}
.form-control:focus {border-color: rgba(30,215,96,.55); box-shadow: 0 0 0 3px rgba(30,215,96,.08);}
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active {background: var(--groove-green); border-color: var(--groove-green); color: #07130a;}
.btn-outline-primary {color: var(--groove-green); border-color: var(--groove-green);}
.btn-outline-primary:hover {background: var(--groove-green); color: #07130a;}

/* Light palette follows the same mode toggle as the included themes. */
body.mode-day {
	color-scheme: light;
	--groove-bg: #f5f5f5;
	--groove-black: #fff;
	--groove-surface: #fff;
	--groove-card: #ececec;
	--groove-line: rgba(0,0,0,.1);
	--groove-text: #202020;
	--groove-muted: #626262;
	--groove-green: #13823d;
	--groove-green-soft: rgba(19,130,61,.11);
}
body.mode-day, body.mode-day .music_app {background: var(--groove-bg); color: var(--groove-text);}
body.mode-day .ma_sidebar {box-shadow: 0 2px 18px rgba(0,0,0,.04);}
body.mode-day .sidebar .sidebar_innr .sections h3 {color: #727272;}
body.mode-day .sidebar .sidebar_innr .sections li a {color: #535353;}
body.mode-day .sidebar .sidebar_innr .sections li a svg {color: #5b5b5b;}
body.mode-day .sidebar .sidebar_innr .sections li a:hover {background: #f0f0f0; color: #111;}
body.mode-day .sidebar .sidebar_innr .sections li.active a {color: #116b34; background: var(--groove-green-soft);}
body.mode-day .sidebar .sidebar_innr .sections li.active a svg {color: #116b34;}
body.mode-day header {background: var(--groove-bg);}
body.mode-day header .head_search .head_search_cont input {background: #e9e9e9;}
body.mode-day header .head_search .head_search_cont input:focus {background: #fff;}
body.mode-day header .head_search .search_dropdown {background: #fff;}
body.mode-day header .head_user a, body.mode-day header .head_user button {color: #202020;}
body.mode-day header .head_user .btn-primary {color: #07130a;}
body.mode-day .short_list_cont .s_lsongs_child:hover {background: rgba(0,0,0,.045);}
body.mode-day .short_list_cont .s_lsongs_child .second a {color: #242424;}
body.mode-day .short_list_cont .s_lsongs_child .third {color: #666;}
body.mode-day .sq_music_tracks .track_list .track:hover {background: #f1f1f1;}
body.mode-day .ma_player {background: #fff; box-shadow: 0 -5px 18px rgba(0,0,0,.07);}
body.mode-day .ma_player .song_details .song_title h3 {color: #242424;}
body.mode-day .ma_player .song_details .song_title p {color: #686868;}
body.mode-day .ma_player .song_progress .song_controls > div {color: #555;}
body.mode-day .ma_player .song_progress .song_time .current_time, body.mode-day .ma_player .song_progress .song_time .duration_time {color: #666;}
body.mode-day .ma_player_playlist {box-shadow: -5px -8px 22px rgba(0,0,0,.1);}
body.mode-day .ma_player_playlist .queue_head {background: #f1f1f1;}
body.mode-day .ma_player_playlist .queue_head h4, body.mode-day .ma_player_playlist .song .song_meta_data .song_title {color: #242424;}
body.mode-day .ma_player_playlist .song .song_meta_data .song_artist {color: #666;}
body.mode-day .ma_player_playlist .song.amplitude-playing {color: #174d2d;}
body.mode-day .ma_player_playlist .song.amplitude-playing .song_title {color: #116b34;}
body.mode-day .btn-outline-primary {color: #116b34;}

*:focus-visible {outline: 2px solid var(--groove-green); outline-offset: 3px;}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;}}

@media (max-width: 1140px) {
	.ma_sidebar {width: 70px; max-width: 70px;}
	.ma_page_content {margin-left: 70px;}
	header {margin-left: 70px;}
	.sidebar .logo_container, .sidebar .sidebar_innr .sections:first-child h3 {display: none;}
	.sidebar .sidebar_innr .sections h3 {font-size: 0; border-top: 1px solid var(--groove-line); padding: 0; margin: -13px 0 13px;}
	.sidebar .sidebar_innr .sections li a {justify-content: center; padding: 0; font-size: 0;}
	.sidebar .sidebar_innr .sections li a svg {margin: 0;}
}
@media (max-width: 1040px) {
	.ma_discover_page {grid-template-columns: minmax(0,1fr); grid-template-areas: "stories" "feature" "recent" "releases" "charts" "best"; row-gap: 8px;}
	.ma_discover_page > .groove_charts {grid-template-columns: repeat(2, minmax(0,1fr));}
	.ma_discover_page > .groove_charts > .col-md-6 {width: auto;}
	.groove_featured .item .cardd {height: clamp(230px, 35vw, 310px);}
}
@media (max-width: 767px) {
	.ma_sidebar {width: 0; max-width: 0;}
	.ma_page_content {margin-left: 0;}
	header {margin-left: 0; margin-bottom: 18px; padding: 0 14px;}
	.ma_pc_inner {padding-bottom: 90px;}
	.ma_discover_page {column-gap: 0;}
	.groove_featured .item .cardd {height: clamp(215px, 58vw, 290px);}
	.groove_featured .item .bg_text {left: 18px; bottom: 66px; width: 82%;}
	.groove_featured .item .play_btn {left: 17px; bottom: 14px; opacity: 1; transform: none;}
	.ma_discover_page > .groove_charts {grid-template-columns: minmax(0,1fr);}
	.ma_player {height: 68px;}
	.ma_player_playlist {bottom: 68px;}
}
@media (max-width: 480px) {
	.page_padding {padding-right: 15px; padding-left: 15px;}
	.home_widget_title {font-size: 17px;}
	.groove_featured .item .bg_text h2 {font-size: 25px;}
	.groove_recently, .groove_releases {overflow: hidden;}
}
