/**
 * Trust HLS Reels Test Suite - Isolated CSS
 * High-performance 9:16 vertical video layout, snap-scrolling,
 * floating test controls toolbar, and developer diagnostics HUD.
 */

:root {
    --trust-red: #D51C29;
    --trust-red-dark: #b5161f;
    --trust-red-glow: rgba(213, 28, 41, 0.45);
    --bg-dark: #080808;
    --panel-bg: rgba(18, 18, 22, 0.92);
    --panel-border: rgba(255, 255, 255, 0.12);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

.hls-catalog-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hls-matched-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 10px;
    border-radius: 16px;
    background: var(--trust-red-dark);
    font-size: 12px;
}

.hls-reel-description {
    overflow-wrap: anywhere;
    margin-bottom: 8px;
    font-size: 13px;
}

.hls-catalog-empty:not([hidden]) {
    height: 100%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.hls-catalog-pagination {
    position: absolute;
    z-index: 50;
    bottom: calc(16px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.hls-catalog-pagination button {
    pointer-events: auto;
}

.hls-catalog-pagination [hidden] {
    display: none;
}

.hls-catalog-pagination span {
    padding: 6px 12px;
    border-radius: 16px;
    background: #17171b;
    font-size: 13px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

[dir="rtl"] body, [dir="rtl"] body * {
    font-family: system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif !important;
}

/* ===================================================
   DESKTOP WRAPPER (Centered 9:16 Phone Mockup)
   =================================================== */
.hls-desktop-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    position: relative;
    background: radial-gradient(circle at 50% 30%, #151518 0%, #080808 100%);
    overflow: hidden;
}

/* Background ambient glow effect from active reel */
.hls-ambient-glow {
    position: absolute;
    width: 600px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 28, 41, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.8s ease;
}

/* ===================================================
   REELS CONTAINER (Vertical Snap Scroll)
   =================================================== */
.hls-reels-container {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    z-index: 2;
    background: #000;
}

/* Hide scrollbar */
.hls-reels-container::-webkit-scrollbar { display: none; }
.hls-reels-container { -ms-overflow-style: none; scrollbar-width: none; }

/* Desktop phone frame style */
@media (min-width: 768px) {
    .hls-reels-container {
        height: 92vh;
        height: 92dvh;
        aspect-ratio: 9 / 16;
        width: auto;
        max-width: calc(min(92vh, 92dvh) * 9 / 16);
        border-radius: 28px;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.1),
            0 24px 80px rgba(0, 0, 0, 0.8),
            0 0 120px rgba(213, 28, 41, 0.12);
        overflow-y: scroll;
        overflow-x: hidden;
    }
}

/* ===================================================
   SINGLE REEL SLIDE
   =================================================== */
.hls-reel-slide {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hls-reel-slide {
        height: 100%;
    }
}

/* Video: Strictly locked to 9:16 vertical aspect ratio */
.hls-reel-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: calc(100vh * 9 / 16);
    max-width: calc(100dvh * 9 / 16);
    max-height: calc(100vw * 16 / 9);
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    background: #000;
}

@media (min-width: 768px) {
    .hls-reel-slide video {
        max-width: 100%;
        max-height: 100%;
    }
}

/* Thumbnail poster overlay */
.hls-reel-poster {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: calc(100vh * 9 / 16);
    max-width: calc(100dvh * 9 / 16);
    max-height: calc(100vw * 16 / 9);
    aspect-ratio: 9 / 16;
    background-size: cover;
    background-position: center;
    background-color: #0d0d0f;
    z-index: 1;
    transition: opacity 0.35s ease;
}

.hls-reel-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hls-reel-poster {
        max-width: 100%;
        max-height: 100%;
    }
}

.hls-reel-poster.loaded {
    opacity: 0;
    pointer-events: none;
}

/* Top & Bottom gradient shadows for readability */
.hls-reel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hls-reel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Progress bar at top */
.hls-progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.hls-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--trust-red);
    box-shadow: 0 0 8px var(--trust-red-glow);
    transition: width 0.1s linear;
}

/* Spinner loader inside slide */
.hls-slide-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hls-slide-loader.hidden {
    opacity: 0;
}

.hls-slide-loader .spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--trust-red);
    border-radius: 50%;
    animation: hlsSpin 0.75s linear infinite;
}

@keyframes hlsSpin {
    to { transform: rotate(360deg); }
}

/* Center Tap Play/Pause Indicator */
.hls-play-pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 15;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
}

.hls-play-pause-indicator.show {
    animation: hlsPlayPauseAnim 0.6s ease-out forwards;
}

.hls-play-pause-indicator.needs-play,
.hls-play-pause-indicator.needs-retry {
    width: 150px;
    height: 110px;
    border-radius: 18px;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: none;
    pointer-events: auto;
    cursor: pointer;
}

.hls-play-pause-indicator.needs-play:focus-visible,
.hls-play-pause-indicator.needs-retry:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.hls-play-pause-indicator i {
    font-size: 34px;
    color: #fff;
}

@keyframes hlsPlayPauseAnim {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    30% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* ===================================================
   TOP HEADER TOOLBAR (Testing Controls)
   =================================================== */
.hls-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(12px + var(--safe-top)) 14px 10px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hls-top-bar {
        position: absolute;
        width: 100%;
        max-width: calc(min(92vh, 92dvh) * 9 / 16);
        left: 50%;
        transform: translateX(-50%);
        border-radius: 28px 28px 0 0;
    }
}

.hls-top-bar > * {
    pointer-events: auto;
}

.hls-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hls-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hls-back-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255,255,255,0.3);
}

.hls-badge-tag {
    background: linear-gradient(135deg, var(--trust-red), var(--trust-red-dark));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px var(--trust-red-glow);
}

.hls-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hls-btn-control {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hls-btn-control:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.hls-btn-control.active {
    background: var(--trust-red);
    border-color: var(--trust-red);
    box-shadow: 0 0 12px var(--trust-red-glow);
}

/* ===================================================
   TESTING CONTROL STRIP (Mode & Quality Selector)
   =================================================== */
.hls-testing-strip {
    position: fixed;
    top: calc(56px + var(--safe-top));
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hls-testing-strip {
        position: absolute;
        max-width: calc(min(92vh, 92dvh) * 9 / 16);
        left: 50%;
        transform: translateX(-50%);
        top: 56px;
    }
}

.hls-testing-strip > * {
    pointer-events: auto;
}

.hls-controls-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 14, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 4px 6px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.hls-segmented-group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 2px;
    gap: 2px;
}

.hls-segment-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hls-segment-btn.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hls-segment-btn.mode-active-optimized {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.hls-segment-btn.mode-active-baseline {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ===================================================
   RIGHT SIDE ACTIONS (TikTok / Reels style)
   =================================================== */
.hls-reel-actions {
    position: absolute;
    right: 12px;
    bottom: calc(140px + var(--safe-bottom));
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

[dir="rtl"] .hls-reel-actions {
    right: auto;
    left: 12px;
}

.hls-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

.hls-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.25s ease;
}

.hls-action-btn:hover .hls-action-icon {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.08);
}

.hls-action-label {
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    opacity: 0.9;
}

.hls-like-btn.liked .hls-action-icon {
    background: rgba(213, 28, 41, 0.25);
    border-color: rgba(213, 28, 41, 0.6);
}

.hls-like-btn.liked .hls-action-icon i {
    color: var(--trust-red);
    transform: scale(1.18);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

/* ===================================================
   BOTTOM PRODUCT INFO & LIVE METRIC BADGE
   =================================================== */
.hls-bottom-info {
    position: absolute;
    bottom: calc(18px + var(--safe-bottom));
    left: 16px;
    right: 76px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[dir="rtl"] .hls-bottom-info {
    left: 76px;
    right: 16px;
}

.hls-live-abr-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    letter-spacing: 0.2px;
}

.hls-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
    animation: hlsPulse 1.8s infinite;
}

@keyframes hlsPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hls-product-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hls-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hls-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #f1f1f1;
}

/* ===================================================
   DIAGNOSTICS HUD PANEL (Collapsible Floating Benchmarks)
   =================================================== */
.hls-diagnostics-overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    width: min(520px, calc(100vw - 40px));
    max-height: min(640px, calc(100vh - 80px));
    background: var(--panel-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .hls-diagnostics-overlay {
    left: auto;
    right: 20px;
}

.hls-diagnostics-overlay.collapsed {
    max-height: 48px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.2);
}

.hls-diagnostics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    user-select: none;
}

.hls-diag-title {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.hls-diag-title i {
    color: var(--trust-red);
}

.hls-diag-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hls-mini-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hls-mini-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hls-mini-btn.danger:hover {
    background: rgba(239, 68, 68, 0.4);
    border-color: #ef4444;
}

.hls-diagnostics-body {
    padding: 14px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
}

/* Quick KPI Grid */
.hls-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hls-kpi-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hls-kpi-label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hls-kpi-value {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-feature-settings: "tnum";
}

.hls-kpi-value.good { color: #10b981; }
.hls-kpi-value.warn { color: #f59e0b; }
.hls-kpi-value.danger { color: #ef4444; }

/* Per-Reel Benchmarks Table */
.hls-table-container {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
}

.hls-diag-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: left;
    white-space: nowrap;
}

[dir="rtl"] .hls-diag-table {
    text-align: right;
}

.hls-diag-table th {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    padding: 7px 10px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hls-diag-table td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-feature-settings: "tnum";
}

.hls-diag-table tr.active-row {
    background: rgba(213, 28, 41, 0.15);
    font-weight: 700;
}

.hls-diag-table tr:last-child td {
    border-bottom: none;
}

.hls-type-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hls-type-badge.cold {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.hls-type-badge.preloaded {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.hls-type-badge.resumed {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Event log strip */
.hls-event-log {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 8px;
    max-height: 85px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hls-log-item {
    display: flex;
    gap: 6px;
}

.hls-log-time {
    color: rgba(255, 255, 255, 0.35);
}

/* Desktop keyboard hints */
.hls-desktop-hints {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    background: rgba(18, 18, 22, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

[dir="rtl"] .hls-desktop-hints {
    right: auto;
    left: 24px;
}

@media (max-width: 767px) {
    .hls-desktop-hints {
        display: none !important;
    }

    .hls-diagnostics-overlay {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: calc(100vw - 20px);
    }
}

/* Small inline vector icons: no icon stylesheet or font request.
   Keep the existing classes so dynamic playback controls use the same icons. */
.fa-solid {
    display: inline-block; width: 1em; height: 1em;
    vertical-align: -0.125em; background-color: currentColor;
    -webkit-mask: var(--reel-icon) center / contain no-repeat;
    mask: var(--reel-icon) center / contain no-repeat;
}
.fa-arrow-left { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2012H4m7-7-7%207%207%207%22%2F%3E%3C%2Fsvg%3E"); }
.fa-volume-xmark { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%204%206%208H3v8h3l5%204Zm5%205%206%206m0-6-6%206%22%2F%3E%3C%2Fsvg%3E"); }
.fa-volume-high { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%204%206%208H3v8h3l5%204Zm4%204a6%206%200%200%201%200%208m3-11a10%2010%200%200%201%200%2014%22%2F%3E%3C%2Fsvg%3E"); }
.fa-gauge-high { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020a10%2010%200%201%201%2016%200ZM12%2014l5-6M6%2012h1m10%200h1M12%204v2%22%2F%3E%3C%2Fsvg%3E"); }
.fa-play { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203%2021%2012%206%2021Z%22%2F%3E%3C%2Fsvg%3E"); }
.fa-pause { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203v18M17%203v18%22%2F%3E%3C%2Fsvg%3E"); }
.fa-heart { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021%203%2012C-3%205%206-2%2012%205c6-7%2015%200%209%207Z%22%2F%3E%3C%2Fsvg%3E"); }
.fa-arrow-up-right-from-square { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203h7v7m0-7L10%2014M10%204H3v17h17v-7%22%2F%3E%3C%2Fsvg%3E"); }
.fa-hashtag { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%202-4%2020M19%202l-4%2020M3%208h19M1%2016h19%22%2F%3E%3C%2Fsvg%3E"); }
.fa-layer-group { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202%2010%205-10%205L2%207Zm-10%2010%2010%205%2010-5M2%2017l10%205%2010-5%22%2F%3E%3C%2Fsvg%3E"); }
.fa-barcode { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203v18M6%203v18M9%203v18M14%203v18M18%203v18M22%203v18%22%2F%3E%3C%2Fsvg%3E"); }
.fa-film { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h20v18H2Zm5%200v18M17%203v18M2%208h5m10%200h5M2%2016h5m10%200h5M7%2012h10%22%2F%3E%3C%2Fsvg%3E"); }
.fa-rotate-right { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%209a9%209%200%201%200%200%208M20%202v7h-7%22%2F%3E%3C%2Fsvg%3E"); }
.fa-download { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202v14m-6-6%206%206%206-6M3%2017v5h18v-5%22%2F%3E%3C%2Fsvg%3E"); }
.fa-chevron-up { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2016%208-8%208%208%22%2F%3E%3C%2Fsvg%3E"); }
.fa-chevron-down { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%208%208%208%208-8%22%2F%3E%3C%2Fsvg%3E"); }
.fa-terminal { --reel-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%204%207%207-7%207m9%200h9%22%2F%3E%3C%2Fsvg%3E"); }
