@charset "UTF-8";

/* cyrillic */
@font-face {
    font-family: 'Russo One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(Z9XUDmZRWg6M1LvRYsHOy8mJrrg.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Russo One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(Z9XUDmZRWg6M1LvRYsHOwcmJrrg.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Russo One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(Z9XUDmZRWg6M1LvRYsHOz8mJ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }




/* Общие свойства для всех баннеров */
.yandex-side-banner-left-city-bottom,
.yandex-side-banner-left-city-center,
.yandex-side-banner-right-city-bottom,
.yandex-side-banner-right-city-center,
.yandex-side-banner-left-goose-bottom,
.yandex-side-banner-right-goose-bottom,
.yandex-side-banner-left-goose-center,
.yandex-side-banner-right-goose-center {
  position: fixed;
  height: auto;
  display: flex;
  z-index: 1000;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  animation: aggressiveGlitch 180s infinite ease-in-out;
}

/* Левый край — выезд слева */
.yandex-side-banner-left-city-bottom,
.yandex-side-banner-left-city-center,
.yandex-side-banner-left-goose-bottom,
.yandex-side-banner-left-goose-center {
  left: 1vh;
  --glitch-offset: -120%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Правый край — выезд справа */
.yandex-side-banner-right-city-bottom,
.yandex-side-banner-right-city-center,
.yandex-side-banner-right-goose-bottom,
.yandex-side-banner-right-goose-center {
  right: 1vh;
  --glitch-offset: 120%;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

/* Размеры и размещение */
.yandex-side-banner-left-goose-bottom,
.yandex-side-banner-right-goose-bottom {
  bottom: 1vh;
  width: 40vh;
  max-height: 20vh;
}

.yandex-side-banner-right-city-center,
.yandex-side-banner-left-city-center,
.yandex-side-banner-left-goose-center,
.yandex-side-banner-right-goose-center {
  top: 30vh;
  width: 40vh;
  max-height: 20vh;
}

.yandex-side-banner-left-city-bottom,
.yandex-side-banner-right-city-bottom {
  bottom: 15vh;
  width: 45vh;
  max-height: 15vh;
}




@keyframes aggressiveGlitch {
  0%, 30% {
    opacity: 0;
    transform: translateX(var(--glitch-offset, 0));
    filter: none;
  }

  30.025% {
    opacity: 0.5;
    transform: translateX(0);
    filter: none;
  }

  30.05% {
    transform: translate(-5px, 3px) skewX(5deg);
    filter: contrast(1000%) hue-rotate(45deg) brightness(1.5);
  }

  30.075% {
    transform: translate(3px, -4px) skewY(-4deg);
    filter: grayscale(60%) hue-rotate(-10deg);
  }

  30.1% {
    transform: translate(-2px, 2px);
    filter: contrast(1000%) saturate(3);
  }

  30.125% {
    transform: none;
    filter: none;
    opacity: 1;
  }

  30.15%, 55% {
    opacity: 1;
    transform: none;
    filter: none;
  }

  55.025% {
    opacity: 0.5;
    transform: translate(0px, 0px);
    filter: none;
  }

  55.05% {
    transform: translate(4px, -3px) skewX(-5deg);
    filter: contrast(1000%) hue-rotate(-45deg) brightness(0.5);
  }

  55.075% {
    transform: translate(-3px, 5px) skewY(4deg);
    filter: grayscale(80%) hue-rotate(30deg) saturate(2);
  }

  55.1% {
    transform: translate(2px, -2px);
    filter: contrast(1000%) brightness(1.3);
  }

  55.125% {
    transform: none;
    filter: none;
    opacity: 0.5;
  }

  55.15% {
    opacity: 0;
    transform: translateX(var(--glitch-offset, 0));
  }

  55.175%, 100% {
    opacity: 0;
    transform: translateX(var(--glitch-offset, 0));
    filter: none;
  }
}







/* Контейнер поиска */
.station-search-wrapper, .city-search-wrapper {
    position: sticky;
    top: 0;
    z-index: 100; 
    padding: 5px 0; 
    margin-bottom: 10px; /* Отступ снизу */

}


/* Поле ввода */
.station-search-input, .city-search-input {
    width: 160px;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: #000;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.station-search-input:focus, .city-search-input:focus {
    border-color: #ff4500;
}

/* Кнопка очистки */
.clear-search-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ccc;
    font-size: 30px;
    cursor: pointer;
    padding: 0 5px;
    display: none; /* Скрыта по умолчанию */
}

.clear-search-button:hover {
    color: #ff4500;
}







.yandex-ad-wrapper-160 {
    height: 400px;
    width: 160px;
    max-width: 100%;
    overflow: hidden;
}

.yandex-ad-wrapper-350 {
    height: 350px;
    width: 350px;
    max-width: 100%;
    overflow: hidden;
}

  .player-cover-title {
    width: 100%;
    max-width: 100%;
    text-shadow: 0 0.1vw 0.25vw #000;
    }

.song-artist {
    padding-top: 1rem;
}



.song-artist, 
.song-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 1500px; /* Можно регулировать по необходимости */
    margin: 0 auto; /* Центрируем в родительском блоке */
    text-align: center; /* Текст будет центрирован до обрезки */
}

/* Для мобильных устройств можно уменьшить max-width */
@media (max-width: 1023px) {
    .song-artist,
    .song-name {
        max-width: 400px;
    }
}







/* стиль разделов в истории трека */

  .history-nowplaying-title,
  .history-previous-title {
      color: white;
      font-size: 2em;
      text-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
      text-align: center;
      margin: 8px 0;
  }



.history-nowplaying {
    animation: slideInRight 0.5s ease-out;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
}







.weather {

    position: fixed;
    bottom: 2%;
    right: 3%;
    color: rgba(255,255,255,0.8);
    text-align: right;
    text-shadow: 0 0.1vw 0.25vw #000;

}

.city-weather {
    font-size: 1.5em;
}


.current-temp {
    font-size: 3em;
}


  @media (max-width: 1023px) {
    .city-weather {
        font-size: 1em;
    }
    
    .current-temp {
        font-size: 1.25em;
    }


      .weather {
        display: none;
 /*       position: fixed;
        left: 3%;
        bottom: 1%;
        color: rgba(255,255,255,0.8);

*/
      }




    }





  .datetime {
    position: fixed;
    left: 3%;
    bottom: 2%;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 0.1vw 0.25vw #000;
  }

  .day-style {
    font-size: 1.5em;
  }
  
  .time-style {
    font-size: 3em;
    
  }

  .time-2dot {
    font-size: 3em;
    animation: blink 1s step-end infinite; 
  }
  
  @keyframes blink { 
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }



  @media (max-width: 1023px) {
    .day-style {
        font-size: 1em;
    }
    
    .time-style {
        font-size: 1.25em;
    }

      .datetime {
        display: none;
   /*
        position: fixed;
        left: 3%;
        bottom: 1%;
        color: rgba(255,255,255,0.8);
   */     
      }




    }
  











:root {
    --primary: #ff4500;
    --bg-body: #262626;
    --bg-app: #0a0a0a;
    --bg-inset: #404040;
    --bg-transparent: rgb(0 0 0 / 25%);
    --bg-modal: #00000080;
    --bg-dark: rgb(0 0 0 / 75%);
   /* --bg-gradient: linear-gradient(140deg, #a92bcd, #439bc1); */
    --color-title: #ffffff;
    --color-text: rgb(255 255 255 / 50%);
    --duration: 0.1s;
    --container: 1480px;
    --spacer: 1rem;
    --shadow-l: 0px 8px 17px 2px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12), 0px 5px 5px -3px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12), 0px 8px 10px -7px rgba(0, 0, 0, 0.2);
    --scrollbar-color: #ff4500cc;
    --main-padding: 1rem;
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}
*,
::after,
::before {
    box-sizing: border-box;
}
body,
html {
 /*   overflow: hidden; */
  /*  height: 100%; */
}
* {
    margin: 0;
}
fieldset,
legend {
    padding: 0;
}
fieldset,
iframe {
    border-width: 0;
}
a {
    color: inherit;
    text-decoration: none;
    color: var(--primary);
    transition: color var(--duration);
}

address {
    font-style: normal;
    line-height: inherit;
}
abbr[title] {
    text-decoration: underline dotted;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
button,
input,
optgroup,
select,
textarea {
    padding: 0;
    border-width: 0;
    font-size: 100%;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}
input:focus,
textarea:focus {
    outline: 0;
}
textarea {
    resize: vertical;
}
button,
select {
    text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
}
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}
progress {
    vertical-align: baseline;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
summary {
    display: list-item;
}
[hidden] {
    display: none;
}
dd,
dl,
ol,
ul {
    list-style: none;
    padding: 0;
}
table {
    border-collapse: collapse;
    max-width: 100%;
}
tbody,
td,
th,
thead,
tr {
    border-width: 0;
    text-align: inherit;
}
tr > * {
    padding: 0.75rem;
    word-break: normal;
}
canvas,
img,
svg,
video {
    height: auto;
}
source {
    display: none;
}
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    max-width: 100%;
}
audio,
video {
    width: 100%;
}
body {
 /*   overflow: hidden;   */
    background-size: cover;
    background-color: var(--bg-body);
    color: var(--color-text);
    font-family: Russo One, sans-serif;
    transition: background-color var(--duration);
}



body.preload {
    overflow: hidden; /* блокирует скролл */
}

body.preload::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* или другой цвет подложки */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
}

/* Альтернатива: создать CSS-анимацию прямо на псевдоэлементе */
body.preload::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 5px solid #ccc;
    border-top-color: #ff4500;
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
    z-index: 10000;
}

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







/*

@media (max-width: 1023px) {
    body,
    html {
        overflow: hidden;
    }
}


*/



.station-description {
    color: #fff;
    opacity: 0.7;
}




::-webkit-resizer {
    display: none;
}
b,
strong {
    font-weight: 400;
    color: var(--color-title);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: var(--btn-gap, 0.5rem);
    background-color: var(--btn-bg, var(--bg-transparent));
    padding: var(--btn-padding, 0.75rem);
    color: var(--btn-color, var(--color-title));
    font-size: var(--btn-fs, 0.875rem);
    font-weight: 400;
    border-radius: 999px;
    line-height: 1.5;
    transition-property: box-shadow, background-color, color;
    transition-duration: var(--duration);
    text-transform: uppercase;
    background-color: #FF4500aa;
    text-shadow: 0 0.1vw 0.25vw #000;
}
.btn:hover {
    color: var(--btn-color-hover, var(--color-title));
    color: white ;
    background-color: #FF4500;
}
.btn-full {
    width: 100%;
    justify-content: center;
}
.truncate {
 /*   overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
}
.truncate-line {
    display: -webkit-box;
    -webkit-line-clamp: var(--line-clamp, 2);
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.app {
    background-color: var(--bg-app);
    position: fixed;
    overflow: hidden; 
    height: 100%;
    width: 100%;
}
.app::after {
    content: "";
    inset: 0;
    position: absolute;
    background-image: linear-gradient(transparent 70%, #000);
    z-index: 5;
}
.header {
    position: absolute;
    width: 100%;
    z-index: 50;
}
.header-wrapper {
    padding: var(--main-padding);
}
.header-logo-img {
    height: 80px;
    border-radius: 10%;
}
.toggle-options {
    gap: 0.5rem;
}
@media (min-width: 1024px) {
    :root {
        --main-padding: 3vw;
    }
    .btn {
        --btn-fs: 1.1vw;
        --btn-padding: 0.75vw;
        --i-size: 2.25vw; /* РАЗМЕР КНОПОК */
        --btn-gap: 0.5vw;
    }
    .header-logo-img {
        max-width: 10vw;
        height: auto;
    }
    .toggle-options {
        gap: 0.5vw;
    }
}
@media (max-width: 1023px) {
 /*   .header {
        background: var(--accent, var(--bg-gradient));
        box-shadow: var(--shadow-l);
    }

    */
    .toggle-options {
        --btn-fs: 0;
        --btn-gap: 0;
        --i-size: 32px; /* РАЗМЕР КНОПОК */
    }
}
.main > * + * {
    margin-top: 3rem;
}
.scrollbar {
    overflow: auto;
    scrollbar-color: var(--scrollbar-color) transparent;
    scrollbar-width: thin;
}
.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}
.scrollbar::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 5px;
}
.scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-color);
    border-radius: 10px;
}
.dropdown {
    position: absolute;
    width: 140px;
    background-color: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 1rem;
    left: 50%;
    box-shadow: var(--shadow-l);
    transform: translateX(-50%);
    bottom: calc(100% + 0.5rem);
    transition: opacity var(--duration), transform var(--duration);
}
.dropdown:not(.is-active) {
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-1rem);
}







.i {
    stroke-width: var(--i-stroke, 2);
    width: var(--i-size, 32px);
    height: var(--i-size, 32px);
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    
}
@keyframes pulse {
    from {
        opacity: 0;
    }
    50% {
        opacity: 0.2;
    }
    to {
        transform: scale(1.5);
        opacity: 0;
    }
}
.player {
    padding: 2rem;
    position: fixed;
    inset: 0;
    z-index: 10;
 /*   overflow: hidden;   заблокировал прокрутку  */
    overflow-y: auto;    /*  прокрутка по вертикали */
}

/*  отступ обложки от верха на мобилах  */

@media (max-width: 576px) {
    .player {
        padding-top: calc(0rem + 100px);
    }
}


.player-cover-image {
    --cover-blurred: 1rem;
    position: absolute;
    z-index: 0;
    object-fit: cover;
    object-position: center;
    transition: opacity calc(var(--duration) * 3);
    filter: blur(var(--cover-blurred));

    inset: calc(var(--cover-blurred) * -5);
    width: calc(100% + var(--cover-blurred) * 10);
    height: calc(100% + var(--cover-blurred) * 10);
    animation: bga 30s linear infinite;
}

@keyframes bga {
    50% {
        transform: scale(2);
    }
}

.player-wrapper {
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    z-index: 10;
}
.player-artwork {
    background-color: var(--primary);
    border-radius: calc(1rem + 1vw);
    box-shadow: var(--shadow-l);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    min-width: 100px;
    aspect-ratio: 1/1;
    display: flex;
    padding: 0.75rem;
    border-radius: 1rem;
    background-color: #ffffff00;
}
.player-artwork img {
    transition: transform calc(var(--duration) * 3);
    border-radius: 0.65rem;
    box-shadow: var(--shadow-xl);
}
.player-controller {
    padding-top: 1.0rem;  /* отступ кнопок плеера */
    display: flex;
    align-items: center;
    gap: 1rem; 
}
.player-volume {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.player-range-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: background-color var(--duration);
    background-color: var(--accent, var(--primary));
}
.player-range-wrapper {
    position: relative;
    height: 2px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.25);
}
.player-range-thumb {
    width: 15px;
    height: 15px;
    transition: background-color var(--duration);
    background-color: var(--accent, var(--primary));
    border-radius: 5rem;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    cursor: pointer;
}
.player-button {
    color: rgb(0, 0, 0);

    position: relative;
    padding: 0.5rem;
    border-radius: 999px;
    transition: background-color var(--duration);
    background-color: var(--accent, var(--bg-transparent));
    color: #fff !important;
    transition: color #000000;
    
}
@media (min-width: 1024px) {
  
    .player-controller {
         padding-top: 1.0rem;  /* уберем отступ кнопок плеера */
         gap: 2rem;
    }
    .player-button {
        --i-size: 2vw;
    }
    .player-section-audio {
        max-width: 390px;
    }
}


/* скрывать громкость */ 

@media (max-width: 1023px) {
    .player-button-volume {
        display: none;
    }
}



.player-button.is-active,
.player-button:hover {
    color: #fff;
    color: #ffffff !important;
}
.player-button-play {
    padding: 1.25rem;
    border-radius: 999px;
    transition: background-color var(--duration);
    background-color: var(--accent, var(--bg-transparent));
    background-color: #FF4E10;
}
.player-button-play::after,
.player-button-play::before {
    pointer-events: none;
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #fff;
    border-radius: 50%;
    z-index: -1;
    inset: 0;
    opacity: 0;
    animation: 2s ease-out infinite pulse;
    display: var(--pulse-state, none);
    background-color: #EC4911;
}
.player-button-play:after {
    animation-delay: 1s;
}
.player-button-play:active,
.player-button-play:focus {
    outline: 0;
}
.player-button-play.is-active {
    --pulse-state: block;
}
.player-section-audio {
    flex: none;
}
.player-section-meta {
    width: 100%;
}











.player-program {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
    color: #fff;
    text-transform: uppercase;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    z-index: 10;
    inset: auto 0 0;
}


.player-program-badge {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    background-color: #c62828;
    border-radius: 0.5rem;
}
.player-program-time-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.player-program-name {
    font-weight: 400;
    font-family: "Russo One", sans-serif; /* akira expanded заменил на Arial  */
}
.player-program-description {
    font-size: 0.875rem;
}









.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    padding: 10px;
    margin-top: 20px;
}

.city {
    transition: opacity var(--duration);
    position: relative; /* Для позиционирования псевдоэлемента */
}

.city-img {
    width: 160px;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-l);
    border-radius: 0.5rem;
    border: 3px solid #ffffff00;
    padding: 0.15rem;
    position: relative;
}

.city:not(.is-active) {
    opacity: 1;
}

.city.is-active::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 17px;
    height: 17px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 1;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.city:hover {
    opacity: 1;
}


.city-name {
    text-shadow: 0 0 5px black;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    text-transform: uppercase;
    color: white;
    user-select: none;
    max-width: 90%; /* Ограничиваем ширину по родительскому элементу */
    white-space: nowrap; /* Текст не переносится */
    overflow: hidden; /* Обрезаем выходящий текст */
    text-overflow: ellipsis; /* Добавляем многоточие */
}



.city-wrapper {
    position: relative;
    display: inline-block;
}





.station {
    transition: opacity var(--duration);
    position: relative; /* Для позиционирования псевдоэлемента */
}
.station-img {
    width: 160px;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-l);
    border-radius: 0.5rem;
    border: 3px solid #ffffff00;
    padding: 0.15rem;
    position: relative; /* Для z-index */
}
.station:not(.is-active) {
    opacity: 1;
}
.station.is-active::after {
     content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 17px;
    height: 17px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 1;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}




.station:hover {
    opacity: 1;
}


.history {
    --cols-min: 20rem;
}
.history-item {
    padding: 0.75rem;
    background-color: #ff450080;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-l);
    width: 100%;
    position: relative;
    padding-right: calc(0.75rem + 35px);
    max-width: 350px;
    overflow: hidden;
    z-index: 1;
}
.history-item::before {
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
    background: var(--accent);
    opacity: 0.5;
}
.history-spotify {
    bottom: 0.75rem;
    right: 0.75rem;
    position: absolute;
    color: #fff;
    transition: opacity var(--duration);
}
.history-spotify:not(:hover) {
    opacity: 1;
}
.history-spotify[href="#not-found"] {
    opacity: 1;
    pointer-events: none;
}
.history-image {
    width: 64px;
    aspect-ratio: 1/1;
}
.history-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 10%;
}
.visualizer {
    position: absolute;
    filter: url(#goose);
    inset: auto -20px -20px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    opacity: 0.5;
}
.visualizer-filter {
    display: none;
}

.offcanvas {

    display: flex;
    flex-direction: column;
    gap: 1rem; /* Отступ между кнопкой и контентом */

    max-width: 380px;

    background-color: var(--bg-modal);
    inset: 0 0 0 auto;
    position: absolute;
    padding: 1.5rem;
    z-index: 120;
    box-shadow: var(--shadow-xl);
    transition: transform var(--duration), opacity var(--duration);
    backdrop-filter: blur(1rem);
    
}
.offcanvas:not(.is-active) {
    transform: translateX(110%);
    pointer-events: none;
    opacity: 0;
}



.offcanvas [data-close] {
    align-self: flex-end; /* Кнопка вправо */
    margin-bottom: 0;
}





















.absolute {
    position: absolute;
}
.relative {
    position: relative;
}
.fixed {
    position: fixed;
}
.sticky {
    position: sticky;
}
.z-10 {
    z-index: 10;
}
.z-20 {
    z-index: 20;
}
.z-30 {
    z-index: 30;
}
.z-40 {
    z-index: 40;
}
.z-50 {
    z-index: 50;
}
.z-60 {
    z-index: 60;
}
.z-70 {
    z-index: 70;
}
.z-80 {
    z-index: 80;
}
.z-90 {
    z-index: 90;
}
.z-100 {
    z-index: 100;
}
.g-0\.25 {
    gap: 0.25rem;
}
.g-0\.5 {
    gap: 0.5rem;
}
.g-0\.75 {
    gap: 0.75rem;
}
.g-0\.875 {
    gap: 0.875rem;
}
.g-1 {
    gap: 1rem;
}
.g-1\.25 {
    gap: 1.25rem;
}
.g-1\.5 {
    gap: 1.5rem;
}
.g-1\.75 {
    gap: 1.75rem;
}
.g-2 {
    gap: 2rem;
}
.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
.inline {
    display: inline;
}
.flex {
    display: flex;
}
.inline-flex {
    display: inline-flex;
}
.grid {
    display: grid;
}
.inline-grid {
    display: inline-grid;
}
.none {
    display: none;
}
.items-start {
    align-items: flex-start;
}
.items-end {
    align-items: flex-end;
}
.items-center {
    align-items: center;
}
.justify-start {
    justify-content: flex-start;
}
.justify-end {
    justify-content: flex-end;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-around {
    justify-content: space-around;
}
.justify-evenly {
    justify-content: space-evenly;
}
.row {
    flex-direction: row;
}
.column {
    flex-direction: column;
}
@media (min-width: 1024px) {
    .s\:g-0\.25 {
        gap: 0.25rem;
    }
    .s\:g-0\.5 {
        gap: 0.5rem;
    }
    .s\:g-0\.75 {
        gap: 0.75rem;
    }
    .s\:g-0\.875 {
        gap: 0.875rem;
    }
    .s\:g-1 {
        gap: 1rem;
    }
    .s\:g-1\.25 {
        gap: 1.25rem;
    }
    .s\:g-1\.5 {
        gap: 1.5rem;
    }
    .s\:g-1\.75 {
        gap: 1.75rem;
    }
    .s\:g-2 {
        gap: 2rem;
    }
    .s\:block {
        display: block;
    }
    .s\:inline-block {
        display: inline-block;
    }
    .s\:inline {
        display: inline;
    }
    .s\:flex {
        display: flex;
    }
    .s\:inline-flex {
        display: inline-flex;
    }
    .s\:grid {
        display: grid;
    }
    .s\:inline-grid {
        display: inline-grid;
    }
    .s\:none {
        display: none;
    }
    .s\:row {
        flex-direction: row;
    }
    .s\:column {
        flex-direction: column;
    }
}
@media (min-width: 1024px) {
    .m\:g-0\.25 {
        gap: 0.25rem;
    }
    .m\:g-0\.5 {
        gap: 0.5rem;
    }
    .m\:g-0\.75 {
        gap: 0.75rem;
    }
    .m\:g-0\.875 {
        gap: 0.875rem;
    }
    .m\:g-1 {
        gap: 1rem;
    }
    .m\:g-1\.25 {
        gap: 1.25rem;
    }
    .m\:g-1\.5 {
        gap: 1.5rem;
    }
    .m\:g-1\.75 {
        gap: 1.75rem;
    }
    .m\:g-2 {
        gap: 2rem;
    }
    .m\:block {
        display: block;
    }
    .m\:inline-block {
        display: inline-block;
    }
    .m\:inline {
        display: inline;
    }
    .m\:flex {
        display: flex;
    }
    .m\:inline-flex {
        display: inline-flex;
    }
    .m\:grid {
        display: grid;
    }
    .m\:inline-grid {
        display: inline-grid;
    }
    .m\:none {
        display: none;
    }
    .m\:row {
        flex-direction: row;
    }
    .m\:column {
        flex-direction: column;
    }
}
@media (min-width: 1024px) {
    .l\:g-0\.25 {
        gap: 0.25rem;
    }
    .l\:g-0\.5 {
        gap: 0.5rem;
    }
    .l\:g-0\.75 {
        gap: 0.75rem;
    }
    .l\:g-0\.875 {
        gap: 0.875rem;
    }
    .l\:g-1 {
        gap: 1rem;
    }
    .l\:g-1\.25 {
        gap: 1.25rem;
    }
    .l\:g-1\.5 {
        gap: 1.5rem;
    }
    .l\:g-1\.75 {
        gap: 1.75rem;
    }
    .l\:g-2 {
        gap: 2rem;
    }
    .l\:block {
        display: block;
    }
    .l\:inline-block {
        display: inline-block;
    }
    .l\:inline {
        display: inline;
    }
    .l\:flex {
        display: flex;
    }
    .l\:inline-flex {
        display: inline-flex;
    }
    .l\:grid {
        display: grid;
    }
    .l\:inline-grid {
        display: inline-grid;
    }
    .l\:none {
        display: none;
    }
    .l\:row {
        flex-direction: row;
    }
    .l\:column {
        flex-direction: column;
    }
}
@media (min-width: 1024px) {
    .xl\:g-0\.25 {
        gap: 0.25rem;
    }
    .xl\:g-0\.5 {
        gap: 0.5rem;
    }
    .xl\:g-0\.75 {
        gap: 0.75rem;
    }
    .xl\:g-0\.875 {
        gap: 0.875rem;
    }
    .xl\:g-1 {
        gap: 1rem;
    }
    .xl\:g-1\.25 {
        gap: 1.25rem;
    }
    .xl\:g-1\.5 {
        gap: 1.5rem;
    }
    .xl\:g-1\.75 {
        gap: 1.75rem;
    }
    .xl\:g-2 {
        gap: 2rem;
    }
    .xl\:block {
        display: block;
    }
    .xl\:inline-block {
        display: inline-block;
    }
    .xl\:inline {
        display: inline;
    }
    .xl\:flex {
        display: flex;
    }
    .xl\:inline-flex {
        display: inline-flex;
    }
    .xl\:grid {
        display: grid;
    }
    .xl\:inline-grid {
        display: inline-grid;
    }
    .xl\:none {
        display: none;
    }
    .xl\:row {
        flex-direction: row;
    }
    .xl\:column {
        flex-direction: column;
    }
}
.wrap {
    flex-wrap: wrap;
}
.wrap-reverse {
    flex-wrap: wrap-reverse;
}
.nowrap {
    flex-wrap: nowrap;
}
.flex-1 {
    flex: 1 1 0;
}
.flex-auto {
    flex: auto;
}
.flex-initial {
    flex: initial;
}
.flex-none {
    flex: none;
}
.content-start {
    align-content: flex-start;
}
.content-end {
    align-content: flex-end;
}
.content-center {
    align-content: center;
}
.content-between {
    align-content: space-between;
}
.content-around {
    align-content: space-around;
}
.content-evenly {
    align-content: space-evenly;
}
.auto-fill {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--cols-min, 16rem)), 1fr));
}
.auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cols-min, 16rem)), 1fr));
}

.events-none {
    pointer-events: none;
}
.events-auto {
    pointer-events: auto;
}
.color-primary {
    color: var(--primary);
}
.color-text {
    color: var(--color-text);
}
.color-title {
    color: var(--color-title);
}
.fs-1 {
    font-size: 2.5rem;
}
.fs-2 {
    font-size: 1.75rem;
}
.fs-3 {
    font-size: 1.5rem;
}
.fs-4 {
    font-size: 1.25rem;
}
.fs-5 {
    font-size: 1.125rem;
}
.fs-6 {
    font-size: 1rem;
}
.fs-7 {
    font-size: 0.875rem;
}
.fs-8 {
    font-size: 0.75rem;
}
@media (min-width: 1024px) {
    .s\:fs-1 {
        font-size: 2.5rem;
    }
    .s\:fs-2 {
        font-size: 1.75rem;
    }
    .s\:fs-3 {
        font-size: 1.5rem;
    }
    .s\:fs-4 {
        font-size: 1.25rem;
    }
    .s\:fs-5 {
        font-size: 1.125rem;
    }
    .s\:fs-6 {
        font-size: 1rem;
    }
    .s\:fs-7 {
        font-size: 0.875rem;
    }
    .s\:fs-8 {
        font-size: 0.75rem;
    }
}
@media (min-width: 1024px) {
    .m\:fs-1 {
        font-size: 3.5rem;
    }
    .m\:fs-2 {
        font-size: 1.75rem;
    }
    .m\:fs-3 {
        font-size: 1.5rem;
    }
    .m\:fs-4 {
        font-size: 1.25rem;
    }
    .m\:fs-5 {
        font-size: 1.125rem;
    }
    .m\:fs-6 {
        font-size: 1rem;
    }
    .m\:fs-7 {
        font-size: 0.875rem;
    }
    .m\:fs-8 {
        font-size: 0.75rem;
    }
}
@media (min-width: 1024px) {
    .l\:fs-1 {
        font-size: 2.5rem;
    }
    .l\:fs-2 {
        font-size: 1.75rem;
    }
    .l\:fs-3 {
        font-size: 1.5rem;
    }
    .l\:fs-4 {
        font-size: 1.25rem;
    }
    .l\:fs-5 {
        font-size: 1.125rem;
    }
    .l\:fs-6 {
        font-size: 1rem;
    }
    .l\:fs-7 {
        font-size: 0.875rem;
    }
    .l\:fs-8 {
        font-size: 0.75rem;
    }
}
@media (min-width: 1024px) {
    .xl\:fs-1 {
        font-size: 2.5rem;
    }
    .xl\:fs-2 {
        font-size: 1.75rem;
    }
    .xl\:fs-3 {
        font-size: 1.5rem;
    }
    .xl\:fs-4 {
        font-size: 1.25rem;
    }
    .xl\:fs-5 {
        font-size: 1.125rem;
    }
    .xl\:fs-6 {
        font-size: 1rem;
    }
    .xl\:fs-7 {
        font-size: 0.875rem;
    }
    .xl\:fs-8 {
        font-size: 0.75rem;
    }
}
.fw-100 {
    font-weight: 100;
}
.fw-200 {
    font-weight: 200;
}
.fw-300 {
    font-weight: 300;
}
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-800 {
    font-weight: 800;
}
.fw-900 {
    font-weight: 900;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}
.capitalize {
    text-transform: capitalize;
}
.uppercase {
    text-transform: uppercase;
}
.lowercase {
    text-transform: lowercase;
}
.underline {
    text-decoration: underline;
}
.line-through {
    text-decoration: line-through;
}
