
/* часы сервера */
.rclk__t{
  text-align:center;font-size:23px;font-weight:700;letter-spacing:.5px;line-height:1.05;
  font-variant-numeric:tabular-nums;color:#14161a;
  font-family:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
}
.rclk__c{font-style:normal;opacity:.34;animation:rclkb 1s steps(1,end) infinite}
@keyframes rclkb{0%,50%{opacity:.34}50.01%,100%{opacity:.09}}
.rclk__s{font-size:14px;opacity:.5;margin-left:1px;vertical-align:2px}
.rclk__d{text-align:center;font-size:10.5px;color:#8b8a85;margin-top:6px;letter-spacing:.2px}
@media (prefers-reduced-motion:reduce){.rclk__c{animation:none;opacity:.34}}


  /* ==========================================================================
     Подвал. Новые классы .ftr* — старые .footer/.foot-left/.foot-center
     не задействованы (у .footer было height:1px и margin-top:-72px,
     содержимое выпадало наружу на float'ах).
     ========================================================================== */
  .ftr{
    --ftr-line:rgba(128,128,128,.22);
    --ftr-mute:rgba(128,128,128,.95);
    --ftr-link:#4d90fe;
    --ftr-card:rgba(128,128,128,.06);
    position:relative;
    max-width:1050px;margin:8px auto 0;padding:26px 12px 20px;
    font-size:12px;
  }
  .ftr *{box-sizing:border-box}
  /* фирменная линия вместо серой полоски */
  .ftr::before{
    content:"";position:absolute;top:0;left:12px;right:12px;height:3px;
    border-radius:3px;
    background:linear-gradient(90deg,#4d90fe,#8a63d2 34%,#1baf7a 68%,#eb6834);
    opacity:.85;
  }

  .ftr__grid{
    display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));
    gap:24px;align-items:start;
  }

  /* --- колонка бренда --- */
  .ftr__brandbox{display:flex;flex-direction:column;gap:9px}
  .ftr__logo{display:flex;align-items:center;gap:9px}
  .ftr__logo-badge{
    width:30px;height:30px;border-radius:8px;flex:0 0 auto;
    background:linear-gradient(135deg,#6b8bfa,#4d90fe);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 2px 7px rgba(77,144,254,.34);
  }
  .ftr__logo-txt{font-size:16px;font-weight:800;letter-spacing:-.3px;line-height:1}
  .ftr__logo-txt span{color:#4d90fe}
  .ftr__pitch{font-size:12px;line-height:1.55;color:var(--ftr-mute);opacity:.85;max-width:34ch;margin:0}
  .ftr__since{
    display:inline-flex;align-items:center;gap:6px;align-self:flex-start;
    font-size:11px;color:var(--ftr-mute);opacity:.9;
    background:var(--ftr-card);border:1px solid var(--ftr-line);
    border-radius:999px;padding:4px 11px;
  }
  .ftr__since i{
    width:6px;height:6px;border-radius:50%;background:#0ca30c;flex:0 0 auto;
    box-shadow:0 0 0 3px rgba(12,163,12,.16);
  }

  /* --- колонки ссылок --- */
  .ftr__ttl{
    font-size:10.5px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;
    color:var(--ftr-mute);opacity:.7;margin-bottom:9px;
  }
  .ftr__list{display:flex;flex-direction:column;gap:2px}
  .ftr__list a{
    display:inline-block;padding:3px 0;
    font-size:12.5px;color:inherit;text-decoration:none;opacity:.82;
    transition:opacity .15s ease,transform .15s ease,color .15s ease;
  }
  .ftr__list a:hover{
    opacity:1;color:var(--ftr-link);text-decoration:none;transform:translateX(3px);
  }

  /* --- колонка цифр --- */
  .ftr__num{display:flex;flex-direction:column;gap:8px}
  .ftr__num-i{display:flex;flex-direction:column;line-height:1.2}
  .ftr__num-i b{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.2px}
  .ftr__num-i span{font-size:10.5px;color:var(--ftr-mute);opacity:.75;text-transform:uppercase;letter-spacing:.4px}

  /* --- нижняя строка --- */
  .ftr__bar{
    display:flex;align-items:center;justify-content:space-between;
    gap:14px;flex-wrap:wrap;
    margin-top:20px;padding-top:14px;border-top:1px solid var(--ftr-line);
  }
  .ftr__copy{font-size:11.5px;color:var(--ftr-mute);opacity:.8}
  .ftr__badges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  .ftr__badges img{display:block;max-height:31px;width:auto;opacity:.7;transition:opacity .15s ease}
  .ftr__badges a:hover img{opacity:1}

  @media (max-width:900px){
    .ftr__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  }
  @media (max-width:560px){
    .ftr__grid{grid-template-columns:1fr;gap:18px}
    .ftr__bar{justify-content:center;text-align:center}
  }
  @media (prefers-reduced-motion:reduce){
    .ftr__list a,.ftr__badges img{transition:none}
    .ftr__list a:hover{transform:none}
  }
  

.ftr__ver{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;
  padding:12px 10px 4px;font-size:12px;line-height:1}
.ftr__ver-k{opacity:.6;margin-right:2px}
.ftr__ver-i{padding:4px 2px;border-radius:5px;text-decoration:none}
a.ftr__ver-i{cursor:pointer;opacity:.85;border-bottom:1px dotted}
a.ftr__ver-i:hover{opacity:1}
.ftr__ver-i.is-now{font-weight:800;opacity:1}
.ftr__ver-i.is-soon{opacity:.38;cursor:default}


        .ftr__azv{display:inline-flex;align-items:center;gap:7px;height:31px;
          padding:0 10px 0 6px;border-radius:8px;text-decoration:none;vertical-align:top;
          background:linear-gradient(135deg,#0f3d75,#1a5aa8);
          box-shadow:0 1px 4px rgba(15,61,117,.3)}
        .ftr__azv img{width:21px;height:21px;display:block}
        .ftr__azv span{font-size:10.5px;line-height:1.15;color:#fff;font-weight:600;
          letter-spacing:.02em;white-space:nowrap}
        .ftr__azv i{display:block;font-style:normal;font-size:8.5px;opacity:.72;
          font-weight:500;letter-spacing:.06em;text-transform:uppercase}
        .ftr__azv:hover{filter:brightness(1.12)}
        

  #adseo_bottom_player {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 1000px;
    max-width: 100%;
    height: 62px;
    z-index: 99999;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: none;
    box-shadow: 0 -10px 40px rgba(30, 41, 59, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  #adseo_bottom_player.is-active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.has-bottom-player {
    padding-bottom: 62px;
  }
  body.has-bottom-player.is-player-collapsed {
    padding-bottom: 24px;
  }

  .abp-collapse-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
  }
  .abp-collapse-btn:hover {
    color: #1e293b;
    background: rgba(0, 0, 0, 0.05);
  }

  /* СВЕРНУТОЕ СОСТОЯНИЕ (Floating Glass Mini-Pill) */
  #adseo_bottom_player.is-collapsed {
    width: 360px;
    height: 46px;
    bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 36px rgba(30, 41, 59, 0.2),
                0 0 20px rgba(37, 99, 235, 0.25);
    padding: 0 10px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  #adseo_bottom_player.is-collapsed .abp-top-scrub {
    left: 20px;
    right: 20px;
    top: 0px;
    height: 2px;
  }
  #adseo_bottom_player.is-collapsed .abp-grid {
    grid-template-columns: 1fr auto auto;
    padding: 0 6px;
    gap: 8px;
  }
  #adseo_bottom_player.is-collapsed .abp-cover {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: abpDiscSpin 12s linear infinite;
  }
  @keyframes abpDiscSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  #adseo_bottom_player.is-collapsed .abp-title {
    font-size: 11.5px;
    max-width: 120px;
  }
  #adseo_bottom_player.is-collapsed .abp-artist {
    font-size: 10px;
    max-width: 120px;
  }
  #adseo_bottom_player.is-collapsed .abp-badge-wave,
  #adseo_bottom_player.is-collapsed .abp-reason-badge,
  #adseo_bottom_player.is-collapsed .abp-fav-btn,
  #adseo_bottom_player.is-collapsed .abp-time-badge,
  #adseo_bottom_player.is-collapsed #abp_shuffle_btn,
  #adseo_bottom_player.is-collapsed #abp_repeat_btn,
  #adseo_bottom_player.is-collapsed .abp-badge-lossless,
  #adseo_bottom_player.is-collapsed .abp-vol-box,
  #adseo_bottom_player.is-collapsed .abp-music-btn,
  #adseo_bottom_player.is-collapsed .abp-close-btn {
    display: none !important;
  }
  #adseo_bottom_player.is-collapsed .abp-center {
    gap: 4px;
  }
  #adseo_bottom_player.is-collapsed .abp-play-btn {
    width: 28px;
    height: 28px;
  }
  #adseo_bottom_player.is-collapsed .abp-play-btn svg {
    width: 12px;
    height: 12px;
  }
  #adseo_bottom_player.is-collapsed .abp-ctrl-btn {
    width: 24px;
    height: 24px;
  }
  #adseo_bottom_player.is-collapsed .abp-ctrl-btn svg {
    width: 12px;
    height: 12px;
  }
  #adseo_bottom_player.is-collapsed .abp-collapse-btn {
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    color: #3b82f6;
  }

  /* Прогресс-бар по верхнему срезу плеера (Идеальные скругления и привязка к сетке) */
  .abp-top-scrub {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    cursor: pointer;
    border-radius: 999px;
    transition: height 0.15s ease;
    z-index: 10;
  }
  .abp-top-scrub:hover {
    height: 5px;
  }
  .abp-top-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 999px;
    position: relative;
    transition: width 0.1s linear;
  }
  .abp-top-scrub:hover .abp-top-bar::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.9), 0 2px 4px rgba(0,0,0,0.35);
  }

  /* 100% Математически симметричная 3-колоночная сетка (1fr auto 1fr) */
  .abp-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Левая колонка: Трек, обложка, лайк */
  .abp-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    justify-self: start;
    max-width: 300px;
  }
  .abp-cover {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .abp-cover:hover {
    transform: scale(1.06);
  }
  .abp-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
    line-height: 1.25;
  }
  .abp-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
  }
  .abp-artist {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
  }
  .abp-fav-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
  }
  .abp-fav-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.15);
  }
  .abp-fav-btn.is-fav {
    color: #ef4444;
  }

  /* Центральная колонка: Кнопки + Тайминг (Строго по центру) */
  .abp-center {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: center;
  }
  .abp-time-badge {
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #64748b;
    min-width: 32px;
    user-select: none;
    font-variant-numeric: tabular-nums;
  }
  .abp-time-badge:first-child { text-align: right; }
  .abp-time-badge:last-child { text-align: left; }

  .abp-controls-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .abp-ctrl-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 7px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .abp-ctrl-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.08);
  }
  .abp-ctrl-btn.is-active {
    color: #3b82f6;
  }
  .abp-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease;
  }
  .abp-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
  }
  .abp-play-btn:active {
    transform: scale(0.95);
  }

  /* Правая колонка: Hi-Res бейдж, Громкость, Раздел Музыка, Закрыть */
  .abp-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    justify-self: end;
    min-width: 0;
  }
  .abp-badge-lossless {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 3px 7px;
    border-radius: 6px;
    user-select: none;
  }
  .abp-vol-box {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .abp-vol-slider {
    width: 70px;
    height: 3px;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    accent-color: #3b82f6;
  }
  .abp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
  }
  .abp-music-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .abp-music-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  }
  .abp-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
  }
  .abp-close-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
  }

  
  .abp-badge-wave {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1px 6px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    animation: abpWaveGlow 2s infinite alternate;
    flex-shrink: 0;
  }
  @keyframes abpWaveGlow {
    0% { box-shadow: 0 0 4px rgba(16, 185, 129, 0.2); }
    100% { box-shadow: 0 0 10px rgba(37, 99, 235, 0.45); }
  }

  
  .abp-reason-badge {
    display: inline-flex;
    align-items: center;
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 4px;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    flex-shrink: 0;
  }

  @media (max-width: 1040px) {
    #adseo_bottom_player {
      width: calc(100% - 20px);
    }
  }

  @media (max-width: 768px) {
    #adseo_bottom_player {
      width: 100%;
      border-radius: 0;
      height: 54px;
      left: 0;
      transform: translateY(100%);
    }
    #adseo_bottom_player.is-active {
      transform: translateY(0);
    }
    body.has-bottom-player {
      padding-bottom: 54px;
    }
    .abp-top-scrub {
      left: 12px;
      right: 12px;
    }
    .abp-grid {
      padding: 0 12px;
      grid-template-columns: 1fr auto;
    }
    .abp-badge-lossless, .abp-vol-box, .abp-music-btn {
      display: none;
    }
    .abp-right {
      gap: 6px;
    }
    .abp-time-badge {
      display: none;
    }
  }

