body[data-theme="sakura"] {
  --c-rgb: 255, 127, 168; --cyan: #ff7fa8; --cyan-2: #e0577f; --cyan-dim: #f3a9c0; --deco: #ffc2d6;
  --text: #5a3946; --muted: #a8848f; --ink: #4a2c38;
  --bg: #fff5f8; --bg2: #ffeef3; --bg-a: #fff7fa; --bg-b: #ffe9f0; --bg-glow: #ffe3ec;
  --panel: rgba(255, 255, 255, 0.86); --panel-solid: #ffffff;
  --green: #3dbb8f; --amber: #f29a3d; --red: #ef5b7b;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #5a2f40;
  --blob1: rgba(255, 182, 206, .55); --blob2: rgba(255, 214, 229, .7); --dot: rgba(255, 127, 168, .22);
  color-scheme: light;
}
body[data-theme="lavender"] {
  --c-rgb: 160, 128, 255; --cyan: #a080ff; --cyan-2: #7b5ce0; --cyan-dim: #c9b8ff; --deco: #e2d6ff;
  --text: #45395e; --muted: #9488ad; --ink: #33284a;
  --bg: #f7f3ff; --bg2: #f0eaff; --bg-a: #faf7ff; --bg-b: #ece5ff; --bg-glow: #e9e0ff;
  --panel: rgba(255, 255, 255, 0.86); --panel-solid: #ffffff;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #3b2a63;
  --blob1: rgba(201, 184, 255, .55); --blob2: rgba(255, 210, 240, .5); --dot: rgba(160, 128, 255, .2);
}
body[data-theme="peach"] {
  --c-rgb: 255, 148, 110; --cyan: #ff946e; --cyan-2: #e2683f; --cyan-dim: #ffc2a8; --deco: #ffd9c7;
  --text: #5c3f33; --muted: #b08f80; --ink: #4a2e22;
  --bg: #fff6f0; --bg2: #ffefe5; --bg-a: #fff9f4; --bg-b: #ffe8da; --bg-glow: #ffe4d4;
  --panel: rgba(255, 255, 255, 0.86); --panel-solid: #ffffff;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #5a3022;
  --blob1: rgba(255, 196, 168, .55); --blob2: rgba(255, 226, 180, .55); --dot: rgba(255, 148, 110, .2);
}
body[data-theme="mint"] {
  --c-rgb: 72, 200, 160; --cyan: #48c8a0; --cyan-2: #1f9a76; --cyan-dim: #9fe3cc; --deco: #c9f2e3;
  --text: #2f4f45; --muted: #7fa398; --ink: #213b33;
  --bg: #f0fbf6; --bg2: #e6f8f0; --bg-a: #f5fdf9; --bg-b: #e2f6ee; --bg-glow: #d9f3e8;
  --panel: rgba(255, 255, 255, 0.86); --panel-solid: #ffffff;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #1f4a3c;
  --blob1: rgba(168, 232, 208, .55); --blob2: rgba(255, 236, 190, .45); --dot: rgba(72, 200, 160, .2);
}
body[data-theme="cotton"] {
  --c-rgb: 130, 170, 255; --cyan: #82aaff; --cyan-2: #5b7fe0; --cyan-dim: #b9cdff; --deco: #ffb3d9;
  --text: #44466a; --muted: #9195b8; --ink: #2f3158;
  --bg: #f7f4ff; --bg2: #eef3ff; --bg-a: #fff1f8; --bg-b: #e9f1ff; --bg-glow: #f1ebff;
  --panel: rgba(255, 255, 255, 0.84); --panel-solid: #ffffff;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #2f3168;
  --blob1: rgba(255, 179, 217, .55); --blob2: rgba(170, 200, 255, .55); --dot: rgba(255, 140, 200, .22);
}
body[data-theme="latte"] {
  --c-rgb: 190, 136, 96; --cyan: #be8860; --cyan-2: #94603a; --cyan-dim: #dcbfa6; --deco: #ecd9c6;
  --text: #4e3a2c; --muted: #a08b78; --ink: #3b2a1e;
  --bg: #f9f2e8; --bg2: #f4eadc; --bg-a: #fcf7f0; --bg-b: #f1e4d2; --bg-glow: #efe1cd;
  --panel: rgba(255, 252, 247, 0.9); --panel-solid: #fffcf7;
  --green: #6aa57d; --amber: #d99245; --red: #d4606a;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #4a3020;
  --blob1: rgba(222, 196, 170, .5); --blob2: rgba(255, 230, 205, .6); --dot: rgba(190, 136, 96, .18);
}
body[data-theme="night"] {   /* cosy dark mode */
  --c-rgb: 199, 166, 255; --cyan: #c7a6ff; --cyan-2: #dcc8ff; --cyan-dim: #7d68b0; --deco: #ff9ccf;
  --text: #efe7ff; --muted: #a99cc8; --ink: #ffffff;
  --bg: #1c1730; --bg2: #241d3d; --bg-a: #211a38; --bg-b: #2c2350; --bg-glow: #2f2656;
  --panel: rgba(44, 36, 74, 0.82); --panel-solid: #2c244a;
  --green: #7fe0b8; --amber: #ffc27a; --red: #ff8aa5;
  --think-rgb: var(--c-rgb); --listen-rgb: var(--c-rgb); --core-ink: #3a2a63;
  --blob1: rgba(140, 100, 220, .35); --blob2: rgba(255, 140, 200, .18); --dot: rgba(255, 255, 255, .5);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root { --body: "Nunito", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --display: "Jua", "BM Jua", "Apple SD Gothic Neo", -apple-system, sans-serif;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --tabh: 58px; --askh: 60px; }
body { --heart-top: color-mix(in srgb, var(--cyan) 55%, #fff); --heart-bot: var(--cyan); }
html, body { margin: 0; height: 100%; }
body { font-family: var(--body); color: var(--text); background: linear-gradient(160deg, var(--bg-a), var(--bg-b)) fixed, var(--bg);
  overflow: hidden; -webkit-font-smoothing: antialiased; overscroll-behavior: none; -webkit-user-select: none; user-select: none; }
input, select, button { font: inherit; color: inherit; }
input { -webkit-user-select: text; user-select: text; }
.blobs i { position: fixed; border-radius: 50%; filter: blur(40px); z-index: -1; }
.blobs i:nth-child(1) { width: 260px; height: 260px; background: var(--blob1); top: -60px; right: -80px; }
.blobs i:nth-child(2) { width: 300px; height: 300px; background: var(--blob2); bottom: 60px; left: -120px; }

.top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--sat) + 8px) 18px 8px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 8px; }
.brand b { font-family: var(--display); font-size: 22px; color: var(--cyan-2); font-weight: 400; display: block; line-height: 1; }
.brand small { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: 1px; }
.brand-heart { position: relative; width: 22px; height: 20px; }
.brand-heart::before, .brand-heart::after { content: ""; position: absolute; top: 0; width: 12px; height: 19px; border-radius: 12px 12px 0 0; background: var(--cyan); }
.brand-heart::before { left: 11px; transform: rotate(-45deg); transform-origin: 0 100%; }
.brand-heart::after { left: -1px; transform: rotate(45deg); transform-origin: 100% 100%; }
.dplus-chip { font-family: var(--display); color: #fff; background: linear-gradient(135deg, var(--cyan), var(--deco)); padding: 5px 12px; border-radius: 99px; font-size: 15px; box-shadow: 0 3px 10px rgba(var(--c-rgb), .3); }

#views { position: fixed; inset: 0; overflow: hidden; }
.view { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; display: none;
  padding: calc(var(--sat) + 62px) 16px calc(var(--sab) + var(--tabh) + 18px); }
.view.on { display: block; animation: pop .25s ease; }
body.has-ask .view { padding-bottom: calc(var(--sab) + var(--tabh) + var(--askh) + 18px); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

.card { background: var(--panel); border-radius: 22px; padding: 14px 16px; margin: 0 0 12px; border: 1.5px solid rgba(var(--c-rgb), .14);
  box-shadow: 0 6px 20px rgba(var(--c-rgb), .10); }
.card-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--cyan-2); font-size: 14px; margin-bottom: 10px; }
.card-h small { color: var(--muted); font-weight: 700; }
.more { color: var(--cyan-2); text-decoration: none; font-size: 13px; }

/* the heart: always the theme colour, lighter while listening (+ ears, soft glow), darker while thinking */
.heart-stage { position: relative; width: min(54vw, 220px); aspect-ratio: 1; margin: 6px auto 0; display: grid; place-items: center; cursor: pointer; }
.heart-stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c-rgb), .28), rgba(var(--c-rgb), 0) 68%); transition: transform .4s, opacity .4s; }
.sparkles { position: absolute; inset: 0; border-radius: 50%; background-image: radial-gradient(circle, rgba(var(--c-rgb), .5) 1.3px, transparent 1.6px);
  background-size: 22px 22px; -webkit-mask: radial-gradient(circle, transparent 46%, #000 52%, transparent 70%); mask: radial-gradient(circle, transparent 46%, #000 52%, transparent 70%);
  animation: spin 40s linear infinite; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.jj-heart { width: 66%; overflow: visible; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(var(--c-rgb), .35)); transition: filter .3s; }
@keyframes bob { 50% { transform: translateY(-5px) scale(1.02); } }
.jj-heart .body { stroke: rgba(255,255,255,.7); stroke-width: 3; }
.jj-heart .shine { fill: rgba(255,255,255,.75); }
.jj-heart .eyes ellipse { fill: var(--core-ink); }
.jj-heart .eyes { transform-origin: 100px 92px; animation: blink 4.5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.jj-heart .mouth { stroke: var(--core-ink); }
.jj-heart .blush { fill: rgba(255, 120, 150, .35); }
.jj-heart .ears path { fill: var(--heart-top); stroke: rgba(255,255,255,.7); stroke-width: 3; }
.jj-heart .ears path.ear-in { fill: rgba(255,255,255,.55); stroke: none; }
.jj-heart .ears { opacity: 0; transform: translateY(30px) scale(.5); transform-origin: 100px 40px; transition: all .35s cubic-bezier(.3,1.6,.5,1); }
body.listening { --heart-top: color-mix(in srgb, var(--cyan) 35%, #fff); --heart-bot: color-mix(in srgb, var(--cyan) 75%, #fff); }
body.listening .jj-heart .ears { opacity: 1; transform: none; animation: wiggle 1.2s ease-in-out infinite; }
body.listening .jj-heart { filter: drop-shadow(0 0 22px rgba(var(--c-rgb), .65)); }
body.listening .heart-stage::before { transform: scale(1.18); opacity: 1; animation: pulse 1.1s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: rotate(-3deg) translateY(-1px); } }
@keyframes pulse { 50% { transform: scale(1.28); opacity: .6; } }
body.thinking { --heart-top: color-mix(in srgb, var(--cyan) 80%, #fff); --heart-bot: color-mix(in srgb, var(--cyan) 80%, #000); }
body.thinking .jj-heart { animation: think 1s ease-in-out infinite; }
@keyframes think { 50% { transform: rotate(-4deg); } }
body.speaking .jj-heart .mouth { animation: talk .28s ease-in-out infinite alternate; transform-origin: 100px 110px; }
@keyframes talk { to { transform: scaleY(1.8); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

.core-title { text-align: center; font-family: var(--display); font-size: 24px; color: var(--ink); margin-top: 2px; }
.core-state { display: table; margin: 6px auto 0; padding: 4px 16px; border-radius: 99px; font-weight: 800; font-size: 13px; color: var(--cyan-2); background: rgba(var(--c-rgb), .14); }
.core-hint { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; margin: 8px 0 4px; }
.last-reply { text-align: center; margin: 4px 10px 14px; font-size: 15px; line-height: 1.5; word-break: keep-all; }
.last-reply:empty { display: none; }

.dplus-row { display: flex; gap: 14px; align-items: center; }
.dplus { font-family: var(--display); font-size: 34px; color: var(--cyan-2); line-height: 1.05; }
.dplus-row small { color: var(--muted); font-weight: 700; font-size: 11px; }
.milestones { flex: 1; display: grid; gap: 8px; }
.ms { font-size: 12px; font-weight: 700; }
.ms .l { display: flex; justify-content: space-between; } .ms .l b { color: var(--cyan-2); }
.bar { height: 6px; border-radius: 99px; background: rgba(var(--c-rgb), .14); margin-top: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--deco)); }
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.clock { background: var(--panel-solid); border-radius: 16px; padding: 10px 12px; border: 1.5px solid rgba(var(--c-rgb), .12); }
.clock small { font-size: 12px; color: var(--muted); font-weight: 700; display: block; }
.clock em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.clock b { font-family: var(--display); font-size: 26px; font-weight: 400; color: var(--ink); }
.clock-note { font-size: 12.5px; margin-top: 10px; font-weight: 700; }
.mini-word { text-align: center; background: var(--panel-solid); border-radius: 16px; padding: 14px; }
.mini-word b { font-family: var(--display); font-size: 28px; font-weight: 400; color: var(--cyan-2); display: block; }
.mini-word small { color: var(--muted); font-weight: 700; }

.chat-head { position: sticky; top: -2px; z-index: 2; padding-bottom: 8px; }
.seg { display: flex; background: var(--panel); border-radius: 99px; padding: 4px; gap: 4px; border: 1.5px solid rgba(var(--c-rgb), .14); margin-bottom: 12px; }
.seg button { flex: 1; border: 0; background: none; padding: 9px 6px; border-radius: 99px; font-weight: 800; font-size: 13px; color: var(--muted); white-space: nowrap; }
.seg button.on { background: linear-gradient(135deg, var(--cyan), var(--deco)); color: #fff; box-shadow: 0 3px 10px rgba(var(--c-rgb), .3); }
.log { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 84%; padding: 9px 14px 10px; border-radius: 20px; font-size: 15.5px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
.msg .who { font-weight: 800; font-size: 11px; letter-spacing: .5px; display: block; margin-bottom: 2px; }
.msg.you { align-self: flex-end; background: rgba(var(--c-rgb), .18); border-bottom-right-radius: 6px; } .msg.you .who { color: var(--cyan-2); }
.msg.jj { align-self: flex-start; background: var(--panel-solid); border: 1.5px solid rgba(var(--c-rgb), .18); border-bottom-left-radius: 6px; } .msg.jj .who { color: var(--cyan); }
.msg.sys { align-self: center; text-align: center; font-size: 12.5px; color: var(--muted); background: none; max-width: 95%; padding: 2px; }
.tip { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(var(--c-rgb), .10); font-size: 13.5px; }
.tip mark { background: rgba(var(--c-rgb), .3); color: inherit; border-radius: 4px; padding: 0 2px; }
.tip-btns { display: flex; gap: 6px; margin-top: 6px; }
.tip-btns button { border: 0; background: var(--panel-solid); border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--cyan-2); }
.typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--cyan); animation: dot 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s } .typing span:nth-child(3) { animation-delay: .3s }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .5; } }

.ask { position: fixed; left: 12px; right: 12px; z-index: 6; bottom: calc(var(--sab) + var(--tabh) + 8px); display: none; align-items: center; gap: 8px;
  background: var(--panel-solid); border: 1.5px solid rgba(var(--c-rgb), .35); border-radius: 99px; padding: 6px; box-shadow: 0 6px 20px rgba(var(--c-rgb), .18); }
body.has-ask .ask { display: flex; }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 8px 4px; }
.ask input::placeholder { color: var(--muted); }
.mic, .send { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; }
.mic { background: rgba(var(--c-rgb), .16); } .mic svg { width: 22px; fill: var(--cyan-2); }
body.listening .mic { background: var(--cyan); box-shadow: 0 0 0 6px rgba(var(--c-rgb), .22); } body.listening .mic svg { fill: #fff; }
.send { color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--cyan), var(--deco)); box-shadow: 0 3px 10px rgba(var(--c-rgb), .35); }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; padding: 6px 6px calc(var(--sab) + 4px);
  background: color-mix(in srgb, var(--panel-solid) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -4px 18px rgba(var(--c-rgb), .10); border-radius: 22px 22px 0 0; }
.tabs a { flex: 1; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0; border-radius: 14px; color: var(--muted); font-weight: 800; font-size: 11px; min-height: 46px; justify-content: center; }
.tabs a i { font-style: normal; font-size: 20px; filter: grayscale(.6) opacity(.75); transition: transform .2s; }
.tabs a.on { color: var(--cyan-2); background: rgba(var(--c-rgb), .12); } .tabs a.on i { filter: none; transform: translateY(-1px) scale(1.1); }

.flash { perspective: 900px; height: min(52vh, 380px); margin: 4px 0 10px; }
.flash-in { position: relative; width: 100%; height: 100%; transition: transform .5s; transform-style: preserve-3d; }
.flash.flipped .flash-in { transform: rotateY(180deg); }
.front, .back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 28px; background: var(--panel-solid);
  border: 2px solid rgba(var(--c-rgb), .2); box-shadow: 0 10px 30px rgba(var(--c-rgb), .16); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; text-align: center; }
.back { transform: rotateY(180deg); }
.front b { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 11vw, 52px); color: var(--cyan-2); word-break: break-word; }
.front small, .back small { color: var(--muted); font-weight: 700; margin-top: 8px; }
.back b { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--ink); }
.back p { margin: 14px 0 0; font-size: 15px; line-height: 1.5; } .back p i { color: var(--muted); font-style: normal; display: block; font-size: 13.5px; }
.flash-count { text-align: center; color: var(--muted); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.rate { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate button { border: 0; border-radius: 18px; padding: 15px; font-weight: 800; font-size: 16px; }
.rate .hard { background: rgba(var(--c-rgb), .16); color: var(--cyan-2); }
.rate .easy { background: color-mix(in srgb, var(--green) 18%, var(--panel-solid)); color: color-mix(in srgb, var(--green) 70%, #000); }
.ghost { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--cyan-2); font-weight: 800; padding: 10px 16px; }

.add-row { display: flex; gap: 8px; margin-bottom: 12px; }
.add-row input, .form input, .form select { flex: 1; min-width: 0; border: 1.5px solid rgba(var(--c-rgb), .25); background: var(--panel-solid); border-radius: 14px; padding: 11px 12px; font-size: 16px; outline: 0; }
.add-row button { width: 48px; border: 0; border-radius: 14px; color: #fff; font-size: 22px; background: linear-gradient(135deg, var(--cyan), var(--deco)); }
.drama-list { display: grid; gap: 10px; }
.drama { display: flex; gap: 12px; align-items: center; background: var(--panel); border-radius: 18px; padding: 10px; border: 1.5px solid rgba(var(--c-rgb), .14); }
.poster { width: 54px; height: 76px; border-radius: 12px; flex: 0 0 auto; background: linear-gradient(160deg, var(--deco), var(--cyan)); background-size: cover; background-position: center;
  display: grid; place-items: center; color: #fff; font-family: var(--display); font-size: 22px; }
.drama .info { flex: 1; min-width: 0; } .drama .info b { display: block; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drama .info small { color: var(--muted); font-weight: 700; }
.drama .acts { display: flex; gap: 6px; } .drama .acts button { border: 0; width: 38px; height: 38px; border-radius: 12px; background: rgba(var(--c-rgb), .14); color: var(--cyan-2); font-weight: 800; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; font-weight: 700; line-height: 1.6; }

.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sw { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.sw i { width: 44px; height: 44px; border-radius: 50%; display: block; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.sw.on i { outline: 3px solid var(--cyan); outline-offset: 3px; } .sw.on { color: var(--cyan-2); }
.form label { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-weight: 700; font-size: 14px; }
.form label > span { flex: 0 0 96px; }
.pill { display: block; width: 100%; border: 0; border-radius: 14px; padding: 12px; margin-top: 6px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--cyan), var(--deco)); }
.mem-list { display: grid; gap: 6px; font-size: 13.5px; } .mem-list div { display: flex; justify-content: space-between; gap: 8px; background: var(--panel-solid); padding: 8px 10px; border-radius: 12px; }
.mem-list button { border: 0; background: none; color: var(--muted); }
.fine { text-align: center; color: var(--muted); font-size: 11px; }
.toast { position: fixed; left: 50%; top: calc(var(--sat) + 64px); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; z-index: 9;
  background: var(--panel-solid); color: var(--cyan-2); font-weight: 800; padding: 10px 18px; border-radius: 99px; box-shadow: 0 6px 20px rgba(var(--c-rgb), .25); transition: all .3s; max-width: 90vw; text-align: center; font-size: 14px; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-height: 900px) { .heart-stage { width: min(60vw, 250px); } }
