:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#090b19;color:#f3efff;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 10%,#292052 0,transparent 38%),radial-gradient(ellipse at 25% 55%,#181536 0,transparent 45%),#090b19;min-height:100vh}header,main,footer{max-width:1240px;margin:auto;padding:0 32px}header{height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff17}.logo{font:24px Georgia,serif;letter-spacing:.16em;color:#fff;text-decoration:none;white-space:nowrap}.logo i{font-size:1.5em;color:#caa8ff;text-shadow:0 0 20px #ad6cff}nav{display:flex;gap:38px}a{color:#d5c8ed;text-decoration:none}a:hover{color:#fff}main{padding-bottom:70px}.hero{min-height:375px;display:flex;align-items:center;position:relative;overflow:hidden}.hero>div:first-child{z-index:1}.hood{position:absolute;right:4%;top:25px;width:340px;height:390px;border-radius:48% 48% 32% 32%;background:radial-gradient(ellipse at 50% 40%,#080918 20%,#22193e 53%,#7860a3 57%,transparent 58%);opacity:.55;filter:blur(1px)}h1,h2,h3{font-family:Georgia,serif;font-weight:400;margin:0}h1{font-size:clamp(42px,5.5vw,70px);line-height:1.08}h2{font-size:clamp(30px,4vw,46px)}h3{font-size:29px}.lead{font-size:18px;max-width:510px;line-height:1.55;color:#c8bedc}.eyebrow{color:#b79cde;font-size:12px;letter-spacing:.2em;font-weight:700}.button,.play{display:inline-flex;align-items:center;justify-content:center;border:1px solid #caa8ff;background:linear-gradient(135deg,#8152c6,#30245d);box-shadow:0 0 25px #8846df55;border-radius:999px;color:white;padding:14px 28px}.sectiontitle{display:flex;align-items:end;justify-content:space-between;margin:20px 0}.sectiontitle span{color:#aaa1bc}.player{display:flex;gap:30px;align-items:center;padding:24px;border:1px solid #8f77c042;border-radius:23px;background:#111329dd}.cover{width:200px;height:200px;flex:none;border-radius:15px;display:grid;place-items:center;background:linear-gradient(140deg,#533875,#16142b);font:48px Georgia;color:#d3b6fa;overflow:hidden}.cover img,.mini img{width:100%;height:100%;object-fit:cover}.playerbody{flex:1;min-width:0}.playerbody>p:not(.eyebrow){color:#c1b5d1}.controls{display:flex;align-items:center;gap:15px;margin-top:24px}.controls button,.track{cursor:pointer;color:white;border:0;background:none}.controls button{font-size:20px;min-width:44px;min-height:44px}.controls .play{width:54px;height:54px;min-width:54px;padding:0}.controls span{font-size:13px;color:#beb3d1}.controls input{flex:1;min-width:30px;accent-color:#bb91f6}.notice{min-height:1em;font-size:14px}.tracks{border:1px solid #8f77c042;border-radius:18px;margin-top:18px;overflow:hidden}.track{display:flex;width:100%;align-items:center;gap:18px;text-align:left;padding:11px 20px;border-bottom:1px solid #ffffff10}.track:last-child{border:0}.track:hover,.track.active{background:#4c377e66}.number{color:#b7aacc}.mini{width:48px;height:48px;border-radius:8px;overflow:hidden;background:#42365d;display:grid;place-items:center}.tracklabel{display:grid;gap:3px;flex:1}.tracklabel strong{font:20px Georgia}.tracklabel small{color:#b8abc7}.trackplay{border:1px solid #af8ddd;border-radius:100%;width:38px;height:38px;display:grid;place-items:center}.empty{padding:12px 20px;color:#c3b5d4}.about{padding:90px 0 40px;max-width:700px}.about p:last-child{font-size:18px;line-height:1.7;color:#c7bdd3}footer{border-top:1px solid #ffffff22;min-height:130px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#aaa0bb}footer div{display:flex;gap:25px}small{color:#a59ab2}.admin{max-width:720px}.panel{margin:25px 0;padding:25px;border:1px solid #ffffff24;border-radius:18px;background:#111329}.panel label{display:block;margin:14px 0;color:#ddd}.panel input:not([type=file]){width:100%;padding:12px;border:1px solid #8e7aa5;border-radius:9px;background:#080b18;color:white;font-size:16px}.panel button{cursor:pointer;font-size:16px}.panel input[type=file]{max-width:100%;margin:8px 0}.adminrow{padding:14px 0;border-bottom:1px solid #ffffff1c;display:flex;gap:12px;align-items:center}.adminrow strong{flex:1}.error{color:#ffc3d6;white-space:pre-line}@media(max-width:650px){header,main,footer{padding-left:20px;padding-right:20px}header{height:auto;min-height:78px;gap:15px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.logo{font-size:19px}nav{gap:16px;font-size:14px}.hero{min-height:350px}.hero h1{font-size:42px}.hood{right:-170px;opacity:.28}.sectiontitle span{display:none}.player{padding:20px;gap:18px;display:block}.cover{width:min(100%,260px);height:auto;aspect-ratio:1;margin:0 auto 22px}.controls{gap:6px}.controls button{min-width:40px}.controls .play{min-width:52px}.track{gap:12px;padding:12px}.number{display:none}.about{padding-top:65px}footer{padding-top:25px;padding-bottom:25px;align-items:flex-start;flex-direction:column}footer div{flex-wrap:wrap;font-size:14px}}

.hero{background:linear-gradient(90deg,#0a0b1c99 0%,transparent 85%),url(/hero.png) center/cover no-repeat;border-radius:0 0 24px 24px}.hood{display:none}@media(max-width:650px){.hero{background-position:65% center}.hero>div:first-child{text-shadow:0 1px 10px #090b19}}
.adminrow button{background:#24203d;color:#eee;border:1px solid #7e649c;border-radius:8px;padding:8px;cursor:pointer}.adminrow button:disabled{opacity:.35;cursor:default}@media(max-width:650px){.adminrow{flex-wrap:wrap}.adminrow strong{flex-basis:100%}}

/* Atmospheric background continues behind the entire page. */
body:not(:has(.admin)){background:linear-gradient(90deg,rgba(6,7,20,.91),rgba(10,9,27,.62) 52%,rgba(8,7,23,.22)),linear-gradient(180deg,rgba(8,8,23,.08),rgba(8,8,23,.56) 72%,rgba(8,8,23,.82)),url(/hero.png) center center / cover fixed no-repeat,#090b19}
.hero{background:none;border-radius:0;min-height:410px;overflow:visible}
header{border-color:#eee2ff24}
.logo{font-family:Georgia,'Times New Roman',serif;font-size:22px;font-weight:400;letter-spacing:.16em;line-height:1.1;color:#f8f4ff}
.wordmark{display:inline-block;white-space:nowrap}.mark-x{display:inline-block;font-style:normal;font-size:1.16em;line-height:1;color:#eee1ff;letter-spacing:.02em;text-shadow:0 0 16px #ba8cff88;transform:scaleX(1.08)}
.player{background:linear-gradient(130deg,rgba(25,23,51,.88),rgba(13,14,33,.87));box-shadow:0 24px 75px #04031266;backdrop-filter:blur(14px)}
.tracks{background:rgba(12,13,31,.78);backdrop-filter:blur(12px)}
.about{ text-shadow:0 2px 20px #070715 }
@media(max-width:650px){body:not(:has(.admin)){background:linear-gradient(90deg,rgba(6,7,20,.84),rgba(10,9,27,.57)),linear-gradient(180deg,rgba(8,8,23,.12),rgba(8,8,23,.7)),url(/hero.png) 70% center / auto 100vh fixed no-repeat,#090b19}.hero{background:none;min-height:360px}.hero h1{font-size:clamp(36px,10vw,44px)}.logo{font-size:19px}.player{backdrop-filter:blur(10px)}}

.controls button{display:inline-grid;place-items:center}.controls button svg{display:block;width:22px;height:22px;fill:currentColor}.controls .play svg{width:24px;height:24px}

/* Облегчённые панели плеера */
.player, .tracks {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Регулятор громкости */
.volume-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: #c8bedc;
  font-size: 14px;
}
.volume-control input {
  width: 120px;
  max-width: 45%;
  accent-color: #bb91f6;
  cursor: pointer;
}
.volume-control output {
  min-width: 3em;
  color: #d7c9eb;
}

/* XNIKA_PLAY_GLOW_V1: подсветка кнопки во время воспроизведения */
.controls .play {
  position: relative;
  isolation: isolate;
}

.controls .play[aria-label="Пауза"] {
  background: linear-gradient(135deg, #c369ff, #7a31d9);
  border: 1px solid #e5baff;
  color: #fff;
  box-shadow: 0 0 14px rgba(180, 83, 255, .65);
}

.controls .play[aria-label="Пауза"]::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid rgba(205, 141, 255, .9);
  opacity: .35;
  pointer-events: none;
  animation: xnika-play-pulse 1.8s ease-in-out infinite alternate;
}

@keyframes xnika-play-pulse {
  from { opacity: .25; transform: scale(.94); }
  to   { opacity: .9;  transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .controls .play[aria-label="Пауза"]::after {
    animation: none;
    opacity: .65;
  }
}

/* XNIKA_SOFT_GREEN_GLOW_V2 */
.controls .play[aria-label="Пауза"] {
  background: linear-gradient(135deg, #a94dea, #702bc1);
  border: 1px solid rgba(190, 133, 235, .65);
  box-shadow: none;
}

.controls .play[aria-label="Пауза"]::after {
  inset: -15px;
  border: 0;
  background: radial-gradient(
    circle,
    rgba(77, 255, 168, .52) 0%,
    rgba(57, 220, 139, .30) 35%,
    rgba(57, 220, 139, .10) 58%,
    rgba(57, 220, 139, 0) 74%
  );
  opacity: .45;
  transform: scale(.94);
  animation: xnika-green-glow 2.4s ease-in-out infinite alternate;
}

@keyframes xnika-green-glow {
  from { opacity: .35; transform: scale(.94); }
  to   { opacity: .85; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .controls .play[aria-label="Пауза"]::after {
    animation: none;
    opacity: .65;
    transform: none;
  }
}

/* XNIKA_BRIGHT_GREEN_V3 */
.controls .play[aria-label="Пауза"] {
  background: linear-gradient(135deg, #50f99d, #0fcf70);
  border: 1px solid rgba(153, 255, 199, .9);
  color: #fff;
  box-shadow: 0 0 12px rgba(31, 244, 134, .55);
}

.controls .play[aria-label="Пауза"]::after {
  inset: -22px;
  border: 0;
  background: radial-gradient(
    circle,
    rgba(48, 255, 145, .9) 0%,
    rgba(38, 244, 129, .65) 30%,
    rgba(28, 218, 114, .25) 55%,
    rgba(28, 218, 114, 0) 75%
  );
  animation: xnika-bright-green-pulse 2.2s ease-in-out infinite alternate;
}

@keyframes xnika-bright-green-pulse {
  from { opacity: .55; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .controls .play[aria-label="Пауза"]::after {
    animation: none;
    opacity: .8;
    transform: none;
  }
}
