/* A dimensional feathered character, with native Arabic controls on hanging signs. */
.asfoura-avatar{display:block;position:relative;width:100%;height:100%;aspect-ratio:1;isolation:isolate;pointer-events:none;contain:layout style;animation:asfoura-hover 4.6s ease-in-out infinite;transform-origin:50% 70%}
.asfoura-sprite{display:block;position:absolute;inset:0;background-image:url('asfoura-3d-atlas.png?v=20261008.1');background-size:400% 200%;background-repeat:no-repeat;background-position-x:0%;background-position-y:0%;filter:drop-shadow(0 12px 9px #0b5e3a25);animation:asfoura-flutter 1.25s steps(1,end) infinite;will-change:background-position}
.asfoura-avatar[data-mouth=open] .asfoura-sprite{background-position-y:100%}
.asfoura-avatar[data-flight=active] .asfoura-sprite{animation-duration:.64s}
.asfoura-avatar[data-flight=active]{animation-duration:2.7s}
.asfoura-avatar[data-mood=thinking] .asfoura-halo{opacity:.9;animation:asfoura-halo 2s ease-in-out infinite}
.asfoura-halo{position:absolute;inset:18% 17% 10%;z-index:-1;border-radius:50%;background:radial-gradient(circle,#e8fbc575,transparent 66%);filter:blur(8px)}
.asfoura-floor-shadow{position:absolute;left:31%;right:31%;bottom:4%;height:5%;border-radius:50%;background:#143c2b20;filter:blur(9px);z-index:-1;animation:asfoura-shadow 4.6s ease-in-out infinite}
/* Each pose has its own safe silhouette bounds. Horizontal wings in adjacent
   atlas cells must never leak into a raised or lowered wing frame. */
@keyframes asfoura-flutter{0%,100%{background-position-x:0%;clip-path:inset(0 5%)}25%{background-position-x:33.333333%;clip-path:inset(0)}50%{background-position-x:66.666667%;clip-path:inset(0 11%)}75%{background-position-x:100%;clip-path:inset(0)}}
@keyframes asfoura-hover{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)}}
@keyframes asfoura-shadow{50%{transform:scale(.75);opacity:.4}}
@keyframes asfoura-halo{50%{transform:scale(1.16);opacity:.45}}
@keyframes asfoura-sign-swing{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
#assistant-root .zrz-concierge{filter:drop-shadow(0 14px 20px #14362b15);width:236px;max-width:100%;gap:0}
#assistant-root .zrz:not(.zrz--open) .zrz-concierge{display:flex}
#assistant-root .zrz-launch{width:100%;display:grid;place-items:center;outline-offset:-4px}
#assistant-root .zrz-launch-bird,#assistant-root .zrz--hero-entry:not(.zrz--open) .zrz-launch-bird{width:280px!important;height:280px!important;max-width:100%;background:none;border:0;box-shadow:none;transform:none}
#assistant-root .zrz-launch-bird:before{display:none}
#assistant-root .zrz-launch-caption{position:absolute;top:-12px;inset-inline:0;background:none!important;border:0;padding:0!important;box-shadow:none!important;color:#0a5b43;font-size:0!important;white-space:nowrap;pointer-events:none;letter-spacing:0}
#assistant-root .zrz-launch-caption:after{content:none;font-size:17px!important;font-weight:800;text-shadow:0 1px 10px #fff}
#assistant-root .zrz-entry-actions,#assistant-root .zrz--hero-entry .zrz-entry-actions,#assistant-root .zrz--docked .zrz-entry-actions{position:relative;display:flex;direction:rtl;align-items:stretch;gap:16px!important;width:100%;max-width:100%;padding:0 8px 6px!important;margin-top:-22px;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;z-index:2}
#assistant-root .zrz-entry-actions button{position:relative;flex:1;min-width:0;min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #07523f!important;border-radius:13px!important;padding:9px 8px!important;background:linear-gradient(160deg,#20976f,#086444)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff45,0 6px 0 #064e3725,0 10px 16px #064e3720;font-size:13px!important;font-weight:800;white-space:nowrap;transform-origin:50% -20px;animation:asfoura-sign-swing 4.6s ease-in-out infinite}
#assistant-root .zrz-entry-actions .zrz-enter-text{background:linear-gradient(150deg,#fff7dd,#f3d990)!important;color:#4c3910!important;border-color:#d4ae52!important;box-shadow:inset 0 1px 0 #fff,0 6px 0 #b28b3b25,0 10px 16px #4e3d1320;animation-delay:-2.3s}
#assistant-root .zrz-entry-actions button:before{content:'';position:absolute;width:2px;height:29px;bottom:calc(100% - 1px);left:52%;background:repeating-linear-gradient(to bottom,#957c45 0 3px,#f6e3a8 3px 5px);box-shadow:1px 0 0 #d0bb7d;transform-origin:bottom;transform:rotate(-22deg);border-radius:2px;z-index:-1}
#assistant-root .zrz-entry-actions .zrz-enter-text:before{left:48%;transform:rotate(22deg)}
#assistant-root .zrz-entry-actions button:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;left:calc(50% - 3px);top:4px;background:#052b2350;box-shadow:0 1px 0 #ffffff65}
#assistant-root .zrz-entry-actions .zrz-enter-text:after{background:#89662465}
#assistant-root .zrz-entry-actions button:hover{filter:brightness(1.08)}
#assistant-root .zrz-entry-actions button svg{width:19px;height:19px;flex:0 0 19px}
#assistant-root .zrz--hero-entry:not(.zrz--open) .zrz-concierge{width:min(336px,calc(100vw - 32px))!important;padding-top:14px}
#assistant-root .zrz--hero-entry:not(.zrz--open){inset:0!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;max-width:100%!important;height:100dvh!important;display:grid!important;place-items:center}
#assistant-root .zrz--hero-entry .zrz-launch-caption:after{font-size:24px!important}
#assistant-root .zrz--hero-entry .zrz-entry-actions{gap:22px!important;padding-inline:7px!important}
#assistant-root .zrz--hero-entry .zrz-entry-actions button{min-height:54px!important;font-size:16px!important;border-radius:15px!important}
#assistant-root .zrz-rest-toggle{right:0!important;top:6px!important;width:40px;height:40px;border:1px solid #d4dfd6;background:#ffffffea!important;box-shadow:0 5px 18px #153e2a15;font-size:25px!important;color:#0b6549}
#assistant-root .zrz--docked:not(.zrz--open){left:16px;right:auto;bottom:18px;width:232px;max-width:calc(100vw - 32px)}
#assistant-root .zrz--docked:not(.zrz--open) .zrz-concierge{width:100%;padding-top:18px}
#assistant-root .zrz--docked:not(.zrz--open) .zrz-launch-bird{width:134px!important;height:134px!important}
#assistant-root .zrz--docked .zrz-launch-caption:after{font-size:15px!important}
#assistant-root .zrz--docked .zrz-entry-actions{gap:8px!important;margin-top:-12px;padding-inline:3px!important}
#assistant-root .zrz--docked .zrz-entry-actions button{min-height:44px!important;font-size:12px!important;border-radius:11px!important}
#assistant-root .zrz--docked .zrz-entry-actions button:before{height:21px}
#assistant-root .zrz--docked .zrz-entry-actions button svg{width:15px;height:15px;flex-basis:15px}
#assistant-root .zrz--open .zrz-concierge{width:66px!important;max-width:66px}
#assistant-root .zrz--open .zrz-launch-bird{width:66px!important;height:66px!important}
#assistant-root .zrz--open .zrz-launch-caption,#assistant-root .zrz--open .zrz-entry-actions{display:none!important}
#assistant-root .zrz-mini{width:51px;height:51px;flex-shrink:0}
#assistant-root .zrz-heading{min-width:0}
#assistant-root .zrz-heading h2,#assistant-root .zrz-heading p{overflow-wrap:anywhere}
#odeal-voice-root .voice-orbit{width:clamp(200px,20vw,292px);aspect-ratio:1;border:0;margin-bottom:2px;overflow:visible}
#odeal-voice-root .voice-orbit>.asfoura-avatar{position:relative;inset:auto;border:0;border-radius:0;z-index:1;width:100%;height:100%}
#odeal-voice-root .voice-orbit>span:not(.asfoura-avatar){display:none}
#odeal-voice-root .voice-stage{background:radial-gradient(ellipse at 50% 22%,#f7edc3 0,#ecf5e9 33%,#f8faf4 70%)}
#odeal-voice-root .voice-call-body,#odeal-voice-root .voice-call-body>*{min-width:0}
#odeal-voice-root .voice-products{grid-template-columns:repeat(2,minmax(0,1fr))}
#odeal-voice-root .voice-products>*,#odeal-voice-root .voice-product>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
#odeal-voice-root .voice-confirm-card>div{flex-wrap:wrap}
#odeal-voice-root .voice-kicker{margin-top:0}
#odeal-voice-root .voice-mini-controls [data-vc=expand]>.asfoura-avatar{width:65px;height:65px;flex:0 0 65px}
#odeal-voice-root .voice-mini-controls [data-vc=expand]>span:not(.asfoura-avatar){min-width:0;overflow-wrap:anywhere}
#odeal-voice-root .voice-call-header>div{min-width:0;gap:8px;flex-wrap:wrap}
#odeal-voice-root .voice-wave i{animation:none!important;transition:height .08s linear;height:calc(5px + var(--asfoura-audio-level,0)*19px)}
#odeal-voice-root .voice-wave i:nth-child(2n){height:calc(7px + var(--asfoura-audio-level,0)*26px)}
#odeal-voice-root .voice-empty-selection{min-width:0;margin-top:20px;border:1px dashed #b6d4c2;border-radius:22px;padding:22px 18px;background:linear-gradient(145deg,#f6fbef,#fffcf0);color:#4b6758;text-align:center}
#odeal-voice-root .voice-empty-selection>span{font-size:34px;color:#138b69;display:block}
#odeal-voice-root .voice-empty-selection p{font-size:16px;line-height:1.9;margin:8px 0;overflow-wrap:anywhere}
@media(max-width:600px){
  #assistant-root .zrz--hero-entry:not(.zrz--open) .zrz-concierge{width:min(310px,calc(100vw - 26px))!important;max-width:calc(100vw - 26px)}
  #assistant-root .zrz--hero-entry:not(.zrz--open) .zrz-launch-bird{width:min(280px,calc(100vw - 40px))!important;height:min(280px,calc(100vw - 40px))!important}
  #assistant-root .zrz--hero-entry .zrz-launch-caption:after{font-size:22px!important}
  #assistant-root .zrz--hero-entry .zrz-entry-actions{gap:14px!important;padding-inline:3px!important}
  #assistant-root .zrz--hero-entry .zrz-entry-actions button{font-size:15px!important;min-height:52px!important}
  #assistant-root .zrz--docked:not(.zrz--open){left:10px!important;right:auto!important;width:232px!important;max-width:calc(100vw - 20px);bottom:calc(13px + env(safe-area-inset-bottom))}
  .transaction-mode #assistant-root .zrz--docked:not(.zrz--open){bottom:calc(90px + env(safe-area-inset-bottom))}
  #assistant-root .zrz--docked:not(.zrz--open) .zrz-concierge{width:100%!important}
  #assistant-root .zrz--docked:not(.zrz--open) .zrz-launch-bird{width:114px!important;height:114px!important}
  #assistant-root .zrz--docked .zrz-entry-actions button{font-size:12px!important;padding-inline:6px!important;gap:4px!important}
  #assistant-root .zrz--docked .zrz-launch-caption:after{font-size:14px!important}
  #assistant-root .zrz--open .zrz-concierge{width:56px!important}
  #assistant-root .zrz--open .zrz-launch-bird{width:56px!important;height:56px!important}
  #odeal-voice-root .voice-orbit{width:208px;max-width:75vw}
  #odeal-voice-root .voice-stage{padding:8px 14px 18px!important}
  #odeal-voice-root .voice-stage h2{font-size:25px!important;margin:4px 0}
  #odeal-voice-root .voice-stage h2 br{display:none}
  #odeal-voice-root .voice-state{font-size:15px!important}
  #odeal-voice-root .voice-mini-controls [data-vc=expand]>.asfoura-avatar{width:52px;height:52px;flex-basis:52px}
  #odeal-voice-root .voice-call-header b{font-size:16px!important}
  #odeal-voice-root .voice-products{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
  #assistant-root .zrz-header{display:grid;grid-template-columns:43px minmax(0,1fr) 44px;gap:6px 8px;align-items:center;padding:10px!important}
  #assistant-root .zrz-mini{grid-row:1 / 3;width:43px;height:43px}
  #assistant-root .zrz-heading{grid-column:2;grid-row:1}
  #assistant-root .zrz-heading h2{font-size:18px!important}
  #assistant-root .zrz-heading p{font-size:10px!important;margin-top:2px}
  #assistant-root .zrz-close{grid-column:3;grid-row:1 / 3}
  #assistant-root .zrz-call-from-chat{grid-column:2;grid-row:2;justify-self:start;min-height:38px;font-size:12px!important;padding:7px 10px}
}
@media(max-height:590px){#assistant-root .zrz--hero-entry:not(.zrz--open) .zrz-launch-bird{width:210px!important;height:210px!important}#assistant-root .zrz--hero-entry .zrz-launch-caption:after{font-size:19px!important}}
@media(prefers-reduced-motion:reduce){.asfoura-avatar,.asfoura-avatar *,.zrz-entry-actions button{animation:none!important;transition:none!important}.asfoura-sprite{background-position-x:33.333333%;clip-path:inset(0)}.asfoura-avatar{transform:none!important}}
