.qherald{--qh-bg:var(--popover,#fff);--qh-fg:var(--popover-foreground,#0a0b1e);--qh-muted:var(--muted-foreground,#64748b);--qh-line:var(--border,#3b82f61f);--qh-soft:color-mix(in oklab, var(--qh-fg) 6%, transparent);--qh-accent:var(--primary,#3b82f6);--qh-accent-2:#8b5cf6;--qh-accent-3:#22d3ee;--qh-ok:#10b981;--qh-bad:var(--destructive,#ef4444);z-index:90;width:min(340px,100vw - 24px);color:var(--qh-fg);transform-origin:88% 100%;font-size:13px;line-height:1.45;animation:.44s cubic-bezier(.2,.9,.25,1.12) both qherald-in;position:fixed}.qherald[data-side=below]{transform-origin:88% 0;animation-name:qherald-in-below}.qherald[data-closing]{pointer-events:none;animation:.22s cubic-bezier(.4,0,1,1) both qherald-out}.qherald--inbox{width:min(384px,100vw - 24px)}.qherald__card{border:1px solid var(--qh-line);background:var(--qh-bg);-webkit-backdrop-filter:blur(18px)saturate(1.4);backdrop-filter:blur(18px)saturate(1.4);border-radius:18px;padding:14px 14px 12px;position:relative;overflow:hidden;box-shadow:0 24px 56px -18px #0f172a52,0 4px 14px -4px #0f172a1f}.qherald__card:before{content:"";background:linear-gradient(90deg, var(--qh-accent), var(--qh-accent-2), var(--qh-accent-3));height:2px;position:absolute;inset:0 0 auto}.qherald__star{width:5px;height:5px;color:var(--qh-accent);opacity:0;pointer-events:none;background:currentColor;border-radius:1px;animation:2.6s ease-in-out infinite qherald-twinkle;position:absolute}.qherald__star--a{top:14px;right:58px}.qherald__star--b{color:var(--qh-accent-2);animation-delay:.8s;top:30px;right:44px}.qherald__star--c{color:var(--qh-accent-3);animation-delay:1.6s;top:9px;right:80px}.qherald__head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.qherald__eyebrow{min-width:0;color:var(--qh-muted);letter-spacing:.02em;align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.qherald__eyebrow svg{width:14px;height:14px;color:var(--qh-accent);flex:none}.qherald__x{width:26px;height:26px;color:var(--qh-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;transition:background-color .15s,color .15s;display:inline-grid}.qherald__x svg{width:14px;height:14px}.qherald__item{align-items:flex-start;gap:12px;min-width:0;display:flex}.qherald__media{background:color-mix(in oklab, var(--qh-accent) 12%, transparent);width:52px;height:52px;color:var(--qh-accent);border-radius:14px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.qherald__item[data-kind=video] .qherald__media{background:color-mix(in oklab, var(--qh-accent-2) 14%, transparent);color:var(--qh-accent-2)}.qherald__item[data-status=failed] .qherald__media{background:color-mix(in oklab, var(--qh-bad) 12%, transparent);color:var(--qh-bad)}.qherald__item[data-status=success] .qherald__media:after{content:"";border:2px solid var(--popover,#fff);background:var(--qh-ok);border-radius:50%;width:10px;height:10px;position:absolute;bottom:4px;right:4px}.qherald__media svg{width:22px;height:22px}.qherald__thumb{object-fit:cover;width:100%;height:100%;display:block}.qherald__spin{animation:1s linear infinite qherald-rotate}.qherald__text{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.qherald__title{font-size:14px;font-weight:600;line-height:1.35}.qherald__meta{color:var(--qh-muted);font-size:12px}.qherald__label,.qherald__error{word-break:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.qherald__label{color:color-mix(in oklab, var(--qh-fg) 76%, transparent)}.qherald__error{color:var(--qh-bad)}.qherald__go{border:1px solid var(--qh-line);height:28px;color:var(--qh-fg);cursor:pointer;background:0 0;border-radius:9px;flex:none;align-self:center;align-items:center;gap:2px;padding:0 9px;font-size:12px;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.qherald__go svg{width:13px;height:13px}.qherald__actions{align-items:center;gap:8px;margin-top:12px;display:flex}.qherald__actions:empty{display:none}.qherald__primary,.qherald__ghost{cursor:pointer;border-radius:10px;align-items:center;gap:4px;height:32px;font-size:13px;transition:transform .15s,filter .15s,background-color .15s,box-shadow .15s;display:inline-flex}.qherald__primary{background:linear-gradient(135deg, var(--qh-accent), var(--qh-accent-2));color:#fff;box-shadow:0 8px 18px -8px color-mix(in oklab, var(--qh-accent) 80%, transparent);border:0;padding:0 14px;font-weight:600}.qherald__ghost{border:1px solid var(--qh-line);color:var(--qh-fg);background:0 0;padding:0 12px}.qherald__primary svg,.qherald__ghost svg{width:14px;height:14px}.qherald__more{color:var(--qh-accent);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0 2px;font-size:12px;font-weight:600}.qherald__notify{border:1px dashed var(--qh-line);background:color-mix(in oklab, var(--qh-accent) 6%, transparent);width:100%;color:var(--qh-muted);text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:6px;margin-top:10px;padding:8px 10px;font-size:12px;transition:color .15s,border-color .15s;display:flex}.qherald__notify svg{width:14px;height:14px;color:var(--qh-accent);flex:none}.qherald__timer{background:linear-gradient(90deg, var(--qh-accent), var(--qh-accent-2));opacity:.75;transform-origin:0;height:2px;animation-name:qherald-timer;animation-timing-function:linear;animation-fill-mode:forwards;position:absolute;inset:auto 0 0}.qherald[data-paused] .qherald__timer{animation-play-state:paused}.qherald__section+.qherald__section{border-top:1px solid var(--qh-line);margin-top:12px;padding-top:12px}.qherald__sectionHead{color:var(--qh-muted);letter-spacing:.06em;margin:0 0 6px;font-size:11px;font-weight:600}.qherald__list{overscroll-behavior:contain;flex-direction:column;gap:2px;max-height:min(52vh,420px);margin:0 -6px;padding:0 6px;display:flex;overflow-y:auto}.qherald__list .qherald__item{border-radius:12px;padding:6px;transition:background-color .15s;animation:.32s cubic-bezier(.2,.8,.2,1) both qherald-item-in}.qherald__list .qherald__item:nth-child(2){animation-delay:40ms}.qherald__list .qherald__item:nth-child(3){animation-delay:80ms}.qherald__list .qherald__item:nth-child(4){animation-delay:.12s}.qherald__list .qherald__item:nth-child(5){animation-delay:.16s}.qherald__list .qherald__item:nth-child(6){animation-delay:.2s}.qherald__list .qherald__media{border-radius:11px;width:42px;height:42px}@media (hover:hover){.qherald__x:hover,.qherald__list .qherald__item:hover{background:var(--qh-soft)}.qherald__x:hover{color:var(--qh-fg)}.qherald__go:hover,.qherald__ghost:hover{border-color:color-mix(in oklab, var(--qh-accent) 45%, transparent);background:color-mix(in oklab, var(--qh-accent) 8%, transparent)}.qherald__primary:hover{filter:brightness(1.06);box-shadow:0 12px 22px -10px color-mix(in oklab, var(--qh-accent) 85%, transparent);transform:translateY(-1px)}.qherald__notify:hover{border-color:color-mix(in oklab, var(--qh-accent) 45%, transparent);color:var(--qh-fg)}}.qherald__primary:active,.qherald__ghost:active,.qherald__go:active{transform:scale(.97)}.qherald button:focus-visible{outline:2px solid color-mix(in oklab, var(--qh-accent) 70%, transparent);outline-offset:2px}.qilin-pet[aria-busy=true] .qilin-pet__stack:before{content:"";z-index:0;background:conic-gradient(from 0deg, transparent 0 55%, #3b82f6d9 78%, #a78bfaf2 90%, transparent 100%);pointer-events:none;border-radius:50%;animation:1.6s linear infinite qherald-rotate;position:absolute;inset:2%;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 2px))}.qilin-pet__badge:not([hidden]){animation:2.2s ease-out infinite qherald-badge-pulse}.qilin-pet__badge.is-error:not([hidden]){animation-name:qherald-badge-pulse-error}@keyframes qherald-in{0%{opacity:0;transform:translateY(12px)scale(.9)}to{opacity:1;transform:none}}@keyframes qherald-in-below{0%{opacity:0;transform:translateY(-12px)scale(.9)}to{opacity:1;transform:none}}@keyframes qherald-out{to{opacity:0;transform:translateY(6px)scale(.95)}}@keyframes qherald-item-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes qherald-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes qherald-twinkle{0%,to{opacity:0;transform:rotate(45deg)scale(.4)}50%{opacity:.9;transform:rotate(45deg)scale(1)}}@keyframes qherald-rotate{to{transform:rotate(360deg)}}@keyframes qherald-badge-pulse{0%{box-shadow:0 0 #3b82f68c}70%{box-shadow:0 0 0 8px #3b82f600}to{box-shadow:0 0 #3b82f600}}@keyframes qherald-badge-pulse-error{0%{box-shadow:0 0 #ef44448c}70%{box-shadow:0 0 0 8px #ef444400}to{box-shadow:0 0 #ef444400}}@media (prefers-reduced-motion:reduce){.qherald,.qherald[data-closing],.qherald__list .qherald__item{animation-duration:1ms;animation-delay:0s}.qherald__star,.qherald__spin,.qilin-pet[aria-busy=true] .qilin-pet__stack:before,.qilin-pet__badge:not([hidden]){animation:none}.qherald__timer{display:none}}
