@font-face {
    font-family: 'helvetica-thin';
    src: url('/fonts/helvetica/helvetica-thin.eot'),
         url('/fonts/helvetica/helvetica-thin.woff') format('woff'),
         url('/fonts/helvetica/helvetica-thin.ttf') format('truetype'),
         url('/fonts/helvetica/helvetica-thin.svg') format('svg');

}

@font-face {
    font-family: 'helvetica-light';
    src: url('/fonts/helvetica/helvetica-light.eot'),
         url('/fonts/helvetica/helvetica-light.woff') format('woff'),
         url('/fonts/helvetica/helvetica-light.ttf') format('truetype'),
         url('/fonts/helvetica/helvetica-light.svg') format('svg');

}

@font-face {
    font-family: 'helvetica-regular';
    src: url('/fonts/helvetica/helvetica-regular.eot'),
         url('/fonts/helvetica/helvetica-regular.woff') format('woff'),
         url('/fonts/helvetica/helvetica-regular.ttf') format('truetype'),
         url('/fonts/helvetica/helvetica-regular.svg') format('svg');

}

@font-face {
    font-family: 'helvetica-medium';
    src: url('/fonts/helvetica/helvetica-medium.eot'),
         url('/fonts/helvetica/helvetica-medium.woff') format('woff'),
         url('/fonts/helvetica/helvetica-medium.ttf') format('truetype'),
         url('/fonts/helvetica/helvetica-medium.svg') format('svg');

}

@font-face {
    font-family: 'helvetica-bold';
    src: url('/fonts/helvetica/helvetica-bold.eot'),
         url('/fonts/helvetica/helvetica-bold.woff') format('woff'),
         url('/fonts/helvetica/helvetica-bold.ttf') format('truetype'),
         url('/fonts/helvetica/helvetica-bold.svg') format('svg');

}

::selection {
    background: #FFFFFF;
    color: #000000;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: #000000;
    font-weight: 100;
    overflow: hidden;
}

img {
    display: block;
}

.preload {
    background: url('img/u-radio-btn-pause.svg') center center no-repeat;
    background: url('img/u-radio-btn-play.svg') center center no-repeat;
    background-size: 100% 100%;
    width: 0;
    height: 0;
    display: none;
}

.video {
    display: none;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: url('img/u-radio-bg-dark.png') center center;
    background-size: cover;
    pointer-events: none;
    transition: opacity 0.4s linear;
}

.video ::selection {
    background: none;
}

@media screen and (min-width: 1025px) {
    .video {
        display: block;
        width: 50%;
    }
}

@media screen and (min-width: 1401px) {
    .video {
        width: 61.8%;
    }
}

.video-content {
    transform: scale(1.0);
    filter: grayscale(1) contrast(108%) brightness(0.8);
    transition: 0.4s filter linear;
}

@media screen and (min-width: 1025px) {
    .video-content {
        transform: scale(2.4);
    }
}

@media screen and (min-width: 1401px) {
    .video-content {
        transform: scale(1.8);
    }
}

.game {
    display: flex;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: #00000099;
    flex-direction: column;
}

@media screen and (min-width: 1025px) {
    .game {
        width: 50%;
    }
}

@media screen and (min-width: 1401px) {
    .game {
        width: 61.8%;
    }
}

.radio {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    font-family: "helvetica-light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    letter-spacing: 0.03em;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000000;
    overflow: hidden;
    /* background: linear-gradient(#000000 33%, #030018); */
}

@media screen and (min-width: 1025px) {
    .radio {
        width: 50%;
    }
}

@media screen and (min-width: 1401px) {
    .radio {
        width: 38.2%;
    }
}

body.settings .radio, body.program .radio {
    overflow: hidden;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.header {
    display: flex;
    justify-content: center;
    padding: 4vh 0;
    width: 100%;
}

.logo {
    display: block;
    width: 268px;
    max-width: 72%;
}

@media screen and (max-height: 720px) {
    .logo {
        width: 240px;
    }
}

.logo-black {
    display: none;
}

.play-btn-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 4vh;
}

@media screen and (max-height: 720px) {
    .play-btn-wrapper {
        width: 180px;
        height: 180px;
    }
}

#audioLevelCircle {
    position: absolute;
    transform: translateZ(0);
    inset: 0;
    border-radius: 50%;
    border: 1px solid #00FFBB;
    z-index: 1;
    opacity: 0;
    transition: width 0.1s, height 0.1s, background 0.2s;
    pointer-events: none;
}

#playPauseBtn.pause + #audioLevelCircle {
    animation: ripple 2.5s ease-out infinite;
}

@keyframes ripple {
  0%   { transform: scale(1);   opacity: 0.25; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* dla osób z ograniczeniem animacji */
@media (prefers-reduced-motion: reduce) {
  .play-btn-wrapper.is-playing #audioLevelCircle { animation: none; }
}

@media screen and (max-height: 720px) {
    #audioLevelCircle {
        width: 178px;
        height: 178px;
        pointer-events: none;
    }
}

#playPauseBtn {
    position: absolute;
    top: 0; left: 0;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background-color: #000000;
    color: black;
    font-size: 100px;
    line-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.now-playing {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    margin: 0;
}

@media screen and (max-height: 720px) {
    .now-playing {
        font-size: 12px;
    }
}

.trackinfo {
    max-width: 84%;
    height: 100px;
}

#trackAudition {
    font-size: 1.4rem;
    margin: 12px 0 0;
    letter-spacing: 0.04em;
}

@media screen and (max-width: 600px) {
    #trackAudition {
        font-size: 1.2rem;
    }
}

@media screen and (max-height: 720px) {
    #trackAudition {
        font-size: 1.1rem;
    }
}

#trackAudition a {
    color: #00FFBB;
    text-decoration: none;
}

#trackAudition a:hover {
    text-decoration: underline;
}

#trackTitle {
    font-family: "helvetica-light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 1rem;
    margin: 8px 0 0;
}

@media screen and (max-width: 600px) {
    #trackTitle {
        font-size: 0.8rem;
    }
}

#trackTitle:empty {
    display: none;
}

.controls {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

#progressContainer {
    width: 220px;
    max-width: 92%;
    height: 1px;
    background-color: #333333;
}

#progressBar {
    width: 0%;
    height: 1px;
    background-color: #666666;
}

.buttons {
    max-width: 92%;
}

.buttons button {
    background: transparent;
    border: none;
    color: #999999;
    font-size: 14px;
    cursor: pointer;
    margin: 20px 10px 0;
    transition: opacity 0.3s;
    font-family: "helvetica-bold", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    text-transform: uppercase;
    touch-action: manipulation;
}

.buttons button:not([disabled]):hover {
    color: #FFFFFF;
}

button .icon {
    opacity: 0.60;
}

button[disabled] .icon {
    opacity: 0.20;
}

button:not([disabled]):hover .icon {
    opacity: 1;
}

button .icon-back {
    display: inline-block;
    width: 22px;
    height: 12px;
    background: url('img/u-radio-btn-back.svg') center center no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 1px;
}

button .icon-fwd {
    display: inline-block;
    width: 22px;
    height: 12px;
    background: url('img/u-radio-btn-fwd.svg') center center no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 1px;
}

#playPauseBtn.pause {
    background: url('img/u-radio-btn-pause.svg') center center no-repeat;
    background-size: 100% 100%;
}

#playPauseBtn.play {
    background: url('img/u-radio-btn-play.svg') center center no-repeat;
    background-size: 100% 100%;
    transition: background-size 0.1s linear;
}

#playPauseBtn.play:hover {
    background: url('img/u-radio-btn-play.svg') center center no-repeat;
    background-size: 110% 110%;
}

button:disabled {
    color: #333333;
    cursor: default
}

.button-program {
    margin-bottom: 3vh;
}

.button-program button {
    background: transparent;
    border: none;
    color: #999999;
    font-size: 18px;
    cursor: pointer;
    font-family: "helvetica-bold", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    text-transform: uppercase;
    touch-action: manipulation;
}

.button-program button:hover {
    color: #FFFFFF;
}

.button-program button {
    animation: blink 2s linear 1;
}

@keyframes blink {
  80%  { color: #999999;}
  81%  { color: #00FFBB;}
  85%  { color: #00FFBB;}
  86%  { color: #999999;}
  90%  { color: #999999;}
  91%  { color: #00FFBB;}
  95%  { color: #00FFBB;}
  96%  { color: #999999;}
  100% { color: #999999;}
}

.footer {
    width: 100%;
    box-sizing: border-box;
    padding: 4vh 8%;
    font-size: 0.6rem;
    color: #666666;
}

@media screen and (max-height: 720px) {
    .footer {
        padding: 4vh 0 0;
    }
}

.shortcuts {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.shortcuts a {
    display: inline-block;
    margin: 0 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #666666;
    background-size: 50% 50%;
    opacity: 0.5;
    touch-action: manipulation;
}

.shortcuts a:hover {
    opacity: 1;
}

.shortcut-u {
    background: url('img/icon-u.svg') center center no-repeat;
}

.shortcut-sc {
    background: url('img/icon-sc.svg') center center no-repeat;
}

.shortcut-yt {
    background: url('img/icon-yt.svg') center center no-repeat;
}

.shortcut-fb {
    background: url('img/icon-fb.svg') center center no-repeat;
}

.shortcut-ig {
    background: url('img/icon-ig.svg') center center no-repeat;
}

.shortcut-settings {
    background: url('img/icon-settings.svg') center center no-repeat;
    cursor: pointer;
}

.tc {
    font-family: "Courier New", "Courier", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    margin: 4px auto;
    padding: 0 8%;
}

@media screen and (max-height: 720px) {
    .tc {
        display: none;
    }
}

.tab {
    margin-right: 25px;
    cursor: pointer;
}

.tab:hover {background-color: #111111;
    color: #FFFFFF;
}

.tab.active {
    color: #FFFFFF;
}

.radio-program, .radio-settings {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: #161616;
    right: -100%;
    top: 0;
    transition: right 0.4s cubic-bezier(.5,0,0,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    color: #FFFFFF;
}

@media screen and (min-width: 1025px) {
    .radio-program, .radio-settings {
        width: 50%;
        right: -50%;
    }
}

@media screen and (min-width: 1401px) {
    .radio-program, .radio-settings {
        width: 38.2%;
        right: -38.2%;
    }
}

.body.program .radio-program, .body.settings .radio-settings {
    right: 0;
    overflow: hidden;
}

.body.settings .video-content, .body.program .video-content {
    filter: grayscale(1) contrast(108%) brightness(0.8) blur(16px);
}

.settings-close, .program-close {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: calc(8% - 20px);
    padding: 10px 20px;
    background-color: #161616;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.settings-close:hover, .program-close:hover {
    /* color: #00FFBB; */
}

.icon-close {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background: url('img/icon-close.svg') center center no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 2px;
    transition: rotate 0.2s ease-out;
}

.settings-close:hover .icon-close, .program-close:hover .icon-close {
    rotate: 180deg;
    fill: #00FFBB;
}

.settings-wrapper, .program-wrapper {
    width: 100%;
    padding: 90px 8%;
    box-sizing: border-box;
    overflow-y: scroll;
}

.title {
    margin: 0;
    font-size: 60px;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

@media screen and (max-width: 1024px) {
    .title {
        font-size: 40px;
    }
}

.subtitle {
    color: #999999;
    margin-top: 50px;
    font-size: 18px;
    text-transform: uppercase;
    font-family: "helvetica-bold", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.label {
    margin: 2px 0 0;
    font-size: 14px;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.disclaimer {
    font-size: 12px;
    margin: 48px 0 0;
    width: 420px;
    max-width: 100%;
    line-height: 1.5em;
    color: #777777;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.mail {
    color: #999999;
}

.mail:hover {
    color: #00FFBB;
    cursor: pointer;
}

.mail.mail-copied {
    color: #00FFBB;
}

.mail.mail-copied:hover {
    color: #00FFBB;
    cursor: default;
}

.settings-options {
    border-bottom: 1px solid #333333;
}

.settings-option {
    border-top: 1px solid #333333;
    padding: 0;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .settings-option-video {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .settings-option-volume {
        display: none;
    }
}

.timer-text {
    color: #999999;
}

select {
    width: 160px;
    padding: 4px;
    background-color: transparent;
    border: 1px solid #666666;
    border-radius: 5px;
    color: #FFFFFF;
}

@media screen and (max-width: 1024px) {
    select {
        width: 120px;
    }
}

select:focus {
    outline: none;
    border: 1px solid #00FFBB;
}

select:disabled {
  opacity: 0.5;
}

input[type="range"] {
    -webkit-appearance: none; /* Usunięcie domyślnego wyglądu */
    width: 158px; /* Szerokość */
    height: 2px; /* Wysokość toru */
    background: #666; /* Kolor toru */
    border-radius: 1px; /* Zaokrąglenie */
    outline: none;
}

@media screen and (max-width: 1024px) {
    input[type="range"] {
        width: 118px;
    }
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px; /* Średnica */
    height: 14px;
    background: #00FFBB; /* Kolor uchwytu */
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2); /* Powiększenie po najechaniu */
}

input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #00FFBB;
    border-radius: 50%;
    cursor: pointer;
}

.show-card {
    border-top: 1px solid #333333;
    padding: 20px 0;
}

.show-card:last-of-type {
    border-bottom: 1px solid #333333;
}

.show-title {
    cursor: pointer;
    margin: 0 0 15px;
    font-family: "helvetica-regular", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 18px;
}

.show-title:hover {
    color: #00FFBB;
}

.show-card.playing .show-title {
    color: #00FFBB;
}

.author-name {
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.author-name:hover {
    color: #00FFBB;
}

.show-date {
    color: #999999;
    font-size: 14px;
    margin: 4px 0 0;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.show-share {
    height: 24px;
    color: #00FFBB;
    font-size: 12px;
    line-height: 25px;
    alignment-baseline: baseline;
    margin: 12px 0 0;
    padding: 0 10px;
    font-family: "helvetica-thin", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    border-radius: 13px;
    border: 1px solid #666666;
    background: transparent;
    touch-action: manipulation;
}

.show-share:hover {
    border: 1px solid #00FFBB;
}

.toast{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  transform: translateY(100%);
  background: #00FFBB;
  color: #000000;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "helvetica-regular", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.toast.visible {
    transform: translateY(0);
    opacity: 1;
}

/* SETTINGS THEME */

body.theme-light {
    background-color: #FFFFFF;
}

body.theme-light ::selection {
    background: #000000;
    color: #FFFFFF;
}

body.theme-light .video {
    background: url('img/u-radio-bg-light.png') center center;
    background-size: cover;
}

body.theme-light .radio {
    color: #000000;
    background: #FFFFFF;
    /* background: linear-gradient(#FFFFFF 33%, #F6F5FF); */
}

body.theme-light .logo-white {
    display: none;
}

body.theme-light .logo-black {
    display: block;
}

body.theme-light #progressContainer {
    width: 220px;
    max-width: 92%;
    height: 1px;
    margin-top: 20px;
    background-color: #DDDDDD;
}

body.theme-light #progressBar {
    width: 0%;
    height: 1px;
    background-color: #999999;
}

body.theme-light .buttons button {
    filter: invert(1);
}


body.theme-light .button-program {
    filter: invert(1);
}

body.theme-light .subtitle {
    filter: invert(1);
}

body.theme-light .radio-settings, body.theme-light .radio-program {
    background-color: #F0F0F0;
    color: #000000;
}

body.theme-light .shortcuts a {
    filter: invert(1);
}

body.theme-light .settings-options {
    border-bottom: 1px solid #DDDDDD;
}

body.theme-light .settings-option {
    border-top: 1px solid #DDDDDD;
}

body.theme-light select {
    border: 1px solid #AAAAAA;
    color: #000000;
}

body.theme-light select:focus {
    outline: none;
    border: 1px solid #000000;
}

body.theme-light input[type="range"] {
    background: #999999;
}

body.theme-light input[type="range"]::-webkit-slider-thumb {
    background: #000000; /* Kolor uchwytu */
}

body.theme-light input[type="range"]::-moz-range-thumb {
    background: #000000;
}

body.theme-light .settings-close, body.theme-light .program-close {
    background-color: #F0F0F0;
}

body.theme-light .mail {
    color: #333333;
}

body.theme-light .mail:hover {
    color: #00FFBB;
    cursor: pointer;
}

body.theme-light .mail.mail-copied {
    color: #00FFBB;
}

body.theme-light .mail.mail-copied:hover {
    color: #00FFBB;
    cursor: default;
}

body.theme-light .icon-close {
    filter: invert(1);
}

body.theme-light .show-card {
    border-top: 1px solid #DDDDDD;
}

body.theme-light .show-card:last-of-type {
    border-bottom: 1px solid #DDDDDD;
}

body.theme-light .show-share {
    border: 1px solid #999999;
    color: #000000;
}

/* SETTINGS VIDEO */

.video.video-invert .video-content{
    filter: grayscale(1) contrast(105%) brightness(0.95) invert(1);
}

.body.settings .video.video-invert .video-content, .body.program .video.video-invert .video-content {
    filter: grayscale(1) contrast(105%) brightness(0.95) invert(1) blur(16px);
}

.video.video-no .video-content {
    visibility: hidden;
}