/* Reference style: original scenes span the lower area and blend into the live video. */
.live-gift-contained{position:fixed!important;right:auto!important;bottom:auto!important;left:0;top:0;max-width:none!important;max-height:none!important;margin:0!important;box-sizing:border-box;z-index:1600!important;overflow:hidden!important;border:0!important;border-radius:12px!important;box-shadow:none!important;pointer-events:none;background:transparent!important}
.live-gift-contained.simple-live-gift{padding:4px 12px;justify-content:center;gap:0;animation:live-gift-fade 3.2s ease both}
.live-gift-centered .gift-art-large{width:min(240px,88%);height:100%;min-height:0;justify-self:center;margin:0}
.live-gift-centered .gift-art-large .gift-object{font-size:var(--center-gift-size,60px);line-height:1.15}
.live-gift-small .gift-art-large{width:90px;height:calc(100% - 34px);min-height:0}
.live-gift-small .gift-art-large .gift-object{font-size:48px}
.live-gift-contained.simple-live-gift strong{font-size:13px;line-height:1.3;text-shadow:0 1px 5px #000}
.live-gift-contained.simple-live-gift small{font-size:11px;margin:0;text-shadow:0 1px 5px #000}
.live-gift-contained.live-gift-luxury{border-radius:0!important;padding:0!important;outline:0!important;background:transparent!important;pointer-events:auto;animation:live-gift-scene-enter .45s ease-out both}
.live-gift-luxury .panther-film{object-fit:fill!important;object-position:center;background:transparent;border:0!important;border-radius:0!important}
.live-gift-luxury .panther-cinema,.live-gift-luxury .tuwaiq-cinema{inset:0;border:0;border-radius:0;background:transparent}
.live-gift-luxury .panther-film,.live-gift-luxury .tuwaiq-cinema{-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#0004 8%,#000b 18%,#000 30%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,#0004 8%,#000b 18%,#000 30%,#000 100%)}
.live-gift-luxury .tuwaiq-mountain>img{object-fit:fill!important;border-radius:0!important}
.live-gift-luxury .panther-heading,.live-gift-luxury .tuwaiq-title{inset:auto 40px 8px!important;animation:none!important;gap:0;line-height:1.2}
.live-gift-luxury .panther-heading>span,.live-gift-luxury .panther-heading>small,.live-gift-luxury .tuwaiq-kicker,.live-gift-luxury .tuwaiq-rule,.live-gift-luxury .tuwaiq-title>small,.live-gift-luxury .tuwaiq-mode,.live-gift-luxury .panther-replay{display:none!important}
.live-gift-luxury .panther-supporter,.live-gift-luxury .tuwaiq-supporter{font-size:14px!important;margin:0;max-width:100%;line-height:1.3}
.live-gift-luxury .panther-count,.live-gift-luxury .tuwaiq-quantity{display:none!important}
.live-gift-luxury .panther-audio,.live-gift-luxury .tuwaiq-close{pointer-events:auto;top:6px;min-height:26px;height:26px;font-size:10px;padding:3px 7px}
.live-gift-luxury .panther-audio{right:6px;max-width:65%}
.live-gift-luxury .tuwaiq-close{left:6px;width:26px;font-size:18px}
.live-gift-luxury .panther-status{top:38px;font-size:10px}
.live-gift-luxury .tuwaiq-night{opacity:.92}
@keyframes live-gift-fade{0%,100%{opacity:0}12%,85%{opacity:1}}
@keyframes live-gift-scene-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.live-gift-contained{animation:none!important}}

/* Gifts priced 1–99: compact supporter card on the physical right of the video. */
.live-gift-contained.simple-live-gift.live-gift-side{display:grid;grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:1fr 1fr;column-gap:8px;direction:rtl;align-items:center;padding:3px 10px;border:1px solid #d5b77b55!important;border-radius:9px!important;background:linear-gradient(115deg,#11281fee,#191b1ff2)!important;box-shadow:0 5px 18px #0003!important;animation:live-side-gift 3.2s ease both}
.live-gift-side .gift-art-large{grid-column:2;grid-row:1/3;width:32px;height:32px;min-height:0;margin:0}
.live-gift-side .gift-art-large .gift-object{font-size:25px}
.live-gift-side .gift-aura,.live-gift-side .gift-particle{display:none}
.live-gift-contained.simple-live-gift.live-gift-side strong{grid-column:1;grid-row:1;text-align:start;align-self:end;font-size:12px;color:#fff4dd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;max-width:100%;line-height:1.2}
.live-gift-contained.simple-live-gift.live-gift-side small{grid-column:1;grid-row:2;align-self:start;text-align:right;font-size:10px;line-height:1.2;color:#d5b77b}
@keyframes live-side-gift{0%{opacity:0;transform:translateX(22px)}12%,85%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(14px)}}
@media(prefers-reduced-motion:reduce){.live-gift-contained.simple-live-gift.live-gift-side{animation:none}}


.live-gift-contained.simple-live-gift.live-gift-centered{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;align-items:center;justify-items:center;gap:2px;padding:10px 18px 8px}
.live-gift-centered .gift-art{min-width:0;align-self:stretch}
.live-gift-contained.simple-live-gift.live-gift-centered strong{max-width:90%;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:17px}
.live-gift-contained.simple-live-gift.live-gift-centered small{margin:0;font-size:10px;line-height:13px}

/* Give every centered animation room for rotation, floating and its shadow. */
.live-gift-contained.simple-live-gift.live-gift-centered{overflow:visible!important;border-radius:0!important}
.live-gift-centered .gift-art-large{overflow:visible;isolation:isolate}
.live-gift-centered .gift-art-large .gift-object{filter:drop-shadow(0 6px 7px #0007)}
