
.ntx { position: fixed; z-index: 60; right: clamp(16px, 2vw, 28px); bottom: calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 32px)); pointer-events: none; opacity: 0; transform: translate3d(0, 24px, 0) scale(.97);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1); font-family: "Manrope", system-ui, sans-serif; }
.ntx.is-in { opacity: 1; transform: none; pointer-events: auto; }
.ntx.is-out { opacity: 0; transform: translate3d(calc(100% + 48px), 0, 0) rotate(6deg); transition: opacity .55s ease .15s, transform .7s cubic-bezier(.55, 0, .75, .25); }
.ntx__in { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 44px 16px 14px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #24203a, #100e1a); color: #fff; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(187, 165, 231, .22), 0 24px 60px -24px rgba(0, 0, 0, .8), 0 18px 40px -28px rgba(159, 179, 238, .55); }
.ntx__ph { flex: none; width: 64px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ntx__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ntx__tx { display: grid; gap: 2px; min-width: 0; }
.ntx__k { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #acd5f5; }
.ntx__dot { width: 7px; height: 7px; border-radius: 50%; background: #e8c3df; animation: ntxP 1.6s ease-in-out infinite; }
@keyframes ntxP { 50% { opacity: .35; transform: scale(.75); } }
.ntx__n { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.ntx__d { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.ntx__v { font-size: 12.5px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntx__go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: #15121f; text-decoration: none; background: linear-gradient(100deg, #acd5f5, #9fb3ee 40%, #bba5e7 70%, #e8c3df);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.ntx__go:hover { transform: translateY(-1px); }
.ntx__go:active { transform: scale(.98); }
.ntx__go:focus-visible, .ntx__x:focus-visible { outline: 2px solid #acd5f5; outline-offset: 2px; }
.ntx__x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); font-size: 15px; cursor: pointer; }
.ntx__x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ntx__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.ntx__bar i { display: block; height: 100%; transform-origin: left center; transform: scaleX(1);
  background: linear-gradient(90deg, #acd5f5, #9fb3ee, #bba5e7, #e8c3df); transition-property: transform; transition-timing-function: linear; }
@media (max-width: 560px) {
  .ntx { left: 16px; right: 16px; width: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .ntx__ph { width: 56px; }
}
.menu-open .ntx { opacity: 0 !important; pointer-events: none !important; }
@media (prefers-reduced-motion: reduce) {
  .ntx, .ntx.is-out { transform: none !important; transition: opacity .2s linear; }
  .ntx__dot { animation: none; }
}

.ntx__rim { position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none; overflow: hidden; opacity: .85;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.ntx__rim > i { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  background: conic-gradient(#acd5f5, #9fb3ee, #bba5e7, #e8c3df, #acd5f5); animation: ntxRim 4s linear infinite; will-change: transform; }
@keyframes ntxRim { to { transform: rotate(360deg); } }
.ntx::before { content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 30px; pointer-events: none;
  background: radial-gradient(64% 76% at 50% 60%, rgba(187, 165, 231, .42), rgba(170, 172, 234, .3) 22%, rgba(159, 179, 238, .17) 46%, rgba(159, 179, 238, .07) 64%, rgba(159, 179, 238, .02) 76%, transparent 84%);
  animation: ntxAura 2.4s ease-in-out infinite; }
@keyframes ntxAura { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: .9; transform: scale(1.04); } }
.ntx.is-in .ntx__in { animation: ntxPulse 2.4s cubic-bezier(.45, 0, .25, 1) .6s infinite; }
@keyframes ntxPulse { 0%, 100% { scale: 1; } 50% { scale: 1.018; } }
.ntx.is-hold .ntx__in { animation-play-state: paused; }
.ntx.is-hold::before { animation-play-state: paused; }
.ntx__ph { position: relative; transform: rotate(-4deg); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.ntx:hover .ntx__ph { transform: rotate(0deg) scale(1.04); }
.ntx__sh { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%); animation: ntxSh 3.2s ease-in-out 1s infinite; }
@keyframes ntxSh { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
.ntx__k { flex-wrap: wrap; }
.ntx__soon { margin-left: 4px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 10.5px; letter-spacing: .08em; color: #15121f;
  background: linear-gradient(100deg, #acd5f5, #bba5e7, #e8c3df); }
.ntx__go { box-shadow: 0 8px 20px -10px rgba(187, 165, 231, .9); }
.ntx__go i { animation: ntxTk 2.4s ease-in-out .6s infinite; }
@keyframes ntxTk { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-14deg) scale(1.15); } 90% { transform: rotate(10deg) scale(1.1); } }
.ntx.is-hold .ntx__bar i { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  .ntx__rim > i, .ntx::before, .ntx.is-in .ntx__in, .ntx__sh, .ntx__go i { animation: none !important; }
  .ntx__sh { display: none; }
}
@media (max-width: 560px) { .ntx.is-out { transform: translate3d(0, calc(100% + 40px), 0) rotate(-2deg); } }
.ntx.is-out .ntx__in { animation: none; }

.ntx-pip { position: fixed; z-index: 59; right: clamp(16px, 2vw, 28px); bottom: calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: inherit; text-align: left;
  background: rgba(20, 17, 32, .92); box-shadow: inset 0 0 0 1px rgba(187, 165, 231, .35), 0 14px 34px -14px rgba(0, 0, 0, .8);
  opacity: 0; transform: translate3d(0, 14px, 0) scale(.96); pointer-events: none; transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1); }
.ntx-pip.is-in { opacity: 1; transform: none; pointer-events: auto; }
.ntx-pip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ntx-pip__t { display: grid; line-height: 1.15; }
.ntx-pip__t b { font-size: .88rem; font-weight: 800; }
.ntx-pip__t small { font-size: .74rem; font-weight: 600; color: #bba5e7; }
.ntx-pip__pulse { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 2px rgba(187, 165, 231, .7); opacity: 0; }
.ntx-pip.is-in .ntx-pip__pulse { animation: ntx-pip 2.6s cubic-bezier(.22, 1, .36, 1) .4s infinite; }
@keyframes ntx-pip { 0% { opacity: .9; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }
.ntx-pip:hover { box-shadow: inset 0 0 0 1px rgba(187, 165, 231, .7), 0 14px 34px -14px rgba(0, 0, 0, .8); }
.ntx-pip:focus-visible { outline: 2px solid #bba5e7; outline-offset: 3px; }
.menu-open .ntx-pip { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 1023px) { body:has(.rg-toc details[open]) .ntx-pip { opacity: 0 !important; pointer-events: none !important; } }
.menu-open .ntx *, .menu-open .ntx::before, .menu-open .ntx-pip__pulse { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .ntx-pip { transition: opacity .2s; transform: none; } .ntx-pip__pulse { animation: none; opacity: .5; } }
.ntx-pip.is-tuck { opacity: 0 !important; transform: translate3d(0, 12px, 0) scale(.94) !important; pointer-events: none !important; }
