/* ================ */
/* ROOT & VARIABLES */
/* ================ */
:root {
    --accent-dark: 38, 106, 74;
    --accent-light: 172, 242, 200;

    --green-dark: 38, 106, 74;
    --green-light: 172, 242, 200;

    --blue-dark: 64, 95, 144;
    --blue-light: 214, 227, 255;
    
    --yellow-dark: 104, 88, 40;
    --yellow-light: 255, 240, 138;
    
    --red-dark: 167, 44, 47;
    --red-light: 255, 200, 200;
	
	--violet-dark: 73, 68, 121;
	--violet-light: 228,223,255;
	
	--greenalt-dark: 59, 106, 28;
    --greenalt-light: 187, 242, 148;
	
    --bluealt-dark: 0, 99, 155;
    --bluealt-light: 206, 229, 255;
	
	--cyan-dark: 0, 145, 145;
    --cyan-light: 206, 255, 255;
	
	--orange-dark: 202, 75, 0;
    --orange-light: 255, 221, 185;
	
	--pink-dark: 94, 41, 94;
    --pink-light: 255, 214, 243;
}

/* ========== */
/* TYPOGRAPHY */
/* ========== */
.material-icons {
    font-family: 'Material Symbols Outlined', sans-serif;
	font-weight: 400;
    font-style: normal;
    font-display: swap;
    color: #ffffff;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space:  nowrap;
	direction: ltr;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'liga';
}

/* ========= */
/* BASE STYLES */
/* ========= */
body {
    font-family: "Inter", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	overscroll-behavior-y: contain;
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

* {
    font: inherit;
    outline: inherit;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

button {
    outline: none;
}

:focus {
    outline: none !important;
}

/* ========== */
/* THEME MODES */
/* ========== */
.dark-mode {
	--border-color: #303030;
    --accent-color: rgb(var(--accent-light)); 
}

.light-mode .material-icons {
    color: #000000;
}

.light-mode {
	--border-color: #bdbdbd;
    --accent-color: rgb(var(--accent-dark));
    background-color: #f6f6f6;
    color: #000000;
}

.light-mode .header,
.light-mode .audio-container {
    background-color: #f6f6f6;
	color: #000000;
}

.light-mode .tooltip-nav-button,
.light-mode .history-nav-button,
.light-mode .genre-tooltip,
.light-mode .theme-dropdown__menu,
.light-mode .history-dropdown {
    background-color: #f6f6f6;
    color: #000000;
}

.light-mode .genre-tooltip-item,
.light-mode .quality-info,
.light-mode .quality-info-empty,
.light-mode .theme-option {
    background-color: #fefefe;
    color: #000000;
}

.light-mode .radio {
    background-color: #fefefe;
	color: #000000;
    border-color: #d4d4d4;
	box-shadow: inset 0 0 0 1px #dddddd;
}

.light-mode .radio.selected {
	box-shadow: inset 0 0 0 1px #dadada, 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.light-mode .radio:hover {
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 0px 4px rgb(var(--accent-dark));
}

.light-mode .radio.selected:hover {
	 background-color: rgba(var(--accent-dark), 0.05);
	 box-shadow: inset 0 0 0 1px #dadada, 0px 0px 6px rgba(0, 0, 0, 0.1);
}

.light-mode .category-container {
	background-color: #ffffff;
	border-color: #cfcfcf;
    border-top-color: rgba(var(--accent-dark), 0.3);
}

.light-mode .expand-button {
	background-color: #ffffff;
    color: #000000;
}

.light-mode .expand-button[data-expanded="false"] {
    box-shadow: 0px -25px 20px rgba(255, 255, 255, 1);
}

.light-mode .scroll-list {
    background-color: #ffffff;
}

.light-mode .color-picker.active {
    border-color: #000000;
}

.light-mode .volume-icon {
    color: rgb(var(--accent-light));
}

.light-mode .genre-buttons-wrapper {
	background-color: #ffffff;
	border-color: #cfcfcf;
    border-top: 1px solid rgba(var(--accent-dark), 0.3);
}

.light-mode .expand-button {
	border-color: #cfcfcf;
}

.light-mode .genre-button {
	color: #000000;
	background-color: #ffffff;
}

.light-mode .genre-button .material-icons {
	color: #000000;
}

.light-mode .genre-nav-button {
	background-color: #fff;
    color: #000000;
}

.light-mode .genre-button.active {
	box-shadow: inset 0px 0px 5px 0px var(--accent-color);
    color: #ffffff;
}

.light-mode .genre-button.active .material-icons {
	color: #ffffff;
}

.light-mode .genre-nav-button.left {
    box-shadow: 20px 0px 10px rgba(255, 255, 255, 1);
}

.light-mode .genre-nav-button.right {
    box-shadow: -20px 0px 10px rgba(255, 255, 255, 1);
}

.light-mode .audio-player {
    background-color: #ffffff !important;
}

.light-mode .search-container {
    background-color: #ffffff;
}

.light-mode .search-container input {
	color: #000000;
}

.light-mode .search-container input:focus{
    background-color: #ededed;
}

.light-mode .search-container input::placeholder {
    color: #555555 !important;
}

.light-mode .search-container input::-webkit-input-placeholder {
    color: #555555 !important;
}

.light-mode .search-container input::-moz-placeholder {
    color: #555555 !important;
}

.light-mode .search-container input:-ms-input-placeholder {
    color: #555555 !important;
}

.light-mode .genre-tooltip-item .material-icons {
	color: #000000 !important;
	background: none !important;
}

.light-mode .theme-option:hover,
.light-mode .search-container:hover {
	border-color: #979797;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), inset 0px 0px 4px #979797;
}

.light-mode .genre-button:hover {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), inset 0px 0px 4px var(--accent-color);
}

.light-mode .song-title::after{
    background: linear-gradient(270deg, rgba(246,246,246,1) 0%, rgba(246,246,246,0) 100%);
}

.light-mode #marquee-fade-left {
    background: linear-gradient(90deg, rgba(246,246,246,1) 0%, rgba(246,246,246,0) 100%);
}

.light-mode .history-nav-button.top,
.light-mode .tooltip-nav-button.top {
	box-shadow: 0px 15px 10px rgba(246, 246, 246, 1);
}

.light-mode .history-nav-button.bottom,
.light-mode .tooltip-nav-button.bottom {
	box-shadow: 0px -15px 10px rgba(246, 246, 246, 1);
}

.light-mode .toggle-handle {
	box-shadow: 20px 0px 0px #ffffff, -20px 0px 0px #ffffff;
}

.light-mode .toggle-handle:hover::before {
    background: #000000;
}

.light-mode .toggle-handle::before {
    background: #a4a4a4;
}

.light-mode .scrollbar-thumb {
    background-color: #a4a4a4;
}

.light-mode .segmented-button {
	color: #000000;
	background-color: #ffffff;
}

.light-mode .color-section__title,
.light-mode .theme-section__title,
.light-mode .recently-played-title,
.light-mode .quality-title,
.light-mode .genre-title {
	background-color: rgba(var(--accent-light), 0.2);
}

.light-mode .category {
	background-color: rgba(var(--accent-light), 0.2);
}

.light-mode .audio-container.expanded .toggle-handle {
	background: #f6f6f6;
	background: linear-gradient(180deg, #e6e6e6, #f6f6f6);
}

.light-mode .toggle-buttons {
	border-color: #dcdcdc;
}

.light-mode .genre-button,
.light-mode .segmented-button:hover {
	background-color: rgba(var(--accent-light), 0.08);
}

.light-mode .genre-button.active:hover {
	box-shadow: inset 0px 0px 8px 2px var(--accent-color);
	border-color: var(--accent-color);
}

.light-mode .highlighted {
	background: linear-gradient(90deg,  rgba(var(--accent-light), 0.4), transparent);
}

/* ======== */
/* HEADER */
/* ======== */
.header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 0;
    border-bottom: 2px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 10px;
    margin-top: 5px;
    font-size: 1.125rem;
    white-space: nowrap;
    flex-shrink: 0;
    flex-grow: 0;
    font-weight: 700;
}

#klikniplaymain {
	height: 30px;
	width: 140px;
	margin: 0 10px;
}

#klikniplaymain .cls-1,
#klikniplaymain #text1 {
	fill: #f5f5f5;
}

.light-mode #klikniplaymain .cls-1,
.light-mode #klikniplaymain #text1 {
	fill: var(--accent-color);
}

.light-mode .pwa-install-button .material-icons,
.light-mode .pwa-install-button {
  color: #fff;
}

.light-mode .pwa-install-container {
  background-color: #f6f6f6;
}

.light-mode .pwa-install-button:hover {
  box-shadow: inset 0 0 0 2px #f6f6f6;
}

.light-mode .pwa-dismiss-button {
	background-color: #f6f6f6;
	color: #000;
	border-color: var(--border-color);
}

.light-mode .pwa-dismiss-button:hover {
  background-color: rgba(var(--red-light), 0.3);
  border-color: rgb(var(--red-dark));
}

/* ============ */
/* SEARCH COMPONENT */
/* ============ */
.search-container {
    display: inline-flex;
    position: relative;
    align-items: center;
    background-color: #161616;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    padding: 5px;
    height: 44px;
    width: 44px;
    margin-right: 15px;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    will-change: width, border-radius;
}

.search-container.active {
    width: 250px;
    border-radius: 10px;
    cursor: auto;
}

.search-container input {
    display: none;
    align-items: center;
    vertical-align: middle;
    flex-grow: 1;
    min-width: 0;
    background-color: transparent;
    color: #ffffff;
    border: none;
    height: 30px;
    padding: 0 30px;
    width: 100%;
    font-size: 1rem;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
    opacity: 0;
	transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: background-color;
}

.search-container.active input {
    opacity: 1;
    display: flex;
}

.search-container input:focus {
    background-color: #323232;
}

.search-container input::placeholder {
    color: #cccccc !important;
    opacity: 1;
}

.search-container input::-moz-placeholder {
    color: #cccccc !important;
    opacity: 1;
}

.search-container input::-webkit-input-placeholder {
    color: #cccccc !important;
    opacity: 1;
}

.search-container input:-ms-input-placeholder {
    color: #cccccc !important;
    opacity: 1;
}

.search-container:hover {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), inset 0px 0px 8px #777;
	border-color: #777;
}

.search-container:focus-within {
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color) !important;
	transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: border-color;
}

#Search {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(calc(-50% + 1px));
    font-size: 22px;
    pointer-events: auto;
    transition: left 0.3s ease;
}

.search-container.active #Search {
    left: 10px;
    pointer-events: none;
}

#clearSearch {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(calc(-50% + 1px));
    font-size: 22px;
    display: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s linear, color 0.2s linear;
}

.search-container.active #clearSearch {
    opacity: 1;
}

#clearSearch:hover {
	color: var(--accent-color);
}

.no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #888;
}

.no-results .material-icons {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.no-results p {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

/* SCROLLBAR */
.scroll-list {
    background-color: #090909;
    position: absolute;
    top: 66px;
    bottom: 155px;
    left: 0;
    right: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-list::-webkit-scrollbar {
    display: none;
}

.audio-container.expanded ~ .scroll-list {
    bottom: 220px;
}

.audio-container.expanded ~ .scroll-list .scrollbar-track {
    bottom: 220px;
}

.audio-container.has-now-playing.expanded ~ .scroll-list {
    bottom: 240px;
}

.audio-container.has-now-playing.expanded ~ .scroll-list .scrollbar-track {
    bottom: 240px;
}

.scrollbar-track {
    position: fixed;
    right: 0;
    top: 66px;
    bottom: 155px;
    width: 16px;
    padding: 0 6px;
    cursor: pointer;
    z-index: 100;
    pointer-events: auto;
    background-color: transparent;
	transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: bottom;
}

.scrollbar-thumb {
    position: absolute;
    right: 2px;
    width: 3px;
    background-color: #6a6a6a;
    border-radius: 4px;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width, background-color, opacity;
    pointer-events: auto;
	touch-action: none;
	opacity: 0;
}

.scrollbar-thumb::before {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.scrollbar-thumb.visible {
    opacity: 1;
}

.scrollbar-thumb.hovering,
.scrollbar-thumb.dragging {
    width: 6px;
    opacity: 1;
    background-color: var(--accent-color);
}

/* ============ */
/* GENRE BUTTONS */
/* ============ */
.genre-buttons-wrapper {
    position: relative;
    margin: 0 15px 10px 15px;
    border-radius: 0 0 8px 8px;
    background-color: #0e0e0e;
    padding: 10px;
    overflow: hidden;
	border: 1px solid #2a2a2a;
    border-top: 1px solid rgba(var(--accent-dark), 0.3);
}

.genre-buttons {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    overflow: hidden;
    padding: 0 5px !important;
    margin: 0 -5px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    transition: all 0.15s ease-out;
}

.genre-buttons::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.genre-button {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 50px;
    background-color: rgba(var(--accent-dark), 0.15);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 5px;
    min-width: 71px;
    height: 70px;
    box-sizing: border-box;
    color: #ffffff;
	padding: 0 15px;
}

.genre-button:hover {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), inset 0px 0px 10px var(--accent-color);
}

.genre-button span:not(.material-icons) {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.genre-button .material-icons {
    margin-bottom: 5px;
    color: #ffffff;
}

.genre-button.active {
    background-color: rgba(var(--accent-dark), 0.8);
	box-shadow: inset 0px 0px 5px 0px rgb(var(--accent-light));
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color, box-shadow;
}

.genre-button.active:hover {
	box-shadow: inset 0px 0px 8px 2px rgb(var(--accent-light));
}

.genre-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 100%;
    background-color: #0e0e0e;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.genre-nav-button.left {
    left: 0px;
    border-left: 3px solid transparent;
    box-shadow: 20px 0px 10px rgba(14, 14, 14, 1);
}

.genre-nav-button.right {
    right: 0px;
    border-right: 3px solid transparent;
    box-shadow: -20px 0px 10px rgba(14, 14, 14, 1);
}

.genre-nav-button.left:hover,
.genre-nav-button.right:hover {
    border-color: var(--accent-color);
}

.genre-nav-button .material-icons {
    font-size: 28px;
}

/* ============ */
/* AUDIO PLAYER */
/* ============ */
.audio-container {
    height: 155px;
    overflow: visible !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    text-align: center;
    z-index: 100;
    border: none;
	transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	   will-change: height, opacity;
    will-change: height, opacity;
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
    touch-action: pan-y;
}

.audio-container.has-now-playing {
    height: 175px;
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.audio-container.has-now-playing.expanded {
    height: 240px;
}

.audio-container.expanded {
    height: 220px;
}

.audio-wrapper {
    text-align: left;
    position: relative;
    overflow: hidden;
	white-space: nowrap;
	display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 270px;
    max-width: 350px;
    width: auto;
    margin: 0 auto;
}

/* ============ */
/* AUDIO PLAYER TEXT */
/* ============ */
.audio-title {
    position: relative;
	display: flex;
    flex-direction: column;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;
	max-width: 340px;
    margin: 0 5px;
    padding: 0;
    text-align: left;
    z-index: 10000;
    transition: all 0.2s linear;
    opacity: 1;
	height: auto;
}

.has-now-playing {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
}

.audio-title-container {
	min-width: 270px;
    max-width: 350px;
    width: 100%;
    overflow: hidden;
    display: flex;
	z-index: 1003;
    margin: 0;
    padding: 0;
    position: relative;
}

.song-title {
    text-overflow: ellipsis;
    overflow: visible;
    will-change: transform;
    font-size: 1.75rem;
    opacity: 1;
	white-space: nowrap;
    display: inline-block;
    box-sizing: border-box;
	position: relative;
}

.song-title::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(270deg, rgba(26,26,26,1) 0%, rgba(26,26,26,0) 100%);
    pointer-events: none;
    z-index: 2;
	opacity: 0;
}

.song-title.marquee-active::after {
    opacity: 1;
}

.has-now-playing .station-name {
    font-size: 1.125rem;
	font-weight: 500;
	opacity: 0.7;
	transition: opacity 0.2s linear;
	z-index: 3;
}

.marquee-clone {
    display: inline-block;
    padding-left: 100px;
}

#marquee-fade-left {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    pointer-events: none;
    z-index: 2;
	left: 0;
    background: linear-gradient(90deg, rgba(26,26,26,1) 0%, rgba(26,26,26,0) 100%);
	pointer-events: none;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.audio-player {
	min-width: 270px;
    max-width: 350px;
    width: auto;
    display: inline-flex;
	touch-action: manipulation;
    position: relative !important;
    z-index: 1001 !important;
	display: inline-flex;
	flex-grow: 1;
	flex-shrink: 1;
    border: 3px solid rgba(var(--accent-dark), 0.5);
    border-radius: 25px;
    background-color: #111111;
    padding: 5px 6px;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0px 20px 0px;
    transform: none;
	transition: border-radius 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: border-radius, border-color;
}

.audio-player:hover {
    border-color: rgba(var(--accent-dark), 1);
}

/* When play icon is shown (paused state) */
.audio-player.play-mode {
    border-radius: 40px;
}

.play-pause {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

#playPauseBtn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 18px;
    background-color: rgb(var(--accent-dark));
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.05s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: box-shadow, border-radius;
}

.audio-controls.play-mode,
#playPauseBtn.play-mode {
    border-radius: 50px;
}

#playPauseBtn .material-icons {
    font-size: 36px;
	color: rgb(var(--accent-light));
}

#playPauseBtn:hover {
    box-shadow: inset 0px 0px 6px 1px var(--accent-color);
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--accent-dark));
    border-radius: 18px;
    height: 50px;
    width: 125px;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: box-shadow, border-radius;
}

.audio-controls:hover {
	box-shadow: inset 0px 0px 6px 1px var(--accent-color);
}

.volume-icon {
    margin-right: 4px;
    font-size: 36px;
    cursor: pointer;
    color: rgb(var(--accent-light));
}

.volume-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 70px; 
    height: 4px;
    background: rgb(var(--accent-light));
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 19px;
    height: 19px;
    min-width: 19px;
    min-height: 19px;
    background: rgb(var(--accent-dark));
    border-radius: 50%;
    border: 3px solid rgb(var(--accent-light));
    cursor: pointer;
    position: relative;
    margin-top: -8px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
	transition: all 0.2s linear;
}

.volume-slider::-webkit-slider-thumb:hover {
	transform: scale(1.1);
}

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: rgb(var(--accent-light));
    border-radius: 2px;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    background: rgb(var(--accent-dark));
    border-radius: 50%;
    border: 3px solid rgb(var(--accent-light));
    cursor: pointer;
    position: relative;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.volume-slider::-moz-range-thumb:hover {
	transform: scale(1.1);
}

.volume-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: rgb(var(--accent-light));
    border-radius: 2px;
}

.volume-slider::-ms-thumb {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    background: rgb(var(--accent-dark));
    border-radius: 50%;
    border: 3px solid rgb(var(--accent-light));
    cursor: pointer;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.volume-slider::-ms-thumb:hover {
	transform: scale(1.1);
}

.volume-slider::-ms-track {
    width: 100%;
    height: 4px;
    background: rgb(var(--accent-light));
    border-radius: 2px;
}

/* Toggle Container */
.recently-played-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
    z-index: 110;
    display: flex;
    flex-direction: column;
}

.toggle-handle {
    width: 100%;
    height: 16px;
    display: flex;
    justify-content: center;
    cursor: pointer;
	border-top: 1px solid var(--border-color);
	transition: border-bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: border-bottom;
	border-radius: 20px 20px 0 0;
	box-shadow: 20px 0px 0px #090909, -20px 0px 0px #090909;
	touch-action: manipulation;
}

.audio-container.expanded .toggle-handle {
	background: #1a1a1a;
	background: linear-gradient(180deg, #181818, #1a1a1a);
}

.toggle-handle::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
	margin: 5px 0;
    background: #6a6a6a;
    border-radius: 2px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-handle:hover::before {
    background: #ffffff;
    width: 60px;
}

.segmented-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #161616;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    height: 40px;
    padding: 0 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
	transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: background-color, color, box-shadow;
}

.segmented-button:hover {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
	background-color: rgba(var(--accent-dark), 0.08);
	color: var(--accent-color);
}

.segmented-button:hover .material-icons {
	color: var(--accent-color);
}

.segmented-button .material-icons {
    font-size: 18px;
    margin-right: 4px;
    width: 18px;
    height: 18px;
    line-height: 18px;
	transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: color;
}

.segmented-button-group .segmented-button.active {
    border-color: var(--accent-color);
	z-index: 2;
	transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	   will-change: border-color;
}

.segmented-button-group {
    display: inline-flex;
    align-items: stretch;
    height: 44px;
    background-color: transparent;
    border-radius: 20px;
    margin: 0 10px;
}

.segmented-button-group .segmented-button {
    margin: 0;
    border-radius: 16px;
	height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.segmented-button-group .segmented-button:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.segmented-button-group .segmented-button:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.segmented-button-group .segmented-button:not(:first-child) {
    margin-left: -2px;
}

/* Buttons Container */
.toggle-buttons {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #2b2b2b;
	padding-bottom: 10px;
	padding-top: 5px;
}

.audio-container.expanded .toggle-buttons {
    display: flex;
}

.has-now-playing .theme-dropdown__menu,
.has-now-playing .history-dropdown,
.has-now-playing .genre-tooltip {
    bottom: 225px;
	max-height: calc(100% - 297px) ! important;
}

.history-dropdown {
	transform: translateX(50%) translateY(0);
    position: fixed;
    bottom: 205px;
    right: 50%;
    pointer-events: none;
    width: 90%;
    max-width: 300px;
    max-height: calc(100% - 277px) ! important;
    background: #181818;
    border: 1px solid rgba(var(--accent-dark), 0.4);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    z-index: 120;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.1, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	display: flex;
	scrollbar-width: none;
	scroll-behavior: smooth;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.tooltip-content::-webkit-scrollbar {
    display: none;
}

.history-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
	pointer-events: auto;
}

.empty-message {
	padding: 10px;
	opacity: 0.8;
	border: 2px	solid var(--border-color);
	border-radius: 15px;
	margin: 10px
}

.tooltip-nav-button, .history-nav-button {
    position: sticky;
    z-index: 2;
    width: 100%;
    height: 30px;
    background-color: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.1s linear, border-color 0.1s linear;
}

.tooltip-nav-button.top, .history-nav-button.top {
    top: 0;
    border-top: 2px solid transparent;
	box-shadow: 0px 15px 10px rgba(24, 24, 24, 1);
	margin-bottom: -30px;
}

.tooltip-nav-button.bottom, .history-nav-button.bottom {
    bottom: 0;
    border-bottom: 2px solid transparent;
	box-shadow: 0px -15px 10px rgba(24, 24, 24, 1);
	margin-top: -30px;
}

.tooltip-nav-button:hover, .history-nav-button:hover {
    border-color: var(--accent-color);
}

.history-nav-button .material-icons, .tooltip-nav-button .material-icons {
    font-size: 28px;
}

.recently-played-stations .radio {
    width: calc(100% - 20px);
    margin: 10px auto;
}

.recently-played-stations, .genre-tooltip {
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.recently-played-title {
    padding: 10px 5px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
	font-size: 1.25rem;
    border-bottom: 1px solid rgba(var(--accent-dark), 0.4);
	background-color: rgba(var(--accent-dark), 0.15);
	color: var(--accent-color);
}

.genre-tooltip {
    display: block;
    position: fixed;
    bottom: 205px;
	left: 50%;
    transform: translateX(-50%) translateY(0) translateZ(0);
    background-color: #181818;
    color: #ffffff;
    padding: 0;
    border-radius: 10px;
    font-size: 1rem;
    max-width: 300px;
    border: 1px solid rgba(var(--accent-dark), 0.4);
	max-height: calc(100% - 277px) ! important;
	scrollbar-width: none;
    -ms-overflow-style: none;
	opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.1, 1);
	will-change: transform;
    -webkit-overflow-scrolling: touch;
	z-index: 1;
	overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    pointer-events: none;
}

.genre-tooltip.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.genre-tooltip-item {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    margin: 7px 10px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    white-space: nowrap;
    background-color: #171717;
	height: 44px;
}

.genre-tooltip-item:first-child {
    margin-top: 10px !important;
}

.genre-tooltip-item:last-child {
    margin-bottom: 10px !important;
}

.genre-tooltip-item .material-icons {
    font-size: 18px;
    margin-right: 3px;
	margin-left: -2px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    color: #ffffff;
    display: inline-block;
    background: none;
	box-sizing: border-box;
	vertical-align: middle;
	pointer-events: none;
}

.genre-tooltip-item span {
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

.genre-title {
    display: block;
    padding: 10px 10px 5px 10px;
    font-size: 1.2rem;
	font-weight: 600;
	border-bottom: 1px solid rgba(var(--accent-dark), 0.4);
	margin: 0;
	margin-bottom: 10px;
	text-align: center;
	background-color: rgba(var(--accent-dark), 0.15);
	color: var(--accent-color);
}

.quality-title {
	border-top: 1px solid rgba(var(--accent-dark), 0.2);
	display: block;
    padding: 10px 10px 5px 10px;
    font-size: 1.2rem;
	font-weight: 600;
	border-bottom: 1px solid rgba(var(--accent-dark), 0.4);
	margin: 0;
	margin-bottom: 10px;
	text-align: center;
	background-color: rgba(var(--accent-dark), 0.15);
	color: var(--accent-color);
}

.quality-info {
	border: 2px solid var(--border-color);
	border-radius: 20px;
	margin: 10px;
	padding: 5px 10px 3px 10px;
	background-color: #171717;
	vertical-align: middle;
}

.quality-info .material-icons {
	vertical-align: middle;
	font-size: 16px;
	margin: 0 -2px 3px -6px;
}

.quality-info-empty {
	border: 2px solid var(--border-color);
	border-radius: 20px;
	margin: 10px;
	padding: 10px;
	background-color: #171717;
	vertical-align: middle;
}

.format {
	vertical-align: middle;
	font-size: 1rem;
	font-weight: 600;
	display: inline-block;
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid var(--border-color);
	width: 100%;
}

.tooltip-nav-container {
    display: flex;
    height: 100%;
}

.tooltip-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding: 10px;
    scrollbar-width: none;
}

.tooltip-content::-webkit-scrollbar {
    display: none;
}

.info-icon {
    border-radius: 0 !important;
}

/* ============ */
/* THEME CONTROLS */
/* ============ */
.theme-dropdown {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.theme-dropdown__menu {
    position: fixed;
    bottom: 205px;
	left: 50%;
    transform: translateX(-50%) translateY(0);
    background-color: #181818;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(var(--accent-dark), 0.4);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.2, 0, 0.1, 1);
    visibility: hidden;
    opacity: 0;
    align-items: center;
    max-height: calc(100% - 277px) ! important;
}

.theme-dropdown__menu.show {
    opacity: 1;
    visibility: visible;
}

/* Section Styling */
.theme-section {
  padding-bottom: 15px;
}

.color-section {
  padding-bottom: 7px;
}

.theme-section__title {
  border-bottom: 1px solid rgba(var(--accent-dark), 0.4);
}

.color-section__title {
	border-top: 1px solid rgba(var(--accent-dark), 0.2);
	border-bottom: 1px solid rgba(var(--accent-dark), 0.4);
}

.theme-section__title,
.color-section__title {
    padding: 10px 5px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
	font-size: 1.2rem;
	background-color: rgba(var(--accent-dark), 0.15);
	color: var(--accent-color);
	margin-bottom: 15px;
}

.theme-options {
  display: flex;
  justify-content: center;
  padding: 0 15px;
}

.theme-option {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    height: 44px;
    min-width: 92px;
	flex-grow: 1;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background-color: #161616;
	color: #ffffff;
    font-size: 1rem;
	transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: color, border-color, box-shadow;
}

.theme-option:not(:first-child) {
    margin-left: 10px;
}

.theme-option:hover {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), inset 0px 0px 8px #777;
	border-color: #777;
}

.theme-option.active:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), inset 0px 0px 8px var(--accent-color);
}

.theme-option .material-icons {
    font-size: 18px;
    margin-right: 2px;
}

.theme-option.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.theme-option.active .material-icons {
  color: var(--accent-color);
}

/* Color Picker */
.color-picker__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  padding: 0 8px;
}

.color-picker {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    border: none;
	transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.color-picker:hover {
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
	transform: scale(1.1);
}
.color-picker.active:hover {
    box-shadow: 0 0 0 3px rgba(var(--accent-light), 0.45);
    transform: none;
}

.color-picker.active {
	transition: box-shadow 0.7s cubic-bezier(0.4, 0, 0.2, 1), border 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: box-shadow, border;
	border: 2px solid #ffffff;
}

.color-picker.active .color-picker__check {
    display: block;
}

.color-picker__check {
    display: none;
    width: 50px;
    height: 50px;
    background-color: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
}

.color-picker--green {
    background: linear-gradient(135deg, rgb(var(--green-light)), rgb(var(--green-dark)));
}

.color-picker--blue {
    background: linear-gradient(135deg, rgb(var(--blue-light)), rgb(var(--blue-dark)));
}

.color-picker--yellow {
    background: linear-gradient(135deg, rgb(var(--yellow-light)), rgb(var(--yellow-dark)));
}

.color-picker--red {
    background: linear-gradient(135deg, rgb(var(--red-light)), rgb(var(--red-dark)));
}

.color-picker--violet {
    background: linear-gradient(135deg, rgb(var(--violet-light)), rgb(var(--violet-dark)));
}

.color-picker--greenalt {
    background: linear-gradient(135deg, rgb(var(--greenalt-light)), rgb(var(--greenalt-dark)));
}

.color-picker--bluealt {
    background: linear-gradient(135deg, rgb(var(--bluealt-light)), rgb(var(--bluealt-dark)));
}

.color-picker--cyan {
    background: linear-gradient(135deg, rgb(var(--cyan-light)), rgb(var(--cyan-dark)));
}

.color-picker--orange {
    background: linear-gradient(135deg, rgb(var(--orange-light)), rgb(var(--orange-dark)));
}

.color-picker--pink {
    background: linear-gradient(135deg, rgb(var(--pink-light)), rgb(var(--pink-dark)));
}

/* ============ */
/* RADIO STATIONS */
/* ============ */
.category-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    margin: 0px 10px 15px 15px;
    border-radius: 0 0 8px 8px;
    background-color: #0e0e0e;
    padding: 8px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
	border: 1px solid #2a2a2a;
    border-top: 1px solid rgba(var(--accent-dark), 0.3);
}

.radio {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    display: flex;
    align-items: center;
    padding: 0;
    background-color: #151515;
    font-size: 1rem;
    cursor: pointer;
	height: 46px;
    width: calc(20% - 20px);
    margin: 5px;
    border: 1px solid #303030;
	box-shadow: inset 0 0 0 1px #202020;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    position: relative;
    flex-grow: 1;
    flex-shrink: 0;
	vertical-align: middle;
	transition: border-color 0.2s linear, background-color 0.2s linear;
}

.radio-text {
    flex-grow: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1px 10px 0 10px;
	vertical-align: middle;
}

.radio:hover {
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 0px 8px rgb(var(--accent-dark));
    border-color: rgb(var(--accent-dark));
}

.radio.selected {
	color: var(--accent-color);
	position: relative;
	box-shadow: inset 0 0 0 1px #202020, 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.radio.selected:hover {
	 color: var(--accent-color);
	 border-color: var(--accent-light);
	 background-color: rgba(var(--accent-light), 0.1);
	 box-shadow: inset 0 0 0 1px #222, 0px 0px 6px rgba(0, 0, 0, 0.1);
}

.radio.selected::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 15%;
	right: 15%;
	height: 2px;
    background: linear-gradient(to right, 
        transparent 0%,
        var(--accent-color) 25%,
        var(--accent-color) 75%,
        transparent 100%
    );
	transition: all 0.2s linear;
}

.radio.selected:hover::after {
    left: 8%;
	right: 8%;
}

.category {
    font-size: 1.375rem;
    font-weight: 700;
	height: 45px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: rgba(var(--accent-dark), 0.1);
	border-radius: 10px 10px 0 0;
	padding: 0;
	margin: 35px 15px 0px 15px;
	border: 1px solid rgba(var(--accent-dark), 0.3);
	border-bottom: none;
}

.category h1, .category span {
	padding-top: 2px;
}

.category img {
	width: auto;
	height: 33px;
	object-fit: contain;
	margin-right: 8px;
	margin-left: 10px;
	border-radius: 5px;
}

.highlighted {
	height: 45px;
	display: inline-flex;
    align-items: center;
	position: relative;
	padding-right: 50px;
	background: linear-gradient(90deg,  rgba(var(--accent-dark), 0.5), transparent);
}

#category-icon {
    position: relative;
    padding-left: 10px;
	padding-right: 4px;
    font-size: 28px;
}

.category-container.has-expand-button {
    margin-bottom: 65px !important;
}

.category-container.no-radius {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.expand-button {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: absolute;
    background-color: #0e0e0e;
    width: calc(100% + 2px);
    height: 30px;
    border-radius: 0px 0px 8px 8px;
    border: 1px solid #2a2a2a;
	border-top: none;
    bottom: -30px;
    left: -1px;
	right: 0;
    cursor: pointer;
    color: #ffffff;
    margin: 0;
    padding: 0;
	transition: border-top 0.2s linear, border-bottom 0.2s linear, box-shadow 0.2s linear;
}

.expand-button .material-icons {
    font-size: 32px;
    vertical-align: middle;
    margin-right: 4px;
    flex-shrink: 0;
}

.expand-button .expand-text  {
    font-size: 1rem;
    font-weight: 400;
    vertical-align: middle;
    display: inline-block;
    vertical-align: middle;
}

.expand-button[data-expanded="false"] {
    box-shadow: 0 -20px 15px rgba(14, 14, 14, 1);
	clip-path: inset(-45px 0px 0px 0px);
}

.expand-button[data-expanded="false"]:hover {
	border-bottom-color: var(--accent-color);
    box-shadow: none;
}

.expand-button[data-expanded="true"] {
    box-shadow: none;
}

.expand-button[data-expanded="true"]:hover {
	border-bottom-color: var(--accent-color);
}

/* ============ */
/* EQUALIZER */
/* ============ */
.equalizer {
    height: 9px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    position: absolute;
    justify-content: center;
    bottom: 2px;
    padding: 0 2px;
    box-sizing: border-box;
    gap: 2px;
	contain: strict;
}

.equalizer div {
    width: 6px !important;
    transform: translateZ(0) scaleY(0);
}

.equalizer.animate div {
    height: 7px;
    background-color: var(--accent-color);
	opacity: 0.6;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: equalizer 0.9s infinite cubic-bezier(0.4, 0, 0.6, 1);
    transform-origin: bottom;
    will-change: transform;
    border-radius: 1px 1px 0 0;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes equalizer {
    0%, 100% {
        transform: translate3d(0, 0, 0) scaleY(0.4);
    }
    50% {
        transform: translate3d(0, 0, 0) scaleY(1);
    }
}

.equalizer.animate div:nth-child(7n+1) { animation-delay: 0s; }
.equalizer.animate div:nth-child(7n+2) { animation-delay: -0.2s; }
.equalizer.animate div:nth-child(7n+3) { animation-delay: -0.4s; }
.equalizer.animate div:nth-child(7n+4) { animation-delay: -0.6s; }
.equalizer.animate div:nth-child(7n+5) { animation-delay: -0.4s; }
.equalizer.animate div:nth-child(7n+6) { animation-delay: -0.3s; }
.equalizer.animate div:nth-child(7n+7) { animation-delay: -0.15s; }


/* ============ */
/* MEDIA QUERIES */
/* ============ */

@media (max-width: 1000px) {
    .radio { width: calc(25% - 20px); }
}

@media (max-width: 780px) {
    .radio { width: calc(33.33% - 20px); }
}

@media (max-width: 580px) {
    .radio { width: calc(50% - 20px); }
}

@media (max-width: 359px) {
    .radio { width: calc(100% - 20px); }
}

/* PWA Install Prompt Styles */
.pwa-install-container {
  width: 320px;
  transform: translateX(50%) translateY(50%);
  position: fixed;
  bottom: calc(50% - 50px);
  right: 50%;
  max-width: calc(100% - 40px);
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pwa-install-container.show {
  bottom: 50%;
  opacity: 1;
  visibility: visible;
}

.pwa-install-content h3 {
  margin: 0 0 5px 0;
  font-size: 1.25rem;
  color: var(--accent-color);
  font-weight: 800;
}

.pwa-install-content p {
  margin: 0 0 15px 0;
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.4;
}

.pwa-install-buttons {
  display: flex;
}

.pwa-install-button,
.pwa-dismiss-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.pwa-install-button {
  background-color: var(--accent-color);
  color: #000;
  margin-right: 15px;
  border: 2px solid var(--accent-color);
}

.pwa-dismiss-button {
  background-color: #202020;
  color: #fff;
  border: 2px solid #505050;
}

.pwa-install-button:hover {
  box-shadow: inset 0 0 0 2px #222;
  border-radius: 20px;
}

.pwa-dismiss-button:hover {
  background-color: rgba(var(--red-dark), 0.3);
  border-color: rgb(var(--red-light));
}

.pwa-install-button .material-icons {
  font-size: 18px;
  margin-right: 4px;
  color: #000;
}

.pwa-dismiss-button .material-icons {
  font-size: 18px;
  margin-right: 4px;
}