:root {
  --bgc: #2c5f6e;
  --ink: #1b1410;
  --cream: #fff3e6;
  --text: #e8edf2;
  --muted: #98a4b1;
  --accent: #3ddc97;
  --border: #252e38;
  --panel: #0e1318;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  /* one loud-but-muted colour: petrol */
  background: var(--bgc);
  display: flex; flex-direction: column; min-height: 100svh;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; }
button { font: inherit; }


.top, .stage, .foot { position: relative; z-index: 1; }

/* TOP BAR: just the resume button */
.top { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 18px 24px; }
.contact-btn {
  display: inline-grid; place-items: center; width: 41px; height: 41px;
  padding: 0; border-radius: 50%; font-weight: 600; font-size: .95rem; text-decoration: none;
  color: #eaf6ff; border: 1px solid rgba(255,255,255,.22);
  background:
    radial-gradient(120% 140% at 25% 0%, rgba(255,255,255,.2), rgba(255,255,255,0) 50%),
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(120,200,255,.03));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .15s, border-color .15s;
}
.contact-btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.4); }
.contact-btn svg { opacity: .85; }
.resume-btn {
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: #f2f5f7; color: #0b0f14; border: 0; font-weight: 600; font-size: .95rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); transition: transform .15s, box-shadow .15s;
}
.resume-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(61,220,151,.25); }

/* STAGE: memoji + laptop fill the first screen */
.stage { flex: 1; min-height: 0; display: grid; place-items: end center; padding: 0 24px; container-type: size; overflow: hidden; }

/* LAPTOP SCENE
   Both images come from assets/memoji-laptop-original.jpg (2048x2048):
   - assets/laptop-lid.jpg = the photo's lid, x 108-1946 (1838px), y 1092 (its top edge) to 1990;
     aspect 2.047. It runs off the bottom of the screen, as in the photo.
   - assets/memoji-head.png = the head, cut out at x 600-1480, y 340-1110; the hair starts at y=392.
   The head is scaled against the lid so the photo's proportions are kept; the scene starts at the
   top of the hair. Scene height = head above the lid (.381) + lid (.489) + .23 above the head for
   the name -> ~1.1x its width. --S is the scene width. */
.scene {
  --S: min(600px, 100cqw, calc((100cqh - 8px) / 1.1));
  position: relative; display: flow-root; width: var(--S); margin-top: calc(var(--S) * .23);
}
.memoji {
  position: absolute; z-index: 0; top: 0; left: 26.77%;
  width: 47.88%; max-width: none; margin-top: -2.83%;
  filter: drop-shadow(0 18px 28px rgba(4,22,28,.45));
}
.laptop { position: relative; z-index: 1; }
.lid {
  position: relative; z-index: 1; margin-top: 38.08%; aspect-ratio: 2.047; container-type: inline-size;
  border-radius: 3% 3% 0 0 / 6.2% 6.2% 0 0; /* the photo lid's rounded top corners */
  background: url("assets/laptop-lid.jpg") center / 100% 100% no-repeat;
  box-shadow: 0 -10px 40px rgba(4,22,28,.3);
}
/* lighting that sits ON TOP of the stickers so they share the lid's light */
.lid::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background:
    radial-gradient(ellipse 55% 45% at 28% 12%, rgba(255,255,255,.5), transparent 70%),
    linear-gradient(transparent, transparent);
  mix-blend-mode: soft-light;
}


/* BIG NAME behind the head: the hair just overlaps the bottom of the letters */
.big-name {
  position: absolute; z-index: 0; left: 50%; bottom: calc(100% - .2em); /* hair overlaps ~20% of the letter height */
  transform: translateX(-50%); margin: 0; white-space: nowrap; pointer-events: none;
  font: 400 min(calc(var(--S) * .3), 11cqw)/.9 "Climate Crisis", "Inter", sans-serif; /* "MEET SYED" is 8.18em wide */
  color: var(--cream);
}
.big-name .ch { display: inline-block; text-align: center; }
.big-name .ch.scrambling { color: var(--ink); }

/* GLASS BUBBLES around the memoji */
.bubbles { position: absolute; top: 0; left: -55%; right: -55%; aspect-ratio: 4.2; z-index: 2; pointer-events: none; }
.bubble {
  position: absolute; padding: .55em 1.1em; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 500; color: #eaf6ff;
  background:
    radial-gradient(120% 140% at 25% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 45%),
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(120,200,255,.04));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45), inset 0 -6px 14px rgba(76,201,240,.10), 0 8px 24px rgba(4,22,28,.35);
  backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%);
  animation: float 6s ease-in-out infinite; animation-delay: var(--fd);
  pointer-events: auto;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(4px, -7px); }
  66% { transform: translate(-3px, 4px); }
}

/* STICKERS: die-cut (no background, thin white edge hugging the artwork), worn by age */
.sticker {
  --wear: 0;
  /* invisible padding gives the (masked) hover shadow room so it isn't clipped into a box */
  --pad: 5.5cqw;
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--w) + var(--pad) * 2);
  margin: calc(var(--pad) * -1) 0 0 calc(var(--pad) * -1); padding: var(--pad); border: 0; background: none; cursor: pointer;
  pointer-events: none; /* only the artwork is clickable, so padding never steals clicks from a neighbour */
  transform: rotate(var(--r));
  filter: sepia(calc(var(--wear) * .45)) saturate(calc(1 - var(--wear) * .4)) contrast(calc(1 - var(--wear) * .12)) brightness(calc(1 + var(--wear) * .04));
  opacity: calc(1 - var(--wear) * .12);
  animation: slap .45s cubic-bezier(.2,1.4,.4,1) both; animation-delay: var(--d, 0s);
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), filter .25s ease;
  /* keep every sticker on its own GPU layer for good. iPhone Safari mis-draws elements that combine
     rotate + filter + mask once they drop back to normal painting (stickers jumped about after the
     entrance animation ended). */
  will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.sticker > img, .sticker > svg {
  display: block; width: 100%; height: auto;
  filter:
    drop-shadow(0.7cqw 0 0 #f7f5ef) drop-shadow(-0.7cqw 0 0 #f7f5ef)
    drop-shadow(0 0.7cqw 0 #f7f5ef) drop-shadow(0 -0.7cqw 0 #f7f5ef)
    drop-shadow(0 0.25cqw 0.35cqw rgba(0,0,0,.28));
}
.sticker { transform-origin: 22% 22%; }
/* hover = peel: the sticker lifts toward you from its bottom-right corner */
@media (hover: hover) and (pointer: fine) {
.sticker:hover, .sticker:focus-visible {
  transform: perspective(45cqw) rotate(calc(var(--r) * .3)) translateY(-1.6cqw) scale(1.1) rotate3d(1, -1, 0, 32deg);
  z-index: 5; outline: none;
}
.sticker:hover > img, .sticker:hover > svg, .sticker:focus-visible > img, .sticker:focus-visible > svg {
  filter:
    drop-shadow(0.7cqw 0 0 #f7f5ef) drop-shadow(-0.7cqw 0 0 #f7f5ef)
    drop-shadow(0 0.7cqw 0 #f7f5ef) drop-shadow(0 -0.7cqw 0 #f7f5ef)
    drop-shadow(0 2.2cqw 2cqw rgba(0,0,0,.45));
}
}
.sticker > img, .sticker > svg { transition: filter .25s ease; }
.sticker::after { content: ""; position: absolute; inset: var(--pad); pointer-events: auto; }
.sticker:focus-visible > * { outline: 2px dashed var(--accent); outline-offset: 1.2cqw; }
.sticker.is-open { visibility: hidden; } /* the panel "is" the sticker while open */
@keyframes slap {
  from { opacity: 0; transform: rotate(var(--r)) scale(1.7); }
  to   { opacity: calc(1 - var(--wear) * .12); transform: rotate(var(--r)) scale(1); }
}
.sticker.wear-1 { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.45' numOctaves='2' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.45' numOctaves='2' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-size: 140px, 260px 200px; mask-size: 140px, 260px 200px; }
.sticker.wear-2 { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.45' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.45' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 7.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-size: 140px, 260px 200px; mask-size: 140px, 260px 200px; }
.sticker.wear-3 { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 6.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.45' numOctaves='2' seed='10'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 6.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 6.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.45' numOctaves='2' seed='10'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -9 0 0 0 6.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-size: 140px, 260px 200px; mask-size: 140px, 260px 200px; }

/* mini "NOW" sticker on the current job (always fresh, never worn) */
.mini-now {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; pointer-events: none;
  transform: rotate(var(--r));
  display: inline-flex; align-items: center; gap: .7cqw;
  padding: .55cqw 1.3cqw; border-radius: 999px;
  font: 800 1.9cqw/1 "Inter", sans-serif; letter-spacing: .12em; color: #062013;
  background: #3ddc97;
  box-shadow: 0 0 0 .55cqw #f7f5ef, 0 .35cqw .7cqw .55cqw rgba(0,0,0,.25);
  animation: slap .45s cubic-bezier(.2,1.4,.4,1) both; animation-delay: .9s;
}
.mini-now i, .now-pill i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #062013; animation: blip 1.6s ease-in-out infinite; }
@keyframes blip { 50% { opacity: .25; } }

/* INFO PANEL (genie effect is driven from script.js) */
.info {
  margin: auto; width: min(540px, 92vw); max-height: 82vh; overflow: auto;
  padding: 28px 28px 24px; border-radius: 22px; color: var(--text); text-align: left;
  /* frosted glass: translucent tint + heavy blur of whatever is behind the panel */
  background:
    radial-gradient(140% 90% at 15% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04) 60%, rgba(120,200,255,.05)),
    rgba(16,22,30,.38);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(28px) saturate(170%) brightness(.9);
  -webkit-backdrop-filter: blur(28px) saturate(170%) brightness(.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.04),
    0 30px 80px rgba(0,0,0,.55);
}
/* light dimming only, so the scene shows through the glass */
.info::backdrop { background: rgba(0,0,0,.22); }
.x {
  float: right; margin: -10px -10px 0 8px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #dfe7ee; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
}
.x:hover { color: var(--text); border-color: var(--accent); }
.info-ms { height: 34px; width: auto; margin-bottom: 14px; }
.now-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #062013; background: var(--accent); }
.now-pill i { width: 8px; height: 8px; }
.info-logo { height: 38px; width: auto; max-width: 60%; margin-bottom: 14px; background: #fff; padding: 7px 11px; border-radius: 8px; box-sizing: content-box; }
.info h4 { font-size: 1.2rem; margin-bottom: 2px; }
.info-meta { color: var(--accent); font-size: .8rem; margin-bottom: 14px; font-family: "JetBrains Mono", monospace; }
.info ul { list-style: none; display: grid; gap: 8px; color: rgba(232,238,244,.82); line-height: 1.55; }
.info li { position: relative; padding-left: 18px; }
.info li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }
.info strong { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { font-family: "JetBrains Mono", monospace; font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: rgba(61,220,151,.12); color: #7ff0bd; border: 1px solid rgba(61,220,151,.3); }
.info-list { display: grid; gap: 10px; margin-top: 12px; }
.info-list > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.info-list .info-meta { margin: 0; }
.info-list .tags { margin-top: 8px; }
.info-list .tags span { font-size: .72rem; color: var(--accent); line-height: 1.4; }
.info-list span { color: rgba(232,238,244,.75); font-size: .92rem; line-height: 1.5; }

/* RESUME VIEWER */
.resume {
  margin: auto; width: min(900px, 94vw); height: 90vh; padding: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: 14px; background: var(--panel);
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.resume[open] { display: flex; flex-direction: column; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.resume::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.resume-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); font-weight: 600; }
.resume-bar div { display: flex; align-items: center; gap: 14px; }
.resume-bar a { font-size: .9rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.resume-bar .x { float: none; margin: 0; }
.resume-page { flex: 1; overflow: auto; background: #1a2027; padding: 20px; }
.resume-page img { display: block; width: 100%; max-width: 820px; margin: 0 auto; background: #fff; box-shadow: 0 4px 22px rgba(0,0,0,.5); border-radius: 4px; }

/* subtle paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: soft-light;
  animation: grain .6s steps(4) infinite; /* the grain shifts like film */
  inset: -60px;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-23px, 17px); }
  50% { transform: translate(31px, -9px); } 75% { transform: translate(-11px, -29px); } 100% { transform: translate(0, 0); }
}


@media (prefers-reduced-motion: reduce) {
  .sticker, .bubble, .resume[open], .mini-now, .mini-now i, .now-pill i, .big-name { animation: none; }
  body::after { animation: none; }
}
@media (min-width: 1001px) {
  html, body { height: 100%; overflow: hidden; }
  body { height: 100svh; }
}
@media (max-width: 1000px) {
  .stage { container-type: normal; }
  .stage { padding: 0 16px; }
  /* --nf = name size; the bubbles sit in a row above the name, the laptop runs off the bottom */
  .scene { --S: min(440px, calc(100vw - 40px)); --nf: min(calc(var(--S) * .3), calc((100vw - 28px) / 8.18));
           width: var(--S); margin-top: calc(var(--nf) * .7 + 110px); }
  .big-name { font-size: var(--nf); }
  /* phones: the whole laptop is shown, centred - a real laptop-shaped lid (1.55:1, the photo's lid
     continued a little with a seamless strip of its own bottom edge) plus a thin base */
  .stage { place-items: center; padding-bottom: 28px; }
  .lid { aspect-ratio: 1.55; border-radius: 3% / 4.6%; box-shadow: 0 18px 40px rgba(4,22,28,.35);
         background: url("assets/laptop-lid.jpg") top center / 100% auto no-repeat,
                     url("assets/laptop-lid-ext.jpg") top center / 100% auto repeat-y; }
  .laptop::after { content: ""; display: block; position: relative; z-index: 2; width: 108%; margin-left: -4%; height: 11px;
                   background: linear-gradient(#cfd3d6, #8f969c); border-radius: 0 0 14px 14px;
                   box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 22px rgba(4,22,28,.4); }
  .bubbles { position: absolute; top: auto; left: -12px; right: -12px; bottom: calc(100% + var(--nf) * .7 + 16px);
             aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .bubble { position: static; font-size: 13px; }
}
