/* Zahra's Jar of Love — pink aura, glass, paper */
:root {
  --bg: #140610; --pink: #ff2a85; --pink-soft: #ff758f; --blush: #ffb3c6;
  --rose: #ffd1dc; --gold: #ffd1a1; --white: #fff5fa; --dim: rgba(255,245,250,.62);
  --glass: rgba(62,16,40,.42); --edge: rgba(255,255,255,.16);
  --ease: cubic-bezier(.22,.68,.36,1); --ease-out: cubic-bezier(.16,1,.3,1);
  --display: "Playfair Display", serif; --hand: "Caveat", "Aref Ruqaa", cursive;
  --ruqaa: "Aref Ruqaa", "Caveat", serif; --ui: "Plus Jakarta Sans", "Aref Ruqaa", system-ui, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; overflow: hidden; background: var(--bg); color: var(--white);
  font-family: var(--ui); line-height: 1.7; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button { font: inherit; color: inherit; }
img { display: block; }

/* aura */
.aura { position: fixed; inset: -10%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .85; }
.aura i { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; }
.aura i:nth-child(1) { width: 58vmax; height: 58vmax; top: -16vmax; right: -14vmax;
  background: radial-gradient(circle, rgba(255,42,133,.55), transparent 66%); animation: drift1 24s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 46vmax; height: 46vmax; bottom: -14vmax; left: -10vmax;
  background: radial-gradient(circle, rgba(255,117,143,.45), transparent 66%); animation: drift2 30s ease-in-out infinite alternate; }
.aura i:nth-child(3) { width: 34vmax; height: 34vmax; top: 44%; left: 54%;
  background: radial-gradient(circle, rgba(255,209,220,.34), transparent 66%); animation: drift1 36s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(6vmax,8vmax,0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-7vmax,-5vmax,0) scale(1.1); } }
/* hud */
.hud { position: fixed; top: 12px; inset-inline: 12px; z-index: 30; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.glass { background: var(--glass); border: 1px solid var(--edge);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 22px 50px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.09); }
.brand { display: flex; align-items: center; gap: 9px; padding: 6px 14px 6px 8px; border-radius: 999px; }
.brand-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,179,198,.55), 0 0 22px rgba(255,42,133,.55); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--ruqaa); font-size: .82rem; font-weight: 700; }
.brand-text small { font-size: .5rem; letter-spacing: .2em; color: var(--blush); opacity: .8; }
.progress { display: flex; align-items: center; gap: 9px; padding: 6px 12px; border-radius: 999px; }
.ring { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: conic-gradient(var(--pink) calc(var(--p,0) * 1%), rgba(255,255,255,.12) 0);
  position: relative; }
.ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #200a16; }
.ring b { position: relative; z-index: 1; font-size: .56rem; font-weight: 700; color: var(--rose); font-variant-numeric: tabular-nums; }
.progress-text { display: flex; flex-direction: column; line-height: 1.2; }
.progress-text b { font-size: .66rem; font-variant-numeric: tabular-nums; direction: ltr; }
.progress-text small { font-size: .52rem; color: var(--dim); }
.hud-tools { display: flex; gap: 5px; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 10px;
  border-radius: 14px; cursor: pointer; color: var(--dim); transition: color .3s, transform .3s var(--ease); }
.tool span { font-size: .92rem; line-height: 1; }
.tool small { font-size: .5rem; }
.tool:hover { color: var(--white); transform: translateY(-1px); }
.tool[aria-pressed="true"] { color: var(--rose); border-color: rgba(255,179,198,.5); }
/* stage + jar */
.stage { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: clamp(12px, 2.6vh, 26px); padding: 74px 16px 92px; }
.jar-wrap { position: relative; display: grid; place-items: center; }
.halo { position: absolute; width: 116%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,42,133,.42), rgba(255,117,143,.18) 42%, transparent 68%);
  filter: blur(26px); animation: halo 5s ease-in-out infinite; pointer-events: none; }
@keyframes halo { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.07); opacity: 1; } }
.jar { position: relative; width: clamp(224px, 37vmin, 350px); aspect-ratio: .8; background: none; border: 0;
  padding: 0; cursor: pointer; display: block; transform-origin: 50% 92%; transition: transform .35s var(--ease); }
.jar:hover { transform: translateY(-4px) scale(1.012); }
.jar.is-wobble { animation: wobble .85s var(--ease); }
@keyframes wobble {
  0%,100% { transform: rotate(0) translateY(0); } 15% { transform: rotate(-3.4deg) translateY(-3px); }
  38% { transform: rotate(3.1deg) translateY(-1px); } 62% { transform: rotate(-2deg) translateY(-2px); }
  82% { transform: rotate(1.2deg); } }
.jar-glass { position: absolute; inset: 11% 2% 0; border-radius: 40% 40% 26% 26% / 18% 18% 14% 14%;
  overflow: hidden; background:
    linear-gradient(158deg, rgba(255,255,255,.26), rgba(255,255,255,.05) 34%, rgba(255,160,200,.1) 68%, rgba(255,255,255,.2));
  border: 2px solid rgba(255,255,255,.4); border-top-color: rgba(255,255,255,.62);
  box-shadow: inset 0 0 34px rgba(255,255,255,.2), inset 12px 0 30px -18px rgba(255,255,255,.7),
    inset -14px 0 34px -20px rgba(255,42,133,.8), 0 34px 70px -34px rgba(255,42,133,.7); }
.glass-shine { position: absolute; top: 5%; left: 9%; width: 24%; height: 80%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.04) 72%, transparent);
  filter: blur(2px); pointer-events: none; }
.glass-edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.28), transparent 60%); }
.jar-lid { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 62%; height: 15%;
  border-radius: 10px 10px 7px 7px;
  background: linear-gradient(180deg, #ffd9c4, #f0a288 42%, #c97a63 78%, #b06852);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.7), inset 0 2px 0 rgba(255,255,255,.6), inset 0 -3px 6px rgba(0,0,0,.28); }
.lid-band { position: absolute; inset: 28% 0; background: linear-gradient(90deg, rgba(255,255,255,.35), transparent 40%, rgba(0,0,0,.12)); }
.tag { position: absolute; top: 88%; left: 50%; transform: translateX(-50%) rotate(-6deg);
  padding: 3px 9px; font-family: var(--hand); font-size: .72rem; color: #5a1e2e; white-space: nowrap;
  background: linear-gradient(180deg, #fff2f6, #ffd9e4); border: 1px solid rgba(255,255,255,.8);
  border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.7); }
.jar-foot { position: absolute; bottom: -2%; left: 14%; right: 14%; height: 3.2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,42,133,.55), transparent 76%); filter: blur(6px); }
/* slips inside the jar */
.slips { position: absolute; inset: 0; }
.slip { position: absolute; width: var(--w, 40px); height: var(--h, 26px); border-radius: 2px;
  left: var(--l, 20%); top: var(--t, 50%); transform: rotate(var(--r, 0deg));
  background: var(--c, #ffb3c6); box-shadow: 0 2px 4px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.55);
  animation: bob var(--dur, 7s) ease-in-out infinite alternate; animation-delay: var(--d, 0s); opacity: .95; }
.slip::after { content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(140deg, rgba(255,255,255,.6), transparent 45%, rgba(0,0,0,.14)); }
@keyframes bob { from { transform: translate3d(0,0,0) rotate(var(--r,0deg)); }
  to { transform: translate3d(var(--dx,4px), var(--dy,-9px), 0) rotate(calc(var(--r,0deg) + 14deg)); } }
.jar.is-shaking .slip { animation: swirl .9s var(--ease) both; }
@keyframes swirl {
  0% { transform: translate3d(0,0,0) rotate(var(--r,0deg)); }
  30% { transform: translate3d(var(--sx,18px), var(--sy,-22px), 0) rotate(calc(var(--r,0deg) + 90deg)) scale(1.06); }
  65% { transform: translate3d(calc(var(--sx,18px) * -1), var(--sy,-22px), 0) rotate(calc(var(--r,0deg) + 200deg)); }
  100% { transform: translate3d(0,0,0) rotate(var(--r,0deg)); }
}
/* stage foot + pull button */
.stage-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pull { display: inline-flex; align-items: center; gap: 9px; padding: 13px 30px; cursor: pointer;
  font-family: var(--ui); font-size: .84rem; font-weight: 600; color: #3b0c1d; border: 0; border-radius: 999px;
  background: linear-gradient(140deg, #ffd1dc, #ff9dbb 55%, #ff758f);
  box-shadow: 0 18px 40px -18px rgba(255,42,133,.85), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .3s var(--ease), box-shadow .3s; animation: breathe 3.4s ease-in-out infinite; }
.pull:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 48px -18px rgba(255,42,133,1); }
.pull:active { transform: scale(.98); }
.pull i { font-style: normal; }
@keyframes breathe { 0%,100% { box-shadow: 0 18px 40px -18px rgba(255,42,133,.6); }
  50% { box-shadow: 0 18px 52px -14px rgba(255,42,133,1); } }
.stage-hint { margin: 0; font-size: .64rem; letter-spacing: .04em; color: var(--dim); text-align: center; }
/* slip modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px;
  background: rgba(10,3,8,.72); backdrop-filter: blur(10px); opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.slip-stage { perspective: 1200px; width: min(420px, 100%); }
.slip-card { position: relative; padding: 26px 24px 22px; border-radius: 6px; color: #3d1224;
  background: linear-gradient(165deg, #fff6f9, #ffe4ec 62%, #ffd3e0);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), inset 0 1px 0 #fff;
  transform: rotateX(-88deg) scale(.94); transform-origin: 50% 100%; opacity: 0;
  transition: transform .8s var(--ease-out), opacity .5s; }
.modal.is-open .slip-card { transform: none; opacity: 1; }
.slip-card::after { content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(61,18,36,.07) 27px 28px); }
.fold { display: none; }
:root { --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 108'%3E%3Cpath d='M60 104C26 80 4 58 4 36A25 25 0 0 1 60 24 25 25 0 0 1 116 36c0 22-22 44-56 68z'/%3E%3C/svg%3E"); }
.slip { -webkit-mask: var(--heart) center/100% 100% no-repeat; mask: var(--heart) center/100% 100% no-repeat; }
.slip-actions { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.keep-btn { margin-inline-start: 0; }
.redeem { width: min(320px, 100%); margin: 10px auto 0; }

.slip-card { width: min(400px, 88vw); min-height: 356px; margin: 0 auto 18px;
  padding: 58px 52px 54px; display: flex; flex-direction: column; justify-content: center;
  background: repeating-linear-gradient(to bottom, transparent 0 29px, rgba(61,18,36,.06) 29px 30px),
    radial-gradient(120% 90% at 50% 16%, #fffafc 0%, #ffe4ee 46%, #ffcadb 100%);
  -webkit-mask: var(--heart) center/100% 100% no-repeat; mask: var(--heart) center/100% 100% no-repeat;
  box-shadow: none; filter: drop-shadow(0 28px 44px rgba(0,0,0,.55)); }
.slip-card::after { display: none; }
.slip-text { text-align: center; font-size: 1.02rem; line-height: 2; }
.slip-meta { text-align: center; }

.slip-card::after { opacity: .5; }
.slip-meta { letter-spacing: .1em; font-size: .62rem; }
.slip-text { margin-bottom: 20px; }

.fold-top { top: 0; border-radius: 6px 6px 0 0; box-shadow: inset 0 -10px 18px -12px rgba(0,0,0,.35); }
.fold-bottom { bottom: 0; border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #ffe1ea, #ffcfdd);
  box-shadow: inset 0 10px 18px -12px rgba(0,0,0,.25); }
.slip-inner { position: relative; z-index: 2; }
.slip-meta { margin: 0 0 12px; font-family: var(--ui); font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(61,18,36,.5); }
.slip-text { margin: 0 0 22px; font-family: var(--ruqaa); font-size: 1.18rem; line-height: 2.1;
  color: #3d1224; text-wrap: pretty; }
.slip-actions { display: flex; align-items: center; gap: 8px; }
.fav-btn, .keep-btn, .redeem { font-family: var(--ui); font-size: .72rem; cursor: pointer; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, color .25s; }
.fav-btn { display: inline-flex; align-items: center; gap: 5px; padding: 9px 15px; color: #3d1224;
  background: rgba(255,255,255,.6); border: 1px solid rgba(61,18,36,.16); }
.fav-btn.is-on { background: #ff2a85; color: #fff; border-color: transparent; }
.keep-btn { margin-inline-start: auto; padding: 9px 20px; color: #fff; border: 0;
  background: linear-gradient(140deg, #ff5c9d, #ff2a85); box-shadow: 0 12px 26px -14px rgba(255,42,133,.9); }
.fav-btn:hover, .keep-btn:hover, .redeem:hover { transform: translateY(-2px); }
.redeem { width: 100%; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px; color: #4a2610; border: 0;
  background: linear-gradient(140deg, #ffe6c2, #ffc98f 55%, #ffb066); }
.redeem i { font-style: normal; }
.redeem[hidden] { display: none; }
/* drawer */
.drawer { position: fixed; inset: auto 0 0; z-index: 55; max-height: 86svh; display: flex; flex-direction: column;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); background: rgba(26,7,17,.94);
  border-top: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(24px) saturate(150%);
  transform: translateY(103%); transition: transform .6s var(--ease-out); overscroll-behavior: contain; }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; max-width: 680px; width: 100%;
  margin: 0 auto 12px; }
.drawer-head h2 { margin: 0; font-family: var(--ruqaa); font-size: 1.05rem; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  cursor: pointer; color: var(--white); transition: transform .28s var(--ease); }
.icon-btn:hover { transform: translateY(-2px); }
.drawer-tools { display: flex; gap: 8px; align-items: center; max-width: 680px; width: 100%; margin: 0 auto 12px; }
.drawer-tools input { flex: 1; min-width: 0; padding: 9px 14px; font-family: var(--ui); font-size: .74rem;
  color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; outline: none; }
.drawer-tools input:focus { border-color: rgba(255,179,198,.6); }
.tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); }
.tab { padding: 6px 13px; font-size: .64rem; color: var(--dim); background: none; border: 0;
  border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.tab.is-on { background: linear-gradient(140deg, #ff5c9d, #ff2a85); color: #fff; }
.drawer-body { max-width: 680px; width: 100%; margin: 0 auto; overflow-y: auto; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding-bottom: 6px; }
.drawer-empty { margin: 18px auto; max-width: 680px; font-size: .74rem; color: var(--dim); text-align: center; }
.drawer-empty[hidden] { display: none; }
.slip-mini { position: relative; padding: 13px 14px; border-radius: 10px; text-align: start; cursor: pointer;
  border: 1px solid rgba(255,255,255,.14); color: #3d1224; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s; }
.slip-mini:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(255,42,133,.9); }
.slip-mini b { display: block; font-size: .56rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; opacity: .6; margin-bottom: 5px; }
.slip-mini p { margin: 0; font-family: var(--ruqaa); font-size: .78rem; line-height: 1.85;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slip-mini .heart { position: absolute; top: 9px; inset-inline-end: 10px; font-size: .7rem; color: #ff2a85; }
/* ping */
.ping-sheet { position: relative; width: min(430px, 100%); max-height: 90svh; overflow-y: auto;
  padding: 24px 22px 18px; border-radius: 24px; }
.ping-x { position: absolute; top: 12px; inset-inline-start: 12px; }
.ping-over { margin: 0 0 2px; font-size: .56rem; letter-spacing: .3em; color: var(--blush); opacity: .8; }
.ping-title { margin: 0 0 14px; font-family: var(--ruqaa); font-size: 1.3rem; }
.ping-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-bottom: 12px; }
.ping { display: flex; align-items: center; gap: 7px; padding: 10px 11px; font-size: .7rem; text-align: start;
  color: var(--white); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px; cursor: pointer; transition: transform .26s var(--ease), background .26s, border-color .26s; }
.ping span { font-size: 1rem; line-height: 1; }
.ping:hover { transform: translateY(-2px); background: rgba(255,42,133,.16); border-color: rgba(255,42,133,.5); }
.ping-sheet textarea { width: 100%; padding: 11px 13px; margin-bottom: 10px; font-family: var(--ruqaa);
  font-size: .86rem; line-height: 1.9; color: var(--white); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13); border-radius: 13px; outline: none; resize: none; }
.ping-sheet textarea::placeholder { color: rgba(255,245,250,.35); }
.ping-sheet textarea:focus { border-color: rgba(255,179,198,.6); }
.send { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px;
  font-size: .78rem; font-weight: 600; color: #3b0c1d; border: 0; border-radius: 13px; cursor: pointer;
  background: linear-gradient(140deg, #ffd1dc, #ff9dbb 55%, #ff758f);
  transition: transform .26s var(--ease); }
.send:hover { transform: translateY(-2px); }
.send i { font-style: normal; }
.ping-foot { margin: 9px 0 0; font-size: .58rem; color: rgba(255,245,250,.42); text-align: center; }
/* ping fab */
.ping-fab { position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline-start: 16px; z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 15px; cursor: pointer;
  color: #3b0c1d; border: 0; border-radius: 18px;
  background: linear-gradient(150deg, #ffe4ec, #ffb3c6 60%, #ff8fb0);
  box-shadow: 0 16px 36px -18px rgba(255,42,133,.9), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .28s var(--ease); }
.ping-fab:hover { transform: translateY(-3px) scale(1.03); }
.ping-fab span { font-size: 1.05rem; line-height: 1; }
.ping-fab small { font-size: .5rem; font-weight: 600; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; text-align: center;
  padding: 24px; cursor: pointer; transition: opacity 1s var(--ease), visibility 1s;
  background: radial-gradient(60% 46% at 50% 40%, rgba(255,42,133,.2), transparent 70%), rgba(12,3,9,.95); }
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-in { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 520px; }
.intro-logo { width: clamp(96px, 24vw, 132px); height: clamp(96px, 24vw, 132px); border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 3px rgba(255,179,198,.5), 0 0 60px rgba(255,42,133,.7);
  animation: rise 1.1s var(--ease-out) both, floaty 6s ease-in-out infinite 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.intro-over { margin: 8px 0 0; font-size: .56rem; letter-spacing: .4em; text-indent: .4em;
  color: var(--blush); animation: rise 1s .1s var(--ease-out) both; }
.intro-title { margin: 0; font-family: var(--ruqaa); font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.3;
  background: linear-gradient(120deg, #fff 0%, #ffd1dc 40%, #ff9dbb 70%, #ffe6c2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.2s .16s var(--ease-out) both; }
.intro-line { margin: 0; font-family: var(--ruqaa); font-size: clamp(.92rem, 3vw, 1.15rem);
  color: rgba(255,245,250,.78); animation: rise 1.2s .28s var(--ease-out) both; }
.intro-hint { margin: 18px 0 0; padding: 10px 24px; font-size: .7rem; color: var(--white);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.05);
  animation: rise 1.2s .4s var(--ease-out) both, glow 3.2s ease-in-out infinite 1.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,42,133,.3); } 50% { box-shadow: 0 0 0 18px rgba(255,42,133,0); } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 80; transform: translate(-50%,14px);
  max-width: 88vw; padding: 10px 20px; font-size: .74rem; color: var(--white);
  background: rgba(38,8,24,.94); border: 1px solid rgba(255,179,198,.4); border-radius: 999px;
  box-shadow: 0 18px 40px -24px rgba(255,42,133,.9); opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease-out); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.toast.is-on { opacity: 1; transform: translate(-50%,0); }
/* responsive */
@media (max-width: 760px) {
  .hud { top: 8px; inset-inline: 8px; gap: 6px; }
  .brand { padding: 5px 10px 5px 6px; }
  .brand-logo { width: 28px; height: 28px; }
  .brand-text b { font-size: .7rem; }
  .brand-text small { font-size: .42rem; letter-spacing: .12em; }
  .progress { padding: 5px 9px; gap: 7px; }
  .ring { width: 27px; height: 27px; }
  .progress-text b { font-size: .6rem; }
  .progress-text small { font-size: .46rem; }
  .tool { padding: 5px 8px; }
  .tool span { font-size: .84rem; }
  .tool small { font-size: .44rem; }
  .stage { padding: 66px 12px 84px; }
  .jar { width: clamp(210px, 62vmin, 320px); }
  .pull { padding: 11px 24px; font-size: .78rem; }
  .stage-hint { font-size: .58rem; }
  .ping-fab { bottom: max(12px, env(safe-area-inset-bottom)); inset-inline-start: 12px; padding: 8px 12px; }
  .slip-card { width: min(330px, 86vw); min-height: 300px; padding: 46px 40px 42px; }
  .slip-text { font-size: .94rem; line-height: 1.95; }
  .slip-actions { flex-wrap: wrap; }

  .drawer-body { grid-template-columns: 1fr; }
  .toast { bottom: 80px; font-size: .68rem; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .progress-text small { display: none; }
  .ping-grid { grid-template-columns: 1fr; }
}
/* polish overrides */
body { background: radial-gradient(90% 70% at 50% 12%, #2b0a1c 0%, #1a0713 42%, #12040e 100%); }
.aura { opacity: 1; }
.aura i:nth-child(1) { background: radial-gradient(circle, rgba(255,42,133,.7), transparent 68%); }
.aura i:nth-child(2) { background: radial-gradient(circle, rgba(255,179,198,.55), transparent 68%); }
.aura i:nth-child(3) { background: radial-gradient(circle, rgba(255,209,220,.42), transparent 68%); }
.glass { background: rgba(255,179,198,.12); border-color: rgba(255,209,220,.28); }
.tool { color: rgba(255,245,250,.8); }
.tool span { color: #ffd1dc; }
.brand { padding-inline: 10px 14px; gap: 8px; }
.brand-text b { color: #fff2f7; }

.jar { width: clamp(238px, 41vmin, 380px); }
.jar-glass { background:
    radial-gradient(120% 70% at 50% 88%, rgba(255,117,143,.28), transparent 62%),
    linear-gradient(158deg, rgba(255,255,255,.36), rgba(255,214,228,.15) 38%, rgba(255,117,143,.12) 72%, rgba(255,255,255,.3)); }
.jar-foot { bottom: -4%; left: 6%; right: 6%; height: 5%; filter: blur(9px);
  background: radial-gradient(closest-side, rgba(255,42,133,.85), rgba(255,42,133,.25) 55%, transparent 80%); }
.hud .tool { color: #ffe3ec; }
.hud .tool span { color: #ffd1dc; text-shadow: 0 0 12px rgba(255,42,133,.8); }
.brand-text b { font-size: .78rem; white-space: nowrap; }
.brand { padding-inline: 12px 12px; }
@media (max-width: 760px) { .brand-text b { font-size: .64rem; } }

.jar-glass {
  border-color: rgba(255,222,234,.72); border-top-color: rgba(255,255,255,.85);
  border-radius: 40% 40% 30% 30% / 18% 18% 16% 16%;
  box-shadow: inset 0 0 46px rgba(255,255,255,.24), inset 12px 0 30px -18px rgba(255,255,255,.9),
    inset -14px 0 34px -20px rgba(255,42,133,.85), inset 0 -26px 40px -26px rgba(255,42,133,.7),
    0 44px 100px -38px rgba(255,42,133,.95);
}
.jar-lid { height: 13%; border-radius: 14px 14px 8px 8px; top: 1.5%;
  background: linear-gradient(180deg, #ffe3ea, #ffadc2 40%, #e2718f 76%, #c85a7b); }
.tag { top: 96%; font-size: .78rem; }
.halo { width: 132%; background: radial-gradient(circle, rgba(255,42,133,.6), rgba(255,117,143,.26) 44%, transparent 70%); }















