
    #dealRoomLoader .hb-dre{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;justify-content:center;
        padding:0 16px calc(11vh + env(safe-area-inset-bottom,0px));pointer-events:none;
        background:linear-gradient(180deg,rgba(5,4,9,0) 45%,rgba(5,4,9,.72) 100%);transition:opacity .45s ease}
    #dealRoomLoader .hb-dre.is-done{opacity:0}
    #dealRoomLoader .hb-dre-card{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
        padding:18px 26px 20px;border-radius:22px;min-width:min(320px,100%);
        background:linear-gradient(165deg,rgba(9,21,38,.78),rgba(5,11,20,.78));
        border:1px solid rgba(235,216,176,.38);box-shadow:0 24px 60px rgba(0,0,0,.6),0 0 26px rgba(229,193,88,.14),inset 0 1px 0 rgba(255,255,255,.12)}
    #dealRoomLoader .hb-dre-card img{width:58px;height:auto;margin-bottom:4px;filter:drop-shadow(0 0 12px rgba(229,193,88,.35))}
    #dealRoomLoader .hb-dre-title{margin:0;font:800 19px/1.25 Lexend,system-ui,sans-serif;letter-spacing:.2px;
        background:linear-gradient(135deg,#f7e6b8,#e5c158 55%,#c9a541);-webkit-background-clip:text;background-clip:text;color:transparent}
    #dealRoomLoader .hb-dre-sub{margin:0;min-height:20px;color:#c9d1de;font:500 14px/1.4 system-ui,sans-serif}
    #dealRoomLoader .hb-dre-bar{position:relative;display:block;width:190px;height:3px;margin-top:10px;border-radius:3px;
        overflow:hidden;background:rgba(255,255,255,.12)}
    #dealRoomLoader .hb-dre-bar i{position:absolute;inset:0 auto 0 0;width:38%;border-radius:3px;
        background:linear-gradient(90deg,transparent,#e5c158,#f7e6b8,transparent);animation:hbDrEnterLoaderBar 1.15s ease-in-out infinite}
    @keyframes hbDrEnterLoaderBar{0%{transform:translateX(-110%)}100%{transform:translateX(290%)}}
    @media (prefers-reduced-motion:reduce){#dealRoomLoader .hb-dre-bar i{animation:none;width:100%;opacity:.7}}
    /* Phones play the portrait locker.mp4 (same 768px rule as warm() above),
       whose safe fills the lower part of the frame: the card goes in the empty
       band above it so the safe stays in view. */
    @media (max-width:768px){
        #dealRoomLoader .hb-dre{align-items:flex-start;padding:calc(3vh + env(safe-area-inset-top,0px)) 16px 0;
            background:linear-gradient(0deg,rgba(5,4,9,0) 62%,rgba(5,4,9,.6) 100%)}
    }
    /* Short (16:9) phones: the safe starts higher, so a slimmer card. */
    @media (max-width:768px) and (max-height:720px){
        #dealRoomLoader .hb-dre{padding-top:calc(2vh + env(safe-area-inset-top,0px))}
        #dealRoomLoader .hb-dre-card{gap:3px;padding:11px 22px 13px}
        #dealRoomLoader .hb-dre-card img{width:40px;margin-bottom:2px}
        #dealRoomLoader .hb-dre-title{font-size:17px}
        #dealRoomLoader .hb-dre-sub{font-size:13px}
        #dealRoomLoader .hb-dre-bar{margin-top:6px}
    }
    /* Desktop (the landscape loader_deal.mp4): the safe drifts across ~12-83% of
       the frame's width, so a card anywhere over the full-bleed video covers it at
       some point. While this card is up the video becomes a 16:9 box on the right
       (78vw, or full height on ultra-wide), its edges faded into the backdrop,
       and the message takes the free column on the left. */
    @media (min-width:769px) and (min-aspect-ratio:1001/750){
        #dealRoomLoader.hb-dre-on .drl-video{inset:auto;top:50%;right:0;left:auto;
            width:min(78vw,177.78vh);height:min(43.875vw,100vh);transform:translateY(-50%);
            -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 15%),linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%);
            -webkit-mask-composite:source-in;
            mask-image:linear-gradient(90deg,transparent 0,#000 15%),linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%);
            mask-composite:intersect}
        /* left column = up to the safe's left edge (100vw - 0.88 x video width), less margins */
        #dealRoomLoader .hb-dre{align-items:center;justify-content:flex-start;padding:0 0 0 5vw;
            background:linear-gradient(90deg,rgba(5,4,9,.6) 0%,rgba(5,4,9,0) 34%)}
        #dealRoomLoader .hb-dre-card{align-items:flex-start;text-align:left;gap:10px;padding:0;min-width:0;
            width:calc(95vw - min(68.64vw,156.44vh) - 2vw);max-width:460px;
            background:none;border:0;border-radius:0;box-shadow:none}
        #dealRoomLoader .hb-dre-card img{width:clamp(44px,3.6vw,64px);margin-bottom:8px}
        #dealRoomLoader .hb-dre-title{font-size:clamp(24px,2.7vw,46px);line-height:1.15;text-wrap:balance}
        #dealRoomLoader .hb-dre-sub{font-size:clamp(14px,1.15vw,19px);color:#e6e9f0}
        #dealRoomLoader .hb-dre-bar{width:100%;max-width:340px;height:4px;margin-top:clamp(12px,1.6vw,26px)}
    }
    /* Desktop-width but squarish/portrait (portrait tablets, 5:4 screens): no room
       beside the safe, so the video becomes a full-width 16:9 band low enough to
       leave the card a strip above it. (The side rule starts just above 4:3,
       so exactly 4:3 is this one and the two never both match.) */
    @media (min-width:769px) and (max-aspect-ratio:4/3){
        #dealRoomLoader.hb-dre-on .drl-video{inset:auto;left:0;right:0;width:100vw;height:56.25vw;
            top:max(calc(50vh - 28.125vw), calc(2vh + 150px));
            -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%);
            mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%)}
        #dealRoomLoader .hb-dre{align-items:flex-start;padding:2vh 16px 0;background:none}
        #dealRoomLoader .hb-dre-card{gap:3px;padding:11px 22px 13px}
        #dealRoomLoader .hb-dre-card img{width:40px;margin-bottom:2px}
        #dealRoomLoader .hb-dre-title{font-size:17px}
        #dealRoomLoader .hb-dre-sub{font-size:13px}
        #dealRoomLoader .hb-dre-bar{margin-top:6px}
    }
