/* Aetheria Herald notification widget v8 */
.aetheria-herald{position:fixed;right:24px;top:96px;z-index:850;width:306px;pointer-events:none;font-family:'Inter',system-ui,sans-serif}.aetheria-herald.is-open{width:min(410px,calc(100vw - 28px))}.aetheria-herald *{box-sizing:border-box}.aetheria-herald__launcher,.aetheria-herald__panel{pointer-events:auto}
.aetheria-herald__launcher{margin-left:auto;margin-right:0;width:306px;min-height:74px;padding:12px 16px 12px 92px;position:relative;border:1px solid rgba(224,190,111,.42);border-radius:18px;color:#f4f0e8;background:linear-gradient(145deg,rgba(12,25,37,.98),rgba(5,10,17,.98));box-shadow:0 14px 34px rgba(0,0,0,.35);cursor:pointer;text-align:left;overflow:visible;transition:transform .16s ease,border-color .16s ease}.aetheria-herald__launcher:hover{transform:translateY(-2px);border-color:rgba(240,210,141,.72)}.aetheria-herald__launcher-art{position:absolute;left:6px;bottom:0;width:78px;height:98px;background-position:center bottom;background-size:contain;background-repeat:no-repeat;filter:drop-shadow(0 8px 16px rgba(0,0,0,.34))}.aetheria-herald__launcher-art::after{content:none}.aetheria-herald__launcher small{display:block;color:#d5ae5b;font-size:.58rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.aetheria-herald__launcher strong{display:block;margin-top:3px;font-family:'Cinzel',Georgia,serif;font-size:.88rem;line-height:1.25}.aetheria-herald__badge{position:absolute;right:-7px;top:-7px;min-width:23px;height:23px;padding:0 6px;display:grid;place-items:center;border-radius:99px;color:#07111d;background:#f0d28d;font-size:.68rem;font-weight:900;box-shadow:0 6px 16px rgba(0,0,0,.35)}

.aetheria-herald:not(.is-open) .aetheria-herald__launcher{animation:heraldAttention 5s ease-in-out infinite}
@keyframes heraldAttention{0%,82%,100%{box-shadow:0 14px 34px rgba(0,0,0,.35)}88%{box-shadow:0 14px 34px rgba(0,0,0,.35),0 0 0 1px rgba(224,190,111,.18),0 0 22px rgba(213,174,91,.12)}}
.aetheria-herald__panel{position:relative;width:100%;overflow:visible;border:1px solid rgba(224,190,111,.44);border-radius:22px;background:#07111d;box-shadow:0 20px 48px rgba(0,0,0,.48);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease}.aetheria-herald__panel::before{content:'';position:absolute;left:-88px;top:38px;width:100px;height:160px;background-image:var(--herald-art);background-repeat:no-repeat;background-position:center bottom;background-size:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.42));pointer-events:none;z-index:4}.aetheria-herald__panel::after{content:'';position:absolute;left:-9px;top:72px;width:18px;height:18px;background:#07111d;border-left:1px solid rgba(224,190,111,.44);border-bottom:1px solid rgba(224,190,111,.44);transform:rotate(45deg);z-index:0}.aetheria-herald.is-open .aetheria-herald__panel{opacity:1;visibility:visible;transform:translateY(0)}.aetheria-herald.is-open .aetheria-herald__launcher{display:none}
.aetheria-herald__scene{position:relative;min-height:112px;padding:18px 56px 16px 20px;display:flex;align-items:flex-end;overflow:hidden;border-radius:21px 21px 0 0;background-position:center;background-size:cover}.aetheria-herald__scene::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,10,17,.96) 0%,rgba(5,13,22,.84) 58%,rgba(5,13,22,.30) 100%),linear-gradient(180deg,rgba(0,0,0,.08),#07111d 100%)}.aetheria-herald__scene>*{position:relative;z-index:1}.aetheria-herald__type{display:inline-flex;padding:4px 7px;border:1px solid rgba(213,174,91,.38);border-radius:999px;color:#f0d28d;background:rgba(6,13,21,.72);font-size:.56rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.aetheria-herald__title{margin:7px 0 0;color:#fff;font:600 1.12rem/1.16 'Cinzel',Georgia,serif}.aetheria-herald__close{position:absolute;right:12px;top:10px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;color:#a6b2bb;background:rgba(3,8,14,.72);cursor:pointer;font-size:1.2rem;transition:background .15s ease,color .15s ease}.aetheria-herald__close:hover{color:#fff;background:rgba(213,174,91,.16)}.aetheria-herald__body{position:relative;z-index:1;padding:15px 18px 16px;border-radius:0 0 21px 21px;background:linear-gradient(180deg,#07111d,#050b12)}.aetheria-herald__message{margin:0;color:#aeb9c2;font-size:.82rem;line-height:1.56}.aetheria-herald__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.aetheria-herald__cta,.aetheria-herald__next,.aetheria-herald__dismiss{min-height:35px;padding:7px 11px;border:1px solid rgba(213,174,91,.28);border-radius:10px;color:#e9edf0;background:rgba(255,255,255,.025);cursor:pointer;font-size:.7rem;font-weight:800;text-decoration:none}.aetheria-herald__cta{color:#07111d;background:linear-gradient(135deg,#f0d28d,#d5ae5b);border-color:#f0d28d}.aetheria-herald__dismiss{margin-left:auto;color:#82919d;border-color:transparent;background:transparent}.aetheria-herald__counter{margin-left:auto;color:#62727e;font-size:.65rem}.aetheria-herald[data-type='warning'] .aetheria-herald__panel{border-color:rgba(216,112,88,.55)}.aetheria-herald[data-type='reward'] .aetheria-herald__panel{border-color:rgba(216,165,66,.7)}
@media(max-width:760px){.aetheria-herald{right:12px;top:84px;width:min(300px,calc(100vw - 24px))}.aetheria-herald.is-open{width:calc(100vw - 24px)}.aetheria-herald__launcher{margin-right:0;width:min(300px,calc(100vw - 24px));padding-left:84px}.aetheria-herald__launcher-art{width:72px;height:90px}.aetheria-herald__panel::before{left:-58px;top:50px;width:72px;height:118px}.aetheria-herald__panel::after{left:-9px;top:66px}.aetheria-herald__scene{min-height:104px}}
@media(prefers-reduced-motion:reduce){.aetheria-herald__launcher,.aetheria-herald__panel{transition:none!important}}


/* v2.3.1 • Herald fixed to bottom-left */
.aetheria-herald{
  top:auto!important;
  right:auto!important;
  left:24px!important;
  bottom:20px!important;
}
.aetheria-herald__launcher{
  margin-left:0!important;
  margin-right:auto!important;
}

/* v2.3.2 • open panel rises above the bottom-left launcher */
.aetheria-herald.is-open{
  width:min(410px,calc(100vw - 28px));
}
.aetheria-herald__panel{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  top:auto!important;
  bottom:88px!important;
  transform-origin:left bottom!important;
}
.aetheria-herald__panel::before{
  left:auto!important;
  right:-88px!important;
  top:38px!important;
  bottom:auto!important;
}
.aetheria-herald__panel::after{
  left:34px!important;
  right:auto!important;
  top:auto!important;
  bottom:-9px!important;
  border-left:1px solid rgba(224,190,111,.44)!important;
  border-bottom:1px solid rgba(224,190,111,.44)!important;
  border-right:0!important;
  border-top:0!important;
  transform:rotate(-45deg)!important;
}
@media(max-width:760px){
  .aetheria-herald{
    left:12px!important;
    right:auto!important;
    bottom:12px!important;
    width:min(300px,calc(100vw - 24px));
  }
  .aetheria-herald.is-open{
    width:calc(100vw - 24px);
  }
  .aetheria-herald__panel{
    left:0!important;
    right:auto!important;
    bottom:84px!important;
    width:calc(100vw - 24px)!important;
  }
  .aetheria-herald__panel::before,
  .aetheria-herald__panel::after{
    display:none!important;
  }
}


/* v2.3.3 • open Herald stays anchored near the bottom */
.aetheria-herald__panel{
  bottom:0!important;
}
.aetheria-herald.is-open{
  bottom:20px!important;
}
.aetheria-herald.is-open .aetheria-herald__panel{
  transform:translateY(0)!important;
}
.aetheria-herald__panel::after{
  display:none!important;
}
@media(max-width:760px){
  .aetheria-herald__panel{bottom:0!important}
  .aetheria-herald.is-open{bottom:12px!important}
}


/* v2.3.4 • open Herald keeps character inside the card only */
.aetheria-herald.is-open .aetheria-herald__panel::before{display:none!important;}
