/* HappyPlayTV • TMDB featured v2 • scoped, no interference with site/ruleta */
.hp-featured-section{padding:18px 0 34px;color:#f8faff;position:relative}
.hp-featured-section .hp-featured-wrap{width:min(1200px,calc(100% - 36px));margin:0 auto}
.hp-featured-section .hp-featured-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 17px}
.hp-featured-section .hp-featured-kicker{color:#ffcc68;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;margin:0 0 5px}
.hp-featured-section .hp-featured-heading{color:#fff;font-size:clamp(23px,3vw,30px);margin:0 0 5px;line-height:1.2;font-weight:900}
.hp-featured-section .hp-featured-sub{color:#aebedc;font-size:13px;margin:0;line-height:1.5}
.hp-featured-section .hp-featured-controls{display:flex;gap:8px;flex-shrink:0}
.hp-featured-section .hp-featured-arrow{cursor:pointer;display:grid;place-items:center;height:38px;width:38px;background:#131d39;color:#fff;border:1px solid #495277;border-radius:12px;font-size:24px;line-height:1;transition:background .16s ease,transform .16s ease}
.hp-featured-section .hp-featured-arrow:hover{background:#263a6d;transform:translateY(-1px)}
.hp-featured-section .hp-featured-track{display:flex;overflow-x:auto;gap:13px;padding:4px 1px 16px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#5b5483 transparent;overscroll-behavior-inline:contain}
.hp-featured-section .hp-featured-card{flex:0 0 clamp(156px,16.1%,196px);scroll-snap-align:start;min-width:0;overflow:hidden;background:linear-gradient(180deg,#151d32,#0b1020);border:1px solid #323b58;border-radius:15px;box-shadow:0 12px 30px #02061044;transition:transform .18s ease,border-color .18s ease}
.hp-featured-section .hp-featured-card:hover{transform:translateY(-3px);border-color:#bb76eb}
.hp-featured-section .hp-featured-poster{display:block;position:relative;overflow:hidden;background:#14233b;aspect-ratio:2/3}
.hp-featured-section .hp-featured-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .24s ease}
.hp-featured-section .hp-featured-card:hover .hp-featured-poster img{transform:scale(1.035)}
.hp-featured-section .hp-featured-chip{position:absolute;top:9px;left:9px;border-radius:6px;padding:4px 7px;background:#070d20dd;color:#fff;font-size:9px;font-weight:900;letter-spacing:.06em;backdrop-filter:blur(6px)}
.hp-featured-section .hp-featured-chip[data-kind="tv"]{background:#7a2bd8e6}
.hp-featured-section .hp-featured-rank{position:absolute;right:8px;top:8px;background:#ffc55b;color:#231321;padding:3px 8px;border-radius:6px;font-weight:950;font-size:11px}
.hp-featured-section .hp-featured-info{padding:12px 10px 13px;display:flex;flex-direction:column;gap:7px;min-height:89px}
.hp-featured-section .hp-featured-info strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.28;font-size:13px;color:#fff;font-weight:800}
.hp-featured-section .hp-featured-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#b6c7e4;font-size:11px}
.hp-featured-section .hp-featured-star{color:#ffcb53;font-weight:800}
.hp-featured-section .hp-featured-credit{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#9faecc;font-size:11px;margin:0 auto;padding:3px 0 12px}
.hp-featured-section .hp-featured-credit a{color:#82d5f0;text-decoration:underline;text-underline-offset:2px}
.hp-featured-section .hp-featured-tmdb-mark{font-weight:900;border:1px solid #01b4e4;border-radius:7px;color:#90cea1;padding:2px 6px;white-space:nowrap}
.hp-featured-section .hp-featured-card a{color:inherit;text-decoration:none;display:block}
@media(max-width:720px){.hp-featured-section{padding:15px 0 25px}.hp-featured-section .hp-featured-wrap{width:calc(100% - 24px)}.hp-featured-section .hp-featured-card{flex-basis:clamp(132px,40vw,175px)}.hp-featured-section .hp-featured-track{gap:10px}.hp-featured-section .hp-featured-arrow{width:33px;height:33px}.hp-featured-section .hp-featured-info{padding:10px 9px}.hp-featured-section .hp-featured-heading{font-size:22px}}
@media(prefers-reduced-motion:reduce){.hp-featured-section *{scroll-behavior:auto!important;transition:none!important}}


/* HappyPlayTV TMDB Destacados v3 — responsive carousels and subtle continuous motion.
   All selectors scoped to TMDB only. Does not affect Channels or existing site carousels. */
.hp-featured-section{box-sizing:border-box!important;max-width:100%!important;min-width:0!important;overflow:clip;padding-block:20px 26px}
.hp-featured-section .hp-featured-wrap{box-sizing:border-box!important;width:calc(100% - 40px)!important;max-width:1440px!important;min-width:0!important;margin-inline:auto!important}
.hp-featured-section .hp-featured-header{width:100%!important;min-width:0;align-items:center}
.hp-featured-section .hp-featured-header>div:first-child{min-width:0;flex:1}
.hp-featured-section .hp-featured-heading{font-size:clamp(22px,2.6vw,30px)!important;line-height:1.18!important}
.hp-featured-section .hp-featured-sub{max-width:70ch}
.hp-featured-section .hp-featured-track{
 box-sizing:border-box!important;position:relative!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 width:100%!important;max-width:100%!important;min-width:0!important;gap:14px!important;
 overflow-x:auto!important;overflow-y:hidden!important;scroll-behavior:auto!important;scroll-snap-type:none!important;
 overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none!important;
 padding:4px 1px 14px!important;align-items:stretch;touch-action:pan-x pan-y;overflow-anchor:none;
}
.hp-featured-section .hp-featured-track::-webkit-scrollbar{display:none}
.hp-featured-section .hp-featured-card{
 box-sizing:border-box!important;display:block!important;flex:0 0 18.35%!important;width:18.35%!important;min-width:0!important;
 max-width:18.35%!important;min-height:0!important;height:auto!important;scroll-snap-align:none!important;
 margin:0!important;align-self:stretch;background:linear-gradient(165deg,#161c34 0%,#0c1425 100%);
 border-color:#343b5f;box-shadow:0 8px 20px #0005;
}
.hp-featured-section .hp-featured-card>a{display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important}
.hp-featured-section .hp-featured-poster{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:2/3!important;flex:0 0 auto!important;overflow:hidden!important}
.hp-featured-section .hp-featured-poster img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:2/3!important;object-fit:cover!important}
.hp-featured-section .hp-featured-info{box-sizing:border-box!important;flex:1!important;min-width:0!important;min-height:83px!important;max-width:100%!important;gap:6px!important;padding:10px 9px 12px!important}
.hp-featured-section .hp-featured-info strong{font-size:clamp(11px,1.2vw,14px)!important;min-width:0!important;max-width:100%!important;color:#f8faff!important;line-height:1.3!important}
.hp-featured-section .hp-featured-meta{font-size:11px!important;gap:5px 8px!important}
.hp-featured-section .hp-featured-arrow{flex:0 0 36px;min-width:36px;min-height:36px;touch-action:manipulation}
.hp-featured-section .hp-featured-arrow:focus-visible,.hp-featured-section .hp-featured-card a:focus-visible{outline:2px solid #ffdb82;outline-offset:3px}
@media(min-width:1440px){
 .hp-featured-section .hp-featured-card{flex-basis:15.8%!important;width:15.8%!important;max-width:15.8%!important}
}
@media(min-width:641px) and (max-width:1023px){
 .hp-featured-section .hp-featured-card{flex-basis:29.5%!important;width:29.5%!important;max-width:29.5%!important}
 .hp-featured-section .hp-featured-track{gap:12px!important}
}
@media(max-width:640px){
 .hp-featured-section{padding:15px 0 20px}
 .hp-featured-section .hp-featured-wrap{width:calc(100% - 22px)!important}
 .hp-featured-section .hp-featured-header{margin-bottom:10px!important;gap:8px!important}
 .hp-featured-section .hp-featured-heading{font-size:21px!important}
 .hp-featured-section .hp-featured-kicker{font-size:9px!important}
 .hp-featured-section .hp-featured-sub{font-size:11px!important;line-height:1.35!important}
 .hp-featured-section .hp-featured-track{gap:10px!important;padding-bottom:10px!important}
 .hp-featured-section .hp-featured-card{flex-basis:42%!important;width:42%!important;max-width:42%!important;border-radius:12px!important}
 .hp-featured-section .hp-featured-info{min-height:76px!important;padding:9px 7px 10px!important}
 .hp-featured-section .hp-featured-info strong{font-size:11px!important}
 .hp-featured-section .hp-featured-meta{font-size:10px!important}
 .hp-featured-section .hp-featured-chip{font-size:8px!important;top:7px!important;left:7px!important}
 .hp-featured-section .hp-featured-arrow{width:31px!important;height:31px!important;min-width:31px;min-height:31px;flex-basis:31px;font-size:21px!important}
 .hp-featured-section .hp-featured-controls{gap:5px!important}
}
@media(max-width:340px){
 .hp-featured-section .hp-featured-card{flex-basis:43%!important;width:43%!important;max-width:43%!important}
 .hp-featured-section .hp-featured-sub{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
 .hp-featured-section .hp-featured-card,.hp-featured-section .hp-featured-poster img{transition:none!important}
}


/* HappyPlayTV v4 · contenido editorial y beneficio Android (no invade otros widgets) */
.hp-featured-section .hp-featured-card .hp-featured-static{display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important;color:inherit!important;cursor:default}
.hp-featured-section .hp-featured-card .hp-featured-static .hp-featured-info{flex:1!important}
.hp-featured-section .hp-featured-card{cursor:default!important}
.hp-featured-section .hp-featured-availability{font-size:clamp(12px,1.4vw,13px);line-height:1.5;color:#b1bdd5;margin:12px 0 0;max-width:60ch}
.hp-featured-section .hp-featured-credit{font-size:11px;color:#94a7c4;line-height:1.55;margin:10px auto 0;max-width:100%}
.hp-featured-section .hp-featured-credit a{color:#94def4}
#planes .hp-plan-gift{display:flex;box-sizing:border-box;align-items:center;gap:13px;margin:16px auto 15px;padding:13px 17px;width:min(740px,100%);text-align:left;border:1px solid rgba(246,199,104,.42);border-radius:18px;background:linear-gradient(112deg,rgba(52,32,85,.96),rgba(18,37,75,.96));box-shadow:0 12px 35px rgba(5,6,26,.17),inset 0 1px rgba(255,255,255,.07);color:#fff}
#planes .hp-plan-gift-icon{display:grid;place-items:center;width:54px;height:54px;min-width:54px;border-radius:15px;border:1px solid rgba(255,208,116,.35);background:linear-gradient(140deg,rgba(255,203,106,.22),rgba(160,104,245,.16));color:#ffe09d}
#planes .hp-plan-gift-icon svg{width:29px;height:29px}
#planes .hp-plan-gift-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;line-height:1.3}
#planes .hp-plan-gift-copy .hp-plan-gift-kicker{color:#ffd995;font-size:10px;letter-spacing:.075em;font-weight:900}
#planes .hp-plan-gift-copy strong{font-size:clamp(14px,2.8vw,19px);font-weight:850;line-height:1.25;color:#fff}
#planes .hp-plan-gift-copy>span:last-child{font-size:12px;color:#d1d9f5}
#planes .hp-plan-gift-devices{display:flex;align-items:center;gap:5px;flex:0 0 auto}
#planes .hp-plan-gift-devices>span{display:grid;place-items:center;width:31px;height:31px;background:rgba(133,166,234,.12);color:#bcd5ff;border-radius:9px}
#planes .hp-plan-gift-devices svg{width:19px;height:19px}
#hp-gift-float,#hp-gift-float *{box-sizing:border-box}
#hp-gift-float{position:fixed!important;bottom:var(--hp-gift-bottom,218px)!important;right:var(--hp-gift-right,14px)!important;left:auto!important;z-index:1202!important;display:flex;justify-content:flex-end;flex-direction:column;align-items:flex-end;pointer-events:none;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
#hp-gift-float button{font-family:inherit;cursor:pointer}
#hp-gift-float .hp-gift-trigger{display:grid;place-items:center;pointer-events:auto;width:43px;height:43px;border-radius:14px;border:1px solid rgba(255,211,117,.76);color:#ffe3aa;background:linear-gradient(145deg,#4c258a,#171c51);box-shadow:0 5px 17px rgba(6,8,38,.50),0 0 12px rgba(210,113,240,.22);transition:transform .2s ease}
#hp-gift-float .hp-gift-trigger svg{width:24px;height:24px}
#hp-gift-float .hp-gift-trigger:hover{transform:translateY(-2px)}
#hp-gift-float .hp-gift-pop{position:absolute;bottom:0;right:0;display:flex;flex-direction:column;gap:5px;pointer-events:auto;width:min(286px,calc(100vw - 30px));padding:16px 36px 16px 16px;opacity:1;visibility:visible;transform:translateY(0) scale(1);transition:opacity .25s,transform .25s,visibility .25s;background:linear-gradient(140deg,#20103e 0%,#121c43 64%,#091833 100%);border:1px solid rgba(255,206,120,.72);border-radius:18px;box-shadow:0 20px 55px #0009,0 0 19px #8b46ca55;color:#fff;text-align:left}
#hp-gift-float .hp-gift-kicker{font-size:10px;font-weight:900;letter-spacing:.06em;color:#ffda93}
#hp-gift-float .hp-gift-pop strong{font-size:16px;line-height:1.24;color:#fff;font-weight:870}
#hp-gift-float .hp-gift-text{font-size:12px;line-height:1.4;color:#e1e9fc}
#hp-gift-float .hp-gift-caption{font-size:11px;line-height:1.34;color:#d5c3f9}
#hp-gift-float .hp-gift-mini-icons{display:flex;gap:6px;margin-top:3px;color:#ffcf8d}
#hp-gift-float .hp-gift-mini-icons svg{width:19px;height:19px}
#hp-gift-float .hp-gift-close{position:absolute;top:7px;right:9px;background:transparent;border:0;color:#bac7e3;font-size:21px;line-height:1.1;padding:2px 4px}
#hp-gift-float.is-collapsed .hp-gift-pop{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(9px) scale(.96)}
#hp-gift-float:not(.is-collapsed) .hp-gift-trigger{visibility:hidden;pointer-events:none}
#hp-gift-float.hp-gift-bot-busy{opacity:0;visibility:hidden;pointer-events:none}
body.hp-wheel-open #hp-gift-float{visibility:hidden!important;pointer-events:none!important}
#hp-gift-float .hp-gift-trigger:focus-visible,#hp-gift-float .hp-gift-close:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:640px){#planes .hp-plan-gift{width:100%;padding:11px 12px;gap:10px;border-radius:14px}#planes .hp-plan-gift-icon{width:45px;height:45px;min-width:45px}#planes .hp-plan-gift-icon svg{width:24px;height:24px}#planes .hp-plan-gift-devices{display:none}#planes .hp-plan-gift-copy strong{font-size:15px}#planes .hp-plan-gift-copy>span:last-child{font-size:11px}#hp-gift-float .hp-gift-pop{width:min(254px,calc(100vw - 32px));padding:13px 35px 13px 13px}#hp-gift-float .hp-gift-trigger{width:39px;height:39px}}
@media(prefers-reduced-motion:reduce){#hp-gift-float *{transition:none!important;animation:none!important}}


/* HappyPlayTV v4.1 — gift aligned above the bot; floating notifications take turns. */
#hp-gift-float{width:var(--hp-gift-width,62px)!important;min-width:0!important;align-items:center!important;justify-content:center!important;right:var(--hp-gift-right,18px)!important;bottom:var(--hp-gift-bottom,244px)!important}
#hp-gift-float .hp-gift-trigger{width:50px;height:50px;border-radius:50%;border:1px solid rgba(242,204,132,.8);background:radial-gradient(circle at 31% 20%,#6d369e 0%,#282153 54%,#101a3f 100%);box-shadow:0 7px 21px rgba(0,0,0,.48),0 0 0 3px rgba(213,144,252,.08);color:#ffe6a8;display:grid;place-items:center;align-self:center;padding:0}
#hp-gift-float .hp-gift-trigger svg{width:24px;height:24px;stroke-width:1.8}
#hp-gift-float .hp-gift-pop{right:calc(100% + 12px);bottom:0;width:min(284px,calc(100vw - 116px));text-align:left}
#hp-gift-float.hp-gift-bot-busy{opacity:1!important;visibility:visible!important;pointer-events:none!important}
#hp-gift-float.hp-gift-bot-busy .hp-gift-trigger{pointer-events:auto!important}
#hp-gift-float.hp-gift-bot-busy .hp-gift-pop{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#hp-gift-float .hp-gift-close{display:grid;place-items:center;width:27px;height:27px;padding:5px;border:0;border-radius:8px;top:6px;right:6px;background:rgba(255,255,255,.07);color:#d9def3}
#hp-gift-float .hp-gift-close svg{width:16px;height:16px}
#hp-gift-float .hp-gift-close:hover{background:rgba(255,255,255,.15)}
@media(max-width:640px){#hp-gift-float .hp-gift-trigger{width:45px;height:45px}#hp-gift-float .hp-gift-pop{width:min(246px,calc(100vw - 108px));right:calc(100% + 9px);padding:13px 29px 13px 12px}#hp-gift-float .hp-gift-trigger svg{width:23px;height:23px}}


/* HappyPlayTV v4.2 · chat-style floating promo bubbles */
#hp-gift-float{z-index:1210!important}
#hp-gift-float .hp-gift-pop{right:calc(100% + 14px)!important;bottom:2px!important;width:min(290px,calc(100vw - 112px))!important;padding:14px 34px 14px 16px!important;border-radius:18px!important;gap:4px!important;background:linear-gradient(140deg,#15173d 0%,#0c1839 70%,#0a1732 100%)!important;border:1px solid rgba(255,205,119,.76)!important;box-shadow:0 16px 40px rgba(0,0,0,.42),0 0 0 1px rgba(255,209,120,.08),0 0 24px rgba(181,112,255,.15)!important}
#hp-gift-float .hp-gift-pop::after{content:'';position:absolute;right:-9px;bottom:17px;width:18px;height:18px;background:linear-gradient(140deg,#101b39,#0b1733);border-right:1px solid rgba(255,205,119,.76);border-bottom:1px solid rgba(255,205,119,.76);transform:rotate(-45deg);border-bottom-right-radius:4px;box-shadow:6px 6px 12px rgba(0,0,0,.10)}
#hp-gift-float .hp-gift-kicker{font-size:11px!important;letter-spacing:.07em!important;margin-bottom:2px!important}
#hp-gift-float .hp-gift-pop strong{font-size:17px!important;line-height:1.2!important}
#hp-gift-float .hp-gift-text{font-size:12px!important;line-height:1.35!important;color:#e3e9fa!important}
#hp-gift-float .hp-gift-caption{font-size:11px!important;line-height:1.28!important;color:#d7c8f9!important}
#hp-gift-float .hp-gift-mini-icons{margin-top:4px!important;opacity:.96}
#hp-gift-float .hp-gift-trigger{box-shadow:0 8px 20px rgba(0,0,0,.42),0 0 0 4px rgba(213,144,252,.10)!important}
#hp-gift-float .hp-gift-close{top:8px!important;right:8px!important;background:rgba(255,255,255,.06)!important}
#hp-gift-float:not(.is-collapsed) .hp-gift-trigger{visibility:visible!important;pointer-events:auto!important}
#hp-gift-float:not(.is-collapsed) .hp-gift-trigger{opacity:1!important}
@media(max-width:640px){#hp-gift-float .hp-gift-pop{width:min(260px,calc(100vw - 104px))!important;padding:12px 30px 12px 13px!important;right:calc(100% + 10px)!important}#hp-gift-float .hp-gift-pop::after{right:-8px;bottom:15px;width:16px;height:16px}#hp-gift-float .hp-gift-pop strong{font-size:16px!important}}


/* v4.3 — one-at-a-time chat notices and precise icon-centred positions */
#planes .hp-plan-gift-install{display:flex;align-items:center;gap:7px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:7px 11px;margin-top:5px;border-radius:9px;background:rgba(46,196,143,.10);border:1px solid rgba(68,221,154,.24);color:#d0ffe7;font-size:12px;font-weight:800;line-height:1.3}
#planes .hp-plan-gift-install svg{width:17px;height:17px;flex:0 0 17px;color:#70efb5}
#hp-gift-float .hp-gift-install{display:flex;align-items:center;gap:8px;margin-top:6px;padding:8px 9px;border-radius:10px;background:rgba(32,201,128,.12);border:1px solid rgba(83,229,167,.28);color:#d4ffec;font:800 11px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif}
#hp-gift-float .hp-gift-install svg{width:18px;height:18px;flex:0 0 18px;color:#86f0c2}
#hp-gift-float .hp-gift-pop{bottom:50%!important;right:calc(100% + 13px)!important;transform:translateY(50%) scale(1)!important;transform-origin:right center!important;width:min(286px,calc(100vw - 112px))!important;padding:13px 34px 13px 14px!important;overflow:visible!important;overflow-wrap:anywhere;transition:opacity .22s ease,visibility .22s ease,transform .22s ease!important}
#hp-gift-float.is-collapsed .hp-gift-pop{transform:translate(8px,50%) scale(.96)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#hp-gift-float .hp-gift-pop::after{top:calc(50% - 8px)!important;bottom:auto!important;right:-8px!important;width:16px!important;height:16px!important}
#hp-gift-float:not(.is-collapsed) .hp-gift-trigger{visibility:visible!important;pointer-events:auto!important}
#hp-gift-float .hp-gift-trigger{position:relative;z-index:1}
#hp-gift-float .hp-gift-kicker{font-size:10px!important;line-height:1.25!important}
#hp-gift-float .hp-gift-pop strong{font-size:15px!important;padding-right:4px}
#hp-gift-float .hp-gift-close{z-index:2!important}
/* Reposition the bot greeting itself: old styles placed it ABOVE the bot. */
.ai-greeting{box-sizing:border-box!important;position:fixed!important;right:var(--hp-bot-bubble-right,88px)!important;bottom:var(--hp-bot-bubble-bottom,210px)!important;left:auto!important;max-width:calc(100vw - var(--hp-bot-bubble-right,88px) - 9px)!important;width:min(262px,calc(100vw - var(--hp-bot-bubble-right,88px) - 9px))!important;min-width:0!important;padding:12px 33px 12px 12px!important;border:1px solid rgba(110,195,255,.63)!important;border-radius:17px!important;background:linear-gradient(145deg,#101d3e,#0a1732)!important;box-shadow:0 14px 38px rgba(0,0,0,.4),0 0 15px rgba(66,137,255,.12)!important;color:#fff!important;overflow:visible!important;overflow-wrap:anywhere;transform:translateY(50%)!important;transform-origin:right center;z-index:1203!important}
.ai-greeting.show{animation:hp-chat-bubble-enter .23s ease both!important}
@keyframes hp-chat-bubble-enter{from{opacity:0;transform:translate(9px,50%) scale(.96)}to{opacity:1;transform:translate(0,50%) scale(1)}}
.ai-greeting::after{content:'';position:absolute;right:-8px;top:calc(50% - 8px);width:16px;height:16px;background:#0b1733;border-right:1px solid rgba(110,195,255,.63);border-bottom:1px solid rgba(110,195,255,.63);transform:rotate(-45deg);border-bottom-right-radius:3px;pointer-events:none}
.ai-greeting strong{display:block!important;font-size:14px!important;line-height:1.25!important;font-weight:850!important;padding-right:0!important;color:#fff!important;overflow-wrap:anywhere}
.ai-greeting span{display:block;font-size:11.5px!important;line-height:1.34!important;margin-top:4px!important;color:#cbdcff!important}
.ai-greeting .ai-greeting-close{position:absolute!important;top:5px!important;right:6px!important;padding:3px!important;width:22px!important;height:22px!important;display:grid!important;place-items:center!important;font-size:17px!important;line-height:1!important;border-radius:6px!important;color:#dae5fc!important;z-index:2!important}
@media(max-width:640px){#hp-gift-float .hp-gift-pop{width:min(254px,calc(100vw - 104px))!important;padding:11px 29px 11px 12px!important}#hp-gift-float .hp-gift-pop strong{font-size:14px!important}#hp-gift-float .hp-gift-install{font-size:10.5px!important} .ai-greeting{font-size:12px!important;padding:11px 30px 11px 11px!important}}
@media(prefers-reduced-motion:reduce){.ai-greeting.show,#hp-gift-float .hp-gift-pop{animation:none!important;transition:none!important}}


/* v4.4 — aligned icon column, mutually exclusive chat bubbles; no impact on site layout */
#hp-gift-float{z-index:1202!important}
#hp-gift-float .hp-gift-pop{max-height:min(300px,calc(100dvh - 60px));overflow-y:auto!important;overflow-x:visible!important}
#hp-gift-float .hp-gift-trigger{max-width:50px!important;max-height:50px!important}
.ai-greeting{max-height:min(250px,calc(100dvh - 70px))!important;overflow:visible!important}
/* These guards also cover late asynchronous updates from individual widgets. */
body[data-hp-notice-active="bot"] #hp-gift-float .hp-gift-pop,
body[data-hp-notice-active="wheel"] #hp-gift-float .hp-gift-pop,
body[data-hp-notice-active="none"] #hp-gift-float .hp-gift-pop{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
body[data-hp-notice-active="gift"] .ai-greeting,
body[data-hp-notice-active="wheel"] .ai-greeting,
body[data-hp-notice-active="none"] .ai-greeting{display:none!important}
@media(max-width:640px){#hp-gift-float .hp-gift-pop{width:min(254px,calc(100vw - 112px))!important}.ai-greeting{width:min(260px,calc(100vw - var(--hp-bot-bubble-right,82px) - 15px))!important}}
