/* ============================================================
   ОСНОВНОЕ ОФОРМЛЕНИЕ САЙТА
   ============================================================ */

   body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  
  a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s;
  }
  
  a:hover {
    color: var(--accent-hover);
  }
  
  h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 16px;
    font-family: var(--font-heading);
    color: var(--heading-color);
  }
  
  h1 { font-size: 38px; }
  h2 { font-size: 29px; margin-top: 36px; }
  h3 { font-size: 20px; }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .more-link {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .btn {
    display: inline-block;
    min-height: 40px;
    padding: 9px 18px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-menu);
    cursor: pointer;
    transition: background 0.15s;
  }
  
  .btn:hover {
    background: var(--accent-hover);
  }
  
  .btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
  }
  
  .btn-secondary:hover {
    background: var(--bg-soft);
  }
  
  code {
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1px 6px;
    color: var(--accent);
  }
  
  .admin-form h4,
  h4 {
    font-size: 16px;
    color: var(--heading-color);
    margin: 24px 0 12px;
    font-weight: normal;
    font-family: var(--font-heading);
  }
  
  h5 {
    font-size: 14px;
    color: var(--heading-color);
    margin: 16px 0 10px;
    font-weight: normal;
    font-family: var(--font-heading);
  }
  
  /* ------------------------------------------------------------
     ШАПКА И МЕНЮ
     ------------------------------------------------------------ */
  
  .site-header {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--gutter);
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  .logo {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: normal;
    color: var(--logo-color);
    letter-spacing: 1px;
    line-height: 1.6;
    padding: 6px 0;
    display: inline-block;
    overflow: visible;
  }
  
  .logo:hover {
    color: var(--accent);
  }
  
  .nav {
    display: flex;
    gap: 24px;
  }
  
  .nav a {
    color: var(--menu-color);
    font-size: 15px;
    font-family: var(--font-menu);
  }
  
  .nav a:hover {
    color: var(--accent);
  }
  
  /* ------------------------------------------------------------
     БУРГЕР-МЕНЮ БЕЗ JAVASCRIPT
     ------------------------------------------------------------ */
  
  .burger-toggle {
    display: none;
  }
  
  .burger-label {
    display: none;
    width: var(--burger-size);
    height: var(--burger-size);
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  
  .burger-label span,
  .burger-label span::before,
  .burger-label span::after {
    display: block;
    position: absolute;
    left: 50%;
    width: 24px;
    height: var(--burger-line);
    background: var(--burger-color);
    border-radius: 2px;
    transition: transform 0.2s;
  }
  
  .burger-label span {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .burger-label span::before {
    content: '';
    top: calc(-1 * var(--burger-gap));
    transform: translateX(-50%);
    left: 50%;
  }
  
  .burger-label span::after {
    content: '';
    top: var(--burger-gap);
    transform: translateX(-50%);
    left: 50%;
  }
  
  /* ------------------------------------------------------------
     СЕКЦИИ НА ГЛАВНОЙ
     ------------------------------------------------------------ */
  
  section {
    padding: 30px 0;
  }
  
  .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1000 100%);
    background-image: url('/pic/fon/band_shapka.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  @media (max-width: 768px) {
    .hero {
      background-image: url('/pic/fon/band_shapka_mobile.jpg');
      background-size: cover;
    }
  }
  
  .hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 81px;
    margin-bottom: 14px;
    line-height: 1.1;
    font-family: var(--font-logo);
  }
  
  .hero p {
    font-size: 16px;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .member {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
  }
  
  .member-photo {
    width: 160px;
    height: 240px;
    border-radius: var(--radius);
    margin: 0 auto 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), #660000);
  }
  
  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  
  .member h3 {
    margin: 0 0 6px;
  }
  
  .member p {
    color: var(--text-dim);
    margin: 0;
    font-size: 13px;
  }
  
  .member p.member-extra {
    color: #909090;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    margin-top: 4px;
    line-height: 1.4;
  }
  
  /* ------------------------------------------------------------
     ПЛЕЕР НА ГЛАВНОЙ (СТАРЫЙ — ОСТАВЛЕН КАК РЕЗЕРВ)
     ------------------------------------------------------------ */
  
  .player {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 24px;
  }
  
  .player audio {
    display: none;
  }
  
  .player-now {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    min-height: 52px;
  }
  
  .player-btn-play {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
    padding-left: 3px;
    font-family: var(--font-menu);
  }
  
  .player-btn-play:hover {
    background: var(--accent-hover);
  }
  
  .player-btn-play:active {
    transform: scale(0.95);
  }
  
  .player-now-info {
    flex: 1;
    overflow: hidden;
  }
  
  .player-now-title {
    font-size: 16px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 20px;
    line-height: 1.2;
  }
  
  .player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .player-volume-icon {
    font-size: 16px;
    color: var(--text-dim);
    user-select: none;
  }
  
  .progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
  }
  
  .progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    width: 0;
    transition: width 0.1s linear;
  }
  
  .player-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
  }
  
  .playlist {
    list-style: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
    margin: 0;
  }
  
  .playlist li {
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    transition: background 0.2s, padding-left 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .playlist li:hover {
    background: var(--bg);
    padding-left: 20px;
  }
  
  .playlist li.active {
    background: var(--border);
    color: #fff;
  }
  
  /* ============================================================
     РЕГУЛЯТОР ГРОМКОСТИ
     ============================================================ */
  
  .volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
  }
  
  .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
  }
  
  .volume-slider::-webkit-slider-thumb:hover {
    background: var(--accent-hover);
    transform: scale(1.15);
  }
  
  .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
  }
  
  .volume-slider::-moz-range-thumb:hover {
    background: var(--accent-hover);
    transform: scale(1.15);
  }
  
  .volume-slider::-moz-range-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
  }
  
  .album-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 8px;
  }
  
  .album-volume-icon {
    font-size: 14px;
    color: var(--text-dim);
    user-select: none;
  }
  
  /* ------------------------------------------------------------
     НОВОСТИ
     ------------------------------------------------------------ */
  
  .news-item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .news-date {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .news-item h2 {
    margin: 0 0 16px;
    font-size: 22px;
  }
  
  .news-item img {
    border-radius: var(--radius);
    margin-bottom: 16px;
  }
  
  .news-text {
    line-height: 1.7;
  }
  
  .news-text p {
    margin: 0 0 14px;
  }
  
  .news-text p:last-child {
    margin-bottom: 0;
  }
  
  .news-text a {
    color: var(--accent);
    text-decoration: underline;
  }
  
  .news-text a:hover {
    color: var(--accent-hover);
  }
  
  .news-text ul,
  .news-text ol {
    margin: 0 0 14px;
    padding-left: 24px;
  }
  
  .news-text li {
    margin-bottom: 4px;
  }
  
  .news-text blockquote {
    margin: 14px 0;
    padding: 10px 20px;
    border-left: 3px solid var(--accent);
    color: var(--text-dim);
    font-style: italic;
  }
  
  .news-text strong,
  .news-text b {
    font-weight: bold;
    color: #fff;
  }
  
  .news-text em,
  .news-text i {
    font-style: italic;
  }
  
  .news-search {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .news-search input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-menu);
    font-size: 14px;
  }
  
  .news-search input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
  }
  
  .news-search-reset {
    font-size: 13px;
    color: var(--text-dim);
    margin-left: 6px;
  }
  
  .news-search-reset:hover {
    color: var(--accent);
  }
  
  .news-search-info {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 24px;
  }
  
  .pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }
  
  .pagination-arrow {
    font-size: 14px;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: background 0.15s;
    font-family: var(--font-menu);
  }
  
  .pagination-arrow:hover {
    background: var(--bg-soft);
  }
  
  .pagination-arrow.disabled {
    color: var(--text-dim);
    cursor: default;
    pointer-events: none;
  }
  
  .pagination-pages {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .pagination-page {
    display: inline-block;
    min-width: 34px;
    padding: 6px 10px;
    text-align: center;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: background 0.15s, border-color 0.15s;
    font-family: var(--font-menu);
  }
  
  .pagination-page:hover {
    background: var(--bg);
    border-color: var(--accent);
  }
  
  .pagination-page.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  
  .status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: 10px;
    vertical-align: middle;
  }
  
  .status-draft {
    background: var(--draft-bg);
    color: var(--draft-text);
  }
  
  .status-scheduled {
    background: var(--scheduled-bg);
    color: var(--scheduled-text);
  }
  
  .admin-hint {
    background: var(--bg-soft);
    border: 1px dashed var(--accent);
    color: var(--text-dim);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 24px;
  }
  
  .news-admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
  }
  
  /* ------------------------------------------------------------
     ПОДПИСКА НА НОВОСТИ
     ------------------------------------------------------------ */
  
  .subscribe-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    flex-wrap: wrap;
  }
  
  .subscribe-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-menu);
    font-size: 14px;
  }
  
  .subscribe-input:focus {
    outline: none;
    border-color: var(--accent);
  }
  
  .sub-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
    max-width: 500px;
  }
  
  .sub-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
  }
  
  .sub-ok {
    background: rgba(102, 204, 102, 0.15);
    color: #66cc66;
    border: 1px solid #66cc66;
  }
  
  .sub-info {
    background: rgba(127, 191, 255, 0.15);
    color: #7fbfff;
    border: 1px solid #7fbfff;
  }
  
  .sub-error {
    background: rgba(255, 102, 102, 0.15);
    color: #ff6666;
    border: 1px solid #ff6666;
  }
  
  /* ------------------------------------------------------------
     КОНТАКТЫ НА ГЛАВНОЙ
     ------------------------------------------------------------ */
  
  .contacts-block {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    max-width: 600px;
  }
  
  .contacts-block h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--accent);
  }
  
  .contact-role {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: normal;
  }
  
  .contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
  }
  
  .contacts-list li {
    color: var(--text);
    font-size: 14px;
  }
  
  .contacts-list a {
    color: var(--accent);
  }
  
  .contacts-list a:hover {
    color: var(--accent-hover);
  }
  
  /* ------------------------------------------------------------
     ПОДВАЛ
     ------------------------------------------------------------ */
  
  .site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    color: var(--text-dim);
    font-size: 13px;
    margin-top: auto;
  }
  
  .footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.8;
    overflow: visible;
    text-align: center;
  }
  
  .site-footer .logo {
    font-size: 13px;
    letter-spacing: normal;
    padding: 0;
    color: var(--logo-color);
    font-family: var(--font-logo);
  }
  
  .site-footer .logo:hover {
    color: var(--accent);
  }
  
  /* ------------------------------------------------------------
     АДМИНКА
     ------------------------------------------------------------ */
  
  .admin-form {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 700px;
  }
  
  .admin-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-dim);
  }
  
  .admin-form input[type="text"],
  .admin-form input[type="password"],
  .admin-form input[type="datetime-local"],
  .admin-form input[type="date"],
  .admin-form input[type="url"],
  .admin-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-menu);
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .admin-form textarea {
    min-height: 200px;
    resize: vertical;
  }
  
  .admin-form input[type="file"] {
    margin-bottom: 16px;
    color: var(--text-dim);
  }
  
  .admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
    flex-wrap: wrap;
  }
  
  .admin-tabs a {
    display: inline-block;
    padding: 10px 20px;
    color: var(--text-dim);
    font-size: 14px;
    border-bottom: 2px solid transparent;
    font-family: var(--font-menu);
  }
  
  .admin-tabs a:hover {
    color: var(--text);
  }
  
  .admin-tabs a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
  
  /* ============================================================
     БЛОК «ПОСЛЕДНЯЯ ВЫГРУЗКА» В АДМИНКЕ
     ============================================================ */
  
  .export-info {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    max-width: 700px;
  }
  
  .export-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .export-info-label {
    color: var(--text-dim);
  }
  
  .export-info-value {
    color: var(--text);
    font-variant-numeric: tabular-nums;
  }
  
  .export-info-value strong {
    color: var(--accent);
  }
  
  .export-info-hint {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  
  /* ============================================================
     СТРАНИЦА КОНЦЕРТОВ
     ============================================================ */
  
  .concert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .concert-row {
    display: grid;
    grid-template-columns: 120px 170px 1fr 220px auto;
    gap: 20px;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
  }
  
  .concert-poster {
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
  }
  
  .concert-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.15s;
  }
  
  .concert-poster img:hover {
    transform: scale(1.05);
  }
  
  .concert-date {
    font-size: 14px;
    color: var(--text);
  }
  
  .concert-city {
    font-size: 14px;
  }
  
  .concert-place {
    display: block;
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 2px;
  }
  
  .concert-note {
    font-size: 13px;
    color: var(--text-dim);
    font-style: italic;
  }
  
  .concert-link {
    text-align: right;
  }
  
  .concert-link a {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
  }
  
  .concert-link a:hover {
    border-bottom-color: var(--accent);
  }
  
  .concert-row-past {
    background: transparent;
    border-color: transparent;
    padding: 8px 12px;
  }
  
  .concert-row-past:hover {
    background: var(--bg-soft);
  }
  
  .past-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  /* ============================================================
     ПРОШЕДШИЕ КОНЦЕРТЫ
     ============================================================ */
  
  .past-concerts {
    margin-top: 60px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  
  .past-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-menu);
    font-size: 16px;
    cursor: pointer;
    text-align: left;
  }
  
  .past-toggle:hover {
    background: var(--bg);
  }
  
  .past-arrow {
    font-size: 13px;
    color: var(--text-dim);
    transition: transform 0.2s;
  }
  
  .past-concerts.open .past-arrow {
    transform: rotate(180deg);
  }
  
  .past-content {
    display: none;
    padding: 24px 4px 0;
  }
  
  .past-concerts.open .past-content {
    display: block;
  }
  
  .past-year {
    margin: 24px 0 12px;
    font-size: 20px;
    color: var(--accent);
    font-family: var(--font-heading);
  }
  
  .past-year:first-child {
    margin-top: 0;
  }
  
  /* ============================================================
     ЛАЙТБОКС — АФИШИ
     ============================================================ */
  
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 20px;
  }
  
  .lightbox.open {
    display: flex;
  }
  
  .lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    cursor: pointer;
    border-radius: var(--radius);
  }
  
  /* ============================================================
     БЛИЖАЙШИЙ КОНЦЕРТ НА ГЛАВНОЙ
     ============================================================ */
  
  .nearest-concert-link {
    display: block;
    color: var(--text);
    text-decoration: none;
  }
  
  .nearest-concert-link:hover {
    color: var(--text);
  }
  
  .nearest-concert {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: border-color 0.15s, transform 0.15s;
  }
  
  .nearest-concert-link:hover .nearest-concert {
    border-color: var(--accent);
    transform: translateY(-2px);
  }
  
  .nearest-concert-poster {
    width: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
  }
  
  .nearest-concert-poster img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  
  .nearest-concert-info {
    padding: 8px 0;
  }
  
  .nearest-concert-date {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .nearest-concert-city {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: var(--font-heading);
  }
  
  .nearest-concert-place {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .nearest-concert-note {
    color: var(--text-dim);
    font-size: 13px;
    font-style: italic;
    margin-bottom: 12px;
  }
  
  .nearest-concert-more {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 8px;
  }
  
  /* ============================================================
     СТРАНИЦА «ИСТОРИЯ»
     ============================================================ */
  
  .history-blocks {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .history-block {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
  }
  
  .history-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .history-block-title {
    font-size: 25px;
    color: var(--accent);
    margin: 0 0 20px;
    text-align: center;
    font-family: var(--font-heading);
  }
  
  .history-block-text {
    line-height: 1.8;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 24px;
  }
  
  .history-block-text p {
    margin: 0 0 14px;
  }
  
  .history-block-text p:last-child {
    margin-bottom: 0;
  }
  
  .history-block-text ul,
  .history-block-text ol {
    margin: 0 0 14px;
    padding-left: 24px;
  }
  
  .history-block-text li {
    margin-bottom: 4px;
  }
  
  .history-block-text a {
    color: var(--accent);
    text-decoration: underline;
  }
  
  .history-block-text a:hover {
    color: var(--accent-hover);
  }
  
  .history-block-text blockquote {
    margin: 14px 0;
    padding: 10px 20px;
    border-left: 3px solid var(--accent);
    color: var(--text-dim);
    font-style: italic;
  }
  
  .history-block-text strong,
  .history-block-text b {
    font-weight: bold;
    color: #fff;
  }
  
  .history-block-text h2,
  .history-block-text h3,
  .history-block-text h4 {
    color: var(--accent);
    margin: 20px 0 12px;
  }
  
  .history-block-text hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
  }
  
  .history-block-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
    border-radius: var(--radius);
  }
  
  .history-block-text figure {
    margin: 1em 0;
    max-width: 100%;
  }
  
  .history-block-text figure img {
    margin: 0 auto;
  }
  
  .history-block-text figcaption {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 8px;
    line-height: 1.5;
    font-style: italic;
  }
  
  @media (min-width: 769px) {
    .history-block-text img[style*="float:left"],
    .history-block-text img[style*="float: left"] {
      max-width: 50%;
      margin: 0.3em 1.2em 0.8em 0;
      float: left;
    }
  
    .history-block-text img[style*="float:right"],
    .history-block-text img[style*="float: right"] {
      max-width: 50%;
      margin: 0.3em 0 0.8em 1.2em;
      float: right;
    }
  
    .history-block-text figure[style*="float:left"],
    .history-block-text figure[style*="float: left"] {
      max-width: 50%;
      margin: 0.3em 1.2em 0.8em 0;
      float: left;
    }
  
    .history-block-text figure[style*="float:left"] img,
    .history-block-text figure[style*="float: left"] img {
      max-width: 100%;
      width: 100%;
      margin: 0;
    }
  
    .history-block-text figure[style*="float:left"] figcaption,
    .history-block-text figure[style*="float: left"] figcaption {
      text-align: left;
      margin-top: 6px;
    }
  
    .history-block-text figure[style*="float:right"],
    .history-block-text figure[style*="float: right"] {
      max-width: 50%;
      margin: 0.3em 0 0.8em 1.2em;
      float: right;
    }
  
    .history-block-text figure[style*="float:right"] img,
    .history-block-text figure[style*="float: right"] img {
      max-width: 100%;
      width: 100%;
      margin: 0;
    }
  
    .history-block-text figure[style*="float:right"] figcaption,
    .history-block-text figure[style*="float: right"] figcaption {
      text-align: right;
      margin-top: 6px;
    }
  }
  
  .history-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 20px;
  }
  
  .history-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg);
    transition: transform 0.15s;
  }
  
  .history-thumb:hover {
    transform: scale(1.03);
  }
  
  .history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* ============================================================
     СТРАНИЦА «ГАЛЕРЕЯ»
     ============================================================ */
  
  .gallery-events {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .gallery-event {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
  }
  
  .gallery-event:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .gallery-event-title {
    font-size: 25px;
    color: var(--accent);
    margin: 0 0 8px;
    font-family: var(--font-heading);
  }
  
  .gallery-event-date {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .gallery-event-description {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-wrap;
  }
  
  /* ============================================================
     СТРАНИЦА «ВИДЕО»
     ============================================================ */
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .video-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
  }
  
  .video-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
  }
  
  .video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg);
    overflow: hidden;
    position: relative;
  }
  
  .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
  }
  
  .video-card:hover .video-thumb img {
    transform: scale(1.05);
  }
  
  .video-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-soft), var(--bg));
    color: var(--accent);
    font-size: 42px;
    transition: background 0.2s;
  }
  
  .video-card:hover .video-thumb-empty {
    background: linear-gradient(135deg, var(--bg), var(--bg-soft));
  }
  
  .video-play-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent);
    padding-left: 6px;
  }
  
  .video-info {
    padding: 14px 16px;
  }
  
  .video-title {
    font-size: 16px;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.3;
    font-family: var(--font-heading);
  }
  
  .video-description {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    white-space: pre-wrap;
  }
  
  .video-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
  }
  
  .video-overlay.open {
    display: flex;
  }
  
  .video-overlay-frame {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
  }
  
  .video-overlay-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .video-overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
  }
  
  .video-overlay-close:hover {
    background: var(--accent);
    border-color: var(--accent);
  }
  
  /* ============================================================
     СТРАНИЦА «МУЗЫКА» — ПЛЕЕРЫ АЛЬБОМОВ
     ============================================================ */
  
  .albums-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  
  .album-player {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    min-width: 0;
    overflow: hidden;
  }
  
  .album-title {
    text-align: center;
    font-size: 20px;
    color: var(--text);
    letter-spacing: 0.5px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    position: relative;
    font-family: var(--font-heading);
  }
  
  .album-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent);
  }
  
  .album-cover-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: border-radius 0.6s ease, box-shadow 0.6s ease;
  }
  
  .album-player.playing .album-cover {
    border-radius: 50%;
    animation: album-spin 6s linear infinite;
    box-shadow:
      0 0 0 4px var(--bg-soft),
      0 0 0 6px var(--border),
      0 0 0 10px var(--bg),
      0 0 0 12px var(--accent);
  }
  
  @keyframes album-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  
  .album-now-playing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    min-height: 54px;
  }
  
  .album-play-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
    padding-left: 3px;
    font-family: var(--font-menu);
  }
  
  .album-play-btn:hover {
    background: var(--accent-hover);
  }
  
  .album-play-btn:active {
    transform: scale(0.95);
  }
  
  .album-info {
    flex: 1;
    overflow: hidden;
  }
  
  .album-now-title {
    font-size: 16px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 20px;
    line-height: 1.2;
    margin: 0;
  }
  
  .album-now-artist {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
    line-height: 1.2;
  }
  
  .album-progress-wrap {
    width: 100%;
    height: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
  }
  
  .album-progress-track {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    position: relative;
  }
  
  .album-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
  }
  
  .album-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
  }
  
  .album-progress-wrap:hover .album-progress-thumb {
    opacity: 1;
  }
  
  .album-time-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: -12px;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
  }
  
  .album-playlist {
    list-style: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
    margin: 0;
  }
  
  .album-playlist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    border-radius: 4px;
    transition: background 0.2s, padding-left 0.2s;
    overflow: hidden;
    min-width: 0;
  }
  
  .album-playlist li .text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .album-playlist li .duration {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
  }
  
  .album-playlist li .lyrics-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    height: 20px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    margin-left: 4px;
  }
  
  .album-playlist li .lyrics-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  
  .album-playlist li.active .lyrics-toggle {
    border-color: var(--accent);
    color: var(--accent);
  }
  
  .album-playlist li.active .lyrics-toggle:hover {
    background: var(--accent);
    color: #fff;
  }
  
  .album-playlist li:hover {
    background: var(--bg);
    padding-left: 18px;
  }
  
  .album-playlist li.active {
    background: var(--border);
    color: #fff;
  }
  
  .album-playlist li.active .duration {
    color: var(--accent);
  }
  
  .album-history-btn {
    width: 100%;
    margin-top: 14px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s, border-color 0.2s;
    font-family: var(--font-menu);
  }
  
  .album-history-btn:hover {
    background: var(--bg);
    border-color: var(--accent);
  }
  
  .album-history-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 11px;
  }
  
  .album-history-btn.open .arrow {
    transform: rotate(180deg);
  }
  
  .album-history-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    background: var(--bg);
    border-radius: var(--radius);
    margin-top: 0;
    padding: 0 16px;
    border: 1px solid transparent;
  }
  
  .album-history-content.open {
    opacity: 1;
    padding: 14px;
    margin-top: 10px;
    border: 1px solid var(--border);
  }
  
  .album-history-content p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
    text-align: justify;
    text-indent: 20px;
    margin-bottom: 8px;
  }
  
  .album-history-content p:last-child {
    margin-bottom: 0;
  }
  
  .album-history-content .signature {
    text-align: right;
    font-style: italic;
    color: var(--text-dim);
    text-indent: 0;
    margin-top: 10px;
  }
  
  .album-player audio {
    display: none;
  }
  
  /* ============================================================
     ЛАЙТБОКС-ГАЛЕРЕЯ ДЛЯ ИСТОРИИ И ГАЛЕРЕИ
     ============================================================ */
  
  .gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
  }
  
  .gallery-lightbox.open {
    display: flex;
  }
  
  .gallery-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
  }
  
  .gallery-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
  }
  
  .gallery-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--text-dim);
  }
  
  .gallery-counter {
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  
  .gallery-caption {
    font-size: 14px;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .gallery-prev,
  .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
  }
  
  .gallery-prev { left: 20px; }
  .gallery-next { right: 20px; }
  
  .gallery-prev:hover,
  .gallery-next:hover {
    background: var(--accent);
    border-color: var(--accent);
  }
  
  .gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
  }
  
  .gallery-close:hover {
    background: var(--accent);
    border-color: var(--accent);
  }
  
  /* ============================================================
     СЛОЙ С ТЕКСТОМ ПЕСНИ
     ============================================================ */
  
  .lyrics-layer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1300;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    backdrop-filter: blur(4px);
  }
  
  .lyrics-layer.open {
    display: flex;
  }
  
  .lyrics-content {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 40px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
  }
  
  .lyrics-title {
    font-size: 24px;
    color: var(--accent);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-family: var(--font-heading);
  }
  
  .lyrics-text {
    white-space: pre-wrap;
    line-height: 1.9;
    font-size: 15px;
    color: var(--text);
  }
  
  .lyrics-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  
  .lyrics-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  
  /* ============================================================
     МЕДИАЗАПРОСЫ
     ============================================================ */
  
  @media (max-width: 992px) {
    .hero h1 { font-size: 65px; }
    h1 { font-size: 32px; }
    h2 { font-size: 25px; }
    .members-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .concert-row {
      grid-template-columns: 100px 1fr auto;
      grid-template-areas:
        "poster date   link"
        "poster city   city"
        "poster note   note";
      gap: 8px 12px;
      padding: 12px;
    }
  
    .concert-poster { grid-area: poster; width: 100px; height: 68px; }
    .concert-date   { grid-area: date; font-size: 14px; }
    .concert-city   { grid-area: city; font-size: 14px; }
    .concert-note   { grid-area: note; }
    .concert-link   { grid-area: link; }
  
    .nearest-concert {
      grid-template-columns: 240px 1fr;
      gap: 20px;
    }
    .nearest-concert-poster {
      width: 240px;
    }
    .nearest-concert-city {
      font-size: 22px;
    }
  
    .albums-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }
  
    .video-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
  
  @media (max-width: 768px) {
    section {
      padding: 20px 0;
    }
  
    .burger-label {
      display: block;
    }
  
    .nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg-soft);
      border-bottom: 1px solid var(--border);
      flex-direction: column;
      gap: 0;
      padding: 10px 0;
    }
  
    .burger-toggle:checked ~ .nav {
      display: flex;
    }
  
    .nav a {
      padding: 12px var(--gutter);
      font-size: 16px;
    }
  
    .burger-toggle:checked ~ .burger-label span {
      background: transparent;
    }
    .burger-toggle:checked ~ .burger-label span::before {
      top: 0;
      transform: translateX(-50%) rotate(45deg);
    }
    .burger-toggle:checked ~ .burger-label span::after {
      top: 0;
      transform: translateX(-50%) rotate(-45deg);
    }
  
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 49px; }
    .hero p { font-size: 14px; }
  
    .footer-inner {
      flex-direction: column;
      text-align: center;
    }
  
    .nearest-concert {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .nearest-concert-poster {
      width: 100%;
    }
    .nearest-concert-city {
      font-size: 20px;
    }
  
    .albums-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
    }
  
    .history-block-title {
      font-size: 20px;
    }
  
    .history-gallery {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 8px;
    }
  
    .gallery-event-title {
      font-size: 20px;
    }
  
    .gallery-prev,
    .gallery-next {
      width: 44px;
      height: 44px;
      font-size: 26px;
    }
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
  
    .gallery-close {
      width: 40px;
      height: 40px;
      font-size: 18px;
      top: 12px;
      right: 12px;
    }
  
    .gallery-lightbox {
      padding: 50px 10px 70px;
    }
  
    .pagination {
      justify-content: center;
      gap: 10px;
    }
  
    .pagination-page {
      min-width: 32px;
      padding: 5px 8px;
      font-size: 13px;
    }
  
    .pagination-arrow {
      font-size: 13px;
      padding: 5px 10px;
    }
  
    .news-search {
      flex-direction: column;
      align-items: stretch;
    }
  
    .news-search input[type="text"] {
      min-width: 0;
    }
  
    .contacts-block {
      padding: 16px;
    }
  
    .subscribe-form {
      flex-direction: column;
      align-items: stretch;
    }
  
    .subscribe-input {
      min-width: 0;
    }
  
    .video-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .video-overlay {
      padding: 60px 10px 20px;
    }
  
    .video-overlay-close {
      width: 40px;
      height: 40px;
      font-size: 18px;
      top: 12px;
      right: 12px;
    }
  
    .lyrics-content {
      padding: 24px 20px;
    }
  
    .lyrics-title {
      font-size: 20px;
      margin-bottom: 16px;
      padding-bottom: 12px;
    }
  
    .lyrics-text {
      font-size: 14px;
      line-height: 1.7;
    }
  
    .lyrics-layer {
      padding: 20px 10px;
    }
  }
  
  @media (max-width: 480px) {
    h1 { font-size: 25px; }
    h2 { font-size: 20px; }
    .hero h1 { font-size: 38px; }
  
    .members-grid {
      grid-template-columns: 1fr;
    }
  
    .player { padding: 16px; }
    .player-btn-play { width: 46px; height: 46px; font-size: 18px; }
  
    .news-item { padding: 16px; }
    .admin-form { padding: 16px; }
  
    .volume-slider {
      width: 60px;
    }
  
    .concert-row {
      grid-template-columns: 90px 1fr;
      grid-template-areas:
        "poster date"
        "poster city"
        "note   note"
        "link   link";
      gap: 6px 12px;
    }
  
    .concert-poster { width: 90px; height: 62px; }
    .concert-link { text-align: left; padding-top: 6px; }
    .concert-note { padding-top: 4px; }
  
    .nearest-concert-city {
      font-size: 18px;
    }
    .nearest-concert-date {
      font-size: 14px;
    }
  
    .albums-grid {
      gap: 20px;
    }
  
    .album-player { padding: 16px; }
  
    .history-gallery {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .video-info {
      padding: 12px;
    }
  
    .video-title {
      font-size: 15px;
    }
  }
  
  @media (max-width: 360px) {
    :root {
      --gutter: 12px;
    }
    h1 { font-size: 22px; }
    .hero h1 { font-size: 32px; }
  
    .concert-row {
      grid-template-columns: 80px 1fr;
    }
  
    .concert-poster { width: 80px; height: 56px; }
  }

  /* ============================================================
     ПЛЕЕР-СТЕК НА ГЛАВНОЙ (HSP — Home Stack Player)
     ============================================================ */

  .hsp {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hsp audio { display: none; }

  .hsp-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition:
      padding 0.35s ease,
      border-color 0.3s ease,
      opacity 0.3s ease,
      background 0.3s ease,
      box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .hsp-row:hover {
    border-color: #3a3a3a;
  }

  .hsp.has-active .hsp-row:not(.active) {
    opacity: 0.4;
    padding: 10px 20px;
  }

  .hsp.has-active .hsp-row:not(.active):hover {
    opacity: 0.65;
  }

  .hsp-row.active {
    padding: 20px;
    border-color: var(--accent);
    background: var(--bg-soft);
    box-shadow: 0 6px 24px rgba(255, 85, 0, 0.08);
    cursor: default;
  }

  .hsp-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
    transition: all 0.25s ease;
    flex-shrink: 0;
    font-family: var(--font-menu);
  }

  .hsp-row:hover .hsp-btn {
    border-color: var(--accent);
    color: var(--accent);
  }

  .hsp-row.active .hsp-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  .hsp-row.active .hsp-btn:hover {
    background: var(--accent-hover);
  }

  .hsp-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hsp-title {
    font-size: 14px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease, font-size 0.25s ease;
  }

  .hsp-row.active .hsp-title {
    color: var(--text);
    font-size: 16px;
  }

  .hsp-bar {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease;
  }

  .hsp-row.active .hsp-bar {
    opacity: 1;
    max-height: 3px;
  }

  .hsp-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
  }

  .hsp-time {
    font-size: 12px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
  }

  .hsp-row.active .hsp-time {
    color: var(--accent);
  }

  .hsp-row.active .hsp-btn {
    animation: hsp-pulse 2.2s ease-in-out infinite;
  }

  @keyframes hsp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 85, 0, 0.08); }
  }

  @media (max-width: 600px) {
    .hsp-row {
      grid-template-columns: 36px 1fr auto;
      gap: 12px;
      padding: 12px 16px;
    }

    .hsp-row.active {
      padding: 16px;
    }

    .hsp.has-active .hsp-row:not(.active) {
      padding: 8px 16px;
    }

    .hsp-btn {
      width: 36px;
      height: 36px;
      font-size: 12px;
    }

    .hsp-title {
      font-size: 13px;
    }

    .hsp-row.active .hsp-title {
      font-size: 15px;
    }

    .hsp-time {
      font-size: 11px;
    }
  }
    /* ============================================================
     ПЛАШКА ДЛЯ ДАТ (класс .date)
     ------------------------------------------------------------
     Кнопка «📅» в редакторе оборачивает выделенное в
     <span class="date">…</span>. Ниже — оформление плашки.
     ============================================================ */

     .date {
      display: inline-block;
      padding: 1px 8px;
      background: rgba(255, 85, 0, 0.15);
      border: 1px solid var(--accent);
      border-radius: 3px;
      color: #ffffff;
      font-size: 0.95em;
      line-height: 1.3;
      margin: 0 2px;
    }