/* 18.11.2025 */

:root {
    --primary: #dfdfdf;
    --dark: #121212bd;
    --light: #FFFFFF;
    --radius: 25px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --btn-bg-colors: rgb(76 76 76 / 85%);
    --btnlight-bg-colors: rgb(230 230 230);
    --btndark-bg-colors: rgb(76 76 76);
    
}


.plyr__title {
    margin-left: 10px;
}
.plyr__title:hover, .plyr__author:hover {
    opacity: 0.5!important;
}

.plyr__author {
    margin-left: 10px;
    opacity: 0.7!important;
}

.nowliveair {
    pointer-events: none;
    opacity: 0.6;
    outline: 3px solid #d55e4f !important;
    outline-offset: 2px;
    border-radius: 20px;
    -webkit-user-drag: none;
}

.nowliveairbtn {
    background-color: #d55e4f!important;	
    pointer-events: none;
    -webkit-user-drag: none;
}

.nowliveairbtn:hover {
    background-color: #d55e4f;	
    pointer-events: none;
    -webkit-user-drag: none;
		opacity: 1;
}
.btnmesserror a {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0px 12px 0px 0px;
    min-width: 24px;
    z-index: 99999;
    position: relative;
}

    
#onlinetrackcontainer {    
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
}
.otrackcontheight {
    margin: 13px 6px 0px 7px!important;
    min-width: 350px;
    min-height: 350px;
    float: left;
}
.cardframemain {
    border-radius: 20px;
    width: 350px;
    height: 350px;

}
#frontface video, #backface video{
width: 270px;
height: 270px;
border-radius: var(--radius);    
}

.radio-container {
      margin: 3px 10px 10px 10px;
}
.radio-container1 {

} 
.radio-container2 {
    
}

.changestream {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.btnchangestream {
    background: var(--btn-bg-colors);
    margin: 0 .25rem!important;
    font: inherit;
    line-height: inherit;
    width: auto;
    padding: 7px 9px 6px 9px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}
.btnchangestream:hover {
    opacity: 0.7;
}
.plyr__info {
  flex: 1; /* Занимает всё свободное пространство */
  min-width: 0; /* Позволяет сжиматься */
  margin: 0 15px 0 80px;
  overflow: hidden;
  position: relative;    
}

.plyr__title a,
.plyr__author a {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: transform 0.4s ease;
}

.plyrposter {
    left: 0px !important;
}   
  
.time-left {
    font-size: 26px;
    left: 180px;
    position: fixed;
    width: 120px;
}
.btn-moreplayer {
    display: block;
}

.playlist_item {
    margin: 0px 10px;
    max-width: 115px;
}
.playlist_time {
    font-size: 25px;
    font-weight: 600;
    color: #d5776b;
    text-align: center;
}    
.playlist_cover, .playlist_cover img {
min-height: 115px;
width: 115px;
border-radius: 10px;
transition: transform 0.3s ease;
margin: 5px 0px 5px 0px;
}
.playlist_cover a:hover, .playlist_cover:hover, .playlist_cover img:hover { /*  */
transform: scale(1.05);
opacity: 1;
}
.playlist_header {
  margin-bottom: 1px;
  padding-bottom: 1px;
}
.playlist_header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.playlist_content{
    display: flex;
    overflow-x: auto;      /* Включает горизонтальную прокрутку при переполнении */
    overflow-y: hidden;      /* Включает горизонтальную прокрутку при переполнении */
}
.playlist_content::-webkit-scrollbar {
  display: none;
}
.playlist_title {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
}
.playlist_artist {
    white-space: wrap;
    font-size: 13px;
    font-weight: 700;
}
.playlist_song {
    white-space: wrap;
    font-size: 12px;
    opacity: 0.8;
}
.dropdown-item {
    color: #fff;
}
.btn-moreplayer {
    z-index: 15;
    padding: 0px;
}
.btn-more:hover {
    background: none;
}
.time-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
    position: relative;
    z-index: 6000;
}
.time-progress-bar {
    height: 100%;
    background: #d65e4e;
    width: 0%;
    transition: width 1s linear;
}    
.plyr-theme-2 .plyr__progress {
    top: -1px!important;
} 
.livelistenmainlink {
    
} 
.livelistenmain {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: static;
    margin: 0px 5px -5px 5px;
    min-width: 60px;
}

.plyr-playlist .plyr__controls{
    margin-left: 0px!important;
}

.onlinemainpage {margin: 0;}   
.wp-block-loop .entry {
margin-bottom: 0rem!important;
}    
.amg-radio-list {
overflow: hidden; /* Очищаем float */
min-height: 350px; /* Чтобы видеть обтекание */
}
.big-logo {
      float: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
}
.small-icon,.big-logo {    
    margin: 13px 6px 13px 7px!important;
}
.small-icon {
    
    justify-content: center;
    line-height: 1.2;
    float: left;
    width: 108px;
    top: unset;
}
.content .metadata-container {
    width: 350px;
    height: 350px;
}

.content .metadata-container .show-info-card {
 margin: 0!important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}




.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
.favstations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
.nofavstations {
    display: none;
}
.station-item {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 20px 66px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    aspect-ratio: 1/1;
    z-index: 14;
}

.station-item:hover {opacity: 0.5;}

.station-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    z-index: 15;
    position: relative;
}




.station-item .fav-icon,
.station-item .edit-custom-icon{
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Показываем иконку при наведении на весь блок */
.station-item:hover .fav-icon,
.station-item:hover .edit-custom-icon{
  opacity: 1;
}


.player-panel {
    padding: 15px 5px 5px 5px;
}

.cover-container {
    width: 270px;
    height: 270px;
    margin: 6px auto;
    border-radius: var(--radius);
    position: relative;
    aspect-ratio: 1/1;
    perspective: 1500px; /* Увеличено для уменьшения искажений */
}

#card {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s linear;
    position: relative;
}

#card.flip {
    transform: rotateY(-180deg);
}
#card.flip2 {
    transform: rotateY(180deg);
}

#card.no-transition {
    transition: none; /* Отключаем анимацию при сбросе */
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius);
}

.front {
    z-index: 2;
}

.back {
    transform: rotateY(180deg);
}

#cover, #cover-back {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.track-info {
    text-align: center;
    margin: 25px 25px 25px 25px;
    z-index: 9999;
    position: relative;
}

#song, #errorm {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

#artist {
    font-size: 1.1em;
    opacity: 0.8;
    margin-bottom: 15px;
    cursor: pointer;
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.dark .stat-item {
    background: rgba(255,255,255,0.1);
    padding: 6px 11px;
    border-radius: 12px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
}

.stat-item {
    background: rgb(100 100 100 / 10%);
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.bitrate-selector {
    display: none;
    gap: 10px;
}

.bitrate-selector.active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.bitrate-btn {
    padding: 6px 10px;
    background-color: #494949;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

.bitrate-btn.active {
    background-color: #d55e4f;
}

.bitrate-btn:hover {
    opacity: 0.7;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

#volume {
    flex-grow: 1;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

#volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}








.gd-primary, .player [data-plyr="play"] {
    color: #fff !important;

}
.plyr__control svg {
    display: block;
    height: 18px;
    pointer-events: none;
    width: 18px;
}
.plyr-playlist .plyr__controls .plyr__poster {
    opacity: 1;
    width: 55px;
    height: 55px;
    border-radius: 10px;
    left: 0px;
    z-index: 5000;
    margin-top: 7px;
}
.playbutton {
    position: absolute;
    left: 70px;
    z-index: 999999;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    color: inherit !important;
    background-color: transparent !important;
    border: none;
    outline: 0 !important;
    fill: none;
    width: 30px;
}

.slisteners {
    position: absolute;
    top: -304px;
    left: -20px;
    background: var(--btnlight-bg-colors);
}
.stimeleft {
    position: absolute;
    top: -54px;
    right: -20px;
    background: var(--btnlight-bg-colors);
}

.dark .slisteners {
    background: var(--btndark-bg-colors);
}
.dark .stimeleft {
    background: var(--btndark-bg-colors);
}


/* Базовые стили */
.fav-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 1));
    margin: 10px;
    z-index: 989;
    pointer-events: all;
}

/* Пустое сердце */
.fav-icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center;
    background-size: contain;
    color: #888; /* цвет обводки пустого сердца */
}

.fav-icon:hover {
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 1));
    scale: 1.2;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='red'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center;
}

/* Закрашенное сердце */
.fav-icon.active::before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='red'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center;
    background-size: contain;
    color: #e74c3c; /* красный цвет закрашенного сердца */
}





.remove-icon {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>") no-repeat center;
    background-size: contain;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 1));
    margin: 10px;
    z-index: 989;
    pointer-events: all;
    
}

.edit-custom-icon {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/></svg>") no-repeat center;
    background-size: contain;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 1));
    margin: 10px;
    z-index: 989;
    pointer-events: all;
}



.settingsapp {
    background: rgba(0, 0, 0, 0);
    border: 0px;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    z-index: 999999999;
    padding: 0px;
    margin: 0px 6px;
}

.settingsapp svg {
  transition: transform 0.6s ease-in-out;
}

.settingsapp.active svg {
  animation: spin 1.2s linear infinite;
}







@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.bugsicon svg {
    height: 20px;
}

.clearlocalstorage svg {
    height: 20px;
}


.settingsmenu {
    position: fixed;
    z-index: 1000;
    display: none;
    float: right;
    right: 0;
    left: unset;
    min-height: 300px;
    padding: 10px;
    margin: 10px;
    color: #fff;
    list-style: none;
    background-clip: unset;
    border: 3px solid rgb(229 231 238 / 25%);
    border-radius: 15px;
    text-shadow: none;
    top: 40px;
    justify-content: flex-start;    
    white-space: nowrap; /* Запрещает перенос строк (сохраняет горизонтальное расположение) */  
    /* Ограничиваем максимальную ширину (опционально) */
    max-width: 80%;
    /* Чтобы блок не растягивался бесконечно */
    width: fit-content;
    background-color: var(--body-bg-color)!important;
}

.settingsmenu > div {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 5px;
    padding: 5px 5px;
}

.settingsmenu > div:hover {
    background-color: #7b7b7b4a!important;
}

.dropdown-menu {
    position: fixed;
    z-index: 1000;
    display: none;
    float: right;
    right: -15px;
    left: unset;
    min-height: 300px;
    padding: 10px 20px 30px 10px;
    margin: 0px;
    color: #fff;
    list-style: none;
    background-clip: unset;
    border: 3px solid rgb(229 231 238 / 35%);
    border-radius: 15px;
    text-shadow: none;
    bottom: 55px;
    top: unset;
    justify-content: flex-start;    
    /* white-space: nowrap; Запрещает перенос строк (сохраняет горизонтальное расположение) */  
    /* Ограничиваем максимальную ширину (опционально) */
    max-width: 100%;
    /* Чтобы блок не растягивался бесконечно */
    width: fit-content;
    background-color: var(--body-bg-color)!important;    
}

.dropdown-menu.show {
    display: block;
    color: var(--text-color);
}

.settingsmenu.show {
    display: block;
    color: var(--text-color);
    fill:  var(--text-color);
    padding: 20px;
    z-index: 9999999999;
}

.themecolor {
    padding: 0 5px;
}
.settingsmenuspan {
    padding: 0 5px;
}

.redbutton {
    margin: 15px auto;
    padding: 6px 11px;
    border-radius: 6px;
    font-size:16px;
    background-color: #d55e4f !important;
    color: #fff;
    border: unset;
}
.redbutton:hover {
    opacity: 0.7;
}


.fullscreenbutton {
    
}

#fullscreen-button svg {
    width: 20px;
    height: 20px;
}


#fullscreen-button svg:hover {
    transform: scale(1.125);
}
#fullscreen-button svg:last-child {
  display: none;
}

:fullscreen #fullscreen-button svg:first-child {
  display: none;
}

:fullscreen #fullscreen-button svg:last-child {
  display: block;
}

.site-navbar {
    display: flex;
    align-items: center;
    min-height: var(--navbar-height);
}

.site-brand {
    display: flex;
    align-items: center;
    user-select: none;
    min-height: var(--navbar-height);
}

.site-title {
    margin: 0 0.25rem;
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.033em;
    color: inherit;
    padding: 1px 0px 0px 3px;
	white-space: nowrap;
}


.page-animating {
    
}

.loaderifr {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 5;
}

html.page-animating .loaderifr {
  opacity: 1;
  pointer-events: auto;
}



#menu-state:checked ~ .site-main #content-wrap {
  transform: translate3d(var(--offcanvas), 0, 0);
}



.loaderifr-inner {transform: scale(1.2);bottom: 0;height: 60px;left: 0;margin: auto;position: absolute;right: 0;top: 0;width: 100px;}.loaderifr-line-wrap {animation: spins 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite ;box-sizing: border-box;height: 50px;left: 0;overflow: hidden;position: absolute;top: 0;transform-origin: 50% 100%;width: 100px;}.loaderifr-line {border: 4px solid transparent;border-radius: 100%;box-sizing: border-box;height: 100px;left: 0;margin: 0 auto;position: absolute;right: 0;top: 0;width: 100px;}
.loaderifr-line-wrap:nth-child(1) {animation-delay: -50ms;}
.loaderifr-line-wrap:nth-child(2) {animation-delay: -100ms;}
.loaderifr-line-wrap:nth-child(3) {animation-delay: -150ms;}
.loaderifr-line-wrap:nth-child(4) {animation-delay: -200ms;}
.loaderifr-line-wrap:nth-child(5) {animation-delay: -250ms;}
.loaderifr-line-wrap:nth-child(1) .loaderifr-line {border-color: #eb4747; height: 90px;width: 90px;top: 7px;}
.loaderifr-line-wrap:nth-child(2) .loaderifr-line {border-color: #eb4747db; height: 76px;width: 76px;top: 14px;}
.loaderifr-line-wrap:nth-child(3) .loaderifr-line {border-color: #eb4747bf; height: 62px;width: 62px;top: 21px;}
.loaderifr-line-wrap:nth-child(4) .loaderifr-line {border-color: #eb4747ab; height: 48px;width: 48px;top: 28px;}
.loaderifr-line-wrap:nth-child(5) .loaderifr-line {border-color: #eb47478f; height: 34px;width: 34px;top: 35px;}
@keyframes spins {0%, 15% {transform: rotate(0);}100% {transform: rotate(360deg);}}


#content {
  position: relative;
  min-height: 200px; /* чтобы было куда встать */
  animation-fill-mode: both;
  padding: 0px 20px 20px 20px;
}

/* когда начинается переход */
html.page-animating #content, html.page-animating #footer {
  animation-name: fadeOut;
}

/* когда контент уже заменён */
html:not(.page-animating) #content, html:not(.page-animating) #footer {
  animation-name: fadeIn;
}

#content .loaderifr {
  position: absolute;
  inset: 0;
  z-index: 10;
}

#content .loaderifr {
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

html.page-animating #content .loaderifr {
  opacity: 1;
  pointer-events: auto;
}

body {
overflow-y: scroll;
}
body.fullscreen-mode {
overflow: hidden;
}



.radiosearchcontainer {
    margin: 0 10px;
}


.radiosearchinput {
    height: 2.2rem;
    width: 250px;
}



.radiosearchinput::placeholder,
.modal-editradio input::placeholder
{
  color: var(--text-color);
  font-weight: 500;
}

.search-results-dropdown {
    overflow-y: auto;
    display: none;
    position: fixed;
    z-index: 1011;
    float: right;
    right: 0;
    left: unset;
    padding: 10px;
    margin: 10px;
    list-style: none;
    background-clip: unset;
    border: 3px solid rgb(229 231 238 / 25%);
    border-radius: 15px;
    text-shadow: none;
    top: calc(15px + var(--navbar-height));
    justify-content: flex-start;
    white-space: nowrap;
    width: fit-content;
    background-color: var(--body-bg-color) !important;
    white-space: normal;
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 10px;
}
.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.search-result-item span {
    margin: 10px 0px 10px 10px;
    opacity: 0.5;
}
.search-result-item span:first-of-type {
    font-weight: 900;
    opacity: 1;
}

.search-result-item:hover {
    background: #77777780;
}

.mainnot {
    text-align: center;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
}

.hnot {
    display: flex;
    justify-content: center;
    font-size: 17px;
    padding: 5px 10px;
    
}
.poyasnenie {
    display: flex;
    justify-content: center;
    padding: 5px 10px;
    text-align: center;    
}

.mailtext {
    display: block;
    padding: 5px 10px;
    line-height: 2.1;
    text-align: center;
    
}
.mailbtn {
    background: #77777780;
    border-radius: 5px;
    padding: 3px 5px 5px 5px;
    margin: 5px;
    cursor: pointer;
}
.mailbtn:hover {
    background: #777777bd;
}


.custom-editradio {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-editradio {
    background: var(--body-bg-color);
    padding: 24px;
    border-radius: 12px;
    width: 380px;
    max-width: 90%;
    display: block;
    text-align: center;
}
.modal-editradio input {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
}
.modal-editradio button {
    margin: 8px 6px 0 0;
    padding: 8px 16px;
}
.modal-editradio button {
    margin: 8px 6px 0 0;
    padding: 8px 16px;
    border-radius: 5px;
}
.modal-editradio button:hover {
    opacity: 0.7;
}

.filter-container-country,
.filter-container-city, 
.filter-container-genre, 
.filter-container-com 
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--btn-bg-colors);
    color: var(--text-color);
    margin: 6px;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}
.filter-btn:hover {
    opacity: 0.7;
}


#menu-state:checked~.site-sidebar {
   top: calc(14px + var(--navbar-height));
   border-top: 3px solid rgba(130, 140, 150, 0.2); 
}


.site-content {
    margin-top: calc(35px + var(--navbar-height));
    transition: margin 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.header-container {
    padding: 0 6px 0 6px;
    position: relative;
	
}


/* Кнопка лупы */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;  /* По умолчанию скрыта */
    padding: 0 5px 0 10px;
}
.lupa-icon {
    width: 30px;
    height: 30px;
}

/* Мобильный поиск */
.mobile-search-hidden {
    display: none !important;
}
.mobile-search-shown {
    display: block !important;
    width: 100%;  /* Полная ширина на мобильных */
    margin-bottom: 10px;
    position: fixed;
}







.site-navbar-right {
    display: flex;
    align-items: center;

}




.btnauth {
    background: rgba(0, 0, 0, 0);
    border: 0px;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    z-index: 999999999;
    padding: 0px;
    margin: 0px 6px;
}
.btnauth svg {
    fill: none;
}

.btnauth:hover,
.settingsapp:hover
{
    opacity: 0.6;
}



.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.auth-modal .modal-content {
  background: linear-gradient(135deg, #313137 0%, #48484d 100%);
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);

  position: relative;
  overflow: hidden;
  background: var(--body-bg-color);
}

.auth-modal h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.auth-modal p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.auth-modal #auth-error {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: rgba(213, 94, 79, 0.18);
  border: 1px solid #d55e4f;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}

.auth-modal button {
  width: 100%;
  padding: 14px 20px;
  margin: 10px 0;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-modal button:not(.redbutton) {
  background: #2a2a40;
  color: #ffffff;
}

.auth-modal button:not(.redbutton):hover {
  background: #36364f;
  transform: translateY(-1px);
}

.auth-modal button#auth-yandex {
  background: #ffcc00;
  color: #1a1a2e;
  font-weight: 600;
}

.auth-modal button#auth-yandex:hover {
  background: #ffd633;
}

.auth-modal button#auth-vk {
  background: #2787f5;
  color: white;
}

.auth-modal button#auth-vk:hover {
  background: #4a9aff;
}

.auth-modal button#auth-google {
  background: #ffffff;
  color: #333;
  border: 1px solid #dadce0;
}

.auth-modal button#auth-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.auth-modal button.redbutton {
  background: #d55e4f;
  color: white;
  margin-top: 8px;
}

.auth-modal button.redbutton:hover {
  background: #e06b5e;
}

.auth-modal button#auth-cancel {
  background: transparent;
  color: #a0a0c8;
  border: 1px solid #404060;
  margin-top: 16px;
}

.auth-modal button#auth-cancel:hover {
  background: #2a2a40;
  color: #e0e0ff;
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Анимация появления содержимого */
.auth-modal .modal-content {
  animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}







.userphoto {
border-radius: 50%;
}

.userlink, .userlinksvg {
display: none;
}





.btnexit {
cursor: pointer;
display: none;
}


.playlist {
    list-style: none;
    padding: 0;   
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    
}

.playlist-track {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s, transform 0.2s;  
    margin-left: -5px;  
}

.playlist-track:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    margin-left: -5px;
}

.playlist-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d55e4f;
    min-width: 90px;
    text-align: center;
    margin: 20px 0px 20px 5px;
}

.playlist-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px 20px 10px;
}

.playlist-img {
    width: 70px;
    border-radius: 10px;
 }   
    
.action {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    min-width: 60px;
    text-align: center;
    margin: 20px;
}






/* ДРУГИЕ РАЗРЕШЕНИЯ */



@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}  


/* 1390px */
@media (max-width: 1390px){
    

    
    
.dropdown-menu {
    position: fixed;
    z-index: 1000;
    display: none;
    float: right;
    right: 0;
    left: unset;
    min-height: 310px;
    padding: 10px 10px 25px 10px;
    margin: 0px;
    color: #fff;
    list-style: none;
    background-clip: unset;
    border-radius: 0px;
    text-shadow: none;
    bottom: 65px;
    top: unset;
    justify-content: flex-start;    
    /* white-space: nowrap; Запрещает перенос строк (сохраняет горизонтальное расположение) */  
    /* Ограничиваем максимальную ширину (опционально) */
    max-width: 100%;
    /* Чтобы блок не растягивался бесконечно */
    width: fit-content;
    background-color: var(--body-bg-color)!important;
    border: unset;
    border-block-start: 3px solid rgb(229 231 238 / 35%);
}
    
    
    
    
}

 
/* 1200px */
@media (max-width: 1200px){
    
    
    
    
.dropdown-menu {
    position: fixed;
    z-index: 1000;
    display: none;
    float: right;
    right: 0;
    left: unset;
    min-height: 300px;
    padding: 10px 10px 20px  10px;
    margin: 0px;
    color: #fff;
    list-style: none;
    background-clip: unset;
    border-block-start: 3px solid rgb(229 231 238 / 35%);
    border-radius: 0px;
    text-shadow: none;
    bottom: 66px;
    top: unset;
    justify-content: flex-start;    
    /* white-space: nowrap; Запрещает перенос строк (сохраняет горизонтальное расположение) */  
    /* Ограничиваем максимальную ширину (опционально) */
    max-width: 100%;
    /* Чтобы блок не растягивался бесконечно */
    width: fit-content;
    background-color: var(--body-bg-color)!important;    
}
    
    
    
    
    
    
    
    
    
    
.plyr__info {

    
}
}
/* 1200px */


/* 990px */
@media (max-width: 990px){
.small-icon {
    width: 122px;
}
.radio-container {
margin:unset; 
}
.radio-container1 {
display: flex;
justify-content: center;
margin-bottom: 10px;  
}
.radio-container2 {
display: flex!important;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;    
}
.big-logo {
      float: unset;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
}
.plyr__info {
    /* opacity:0!important; */
}

.time-left {
    font-size: 26px;
    left: 66px;
    position: fixed;
    width: 120px;
}
.otrackcontheight {
    margin: 20px 6px 0px 7px!important;
}

}
/* 990px */






/* 768px */
@media (max-width: 768px) {

 #content {
  padding: 0px 5px 20px 5px;
}   
    
.site-content {
    margin-top: calc(20px + var(--navbar-height));
}
    
.stations-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
.favstations-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    
    
#song {font-size: 1.2em;}   
    

.content .metadata-container .show-info-card .card-frame {
margin-top: 15px;
}
.small-icon {
    width: 122px;
}
.otrackcontheight {
    min-width: auto;
    min-height: auto;
    margin: 20px 6px 0px 7px!important;
}
    
    
}
/* 767px */


/* 600px */
@media (max-width: 600px) {
.radiosearchcontainer {
    margin: calc(70px + var(--navbar-height)) 0px auto 0px;
    background-color: var(--body-bg-color) !important;
    padding: 20px 10px 30px 10px;
    z-index: 9999999;
    left: 0;
    
}
    
.radiosearchinput {
    width: 100%;

}

.search-results-dropdown {
    max-width: 100%;
    inset: calc(50px + var(--navbar-height)) 0px auto 0px;
}

}
/* 600px */




/* 430px */
@media (max-width: 430px){
.time-left {
        font-size: 20px;
        left: 50px;
        margin-top: 4px;
}



}
/* 430px */


/* 410px */
@media (max-width: 410px){
.radio-container {
margin:0px 0px 0px 0px; 
}
.radio-container1 {
margin-bottom: 0px;
} 
.radio-container2 {
display: flex!important;
}   
.small-icon {
width: 85px;
}    
 .cardframemain {
width: 281px;
height: 281px;
}


}
/* 410px */
    
/* 1284×2778 pixels at 460ppi iPhone 14 Pro Max, iPhone 15 Plus and iPhone 15 Pro Max:
only screen and (width: 430px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) */
@media only screen and (width: 430px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
/*
.site-navbar {
    display: flex;
    align-items: flex-end;
    min-height: 100px;
	padding-bottom: 10px;
}
.site-brand .menu-toggle {
    padding: 10px 10px 5px 10px;
}
.site-logo {
    padding: 12px 0px 0px 10px;
}
.site-title {
    padding: 0px 0px 4px 0px;
}
.bugsicon {
    max-width: 37px;
    padding: 5px 5px 0px 5px;
    margin-right: 20px;
}	
.theme-color, .theme-switch {
    display: inline-flex;
    align-items: center;
    margin: 0 0 -5px 0;
}	
.site-navbar {
    margin-bottom: 0px;
}
.site-content {
    margin-top: calc(70px + var(--navbar-height));
    transition: margin 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}	
#menu-state:checked~.site-sidebar {
    top: 0;
    padding-top: 46px;
    z-index: 100000;
    transform: none !important;
	background-color: #313137;
	padding-bottom: 150px;
}
 */	
.site-header { /*  добавляет отступ на айфонах  */
  /*  top: -10px;  */	
}
:root {
    --plyr-control-height: calc( var(--plyr-control-icon-size, 18px) + var(--plyr-control-spacing, 10px) * 1.4 + 66px);
}	


}