/**
 * Page CSS — auto-extracted from resources/views/live/show.blade.php
 * 
 * @auto-generated 2026-06-11
 * @source resources/views/live/show.blade.php
 * 
 * Loaded via @stack('page-css') in layouts/app.blade.php
 */

.ratio-9x16 { --bs-aspect-ratio: 177.78%; }
    .stream-shell { background: #000; }
    .pulse-dot{width:8px;height:8px;background:#fff;border-radius:50%;display:inline-block;animation:pulse 1.4s infinite}
    @keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}100%{opacity:1;transform:scale(1)}}
    .stream-controls{background:linear-gradient(transparent, rgba(0,0,0,.8)); opacity:0; transition:opacity .25s}
    .stream-shell:hover .stream-controls{opacity:1}
    @media(hover:none){.stream-controls{opacity:1}}
    .text-twitch{color:#e10600}.text-youtube{color:#e10600}.text-xoompa{color:#0b0b0b}
    .avatar-img,.chat-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}
    .gift-img{width:22px;height:22px;vertical-align:middle;margin-left:.25rem}
    .platform-icon{width:20px;text-align:center;font-size:.8rem}
    .floating-event{position:absolute;padding:10px 16px;border-radius:22px;font-weight:600;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4);box-shadow:0 6px 16px rgba(0,0,0,.25);animation:floatUp 4s forwards;display:flex;align-items:center;gap:8px;max-width:320px;opacity:0}
    .floating-event .avatar-img{width:24px;height:24px}
    .event-gift{background:linear-gradient(45deg,#e10600,#e10600)}
    .event-follow{background:linear-gradient(45deg,#e10600,#e10600)}
    .event-like{background:linear-gradient(45deg,#f5c400,#f5c400)}
    .event-sub{background:linear-gradient(45deg,#0b0b0b,#0b0b0b)}
    .event-join{background:linear-gradient(45deg,#e10600,#f5c400)}
    @keyframes floatUp{0%{transform:translateY(100vh) scale(.9);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateY(-120px) scale(1);opacity:0}}

    /* XSP 2.0: Gift Burst styles now managed by GiftBurstManager component */

    .theater-mode .sidebar{display:none!important}
    .theater-mode .video-column{flex:0 0 100%!important;max-width:100%!important}

    .overlay-subscription-notice {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background: radial-gradient(circle at top, rgba(31,42,68,.95) 0%, rgba(15,23,42,.95) 45%, rgba(2,6,23,.96) 100%);
        z-index: 4;
    }
    .overlay-subscription-card {
        width: min(720px, 100%);
        background: rgba(15, 23, 42, 0.82);
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: 14px;
        padding: 1.15rem 1.25rem;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        color: #e2e8f0;
    }
    .overlay-subscription-pill {
        display: inline-block;
        margin-bottom: .65rem;
        padding: .25rem .6rem;
        border-radius: 999px;
        font-size: .7rem;
        font-weight: 700;
        color: #fde68a;
        background: rgba(245, 158, 11, 0.16);
        border: 1px solid rgba(245, 158, 11, 0.35);
        text-transform: uppercase;
        letter-spacing: .02em;
    }
    .overlay-subscription-card h3 {
        margin: 0 0 .5rem;
        font-size: 1.3rem;
        color: #f8fafc;
    }
    .overlay-subscription-card p {
        margin: 0;
        font-size: .98rem;
        color: #cbd5e1;
    }
    .overlay-subscription-link {
        color: #93c5fd;
        font-weight: 700;
        text-decoration: underline;
    }

    @media (max-width: 767.98px) {
        #streamContainer {
            --bs-aspect-ratio: 177.78%;
        }

        .stream-stage {
            padding-bottom: 5.7rem;
        }

        #liveChatCard.chat-overlay {
            position: absolute;
            left: 0.6rem;
            right: 0.6rem;
            bottom: 0;
            margin: 0;
            z-index: 5;
            background: transparent;
            border: none;
            border-radius: 20px;
            backdrop-filter: none;
            box-shadow: none;
        }

        .stream-fullscreen-btn {
            z-index: 6;
        }

        .sidebar {
            margin-top: 2.5rem;
        }

        #liveChatCard.chat-overlay .card-body {
            background: transparent;
        }

        #chatFeed {
            height: 108px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
        }

        #chatFeed::-webkit-scrollbar {
            width: 4px;
        }

        #chatFeed::-webkit-scrollbar-track {
            background: transparent;
        }

        #chatFeed::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.35);
            border-radius: 999px;
        }

        #chatFeed .list-group-item {
            background: transparent;
            color: #fff;
            border-color: rgba(255, 255, 255, 0.08);
            padding: 0.35rem 0.7rem;
            font-size: 0.74rem;
        }

        #liveChatCard.chat-overlay .card-footer {
            padding: 0.35rem 0.6rem 0.5rem;
            background: transparent;
            border-top: 0;
        }

        .chat-input-row {
            flex-wrap: nowrap;
            gap: 0.4rem;
        }

        .chat-input-row .form-control {
            font-size: 0.78rem;
            padding: 0.35rem 0.5rem;
        }

        .chat-send-btn {
            padding: 0.35rem 0.55rem;
        }

        .chat-inline-btn {
            width: 36px;
            height: 36px;
            padding: 0;
        }

        .chat-inline-btn i {
            margin: 0;
        }

        .gift-selector-btn {
            min-width: 36px;
            min-height: 36px;
        }

        .rose-gift-btn {
            width: 36px;
            height: 36px;
        }
    }

    /* ===== Gift Selector Styles ===== */
    .gift-selector-btn{
        background:linear-gradient(135deg,#e10600,#f5c400)!important;
        border:none!important;
        color:#fff!important;
        box-shadow:0 4px 12px rgba(255,107,53,.3);
        transition:all .3s ease;
    }
    .gift-selector-btn:hover{background:linear-gradient(135deg,#f5c400,#f5c400)!important;transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,107,53,.4)}
    .gift-overlay{background:rgba(0,0,0,.7);backdrop-filter:blur(8px);animation:giftFadeIn .3s ease}
    @keyframes giftFadeIn{from{opacity:0}to{opacity:1}}
    .gift-popup{animation:giftScaleIn .3s ease;max-height:80vh;overflow:hidden}
    @keyframes giftScaleIn{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
    .gift-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:12px;max-height:320px;overflow-y:auto;padding:4px;align-content:start}
    .gift-grid::-webkit-scrollbar{width:6px}
    .gift-grid::-webkit-scrollbar-thumb{background:#e10600;border-radius:3px}
    .gift-item{aspect-ratio:1/1;border:2px solid transparent;border-radius:16px;background:linear-gradient(135deg,#f7f7f7,#f0f0f0);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;position:relative;overflow:hidden;transition:all .2s ease;cursor:pointer;padding:6px;color:inherit;text-align:center}
    .gift-item:hover{border-color:#e10600;background:linear-gradient(135deg,#f7f7f7,#f0f0f0);transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,107,53,.18)!important}
    .gift-item.selected{border-color:#e10600;background:linear-gradient(135deg,#e10600,#f5c400)!important;color:#fff!important;box-shadow:0 8px 22px rgba(255,107,53,.28)!important}
    .gift-item img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.12));transition:transform .2s ease}
    .gift-item:hover img{transform:scale(1.05)}
    .gift-placeholder{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;background:linear-gradient(135deg,#e10600,#f5c400);box-shadow:0 4px 12px rgba(255,107,53,.3)}
    #chatFeed{scroll-behavior:smooth}
    #chatFeed.chat-scroll-paused{scroll-behavior:auto}
    #chatFeed .chat-divider{position:relative;padding:0;border:0;background:transparent}
    #chatFeed .chat-divider::before{content:"";position:absolute;left:1.5rem;right:1.5rem;top:50%;border-top:1px solid var(--bs-border-color-translucent);z-index:0}
    #chatFeed .chat-divider span{position:relative;z-index:1;display:inline-block;margin:.5rem auto;padding:.25rem .75rem;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--bs-secondary-color);background:var(--bs-body-bg);border:1px solid var(--bs-border-color-translucent);border-radius:999px}
    #chatFeed .chat-scroll-anchor{height:0;padding:0;margin:0;border:0;visibility:hidden;pointer-events:none}
    @media(max-width:480px){.gift-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
    @media(max-width:360px){.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
    .gift-empty{grid-column:1/-1}
    .combo-badge{animation:giftPulse 1s infinite}
    @keyframes giftPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
    .combo-timer{position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#f5c400,#f5c400);border-radius:2px;transform-origin:left;animation:timerBar 2s linear forwards}
    @keyframes timerBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
    .rose-gift-btn{background:linear-gradient(135deg,#e10600,#f5c400)!important;border:none!important;width:50px;height:50px;box-shadow:0 4px 12px rgba(233,30,99,.3);transition:all .3s ease}
    .rose-gift-btn:hover{background:linear-gradient(135deg,#f5c400,#f5c400)!important;transform:scale(1.1);box-shadow:0 6px 20px rgba(233,30,99,.4)}
    .rose-gift-btn:active{transform:scale(.95)!important}
    .rose-timer-bar{position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#f5c400,#f5c400);border-radius:0 0 25px 25px;transform-origin:left;animation:roseTimerBar 1s linear forwards}
    @keyframes roseTimerBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}

html, body { margin: 0; min-height: 100%; background: radial-gradient(circle at top, #1f2a44 0%, #0f172a 45%, #020617 100%); color: #e2e8f0; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
    .shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; }
    .card { width: min(680px, 100%); background: rgba(15, 23, 42, 0.82); border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 18px; padding: 28px; box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45); }
    .pill { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fde68a; background: rgba(245, 158, 11, 0.16); border: 1px solid rgba(245, 158, 11, 0.35); }
    h1 { margin: 0 0 10px 0; font-size: 25px; line-height: 1.25; color: #f8fafc; }
    p { margin: 8px 0; font-size: 16px; line-height: 1.55; color: #cbd5e1; }
    a { color: #93c5fd; font-weight: 700; }

html,body { margin:0; height:100%; overflow:hidden; background:#000; }
    .wrap { position:fixed; inset:0; overflow:hidden; }
    iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
    .wm-logo {
      position:absolute; right:10px; bottom:10px;
      width:160px; height:46px;
      background-image:url('{{ asset(\App\Support\WebpHelper::maybe('images/Xoompalogofinalsword.png')) }}');
      background-size:contain; background-repeat:no-repeat; background-position:center right;
      opacity:0.55; pointer-events:none; filter:saturate(0.9);
    }
    * { scrollbar-width: none; }
    *::-webkit-scrollbar { display: none; }
