/* SparoLink kit. Hex values live only in :root. Inter is SIL OFL 1.1 (fonts/OFL.txt). */
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2122, U+2212, U+FEFF; }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Bricolage Grotesque"; font-weight: 400 800; font-display: swap; src: url("fonts/bricolage-latin-wght.ad33cbc6d232.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2212, U+FEFF; }  /* headings on Join / Create */

:root {
  --page: #f3f6fb; --card: #fff; --soft: #eef2f9; --soft-2: #d9e3f3; --line: #e6ebf3;
  --navy: #0b1f4b; --blue: #1a66f0; --sky: #8fb8ff; --ice: #dce7fd;
  --cream: #fffdf8;  /* the visiting card's front */
  --ink: #14213d; --slate: #5a6a85; --coral: #c23f27; --coral-tint: #fbe3dc;
  --lilac: #6a54d6; --green: #1f6b45; --green-tint: #ddf1e6; --violet: #3e2f7a; --violet-tint: #ece7fb;
  --amber: #9a5c0e; --amber-tint: #fff2dc; --pink: #b0245a; --pink-tint: #fde6ee; --mint: #2fd38a;
  --av-0: linear-gradient(140deg, #6aa1ff, #1a5fe0); --av-1: linear-gradient(140deg, #ff9a7a, #dd5235); --av-2: linear-gradient(140deg, #a993ff, #6a4fd6);
  --av-3: linear-gradient(140deg, #5fd3a6, #1d9468); --av-4: linear-gradient(140deg, #ff8fb6, #cf3a78); --av-5: linear-gradient(140deg, #ffc46b, #d98410);
  --av-6: linear-gradient(140deg, #6fd6f0, #1c8ab3); --av-7: linear-gradient(140deg, #9aa6c6, #3d4c75);  /* avatars without a photo: one per person (tint) */
  --sp-0: #2f74f5; --sp-1: #1fb5a6; --sp-2: #7b5cf0; --sp-3: #f2734f; --sp-4: #f5a524; --sp-5: #ec5c9a;  /* Sparo avatar colours (profiles/sparos.py) */
  --sun: #ffc145; --teal: #1fa595;  /* the landing comets and the nest */
  --glass-1: #ffffffb8; --glass-2: #ffffffa6; --glass-3: #ffffffb8; --glass-edge: #ffffffe6;  /* the frosted dock: white glass */
  --arc-1: #00d4ff; --arc-2: #7a73ff; --arc-3: #ffb84d; --arc-4: #ff5996;  /* gradient arcs: cyan to violet, amber to pink */
  --linkedin: #0a66c2; --ig-1: #f9ce34; --ig-2: #ee2a7b; --ig-3: #6228d7;
  --nest-sky-1: #c7d6ff; --nest-sky-2: #d9e4ff; --nest-sky-3: #e8efff; --nest-sky-4: #f3f6ff; --nest-sky-5: #fbf8f2;  /* the Buzz Nest's sky, top to bottom */
  --nest-haze-1: #a99bff47; --nest-haze-2: #6fa8ff40; --nest-haze-3: #ff8fbf24; --nest-dusk: #6f7fa8; --nest-head: #f6f8ffc7;
  --nest-t0: #ff8a7a; --nest-t1: #6fa8ff; --nest-t2: #4fd1bf; --nest-t3: #a99bff; --nest-t4: #ffbf5a; --nest-t5: #ff8fbf;  /* balloon stripes (nest.js reads them) */
  --nest-spark-1: #7fd0ff; --nest-spark-2: #b9adff; --nest-spark-3: #9fd8ff; --nest-flare: #1f86ff;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;  /* the display face: Join / Create headings and the pass */
  --r1: 4px; --r2: 6px; --r3: 10px; --tabs: calc(76px + env(safe-area-inset-bottom));
  --lift: 0 1px 2px rgb(11 31 75 / 5%), 0 6px 18px -12px rgb(11 31 75 / 25%);
  --press: inset 0 1px 0 rgb(255 255 255 / 22%), 0 2px 6px -2px rgb(26 102 240 / 45%);
}
* { box-sizing: border-box; margin: 0; }
::selection { background: var(--ice); color: var(--navy); }  /* selected text: the soft ice, never a hard blue block */
html { scrollbar-gutter: stable; -webkit-tap-highlight-color: transparent; }  /* no blue flash on tap (phones);  the scrollbar's room is always kept, so short and long pages line up and nothing jumps sideways */
[hidden] { display: none !important; }
body { background: var(--page); color: var(--ink); font: 400 13px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
h1 { font-size: 18px; font-weight: 500; letter-spacing: -.2px; }
h2 { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
b { font-weight: 500; }
img { display: block; }
.sprite { display: none; }
svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.site-notice { padding: 9px 16px; background: var(--navy); color: var(--card); font-size: 12.5px; text-align: center; }  /* the console's announcement bar, on every page */
.app { max-width: 460px; margin: 0 auto; padding: 20px 20px calc(var(--tabs) + 24px); }
.muted { color: var(--slate); font-size: 12px; }
.grow { flex: 1; min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mascot { width: 52px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 18px; }
.card + .card { margin-top: 12px; }
.end { display: flex; justify-content: flex-end; margin-top: 16px; }
.toast { background: var(--navy); color: var(--card); border-radius: var(--r2); padding: 10px 14px; margin-bottom: 12px; font-size: 12px; animation: up .2s ease-out; }
.toast.error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--coral); font-weight: 500; }  /* never a red slab */
/* What the server has to say (Django messages), on every page: a small white note that drops in at the top, a soft
   mark for its kind (coral !, green tick, blue i). It leaves by itself after 5 s, or at once when its x is tapped (a
   checkbox, so it works without JS). It floats over the top bar, never over the page's own words, so nothing shifts. */
.notes { position: fixed; z-index: 600; top: 8px; left: 12px; right: 12px; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.note { position: relative; display: flex; align-items: flex-start; gap: 10px; max-width: 380px; margin: 0; padding: 10px 38px 10px 10px; pointer-events: auto; cursor: pointer; font-weight: 400; border-radius: var(--r3); background: var(--card); color: var(--ink);
  font-size: 13px; line-height: 1.45; text-align: left; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -14px rgb(11 31 75 / 35%);
  animation: note-in .35s cubic-bezier(.2, .8, .3, 1) backwards, note-out .4s ease-in 5s forwards; }
.note:has(:checked) { display: none; }
.note input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.note svg.i { position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; margin: 0; color: var(--slate); }
.note:hover svg.i, .note:has(:focus-visible) svg.i { color: var(--ink); }
.note:hover { animation-play-state: paused; }  /* reading it keeps it there */
.note::before { content: "i"; display: grid; flex: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ice); color: var(--blue); font-size: 12px; font-weight: 500; }
.note.error::before, .note.warning::before { content: "!"; background: var(--coral-tint); color: var(--coral); }
.note.success::before { content: "\2713"; background: var(--green-tint); color: var(--green); }
@keyframes note-in { from { opacity: 0; translate: 0 -12px; } }
@keyframes note-out { to { opacity: 0; translate: 0 -8px; visibility: hidden; } }

/* Controls: compact, solid, one soft shadow. Clay only on what you press. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border: 0; border-radius: var(--r1);
  background: var(--blue); color: var(--card); font: 500 12.5px Inter, system-ui, sans-serif; box-shadow: var(--press); cursor: pointer; white-space: nowrap; }
.btn.soft, .ib { background: var(--soft); color: var(--ink); box-shadow: none; }
.ib.bare { background: none; }  /* an icon on its own, no tile behind it */
.btn.danger { color: var(--coral); }
.btn.stop { background: var(--coral); color: var(--card); }  /* the one button that ends or leaves something, after its warning */
.btn:active, .ib:active { transform: translateY(1px); }
.wave:active .fd { scale: .92; }
.btn.full { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; }
.ib, .wave { width: 32px; height: 32px; border: 0; border-radius: var(--r1); display: grid; place-items: center; flex: none; cursor: pointer; }
/* Wave: the app's one wave gesture (kit/hand.html): a small violet line hand (18 px), tilted like a hello, no background
   and no words (its aria-label says it; Met's first visit adds a one-time tip).
   Still until tapped: then each finger dances in turn while short lines burst out (kit.burst). Once sent the hand calms to
   grey and settles, nothing more. Design study: mockups/met-wave/ (round 12, Line · Violet). */
.wave { position: relative; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 0; background: none; color: var(--arc-2); }
.wave.done { color: var(--slate); cursor: default; }
.fd { width: 18px; height: 18px; rotate: -16deg; overflow: visible; transition: rotate .4s cubic-bezier(.22, 1, .36, 1), color .4s; }
.fd path { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.wave:not(.done):hover .fd { rotate: -24deg; }
.wave.done .fd { rotate: -4deg; }
/* the finger dance: the palm never moves; each finger lifts and bobs from its own base, index to little finger and back
   (alternate), one after another, like fingers on piano keys */
.fd .f { transform-box: view-box; }
.f1 { transform-origin: 8px 13px; } .f2 { transform-origin: 12px 9px; } .f3 { transform-origin: 16px 10.5px; } .f4 { transform-origin: 20px 8px; }
.wave.go .f { animation: dance .5s ease-in-out 2 alternate; }  /* only on tap */
.wave.go .f2 { animation-delay: .12s; } .wave.go .f3 { animation-delay: .24s; } .wave.go .f4 { animation-delay: .36s; }  /* after the shorthand, or it resets them */
/* The first-visit guide (tour.js): the page dims except the control being shown, and a small card with Sparo says what
   it does, a pointer towards it; dots for where you are, Skip and Next. One soft rise, still with reduced motion. */
html.touring { overflow: hidden; }  /* the guide holds the page still, so it stays on its control */
.tour-back { position: fixed; z-index: 700; inset: 0; touch-action: none; }
.tour-hole { position: fixed; z-index: 701; border-radius: var(--r3); box-shadow: 0 0 0 200vmax rgb(20 33 61 / 45%); pointer-events: none; }
.tour { position: fixed; z-index: 702; display: flex; gap: 10px; width: min(300px, calc(100vw - 24px)); padding: 12px 12px 10px; border-radius: var(--r3);
  background: var(--card); box-shadow: var(--lift); animation: up .25s ease-out; }
.tour::before { content: ""; position: absolute; left: var(--x); width: 12px; height: 12px; background: var(--card); translate: -50% 0; rotate: 45deg; }
.tour[data-side=below]::before { top: -6px; }
.tour[data-side=above]::before { bottom: -6px; }
.tour img { flex: none; width: 34px; height: 34px; }
.tour > div { flex: 1; min-width: 0; }
.tour p { margin: 2px 0 10px; color: var(--ink); font-size: 13.5px; line-height: 1.45; }
.tour-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tour-foot { display: flex; align-items: center; gap: 12px; }
.tour-dots { display: flex; gap: 4px; margin-right: auto; }
.tour-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft-2); transition: width .2s; }
.tour-dots i.on { width: 14px; border-radius: 3px; background: var(--blue); }
.tour .link { color: var(--slate); font-size: 12.5px; }
.tour .btn { height: 30px; padding: 0 14px; border-radius: 15px; }
@media (prefers-reduced-motion: reduce) { .tour, .tour-hole { animation: none; transition: none; } }
/* The loading ribbon (fade.js): a thin blue bar that runs along the top while the next page is on its way, easing
   towards the end without ever claiming to be done; a page that arrives never shows it. Still with reduced motion. */
.leaving body::before { content: ""; position: fixed; z-index: 1000; top: 0; left: 0; height: 2.5px; width: 92%; border-radius: 0 2px 2px 0;
  background: var(--blue); box-shadow: 0 0 8px rgb(26 102 240 / 40%); transform-origin: left; animation: ribbon 6s cubic-bezier(.08, .7, .2, 1) both; }
@keyframes ribbon { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .leaving body::before { animation: none; transform: scaleX(.6); } }
/* An avatar whose picture is still on its way (kit.js avatar): a soft light sweeps across its colour, then the
   picture fades in. Only pictures the page adds itself wait like this; still with reduced motion. */
.av:has(> img.wait) { position: relative; }  /* the sweep lies over the avatar's own colour, never instead of it */
.av:has(> img.wait)::after { content: ""; position: absolute; inset: 0; animation: shimmer 1.2s linear infinite;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 45%) 50%, transparent 70%) 0 0 / 250% 100%; }
.av > img { transition: opacity .25s; }
.av > img.wait { opacity: 0; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .av:has(> img.wait)::after { animation: none; } }
/* Previous / Page n of m / Next under a long list: links on the Rooms tab, buttons from kit.pages (Met, People here) */
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--slate); font-size: 12.5px; }
.pager :is(a, button) { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--r2); background: var(--card); color: var(--ink); font: 500 12.5px Inter, system-ui, sans-serif; cursor: pointer; }
.pager :is(a, button):hover { border-color: var(--soft-2); }
.pager button[disabled] { visibility: hidden; }  /* the first or last page: the other button stays where it was */
.pager svg.i { width: 14px; height: 14px; }
.pager .back { rotate: 90deg; } .pager .next { rotate: -90deg; }
/* The photo viewer (kit.view): the picture large on a dark, blurred page; a profile photo as a big circle, a cover in
   its wide shape; it grows in from slightly smaller, and the x sits in the corner. */
.viewer { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 16px; border: 0; background: none; cursor: zoom-out; }
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: rgb(8 14 30 / 88%); backdrop-filter: blur(6px); }
.viewer img { display: block; max-width: 100%; max-height: 82dvh; object-fit: cover; box-shadow: 0 20px 60px -20px rgb(0 0 0 / 60%);
  animation: viewer-in .28s cubic-bezier(.22, 1, .36, 1); }
.viewer[data-kind=photo] img { width: min(82vw, 440px); aspect-ratio: 1; border-radius: 50%; }
.viewer[data-kind=cover] img { width: min(96vw, 1000px); aspect-ratio: 3 / 1; border-radius: var(--r3); }
.viewer-x { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / 14%); color: var(--card); cursor: pointer; }
.viewer-x svg.i { width: 18px; height: 18px; margin: 0; }
@keyframes viewer-in { from { scale: .88; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .viewer img { animation: none; } }
[data-view]:has(img:not([hidden]):not(.connect-logo)) { cursor: zoom-in; }
.ray { position: fixed; z-index: 900; width: 2px; height: 6px; border-radius: 2px; pointer-events: none; }
.ray.c0 { background: var(--arc-1); } .ray.c1 { background: var(--arc-2); } .ray.c2 { background: var(--arc-3); } .ray.c3 { background: var(--arc-4); }
@keyframes dance { 0% { translate: 0 0; rotate: 0deg; } 45% { translate: 0 -2.4px; rotate: -7deg; } 100% { translate: 0 0; rotate: 0deg; } }
.switch { appearance: none; width: 32px; height: 20px; border: 0; border-radius: 10px; background: var(--soft-2); position: relative; flex: none; cursor: pointer; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--card); transition: transform .15s; box-shadow: 0 1px 2px rgb(11 31 75 / 25%); }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"]::after { transform: translateX(12px); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px;
  mask: linear-gradient(90deg, rgb(0 0 0) calc(100% - 36px), transparent); }  /* the right edge fades: there is more to scroll */
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border: 0; border-radius: var(--r2); background: var(--card); color: var(--ink); font: 400 11.5px Inter, system-ui, sans-serif;
  white-space: nowrap; cursor: pointer; box-shadow: var(--lift); }
.chip.on { background: var(--ice); color: var(--navy); box-shadow: inset 0 0 0 1px var(--sky); }

/* Forms: Django field groups, pill choices, prefixed links, switch checkbox */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
label, .label { font-size: 12px; font-weight: 500; color: var(--slate); margin-bottom: 6px; }
.field label { margin: 0; }
input, textarea { width: 100%; height: 36px; border: 1px solid transparent; border-radius: var(--r2); background: var(--soft); padding: 0 12px; color: var(--ink);
  font: 400 13px Inter, system-ui, sans-serif; }
textarea { height: auto; padding: 10px 14px; resize: vertical; }
/* iPhone and iPad zoom the page into any field under 16 px and stay zoomed: there (and only there: the test is an
   iOS-only property) every field people type into is 16 px, whatever its own rule says. Pinch-zoom stays on. */
@supports (-webkit-touch-callout: none) {
  input:not([type=checkbox], [type=radio], [type=range], [type=file], [type=hidden]), textarea, select { font-size: 16px !important; }
}
input::placeholder, textarea::placeholder { color: var(--slate); opacity: .7; }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 40px var(--card) inset; transition: background-color 600000s; }  /* keep our look */
input:focus, textarea:focus { outline: none; border-color: var(--slate); background: var(--card); }  /* a crisp grey edge, never a blue glow */
.btn:focus-visible, .ib:focus-visible, .chip:focus-visible, .pills label:has(:focus-visible) { outline: 2px solid var(--soft-2); outline-offset: 2px; }  /* keyboard only: a quiet grey ring */
.pills > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { display: inline-flex; align-items: center; height: 30px; margin: 0; padding: 0 12px; border-radius: var(--r2); background: var(--soft);
  color: var(--ink); font-size: 12.5px; font-weight: 400; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.pills label:has(:checked) { background: var(--ice); color: var(--navy); box-shadow: inset 0 0 0 1px var(--sky); }
h2.next { margin-top: 20px; }
.affix { display: flex; align-items: center; gap: 2px; margin: 0 0 10px; padding-left: 12px; border-radius: var(--r2); background: var(--soft); color: var(--slate); font-weight: 400; }
.affix svg.i { margin-right: 6px; }
.affix span { font-size: 12.5px; white-space: nowrap; }
.affix input { padding-left: 1px; border: 0; background: none; }
.affix:focus-within { box-shadow: 0 0 0 1px var(--slate); background: var(--card); }
.hint { margin-top: 4px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--coral); font-size: 12px; }
.inline { display: flex; gap: 8px; }
.join label { display: block; }

/* Lists */
.list { list-style: none; padding: 0; scroll-margin-top: 12px; }  /* a new page (kit.pages) lands just above its first row */
/* The person row, "Soft rows" (mockups/people-list/, F): air instead of lines between rows, a soft ice wash on whoever
   waits on your wave (kit.line sets data-kind); where things stand is said in words and colour, no dots */
.row { display: flex; align-items: center; gap: 12px; margin: 0 -8px; padding: 11px 8px; border-radius: var(--r3); }
.row + .row { margin-top: 2px; }
.row[data-kind=got] { background: color-mix(in srgb, var(--ice) 45%, var(--card)); }
.who { flex: 1; min-width: 0; background: none; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.who b, .who span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { font-size: 12px; color: var(--slate); }
/* Inside it (kit/person.html: Met, People here, a past room): the name shrinks first, then the bare links right after it */
.row .av { width: 44px; height: 44px; }
.row .who b { font-size: 14.5px; }
.row .who { cursor: pointer; }
.nm { display: flex; align-items: center; gap: 4px; min-width: 0; }
.nb { min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lnk { display: flex; flex: none; }
.lnk .ib { width: 24px; height: 24px; background: none; }
.lnk .i { width: 14px; height: 14px; }
.lnk [data-f=linkedin] { color: var(--linkedin); }
.lnk .ig { color: var(--ig-2); }
.act { display: flex; flex: none; }
.who .what { display: inline; font-weight: 500; }  /* where things stand leads the line under the name (kit.line) */
.what.got { color: var(--blue); }
.what.match { color: var(--green); }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none;
  background: var(--av-0); color: var(--card); font-weight: 500; font-size: 13px; letter-spacing: .3px; text-shadow: 0 1px 2px rgb(11 31 75 / 20%); }
.av[data-t="1"] { background: var(--av-1); } .av[data-t="2"] { background: var(--av-2); } .av[data-t="3"] { background: var(--av-3); }
.av[data-t="4"] { background: var(--av-4); } .av[data-t="5"] { background: var(--av-5); } .av[data-t="6"] { background: var(--av-6); }
.av[data-t="7"] { background: var(--av-7); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.lg { width: 52px; height: 52px; font-size: 17px; }

/* The tab pages (Rooms, Met, Me, Settings) share one top: the title centred in the display face, a back arrow on its left
   and one control on its right, if any. List pages then have a bare search (a lens and words, no box) and one row with
   compact underline tabs on the left and a small segmented filter on the right. */
.page-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 32px; margin: 0 2px 10px; }
.page-head > * { grid-row: 1; }
.page-head > :first-child:not(h1, h2) { grid-column: 1; justify-self: start; }
.page-head > :last-child:not(h1, h2) { grid-column: 3; justify-self: end; }
.page-head :is(h1, h2) { grid-column: 2; margin: 0; font: 700 21px/1.2 var(--display); letter-spacing: -.5px; text-align: center; }
.find { position: relative; display: block; margin-bottom: 6px; }
.find svg.i { position: absolute; left: 2px; top: 50%; width: 15px; height: 15px; translate: 0 -50%; color: var(--slate); pointer-events: none; }
.find input, .find input:focus { width: 100%; height: 36px; padding: 0 4px 0 25px; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--ink); font-size: 14px; outline: none; }  /* bare: just the lens and the words */
.find-open { width: 100%; height: 36px; padding: 0 4px 0 25px; border: 0; background: none; color: var(--slate); font: 400 14px Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }  /* looks like the search; opens it */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.toolbar .utabs { margin: 0; border-bottom: 0; }
.toolbar .utabs button, .toolbar .utabs a { flex: none; height: 38px; padding: 0 10px; font-size: 13.5px; }
.toolbar .utabs [aria-selected=true]::after, .toolbar .utabs [aria-current=page]::after { left: 8px; right: 8px; }
.whose { display: flex; flex: none; padding: 2px; border-radius: var(--r2); background: var(--soft); }
.whose a, .whose button { display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px; border: 0; border-radius: var(--r1); background: none; color: var(--slate);
  font: 500 11.5px Inter, system-ui, sans-serif; cursor: pointer; }
.whose a:hover, .whose button:hover { color: var(--ink); }
.whose [aria-current], .whose [aria-pressed=true] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.whose a:focus-visible, .whose button:focus-visible { outline: 2px solid var(--soft-2); outline-offset: 1px; }
.whose small { color: var(--slate); font-size: 11px; font-weight: 400; }
.whose[hidden] { display: none; }
@media (max-width: 360px) { .whose small { display: none; } .toolbar .utabs button, .toolbar .utabs a { padding: 0 8px; } }  /* small phones: the row still fits */

/* Underline tabs (Met, Rooms): words across the page, the chosen one in ink over a blue underline, a quiet count beside
   each (a coral number where someone waits on you, 10+ past ten). No backgrounds. */
.utabs { display: flex; margin: 0 -4px; border-bottom: 1px solid var(--line); }
.utabs button, .utabs a { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0;
  border: 0; background: none; color: var(--slate); font: 500 14px Inter, system-ui, sans-serif; cursor: pointer; }
.utabs [aria-selected=true], .utabs [aria-current=page] { color: var(--ink); }
.utabs [aria-selected=true]::after, .utabs [aria-current=page]::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--blue); }
.utabs button:focus-visible, .utabs a:focus-visible { outline: 2px solid rgb(20 33 61 / 25%); outline-offset: -2px; border-radius: var(--r1); }
.utabs small { color: var(--slate); font-size: 12px; font-weight: 400; }
.utabs .badge { color: var(--coral); font-size: 12px; font-weight: 500; }  /* plain coral number, no box; 10+ past ten */
.tab-empty { display: grid; justify-items: center; gap: 8px; padding: 48px 24px; text-align: center; }
.tab-empty p { max-width: 260px; color: var(--slate); font-size: 13px; }

@keyframes pop { from { scale: .6; } }  /* scale only: a paused animation never hides anything */
.empty { text-align: center; color: var(--slate); padding: 8px 0; }
.vis { display: flex; align-items: center; gap: 6px; color: var(--slate); font-size: 11.5px; }
.empty .sparo { width: 96px; margin: 0 auto 6px; }

/* Floating notes (toasts) over a page */
.float { position: fixed; z-index: 500; left: 12px; right: 12px; max-width: 436px; margin: 0 auto; }
/* a short status note over the tab bar (Me's saves, Met, a room: "Riya waved at you") */
.saved { bottom: calc(var(--tabs) + 14px); width: max-content; margin: 0 auto; padding: 8px 16px; border-radius: var(--r3); text-align: center; box-shadow: var(--lift); }

/* Sheets (native <dialog>) */
.sheet { width: 100%; max-width: 460px; margin: auto auto 0; border: 0; border-radius: var(--r3) var(--r3) 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  background: var(--card); color: var(--ink); box-shadow: 0 -12px 32px -12px rgb(11 31 75 / 30%);
  transition: translate .42s cubic-bezier(.22, 1, .36, 1), scale .42s cubic-bezier(.22, 1, .36, 1), opacity .3s, display .42s allow-discrete, overlay .42s allow-discrete; }
/* open: rises from the bottom edge and settles; close: sinks back the same way; the backdrop fades with it */
.sheet:not([open]) { translate: 0 100%; opacity: 0; }
@starting-style { .sheet[open] { translate: 0 100%; opacity: 0; } }
.sheet:focus { outline: none; }
/* A sheet scrolls on its own: reaching its top or bottom never drags the sheet or the page behind (no rubber band),
   and the page behind stays still while any sheet is open. */
.sheet { overscroll-behavior: contain; }
html:has(dialog[open]) { overflow: hidden; }
.sheet::backdrop { background: rgb(11 31 75 / 35%); transition: background .3s, display .42s allow-discrete, overlay .42s allow-discrete; }
.sheet:not([open])::backdrop { background: transparent; }
@starting-style { .sheet[open]::backdrop { background: transparent; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.sheet.center { text-align: center; }
@media (min-width: 560px) { .sheet { margin: auto; border-radius: var(--r3); box-shadow: 0 24px 48px -16px rgb(11 31 75 / 35%); } }  /* wide screens: a centred card, never on the edge */
@media (min-width: 560px) { .sheet:not([open]) { translate: 0 24px; scale: .97; } @starting-style { .sheet[open] { translate: 0 24px; scale: .97; } } }  /* the card lifts in */
/* The profile sheet: a banner, the avatar over it, who they are, their own words, who they want to meet, then connect */
.person { padding-top: 0; }
/* its handle: a tiny bar at the top centre; tap it or drag it down to close (kit.js) */
.grab { position: absolute; z-index: 2; top: 0; left: 50%; width: 64px; height: 22px; padding: 0; border: 0; background: none; translate: -50% 0;
  cursor: grab; touch-action: none; }
.grab::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; border-radius: 2px; translate: -50% 0;
  background: rgb(11 31 75 / 22%); transition: background .15s; }
.grab:hover::before, .grab:focus-visible::before { background: rgb(11 31 75 / 40%); }
.person.dragging { transition: none; }
.p-banner { height: 96px; margin: 0 -20px; border-radius: var(--r3) var(--r3) 0 0; overflow: hidden;
  background: url("img/world.f9ecfa327fc1.svg") center / cover, linear-gradient(var(--ice), var(--soft)); }
.p-banner img { width: 100%; height: 100%; object-fit: cover; }
.p-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }  /* the photo, and @username in the top-right corner under the cover */
.p-av { flex: none; width: 72px; height: 72px; margin-top: -36px; font-size: 22px; box-shadow: 0 0 0 4px var(--card); }
.p-name { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.3px; line-height: 1.25; overflow-wrap: anywhere; }
.p-handle { margin: 0; padding-top: 10px; min-width: 0; color: var(--slate); font-size: 14px; text-align: right; overflow-wrap: anywhere; }
.p-handle:empty { display: none; }
.p-meta { margin: 2px 0 0; color: var(--slate); font-size: 12.5px; }
.p-meta [data-f="seen"]:not(:empty)::before { content: " · "; }
.p-about { margin: 12px 0 0; color: var(--ink); font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
.p-about:not(.open) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.p-about.open { overflow: hidden; }  /* while it eases open or shut */
.p-more { padding: 2px 0; border: 0; background: none; color: var(--blue); font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; }
.p-more:hover { color: var(--navy); }
.p-k { margin: 18px 0 8px; color: var(--slate); font-size: 11.5px; font-weight: 500; }
.p-wants { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.p-wants span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); font-size: 12px; }  /* plain hairline pills, no highlight */
.p-contact { display: grid; margin-top: 16px; }  /* their email, only when they show it */
.p-contact a { display: flex; align-items: center; gap: 10px; height: 36px; color: var(--ink); font-size: 13px; text-decoration: none; }  /* no lines: space only */
.p-contact a:hover span { text-decoration: underline; }
.p-contact svg.i { flex: none; color: var(--slate); }
.p-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-contact:has(a:not([hidden])) + .p-actions { margin-top: 8px; }
.p-actions { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.p-actions .btn { height: 40px; border-radius: var(--r2); box-shadow: none; outline: none; transition: filter .15s, background .15s; }
.p-actions .btn:first-child { flex: 1; }
.p-remove { display: block; margin: 14px auto 0; padding: 6px 10px; border: 0; border-radius: var(--r1); background: none; color: var(--slate); font: 500 12.5px Inter, system-ui, sans-serif; cursor: pointer; }  /* the host, in their room */
.p-remove:hover, .p-remove.sure { color: var(--coral); }
.p-remove.sure { background: var(--coral-tint); }
.p-in { background: var(--linkedin); }  /* LinkedIn in its own blue */
.p-in:hover { filter: brightness(.92); }
.p-ig { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.p-ig svg.i { color: var(--ig-2); }
.p-ig:hover { background: var(--page); }
.p-actions .btn:focus-visible { outline: 2px solid var(--soft-2); outline-offset: 2px; }  /* keyboard only, a quiet grey ring */
.prof { display: flex; align-items: center; gap: 12px; }
.prof h2 { margin: 0; }
.looking { margin: 14px 0; font-size: 12px; color: var(--slate); }
.looking [data-f="seen"]:not(:empty)::before { content: " · "; }
.actions { display: flex; gap: 8px; align-items: center; }
.center .actions { margin-top: 16px; }
.art { width: 132px; margin: 0 auto 8px; }
.center .muted { margin: 4px 0 16px; }
.qr { width: 196px; margin: 0 auto; border-radius: var(--r2); }
.code { font-size: 22px; font-weight: 500; letter-spacing: 6px; margin-top: 8px; }

/* Message pages (ended room, 404, 500, empty Met) */
.hero { text-align: center; padding: 32px 0 8px; }
.hero .sparo { width: 150px; margin: 0 auto 14px; }
.hero.small .sparo { width: 104px; }
.hero .actions { justify-content: center; }
.hero h1 + p, .hero h2 + p { margin-top: 6px; }
.hero h2 { font-size: 18px; font-weight: 500; letter-spacing: -.3px; }
/* 404: a thin bar fills while the page counts down, then the meta refresh takes them home */
.hero .homeward { margin: 18px auto 0; font-size: 12px; }
.homeward i { display: block; width: 120px; height: 2px; margin: 8px auto 0; border-radius: 1px; background: var(--line); overflow: hidden; }
.homeward i::after { content: ""; display: block; height: 100%; background: var(--blue); transform-origin: left; animation: homeward 8s linear both; }
@keyframes homeward { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero p { color: var(--slate); font-size: 14px; max-width: 320px; margin: 6px auto 22px; }
.google { padding: 0 20px; background: var(--card); box-shadow: var(--lift); }
.google svg { width: 16px; height: 16px; }


/* Bottom tabs: a small frosted ticket floating over the page (chosen as "6 · Aurora frost" in mockups/tabbar/ticket.html):
   white frosted glass the page blurs through, and Join / Create on its own stub, a violet + square cut off by two notches
   and a solid hairline, like the Join / Create passes. Icons only; the current tab turns violet with a small dot under it.
   The names stay for screen readers (.lbl). --tabs is its height plus its gap, so pages and toasts keep clear of it. */
.tabs { --n: 54px; position: fixed; z-index: 600; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); translate: -50% 0; display: flex; align-items: center;
  width: min(calc(100% - 64px), 270px); height: 50px; padding-right: 6px; border-radius: 14px;
  background: linear-gradient(100deg, var(--glass-1), var(--glass-2) 45%, var(--glass-3)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);  /* the one frosted bar left: a small blur, no saturate */
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 1px var(--line), 0 14px 28px -16px rgb(11 31 75 / 45%);
  --cuts: radial-gradient(circle 6px at var(--n) 0, #0000 98%, #000), radial-gradient(circle 6px at var(--n) 100%, #0000 98%, #000), radial-gradient(circle 6px at 100% 50%, #0000 98%, #000);  /* the tear notches by the stub, and one cut on the right edge */
  -webkit-mask: var(--cuts); -webkit-mask-composite: source-in;
  mask: var(--cuts); mask-composite: intersect; }
.tabs::before { content: ""; position: absolute; left: var(--n); top: 8px; bottom: 8px; width: 1px; background: var(--line); }  /* the tear line, solid */
.tabs a { position: relative; flex: 1; display: grid; place-items: center; height: 40px; color: var(--slate); transition: color .25s; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--arc-2); }
.tabs a.on::after { content: ""; position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--arc-2); }
.tabs a:first-child { flex: none; width: var(--n); }  /* the stub: Join / Create, always a violet + */
.tabs a:first-child svg.i { box-sizing: content-box; padding: 7px; border-radius: 10px; background: var(--arc-2); color: var(--card); transition: box-shadow .25s; }
.tabs a:first-child.on::after { display: none; }
.tabs a:first-child.on svg.i { box-shadow: 0 0 0 3px var(--glass-edge), 0 0 0 5px var(--arc-2); }
.tabs a:focus-visible { outline: 2px solid rgb(20 33 61 / 25%); outline-offset: -2px; }
.tabs svg.i { width: 18px; height: 18px; flex: none; }
.tabs .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* read out, not shown */
@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@supports (animation-timeline: view()) { .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0px entry 160px; } }

/* Match: confetti bursts out from behind Sparo when both of you wave */
.burst { position: absolute; left: 50%; top: 88px; }
.burst i { position: absolute; width: 7px; height: 11px; border-radius: 2px; background: var(--coral); opacity: 0;
  animation: confetti 1.1s cubic-bezier(.2, .7, .4, 1) .15s; }
.burst i:nth-child(even) { background: var(--blue); }
.burst i:nth-child(3n) { background: var(--sky); }
.burst i:nth-child(2) { rotate: 45deg; } .burst i:nth-child(3) { rotate: 90deg; } .burst i:nth-child(4) { rotate: 135deg; }
.burst i:nth-child(5) { rotate: 180deg; } .burst i:nth-child(6) { rotate: 225deg; } .burst i:nth-child(7) { rotate: 270deg; }
.burst i:nth-child(8) { rotate: 315deg; }
@keyframes confetti { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-96px) rotate(240deg); } }

/* Pages cross-fade into each other; the tab bar stays put */
@view-transition { navigation: auto; }
.tabs { view-transition-name: tabs; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}

/* The cropper (kit/crop.html + crop.js; Me, and room covers): drag to move, slide or scroll to zoom; the round frame shows
   how your photo will sit */
.crop h3 { font-size: 16px; font-weight: 500; }
.crop .sub { margin: 2px 0 12px; color: var(--slate); font-size: 12.5px; }
.crop-stage { position: relative; overflow: hidden; width: 100%; border-radius: var(--r2); background: var(--soft); touch-action: none; user-select: none; cursor: grab; }
.crop-stage:active { cursor: grabbing; }
.crop-stage.round { width: min(100%, 280px); margin: 0 auto; }
.crop-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-stage.round::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgb(255 255 255 / 55%), inset 0 0 0 2px var(--card); pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; margin: 14px 4px 0; color: var(--slate); }
.crop-zoom input, .crop-zoom input:focus { height: 20px; padding: 0; border: 0; background: none; accent-color: var(--blue); }
.crop-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* The Buzz Nest's mark: Sparo peeking out of a woven nest (nest/mark.html). On the room's nest button and the board. */
.mark { position: relative; display: inline-block; width: var(--m, 56px); aspect-ratio: 120 / 94; flex: none; }
.mark > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark .head { position: absolute; left: 50%; top: 6%; width: 50%; aspect-ratio: 552 / 526; translate: -50% 0; rotate: -6deg; animation: mark-peep 4.5s ease-in-out infinite; }
.mark .head img { position: absolute; }
.mark .head > img:first-child { inset: 0; width: 100%; height: 100%; }
.mark .head .l { left: 31.16%; top: 55.89%; width: 21.38%; height: 13.69%; transform-origin: 50% 75%; animation: mark-blink 5s ease-in-out 1s infinite; }
.mark .head .r { left: 74.64%; top: 46.77%; width: 18.3%; height: 11.41%; transform-origin: 50% 75%; animation: mark-blink 5s ease-in-out 1.2s infinite; }
@keyframes mark-peep { 0%, 70%, 100% { translate: -50% 0; } 78%, 90% { translate: -50% -6%; } }
@keyframes mark-blink { 0%, 68%, 100% { scale: 1 1; } 75%, 86% { scale: 1.05 .62; } 80%, 92% { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .mark .head, .mark .head img { animation: none; } }

/* The visiting card (profiles/vcard.html; chosen as the monogram card with the ink back in mockups/visiting-card/): one
   markup at any size, everything in container units of the card's width. A tap flips it (card.js, transform only). */
.vc-flip { position: relative; aspect-ratio: 1.75; perspective: 1200px; cursor: pointer; text-align: left; }
.vc-flip:focus-visible { outline: 1px solid var(--slate); outline-offset: 4px; border-radius: var(--r3); }
.vc { position: absolute; inset: 0; container-type: size; border-radius: var(--r3); overflow: hidden; backface-visibility: hidden;
  transition: transform .6s cubic-bezier(.3, .7, .2, 1); box-shadow: 0 0 0 1px var(--line), 0 22px 44px -28px rgb(11 31 75 / 45%); }
.vc-back { transform: rotateY(180deg); }
.vc-flip.flipped .vc-front { transform: rotateY(-180deg); }
.vc-flip.flipped .vc-back { transform: rotateY(0deg); }
.vc-front { background: var(--cream); color: var(--ink); }
.vc-ini { position: absolute; right: -2.4cqw; top: -9cqw; font: 800 54cqw/1 var(--display); letter-spacing: -3.3cqw; white-space: nowrap;
  color: transparent; -webkit-text-stroke: max(1px, .36cqw) var(--soft-2); pointer-events: none; }
.vc-who { position: absolute; left: 6.2cqw; top: 6.6cqw; right: 28cqw; display: grid; gap: .8cqw; }
.vc-name { font: 800 6.7cqw/1.04 var(--display); letter-spacing: -.12cqw; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }  /* two lines at most, so nothing reaches the links */
.vc-role { overflow: hidden; font-weight: 500; font-size: 3.35cqw; text-overflow: ellipsis; white-space: nowrap; }
.vc-about { margin-top: .9cqw; max-width: 60cqw; color: var(--slate); font-size: 3cqw; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-links { position: absolute; left: 6.2cqw; bottom: 4.8cqw; right: 26cqw; display: flex; gap: 3.8cqw; color: var(--slate); font-size: 2.85cqw; }
.vc-links > span { display: inline-flex; align-items: center; gap: 1.4cqw; min-width: 0; }
.vc-links > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-links > [data-vc-show] { flex-shrink: 0; max-width: 46%; }  /* Instagram keeps its handle whole up to here; LinkedIn gives way */
.vc-links > [hidden] { display: none; }
.vc-links img { flex: none; width: 3.1cqw; height: 3.1cqw; }
.vc-mark { position: absolute; display: inline-flex; align-items: center; gap: 1.2cqw; font: 700 2.6cqw var(--display); }
.vc-mark img { width: 3.6cqw; height: 3.6cqw; }
.vc-mark small { margin-left: .5cqw; font: 500 2.4cqw Inter, system-ui, sans-serif; opacity: .7; }
.vc-front .vc-mark { right: 5.2cqw; bottom: 4.5cqw; }
.vc-back { display: grid; place-items: center; background: var(--ink); color: var(--card); }
.vc-back .vc-mark { left: 4.8cqw; top: 4.3cqw; }
.vc-scan { display: grid; justify-items: center; gap: 3.3cqw; }
.vc-qr { width: 29cqw; height: auto; padding: 1.4cqw; border-radius: var(--r3); background: var(--card); }
.vc-scan b { margin-right: -.3em; font: 700 3.1cqw var(--display); letter-spacing: .3em; text-transform: uppercase; }  /* the space after the last letter taken back: centred */
/* "My card" (profiles/card_dialog.html): the card held up in the middle of the screen. The whole screen behind it turns
   to frosted glass; the card, its title and its buttons float on it with no panel of their own. */
.vc-dialog { width: min(calc(100% - 24px), 420px); margin: auto; padding: 20px 18px 14px; border: 0; text-align: center; color: var(--ink);
  background: none; box-shadow: none; overflow: visible; }
.vc-dialog::backdrop { background: rgb(243 246 251 / 58%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.vc-dialog:focus { outline: none; }
.vc-dialog h2 { margin: 0; font: 800 20px var(--display); }
.vc-sub { margin: 2px 0 14px; color: var(--slate); font-size: 12.5px; }
.vc-sides { margin: 12px 0 10px; color: var(--slate); font-size: 12px; }
.vc-sides .on { color: var(--ink); font-weight: 600; }
.vc-acts { display: grid; grid-template-columns: repeat(4, 1fr); }
.vc-acts button { display: grid; justify-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; color: var(--ink); font: 500 12px Inter, system-ui, sans-serif; cursor: pointer; }
.vc-acts button:hover { color: var(--blue); }
.vc-acts svg.i, .vc-acts img { width: 19px; height: 19px; }
.vc-note { min-height: 1.4em; margin: 6px 0 0; color: var(--slate); font-size: 11.5px; }
/* the card page (profiles/card_page.html), for anyone with the link or the QR */
.vc-page { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; padding: 8px 0 24px; text-align: center; }
.vc-brand { justify-self: center; margin-bottom: 6px; } .vc-brand img { width: 120px; height: auto; }
.vc-page .vc-sub { margin: -2px 0 6px; }
.vc-connect { background: var(--linkedin); } .vc-connect img { width: 16px; height: 16px; filter: brightness(10); }
.vc-follow img { width: 16px; height: 16px; }
.vc-wants { padding: 12px 14px; border-radius: var(--r2); background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.vc-wants b { display: block; margin-bottom: 6px; color: var(--slate); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.vc-wants div { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-wants span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
.vc-own { display: grid; justify-items: center; gap: 4px; margin-top: 10px; padding: 16px; border-radius: var(--r2); background: var(--ice); font-size: 13px; }
.vc-own b { font: 700 15px var(--display); }
.vc-own .btn { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .vc { transition: none; } }
