@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Manrope:wght@400;600;700;800&display=swap');

:root {
    /* Цвета из логотипа */
    --neon-orange: #ff8c00;
    --neon-purple: #c084fc;
    --neon-blue: #38bdf8;
    --primary-color: #ff8c00;
    --primary-rgb: 255, 140, 0;
    --text-contrast: #ffffff;
    --transition-speed: 2s;
    --bg-dark: #080618;
    --bg-card: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-muted: #a0aec0;
}

* { -webkit-tap-highlight-color: transparent; user-select: none; box-sizing: border-box; margin: 0; padding: 0; }

body {
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    background: var(--bg-dark);
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.045'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 128px 128px;
}

/* Тонкое фоновое свечение */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 15% 10%, rgba(255,140,0,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 35% at 85% 90%, rgba(192,132,252,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(56,189,248,0.05) 0%, transparent 70%);
}

/* ── ШАПКА ── */
header { position: relative; z-index: 50; }

.header-standard-height { display: flex; align-items: center; height: 32px; position: relative; }

#header-text-inner {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.05rem; font-weight: 900;
    display: flex; align-items: center; gap: 8px;
    color: #ffffff;
}
/* Название станции при смене */
.station-mode { color: #ffffff !important; }

.header-logo-icon {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-purple));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 11px;
    box-shadow: 0 0 10px rgba(255,140,0,0.5);
    flex-shrink: 0;
}

.slide-up { animation: slideUp 0.5s forwards; }
.slide-down { animation: slideDown 0.5s forwards; }
@keyframes slideUp { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-30px); opacity: 0; } }
@keyframes slideDown { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── HEADER ICON BUTTONS ── */
.header-icon-btn {
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex; align-items: center; justify-content: center;
    color: #cbd5e1; font-size: 14px;
    transition: transform 0.15s, background 0.2s;
    cursor: pointer;
}
.header-icon-btn:active { transform: scale(0.88); background: rgba(255,255,255,0.12); }

/* ── ВИЗУАЛИЗАТОР ── */
.visualizer-mini { display: flex; align-items: flex-end; gap: 2px; }
.v-bar { width: 3px; background: var(--neon-orange); height: 4px; border-radius: 2px; transition: height 0.3s; opacity: 0.5; }
.playing-now .v-bar { opacity: 1; }
.playing-now .v-bar:nth-child(1) { animation: bar-dance 0.9s 0s infinite alternate; }
.playing-now .v-bar:nth-child(2) { animation: bar-dance 0.9s 0.2s infinite alternate; }
.playing-now .v-bar:nth-child(3) { animation: bar-dance 0.9s 0.4s infinite alternate; }
@keyframes bar-dance { from { height: 4px; } to { height: 16px; } }

/* ── КАРТОЧКА ── */
.station-card {
    width: 100%; height: 100%;
    padding: 0.5rem 1.25rem 0.5rem;
    border-radius: 0; display: flex;
    flex-direction: column; align-items: center; justify-content: flex-start;
    position: relative; z-index: 10;
    background: transparent;
    overflow: hidden;
}

/* ── ОБЛОЖКА ── */
.art-container {
    width: 100%;
    /* Занимает всё доступное пространство, но не меньше минимума */
    flex: 1 1 0;
    min-height: 0;
    display: flex; align-items: center;
    justify-content: center; pointer-events: none;
    padding: 8px 0 4px;
}

.art-wrapper {
    position: relative;
    /* Размер квадратный — ограничен меньшим из width/height контейнера */
    width: min(72%, 72vw);
    aspect-ratio: 1/1;
    /* Никогда не больше доступной высоты контейнера */
    max-height: 100%;
    display: flex; align-items: center; justify-content: center;
}

/* Неоновое свечение под обложкой */
.art-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px; left: 5%; right: 5%; height: 40px;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-purple));
    filter: blur(28px);
    opacity: 0.55;
    border-radius: 50%;
    z-index: -1;
}

.art-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow:
        0 16px 48px -4px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.06);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.4s ease;
}
/* Плавная смена обложки: Fade Out → swap src → Fade In */
.art-bg.art-changing {
    opacity: 0 !important;
    transform: scale(0.96);
}
/* Нет тени когда показывается обложка по умолчанию */
.art-bg.is-default {
    box-shadow: none;
}

.pulse-playing { animation: art-pulse 2.5s infinite ease-in-out; }
@keyframes art-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* ── ИНФО ── */
/* Блок инфо — фиксированная высота, не сжимается и не растягивается */
.info-area {
    margin-top: 6px;
    margin-bottom: 0;
    width: 100%;
    pointer-events: none;
    flex-shrink: 0;
    /* Минимальная высота чтобы текст всегда был виден */
    min-height: 48px;
}
.track-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem; font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 6px; display: inline-block; white-space: nowrap;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(255,140,0,0.3);
}
.artist-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem; color: #e2e8f0; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    display: inline-block; white-space: nowrap;
}

/* ── БЕГУЩАЯ СТРОКА ── */
.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-animation {
    display: inline-block; padding-left: 100%;
    animation: marquee-scroll 10s linear infinite;
}
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ── ЦВЕТА ── */
.primary-bg { background-color: var(--primary-color) !important; transition: background-color var(--transition-speed) ease; }
.text-btn-contrast { color: var(--text-contrast) !important; }

/* ── БЛОК СООБЩЕНИЙ ── */
.info-msg-wrapper { width: 100%; height: 82px; flex-shrink: 0; z-index: 20; position: relative; }

.message-card, .countdown-card {
    width: 100%; height: 100%; display: flex; align-items: center; padding: 10px 14px;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative; border-radius: 1.25rem; overflow: hidden;
}

.message-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px 0 0 3px;
}
.message-card.type-danger::before  { background: #f87171; box-shadow: 0 0 8px #f87171; }
.message-card.type-warning::before { background: var(--neon-orange); box-shadow: 0 0 8px var(--neon-orange); }
.message-card.type-info::before    { background: var(--neon-blue); box-shadow: 0 0 8px var(--neon-blue); }

.message-card.type-danger  { background: rgba(239,68,68,0.12) !important; border-color: rgba(248,113,113,0.15); }
.message-card.type-warning { background: rgba(255,140,0,0.10) !important; border-color: rgba(255,140,0,0.15); }
.message-card.type-info    { background: rgba(56,189,248,0.10) !important; border-color: rgba(56,189,248,0.15); }

.message-card.type-error {
    background: rgba(239,68,68,0.15) !important;
    border-color: rgba(248,113,113,0.25);
    animation: error-pulse 2s ease-in-out infinite;
}
.message-card.type-error::before { background: #f87171; box-shadow: 0 0 8px #f87171; }
@keyframes error-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
    50%       { box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
}

.message-icon { font-size: 1.4rem; z-index: 2; flex-shrink: 0; }
.msg-icon-danger  { color: #f87171; text-shadow: 0 0 8px #f87171; }
.msg-icon-warning { color: var(--neon-orange); text-shadow: 0 0 8px var(--neon-orange); }
.msg-icon-info    { color: var(--neon-blue); text-shadow: 0 0 8px var(--neon-blue); }
.msg-icon-error   { color: #f87171; text-shadow: 0 0 8px #f87171; }

.timer-text-row {
    position: absolute; left: 0; right: 0; text-align: center; pointer-events: none;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800; color: #ffffff; font-size: 0.8rem;
}
.timer-card-icon { z-index: 2; position: relative; }

.msg-text-container {
    margin-left: 12px; width: 100%;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 0.72rem; font-weight: 700; line-height: 1.1rem;
    color: #f1f5f9;
}
.msg-text-container.is-truncated { -webkit-line-clamp: 2; }
.msg-more-btn {
    position: absolute; right: 12px; bottom: 6px; z-index: 30;
    font-size: 0.65rem; font-weight: 800; color: var(--neon-orange) !important;
    cursor: pointer; background: rgba(255,255,255,0.08);
    padding: 2px 8px; border-radius: 20px;
    border: 1px solid rgba(255,140,0,0.3);
}

/* ── АНИМАЦИЯ Z ── */
.zzz-global {
    position: fixed; color: var(--neon-orange); font-weight: bold;
    pointer-events: none; z-index: 1000; animation: z-fly 2.5s ease-out forwards;
}
@keyframes z-fly {
    0%   { transform: translate(0,0) scale(0.5) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    100% { transform: translate(var(--tw-tx),-150px) scale(1.5) rotate(var(--tw-rot)); opacity: 0; }
}

/* ── КНОПКА PLAY ── */
.md-play-btn {
    width: 68px; height: 68px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; border: none; cursor: pointer;
    position: relative; z-index: 50;
    background: linear-gradient(135deg, var(--neon-orange) 0%, #e05a00 100%) !important;
    box-shadow:
        0 0 0 4px rgba(255,140,0,0.18),
        0 0 24px rgba(255,140,0,0.4),
        0 8px 32px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.md-play-btn:active { transform: scale(0.93); }

/* Неоновые кольца вокруг Play */
.sleep-aura {
    position: absolute; inset: -10px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.75);
    opacity: 0; pointer-events: none;
}
.is-playing-btn .sleep-aura { animation: aura-pulse 2s ease-out infinite; }
@keyframes aura-pulse {
    0%   { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255,140,0,0.4); }
    100% { transform: scale(1.6); opacity: 0; box-shadow: 0 0 0 8px rgba(255,140,0,0); }
}

.spinner-ring {
    display: none; position: absolute; inset: -4px;
    border-radius: 50%; border: 3px solid transparent;
    border-top-color: #ffffff;
    animation: rotate-loading 0.8s linear infinite; z-index: 10;
}
.is-loading .spinner-ring { display: block; }
@keyframes rotate-loading { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── МОДАЛКИ ── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal-overlay.visible { opacity: 1; visibility: visible; pointer-events: auto; }

.modal-content {
    background: #100d2a !important;
    border-radius: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,140,0,0.08);
}
.modal-content h3 { color: #ffffff !important; }

.timer-btn {
    background: rgba(255,255,255,0.05) !important;
    padding: 1rem; border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    font-family: 'Manrope', sans-serif;
    font-weight: 800; color: #ffffff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
    cursor: pointer;
}
.timer-btn:active { transform: scale(0.95); background: rgba(255,255,255,0.10) !important; }
.timer-btn i { font-size: 1.1rem; color: var(--neon-orange); }

.timer-btn-cancel {
    grid-column: span 2;
    background: rgba(239,68,68,0.10) !important;
    color: #f87171 !important;
    padding: 1rem; border-radius: 1.25rem; font-weight: 800;
    border: 1px solid rgba(239,68,68,0.18) !important;
    font-family: 'Manrope', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; transition: transform 0.15s;
}
.timer-btn-cancel:active { transform: scale(0.97); }

#msg-modal .modal-content p { color: #ffffff !important; }
.modal-content .text-center h3 { color: #ffffff !important; }
#vol-modal .fa-volume-low,
#vol-modal .fa-volume-high { color: #94a3b8 !important; }

#vol-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px; border-radius: 3px;
    background: linear-gradient(to right, var(--neon-orange) 0%, var(--neon-orange) var(--vol-pct,100%), rgba(255,255,255,0.10) var(--vol-pct,100%));
    outline: none; cursor: pointer;
}
#vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--neon-orange);
    box-shadow: 0 0 10px rgba(255,140,0,0.6);
    cursor: pointer; transition: transform 0.15s;
}
#vol-slider::-webkit-slider-thumb:active { transform: scale(1.2); }

/* ── ФОН ── */
.gradient-bg { display: none; }

.skeleton { background: rgba(255,255,255,0.10); border-radius: 6px; color: transparent !important; }
.glass-extra {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
}

/* ── SWIPER ВЫСОТА ── */
.mySwiper {
    width: 100%;
    height: 100%;
}
.mySwiper .swiper-slide {
    height: 100%;
}

/* ── СТАТИЧНЫЙ БЛОК СООБЩЕНИЙ (над свайпером) ── */
.static-msg-area {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem 0;
    z-index: 20;
    position: relative;
}

/* ── СТАТИЧНАЯ КНОПКА PLAY (под свайпером) ── */
.static-play-area {
    flex-shrink: 0;
    position: relative;
    width: 68px;
    height: 68px;
    margin: 1rem auto 1.2rem;
}

.static-play-area .md-play-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.static-play-area .md-play-btn.hidden-play {
    opacity: 0;
    pointer-events: none;
}

/* Карточка внутри свайпа — только арт + инфо, без кнопки */
.station-card .info-area {
    margin-bottom: 0;
}

/* ── ФУТЕР ── */
#dynamic-footer { min-height: 72px; }

.footer-steps-container { position: relative; height: 56px; }
.footer-step {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.footer-step.active { opacity: 1; pointer-events: auto; }
.footer-step button, .footer-step a { width: 100%; }

.social-link-btn {
    color: #94a3b8;
    font-size: 2.25rem;
    transition: transform 0.2s, color 0.2s;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.social-link-btn:active { transform: scale(0.85); color: var(--neon-orange); }

.social-test { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }

.install-pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80; display: inline-block;
    animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ── TOAST ── */
#toast-container {
    position: fixed; top: 80px; left: 50%;
    transform: translateX(-50%); z-index: 2000;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}

/* ── ПРЕЛОАДЕР ── */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: linear-gradient(145deg, #1a1040 0%, #0d0826 60%, #1a0a2e 100%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner {
    position: relative; width: 220px; height: 220px;
    display: flex; align-items: center; justify-content: center;
}

.preloader-logo {
    width: 130px; height: 130px;
    border-radius: 50%; object-fit: cover;
    position: relative; z-index: 2;
    animation: logo-breathe 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,140,0,0.6));
}
@keyframes logo-breathe {
    0%,100% { transform: scale(1);    filter: drop-shadow(0 0 16px rgba(255,140,0,0.5)); }
    50%      { transform: scale(1.07); filter: drop-shadow(0 0 32px rgba(255,140,0,0.9)); }
}

.preloader-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.r1 {
    width: 160px; height: 160px;
    border-top-color: rgba(255,140,0,0.85);
    border-right-color: rgba(255,140,0,0.3);
    animation: spin-r 1.8s linear infinite;
}
.r2 {
    width: 186px; height: 186px;
    border-bottom-color: rgba(192,132,252,0.75);
    border-left-color: rgba(192,132,252,0.2);
    animation: spin-r 2.8s linear infinite reverse;
}
.r3 {
    width: 212px; height: 212px;
    border-top-color: rgba(56,189,248,0.55);
    border-right-color: rgba(56,189,248,0.15);
    animation: spin-r 4s linear infinite;
}
@keyframes spin-r { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── НЕОНОВОЕ СВЕЧЕНИЕ СОЦСЕТЕЙ ── */
.social-link-btn {
    filter: drop-shadow(0 0 5px rgba(148,163,184,0.4));
    transition: transform 0.2s, color 0.2s, filter 0.2s !important;
}
.social-link-btn:hover { filter: drop-shadow(0 0 9px rgba(148,163,184,0.7)); }
.social-link-btn:active { filter: drop-shadow(0 0 12px rgba(255,140,0,0.8)) !important; }

/* ── ДРОЖАНИЕ КНОПКИ УСТАНОВКИ ── */
@keyframes install-shake {
    0%, 80%, 100% { transform: translateX(0) rotate(0deg); }
    82%  { transform: translateX(-3px) rotate(-1.5deg); }
    84%  { transform: translateX(3px)  rotate(1.5deg); }
    86%  { transform: translateX(-2px) rotate(-1deg); }
    88%  { transform: translateX(2px)  rotate(1deg); }
    90%  { transform: translateX(-1px) rotate(-0.5deg); }
    92%  { transform: translateX(0); }
}
#install-btn {
    animation: install-shake 4s ease-in-out infinite;
}

/* ══════════════════════════════════════════════
   BOTTOMSHEET — общие стили
   ══════════════════════════════════════════════ */
.bottomsheet-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.55);
    display: flex; align-items: flex-end;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.bottomsheet-overlay.visible {
    opacity: 1; pointer-events: all;
}
.bottomsheet-panel {
    width: 100%;
    background: #1a1235;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 12px 20px 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85dvh;
    overflow-y: auto;
}
.bottomsheet-overlay.visible .bottomsheet-panel {
    transform: translateY(0);
}
.bottomsheet-handle {
    width: 40px; height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* ── Детали трека ── */
.sheet-details-body {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
}
.sheet-art-large {
    width: min(72vw, 260px);
    aspect-ratio: 1/1;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 16px 48px -4px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
}
.sheet-track-info {
    text-align: center; width: 100%;
}
.sheet-marquee-wrap {
    width: 100%; overflow: hidden; white-space: nowrap;
    position: relative;
}
.sheet-artist {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem; font-weight: 700;
    color: #94a3b8; text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 6px;
    display: inline-block; white-space: nowrap;
}
.sheet-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.05rem; font-weight: 800;
    color: #ffffff; line-height: 1.3;
    display: inline-block; white-space: nowrap;
}
.sheet-share-btn {
    margin-top: 4px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff; border-radius: 14px;
    padding: 12px 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; gap: 8px;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
}
.sheet-share-btn:active { transform: scale(0.95); background: rgba(255,255,255,0.12); }

/* ── История треков ── */
.sheet-history-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.85rem; font-weight: 900;
    color: #ffffff; text-align: center;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.sheet-history-list {
    display: flex; flex-direction: column; gap: 10px;
}
.history-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.history-item-art {
    width: 44px; height: 44px;
    border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.history-item-info { overflow: hidden; min-width: 0; flex: 1; }
.history-item-marquee {
    overflow: hidden; white-space: nowrap;
    width: 100%; position: relative;
}
.history-item-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.72rem; font-weight: 800;
    color: #ffffff; white-space: nowrap;
    display: inline-block;
}
.history-item-artist {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem; color: #94a3b8; font-weight: 600;
    white-space: nowrap; display: inline-block;
    margin-top: 6px;
}
.history-item-time {
    margin-left: auto; flex-shrink: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.65rem; color: #64748b;
}

/* ── Свайп-хинт на карточке ── */
.swipe-hint {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; opacity: 0.35; pointer-events: none;
    font-size: 0.55rem; color: #94a3b8;
    font-family: 'Manrope', sans-serif; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.swipe-hint.hint-up   { top: 6px; }
.swipe-hint.hint-down { bottom: 6px; }
.swipe-hint i { font-size: 10px; }
