.app:has(#giftEffectModalStep.active){height:830px;min-height:830px;background:#210d38;color:#fff}
.app:has(#giftEffectModalStep.active)>.tiles,.app:has(#giftEffectModalStep.active)>.veil,.app:has(#giftEffectModalStep.active)>.aurora,.app:has(#giftEffectModalStep.active)>header{display:none}
.app:has(#giftEffectModalStep.active)>main{width:100%!important;max-width:none!important;min-height:0;flex:1;margin:0!important;padding:0!important;align-items:stretch;text-align:left}
#giftEffectModalStep{width:100%;height:100%;min-height:0}
#giftEffectModalStep.active{display:flex;flex:1}
#giftEffectModalStep *{box-sizing:border-box}
#giftEffectModalStep .gift-effect-scene{position:relative;isolation:isolate;display:flex;flex:1;width:100%;min-height:0;overflow:hidden;background:#351353}
#giftEffectModalStep .gift-effect-background{position:absolute;z-index:0;isolation:isolate;contain:paint;inset:0;display:flex;pointer-events:none}
#giftEffectModalStep .gift-effect-background>.room-home-shell{width:100%;min-height:0}
#giftEffectModalStep .gift-effect-background .room-home-bottom,#giftEffectModalStep .gift-effect-background .room-home-notice{visibility:hidden}
#giftEffectModalStep .gift-effect-close{position:absolute;z-index:20;top:12px;right:12px;width:29px;height:29px;padding:0;border:1px solid #dfbbe536;border-radius:50%;background:#271139dd;color:#f0dff8;font:inherit;font-size:24px;cursor:pointer}
#giftEffectModalStep .gift-effect-panel{position:absolute;z-index:10;isolation:isolate;right:0;bottom:0;left:0;display:flex;flex-direction:column;height:350px;max-height:49%;padding:0 12px 12px;border-top:1px solid #cf9be451;border-radius:17px 17px 0 0;background:linear-gradient(155deg,#352043,#21102f 70%,#321b40);color:#e5d0ef;box-shadow:0 -8px 28px #10051d55}
#giftEffectModalStep .gift-effect-panel>header{display:flex;flex-shrink:0;align-items:center;gap:7px;height:42px;border-bottom:1px solid #d1b0df1c;font-size:11px}
#giftEffectModalStep .gift-effect-recipient-avatar,#giftEffectModalStep .gift-effect-sender-avatar{display:block;flex-shrink:0;width:25px;height:25px;border:1px solid #e0b8df;border-radius:50%;background:url('assets/matchmaker-avatars-v1.png') 100% 100%/200% 300%}
#giftEffectModalStep .gift-effect-panel header>small{margin-left:auto;color:#bb9ac9;font-size:10px}
#giftEffectModalStep .gift-effect-categories{display:flex;flex-shrink:0;justify-content:space-between;height:36px;gap:9px}
#giftEffectModalStep .gift-effect-categories button{position:relative;padding:5px 6px;border:0;background:none;color:#aa91bb;font:inherit;font-size:12px;cursor:pointer}
#giftEffectModalStep .gift-effect-categories [aria-pressed="true"]{color:#edc7eb;font-weight:650}
#giftEffectModalStep .gift-effect-categories [aria-pressed="true"]:after{position:absolute;right:6px;bottom:2px;left:6px;height:2px;border-radius:2px;background:#be8bd3;content:''}
#giftEffectModalStep .gift-effect-categories i{position:absolute;top:6px;right:0;width:5px;height:5px;border-radius:50%;background:#e477a5}
#giftEffectModalStep .gift-effect-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;flex:1;min-height:0;gap:6px;overflow:auto;scrollbar-width:thin;scrollbar-color:#805295 transparent}
#giftEffectModalStep .gift-effect-slot{position:relative;min-width:0}
#giftEffectModalStep .gift-effect-choice{display:grid;justify-items:center;align-content:center;gap:4px;width:100%;min-height:87px;padding:6px 2px;border:1px solid transparent;border-radius:11px;background:transparent;color:#d7bedf;font:inherit;cursor:pointer}
#giftEffectModalStep .gift-effect-choice[aria-pressed="true"]{border-color:#d5b4e457;background:#b183ca14}
#giftEffectModalStep .gift-effect-choice>span{font-size:30px;line-height:1.2}
#giftEffectModalStep .gift-effect-choice>b{max-width:100%;overflow:hidden;font-size:10px;font-weight:500;white-space:nowrap;text-overflow:ellipsis}
#giftEffectModalStep .gift-effect-choice>small{color:#aa90bc;font-size:9px}
#giftEffectModalStep .gift-effect-combo{position:absolute;z-index:2;top:5px;left:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;width:57px;height:57px;padding:0;border:0;border-radius:50%;background:conic-gradient(#f3d389 var(--combo-left,100%),#74563a 0);box-shadow:0 0 15px #e1bc5929;color:#fff9dc;font:inherit;transform:translateX(-50%);cursor:pointer}
#giftEffectModalStep .gift-effect-combo:before{position:absolute;inset:3px;border:1px solid #fbeabca1;border-radius:50%;background:linear-gradient(145deg,#d9b564,#b98533);content:''}
#giftEffectModalStep .gift-effect-combo>span,#giftEffectModalStep .gift-effect-combo>small{position:relative;z-index:1}
#giftEffectModalStep .gift-effect-combo>span{font-size:14px;font-weight:700}
#giftEffectModalStep .gift-effect-combo>small{font-size:10px}
#giftEffectModalStep .gift-effect-panel>footer{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding-top:8px}
#giftEffectModalStep .gift-effect-recharge{display:flex;align-items:center;gap:4px;padding:5px 0;border:0;background:none;color:#e3bfdc;font:inherit;font-size:13px;cursor:pointer}
#giftEffectModalStep .gift-effect-send{min-width:106px;min-height:34px;padding:7px 18px;border:1px solid #d5a7df44;border-radius:20px;background:linear-gradient(100deg,#9660b5,#c873ad);color:#fff0fb;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
#giftEffectModalStep .gift-effect-send:disabled{opacity:.4;cursor:default}
#giftEffectModalStep .gift-effect-feedback{flex-shrink:0;min-height:14px;margin:5px 0 0;color:#b4dbd2;font-size:10px;line-height:1.4}
#giftEffectModalStep .gift-effect-empty{grid-column:1/-1;margin:35px 0;color:#baa0c8;font-size:12px;text-align:center}
#giftEffectModalStep .gift-effect-broadcasts{position:absolute;z-index:5;top:33%;left:13px;display:grid;gap:7px;width:220px;max-width:72%;pointer-events:none}
#giftEffectModalStep .gift-effect-broadcast{display:flex;align-items:center;gap:7px;min-height:40px;padding:5px 8px 5px 5px;border:1px solid #ce9fdf29;border-radius:25px;background:linear-gradient(90deg,#361249f0,#6b377ba6 75%,transparent);animation:gift-effect-arrive .35s ease-out;color:#f6e5fa}
#giftEffectModalStep .gift-effect-sender-avatar{width:29px;height:29px;background-position:100% 0}
#giftEffectModalStep .gift-effect-broadcast>span{display:grid;gap:3px;min-width:0;flex:1}
#giftEffectModalStep .gift-effect-broadcast b{font-size:11px;font-weight:500}
#giftEffectModalStep .gift-effect-broadcast small{color:#c1a1cf;font-size:9px}
#giftEffectModalStep .gift-effect-broadcast>em{font-size:22px;font-style:normal}
#giftEffectModalStep .gift-effect-broadcast>strong{min-width:29px;color:#fff3d3;font-size:19px;font-style:italic;text-shadow:0 2px 5px #4a2456}
#giftEffectModalStep .gift-effect-animation{position:absolute;z-index:6;top:22%;left:50%;width:120px;height:150px;transform:translateX(-50%);pointer-events:none}
#giftEffectModalStep .gift-effect-animation>span{display:block;font-size:90px;filter:drop-shadow(0 0 15px #d1a4db55);animation:gift-effect-float 1.3s ease-out both}
#giftEffectModalStep .gift-effect-pop>strong{animation:gift-effect-count .3s ease-out}
#giftEffectModalStep button:focus-visible{outline:2px solid #9be6db;outline-offset:3px}
@keyframes gift-effect-arrive{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:translateX(0)}}
@keyframes gift-effect-float{0%{opacity:0;transform:translateY(35px) scale(.4)}25%{opacity:1;transform:translateY(0) scale(1.1)}70%{opacity:1;transform:translateY(-15px) scale(1)}100%{opacity:0;transform:translateY(-50px) scale(1.15)}}
@keyframes gift-effect-count{50%{transform:scale(1.3)}}
@media(prefers-reduced-motion:reduce){#giftEffectModalStep .gift-effect-broadcast,#giftEffectModalStep .gift-effect-animation>span,#giftEffectModalStep .gift-effect-pop>strong{animation:none}}
