/* ═══════════════════════════════════════════════════════════════
   WALLPAPER DETAIL — Premium Redesign
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout ── */
.wp-detail-page {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: var(--space-lg);
}

.wp-detail-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.wp-detail-primary {
    min-width: 0;
}

.wp-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (max-width: 1000px) {
    .wp-detail-main { grid-template-columns: 1fr; }
    .wp-detail-sidebar { order: -1; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.wp-detail-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-elevated);
}

.wp-detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(40px) saturate(1.2);
    opacity: 0.3;
    transform: scale(1.1);
}

/* Breadcrumb */
.wp-hero-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-md) var(--space-lg);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.wp-hero-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.wp-hero-breadcrumb a:hover { color: var(--accent); }
.wp-hero-breadcrumb span { color: var(--text-muted); }
.wp-hero-breadcrumb svg { flex-shrink: 0; opacity: 0.5; }

/* Main image frame */
.wp-detail-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    min-height: 400px;
    max-height: 70vh;
}

.wp-detail-main-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

/* Gradient overlay */
.wp-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    pointer-events: none;
    z-index: 2;
}

/* Action buttons on image */
.wp-hero-actions {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.wp-hero-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.wp-hero-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    background: rgba(255,62,62,0.2);
}

.wp-hero-btn svg { width: 20px; height: 20px; }

.wp-hero-btn.is-fav svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.wp-hero-btn.is-liked svg {
    fill: #3b82f6;
    stroke: #3b82f6;
}

.wp-hero-btn.pop {
    animation: wpBtnPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes wpBtnPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Info strip below hero */
.wp-hero-info {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    flex-wrap: wrap;
}

.wp-hero-info-left { flex: 1; min-width: 0; }

.wp-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
    color: var(--text-primary);
}

.wp-hero-anime {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255,62,62,0.1);
    transition: all var(--transition-fast);
}

.wp-hero-anime:hover { background: rgba(255,62,62,0.2); }

.wp-hero-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 6px 0 0;
    line-height: 1.5;
}

.wp-hero-info-right {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}

.wp-hero-badge {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Stats bar */
.wp-hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    flex-wrap: wrap;
}

.wp-hero-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.wp-hero-stat svg { width: 15px; height: 15px; color: var(--text-muted); }
.wp-hero-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-left: 2px; }

/* ═══════════════════════════════════════════════════════════════
   PREMIUM DOWNLOAD SECTION
   ═══════════════════════════════════════════════════════════════ */
.wp-download-section {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-lg) var(--space-md);
}

.wp-download-primary {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.wp-btn-download {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), #e63946);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wp-btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.wp-btn-download:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255,62,62,0.35);
}

.wp-btn-download:hover::before { transform: translateX(100%); }
.wp-btn-download:active { transform: translateY(1px) scale(0.98); }

/* Reuses .ripple/@keyframes wpRipple already defined in wallpaper.css */
.wp-btn-download .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: wpRipple 500ms ease-out;
    pointer-events: none;
}

.wp-dl-icon { width: 22px; height: 22px; flex-shrink: 0; }
.wp-dl-text { display: block; line-height: 1.2; }
.wp-dl-sub { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.8; }

.wp-btn-download-ghost {
    width: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.wp-btn-download-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
    color: var(--accent);
}

.wp-btn-download-ghost svg { width: 20px; height: 20px; }

/* Compact download info line: "3840 × 2160 • PNG • 8.4 MB • 16:9" */
.wp-dl-info-line {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

/* Resolution variant picker */
.wp-resolution-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.wp-resolution-chip {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wp-resolution-chip:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.wp-resolution-chip.is-current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Report modal (reuses .wp-share-popup shell) */
.wp-report-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--space-md);
}

.wp-report-select,
.wp-report-textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
}

.wp-report-textarea {
    resize: vertical;
    min-height: 60px;
}

.wp-report-select:focus,
.wp-report-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Download meta row */
.wp-dl-meta {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.wp-dl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-secondary);
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wp-dl-meta-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.wp-dl-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Share popup */
.wp-share-popup {
    position: absolute;
    bottom: calc(100% + 8px);
    right: var(--space-lg);
    width: 280px;
    background: var(--bg-elevated);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 10;
    animation: wpShareIn 0.2s ease-out;
}

@keyframes wpShareIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wp-share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.wp-share-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.wp-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 8px;
}

.wp-share-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: background var(--transition-fast);
}

.wp-share-item:hover { background: rgba(255,255,255,0.06); }

.wp-share-item[data-brand="facebook"] svg { color: #1877f2; }
.wp-share-item[data-brand="twitter"] svg { color: #1da1f2; }
.wp-share-item[data-brand="whatsapp"] svg { color: #25d366; }
.wp-share-item[data-brand="telegram"] svg { color: #0088cc; }

/* ═══════════════════════════════════════════════════════════════
   INFO CARD
   ═══════════════════════════════════════════════════════════════ */
.wp-info-card,
.wp-stats-card,
.wp-colors-card,
.wp-tags-card,
.wp-anime-card,
.wp-sidebar-box {
    background: var(--bg-elevated);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.wp-info-header,
.wp-stats-header,
.wp-colors-header,
.wp-tags-header,
.wp-anime-header,
.wp-sidebar-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wp-info-header svg,
.wp-stats-header svg,
.wp-colors-header svg,
.wp-tags-header svg,
.wp-anime-header svg,
.wp-sidebar-box-header svg {
    color: var(--accent);
    opacity: 0.8;
}

/* Info grid */
.wp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-lg);
}

@media (max-width: 600px) {
    .wp-info-grid { grid-template-columns: 1fr; }
}

.wp-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wp-info-item-full { grid-column: 1 / -1; }

.wp-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.wp-info-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.wp-info-value a {
    color: var(--accent);
    text-decoration: none;
}

.wp-info-value a:hover { text-decoration: underline; }

.wp-info-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wp-cat-chip {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wp-cat-chip:hover {
    background: rgba(255,62,62,0.1);
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   STATS CARD
   ═══════════════════════════════════════════════════════════════ */
.wp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-md);
}

.wp-stat-item {
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all var(--transition-normal);
}

.wp-stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.wp-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.wp-stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.2;
}

.wp-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   COLOR PALETTE
   ═══════════════════════════════════════════════════════════════ */
.wp-colors-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wp-colors-count {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.wp-colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.wp-color-item {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition-fast);
}

.wp-color-item:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.wp-color-swatch {
    height: 48px;
    width: 100%;
    transition: height var(--transition-normal);
}

.wp-color-item:hover .wp-color-swatch { height: 40px; }

.wp-color-hex {
    padding: 6px 8px;
    font-size: 0.72rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.3);
    text-align: center;
}

.wp-color-copy-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
}

.wp-color-item.copied .wp-color-copy-tooltip {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   TAGS
   ═══════════════════════════════════════════════════════════════ */
.wp-tags-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wp-tags-count {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.wp-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wp-tag-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wp-tag-chip:hover {
    background: rgba(255,62,62,0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   ANIME INFO CARD (sidebar)
   ═══════════════════════════════════════════════════════════════ */
.wp-anime-body {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.wp-anime-cover {
    width: 72px;
    flex-shrink: 0;
}

.wp-anime-cover-placeholder {
    width: 72px;
    height: 96px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.wp-anime-cover-img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.wp-anime-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.wp-anime-meta-chip {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
}

.wp-anime-meta-chip.wp-anime-rating {
    color: #fbbf24;
    background: rgba(251,191,36,0.12);
}

.wp-anime-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.wp-anime-genre-chip {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
}

.wp-anime-info {
    flex: 1;
    min-width: 0;
}

.wp-anime-title-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.wp-anime-title-link:hover { color: var(--accent); }

.wp-anime-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 var(--space-sm);
    line-height: 1.4;
}

.wp-anime-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wp-anime-btn:hover { gap: 6px; }

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR BOXES
   ═══════════════════════════════════════════════════════════════ */
.wp-sidebar-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.wp-sidebar-source-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 8px;
    transition: color var(--transition-fast);
}

.wp-sidebar-source-link:hover { color: var(--accent); }

.wp-sidebar-submitter {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   RELATED WALLPAPERS GRID
   ═══════════════════════════════════════════════════════════════ */
.wp-section {
    margin-top: var(--space-xl);
}

.wp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.wp-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

/* Horizontal scroll-snap carousel — no JS library needed */
.wp-related-grid {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--space-md);
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.wp-related-grid::-webkit-scrollbar { height: 6px; }
.wp-related-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
}

.wp-related-grid .wp-related-card {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
}

@media (max-width: 600px) {
    .wp-related-grid .wp-related-card { width: 160px; }
}

.wp-related-card .wp-card-res-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    font-size: 0.68rem;
    font-weight: 500;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.wp-related-card .wp-card-stats-line {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   COMMENT SECTION (wallpaper)
   ═══════════════════════════════════════════════════════════════ */
.wp-comment-section {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE STICKY DOWNLOAD
   ═══════════════════════════════════════════════════════════════ */
.wp-mobile-dl-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(18,18,18,0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: wpStickyIn 0.3s ease-out;
}

@keyframes wpStickyIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.wp-mobile-dl-sticky .wp-btn-download { margin: 0; }

@media (max-width: 768px) {
    .wp-mobile-dl-sticky { display: block; }
    .wp-download-section { padding-bottom: calc(var(--space-lg) + 60px); }
}

/* ═══════════════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════════════ */
@keyframes wpSkeletonPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.wp-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: wpSkeletonPulse 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}
