/* ═══════════════════════════════════════════════════════════════════════════
   Galaxyz Flow Beta — galaxyz-flow-beta.css
   Separate from galaxyz-discover.css — does NOT affect /discover
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (defaults — overridden per theme by JS) ── */
#gxz-flow-root {
    --flow-accent:   #a855f7;
    --flow-glow:     rgba(168,85,247,0.45);
    --flow-bg:       radial-gradient(ellipse at 60% 20%, #1a0533 0%, #0a0015 70%);
    --flow-card-bg:  transparent;
    --flow-motion:   0.9;
    --flow-radius:   20px;
    --flow-transition: 0.38s cubic-bezier(0.4,0.2,0.2,1);
}

/* ── Root container ── */
#gxz-flow-root {
    position: fixed;
    inset: 0;
    background: var(--flow-bg);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    z-index: 9000;
    transition: background 0.6s ease;
}

/* ── Full-screen rising particle canvas ── */
.gxz-flow-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.75;
}

/* ── Ambient blurred background ── */
.gxz-flow-ambient {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(60px) brightness(0.25) saturate(1.6);
    transform: scale(1.1);
    transition: background-image 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

/* ── Begin overlay ── */
.gxz-flow-begin {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    cursor: pointer;
}
.gxz-flow-begin.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.gxz-flow-begin-inner {
    text-align: center;
    padding: 40px 32px;
}
.gxz-flow-begin-logo img {
    height: 36px;
    opacity: 0.9;
    margin-bottom: 20px;
}
.gxz-flow-begin-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--flow-accent);
    border: 1px solid var(--flow-accent);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.gxz-flow-begin-label {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #fff;
}
.gxz-flow-begin-hint {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* ── Top bar ── */
.gxz-flow-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
    background: transparent;
}
.gxz-flow-topbar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gxz-flow-wordmark img {
    height: 22px;
    opacity: 0.85;
}
.gxz-flow-beta-chip {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--flow-accent);
    border: 1px solid var(--flow-accent);
    border-radius: 20px;
    padding: 2px 7px;
    text-transform: uppercase;
    opacity: 0.9;
}
.gxz-flow-topbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.gxz-flow-nav-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    position: relative;
    transition: background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}
.gxz-flow-nav-btn:active { transform: scale(0.9); }
.gxz-flow-liked-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--flow-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* ── Session progress bar (top edge) ── */
.gxz-flow-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 101;
}
.gxz-flow-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--flow-accent);
    transition: width 0.25s linear;
    box-shadow: 0 0 6px var(--flow-glow);
}

/* ── Stage: wrapper for loading/empty/stack, centered in the root ── */
.gxz-flow-stage {
    position: absolute;
    inset: 60px 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* Allow the card stack to overflow the stage bounds for swipe animations */
    overflow: visible;
}

/* ── Loading ── */
.gxz-flow-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    z-index: 5;
}
.gxz-flow-rocket {
    width: 72px;
    height: 72px;
    object-fit: contain;
    animation: gxz-rocket-pulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 18px var(--flow-accent));
}
@keyframes gxz-rocket-pulse {
    0%, 100% { transform: translateY(0) scale(1);   opacity: 1; }
    50%       { transform: translateY(-10px) scale(1.08); opacity: 0.8; }
}

/* ── Ghost card during drag: blur + dim background cards, no content visible ── */
.gxz-flow-stack.is-dragging .gxz-flow-card:not(.is-top) {
    filter: blur(8px);
    opacity: 0.35;
    transition: none;
}
/* When drag ends, fade the real card back in smoothly */
.gxz-flow-stack:not(.is-dragging) .gxz-flow-card:not(.is-top) {
    filter: blur(0);
    opacity: 1;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* ── Empty state ── */
.gxz-flow-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    text-align: center;
    padding: 24px;
}
.gxz-flow-reload-btn {
    background: var(--flow-accent);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 0 20px var(--flow-glow);
}
.gxz-flow-reload-btn:active { transform: scale(0.95); opacity: 0.85; }

/* ── Card stack ── */
.gxz-flow-stack {
    position: relative;
    width: min(88vw, 380px);
    height: min(72vh, 520px);
    touch-action: none; /* prevent iOS scroll from stealing swipe gestures */
}

/* ── Individual card ── */
.gxz-flow-card {
    position: absolute;
    inset: 0;
    border-radius: var(--flow-radius);
    overflow: hidden;
    background: var(--flow-card-bg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    transform-origin: center bottom;
    transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}
.gxz-flow-card:not(.is-top) {
    cursor: default;
    pointer-events: none;
}
.gxz-flow-card:not(.is-top):nth-child(2) {
    transform: scale(0.95) translateY(14px);
    opacity: 0.7;
}
.gxz-flow-card:not(.is-top):nth-child(3) {
    transform: scale(0.90) translateY(28px);
    opacity: 0.4;
}
.gxz-flow-card.is-top {
    z-index: 10;
    will-change: transform;
}

/* Blur cards below when top is flipped */
.gxz-flow-stack.has-flipped-card .gxz-flow-card:not(.is-top) {
    filter: blur(4px) brightness(0.4);
    transition: filter 0.38s ease;
}

/* Swipe animations */
@keyframes gxz-flow-swipe-right {
    to { transform: translateX(140%) rotate(25deg); opacity: 0; }
}
@keyframes gxz-flow-swipe-left {
    to { transform: translateX(-140%) rotate(-25deg); opacity: 0; }
}
.gxz-flow-card.swipe-right {
    animation: gxz-flow-swipe-right 0.42s cubic-bezier(0.55,0,1,0.45) forwards;
    pointer-events: none;
}
.gxz-flow-card.swipe-left {
    animation: gxz-flow-swipe-left 0.42s cubic-bezier(0.55,0,1,0.45) forwards;
    pointer-events: none;
}

/* ── Card faces ── */
.gxz-flow-card-face {
    position: absolute;
    inset: 0;
    border-radius: var(--flow-radius);
    overflow: hidden;
    transition: opacity var(--flow-transition), transform var(--flow-transition);
}

/* Front face */
.gxz-flow-card-face--front {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
.gxz-flow-card.is-flipped .gxz-flow-card-face--front {
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
}

/* Back face */
.gxz-flow-card-face--back {
    opacity: 0;
    transform: scale(0.92);
    z-index: 1;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.gxz-flow-card.is-flipped .gxz-flow-card-face--back {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    pointer-events: auto;
    z-index: 3;
}

/* ── Front face content ── */
.gxz-flow-card-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.gxz-flow-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 52px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 2;
}
.gxz-flow-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gxz-flow-card-artist {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
}
.gxz-flow-card-artist--link {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.3);
}
.gxz-flow-card-artist--link:active {
    color: #fff;
    text-decoration-color: rgba(255,255,255,0.7);
}
.gxz-flow-card-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.gxz-flow-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.gxz-flow-badge-type {
    cursor: pointer;
    border-color: var(--flow-accent);
    color: var(--flow-accent);
    transition: background 0.2s, transform 0.15s;
}
.gxz-flow-badge-type:active { transform: scale(0.93); }

/* Card progress bar */
.gxz-flow-card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 3;
}
.gxz-flow-card-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--flow-accent);
    box-shadow: 0 0 6px var(--flow-glow);
    transition: width 0.25s linear;
}

/* Double-tap zone */
.gxz-flow-dbl-zone {
    position: absolute;
    top: 5%;
    left: 10%;
    right: 10%;
    bottom: 28%;
    z-index: 1;
    pointer-events: none; /* handled on the card element itself */
}

/* ── Back face content ── */
.gxz-flow-back-art-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.25) saturate(1.4);
    transform: scale(1.1);
    pointer-events: none;
}
.gxz-flow-back-art-hero {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
.gxz-flow-back-body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 16px 20px 24px;
    text-align: center;
    flex-shrink: 0;
}
.gxz-flow-back-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}
.gxz-flow-back-artist {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    text-decoration: none;
    display: block;
}
.gxz-flow-back-artist--link {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.3);
}
.gxz-flow-back-artist--link:active {
    color: #fff;
}
.gxz-flow-back-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 18px;
}
.gxz-flow-back-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.gxz-flow-back-dsp {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 4px;
    margin-bottom: 12px;
}
.gxz-flow-back-dsp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.18s, transform 0.15s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gxz-flow-back-dsp-btn:active {
    transform: scale(0.96);
    opacity: 0.82;
}
.gxz-dsp-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}
.gxz-dsp-icon svg {
    display: block;
}
.gxz-dsp-label {
    flex: 1;
    text-align: center;
    /* offset to visually center label accounting for icon width */
    margin-right: 28px;
}
.gxz-flow-back-hint {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.25);
    text-transform: lowercase;
    pointer-events: none;
}

/* ── Swipe hints ── */
.gxz-flow-hint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-radius: 10px;
    padding: 8px 18px;
    border: 3px solid;
    opacity: 0;
    pointer-events: none;
    z-index: 200;
    transition: opacity 0.1s;
}
.gxz-flow-hint-like {
    left: 24px;
    color: #22c55e;
    border-color: #22c55e;
    text-shadow: 0 0 12px rgba(34,197,94,0.5);
}
.gxz-flow-hint-skip {
    right: 24px;
    color: #ef4444;
    border-color: #ef4444;
    text-shadow: 0 0 12px rgba(239,68,68,0.5);
}

/* ── Action bar ── */
.gxz-flow-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 24px 16px;
    background: transparent;
    z-index: 100;
}
.gxz-flow-btn {
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
    color: #fff;
}
.gxz-flow-btn-skip {
    width: 54px;
    height: 54px;
    background: rgba(239,68,68,0.15);
    border: 1.5px solid rgba(239,68,68,0.4);
    color: #ef4444;
}
.gxz-flow-btn-skip:active { transform: scale(0.88); background: rgba(239,68,68,0.3); }
.gxz-flow-btn-play {
    width: 68px;
    height: 68px;
    background: var(--flow-accent);
    box-shadow: 0 0 28px var(--flow-glow), 0 4px 16px rgba(0,0,0,0.4);
}
.gxz-flow-btn-play:active { transform: scale(0.9); }
.gxz-flow-btn-like {
    width: 54px;
    height: 54px;
    background: rgba(34,197,94,0.15);
    border: 1.5px solid rgba(34,197,94,0.4);
    color: #22c55e;
}
.gxz-flow-btn-like:active { transform: scale(0.88); background: rgba(34,197,94,0.3); }
.gxz-flow-btn-share {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}
.gxz-flow-btn-share:active { transform: scale(0.88); }

/* Burst animation on like */
@keyframes gxz-burst {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.gxz-flow-btn.burst { animation: gxz-burst 0.45s ease; }

/* ── Toast ── */
.gxz-flow-toast {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(30,30,30,0.95);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 24px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 500;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.gxz-flow-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Player / Theme sheet ── */
.gxz-flow-player-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12,8,20,0.97);
    border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0 0 40px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
    z-index: 800;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.gxz-flow-player-sheet.is-open {
    transform: translateY(0);
}
.gxz-flow-sheet-handle {
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 12px auto 0;
}
.gxz-flow-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
}
.gxz-flow-sheet-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}
.gxz-flow-sheet-close {
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
/* ── Theme picker: horizontal scroll row of particle-canvas cards ── */
.gxz-flow-theme-grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 8px 20px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.gxz-flow-theme-grid::-webkit-scrollbar { display: none; }

.gxz-flow-theme-card {
    position: relative;
    flex: 0 0 110px;
    width: 110px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    border: 2px solid rgba(255,255,255,0.08);
    transition: border-color 0.25s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.gxz-flow-theme-card.is-active {
    border-color: #ec4899;
}
.gxz-flow-theme-card:active { transform: scale(0.94); }

/* Canvas fills the whole card */
.gxz-flow-theme-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Pink checkmark badge — top-right, hidden unless active */
.gxz-flow-theme-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.gxz-flow-theme-check svg { width: 100%; height: 100%; }
.gxz-flow-theme-card.is-active .gxz-flow-theme-check { opacity: 1; }

/* Theme name — bold caps at bottom */
.gxz-flow-theme-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

/* Sheet overlay */
.gxz-flow-sheet-overlay,
.gxz-flow-panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 700;
}
.gxz-flow-sheet-overlay.is-visible,
.gxz-flow-panel-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ── Liked panel ── */
.gxz-flow-liked-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70vh;
    background: rgba(12,8,20,0.97);
    border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
    z-index: 800;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.gxz-flow-liked-panel.is-open { transform: translateY(0); }
.gxz-flow-liked-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.gxz-flow-panel-close {
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.gxz-flow-liked-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 32px;
    flex: 1;
}
.gxz-flow-liked-empty {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    text-align: center;
    padding: 32px 0;
}
.gxz-flow-liked-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gxz-flow-liked-art {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.gxz-flow-liked-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gxz-flow-liked-artist {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gxz-flow-liked-info { min-width: 0; flex: 1; }

/* scratch-wobble removed — was causing card/audio state desync */
