/* Soulpreneurs shell styles. v0.3.0 (Sep 24, 2026).
   Layout, components and pages. Every colour is a token from theme.css, which loads first.
   Headings in Cormorant Garamond, body in DM Sans (var(--serif), var(--sans)). */

:root {
  --page-max: 1080px;
  --x: 24px;
  --band-h: 60px;
  --tabs-h: 60px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 700px) { :root { --x: 16px; } }
@media (min-width: 900px) { :root { --x: 40px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}
body.has-tabs { padding-bottom: calc(var(--tabs-h) + var(--sab)); }
@media (min-width: 701px) { body.has-tabs { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(30px, 3.6vw, 40px); }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--teal-ink); }
.sub { color: var(--ink-soft); margin-top: 6px; max-width: 56ch; }
.faint { color: var(--ink-faint); }
.small { font-size: 15px; }

button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ================= Nav band =================
   Two rows. The band: wordmark, SUITE pill, the doors (Community, SoulCast Studios, SoulSoftware),
   the theme button, the avatar. The sub-nav under it: the community switcher, or the SoulCast pages. */
.band {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding-top: var(--sat);
  position: sticky;
  top: 0;
  z-index: 50;
}
.band-in {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px var(--x);
  min-height: var(--band-h);
  display: flex;
  align-items: center;
  gap: 10px;
}
.band .brand {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.band .suite {
  display: inline-block;
  background: var(--pill);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.band .doors { display: flex; gap: 2px; align-items: center; margin-left: 8px; }
.band .doors a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}
.band .doors a:hover { color: var(--ink); background: var(--sage-soft); }
.band .doors a.here { background: var(--sage-soft); color: var(--teal-ink); }
.band .sp { flex: 1 1 auto; }
.tog {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  display: inline-grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  flex: none;
  padding: 0;
}
.tog:hover { border-color: var(--teal); color: var(--ink); }
.band .who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  max-width: 220px;
  flex: none;
}
.band .who:hover { background: var(--sage-soft); }
.band .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) {
  .band .doors { display: none; }
}
@media (max-width: 700px) {
  .band .brand { font-size: 24px; }
  .band .who > span:not(.avatar) { display: none; }
  .band .who { padding: 4px; }
}

.subnav {
  background: var(--sage-soft);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: calc(var(--sat) + var(--band-h) + 1px);
  z-index: 49;
}
.subnav-in {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 6px var(--x);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--teal-ink);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 15px;
}
.subnav a:hover { background: var(--card); }
.subnav a.here { background: var(--card); box-shadow: 0 1px 3px var(--shadow); }
.subnav a small { font-size: 12px; color: var(--ink-faint); }
.subnav a.new { border: 1px dashed var(--teal); color: var(--teal-ink); }
.subnav .grow { flex: 1 1 auto; }
.subnav a.rec { background: var(--card); color: var(--teal-ink); font-weight: 600; border: 1.5px solid var(--sage); padding-top: 6.5px; padding-bottom: 6.5px; }
.subnav a.rec:hover, .subnav a.rec.here { border-color: var(--teal); background: var(--card); }
/* v0.8.0: each area keeps the colour of its Home tile as a dot; Settings and Integrations sit quietly at the right end. */
.subnav a .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-right: 2px; }
.subnav a .dot.sage { background: var(--leaf); }
.subnav a .dot.lav { background: var(--gold); }
.subnav a .dot.dew { background: var(--dew-dot); }
.subnav a .dot.clay { background: var(--clay-dot); }
.subnav a.quiet { font-weight: 400; color: var(--ink-soft); padding-left: 10px; padding-right: 10px; }
.subnav a.quiet svg { width: 16px; height: 16px; flex: none; }
/* v0.11.4: Getting Started, the last item, a lavender ring with the leaf dot. */
.subnav a.gs { border: 1px solid var(--gold); }
.subnav a .dot.leaf { background: var(--leaf); }

/* v0.9.4: the note platform admins see on a community page while the communities are hidden. */
.hidden-note {
  max-width: 1100px; margin: 10px auto 0; padding: 6px 12px; width: calc(100% - 32px);
  font-size: 13px; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 10px; text-align: center;
}
/* The SoulCast menu holds ten things (v0.11.4: Getting Started at the end): it runs as wide as the SoulCast pages,
   and on any screen wider than a phone the two quiet links keep their icon and drop their word (the word stays as
   the title and the spoken label), so the last item is not cut off. */
.subnav.sc .subnav-in { max-width: 1120px; gap: 2px; }
.subnav.sc a { padding-left: 12px; padding-right: 12px; }
.subnav.sc a.quiet { padding-left: 6px; padding-right: 6px; }
@media (min-width: 701px) { .subnav.sc a.quiet .lbl { display: none; } }
@media (max-width: 700px) {
  .subnav a { padding: 7px 11px; font-size: 14px; }
  .subnav a small { display: none; }
  .subnav a.rec { padding-top: 5.5px; padding-bottom: 5.5px; }
}

/* v0.12.0: the calm SoulCast nav. SoulCast (home) and the five places on the left, Create, Upload and Record on the
   right. On a narrow screen the places scroll on their own row and the actions sit on the row under them. The
   drop-downs (Create, and the menu under the name) are not inside anything that scrolls, so they are never cut off. */
.subnav.sc .subnav-in { flex-wrap: wrap; overflow: visible; gap: 6px 4px; }
.subnav.sc .sc-home { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); padding: 4px 12px 4px 4px; }
.subnav.sc .sc-home.here { background: none; box-shadow: none; }
.sc-places { display: flex; gap: 2px; align-items: center; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc-places::-webkit-scrollbar { display: none; }
.sc-acts { display: flex; gap: 6px; align-items: center; margin-left: auto; flex: none; }
.subnav .sc-act, .sc-act {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; line-height: 1.3;
}
.subnav .sc-act:hover, .subnav .sc-act.here { background: var(--card); border-color: var(--teal); }
.subnav .sc-act.rec { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.subnav .sc-act.rec:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.sc-act .rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5584F; flex: none; }
.sc-dd { position: relative; display: inline-flex; }
.nv-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 230px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px var(--shadow);
  display: grid; gap: 1px;
}
.nv-menu[hidden] { display: none; }
.nv-menu.right { left: auto; right: 0; }
.nv-menu a, .nv-menu button {
  display: grid; gap: 1px; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: normal;
}
.nv-menu a:hover, .nv-menu button:hover, .nv-menu a:focus-visible, .nv-menu button:focus-visible { background: var(--sage-soft); }
.nv-menu button[hidden] { display: none; }
.nv-menu b { font-weight: 600; }
.nv-menu small { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.nv-menu small.em { padding: 4px 10px 6px; overflow-wrap: anywhere; }
.nv-menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 4px; }
.band button.who { border: 0; background: none; font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; }
.band .who .caret { font-size: 11px; color: var(--ink-soft); }
@media (max-width: 1023px) {   /* v0.12.15: the phone or tablet layout up to 1023px (was 820px) */
  .subnav.sc .sc-places { flex-basis: calc(100% - 110px); }
  .sc-acts { margin-left: 0; width: 100%; }
  .sc-acts .sc-dd, .sc-acts > a { flex: 1 1 0; }
  .sc-acts .sc-act { width: 100%; justify-content: center; }
}
@media (max-width: 700px) { .band .who .caret { display: none; } }
/* v0.12.15: from 1024px up the SoulCast bar is one line: Home, the seven places, then Create, Upload and Record, a
   little tighter and more compact. Record stays the solid green button. */
@media (min-width: 1024px) {
  .subnav.sc .subnav-in { flex-wrap: nowrap; gap: 0 6px; }
  .subnav.sc .sc-home { font-size: 19px; padding: 4px 6px 4px 0; }
  .subnav.sc .sc-places { gap: 0; flex: 1 1 auto; overflow: visible; }
  .subnav.sc .sc-places a { padding: 6px 8px; font-size: 14px; gap: 5px; }
  .subnav.sc .sc-places a .dot { width: 7px; height: 7px; margin-right: 0; }
  .subnav.sc .sc-acts { gap: 4px; margin-left: 4px; }
  .subnav.sc .sc-act { padding: 5px 11px; font-size: 13px; gap: 5px; }
  .subnav.sc .sc-act .rec-dot { width: 7px; height: 7px; }
}

/* ================= Bottom tab bar (phones) ================= */
.tabs {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: var(--sab);
  z-index: 50;
}
.tabs-in { display: flex; }
.tabs a {
  flex: 1 1 0;
  min-width: 0;
  min-height: var(--tabs-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}
.tabs a svg { width: 24px; height: 24px; }
.tabs a.here { color: var(--teal-ink); }
@media (max-width: 700px) { .tabs { display: block; } }

/* ================= Avatar ================= */
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--teal-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.big { width: 96px; height: 96px; font-size: 32px; }

/* ================= Page and cards ================= */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px var(--x) 60px;
  width: 100%;
}
.page.narrow { max-width: 640px; }
.top { margin-bottom: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
}
.card h2 { margin-bottom: 4px; }
.card .sub { margin-bottom: 16px; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 18px 0; }

/* ================= Fields ================= */
.field { display: block; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-size: 16px;
}
input:focus { border-color: var(--teal); }
input.code {
  font-size: 28px;
  letter-spacing: .3em;
  text-align: center;
  font-family: var(--sans);
  padding: 14px;
}
.hint { font-size: 14px; color: var(--ink-faint); margin-top: 6px; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--teal-ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.btn:hover { background: var(--sage-soft); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.btn.primary:hover { background: var(--teal-deep); }
.btn.quiet { background: transparent; border-color: transparent; }
.btn.quiet:hover { background: var(--sage-soft); }
.btn.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.btn.wide { width: 100%; }
.btn.sm { min-height: 38px; padding: 6px 14px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }

/* ================= Notes, tags, toast ================= */
.note {
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}
.note.gold { background: var(--gold-soft); border-color: var(--gold); }
.note.plain { background: transparent; border-color: var(--line); }
.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--sage);
  color: var(--teal-ink);
}
.tag.gold { background: var(--gold-soft); color: var(--gold-ink); }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabs-h) + var(--sab) + 18px);
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 600;
  box-shadow: 0 12px 40px var(--shadow);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  max-width: min(420px, calc(100% - 32px));
  text-align: center;
}
@media (min-width: 701px) { .toast { bottom: 28px; } }
.toast.show { opacity: 1; }
.hidden { display: none !important; }

/* ================= Lists ================= */
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.list li:first-child { border-top: 0; }
.list .grow { flex: 1 1 auto; min-width: 0; word-break: break-all; }

/* ================= Login ================= */
.login {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px + var(--sat)) var(--x) calc(24px + var(--sab));
}
.login .card { width: 100%; max-width: 440px; padding: 28px; margin: 0; }
.login .wordmark {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--teal-ink);
  margin-bottom: 4px;
}
.login .sub { margin-bottom: 22px; }
.foot { margin-top: 26px; font-size: 13px; color: var(--ink-faint); text-align: center; }
/* 0.16.163: the quiet Privacy link beside the version (page footers, the phone Me sheet, the webinar pages) */
.foot a, .sp-me-ver a, .lp-foot a { color: inherit; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ===================================================================================
   Phase 1 (v0.2.0): the switcher, the block tree, feeds, reactions, sheets, kinds.
   =================================================================================== */

/* ---- Two-column body: the tree and the main pane ---- */
.body { display: grid; grid-template-columns: 250px 1fr; gap: 0; max-width: var(--page-max); margin: 0 auto; width: 100%; min-height: 60vh; }
.side { border-right: 1px solid var(--line); padding: 22px 14px 40px var(--x); }
.main { padding: 28px var(--x) 60px 28px; min-width: 0; }
@media (max-width: 860px) {
  .body { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px var(--x); }
  .main { padding: 24px var(--x) 60px; }
  .body.on-channel .side { display: none; }
  .body.on-tree .main { display: none; }
}
@media (min-width: 861px) { .back { display: none; } }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.side h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin: 18px 8px 6px; }
.side h4:first-child { margin-top: 0; }
.ch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  border: 1px solid transparent;
  min-height: 42px;
}
.ch:hover { background: var(--card); }
.ch.here { background: var(--card); border-color: var(--line); }
.ch .k { color: var(--ink-faint); width: 18px; text-align: center; font-size: 14px; flex: none; }
.ch .nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch.sub { padding-left: 30px; }
.ch .badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; flex: none; }
.badge.lock { background: var(--gold-soft); color: var(--gold-ink); }
.badge.hidden-block { background: var(--line-soft); color: var(--ink-soft); }
.badge.live { background: var(--rose-soft); color: var(--rose); }
.side .add {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 1px dashed var(--leaf);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--teal);
  background: transparent;
  font-weight: 600;
  text-align: left;
  font-size: 15px;
}
.side .add:hover { background: var(--card); }

/* ---- Page head inside the main pane ---- */
.head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.head h1 { font-size: clamp(26px, 3vw, 34px); }
.head .sp { flex: 1 1 auto; }
.crumb { color: var(--ink-faint); font-size: 14px; margin-bottom: 4px; }

/* ---- Composer and posts ---- */
.compose {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin: 16px 0;
}
.compose textarea {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  resize: none;
  padding: 8px 4px;
  min-height: 44px;
  font-size: 16px;
  color: var(--ink);
  outline: 0;
  line-height: 1.4;
}
.compose .acts { display: flex; gap: 6px; align-items: center; flex: none; }
.compose { flex-wrap: wrap; }
.compose-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.compose-main textarea { width: 100%; }
.compose.drop { border-color: var(--teal); background: var(--sage-soft); }
.btn.round { width: 38px; min-height: 38px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }

/* ---- The chip strip: files chosen for a post ---- */
.att-strip { flex: 1 1 100%; display: flex; gap: 8px; flex-wrap: wrap; padding: 2px 2px 10px; }
.att-chip { position: relative; width: 108px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 6px; font-size: 12px; line-height: 1.3; cursor: default; }
.att-chip .thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; background: var(--line-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.att-chip .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-chip .glyph { font-size: 26px; color: var(--ink-faint); }
.att-chip .name { margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); }
.att-chip .msg { color: var(--ink-faint); min-height: 15px; }
.att-chip.failed { cursor: pointer; border-color: var(--gold); }
.att-chip.failed .msg, .att-chip.refused .msg { color: var(--gold-ink); white-space: normal; }
.att-chip.refused .thumb { opacity: .4; }
.att-chip .x { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; min-height: 24px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.att-bar { height: 3px; background: var(--line-soft); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.att-bar i { display: block; height: 100%; width: 0; background: var(--leaf); transition: width .2s; }
.att-bar.moving i { width: 40%; animation: att-slide 1.1s linear infinite; }
.att-chip.done .att-bar i { width: 100% !important; }
.att-chip.refused .att-bar, .att-chip.waiting .att-bar, .att-chip.checking .att-bar { visibility: hidden; }
@keyframes att-slide { from { margin-left: -40%; } to { margin-left: 100%; } }
@media (max-width: 480px) { .att-chip { width: 92px; } }

/* ---- Attachments on a card ---- */
.post img, .post video { max-width: 100%; }
.att-images { margin-top: 8px; }
.att-images .att-img { padding: 0; border: 0; cursor: zoom-in; font: inherit; color: inherit; }
.att-images.one .att-img { display: block; width: 100%; background: var(--paper); border-radius: 12px; overflow: hidden; }
.att-images.one img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.att-images.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 12px; overflow: hidden; }
.att-images.grid .att-img { position: relative; aspect-ratio: 1; background: var(--line-soft); overflow: hidden; }
.att-images.grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-img.resting img { display: none; }
.att-img .rest { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 120px; padding: 16px; font-size: 15px; color: var(--teal-ink); background: var(--paper); text-align: center; }
.att-images.grid .att-img.resting .rest { position: absolute; inset: 0; min-height: 0; }
.att-img .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--overlay); color: var(--ink); font-weight: 700; font-size: 22px; isolation: isolate; }
.att-img .more::before { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--card); z-index: -1; }
.att-video { margin-top: 8px; border-radius: 12px; overflow: hidden; background: var(--media-bg); }
.att-video video { display: block; width: 100%; max-height: 70vh; background: var(--media-bg); }
.att-wait { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 140px; padding: 16px; color: var(--teal); font-size: 15px; background-size: cover; background-position: center; text-align: center; }
.att-wait.failed { color: var(--teal-deep); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--teal); border-right-color: transparent; animation: att-spin .9s linear infinite; flex: none; }
@keyframes att-spin { to { transform: rotate(360deg); } }
.att-docs { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.att-doc { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: var(--paper); }
.att-doc .glyph { font-size: 22px; color: var(--teal-ink); flex: none; }
.att-doc .info { flex: 1 1 auto; min-width: 0; }
.att-doc b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 15px; }
.att-doc small { color: var(--ink-faint); font-size: 13px; }
.att-doc .btn { flex: none; }
@media (max-width: 480px) { .att-doc { flex-wrap: wrap; } .att-doc .info { flex-basis: calc(100% - 34px); } }
.att-audio { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); min-height: 46px; }
.att-audio .play, .voice-preview .play { width: 34px; height: 34px; min-height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--teal); color: var(--btn-ink); padding: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.att-audio .line, .voice-preview .line { flex: 1 1 60px; height: 3px; background: var(--line-soft); border-radius: 2px; overflow: hidden; cursor: pointer; }
.att-audio .line i, .voice-preview .line i { display: block; height: 100%; width: 0; background: var(--leaf); }
.att-audio .time, .voice-preview .time { font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; flex: none; }
.att-audio.processing, .att-audio.failed { color: var(--ink-faint); font-size: 14px; padding-left: 12px; }
.att-audio audio, .voice-preview audio { display: none; }

/* ---- Voice replies: the mic, the recording line, the preview ---- */
.reply-box .mic { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.reply-box .mic svg rect { fill: currentColor; }
.reply-box .mic.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.voice-rec { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--gold-ink); }
.voice-rec .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); animation: sc-pulse 1s infinite; flex: none; }
.voice-preview { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 8px 6px 6px; border: 1px solid var(--sage); border-radius: 24px; background: var(--sage-soft); flex-wrap: wrap; }
.voice-hint { margin-top: 6px; font-size: 14px; color: var(--ink-faint); }
.lightbox { position: fixed; inset: 0; z-index: 120; background: var(--media-bg); display: flex; align-items: center; justify-content: center; padding: calc(var(--sat) + 8px) 8px calc(var(--sab) + 60px); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-x, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 1; }
.lightbox .lb-x { top: calc(var(--sat) + 12px); right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-bar { position: absolute; left: 0; right: 0; bottom: calc(var(--sab) + 12px); display: flex; gap: 10px; align-items: center; justify-content: center; padding: 0 16px; }
.lightbox .lb-name { color: var(--ink-faint); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
body.no-scroll { overflow: hidden; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-bottom: 12px; }
.post .who { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.post .who b { font-weight: 600; display: block; line-height: 1.2; }
.post .who small { display: block; color: var(--ink-faint); font-size: 13px; }
.post .who .sp { flex: 1 1 auto; }
.post .body { display: block; min-height: 0; white-space: pre-wrap; word-wrap: break-word; }
.post .gif { display: block; max-width: 320px; width: 100%; border-radius: 12px; margin-top: 8px; }
.post .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--ink-faint); font-size: 14px; }
.post .meta .sp { flex: 1 1 auto; }
.post .from { font-size: 13px; color: var(--ink-faint); }
.post .from a { color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.post.reply { padding: 12px 14px; margin: 8px 0 0 0; border-radius: 14px; background: var(--card); }
.replies { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line-soft); }
.reply-box { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.reply-box textarea { flex: 1 1 auto; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; resize: none; background: var(--card); color: var(--ink); }

/* ---- Reactions: the heart is an SVG, the rest are emoji ---- */
.react { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.react button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
}
.react button:hover { border-color: var(--sage); }
.react button.on { background: var(--sage-soft); border-color: var(--sage); color: var(--teal-ink); font-weight: 700; }
.react button svg { width: 18px; height: 18px; }
.react button .n { font-size: 13px; font-weight: 700; }
.react button:not(.on) .n:empty { display: none; }
.heart-svg path { fill: none; stroke: var(--sage); stroke-width: 2; }
.on .heart-svg path { fill: var(--leaf); stroke: var(--leaf); }

/* ---- GIF picker ---- */
.gif-pick { margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.gif-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin-top: 8px; max-height: 260px; overflow: auto; }
.gif-grid button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--line-soft); aspect-ratio: 1; }
.gif-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-picked { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.gif-picked img { height: 72px; border-radius: 8px; }

/* ---- Cards in grids: communities, people, folders, kinds ---- */
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card.tight { padding: 16px 18px; margin: 0; }
.card h3 + .meta, .card .meta { color: var(--ink-faint); font-size: 14px; margin-top: 6px; }
.cardh { display: flex; align-items: center; gap: 10px; }
.cardh .sp { flex: 1 1 auto; }
.person { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.person b { display: block; font-weight: 600; }
.person .tl { color: var(--ink-soft); font-size: 15px; }
.person .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.person .links a { font-size: 14px; }
.pill { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.pill.soulp { background: var(--gold-soft); color: var(--gold-ink); border-color: transparent; }
.pill.sf { background: var(--sage); color: var(--teal-ink); border-color: transparent; }
.kind { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: left; min-height: 120px; cursor: pointer; font: inherit; color: var(--ink); }
.kind .ico { font-size: 22px; margin-bottom: 6px; color: var(--teal-ink); }
.kind h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0 0 4px; }
.kind p { color: var(--ink-soft); font-size: 14px; }
/* v0.12.18: the picked card has its own class. It shared .pick with the bulk-select checkboxes
   (.pick is 20px wide), which shrank the picked card to a narrow strip. Picked is a ring and a
   soft fill only, never a size change. */
.kind.is-picked { border-color: var(--teal); box-shadow: 0 0 0 2px var(--sage); background: var(--sage-soft); }
.kind[disabled] { opacity: .55; cursor: default; border-style: dashed; }
.kind.soon { opacity: .75; }
.kind .soon-tag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--line-soft); color: var(--ink-soft); }
.block-desc { color: var(--ink-soft); font-size: 15px; margin: 2px 0 10px; }

/* ---- The ••• on each block in the left list (owner only) ---- */
.ch-row { position: relative; display: flex; align-items: center; gap: 2px; }
.ch-row > .ch { flex: 1 1 auto; min-width: 0; }
.ch-more { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-faint); font-size: 16px; letter-spacing: 1px; line-height: 1; }
.ch-more:hover, .ch-more[aria-expanded="true"] { background: var(--card); color: var(--ink); }
.ch-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 230px; max-width: calc(100vw - 32px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 12px 28px var(--shadow); }
.ch-pop[hidden] { display: none; }
.ch-pop button { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 11px 12px; border-radius: 9px; color: var(--ink); font-size: 16px; line-height: 1.3; min-height: 44px; }
.ch-pop button:hover, .ch-pop button:focus-visible { background: var(--sage-soft); }
.ch-pop button[disabled] { color: var(--ink-faint); cursor: default; background: transparent; }
.ch-pop hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 4px; }
.ch-pop .ask { padding: 8px 10px; font-size: 15px; color: var(--ink); }
.ch-pop .ask .row { margin-top: 10px; }
.ch-pop .ask .row button { width: auto; display: inline-flex; align-items: center; min-height: 40px; }
/* v0.12.19: on a desktop with a mouse the ••• stays out of the way so names have their full width. It shows on
   hover, on keyboard focus, on the open block and while its menu is open. Touch screens always show it. */
@media (min-width: 861px) and (hover: hover) {
  .ch-row > .ch-more { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; opacity: 0; pointer-events: none; }
  .ch-row:hover > .ch-more, .ch-row:focus-within > .ch-more, .ch-row > .ch.here ~ .ch-more, .ch-row > .ch-more[aria-expanded="true"] { opacity: 1; pointer-events: auto; }
  .ch-row:hover > .ch, .ch-row:focus-within > .ch, .ch-row > .ch.here, .ch-row.open > .ch { padding-right: 40px; }
  /* while the ••• shows it takes the badge's place, so the name keeps its room (the header still says Hidden or Paid) */
  .ch-row:hover > .ch .badge, .ch-row:focus-within > .ch .badge, .ch-row > .ch.here .badge, .ch-row.open > .ch .badge { display: none; }
}

/* v0.12.19: a long block name wraps to a second line in the list instead of being cut off ("Upc..."). */
.ch .nm { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; overflow-wrap: anywhere; }

/* v0.12.19: the line icon before a block name (list, header, New block cards). Colour comes from the text. */
.kind-ico { display: block; width: 100%; height: 100%; }
.ch .k { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.with-ico { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.with-ico .k { flex: none; display: inline-flex; width: 22px; height: 22px; color: var(--ink-faint); }
.kind .ico { width: 26px; height: 26px; }
.kind { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }   /* contents start at the top of every card */
.clip2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; }
.folder .files { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.folder .files a, .folder .files button.link { font-size: 15px; text-align: left; }
.folder .files .f { display: flex; gap: 8px; align-items: center; }
.folder .files .f .sp { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dashed { border-style: dashed; display: flex; align-items: center; justify-content: center; color: var(--teal); min-height: 90px; text-align: center; }

/* ---- Toggles ---- */
.toggle { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); cursor: pointer; }
.toggle:first-child { border-top: 0; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .sw-ui { width: 42px; height: 24px; border-radius: 999px; background: var(--switch-off); position: relative; flex: none; margin-top: 2px; transition: background .15s; }
.toggle .sw-ui:after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); transition: left .15s; }
.toggle input:checked + .sw-ui { background: var(--leaf); }
.toggle input:checked + .sw-ui:after { left: 21px; }
.toggle input:focus-visible + .sw-ui { outline: 2px solid var(--teal); outline-offset: 2px; }
.toggle b { display: block; font-weight: 600; }
.toggle span.d { color: var(--ink-soft); font-size: 15px; }
.toggle.off { opacity: .6; cursor: default; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.seg label { padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg input:checked + label { background: var(--teal); color: var(--btn-ink); }

/* ---- Sheet: the block sheet and other inline forms ---- */
.sheet-wrap { position: fixed; inset: 0; background: var(--overlay); z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 701px) { .sheet-wrap { align-items: center; padding: 24px; } }
.sheet { background: var(--paper); width: 100%; max-width: 760px; max-height: calc(100dvh - var(--sat)); overflow: auto; border-radius: 22px 22px 0 0; padding: 22px var(--x) calc(24px + var(--sab)); }
@media (min-width: 701px) { .sheet { border-radius: 22px; padding: 28px; } }
.sheet h2 { margin-bottom: 4px; }
select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; }
input[type=url], input[type=search] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; }
textarea.full { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; min-height: 90px; }
.address { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.address span { padding: 12px 0 12px 14px; color: var(--ink-faint); font-size: 16px; white-space: nowrap; }
.address input { border: 0; border-radius: 0; flex: 1 1 auto; min-width: 0; padding-left: 2px; }
.copybox { display: flex; gap: 8px; align-items: center; }
.copybox input { flex: 1 1 auto; min-width: 0; font-size: 16px; }
.porch-video { width: 100%; border-radius: 18px; background: var(--media-bg); margin-bottom: 18px; max-height: 60vh; }
.empty { color: var(--ink-faint); padding: 18px 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }

/* ===================================================================================
   v0.3.0: SoulCast Studios inside Soulpreneurs. Every class starts with sc- so nothing here
   touches the community pages. Shapes and wording from the approved mockup (v3).
   =================================================================================== */
.sc-page { max-width: 1120px; margin: 0 auto; padding: 32px var(--x) 90px; width: 100%; }
.sc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-bottom: 22px; }
.sc-head h1 { font-size: clamp(36px, 4.2vw, 48px); line-height: 1.05; font-weight: 500; }
.sc-lead { color: var(--ink-soft); margin-top: 6px; max-width: 60ch; }
.sc-page h2 { font-weight: 500; font-size: 28px; margin: 34px 0 12px; }
.sc-page .btn { border-width: 1.5px; }
.sc-btn-solid { background: var(--teal) !important; border-color: var(--teal) !important; color: var(--btn-ink) !important; }
.sc-btn-solid:hover { background: var(--teal-deep) !important; border-color: var(--teal-deep) !important; }
.sc-btn-line { background: var(--card); color: var(--teal-ink); border-color: var(--sage); }
.sc-btn-line:hover { border-color: var(--teal); background: var(--card); }
.sc-btn-soft { background: var(--gold-soft); color: var(--gold-ink); border-color: var(--gold-soft); }
.sc-btn-soft:hover { border-color: var(--teal); background: var(--gold-soft); }

.sc-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.sc-search { flex: 1 1 240px; min-width: 200px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 16px; }
.sc-search span { color: var(--ink-faint); }
.sc-search input[type=search] { border: 0; outline: 0; background: transparent; flex: 1 1 auto; color: var(--ink); padding: 8px 0; font-size: 16px; min-width: 0; }
.sc-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sc-chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 13px; font-size: 14px; color: var(--ink-soft); min-height: 36px; }
.sc-chip.on { background: var(--ink-soft); color: var(--paper); border-color: var(--ink-soft); }
.sc-chip-select { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 16px; color: var(--ink-soft); width: auto; max-width: 220px; min-height: 36px; }
.sc-views { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.sc-views button { border: 0; background: transparent; padding: 8px 14px; color: var(--ink-soft); font-size: 14px; min-height: 36px; }
.sc-views button.on { background: var(--ink-soft); color: var(--paper); }

.sc-tag { display: inline-block; font-size: 13px; padding: 3px 9px; border-radius: 999px; background: var(--sage-soft); color: var(--teal-ink); font-weight: 500; line-height: 1.35; }
.sc-tag.live { background: var(--pill); color: var(--ink-soft); font-family: var(--serif); letter-spacing: .08em; padding: 2px 10px; }
.sc-tag.wait { background: var(--pill); color: var(--ink-soft); }
.sc-tag.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-faint); }

/* Studios */
.sc-studios { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.sc-studio { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sc-studio.pinned { border-color: var(--teal); box-shadow: 0 0 0 3px var(--sage-soft); }
.sc-studio .nm { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; word-break: break-word; }
.sc-studio .addr { color: var(--ink-faint); font-size: 14px; margin-top: 2px; word-break: break-all; }
.sc-studio .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-soft); }
.sc-studio .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; align-items: center; }
.sc-studio .acts .sc-enter { flex: 1 1 auto; }
.sc-studio .inline { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.sc-studio .inline .row { gap: 8px; }
.sc-newcard { border: 1.5px dashed var(--sage); background: transparent; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; color: var(--teal-ink); min-height: 220px; text-decoration: none; }
.sc-newcard .nm { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.sc-newcard p { color: var(--ink-soft); font-size: 15px; max-width: 30ch; }
.sc-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.sc-strip .sc-studio { min-width: 270px; max-width: 300px; padding: 18px; flex: none; }
.sc-strip .sc-studio .nm { font-size: 21px; }

/* Menus: a button and a pop list under it. Closed by a tap anywhere else or Escape. */
.sc-menu { position: relative; display: inline-block; }
.sc-menu .pop { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; min-width: 240px; box-shadow: 0 12px 28px var(--shadow); z-index: 40; }
.sc-menu.left .pop { right: auto; left: 0; }
.sc-menu.open .pop { display: block; }
.sc-menu .pop button, .sc-menu .pop a { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: 16px; text-decoration: none; line-height: 1.3; }
.sc-menu .pop button:hover, .sc-menu .pop a:hover { background: var(--sage-soft); }
.sc-menu .pop button[disabled] { color: var(--ink-faint); cursor: default; background: transparent; }
.sc-menu .pop hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 4px; }
.sc-menu .pop small { display: block; color: var(--ink-faint); font-size: 13px; margin-top: 1px; }

/* Library rows */
.sc-rows { display: flex; flex-direction: column; gap: 12px; }
.sc-row { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; }
.sc-row.pending { border-color: var(--sage); }
.sc-row.nudge { border-color: var(--gold); }
.sc-tag.nudge { background: var(--gold-soft); color: var(--gold-ink); }
/* v0.8.0: select several in the Recording Library's Needs a nudge list */
.sc-row.picking { grid-template-columns: auto minmax(0, 1fr) auto; }
.sc-row .pick { display: flex; align-items: center; justify-content: center; align-self: stretch; padding: 0 2px; cursor: pointer; }
.sc-row .pick input { width: 22px; height: 22px; accent-color: var(--teal); }
.sc-bulk { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: var(--gold-soft); color: var(--ink); border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; font-size: 15px; }
.sc-bulk .grow { flex: 1 1 auto; }
.sc-bulk[hidden] { display: none; }
/* v0.10.1 (Release 4.2): the count, the dates beside the studio, the Undo in the toast, a row in Trash */
.sc-bulk .cnt { font-weight: 600; }
.sc-dates { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--ink-soft); font-size: 14px; }
.sc-dates label { display: inline-flex; gap: 6px; align-items: center; }
.sc-dates input[type=date] { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 16px; min-height: 36px; width: auto; }
.toast.act { pointer-events: auto; display: inline-flex; gap: 12px; align-items: center; }
.toast .undo { border: 0; background: transparent; color: var(--teal-ink); font: inherit; font-weight: 700; text-decoration: underline; padding: 4px 2px; cursor: pointer; min-height: 32px; }
.sc-row.trashed .t { color: var(--ink-soft); }
.sc-chip b { font-weight: 600; }
.sc-chip.quiet { border-style: dashed; }
.sc-row.pending .t { color: var(--ink-soft); }
.sc-row .lbl { font-size: 12px; color: var(--ink-faint); letter-spacing: .02em; margin-bottom: 2px; }
.sc-row .t { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; word-break: break-word; }
.sc-row .t.rn { cursor: text; position: relative; display: inline-block; padding: 0 70px 0 0; font-family: var(--serif); font-weight: 600; font-size: 25px; border: 0; border-bottom: 1px dashed transparent; background: transparent; color: inherit; text-align: left; }
.sc-row .t.rn:hover { border-bottom-color: var(--sage); }
.sc-row .t.rn:hover::after { content: 'Rename'; position: absolute; right: 0; top: 9px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--teal-ink); }
.sc-row .rename { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sc-row .rename input[type=text] { font-family: var(--serif); font-size: 22px; font-weight: 600; max-width: 480px; flex: 1 1 240px; }
.sc-row .w { color: var(--ink-soft); font-size: 15px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sc-row .w .st { color: var(--ink-faint); }
.sc-row .who { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.sc-row .who span { background: var(--sage-soft); border-radius: 999px; padding: 3px 10px; font-size: 14px; color: var(--teal-ink); word-break: break-all; }
.sc-row .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sc-row .status { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.sc-row .status .right { margin-left: auto; }
/* v0.7.0: sharing. The Shared by chip is the one lavender mark on a row; Co-hosted studio is the plain tag. */
.sc-tag.via { background: var(--gold-soft); color: var(--gold-ink); }
.sc-row .share { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 14px; display: grid; gap: 10px; }
.sc-row .share .hd b { display: block; font-weight: 600; }
.sc-row .share .hd span { color: var(--ink-soft); font-size: 15px; }
.sc-row .share .chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sc-row .share .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--sage-soft); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 14px; color: var(--teal-ink); }
.sc-row .share .chip.ask { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 3px 6px 3px 12px; }
.sc-row .share .chip .pill { font-size: 12px; padding: 1px 8px; }
.sc-row .share .chip > button:not(.btn) { border: 0; background: transparent; color: inherit; font-size: 18px; line-height: 1; padding: 0 4px; min-height: 24px; cursor: pointer; }
.sc-row .share .addline { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-row .share .addline input { flex: 1 1 240px; max-width: 420px; }
.sc-row .share .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sc-row .share .note { color: var(--ink-soft); font-size: 14px; }
.sc-invite { background: var(--gold-soft); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; color: var(--ink); }
.sc-invite b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.sc-invite p { margin: 0 0 10px; color: var(--ink-soft); max-width: 60ch; }
.sc-row .preview { grid-column: 1 / -1; color: var(--ink-soft); font-size: 15px; font-style: italic; }
.sc-takes { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.sc-takes .sc-row { border-radius: 14px; padding: 12px 14px; }
.sc-takes .sc-row .t { font-size: 20px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: inline-block; margin-right: 6px; animation: sc-pulse 1.4s ease-in-out infinite; }
@keyframes sc-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sc-dot { animation: none; } }
.sc-more { display: flex; justify-content: center; margin-top: 16px; }

/* Guests */
/* 0.16.51, Guest portal: the places card on Guests, the chip on each guest, Add my past guests */
.sc-gplaces { display: block; margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.sc-gplaces p { margin: 0 0 10px; }
.sc-gplaces .field { max-width: 420px; margin-bottom: 8px; }
.sc-gplaces .field label { display: block; margin-bottom: 6px; }
.sc-gplaces select { width: 100%; }
.sc-gplace { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sc-pastlist { display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
.sc-guests { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.sc-guest { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; min-width: 0; }
.sc-guest .top2 { display: flex; gap: 14px; align-items: center; }
.sc-guest .ini { width: 48px; height: 48px; border-radius: 50%; background: var(--pill); color: var(--ink-soft); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; flex: none; }
.sc-guest .nm { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; word-break: break-word; }
.sc-guest .em { color: var(--ink-soft); font-size: 15px; word-break: break-all; }
.sc-guest ul { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.sc-guest li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.sc-guest li .d { color: var(--ink-faint); white-space: nowrap; }
.sc-guest li a { text-decoration: none; font-weight: 600; color: var(--teal-ink); }
.sc-guest .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.sc-soon { font-size: 13px; color: var(--ink-faint); padding: 8px 0 0; }
.sc-sheetwrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
table.sc-gt { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 15px; }
table.sc-gt th { text-align: left; font-weight: 600; color: var(--ink-soft); font-size: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--sage-soft); }
table.sc-gt td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.sc-gt tr:last-child td { border-bottom: 0; }
table.sc-gt .nm { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; }
table.sc-gt .dates span { display: inline-block; background: var(--sage-soft); color: var(--teal-ink); border-radius: 999px; padding: 2px 9px; font-size: 13px; margin: 2px 4px 2px 0; }
table.sc-gt .links .ln { display: block; white-space: nowrap; font-size: 14px; line-height: 1.7; }
table.sc-gt .links a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--teal-ink); }
table.sc-gt .links a small { font-weight: 400; color: var(--ink-faint); }

/* Home */
.sc-hero { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; }
.sc-hero h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 500; }
.sc-hero .go { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.sc-hero .go { align-items: center; }
.sc-hero .go .sc-enter-last { font-size: 15px; margin-left: 4px; overflow-wrap: anywhere; }
/* v0.8.0: the four tiles, each area in its own soft colour. Text on a tile is deep green or warm dark only. */
.sc-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sc-quick a { text-decoration: none; color: var(--teal-ink); background: var(--sage-soft); border-radius: 16px; padding: 16px 16px 14px; min-height: 104px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.sc-quick a svg { width: 22px; height: 22px; margin-bottom: 4px; flex: none; }
.sc-quick a b { font-weight: 600; font-size: 16px; line-height: 1.25; }
.sc-quick a small { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.sc-quick a.t-sage { background: var(--sage-soft); color: var(--teal-ink); }
.sc-quick a.t-clay { background: var(--clay); color: var(--clay-ink); }
.sc-quick a.t-dew { background: var(--dew); color: var(--dew-ink); }
.sc-quick a.t-lav { background: var(--gold-soft); color: var(--ink); }
/* The gentle second line: recordings that need a nudge. Lavender, never yellow. */
.sc-nudge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; background: var(--gold-soft); color: var(--gold-ink); padding: 8px 14px; border-radius: 12px; font-size: 15px; }
.sc-nudge a { color: var(--gold-ink); font-weight: 600; text-underline-offset: 3px; }
/* v0.11.4: the welcome card as a first-week guide. Each step wears its tile's colour (--c the mark and ring,
   --wash the soft fill on the next step). The leaf is only the bar and the green step's mark. */
.sc-hero.guide { align-items: start; grid-template-columns: 1fr; }   /* v0.12.0: the guide runs full width; the boxes sit under it */
.sc-gprog { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.sc-gprog .bar { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.sc-gprog .bar i { display: block; height: 100%; background: var(--leaf); border-radius: 99px; }
.sc-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.sc-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.sc-steps li:first-child { border-top: 0; }
.sc-steps li.s-clay { --c: var(--clay-dot); --wash: var(--clay); }
.sc-steps li.s-dew { --c: var(--dew-dot); --wash: var(--dew); }
.sc-steps li.s-sage { --c: var(--leaf); --wash: var(--sage-soft); }
.sc-steps li.s-lav { --c: var(--gold); --wash: var(--gold-soft); }
.sc-steps .mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.sc-steps button.mark:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.sc-steps button.mark:disabled { cursor: default; }
.sc-steps button.mark:not(:disabled):hover { box-shadow: 0 0 0 4px var(--line-soft); }
.sc-steps .mark svg { width: 12px; height: 12px; opacity: 0; stroke: var(--ink); }
.sc-steps li.done .mark { background: var(--c); }
.sc-steps li.done .mark svg { opacity: 1; }
.sc-steps .t { display: block; font-weight: 500; }
.sc-steps .s { display: block; font-size: 14px; color: var(--ink-soft); }
.sc-steps li.done .t { color: var(--ink-soft); }
.sc-steps li.next { background: var(--wash); border-radius: 14px; padding-left: 10px; padding-right: 10px; margin: 0 -10px; border-top-color: transparent; }
.sc-steps li.next + li { border-top-color: transparent; }
.sc-steps li.skipped .mark { border-style: dashed; background: transparent; }
.sc-steps li.skipped .mark svg { opacity: 0; }
.sc-steps .go-step { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
/* v0.11.8: the How? pop-up card and the Garden at the finish. */
.sc-steps .how, .sc-garden .how { font-size: 13px; }
.sc-steps .how:focus-visible, .sc-garden .how:focus-visible, .sc-steps .t-link:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; border-radius: 4px; }
.sc-garden { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--gold-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 15px; margin: -4px 0 12px; }
.sc-garden p { margin: 0; flex: 1 1 260px; }
.sc-steps .skip { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.sc-steps .btn { white-space: nowrap; }
.sc-glinks { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; font-size: 14px; }
.sc-glinks a { font-weight: 500; color: var(--ink); text-underline-offset: 3px; }
.sc-glinks .play { display: inline-flex; align-items: center; gap: 6px; }
.sc-glinks .play i { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.sc-glinks .play svg { width: 8px; height: 9px; fill: var(--btn-ink); margin-left: 1px; }
.sc-glinks .hide { margin-left: auto; font-size: 13px; color: var(--ink-soft); }
.sc-quick a.ring { position: relative; box-shadow: 0 0 0 2px var(--c); }
.sc-quick a.t-sage { --c: var(--leaf); }
.sc-quick a.t-clay { --c: var(--clay-dot); }
.sc-quick a.t-dew { --c: var(--dew-dot); }
.sc-quick a.t-lav { --c: var(--gold); }
.sc-quick a .pill { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--card); color: var(--ink); border-radius: 999px; padding: 2px 8px; }
.sc-cheer { display: flex; gap: 10px; align-items: center; background: var(--sage-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 15px; margin-bottom: 12px; }
.sc-cheer .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
/* v0.11.5: How? beside each step, the lavender wait dot on step 4, and the preview band. */
.sc-steps .how { font-size: 13px; color: var(--ink-soft); margin-left: 4px; white-space: nowrap; }
.sc-gwait { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); align-self: center; justify-self: end; margin-right: 8px; animation: sc-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sc-gwait { animation: none; } }
.sc-pvband { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; background: var(--gold-soft); color: var(--ink); border: 1px solid var(--gold); border-radius: 12px; padding: 8px 14px; font-size: 14px; margin: 0 0 14px; }
.sc-pvband a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; margin-left: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sc-steps .mark svg { stroke: var(--paper); } }
:root[data-theme="dark"] .sc-steps .mark svg { stroke: var(--paper); }
@media (max-width: 520px) {
  .sc-steps li { grid-template-columns: 24px minmax(0, 1fr); }
  .sc-steps li .go-step { grid-column: 2; justify-content: flex-start; }
  .sc-steps li .sc-gwait { grid-column: 2; justify-self: start; margin: 2px 0 0; }
}
/* v0.11.9: every step has its action, the title included; Enter my studio's list; the How? help card. */
.sc-steps .t-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: none; cursor: pointer; }
.sc-steps .t-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-steps .btn.sc-btn-small { min-height: 32px; padding: 4px 12px; font-size: 14px; }
.sc-steps .again { font-size: 13px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.sc-pickwrap { position: relative; display: inline-flex; }
.sc-pick { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 200px; max-width: min(300px, calc(100vw - 32px)); display: grid; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px var(--shadow); padding: 6px; }
.sc-pick[hidden] { display: none; }
.sc-pick .h { font-size: 12px; color: var(--ink-soft); padding: 4px 10px; }
.sc-pick a { padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.sc-pick a:hover { background: var(--line-soft); }
.sc-pick a:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: -2px; }
.sc-howscrim { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .35); }
.sc-howcard { position: fixed; z-index: 60; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px var(--shadow); padding: 16px 20px 20px; font-size: 15px; line-height: 1.5; overflow: auto; overscroll-behavior: contain; }
.sc-howcard[hidden], .sc-howscrim[hidden] { display: none; }
.sc-howcard:focus { outline: none; }
.sc-howcard :focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; }
.sc-howcard .hc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sc-howcard h2 { flex: 1; margin: 4px 0 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.sc-howcard .hc-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.sc-howcard .hc-x:hover { background: var(--line-soft); }
.sc-howcard .hc-x svg { width: 14px; height: 14px; stroke: currentColor; }
.sc-howcard .shot { position: relative; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sc-howcard .shot img, .sc-howcard .shot svg { display: block; width: 100%; height: auto; }
.sc-howcard .shot svg { position: absolute; inset: 0; height: 100%; }
.sc-howcard .marks .m { fill: #A993C9; stroke: #FFFFFF; stroke-width: 3; }
.sc-howcard .marks .n { fill: #FFFFFF; font: 600 22px var(--sans); text-anchor: middle; }
.sc-howcard .marks .lb { fill: #2C2A25; fill-opacity: .88; }
.sc-howcard .marks .lt { fill: #FFFFFF; font: 500 19px var(--sans); }
.sc-howcard .hc-steps { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.sc-howcard p { margin: 0 0 16px; }
.sc-howcard .hc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sc-howcard .skip { font-size: 14px; color: var(--ink-soft); }
.sc-howcard .sc-pickwrap { display: grid; justify-items: start; }
.sc-howcard .sc-pick { position: static; margin-top: 8px; box-shadow: none; }
.sc-howcard.sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 85vh; border-radius: 20px 20px 0 0; border-bottom: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) { .sc-pick { right: auto; left: 0; } }
.sc-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sc-sec .link { font-size: 15px; }
/* The plain-words hover: a dotted underline on a garden word, its plain meaning in one small note. */
.gw { border-bottom: 1.5px dotted currentColor; cursor: help; }
.gw:focus { outline: none; }
.gw:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.gw-tip { position: fixed; z-index: 500; max-width: min(260px, calc(100vw - 16px)); background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.3; padding: 6px 10px; border-radius: 8px; pointer-events: none; box-shadow: 0 6px 16px var(--shadow); }
.gw-tip[hidden] { display: none; }

/* Share sheet (sits in the shell's .sheet-wrap overlay) */
.sc-share h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; }
.sc-share .lnk { display: flex; gap: 8px; margin-top: 14px; }
.sc-share .lnk input { flex: 1 1 auto; min-width: 0; }
.sc-share .lnk .btn { white-space: nowrap; flex: none; }
.sc-share textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--card); min-height: 220px; margin-top: 8px; resize: vertical; }
.sc-share .lbl { font-weight: 600; margin-top: 18px; }
.sc-share .foot2 { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 12px; }
.sc-qr { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.sc-qr p { font-size: 14px; color: var(--ink-soft); }
.sc-qr canvas { width: 132px; height: 132px; border-radius: 10px; background: var(--qr-bg); image-rendering: pixelated; }

/* Frames: the rehosted pages, full width under the band */
.sc-frame-host { width: 100%; }
.sc-frame { display: block; width: 100%; border: 0; background: var(--paper); }
/* v0.15.13: Make and Edit on a phone. The site band and tab bar tuck away; the page's own top bar (Back, Done) and bottom bar lead out. */
@media (max-width: 780px) {
  body.sc-make { padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
  body.sc-make #sp-nav, body.sc-make #sp-tabs { display: none; }
  body.sc-make .sc-frame { height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important; height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important; }
}
.sc-tabs2 { display: flex; gap: 6px; padding: 12px var(--x) 0; max-width: 1120px; margin: 0 auto; }
.sc-wait { max-width: 1120px; margin: 0 auto; padding: 40px var(--x); color: var(--ink-soft); }

/* The session popup (v0.5.2): the Content Manager's sheet over the Library or Home, in a frame that
   covers the screen. The card body is the door; its buttons, menus and links keep their own jobs. */
.sc-row.opens { cursor: pointer; }
.sc-row.opens:focus { outline: none; }
.sc-popup { position: fixed; inset: 0; z-index: 400; }
.sc-popup[hidden] { display: none; }
.sc-popup .frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.sc-popup .wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--overlay); }
.sc-popup .wait[hidden] { display: none; }
.sc-popup .wait > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; max-width: 360px; width: 100%; text-align: center; box-shadow: 0 12px 28px var(--shadow); }
.sc-popup .wait p { margin: 0 0 12px; color: var(--ink-soft); }
.sc-popup .wait .sc-choose { padding: 0; }
html.sc-popup-open, html.sc-popup-open body { overflow: hidden; }
/* v0.9.2: on a phone the session view fills the screen, so the layer under it is solid. Nothing on the page behind
   (a row's "Your content is in the Content Manager" line, the tab bar) can show through or over the cards. */
@media (max-width: 699px) { .sc-popup { background: var(--paper); } }
.sc-choose { max-width: 560px; margin: 32px auto; padding: 0 var(--x); }

/* One-line errors with Try again, and empty states */
.sc-error { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink-soft); }
.sc-empty { color: var(--ink-soft); padding: 18px 0; }
.sc-loading { color: var(--ink-faint); padding: 18px 0; }

@media (max-width: 760px) {
  .sc-hero { grid-template-columns: 1fr; }
  .sc-row { grid-template-columns: 1fr; }
  .sc-row.picking { grid-template-columns: auto minmax(0, 1fr); }
  .sc-row.picking .acts { grid-column: 1 / -1; }
  .sc-row .acts { justify-content: flex-start; }
  .sc-menu .pop { right: auto; left: 0; }
  .sc-row .acts .sc-menu:last-child .pop { left: auto; right: 0; }
}

/* ================= Green season vines (v0.5.0) =================
   Drawn by shared/vines.js. Colours are tokens. The vine sits under the page frame. */

.vines {
  position: fixed; inset: 0; z-index: 300;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease;
}
.vines.away { opacity: 0; pointer-events: none; }
.vines svg.field { position: absolute; inset: 0; width: 100%; height: 100%; }
.vines .word { position: relative; text-align: center; font-family: var(--serif); color: var(--teal-ink); }
.vines .word .mark { font-size: clamp(38px, 6vw, 56px); font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.vines .word .step {
  font-family: var(--sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 14px; min-height: 18px;
  transition: opacity .3s;
}
.vines .word .step.swap { opacity: 0; }

.vine path, .vine circle, .vine ellipse {
  fill: none; stroke: var(--vine); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.vines .vine .stem { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--grow, 2.4s) cubic-bezier(.4, 0, .2, 1); }
.vines .vine.on .stem { stroke-dashoffset: 0; }
.vine .bud { opacity: 0; transform: scale(0); transform-box: view-box; transform-origin: 0 0; transition: transform .55s cubic-bezier(.34, 1.4, .64, 1) var(--at, 0s), opacity .2s linear var(--at, 0s); }
.vines .vine.on .bud { opacity: 1; transform: scale(1); }
.vine .petal { fill: var(--petal); }
.vine .solid { fill: var(--vine); }
.vine .thorn { stroke-width: 1.4; }
.vine { transition: opacity .8s; }
.vine.done { opacity: .55; }

.edge {
  position: fixed; left: 0; top: 0; bottom: 0; width: 150px; pointer-events: none; z-index: 0;
  opacity: var(--edge-ink);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 90px, black calc(100% - 220px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 90px, black calc(100% - 220px), transparent 100%);
}
.edge svg { width: 100%; height: 100%; overflow: visible; }
.edge .stem { stroke-dasharray: 1; stroke-dashoffset: 1; }
.edge .bud { opacity: 0; transform: scale(0); transform-box: view-box; transform-origin: 0 0; transition: transform .7s cubic-bezier(.34, 1.3, .64, 1), opacity .3s; }
.edge .bud.on { opacity: 1; transform: scale(1); }
.edge.still .bud { transition: none; }
.edge .boll { fill: var(--card); }
.body, .page, .sc-page { position: relative; z-index: 1; }
@media (max-width: 899px) { .edge { display: none; } }

.wisp { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--ink-faint); }
.wisp::before, .wisp::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.wisp svg { width: 72px; height: 22px; flex: none; }
.wisp path { fill: none; stroke: var(--vine); stroke-width: 1.3; stroke-linecap: round; opacity: .75; }
.wisp.left { justify-content: flex-start; }
.wisp.left::before { display: none; }

.sprig { width: 58px; height: 58px; flex: none; }
.sprig path { fill: none; stroke: var(--vine); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sprig .petal { fill: var(--petal); stroke: var(--vine); stroke-width: 1.1; }
.login .card { position: relative; overflow: visible; }
.login .sprig { position: absolute; top: -40px; left: -34px; width: 118px; height: 118px; pointer-events: none; }
.login .sprig path, .login .sprig circle { stroke-width: 1.5; }

.empty-mark { display: flex; gap: 16px; align-items: center; padding: 22px 0; color: var(--ink-soft); }
.empty-mark b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.empty-mark p { margin: 4px 0 0; }
.empty-mark .sprig { opacity: .85; }

.grow-spin { width: 44px; height: 44px; display: inline-block; vertical-align: middle; }
.grow-spin path { fill: none; stroke: var(--vine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: sprout 2.2s ease-in-out infinite; }
.grow-spin .l2 { animation-delay: .35s; }
.grow-spin .l3 { animation-delay: .7s; }
@keyframes sprout { 0% { stroke-dashoffset: 1; } 45%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .vine .bud, .edge .bud, .vines .vine .stem, .vines, .vines .word .step { transition: none; }
  .grow-spin path { animation: none; stroke-dashoffset: 0; }
}

/* ================= Admin (v0.6.4) ================= */
.page.admin { max-width: 1240px; }
.admin-back { display: inline-flex; margin-bottom: 14px; color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.admin-signed { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.admin-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.admin-counts .card { margin: 0; padding: 16px 18px; }
.admin-counts .k { font-size: 13px; color: var(--ink-soft); }
.admin-counts .n { font-size: 30px; font-weight: 600; line-height: 1.15; }
.admin-counts .n.wait { color: var(--gold-ink); }
@media (min-width: 800px) { .admin-counts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.admin-tools { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; align-items: center; }
.admin-search { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-soft); }
.admin-search svg { flex: none; }
.admin-search input[type=search] { border: 0; outline: 0; background: transparent; padding: 0; height: 44px; width: 100%; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.admin-filters button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 16px; font-weight: 500; }
.admin-filters button[aria-pressed="true"] { background: var(--teal); color: var(--btn-ink); }
.atable { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ahead, .arow { display: grid; gap: 12px; padding: 14px 20px; align-items: center; }
.ahead { background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.arow { border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.arow:last-child { border-bottom: 0; }
/* Admin, the SoulCast membership under Access from (Oct 11): amount, partner code, status. */
.bill-line { display: block; font-size: 13px; color: var(--ink-soft); }
.bill-line.low { color: var(--rose); font-weight: 600; }
.bill-line .badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.people-grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(72px, .8fr) minmax(84px, .6fr) auto; }
/* v0.9.5: community preview on Admin > People. The master switch card, the per-person switch, Select and the bulk bar. */
.admin-switch { margin: 16px 0 0; padding: 6px 20px; }
.admin-switch .toggle { border-top: 0; }
.ask { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; font-size: 15px; }
.ask.hidden { display: none; }
.toggle.mini { padding: 0; border-top: 0; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.toggle.mini .sw-ui { margin-top: 0; }
.bulk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.bulk .grow { flex: 1 1 auto; }
.bulk .ask { width: 100%; padding: 4px 0 0; }
.sel-n { font-size: 14px; color: var(--ink-soft); }
.pick-all { gap: 8px; font-size: 15px; }
.pick { width: 20px; height: 20px; flex: none; accent-color: var(--teal); }
.pick-all input { width: 20px; height: 20px; accent-color: var(--teal); }
.comm-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(52px, .6fr) minmax(0, 1.15fr) minmax(0, 1.7fr) minmax(0, 1.5fr); }
.arow .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.arow .min { min-width: 0; }
.arow .nm { font-weight: 600; }
.arow .nm a { color: var(--ink); text-decoration: none; }
.arow .em { font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
.arow .actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.alabel { display: none; }
.pill.wait { background: var(--rose-soft); color: var(--ink); border-color: transparent; }
.pill.on { background: var(--sage-soft); color: var(--teal-ink); border-color: transparent; }
.pill .x { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; padding: 0 0 0 4px; min-height: 24px; }
.switch-pills, .gift { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gift { position: relative; }
.gift-menu { position: absolute; z-index: 4; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 12px 40px var(--shadow); }
.gift-menu button { display: block; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 8px 10px; color: var(--ink); font-size: 16px; }
.gift-menu button:hover { background: var(--sage-soft); }
.btn.dash { border-style: dashed; border-color: var(--sage); }
.field.tight { margin: 0; }
.field.tight label, .field.tight .alabel { margin-bottom: 0; }
select.tier { width: auto; min-width: 148px; height: 40px; padding: 0 10px; font-size: 16px; }
.person-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.person-head .grow { flex: 1 1 240px; min-width: 0; }
.person-head h1 { font-size: clamp(32px, 4vw, 40px); }
.person-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.pair { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.pair:first-child { border-top: 0; padding-top: 0; }
.stack-gap { display: flex; flex-direction: column; gap: 18px; }
.stack-gap .card { margin: 0; }
.kicker { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.quiet-next { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.tier-legend { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.tier-legend b { color: var(--ink); }
.act { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .person-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .tier-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .act { grid-template-columns: 180px 140px minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .admin-filters { width: 100%; }
  .admin-filters button { flex: 1 1 calc(50% - 4px); }
  .ahead { display: none; }
  .people-grid, .comm-grid { grid-template-columns: 1fr; gap: 8px; }
  .arow .actions { justify-content: flex-start; }
  .alabel { display: block; font-size: 12px; font-weight: 600; color: var(--ink-faint); }
  .acell { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  .acell.switches, .comm-grid .acell:last-child { align-items: flex-start; }
}

/* ================= Arrivals (v0.10.0) ================= */
.arr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.arr-tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; color: var(--ink); font: inherit; cursor: pointer; }
.arr-tile b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 600; }
.arr-tile span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.arr-tile.ok { background: var(--sage-soft); }
.arr-tile.ok b { color: var(--teal-ink); }
.arr-tile.nudge { background: var(--clay); }
.arr-tile.nudge b, .arr-tile.nudge span { color: var(--clay-ink); }
.arr-tile[aria-pressed="true"] { outline: 2px solid var(--teal); outline-offset: 1px; }
.arr-bar { margin: 4px 0 14px; align-items: center; }
.arr-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); }
.arr-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.arr-legend .arr-c { width: 20px; height: 20px; font-size: 11px; }
.arr-pieces { display: flex; gap: 4px; flex-wrap: nowrap; }
.arr-c { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; padding: 0; font-style: normal; background: transparent; color: var(--ink-faint); cursor: pointer; }
.arr-c.ok { background: var(--sage-soft); border-color: var(--leaf); color: var(--teal-ink); }
.arr-c.grow { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.arr-c.miss { background: var(--clay); border-color: var(--clay-dot); color: var(--clay-ink); }
.arr-c.na { border-style: dashed; color: var(--ink-faint); }
.arr-c.ring { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--leaf); }
.arr-c.old { background: var(--cream); border-color: var(--beige); color: var(--ink-soft); }
.pill.arr-old { background: var(--cream); color: var(--ink-soft); border-color: var(--beige); }
.arr-older { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--cream); color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.arr-head { grid-template-columns: minmax(0, 1fr) auto; }
.arr-pieces.labels span { width: 30px; font-size: 10px; letter-spacing: -.01em; line-height: 1.15; text-align: center; font-weight: 600; white-space: nowrap; }
.arr-row { grid-template-columns: minmax(0, 1fr) auto; cursor: pointer; }
.arr-row:hover, .arr-member:hover { background: var(--line-soft); }
.arr-row:focus-visible, .arr-member:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.arr-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.pill.arr-nudge { background: var(--clay); color: var(--clay-ink); border-color: transparent; }
.pill.arr-edited { background: var(--gold-soft); color: var(--gold-ink); border-color: transparent; }
.arr-growing { font-size: 13px; color: var(--gold-ink); }
.arr-why { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.arr-more { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.arr-mgrid { grid-template-columns: minmax(0, 2fr) 90px 130px 190px 90px; }
.arr-member { cursor: pointer; }
.arr-meter { display: inline-block; width: 110px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; vertical-align: middle; margin-right: 8px; }
.arr-meter i { display: block; height: 100%; background: var(--leaf); }
.sheet.arr-sheet { max-width: 880px; }
.arr-ph { flex-wrap: nowrap; align-items: flex-start; }
.arr-ph .min { flex: 1 1 auto; }
.arr-ph h2 { font-size: clamp(26px, 3vw, 32px); }
.arr-ph .sub { margin-bottom: 4px; }
.arr-sheet .arr-pieces { margin: 14px 0 6px; flex-wrap: wrap; }
.arr-legend-mini { margin: 0 0 14px; }
.arr-stuck { margin: 14px 0; }
.arr-stuck p { overflow-wrap: anywhere; }
.arr-sec { margin-top: 20px; }
.arr-link { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.arr-link a { color: var(--teal-ink); display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arr-lk { font-weight: 600; color: var(--ink-soft); }
.arr-text { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 10px 0; padding: 0 14px; }
.arr-text summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.arr-text .arr-body { white-space: pre-wrap; font-size: 15px; line-height: 1.55; max-height: 420px; overflow: auto; padding: 4px 0 12px; overflow-wrap: anywhere; }
.arr-text .btn { margin-bottom: 12px; }
@media (max-width: 899px) {
  .arr-tiles { gap: 8px; }
  .arr-tile { padding: 12px; }
  .arr-tile b { font-size: 28px; }
  .arr-tile span { font-size: 13px; }
  .arr-row { grid-template-columns: 1fr; gap: 10px; }
  .arr-pieces { gap: 3px; }
  .arr-c { width: 27px; height: 27px; font-size: 12px; }
  .arr-row { padding: 14px 16px; }
  .arr-mgrid { grid-template-columns: 1fr; gap: 8px; }
  .arr-link { grid-template-columns: 1fr auto; }
  .arr-lk { grid-column: 1 / -1; }
  .arr-bar { gap: 12px; }
}

/* ================= Billing (v0.11.0) ================= */
.sc-billing { max-width: 1120px; margin: 0 auto; padding: 12px var(--x) 0; }
.sc-billing-row { display: flex; justify-content: flex-end; }
.sc-billing-row .link { font-size: 15px; }
.sc-billing-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.btn.big { width: 100%; justify-content: center; padding: 16px 22px; font-size: 18px; margin-top: 18px; }
.welcome .top h1 { font-size: clamp(36px, 7vw, 52px); line-height: 1.05; }
.welcome-sprig { width: 44px; height: 44px; margin-bottom: 10px; }
.welcome-sprig svg { width: 100%; height: 100%; }
.welcome-steps { margin: 6px 0 0 22px; display: grid; gap: 10px; font-size: 17px; }

/* v0.11.11: Guests by sitting, who was in each recording, and the follow-up panel. */
.sc-tag.unc { background: var(--gold-soft); color: var(--gold-ink); }
.sc-sit { padding: 6px 0 10px; border-bottom: 1px solid var(--line-soft); }
.sc-sit:last-child { border-bottom: 0; }
.sc-sit > .d { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.sc-sit > .d .faint { font-weight: 400; }
.sc-gl { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 14px; }
.sc-gl.off { opacity: .6; }
.sc-gl .l { flex: 1 1 0; min-width: 0; line-height: 1.7; }
.sc-gl .pcs { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; margin-left: 8px; }
.sc-gl .lnk { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--teal-ink); cursor: pointer; text-align: left; }
.sc-gl .lnk.sm { font-weight: 500; font-size: 13px; }
.sc-gl .lnk:hover, .sc-gl .lnk:focus-visible { text-decoration: underline; }
.sc-gl .sc-glm { flex: none; }
.sc-gl .sc-glm > .btn { padding: 0 8px; min-height: 28px; }
.sc-gl .sc-gpanel { flex-basis: 100%; }
.sc-gl { flex-wrap: wrap; }
.sc-guest .sits { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 6px; }
.sc-gpanel, .sc-fu { width: 100%; border-top: 1px solid var(--line-soft); margin-top: 10px; padding-top: 12px; display: grid; gap: 10px; }
.sc-gpanel .hd b, .sc-fu .hd b { display: block; font-weight: 600; }
.sc-gpanel .hd span, .sc-fu .hd span { color: var(--ink-soft); font-size: 15px; }
.sc-gpanel ul, .sc-fu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-gpanel li, .sc-fu li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.sc-gpanel li.off .n { color: var(--ink-faint); }
.sc-gpanel li small { display: block; color: var(--ink-faint); font-size: 13px; }
.sc-gpanel li .b { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-gpanel .addline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sc-gpanel .addline input { flex: 1 1 160px; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.sc-gpanel .row, .sc-fu .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sc-gpanel .note, .sc-fu .note { color: var(--ink-soft); font-size: 14px; background: none; border: 0; padding: 0; }
.sc-gpanel .note:empty, .sc-fu .note:empty { display: none; }
.sc-fu textarea { width: 100%; font: 16px/1.5 var(--sans); padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); resize: vertical; }
.sc-fu .fu-pick { display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.sc-fu .fu-pick select { width: 100%; max-width: 100%; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
table.sc-gt .links { min-width: 360px; }
.sc-gl .t { font-weight: 600; color: var(--ink); }

/* v0.12.0: the calm SoulCast home. Welcome back with one status line, four big boxes in the soft area colours, then
   recent recordings as simple cards. */
.sc-hello h1 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.15; margin: 0; }
.sc-hello .sc-lead { margin: 6px 0 0; }
.sc-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
@media (max-width: 820px) { .sc-boxes { grid-template-columns: 1fr 1fr; } }
.sc-box {
  border-radius: 16px; padding: 20px 18px; min-height: 132px; display: grid; align-content: space-between; gap: 10px;
  text-decoration: none; color: var(--ink); transition: transform .15s; min-width: 0;
}
.sc-box:hover { transform: translateY(-2px); }
.sc-box .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: grid; place-items: center; }
.sc-box .ic svg { width: 22px; height: 22px; }
.sc-box .tx { display: grid; gap: 2px; }
.sc-box b { font-size: 14px; letter-spacing: .08em; font-weight: 600; }
.sc-box small { font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
.sc-box.b-green { background: var(--sage-soft); }
.sc-box.b-aqua { background: var(--dew); }
.sc-box.b-lav { background: var(--gold-soft); }
.sc-box.b-peach { background: var(--clay); }
.sc-recents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .sc-recents { grid-template-columns: 1fr; } }
.sc-rc { display: grid; text-align: left; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); font: inherit; }
.sc-rc:hover { border-color: var(--sage); }
.sc-rc .th { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sage-soft), var(--gold-soft)); display: grid; place-items: center; color: var(--ink-soft); }
.sc-rc .th svg { width: 30px; height: 30px; opacity: .7; }
.sc-rc .bd { padding: 12px 14px; display: grid; gap: 4px; justify-items: start; }
.sc-rc .bd b { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.sc-rc .bd small { color: var(--ink-soft); font-size: 13px; }
.sc-tag.lav { background: var(--gold-soft); color: var(--gold-ink); }
@media (prefers-reduced-motion: reduce) { .sc-box { transition: none; } }

/* v0.12.1: the welcome and Your studio is ready. While it shows, the SoulCast bar and the strip step aside. */
.sc-welcoming .subnav.sc, .sc-welcoming #sp-gstrip { display: none; }
.sc-welcome { max-width: 560px; margin: 24px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; text-align: center; display: grid; gap: 16px; box-shadow: 0 12px 32px var(--shadow); }
.sc-welcome h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 0; }
.sc-welcome p { margin: 0; color: var(--ink-soft); }
.sc-welcome p.small { font-size: 13px; }
.sc-welcome .soft { opacity: .8; }
.sc-welcome .sprig { width: 46px; height: auto; margin: 0 auto; color: var(--teal); }
.sc-welcome .sprig .bud { fill: var(--gold); }
.sc-welcome .fld { display: grid; gap: 6px; text-align: left; }
.sc-welcome .fld span { font-size: 14px; font-weight: 600; color: var(--ink); }
.sc-welcome .fld input { font-size: 17px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.sc-welcome .btn.lg { justify-self: center; padding: 12px 24px; font-size: 16px; }
.sc-wl-err { color: var(--clay-ink) !important; background: var(--clay); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.wl-rooms { display: grid; gap: 8px; text-align: left; }
.wl-room { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--paper); }
.wl-room .star { background: none; border: 0; padding: 0 2px; font-size: 20px; line-height: 1; color: var(--ink-faint); cursor: pointer; }
.wl-room .star.on { color: var(--clay-dot); }
.wl-room .rname { flex: 1; min-width: 0; font: inherit; font-weight: 600; border: 1px dashed transparent; background: transparent; color: var(--ink); padding: 6px 8px; border-radius: 8px; }
.wl-room .rname:hover, .wl-room .rname:focus { border-color: var(--line); background: var(--card); outline: none; }
.wl-room small { color: var(--ink-soft); font-size: 12px; }
.wl-more { display: grid; gap: 8px; }
.wl-more p { font-size: 15px; color: var(--ink); }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wl-chips .chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.wl-chips .chip.on { background: var(--dew); border-color: var(--dew-dot); opacity: 1; cursor: default; }
.wl-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl-doors .door { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--paper); color: var(--ink); text-align: left; display: grid; gap: 4px; text-decoration: none; font: inherit; }
.wl-doors .door b { font-size: 16px; }
.wl-doors .door span { font-size: 13px; color: var(--ink-soft); }
.wl-doors .door.main { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.wl-doors .door.main span { color: var(--btn-ink); opacity: .85; }
@media (max-width: 520px) { .wl-doors { grid-template-columns: 1fr; } .sc-welcome { padding: 28px 20px; } .sc-welcome h1 { font-size: 32px; } }

/* v0.12.1: the slim lavender Getting Started strip on every SoulCast page while the guide is unfinished. */
.sc-gstrip { background: var(--gold-soft); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.sc-gstrip .subnav-in { max-width: 1120px; gap: 6px 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; overflow: visible; }
.sc-gstrip .mini { flex: 0 0 90px; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.sc-gstrip .mini i { display: block; height: 100%; background: var(--leaf); }
.sc-gstrip a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; padding: 0; }
.sc-previewing #sp-gstrip { display: none; }
/* The small note after a step is saved, with the way to the next step. Above the phone tab bar. */
.sc-gtoast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 10px 12px 10px 18px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 12px 32px var(--shadow); max-width: calc(100% - 32px); font-size: 15px; }
.sc-gtoast[hidden] { display: none; }
.sc-gtoast button { border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; background: var(--leaf); color: #1E1B19; white-space: nowrap; }
@media (max-width: 700px) { .sc-gtoast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* v0.12.1: on a wide screen the four steps sit side by side as cards. */
.sc-gnote { color: var(--ink-soft); }
@media (min-width: 900px) {
  .sc-hero.guide .sc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  .sc-hero.guide .sc-steps li { grid-template-columns: 24px minmax(0, 1fr); align-items: start; align-content: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; background: var(--paper); }
  .sc-hero.guide .sc-steps li .go-step { grid-column: 1 / -1; justify-content: flex-start; }
  .sc-hero.guide .sc-steps li.next { margin: 0; padding: 14px; background: var(--wash); border-color: var(--c); }
  .sc-hero.guide .sc-steps li.next + li { border-top-color: var(--line); }
}

/* v0.12.3: the guide card and the step cards, as in the mockup (screen 3). */
.sc-guide, .sc-allset { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 14px; }
.sc-guide .ghead { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; justify-content: space-between; }
.sc-guide h2, .sc-allset h2, .sc-hello h1 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.15; margin: 0; }
.sc-guide .sub, .sc-allset .sub { color: var(--ink-soft); margin: 2px 0 0; }
.sc-guide .prog { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); min-width: 220px; }
.sc-guide .prog .bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.sc-guide .prog .bar i { display: block; height: 100%; background: var(--leaf); transition: width .4s; }
.sc-gsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) { .sc-gsteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sc-gsteps { grid-template-columns: 1fr; } }
.sc-gsteps li { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 6px; align-content: start; background: var(--paper); position: relative; min-width: 0; }
.sc-gsteps li.s-clay { --c: var(--clay-dot); --tile: var(--clay); }
.sc-gsteps li.s-dew { --c: var(--dew-dot); --tile: var(--dew); }
.sc-gsteps li.s-sage { --c: var(--leaf); --tile: var(--sage-soft); }
.sc-gsteps .n { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); font-weight: 600; letter-spacing: .04em; }
.sc-gsteps .mark { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; padding: 0; background: transparent; cursor: pointer; flex: none; }
.sc-gsteps .mark:disabled { cursor: default; }
.sc-gsteps .mark svg { width: 11px; height: 11px; opacity: 0; stroke: #fff; }
.sc-gsteps li.done .mark { background: var(--c); }
.sc-gsteps li.done .mark svg { opacity: 1; }
.sc-gsteps li.skipped .mark { border-style: dashed; }
.sc-gsteps .t { font-size: 15px; font-weight: 600; }
.sc-gsteps .t a { color: inherit; text-decoration: none; }
.sc-gsteps .t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-gsteps .s { font-size: 13px; color: var(--ink-soft); }
.sc-gsteps li.next { background: var(--tile); border-color: var(--c); }
.sc-gsteps li.done .t { color: var(--ink-soft); }
.sc-gsteps .go-step { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; }
.sc-gsteps .skip, .sc-gsteps .again { font-size: 12.5px; color: var(--ink-soft); }
.sc-gsteps .how { justify-self: start; font-size: 12px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.sc-guide .gfoot { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.sc-guide .gfoot .gl { display: flex; gap: 14px; flex-wrap: wrap; }
.sc-guide .gfoot a, .sc-guide .gfoot button { color: var(--ink-soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.sc-allset .sc-garden { margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sc-gsteps .mark svg { stroke: var(--paper); } }
:root[data-theme="dark"] .sc-gsteps .mark svg { stroke: var(--paper); }
/* v0.12.3: a recording card's picture: a real frame from the recording over a soft branded tile. */
.sc-rc .th { position: relative; overflow: hidden; }
.sc-rc .th .tile { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--sage-soft), var(--gold-soft)); color: var(--teal); }
.sc-rc .th .tile svg { width: 34px; height: auto; opacity: .55; }
.sc-rc .th video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; background: transparent; pointer-events: none; }
.sc-rc .th video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sc-rc .th video, .sc-guide .prog .bar i { transition: none; } }
/* v0.12.3: Your SoulCast email on the Settings page. */
.sc-emailset { max-width: 1120px; margin: 18px auto 0; padding: 0 var(--x); font-size: 15px; color: var(--ink-soft); }
.sc-emailset p { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.sc-emailset[hidden] { display: none; }
/* v0.12.4: the Branding heading, as in the mockup's guided step. */
.sc-brandhead { max-width: 1120px; margin: 0 auto; padding: 26px var(--x) 0; }
.sc-brandhead h1 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.1; margin: 0; }
.sc-brandhead p { margin: 4px 0 0; color: var(--ink-soft); }

/* ================= v0.12.8: the Library grid, the small windows, thumbnails ================= */
.sc-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.sc-types button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 500; }
.sc-types button.on { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.sc-toolrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sc-toolrow .sc-search { flex: 1 1 260px; }
.sc-filters { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.sc-filters[hidden] { display: none; }
.sc-ghead { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 22px 0 10px; }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-grid > .sc-span { grid-column: 1 / -1; }
.sc-gnote2, .sc-mcount { color: var(--ink-soft); font-size: 14px; }
.sc-more { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

.sc-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--sage-soft), var(--gold-soft)); }
.sc-th.sq { aspect-ratio: 1; }
.sc-th .tile { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal); }
.sc-th .tile svg { width: 34px; height: auto; opacity: .55; }
.sc-th .tile b { font-size: 28px; font-weight: 400; color: var(--ink-soft); }
.sc-th video, .sc-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; pointer-events: none; }
.sc-th video.on, .sc-th img.on { opacity: 1; }
.sc-th .qt { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font-family: var(--serif); font-size: 18px; line-height: 1.25; color: var(--ink); overflow: hidden; }
.sc-th .pen { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #2D2B27; display: grid; place-items: center; opacity: 0; transition: opacity .15s; padding: 0; }
.sc-th .pen svg { width: 16px; height: 16px; }
.sc-card:hover .sc-th .pen, .sc-card:focus-within .sc-th .pen, .sc-th .pen:focus-visible { opacity: 1; }
@media (hover: none) { .sc-th .pen { opacity: 1; } }

.sc-row.sc-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; border-radius: 16px; overflow: visible; }
.sc-row.sc-card .sc-th { border-radius: 16px 16px 0 0; }
.sc-row.sc-card.opens { cursor: pointer; }
.sc-row.sc-card .cb { padding: 12px 14px 4px; }
.sc-row.sc-card .t, .sc-row.sc-card .t.rn { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.3; padding: 0; border: 0; cursor: inherit; display: block; }
.sc-row.sc-card .t.rn:hover::after { content: none; }
.sc-row.sc-card .w { font-size: 13.5px; gap: 4px 10px; align-items: center; }
.sc-row.sc-card .acts { justify-content: flex-start; padding: 8px 10px 12px; gap: 6px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.sc-row.sc-card .acts { flex-wrap: nowrap; }
.sc-row.sc-card .acts .btn { min-height: 32px; padding: 4px 9px; font-size: 13px; white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) { .sc-row.sc-card .acts .btn { padding: 4px 7px; font-size: 12.5px; } }
.sc-row.sc-card .acts .sc-menu.dots { margin-left: auto; }
.sc-row.sc-card .sc-menu.narrow { display: none; }
@media (max-width: 420px) {
  .sc-row.sc-card .sc-menu.wide { display: none; }
  .sc-row.sc-card .sc-menu.narrow { display: inline-block; }
}
/* 0.16.177: the card's button row always fits the card (900px and wider; narrower, the compact card is used). A full
   card (Make, or three menus) has two calm rows: Make and the ••• on top, then Recording, Transcript and Content
   sharing the width evenly. Smaller cards keep one row, the ••• at its right end. Layout only. */
@media (min-width: 900px) {
  .sc-row.sc-card .acts { flex-wrap: wrap; row-gap: 4px; align-items: center; }
  .sc-row.sc-card .acts > .mk-btn { margin-left: 0; }
  .sc-row.sc-card .acts:is(:has(> .mk-btn), :has(> :nth-child(5))) > .mk-btn,
  .sc-row.sc-card .acts:is(:has(> .mk-btn), :has(> :nth-child(5))) > .sc-menu.dots { order: 0; }
  .sc-row.sc-card .acts:is(:has(> .mk-btn), :has(> :nth-child(5)))::after { content: ''; order: 1; flex: 0 0 100%; height: 0; }
  .sc-row.sc-card .acts:is(:has(> .mk-btn), :has(> :nth-child(5))) > .sc-menu:not(.dots) { order: 2; flex: 1 1 auto; }
  .sc-row.sc-card .acts:is(:has(> .mk-btn), :has(> :nth-child(5))) > .sc-menu:not(.dots) > .btn { width: 100%; justify-content: center; }
}
.sc-row.sc-card .pick { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--card); border-radius: 8px; padding: 4px; }
.sc-row.sc-card { position: relative; }
.sc-row.sc-card:has(.share), .sc-row.sc-card:has(.rename), .sc-row.sc-card:has(.sc-gpanel) { grid-column: 1 / -1; }
.sc-row.sc-card .share, .sc-row.sc-card .rename { margin: 0 14px 14px; }

.sc-qcard, .sc-piece { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-align: left; color: var(--ink); font: inherit; padding: 0; }
.sc-qcard .cb, .sc-piece .cb { padding: 12px 14px 4px; display: grid; gap: 3px; }
.sc-qcard .t, .sc-piece b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.sc-qcard .w { color: var(--ink-soft); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.sc-piece small { color: var(--ink-soft); font-size: 13.5px; }
.sc-qcard .from { font-size: 13.5px; color: var(--ink-soft); }
.sc-qcard .acts { display: flex; gap: 6px; padding: 8px 10px 12px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.sc-qcard .acts .btn { min-height: 32px; padding: 4px 11px; font-size: 13.5px; }
.sc-qcard .acts .sc-menu { margin-left: auto; }
.sc-piece:hover, .sc-qcard:hover { border-color: var(--sage); }
.sc-piece { cursor: pointer; }
.sc-tag.qm { background: var(--clay); color: var(--clay-ink); }

/* the small windows: Change thumbnail, Which recording? */
.sc-mscrim { position: fixed; inset: 0; background: var(--overlay); z-index: 200; }
.sc-modal { position: fixed; z-index: 201; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto;
  background: var(--card); color: var(--ink); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 50px var(--shadow); padding: 18px 20px 20px; }
.sc-modal.pick { width: min(760px, calc(100% - 32px)); }
.sc-mhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sc-mhead h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0; }
.sc-mx { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 22px; line-height: 1; padding: 0; }
.sc-mnote { color: var(--ink-soft); margin: 4px 0 12px; }
.sc-merr { color: var(--clay-ink); background: var(--clay); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 10px 0 0; }
.sc-mrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.sc-thpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-thopt { border: 2px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; background: var(--card); color: var(--ink); text-align: center; }
.sc-thopt:hover, .sc-thopt:focus-visible { border-color: var(--teal); }
.sc-thopt .lb { display: block; padding: 6px; font-size: 14px; font-weight: 600; }
.sc-thopt.up .sc-th { aspect-ratio: 16 / 9; }
.sc-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 560px) { .sc-pgrid { grid-template-columns: 1fr 1fr; } }
.sc-pcard { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); color: var(--ink); text-align: left; padding: 0 0 8px; display: grid; gap: 2px; }
.sc-pcard b { padding: 6px 10px 0; font-size: 14px; line-height: 1.3; }
.sc-pcard small { padding: 0 10px; color: var(--ink-soft); font-size: 12.5px; }
.sc-pcard:hover, .sc-pcard:focus-visible { border-color: var(--teal); }
html.sc-modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sc-th video, .sc-th img, .sc-th .pen { transition: none; } }
/* v0.12.9: the Editor page's cards */
.sc-ecard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.sc-ecard:hover, .sc-ecard:focus-visible { border-color: var(--teal); }
.sc-ecard .cb { padding: 12px 14px 14px; display: grid; gap: 4px; justify-items: start; }
.sc-ecard b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.sc-ecard small { color: var(--ink-soft); font-size: 13.5px; }
.sc-empty-box { text-align: center; padding: 28px 0; }

/* v0.12.11: What name do you go by? (profile) and the home's gentle line */
.name-nudge { margin: 0 0 4px; color: var(--ink-soft); }
.field .help { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.name-suggest { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 4px 0 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.sc-namenudge { margin: 0 0 14px; font-size: 15px; }
.sc-namenudge a { color: var(--ink); }

/* ---------------------------------------------------------------- Webinars (v0.13.0, Oct 15, 2026)
   The builder, the Webinars page and Host view, the Home card and the members-only join. Portal tokens only, so
   light and dark both work; the phone preview inside uses the member's Brand Kit through /live/live.css. */
.wb-builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.wb-hello { display: flex; gap: 16px; align-items: center; padding: 18px 20px; margin-bottom: 14px; background: linear-gradient(120deg, var(--sage-soft), var(--gold-soft)); border: 0; }
.wb-ring { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; position: relative; font-weight: 700; font-size: 15px; color: var(--teal-ink); }
.wb-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); }
.wb-ring span { position: relative; z-index: 1; }
.wb-hello h2 { font-family: var(--serif); font-size: 24px; margin: 0; }
.wb-hello p { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.wb-step { margin-bottom: 14px; }
.wb-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.wb-step-h h2 { font-family: var(--serif); font-size: 23px; margin: 0; flex: 1; }
.wb-num { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-deep); color: var(--card); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.wb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wb-choice { text-align: left; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 14px; padding: 12px; font: inherit; cursor: pointer; min-height: 64px; }
.wb-choice b { display: block; font-size: 15px; }
.wb-choice small { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.wb-choice.on { border-color: var(--teal-deep); background: var(--sage-soft); }
.wb-choice.add { border-style: dashed; }
.wb-filled { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px 14px; margin-top: 14px; align-items: center; }
.wb-filled > label { color: var(--ink-soft); font-size: 14px; }
.wb-filled .row { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-filled input, .wb-filled select, .wb-in { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--card); color: var(--ink); min-width: 0; }
.wb-filled input[type=date], .wb-filled input[type=time] { flex: 1 1 140px; }
.wb-src { font-size: 13px; color: var(--ink-soft); }
.wb-note { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }
.wb-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); margin-bottom: 14px; }
.wb-banner p { margin: 0; flex: 1; min-width: 200px; }
.wb-pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wb-pic { border: 0; background: none; padding: 0; text-align: left; color: var(--ink); font: inherit; cursor: pointer; }
.wb-pic .th { display: block; height: 76px; border-radius: 10px; background: var(--beige) center/cover; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); font-size: 22px; }
.wb-pic small { display: block; font-size: 12px; color: var(--ink-soft); padding-top: 4px; }
.wb-pic.on .th { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.wb-swrow { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.wb-sw { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); }
.wb-color { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.wb-color input { width: 44px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.wb-looks { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
/* v0.13.2: Brand colour, Secondary and Button colour, each with its source under it */
.wb-colors { display: flex; gap: 10px 18px; margin-top: 14px; flex-wrap: wrap; align-items: flex-start; }
.wb-colors .wb-color { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; }
.wb-colors .wb-color small { grid-column: 1 / -1; font-size: 12px; color: var(--ink-soft); min-height: 18px; }
.wb-colors .wb-color small .link { font-size: 12px; }
.wb-colors > .link { align-self: center; }
.wb-kitask { margin: 12px 0 0; }
.wb-kitcard { margin-bottom: 14px; }
.wb-sender { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--sage-soft); margin-bottom: 12px; font-size: 15px; flex-wrap: wrap; }
.wb-sender .grow { flex: 1; min-width: 200px; }
.wb-sender small { color: var(--ink-soft); }
.wb-mails { display: grid; gap: 8px; }
.wb-mrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.wb-mrow .when { font-size: 13px; color: var(--ink-soft); width: 130px; flex: none; }
.wb-mrow .when select { font-size: 16px; margin-top: 4px; width: 100%; }
.wb-mrow .what { flex: 1; min-width: 150px; font-weight: 600; font-size: 15px; }
.wb-mrow .what small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.wb-linkbox { display: flex; gap: 8px; align-items: center; background: var(--beige); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; flex-wrap: wrap; }
.wb-linkbox code { flex: 1; font-family: var(--sans); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; min-width: 160px; }
.wb-who { display: grid; gap: 8px; margin: 10px 0; }
.wb-who label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.wb-who label.on { border-color: var(--teal-deep); background: var(--sage-soft); }
.wb-who input[type=radio] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.wb-who b { display: block; }
.wb-who small { color: var(--ink-soft); font-size: 14px; }
.wb-open { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.wb-open small { color: var(--ink-soft); }
.wb-preview { position: sticky; top: 90px; }
.wb-preview .lbl { font-size: 13px; color: var(--ink-soft); text-align: center; margin-bottom: 8px; }
.wb-phone { width: 340px; max-width: 100%; margin: 0 auto; border-radius: 36px; border: 10px solid #1D1B1A; background: #1D1B1A; box-shadow: var(--shadow); overflow: hidden; }
.wb-phone .scr { height: 620px; overflow-y: auto; border-radius: 26px; }
.wb-edittools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 10px 0 0; }
.wb-edittools button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.wb-edittools button.on { background: var(--teal-deep); color: var(--card); border-color: var(--teal-deep); }
.wb-editing [data-ed] { outline: 1.5px dashed color-mix(in srgb, var(--m1) 55%, transparent); outline-offset: 3px; border-radius: 4px; cursor: text; }
.wb-editing [data-ed]:focus { outline-style: solid; }
.wb-editing [data-fact] { position: relative; outline: 1.5px solid color-mix(in srgb, var(--m1) 35%, transparent); outline-offset: 3px; border-radius: 8px; }
.wb-editing [data-fact]::after { content: "Locked: fills in for you"; position: absolute; top: -10px; right: -4px; font: 600 10px var(--sans); background: #fff; color: #555; border-radius: 999px; padding: 2px 7px; box-shadow: 0 1px 4px rgba(0,0,0,.15); white-space: nowrap; }
.wb-editing .lp-photo { cursor: pointer; }
.wb-editing .lp-photo::before { content: "Tap to swap the picture"; position: absolute; top: 12px; left: 12px; font: 600 12px var(--sans); background: rgba(255,255,255,.92); color: #333; border-radius: 999px; padding: 5px 11px; }
.wb-chipbox { min-height: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--card); color: var(--ink); font-size: 16px; line-height: 1.55; white-space: pre-wrap; outline: none; }
.wb-chipbox:focus { border-color: var(--teal); }
.wb-chip { display: inline-block; font-size: 13px; font-weight: 600; background: var(--gold-soft); color: var(--gold-ink); border-radius: 999px; padding: 1px 9px; margin: 0 1px; user-select: all; white-space: nowrap; }
.wb-chip.btn-chip { display: block; width: max-content; max-width: 100%; margin: 4px 0; background: var(--sage-soft); color: var(--teal-ink); }
.wb-mailprev { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-height: 70vh; overflow-y: auto; }
/* v0.13.4: Hosted by in the builder (the member's photo and up to 3 co-hosts), and the co-host's own page (live/cohost). */
.wb-hosts { display: grid; gap: 10px; margin-top: 18px; }
.wb-hostcard { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); min-width: 0; }
.wb-hostcard.open { border-color: var(--teal-deep); }
.wb-hostcard .grow { flex: 1; min-width: 0; display: grid; gap: 4px; }
.wb-hostcard small { display: block; color: var(--ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.wb-hostcard small code { font-family: var(--sans); font-weight: 600; }
.wb-hostcard .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.wb-hostcard .wb-linkbox { margin: 6px 0 0; }
.wb-hostform { grid-template-columns: minmax(0, 1fr); }
.wb-hostform label { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.wb-hostform .wb-in { width: 100%; }
.wb-face { width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--sage-soft) center/cover; border: 1px solid var(--line); }
.co-page { max-width: 980px; margin: 0 auto; }
.co-accept, .co-msg { max-width: 580px; margin: 24px auto; }
.co-accept h1, .co-msg h1 { font-family: var(--serif); font-size: 30px; margin: 4px 0; }
.co-accept textarea { width: 100%; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--card); color: var(--ink); }
.co-photo { display: flex; gap: 12px; align-items: center; margin: 6px 0 4px; }
.co-face { width: 72px; height: 72px; border-radius: 50%; flex: none; background: var(--sage-soft) center/cover; border: 1px solid var(--line); }
.co-share { margin-bottom: 16px; }
.co-scroll { overflow-x: auto; }
.wb-rw { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 10px 0; font-size: 14px; color: var(--ink-soft); }
.wb-rw button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.wb-busy { opacity: .6; pointer-events: none; }
/* Webinars page and Host view */
.wb-list { display: grid; gap: 10px; }
.wb-item { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; }
.wb-item .ph { width: 64px; height: 64px; border-radius: 12px; background: var(--sage) center/cover; flex: none; }
.wb-item b { display: block; font-size: 17px; }
.wb-item small { color: var(--ink-soft); font-size: 14px; }
.wb-item .grow { flex: 1; min-width: 0; }
.wb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.wb-stat small { color: var(--ink-soft); font-size: 13px; }
.wb-stat b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--teal-ink); }
.wb-stat b.sm { font-size: 22px; padding-top: 8px; }
.wb-stat span { font-size: 13px; color: var(--ink-soft); }
.wb-hv { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.wb-ppl { width: 100%; border-collapse: collapse; font-size: 15px; }
.wb-ppl th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.wb-ppl td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.wb-ppl td small { color: var(--ink-soft); }
.wb-backstage { text-align: center; background: linear-gradient(140deg, var(--teal-deep), var(--teal)); color: #fff; border: 0; }
.wb-backstage h2 { font-family: var(--serif); color: #fff; margin: 0; }
.wb-backstage p { opacity: .9; margin: 6px 0 14px; }
.wb-backstage .btn { background: #fff; color: #1F3A14; }
.wb-flow { display: grid; gap: 8px; font-size: 15px; }
.wb-flow div { display: flex; gap: 10px; align-items: center; }
.wb-flow .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }
.wb-flow .wait { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.wb-flow small { margin-left: auto; color: var(--ink-soft); }
.wb-homecard { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0 4px; padding: 12px 16px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); }
.wb-homecard p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
.wb-homecard b { font-family: var(--serif); font-size: 19px; }
.wj { max-width: 560px; margin: 0 auto; }
.wj .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 6px; }
.wj h1 { font-family: var(--serif); margin: 0 0 4px; }
.wj select, .wj input { width: 100%; }
.wj-yin { border-radius: 18px; overflow: hidden; }
@media (max-width: 1000px) {
  .wb-builder, .wb-hv { grid-template-columns: 1fr; }
  .wb-preview { position: static; }
  .wb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wb-grid, .wb-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-filled { grid-template-columns: 1fr; }
  .wb-mrow .when { width: 100%; }
}

/* ================= Courses (v0.14.0): the Course block, a lesson, Progress, the lesson sheet ================= */
.pill.hid { background: var(--line-soft); color: var(--ink-soft); border-color: transparent; }
.pill.gold { background: var(--gold-soft); color: var(--gold-ink); border-color: transparent; }
.folder .files .f.off { opacity: .75; }
.crs .note-s, .crs-sheet .note-s { font-size: 14px; color: var(--ink-soft); margin: 0; }
.crs-top { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.crs-top .sub { margin: 4px 0 0; }
.crs-ph { font-size: 26px; }
.crs-mod { border: 1px solid var(--line); border-radius: 16px; margin-top: 16px; background: var(--card); }
.crs-mod.root { border-style: solid; }
.crs-modhd { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 18px; background: var(--paper); border-radius: 16px 16px 0 0; flex-wrap: wrap; }
.crs-mod.root .crs-les:first-child { border-top: 0; }
.crs-modhd h3 { font-size: 22px; margin: 0; }
.crs-les { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-top: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.crs-les.member { padding: 12px 18px; gap: 14px; min-height: 56px; }
.crs-les.member:hover, .crs-oles:hover { background: var(--sage-soft); }
.crs-les.now { background: var(--paper); }
.crs-open { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; color: var(--ink); text-decoration: none; min-height: 48px; }
.crs-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.crs-t b { font-weight: 600; overflow-wrap: anywhere; }
.crs-t > span { font-size: 14px; color: var(--ink-soft); }
.crs-pills { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.crs-acts { display: flex; align-items: center; gap: 2px; flex: none; }
.crs-ar { width: 36px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); font-size: 17px; }
.crs-ar:hover:not([disabled]) { background: var(--sage-soft); color: var(--ink); }
.crs-ar[disabled] { opacity: .3; }
.crs-menu { position: relative; display: inline-flex; }
.crs-menu .ch-pop { top: calc(100% + 2px); }
.crs-th { width: 72px; height: 44px; border-radius: 8px; flex: none; position: relative; overflow: hidden; background: var(--sage); display: grid; place-items: center; }
.crs-th.big { width: 140px; height: 84px; border-radius: 12px; }
.crs-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crs-th i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--card); display: grid; place-items: center; color: var(--teal-ink); box-shadow: 0 1px 3px var(--shadow); }
.crs-th i svg { width: 18px; height: 18px; }
.crs-th.proc { background: repeating-linear-gradient(45deg, var(--line-soft), var(--line-soft) 6px, var(--paper) 6px, var(--paper) 12px); }
.crs-th.none { background: var(--paper); border: 1px solid var(--line-soft); color: var(--ink-faint); }
.crs-th.none svg { width: 22px; height: 22px; }
.crs-up { font-size: 14px; color: var(--ink-soft); }
.crs-upbar, .crs-bar { display: block; height: 8px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.crs-upbar { margin-top: 6px; max-width: 280px; }
.crs-upbar i, .crs-bar i { display: block; height: 100%; background: var(--leaf); border-radius: 999px; transition: width .3s; }
.crs-none { padding: 12px 18px; margin: 0; color: var(--ink-faint); font-size: 15px; border-top: 1px solid var(--line-soft); }
.crs-add { margin-top: 16px; border: 1.5px dashed var(--sage); border-radius: 16px; padding: 14px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.crs-add .link { min-height: 44px; }
.crs-inline { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.crs-inline label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.crs-inline input { flex: 1 1 200px; width: auto; }
.crs-start { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.crs-start p { margin: 4px 0 0; color: var(--ink-soft); }
/* members */
.crs-prog { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-soft); margin: 4px 0 6px; }
.crs-cont { display: flex; gap: 18px; align-items: center; background: var(--sage-soft); border-radius: 16px; padding: 16px; margin-top: 18px; flex-wrap: wrap; }
.crs-ct { flex: 1 1 200px; min-width: 0; }
.crs-ct h3 { font-size: 24px; margin: 2px 0; }
.crs-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--switch-off); flex: none; position: relative; }
.crs-check.done { background: var(--leaf); border-color: var(--leaf); }
.crs-check.done:after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 4px; border-left: 2px solid var(--card); border-bottom: 2px solid var(--card); transform: rotate(-45deg); }
/* a lesson */
.crs-back { display: inline-block; color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; text-decoration: none; min-height: 32px; }
.crs-back:hover { color: var(--ink); }
.crs-lesson { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.crs-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--media-bg); }
.crs-video.wait { background: repeating-linear-gradient(45deg, var(--line-soft), var(--line-soft) 10px, var(--paper) 10px, var(--paper) 20px); display: grid; place-items: center; padding: 18px; text-align: center; }
.crs-video.wait p { background: var(--card); padding: 10px 14px; border-radius: 12px; margin: 0; color: var(--ink-soft); }
.crs-lhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.crs-lhead h2 { font-size: 30px; margin: 0; }
.crs-mini { margin-top: 12px; }
.crs-mini .note-s { margin-top: 6px; }
.crs-done { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-top: 16px; background: var(--card); }
.crs-h3 { font-size: 22px; margin: 22px 0 6px; }
.crs-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.crs-files { display: flex; flex-direction: column; gap: 8px; }
.crs-file { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px 6px 12px; background: var(--card); }
.crs-file svg { width: 20px; height: 20px; flex: none; color: var(--ink-soft); }
.crs-file .nm { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.crs-file.off .nm { color: var(--ink-faint); }
.crs-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.crs-outline { border-left: 1px solid var(--line-soft); padding-left: 18px; }
.crs-omod { margin: 14px 0 6px !important; }
.crs-omod:first-child { margin-top: 0 !important; }
.crs-oles { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; min-height: 44px; }
.crs-oles.now { background: var(--paper); font-weight: 600; }
/* Progress */
.crs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.crs-stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card); }
.crs-stat b { font-family: var(--serif); font-size: 30px; font-weight: 600; display: block; line-height: 1.15; }
.crs-stat b.t { font-size: 22px; overflow-wrap: anywhere; }
.crs-stat span { font-size: 14px; color: var(--ink-soft); }
.crs-tbl { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.crs-tr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .7fr); gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.crs-tr.hd { border-top: 0; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.crs-tr .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crs-tr .who b { font-weight: 600; overflow-wrap: anywhere; }
.crs-tr small { color: var(--ink-soft); font-size: 13px; }
.crs-tr .lbl { display: none; }
/* the lesson sheet */
.crs-seg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--line-soft); border-radius: 18px; padding: 4px; }
.crs-seg button { border: 0; background: transparent; border-radius: 999px; padding: 9px 14px; font-size: 15px; color: var(--ink-soft); min-height: 40px; }
.crs-seg button.on { background: var(--card); color: var(--teal-ink); font-weight: 600; box-shadow: 0 1px 2px var(--shadow); }
#ls-pane { margin-top: 10px; }
.crs-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crs-picked { font-size: 15px; overflow-wrap: anywhere; }
.crs-recs { border: 1px solid var(--line); border-radius: 12px; background: var(--card); max-height: 360px; overflow: auto; }
.crs-rec { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; border: 0; border-top: 1px solid var(--line-soft); background: transparent; color: var(--ink); font-size: 16px; min-height: 48px; }
.crs-rec:first-child { border-top: 0; }
.crs-rec.grp { background: var(--paper); }
.crs-rec.v { padding-left: 36px; }
.crs-rec.on { background: var(--sage-soft); }
.crs-rec.more { color: var(--teal-ink); font-weight: 600; justify-content: center; }
.crs-rec .t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.crs-rec .t b { font-weight: 600; }
.crs-rec small { font-size: 13px; color: var(--ink-soft); }
.crs-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--switch-off); flex: none; }
.crs-rec.on .crs-radio { border: 5px solid var(--teal); }
.crs-addfile { display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--sage); border-radius: 12px; padding: 10px; margin-top: 8px; color: var(--teal-ink); font-weight: 600; cursor: pointer; min-height: 44px; }
#ls-files .crs-file + .crs-file, #ls-files .crs-file { margin-top: 8px; }
@media (max-width: 860px) {
  .crs-lesson { grid-template-columns: 1fr; }
  .crs-outline { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 16px; }
  .crs-stats { grid-template-columns: 1fr; }
  .crs-tr.hd { display: none; }
  .crs-tr { grid-template-columns: 1fr; gap: 6px; }
  .crs-tr .lbl { display: block; }
}
@media (max-width: 600px) {
  .crs-les { flex-wrap: wrap; padding-left: 12px; }
  .crs-open { flex: 1 1 100%; }
  .crs-pills { flex: 1 1 auto; justify-content: flex-start; }
  .crs-th.big { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .crs-lhead h2 { font-size: 26px; }
  .crs-nav .btn { flex: 1 1 auto; }
}

/* ---------- Members (v0.15.0): the owner's Members card, the Add people sheet, the community header link ---------- */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.mp-add { margin-left: auto; }
.mp-list li { align-items: flex-start; }
.mp-list .tag { margin-top: 2px; }
.mp-email { display: block; word-break: break-all; }
.mp-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-soft); border: 1px dashed var(--line); flex: none; }
.mp-menu { position: relative; }
.mp-menu .pop { min-width: 160px; }
.mp-confirm { margin-top: 10px; }
.mp-sheet { max-width: 760px; }
.mp-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.mp-opt { display: flex; flex-direction: column; gap: 8px; text-align: left; align-items: flex-start; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; font: inherit; font-size: 15px; cursor: pointer; }
.mp-opt b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.mp-opt span { color: var(--ink-soft); }
.mp-opt .pill { color: var(--teal-ink); background: var(--sage-soft); border-color: transparent; }
.mp-opt.on { border-color: var(--teal-deep); background: var(--sage-soft); }
.mp-opt:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.mp-file-input { font-size: 16px; }
.mp-filerow { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 15px; background: var(--card); }
.mp-filerow span:first-child { word-break: break-all; }
.mp-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; margin-top: 14px; }
.mp-counts span { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--ink-soft); background: var(--card); }
.mp-counts b { font-family: var(--serif); font-size: 24px; display: block; color: var(--ink); font-weight: 600; }
.mp-looks { margin-top: 12px; }
.mp-looks li { flex-wrap: wrap; }
.mp-acts { display: inline-flex; gap: 4px; flex: none; margin-left: auto; }
.mp-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 16px; cursor: pointer; }
.mp-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal-deep); }
.mp-preview { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--card); }
.mp-preview iframe { width: 100%; height: 520px; border: 0; border-radius: 10px; margin-top: 10px; }
@media (max-width: 700px) { .mp-choice { grid-template-columns: 1fr; } .mp-preview iframe { height: 440px; } .mp-counts span { padding: 8px 10px; font-size: 13px; } .mp-counts b { font-size: 22px; } }

/* ---------- The Events calendar (v0.15.1): green online, lavender webinars, tan in person; tokens only ---------- */
.cal { display: block; }
.cal-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.cal-title { display: flex; flex-direction: column; gap: 2px; }
.cal-nav { display: flex; align-items: center; gap: 4px; }
.cal-nav b { font-family: var(--serif); font-size: 24px; font-weight: 600; min-width: 9ch; text-align: center; }
.cal-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dh { font-size: 12px; color: var(--ink-faint); text-align: center; padding-bottom: 2px; }
.cal-d { min-height: 86px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: var(--card); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-d.other { opacity: .55; }
.cal-d.today .cal-num { background: var(--sage-soft); color: var(--teal-ink); }
.cal-d.picked { border-color: var(--teal); }
.cal-num { background: none; border: 0; padding: 2px 6px; border-radius: 999px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; align-self: flex-start; }
.cal-chips { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-ev { display: flex; align-items: center; gap: 3px; width: 100%; border: 0; text-align: left; font: inherit; font-size: 12px; line-height: 1.25; padding: 3px 6px; border-radius: 6px;
  background: var(--sage-soft); color: var(--teal-ink); cursor: pointer; min-width: 0; }
.cal-ev span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev.lav, .cal-box.lav { background: var(--gold-soft); color: var(--gold-ink); }
.cal-ev.tan, .cal-box.tan { background: var(--beige); color: var(--clay-ink); }
.cal-rep, .cal-pin { flex: none; font-size: 11px; }
.cal-dots { display: none; gap: 3px; flex-wrap: wrap; padding: 0 4px 4px; }
.cal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); vertical-align: middle; }
.cal-dot.lav { background: var(--gold); }
.cal-dot.tan { background: var(--clay-dot); }
.cal-legend { margin-top: 10px; }
.cal-legend .cal-dot { margin: 0 2px 0 6px; }
.cal-daylist { margin-top: 10px; }
.cal-list, .cal-daylist { display: flex; flex-direction: column; gap: 10px; }
.cal-row { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.cal-row .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-row .grow b { font-weight: 600; }
.cal-box, .cal-date { width: 54px; flex: none; text-align: center; border-radius: 10px; padding: 6px 0; background: var(--sage-soft); color: var(--teal-ink); }
.cal-date b { display: block; font-family: var(--serif); font-size: 24px; line-height: 1; }
.cal-date span { font-size: 11px; }
.cal-sheet h2 { margin-top: 8px; }
.cal-close { margin-left: auto; }
.cal-kind { width: auto; display: inline-flex; cursor: default; }
.cal-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-top: 10px; }
.cal-desc { margin: 10px 0; }
.cal-spots { display: flex; flex-direction: column; gap: 2px; margin: 12px 0; }
.cal-acts { flex-wrap: wrap; gap: 8px; align-items: center; }
.cal-add { position: relative; }
.cal-add .pop { min-width: 200px; }
.cal-scope { display: flex; gap: 12px; padding: 6px 12px; font-size: 15px; }
.cal-choice { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cal-opt { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 16px; }
.cal-opt input { width: 18px; height: 18px; accent-color: var(--teal-deep); }
.ce-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.ce-times { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 10px; }
.ce-to { line-height: 44px; }
.ce-time { display: flex; align-items: center; gap: 4px; }
.ce-time select { width: auto; min-width: 64px; }
.ce-colon { font-weight: 600; }
.ce-miss { font-size: 14px; color: var(--clay-ink); margin: 4px 0 0; }
.ce-miss:empty { display: none; }
.ce-wrong select, .ce-wrong input[type=date] { border-color: var(--clay-dot); }
.ce-sub { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.ce-sub input[type=number] { width: 90px; font-size: 16px; }
.ce-days { display: flex; flex-wrap: wrap; gap: 10px; font-size: 16px; }
.ce-wrap { flex-wrap: wrap; border-radius: 14px; }
.cal-sheet select, .cal-sheet input, .cal-sheet textarea { font-size: 16px; }
.cal-sheet input[type=file] { max-width: 100%; }
/* v0.15.4.1: calendar sheets leave a margin, the page behind is locked, and the event form pins its head and foot
   while the fields scroll between them, with a fade over the foot while there is more below. */
html.cal-lock, html.cal-lock body { overflow: hidden; }
.cal-sheet { max-height: calc(100vh - var(--sat) - 12px); max-height: calc(100dvh - var(--sat) - 12px); }
.cal-form { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.cal-form .cal-hd { flex: none; padding: 22px var(--x) 10px; }
.cal-form .cal-hd h2 { margin: 0; }
.cal-form .cal-bd { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px var(--x) 18px; }
.cal-form .cal-ft { flex: none; position: relative; margin: 0; padding: 12px var(--x) calc(12px + var(--sab)); border-top: 1px solid var(--line-soft); background: var(--paper); }
.cal-form .cal-ft::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 32px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; opacity: 0; transition: opacity .2s; }
.cal-form.cal-more .cal-ft::before { opacity: 1; }
.cal-sheet #ce-spots { display: block; width: 180px; max-width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; }
@media (min-width: 701px) {
  .cal-sheet { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
  .cal-form .cal-hd { padding: 28px 28px 10px; }
  .cal-form .cal-bd { padding: 4px 28px 20px; }
  .cal-form .cal-ft { padding: 14px 28px calc(14px + var(--sab)); }
}
@media (max-width: 700px) {
  .cal-d { min-height: 46px; padding: 2px; }
  .cal-chips { display: none; }
  .cal-dots { display: flex; }
  .cal-num { font-size: 13px; padding: 2px 4px; }
  .ce-two { grid-template-columns: 1fr; }
  .cal-nav b { font-size: 20px; }
}
/* v0.15.2: Send recordings to a course, on each studio card (shared/studio-course.js) */
.scl-line { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.scl-line b { color: var(--ink); font-weight: 600; }
.scl-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scl-modes .kind { min-height: 0; }
.scl-modes .kind h4 { font-size: 17px; }
@media (max-width: 420px) { .scl-modes { grid-template-columns: 1fr; } }
.scl-more { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.sc-studio .inline select { font-size: 16px; }
.crs-studio { font-size: 13px; color: var(--ink-faint); }
/* v0.15.5 Members emails: Welcome not sent, Select all, Send welcome, Hold */
.mp-seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; border-radius: 0; overflow: visible; background: none; }
.mp-seg label { border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.mp-picking li { flex-wrap: nowrap; }
.mp-picking .grow { flex: 1 1 0; word-break: normal; overflow-wrap: anywhere; }
.mp-n { font-weight: 700; }
.mp-bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.mp-all { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.mp-all input, .mp-pick { width: 20px; height: 20px; flex: none; margin: 8px 2px 0 0; accent-color: var(--teal-deep); }
.mp-all input { margin: 0; }
.mp-pick-none { width: 20px; flex: none; margin-right: 2px; }
.mp-bulk-note { margin: 10px 0 2px; }
/* v0.15.6 Event reminders: When reminders go out (Calendar settings), Stop going, the member's setting (Profile) */
.cal-rem { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cal-rem h3 { margin: 0 0 6px; }
.cal-rem-steps { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cal-rem-steps li { display: flex; gap: 10px; align-items: flex-start; }
.cal-rem-steps .d { display: block; font-size: 14px; color: var(--ink-soft); }
.cal-rem-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sage-soft); color: var(--teal-ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cal-rem-today { margin-top: 10px; }
.cal-rem-skipped { color: var(--clay-ink); }
.cal-stop { flex-basis: 100%; }
.rem-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.rem-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 16px; }
.rem-opt input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal-deep); }
.rem-opt .d { display: block; font-size: 14px; color: var(--ink-soft); }
.rem-opt:has(input:checked) { border-color: var(--teal-deep); background: var(--sage-soft); }

/* ================= Send my sign-ups to (v0.15.4): the card (shared/webinar-sendto.js) and the host view's notes ================= */
.st-card h2 { margin: 0 0 6px; }
.st-lead { color: var(--ink-soft); margin: 0 0 14px; max-width: 62ch; }
.st-scope { margin: 4px 0 10px; }
.st-note { color: var(--ink-soft); margin: 8px 0 4px; }
.st-dest { border-top: 1px solid var(--line-soft); padding: 16px 0 6px; }
.st-dest .toggle { border-top: 0; padding: 0 0 12px; }
.st-dest .toggle b { display: block; font-size: 17px; }
.st-dest .toggle small { color: var(--ink-soft); font-size: 14px; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-left: 54px; }
.st-grid .full { grid-column: 1 / -1; }
.st-grid .hint.full { margin: 0; }
.st-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 16px; }
.st-key .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
.st-key span { flex: 1 1 auto; }
.st-key code { flex: 1 1 220px; overflow-wrap: anywhere; font-size: 14px; }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 0 54px; }
.st-row.st-end { margin-left: 0; justify-content: flex-end; }
.st-ok { font-size: 15px; color: var(--ink-soft); }
.st-ok b { color: var(--teal-ink); font-weight: 600; }
.st-ok.st-bad b { color: var(--ink); }
.st-ask, .st-secret { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.st-secret .st-key { width: 100%; }
.st-err { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--rose-soft); color: var(--ink); font-size: 15px; }
.link.st-small { font-size: 14px; }
.st-crm { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.wb-ppl tr.st-has-notes td { border-bottom: 0; padding-bottom: 2px; }
.wb-ppl tr.st-noterow td { padding-top: 0; }
.st-noterow .st-crm { margin-top: 0; }
.st-crm .pill.on:before, .st-crm .pill.wait:before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.st-crm .pill.on:before { background: var(--leaf); }
.st-crm .pill.wait:before { background: var(--rose); }
.st-why { font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }
@media (max-width: 700px) {
  .st-grid, .st-row { margin-left: 0; }
  .st-grid { grid-template-columns: minmax(0, 1fr); }
  .seg.st-scope { display: flex; }
  .seg.st-scope label { flex: 1 1 0; text-align: center; padding: 8px 6px; font-size: 14px; }
}
.st-plant { margin-top: 24px; }
/* v0.15.4: How? beside the webhook line, opening the onboarding help card. */
.st-card .toggle .st-how { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.st-card .toggle .st-how:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; border-radius: 4px; }

/* ================= Mobile Nav (v0.16.0, Oct 31 2026) =================
   Under 900px, on a Soulpreneur's SoulCast pages (html.sp-m, set by shared/nav.js): the page title at the top left
   and one row of chips under it, in place of the band and the two SoulCast rows. Every page a Soulpreneur opens has
   four tabs (html.sp-t4): Home, Create, Library, Me, the last two of which open a sheet. From 900px nothing here
   shows and the band is as it was. */
.sp-mtop { display: none; }
.sp-sheet-wrap[hidden] { display: none !important; }
@media (max-width: 899px) {
  html.sp-m #sp-nav .band, html.sp-m #sp-nav .subnav.sc { display: none; }
  html.sp-m .sp-mtop { display: flex; flex-direction: column; padding: calc(var(--sat) + 16px) var(--x) 0; background: var(--paper); }
  html.sp-m .sp-mtop > * { flex-shrink: 0; }
  .sp-mtitle { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; margin: 0; color: var(--ink); }
  /* the chip row never shrinks, and has the same space above and below it (14px, the page starts right under it) */
  .sp-mchips { display: flex; flex-shrink: 0; gap: 6px; overflow-x: auto; padding: 14px var(--x); margin: 0 calc(-1 * var(--x)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sp-mchips::-webkit-scrollbar { display: none; }
  .sp-mchip { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1; padding: 9px 13px; border-radius: 999px;
    background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; white-space: nowrap; }
  .sp-mchip.here { border-color: var(--teal); box-shadow: 0 0 0 2px var(--sage-soft); }
  .sp-mchip.main { background: var(--sage); border-color: var(--sage); font-weight: 700; }
  .sp-mchip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); flex: none; }
  .sp-mchip .dot.l { background: var(--gold); }
  .sp-mchip .dot.r { background: var(--rose); }
  html.sp-m .sc-page { padding-top: 0; }
  html.sp-m .sp-mdup { display: none; }
  html.sp-m .sc-hello { display: none; }   /* Home: the title says Home; the card says the rest */

  /* the four tabs, up to 899px (the old tab bar stops at 700px) */
  html.sp-t4 .tabs.t4 { display: block; }
  html.sp-t4 .toast { bottom: calc(var(--tabs-h) + var(--sab) + 18px); }
  .tabs.t4 a, .tabs.t4 button { flex: 1 1 0; min-width: 0; min-height: var(--tabs-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    text-decoration: none; color: var(--ink-faint); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: none; border: 0; padding: 0 2px; cursor: pointer; }
  .tabs.t4 a.here, .tabs.t4 button.here { color: var(--teal-ink); }
  .tabs.t4 .plus { width: 42px; height: 28px; border-radius: 12px; background: var(--sage); color: var(--ink); display: grid; place-items: center; }
  .tabs.t4 .plus svg { width: 20px; height: 20px; }
  .tabs.t4 .avatar.t-av { width: 26px; height: 26px; font-size: 11px; border: 2px solid var(--line); }
}

/* 701px to 899px: the four tabs need the room the old tab bar never took there (not on the pages that tuck the tabs away) */
@media (min-width: 701px) and (max-width: 780px) {
  html.sp-t4 body.has-tabs:not(.sc-make):not(.cs-edit) { padding-bottom: calc(var(--tabs-h) + var(--sab)); }
}
@media (min-width: 781px) and (max-width: 899px) {   /* Make and Edit keeps the bars from 781px */
  html.sp-t4 body.has-tabs:not(.cs-edit) { padding-bottom: calc(var(--tabs-h) + var(--sab)); }
}

/* The Create and Me sheets: slide up from the bottom, a tap outside closes */
html.sp-sheet-open, html.sp-sheet-open body { overflow: hidden; }
.sp-sheet-wrap { position: fixed; inset: 0; z-index: 95; background: var(--overlay); display: flex; align-items: flex-end; justify-content: center; }
.sp-sheet { background: var(--card); width: 100%; max-width: 560px; max-height: calc(100dvh - var(--sat) - 24px); overflow: auto; border-radius: 26px 26px 0 0;
  padding: 10px 16px calc(22px + var(--sab)); display: flex; flex-direction: column; gap: 8px; animation: sp-sheet-up .22s ease-out; }
@keyframes sp-sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sp-sheet { animation: none; } }
.sp-sheet:focus { outline: none; }
.sp-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 8px; flex: none; }
.sp-sheet-h { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 4px 4px; line-height: 1.15; }
.sp-opt { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 16px; padding: 12px 14px; }
.sp-opt .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card); flex: none; }
.sp-opt .ic svg { width: 21px; height: 21px; }
.sp-opt .tx { display: grid; gap: 1px; min-width: 0; }
.sp-opt b { font-size: 16px; }
.sp-opt small { font-size: 13px; color: var(--ink-soft); }
.sp-opt.main { background: var(--sage); padding: 16px 14px; }
.sp-opt.main small { color: var(--ink); }
.m-rd { width: 13px; height: 13px; border-radius: 50%; background: var(--rose); display: block; }
.sp-me-who { display: flex; gap: 12px; align-items: center; margin: 0 4px 6px; }
.sp-me-who .avatar { width: 44px; height: 44px; flex: none; }
.sp-me-who small { color: var(--ink-faint); font-size: 13px; word-break: break-all; }
.sp-me-list { display: flex; flex-direction: column; }
.sp-me-list a, .sp-me-list button { display: block; text-align: left; font: inherit; font-size: 16px; color: var(--ink); text-decoration: none; background: none; border: 0;
  border-top: 1px solid var(--line-soft); padding: 14px 6px; cursor: pointer; }
.sp-me-list [hidden] { display: none; }

/* SoulCast Home: Ready when you are, and one Create Graphics tile */
.sc-ready { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; max-width: 560px; }
@media (max-width: 899px) { html.sp-m .sc-hello + .sc-ready { margin-top: 0; } }   /* the hello steps aside on a phone; the card starts right under the chips */
.sc-ready h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; margin: 0 !important; }
.sc-ready p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.sc-ready-up { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 18px; padding: 16px; border-radius: 999px;
  background: var(--teal); color: var(--btn-ink); text-decoration: none; }
.sc-ready-up svg { width: 22px; height: 22px; }
.sc-ready-up:hover { background: var(--teal-deep); }
.sc-ready-rec { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 13px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; background: transparent; }
.sc-ready-rec:hover { border-color: var(--teal); }
.sc-ready-rec .rd { width: 11px; height: 11px; border-radius: 50%; background: var(--rose); }
.sc-gtile { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 16px; color: var(--ink); text-decoration: none; }
.sc-gtile b { font-size: 16px; }
.sc-gtile span { font-size: 13.5px; color: var(--ink-soft); }
.sc-gtile:hover { border-color: var(--teal); }

/* Studios: the Default star, Make default, Enter / Copy guest link / Share, and + New studio */
.sc-studio-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sc-studio-top > div { min-width: 0; }
.sc-default { flex: none; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sage); color: var(--ink); white-space: nowrap; }
.sc-makedef { flex: none; }
.sc-studio .acts.sc-studio-acts .btn { flex: 1 1 auto; }
.sc-studio .acts.sc-studio-acts .sc-dd, .sc-studio .acts.sc-studio-acts > .sc-menu { flex: none; }
@media (max-width: 520px) {   /* Enter, Copy guest link and Share on one row on a phone, as in the mockup */
  .sc-studio .acts.sc-studio-acts { display: grid; grid-template-columns: 1fr 1.75fr 1fr auto; gap: 6px; flex-wrap: nowrap; }
  .sc-studio .acts.sc-studio-acts > .btn { padding-left: 4px; padding-right: 4px; font-size: 13.5px; min-width: 0; white-space: nowrap; }
}
.sc-newstudio { display: flex; justify-content: center; margin-top: 18px; max-width: 420px; }

/* Vertical recordings show the whole picture instead of a thin middle strip */
html.sp-mnav .sc-rc .th video, html.sp-mnav .sc-th video, html.sp-mnav .sc-th img { object-fit: contain; background: var(--media-bg); }   /* the switch on */
/* v0.16.6: the wide Home (900px and up) is 0.16.1's, so its Recent cards keep 0.16.1's cropped thumbnails */
@media (min-width: 900px) {
  html.sp-mnav .sc-home-wide .sc-rc .th video, html.sp-mnav .sc-home-wide .sc-th video, html.sp-mnav .sc-home-wide .sc-th img { object-fit: cover; background: transparent; }
}
/* ================================================================ NEXT (Upload Revamp, Oct 31 2026)
   The Upload page (up-) and the Ready to make sheet (mk-). Deep green does the work; the bright green is only the
   progress bar (a state); lavender only on the Writing your transcript mark. */
.up-page { max-width: 640px; }
.up-start { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; }
.up-big { min-height: 64px; font-size: 20px; font-weight: 600; border-radius: 999px; gap: 10px; justify-content: center; }
.up-arrow { font-size: 22px; line-height: 1; }
.up-hint { color: var(--ink-soft); font-size: 15px; margin: 0; }
/* v0.16.15: the Voice Memo hint shows on phones only */
.up-hint.up-phone { display: none; }
@media (max-width: 700px) { .up-hint.up-phone { display: block; } }
.up-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-top: 18px; }
.up-card b { display: block; margin-bottom: 4px; }
.up-card p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.up-files { display: flex; flex-direction: column; gap: 10px; }
.up-file { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.up-fn { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.up-fn b { overflow-wrap: anywhere; }
.up-fn span { color: var(--ink-soft); font-size: 14px; }
.up-st.ok { color: var(--teal-ink); font-weight: 600; }
.up-st.err { color: var(--ink); }
.up-bar { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.up-bar i { display: block; height: 100%; width: 0; background: var(--leaf); transition: width .3s; }
.up-ask { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; margin: 22px 0 12px; }
.up-choices { display: flex; flex-direction: column; gap: 10px; }
.up-choice { display: flex; flex-direction: column; gap: 4px; text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 16px 18px; cursor: pointer; min-height: 64px; }
.up-choice b { font-size: 18px; }
.up-choice span { color: var(--ink-soft); font-size: 15px; }
.up-choice.main { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.up-choice.main span { color: var(--btn-ink); opacity: .88; }
.up-choice:hover { border-color: var(--teal); }
.up-chosen { margin: 18px 0 6px; font-weight: 600; color: var(--teal-ink); }
.up-who { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.up-who label { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.up-who input { font-size: 16px; }
.up-keep { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }
.up-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 4px; }
.up-done h2 { font-family: var(--serif); font-size: 30px; margin: 0; }
.up-done p { margin: 0; color: var(--ink-soft); max-width: 40ch; }
.up-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--btn-ink); display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.up-ok.lav { background: var(--gold-soft); color: var(--gold-ink); }
.up-wait { font-size: 15px; }
.up-acts { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 360px; margin-top: 8px; }
/* v0.16.10 (upload make step): See it in Library and Upload another as small links under the make button, 44 px to tap */
.up-done .up-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; max-width: none; }
.up-links a, .up-links .link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.up-ready { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; }
.up-ready span { display: block; color: var(--ink-soft); font-size: 14px; }
.mk-sheet .sc-mhead h2 { font-size: 24px; }
.mk-meta { color: var(--ink-soft); font-size: 15px; margin: -4px 0 12px; overflow-wrap: anywhere; }
.mk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-item { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; cursor: pointer; min-height: 46px; }
.mk-item input { width: 20px; height: 20px; accent-color: var(--teal); flex: none; }
.mk-item.off { opacity: .55; cursor: default; }
.mk-item small { color: var(--ink-faint); font-size: 12px; }
.mk-sub { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-left: 14px; border-left: 2px solid var(--line); }
.mk-sub[hidden] { display: none; }
.mk-for { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 14px 0 8px; font-size: 15px; }
.mk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mk-pick[hidden] { display: none; }
.mk-pick select { width: 100%; font-size: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.mk-pick .field span { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.mk-err { color: var(--ink); background: var(--rose-soft); border-radius: 12px; padding: 10px 12px; font-size: 15px; margin: 10px 0; }
.mk-err[hidden] { display: none; }
.mk-sheet #mkGo { margin-top: 6px; min-height: 52px; font-size: 17px; }
.mk-sheet #mkGo:disabled { opacity: .45; }
.mk-keep { display: block; margin: 12px auto 0; font-weight: 500; color: var(--ink-soft); }
.sc-card .mk-btn { margin-left: auto; }
.mk-item { font-size: 15px; }
@media (max-width: 340px) { .mk-list, .mk-sub, .mk-pick { grid-template-columns: 1fr; } }

/* NEXT: Library make flow and the iPhone tap fixes (Phase 0, Nov 1 2026) */
.sc-card { touch-action: manipulation; }
.sc-th .pen { width: 44px; height: 44px; top: 6px; right: 6px; }
.sc-th .pen svg { width: 18px; height: 18px; }
.sc-pickbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sage-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; font-weight: 600; }
.sc-pickbar[hidden] { display: none; }
.sc-pickbar .btn { min-height: 40px; }
html.sc-picking .sc-card .acts, html.sc-picking .sc-card .pen, html.sc-picking .sc-types, html.sc-picking #bulk { display: none; }
html.sc-picking .sc-card.pk { cursor: pointer; }
html.sc-picking .sc-card.pk:active { transform: scale(.99); }
html.sc-picking .sc-card.pk-off { opacity: .55; }
.pk-doors { display: grid; gap: 8px; margin: 4px 0 14px; }
.pk-door { display: grid; gap: 2px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 52px; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; }
.pk-door b { font-size: 16px; font-weight: 600; }
.pk-door small { color: var(--ink-soft); font-size: 13px; }
.pk-door:hover, .pk-door:focus-visible { border-color: var(--teal-deep); }
.pk-h { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 6px 0 8px; font-weight: 600; }
.pk-note { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; color: var(--ink); }
/* v0.16.16: the doors the upload sheet shows while its words are written */
.pk-soon .pk-door { cursor: default; opacity: .55; }
.pk-soon .pk-door:hover { border-color: var(--line); }
.mk-ask { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 6px 0; }
.mk-ask[hidden] { display: none; }
.mk-ask p { margin: 0 0 10px; }
.mk-ask-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-ask-row .btn { min-height: 44px; flex: 1 1 auto; }
.sc-cinfo { margin: 0 0 14px; color: var(--ink); }
.sc-cinfo-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-cinfo-acts .btn { min-height: 44px; }
.sc-popup .wait .sc-wait-sprig { display: block; color: var(--teal-deep); margin: 0 auto 8px; width: 28px; height: 28px; }
.sc-popup .wait .sc-missing p { color: var(--ink); }
/* NEXT (LIBMAKE-ONE): "Breathing new life into this one…" while an older recording is fetched, in the popup and in the pick sheet */
.sc-breathe { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 14px 0 6px; }
.sc-breathe p { margin: 0; color: var(--ink); }
.sc-breathe .sc-breathe2 { color: var(--ink-soft); }
.sc-breathe .sc-breathe2[hidden] { display: none; }
.sc-breathe .sc-wait-sprig { display: block; color: var(--teal-deep); width: 28px; height: 28px; }
.sc-popup .wait .sc-breathe { padding: 0 0 10px; }
.mk-sheet #mkGo[hidden] { display: none; }
/* NEXT, Fix speakers (shared/speakers.js): the panel in the small window. Inputs 16px. */
.sc-modal.fsp { width: min(640px, calc(100% - 32px)); }
.fsp-title { font-weight: 600; margin: 0 0 2px; }
.fsp-player { margin: 0 0 12px; }
.fsp-player[hidden], .fsp-confirm[hidden], .fsp-done[hidden], .fsp-undo[hidden], .fsp-type[hidden], .sc-merr[hidden] { display: none; }
.fsp-media { width: 100%; max-height: 220px; border-radius: 12px; background: #000; display: block; }
.fsp-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; background: var(--card); }
.fsp-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; }
.fsp-meta { color: var(--ink-soft); font-size: 14px; }
.fsp-q { margin: 6px 0; padding: 6px 10px; border-left: 3px solid var(--sage); color: var(--ink); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.fsp-play { border: 1px solid var(--sage); background: var(--sage-soft); color: var(--teal-ink); border-radius: 999px; padding: 2px 10px; font-size: 14px; min-height: 30px; cursor: pointer; }
.fsp-at { color: var(--ink-soft); font-size: 14px; }
.fsp-lab { display: block; font-weight: 600; margin: 10px 0 4px; }
.fsp-sel, .fsp-type { width: 100%; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-sizing: border-box; }
.fsp-type { margin-top: 8px; }
.fsp-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.fsp-confirm, .fsp-done, .fsp-undo { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 10px 0 0; background: var(--sage-soft); }
.fsp-confirm p, .fsp-done p, .fsp-undo p { margin: 0 0 8px; }
.fsp-ok { font-weight: 600; }
.fsp-calm { color: var(--ink-soft); }

/* ================= v0.16.20: pick while it gets ready (shared/upload-wait.js) =================
   A thin vine grows up the side of the sheet as the upload really moves along; the line beside it changes with it.
   A chosen door wears a soft check. Bright green only as a state: the vine's growing tip and the check. */
.uw { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.uw-vine { width: 30px; height: 100%; min-height: 280px; overflow: visible; }
.uw-vine .stem { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s linear; }
.uw-vine .bud.on { opacity: 1; transform: scale(1); }
.uw-vine .tip { fill: var(--leaf); stroke: none; transition: opacity .6s; }
.uw-sheet.uw-done .uw-vine .vine { opacity: .9; }
.uw-line { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--teal-ink); margin: 6px 0 2px; }
.uw-sub { color: var(--ink-soft); font-size: 15px; margin: 0 0 8px; }
.uw-sub[hidden] { display: none; }
.uw-doors { margin-top: 10px; }
.uw-door { position: relative; padding-right: 44px; }
button.uw-door { width: 100%; }
.uw-check { position: absolute; top: 50%; right: 14px; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .25s, border-color .25s; }
.uw-door.on { border-color: var(--teal-deep); background: var(--sage-soft); }
.uw-door.on .uw-check { background: var(--leaf); border-color: var(--leaf); }
.uw-door.on .uw-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }
a.uw-door .uw-check { display: none; }
a.uw-door.on .uw-check { display: block; }
.uw-door[disabled] { cursor: default; opacity: .7; }
.uw-chosen { color: var(--teal-ink); font-size: 15px; margin: 12px 0 0; }
.uw-chosen[hidden] { display: none; }
.uw-links { margin-top: 14px; }
.uw-card .link { margin-left: 6px; }
@media (prefers-reduced-motion: reduce) {
  .uw-vine .stem, .uw-vine .bud, .uw-check { transition: none; }
}

/* ================= 0.16.26, Polish 2: first impressions on a phone (Nov 4, 2026) =================
   Under 900px with Mobile Nav on (html.sp-mnav, html.sp-m, html.sp-t4). From 900px nothing here applies. */
.sc-newest, .sc-lmore, .sc-qbtn, .up-one { display: none; }
.up-tips { display: flex; flex-direction: column; gap: 10px; }   /* the three lines keep .up-start's 10px gap, so a laptop is unchanged */
.sp-me-gap { display: block; height: 10px; }
.sp-me-ver { margin: 14px 6px 4px; font-size: 13px; color: var(--ink-faint); text-align: center; }
@media (max-width: 899px) {
  /* #3: the title alone at the top, the page starts 14px under it */
  html.sp-m .sp-mtop { padding-bottom: 14px; }
  /* the version lives in the Me sheet */
  html.sp-t4 .foot { display: none; }

  /* #2: the newest recording under the two Home buttons */
  html.sp-mnav .sc-newest { display: block; margin-top: 14px; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; cursor: pointer; }
  .sc-newest h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; margin: 0 0 10px !important; }
  .sc-newest .nw { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
  .sc-newest .sc-th { border-radius: 10px; }
  .sc-newest .bd { display: grid; gap: 2px; min-width: 0; }
  .sc-newest .bd b { font-weight: 600; font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sc-newest .bd small { color: var(--ink-soft); font-size: 13px; }
  .sc-newest .rdy { color: var(--teal-ink); font-size: 13.5px; line-height: 1.3; }
  .sc-newest .nw-open { width: 100%; margin-top: 12px; min-height: 44px; }

  /* #4: the Library's top: no sentence, one sideways row of types, search behind its icon, Select in the ••• menu */
  html.sp-mnav .lib-lead { display: none; }
  html.sp-mnav .sc-head:has(.lib-lead) { display: none; }   /* its title shows at the top already, so the empty block goes too */
  html.sp-mnav #types { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--x)) 10px; padding: 0 var(--x) 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  html.sp-mnav #types::-webkit-scrollbar { display: none; }
  html.sp-mnav #types button { flex: none; white-space: nowrap; min-height: 40px; }
  /* the Reels pill (0.16.24, last on a laptop) shows third on a phone, after Everything and Clips, so the sideways row never hides it off screen */
  html.sp-mnav #types [data-type="all"], html.sp-mnav #types [data-type="clips"] { order: -2; }
  html.sp-mnav #types #type-reels { order: -1; }
  html.sp-mnav .sc-toolrow { flex-wrap: wrap; gap: 8px; }
  html.sp-mnav .sc-qbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 40px; padding: 0; font-size: 18px; }
  html.sp-mnav .sc-tools:not(.q-open) .sc-search { display: none; }
  html.sp-mnav .sc-tools.q-open .sc-search { order: 9; flex: 1 1 100%; min-width: 0; }
  html.sp-mnav .sc-lmore:not([hidden]) { display: inline-block; margin-left: auto; }
  html.sp-mnav .sc-lmore .pop { right: 0; left: auto; }
  html.sp-mnav .sc-toolrow .sc-lmore > .btn { min-width: 44px; min-height: 40px; }
  html.sp-mnav .sc-bulk.sel-only { display: none; }
  html.sp-mnav .sc-bulk [data-bulk="start"] { display: none; }

  /* #5: compact recording cards: a small picture, the title, one line and its tag, the ••• beside them; no empty row */
  html.sp-mnav .sc-grid { grid-template-columns: 1fr; gap: 10px; }
  html.sp-mnav .sc-row.sc-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 10px; border-radius: 14px; }
  html.sp-mnav .sc-row.sc-card > .sc-th { grid-column: 1; grid-row: 1; border-radius: 10px; }
  html.sp-mnav .sc-row.sc-card > .cb { grid-column: 2; grid-row: 1; padding: 0; min-width: 0; }
  html.sp-mnav .sc-row.sc-card > .acts { grid-column: 3; grid-row: 1; border-top: 0; margin: 0; padding: 0; flex-direction: column; align-items: flex-end; gap: 6px; }
  html.sp-mnav .sc-row.sc-card > :not(.sc-th):not(.cb):not(.acts):not(.pick) { grid-column: 1 / -1; }
  html.sp-mnav .sc-row.sc-card .t, html.sp-mnav .sc-row.sc-card .t.rn { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  html.sp-mnav .sc-row.sc-card .w { font-size: 13px; margin-top: 2px; }
  html.sp-mnav .sc-row.sc-card .sc-th .tile svg { width: 20px; }
  html.sp-mnav .sc-row.sc-card .sc-th .pen { display: none; }
  html.sp-mnav .sc-row.sc-card .sc-menu.wide { display: none; }
  html.sp-mnav .sc-row.sc-card .sc-menu.narrow { display: inline-block; }
  html.sp-mnav .sc-row.sc-card .acts .sc-menu.dots { margin-left: 0; }
  html.sp-mnav .sc-row.sc-card .acts .sc-menu.dots > .btn { min-width: 44px; min-height: 44px; }
  html.sp-mnav .sc-row.sc-card .acts .mk-btn { margin-left: 0; }
  html.sp-mnav .sc-row.sc-card .pick { top: 14px; left: 14px; }
  /* quick makes the same size: picture and words in one row, their buttons under them with no rule */
  html.sp-mnav .sc-grid > .sc-qcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 12px; padding: 10px; border-radius: 14px; align-items: center; }
  html.sp-mnav .sc-grid > .sc-qcard > .sc-th { border-radius: 10px; }
  html.sp-mnav .sc-grid > .sc-qcard .sc-th .qt { font-size: 12px; padding: 6px; }
  html.sp-mnav .sc-grid > .sc-qcard > .cb { padding: 0; min-width: 0; }
  html.sp-mnav .sc-grid > .sc-qcard > .acts { grid-column: 1 / -1; border-top: 0; margin-top: 8px; padding: 0; }

  /* #10: Upload: one line under the button, the rest behind Tips; quieter under the sheet; the vine a thin edge */
  html.sp-mnav .up-one { display: block; }
  html.sp-mnav .up-tips { display: none; }
  html.sp-mnav .up-tips.open { display: flex; }
  html.sp-mnav .uw-under .up-ok, html.sp-mnav .uw-under .uw-pickp { display: none; }
  html.sp-mnav .uw-under h2 { font-size: 24px; }
  .uw.uw-thin { display: block; position: relative; }
  .uw.uw-thin .uw-vine { position: absolute; left: -20px; top: 0; width: 12px; height: 100%; min-height: 0; pointer-events: none; }
}

/* v0.16.44 Admin > Studios (Studio health): one list, red flags first. */
.sh .admin-counts .n.red { color: var(--clay-ink); }
.sh-warn { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--clay); color: var(--clay-ink); }
.sh-row { margin: 0 0 12px; padding: 16px 18px; border-left: 4px solid var(--line); }
.sh-row.red { border-left-color: var(--rose); }
.sh-row.amber { border-left-color: var(--clay-dot); }
.sh-head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; justify-content: space-between; }
.sh-title { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; min-width: 0; }
.sh-title h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.sh-slug, .sh-owner .faint, .sh-next .faint { color: var(--ink-soft); font-size: 14px; overflow-wrap: anywhere; }
.sh-owner { font-size: 15px; overflow-wrap: anywhere; }
.sh-owner a { color: var(--teal-ink); }
.sh-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.sh-facts .pill { font-size: 13px; padding: 3px 10px; }
.sh-next { margin: 10px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.sh-flag { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 15px; color: var(--ink); }
.sh-flag.red { background: var(--rose-soft); }
.sh-flag.amber { background: var(--clay); color: var(--clay-ink); }
.sh-dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--rose); }
.sh-flag.amber .sh-dot { background: var(--clay-dot); }
.sh-row .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.sh-ask { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--sage-soft); }
.sh-ask p { margin: 0; font-size: 15px; }
.sh-ask .sh-acts { margin-top: 10px; }
.sh-note { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 560px) {
  .sh-row { padding: 14px 14px; }
  .sh-acts .btn { flex: 1 1 calc(50% - 8px); }
  .sh-ask .sh-acts .btn { flex: 1 1 100%; }
}

/* 0.16.54, Gateway: the owner's Asking to join list (Members card) and the front page's Ask to join. */
.mp-asking { margin: 10px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.mp-asking h3 { margin: 0 0 6px; }
.mp-ask-note { margin: 6px 0 0; color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: break-word; }
.mp-ask-acts { margin-top: 8px; gap: 8px; }
.gw-ask { margin-top: 14px; }
.gw-ask textarea { width: 100%; min-height: 84px; font-size: 16px; }
.mp-asking li { flex-wrap: nowrap; }
.mp-asking .grow { flex: 1 1 0; min-width: 0; word-break: normal; overflow-wrap: break-word; }

/* ================= 0.16.61, Guest Deliveries: Your recordings (/recordings) and the Guests page's Stop sending ================= */
.sc-gask { background: var(--gold-soft); border-radius: 12px; padding: 8px 10px; }
/* 0.16.88: what each guest was emailed, on the Guests page, and See what they got */
.sc-gmail { margin-top: 8px; display: grid; gap: 4px; justify-items: start; }
.sc-gm-line { font-size: 14px; color: var(--ink-soft); }
.sc-gm-ok { background: var(--sage-soft); color: var(--teal-ink); }
.sc-gm-wait { background: var(--card); color: var(--ink-soft); border: 1px solid var(--line); }
.sc-gm-warn { background: var(--gold-soft); color: var(--ink); }
.sc-gcopy { margin: 0 0 14px; }
.sc-gcopy-in { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.sc-gcopy-in input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf); flex: none; }
.sc-gcopy-in small { display: block; color: var(--ink-soft); font-size: 14px; }
.sc-mvlist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.sc-mvlist li { display: flex; justify-content: space-between; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.sc-mvlist small { display: block; color: var(--ink-soft); font-size: 13px; }
.sc-mvmeta small { display: block; color: var(--ink-soft); font-size: 13px; margin-bottom: 6px; }
.sc-mvframe { width: 100%; height: min(60vh, 560px); border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
.sc-mv-box { max-width: 720px; }
.sc-gask span { flex: 1 1 200px; font-size: 15px; color: var(--ink); }
.rc-host { margin: 26px 0 10px; display: flex; align-items: center; gap: 10px; }
.rc-host h2 { margin: 0; font-size: 22px; }
.rc-host .faint { font-size: 14px; }
.rc-list { display: grid; gap: 12px; }
.rc-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.rc-item h3 { font-family: var(--serif); font-size: 21px; line-height: 1.2; margin: 0 0 4px; overflow-wrap: anywhere; }
.rc-meta { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }
.rc-sum { margin: 0 0 12px; color: var(--ink); overflow-wrap: anywhere; }
.rc-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-back { margin: 0 0 14px; }
.rc-player { width: 100%; max-height: 70vh; aspect-ratio: 16 / 9; background: var(--line-soft); border-radius: 14px; display: block; margin: 0 0 14px; }
.rc-player.audio { aspect-ratio: auto; }
.rc-player.audio { background: transparent; max-height: none; }
.rc-moments { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.rc-moments button { display: flex; gap: 12px; align-items: baseline; width: 100%; text-align: left; background: var(--sage-soft); border: 0; border-radius: 12px; padding: 10px 12px; font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; }
.rc-moments .t { font-variant-numeric: tabular-nums; color: var(--teal-ink); font-weight: 600; min-width: 52px; }
.rc-tr { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.rc-tr p { margin: 0 0 12px; overflow-wrap: anywhere; }
.rc-tr b { display: block; font-size: 14px; color: var(--ink-soft); }
.rc-tr .at { background: none; border: 0; padding: 0; color: var(--teal-ink); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rc-empty { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
/* 0.16.81: a guest's gentle invitation at the end of Your recordings */
.rc-invite { margin: 32px 0 6px; padding: 20px 22px; border-radius: 18px; background: var(--gold-soft); color: var(--ink); }
.rc-invite h2 { margin: 0 0 4px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.rc-invite p { margin: 0 0 12px; color: var(--ink-soft); max-width: 60ch; }

/* ================= Soul Experience, Release A (0.16.67) =================
   Only drawn for people who see the Soul Experience parts (shared/nav.js soulOn). The two round bubbles, Community and Me,
   about 44px, a small word under each from 900px, circles only on a phone; the soft dot on Me (never red, never a number)
   that fades once Me is opened; Me's Since you were here, People, My Space, Profile & settings and View. */
.se-bubs { display: inline-flex; align-items: flex-start; gap: 12px; flex: none; }
.se-bubs .sc-dd { display: inline-flex; }
.se-bub { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; margin: 0; border: 0; background: none;
  font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 14px; }
.se-bub .se-c { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); }
.se-bub .se-c svg { width: 22px; height: 22px; }
.se-bub .se-c .avatar { width: 42px; height: 42px; font-size: 15px; }
.se-bub:hover .se-c { border-color: var(--teal); color: var(--ink); }
.se-bub:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.se-bub .se-w { font-size: 11.5px; font-weight: 500; line-height: 1; color: var(--ink-soft); }
@media (max-width: 899px) { .se-bub .se-w { display: none; } .se-bubs { gap: 10px; align-items: center; } }
.se-dot { position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--leaf);
  box-shadow: 0 0 0 2px var(--card), 0 0 10px 2px var(--leaf); opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.se-me.glow .se-dot { opacity: 1; animation: se-breathe 3.2s ease-in-out infinite; }
@keyframes se-breathe { 50% { box-shadow: 0 0 0 2px var(--card), 0 0 4px 1px var(--leaf); } }
@media (prefers-reduced-motion: reduce) { .se-me.glow .se-dot { animation: none; } }
.tabs.t4 .t-avw { position: relative; }
.tabs.t4 .t-avw .se-dot { width: 9px; height: 9px; top: -2px; right: -3px; }

.nv-menu.se-menu { min-width: 300px; max-width: min(340px, calc(100vw - 24px)); }
.se-who { display: flex; gap: 10px; align-items: center; padding: 6px 10px 8px; }
.se-who .avatar { width: 40px; height: 40px; }
.se-who b { display: block; font-size: 16px; }
.se-who small { display: block; overflow-wrap: anywhere; }
.se-k { margin: 6px 10px 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.se-quiet { margin: 2px 10px 6px; font-size: 14px; color: var(--ink-soft); }
.se-sep { display: block; border-top: 1px solid var(--line); margin: 6px 4px; }
.se-soon { display: grid; gap: 1px; padding: 8px 10px; color: var(--ink-soft); cursor: default; font-size: 15px; font-weight: 500; }
.se-soon b { font-weight: 600; }
.se-view { display: flex; align-items: center; gap: 6px; padding: 8px 10px; }
.se-view > span { flex: 1 1 auto; font-size: 14px; color: var(--ink-soft); }
.nv-menu .se-view button, .se-top .se-view button { width: auto; display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 36px; }
.se-view button[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--teal); color: var(--teal-ink); }
/* the phone sheet */
.se-top { display: flex; flex-direction: column; margin: 0 0 4px; }
.se-top .se-k { margin: 4px 6px 2px; }
.se-top .se-quiet { margin: 2px 6px 6px; }
.se-top a, .se-top .se-soon { display: grid; gap: 1px; padding: 11px 6px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.se-top .se-soon { color: var(--ink-soft); }
.se-top a b, .se-top .se-soon b { font-size: 16px; font-weight: 600; }
.se-top small { font-size: 13px; color: var(--ink-soft); }
.se-top .se-view { padding: 10px 6px; }
/* Add to your world: where each kind lives */
.kind .lives { margin: 6px 0 0; font-size: 13px; color: var(--teal-ink); font-weight: 500; }

/* ---------------------------------------------------------------- Soul Experience, Release B (0.16.68)
   Messages bubble, the Messages page, video messages (polo), Start a group, the host's settings card.
   Drawn only for people with the Soul Experience. Every colour is a token. */
.se-msg .se-n { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--sage-soft); color: var(--teal-ink); border: 1px solid var(--line); font: 600 11px/16px var(--sans); font-style: normal; text-align: center; }
.se-msg .se-n[hidden] { display: none; }

.msg-page .msg-nav { gap: 14px; }
.msg-h { display: flex; align-items: center; gap: 10px; }
.msg-h .avatar { width: 40px; height: 40px; }
.msg-face { display: inline-flex; border-radius: 50%; }
.msg-face:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.msg-lock { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; }
.msg-tools { margin-bottom: 12px; }
.msg-convs { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.msg-convs li + li { border-top: 1px solid var(--line-soft); }
.msg-conv { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; min-height: 44px; }
.msg-conv:hover { background: var(--paper); }
.msg-cl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.msg-cl small { color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-conv.unread .msg-cl small { color: var(--ink-soft); }
.msg-cr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--ink-faint); }
.msg-dot { min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px; background: var(--sage-soft); color: var(--teal-ink); font: 600 11px/20px var(--sans); font-style: normal; text-align: center; }
.msg-switch { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.msg-switch input { width: 20px; height: 20px; }
.msg-thread { display: flex; flex-direction: column; gap: 8px; max-height: 58vh; overflow-y: auto; padding: 4px 2px 10px; }
.msg-b { align-self: flex-start; max-width: 82%; background: var(--card); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 9px 12px; display: flex; flex-direction: column; gap: 4px; }
.msg-b.mine { align-self: flex-end; background: var(--sage-soft); border-radius: 16px 16px 4px 16px; }
.msg-b p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-comp { display: flex; align-items: flex-end; gap: 8px; position: sticky; bottom: 0; padding: 10px 0 calc(10px + var(--sab, 0px)); background: var(--paper); }
.msg-comp textarea { flex: 1; font-size: 16px; min-height: 44px; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--card); color: var(--ink); font-family: var(--sans); }

.polo-open { overflow: hidden; }
.polo-back { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--ink) 38%, transparent); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .polo-back { align-items: center; } }
.polo-sheet { width: min(560px, 100%); max-height: 94vh; overflow-y: auto; background: var(--card); color: var(--ink); border-radius: 20px 20px 0 0; box-shadow: var(--shadow);
  padding: 14px 16px calc(16px + var(--sab, 0px)); }
@media (min-width: 700px) { .polo-sheet { border-radius: 20px; } }
.polo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.polo-head b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.polo-k { margin: 4px 0 10px; color: var(--ink-soft); }
.polo-who, .polo-people { display: flex; flex-direction: column; gap: 8px; }
.polo-pick, .polo-person { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--ink); font: inherit; text-decoration: none; cursor: pointer; }
.polo-pick { flex-direction: column; align-items: flex-start; gap: 2px; }
.polo-pick small { color: var(--ink-faint); }
.polo-pick:hover, .polo-person:hover { border-color: var(--teal); }
.polo-for { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.polo-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 62vh; border-radius: 22px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 0 0 6px var(--sage-soft); display: grid; place-items: center; }
@media (min-width: 700px) { .polo-frame { aspect-ratio: 4 / 3; } }
.polo-frame video { width: 100%; height: 100%; object-fit: cover; }
.polo-frame .polo-back-v, .polo-frame .polo-v { object-fit: contain; background: var(--ink); }
.polo-live { transform: scaleX(-1); }
.polo-count { position: absolute; inset: 0; display: grid; place-items: center; font: 500 88px/1 var(--serif); color: var(--card); text-shadow: 0 2px 18px color-mix(in srgb, var(--ink) 60%, transparent); }
.polo-count[hidden] { display: none; }   /* 0.16.73: the countdown clears when recording starts */
.polo-mic { height: 6px; margin: 10px auto 0; max-width: 220px; border-radius: 3px; background: var(--line); overflow: hidden; }
.polo-mic i { display: block; height: 100%; width: 0; background: var(--leaf); border-radius: 3px; transition: width 80ms linear; }
.polo-mic-note { margin: 6px 0 0; text-align: center; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.polo-mic-note[hidden] { display: none; }
.msg-team { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 9px; background: var(--gold-soft); color: var(--gold-ink); font: 600 11px/1.5 var(--sans); vertical-align: middle; }   /* 0.16.73: Team */
.se-bubs.se-solo { display: inline-flex; margin-right: 10px; }
/* 0.16.92: the sun and moon in the icon row (shared/nav.js themeBtnHtml, shared/theme.js draws the icon and the word);
   the same round bubble as Messages and Community. On the phone's SoulCast top it sits at the right of the title. */
.se-mth { display: none; }
/* beside the name alone (people without Messages): no word under it and the name's height, so the band does not grow */
.se-bubs.se-solo > .se-th:only-child .se-w { display: none; }
.se-bubs.se-solo > .se-th:only-child .se-c { width: 40px; height: 40px; }
.se-bubs.se-solo > .se-th:only-child .se-c svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  html.sp-m .sp-mtop { position: relative; }
  html.sp-m .sp-mtop .se-mth { display: inline-flex; position: absolute; top: calc(var(--sat) + 10px); right: var(--x); }
  html.sp-m .sp-mtop .sp-mtitle { padding-right: 56px; }
}
.t-mw { position: relative; display: inline-flex; }   /* 0.16.77: Messages in the bottom bar */
.t-msg svg { width: 24px; height: 24px; }
.t-msg .se-n { position: absolute; top: -6px; right: -12px; }
.polo-err { color: var(--ink); font-weight: 600; }   /* 0.16.77: a recording or sending problem, said plainly */
.polo-err[hidden] { display: none; }
p.polo-err { text-align: center; margin: 8px 0; font-size: 15px; }
.polo-keep { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--line-soft); text-align: center; }
.polo-keep p { margin: 0 0 8px; font-weight: 600; }
.polo-micpick { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px auto 0; max-width: 340px; font-size: 14px; color: var(--ink-soft); }   /* 0.16.77 */
.polo-micpick[hidden] { display: none; }
.polo-micpick select { flex: 1; min-width: 0; font-size: 16px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.polo-mictry { margin-left: 4px; padding: 0; border: 0; background: none; font: 600 15px var(--sans); color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.polo-mictry[hidden] { display: none; }
.polo-quiet { text-align: center; color: var(--ink-faint); font-size: 13px; margin: 2px 0 6px; }
/* 0.16.73: the readable transcript under a video message */
.polo-tx { margin: 12px 2px 4px; }
.polo-tx[hidden] { display: none; }
.polo-txwait { margin: 0 8px; color: var(--ink-faint); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.polo-txwait::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--leaf); opacity: .7; }
.polo-txshort { margin: 0 8px; font-size: 16px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.polo-more { margin: 6px 8px 0; padding: 4px 0; background: none; border: 0; font: 600 15px var(--sans); color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.polo-more[hidden] { display: none; }
.polo-txall { max-height: 42vh; overflow-y: auto; border-top: 1px solid var(--line); padding-top: 6px; }
.polo-line { display: flex; gap: 10px; width: 100%; text-align: left; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 400 16px/1.5 var(--sans); cursor: pointer; }
.polo-line time { flex: none; width: 38px; color: var(--ink-faint); font-size: 13px; padding-top: 2px; }
.polo-line.now { background: var(--line-soft); box-shadow: inset 3px 0 0 var(--leaf); }
.polo-time { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 55%, transparent); color: var(--card); font: 500 13px/1.2 var(--sans); }
.polo-nocam { padding: 18px; text-align: center; color: var(--ink-soft); }
.polo-ctl { display: flex; justify-content: center; margin: 14px 0 6px; }
.polo-rec { width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; padding: 0; }
.polo-rec span { width: 56px; height: 56px; border-radius: 50%; background: var(--clay); transition: all .2s ease; }
.polo-rec.on span { width: 28px; height: 28px; border-radius: 8px; }
.polo-rec:disabled { opacity: .6; cursor: default; }
.polo-rec:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.polo-hint, .polo-cap, .polo-wait { text-align: center; color: var(--ink-soft); font-size: 14px; margin: 6px 0; }
.polo-wait { padding: 30px 12px; }
.polo-roll { display: block; text-align: center; color: var(--teal-ink); font-size: 15px; text-decoration: underline; cursor: pointer; min-height: 44px; line-height: 44px; }
.polo-switch { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.polo-switch input { width: 20px; height: 20px; }
.polo-acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.polo-bar { height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; margin-top: 10px; }
.polo-bar i { display: block; height: 100%; width: 0; background: var(--leaf); transition: width .2s ease; }
.polo-from { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.polo-from small { color: var(--ink-faint); }

.polo-slot:empty { display: none; }
.polo-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 6px; scrollbar-width: none; align-items: flex-start; }
.polo-row::-webkit-scrollbar { display: none; }
.polo-face { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: inherit; color: var(--ink-soft); cursor: pointer; width: 62px; }
.polo-face small { font-size: 12px; max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.polo-ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); }
.polo-ring.unseen { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--sage-soft); }
.polo-ring .avatar { width: 48px; height: 48px; }
.polo-new .polo-ring { border-style: dashed; border-color: var(--sage); }
.polo-plus { font-size: 24px; color: var(--teal-ink); }
.polo-face:focus-visible .polo-ring { outline: 2px solid var(--teal); outline-offset: 2px; }
.polo-empty { align-self: center; color: var(--ink-faint); font-size: 14px; }
.polo-card .polo-wave { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 8px; padding: 8px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.polo-card.unseen .polo-wave { border-color: var(--sage); }
.polo-tri { font-size: 14px; color: var(--teal-ink); }
.polo-bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.polo-bars i { flex: 1; background: var(--sage); border-radius: 2px; min-height: 3px; }
.polo-len { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.polo-replies { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.polo-replies .polo-card { margin: 0; }
.polo-replybtn { margin-left: auto; }
.msg-vcard { border: 0; padding: 0; background: none; }

.se-set { border: 0; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.se-set legend, .se-set > b { display: flex; flex-direction: column; margin-bottom: 4px; }
.se-set legend small, .se-set > small { color: var(--ink-faint); font-weight: 400; }
.se-opt { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; flex-wrap: wrap; }
.se-opt input { width: 20px; height: 20px; }
.se-opt small { color: var(--ink-faint); }
.se-req { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.se-req span:first-child { display: flex; flex-direction: column; }
.se-req small { color: var(--ink-faint); }
.se-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-weight: 500; }
.se-form input, .se-form textarea, .se-form select { font-size: 16px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-family: var(--sans); }

/* 0.16.71: Send to guest. The picker (shared/soulcast.js SC.sendToGuest), the Library's small button on a piece card,
   and "Shared with you" on Your recordings. Tokens only. */
.sc-gp-box .sc-mbody { max-height: min(78vh, 720px); overflow: auto; }
.sc-gp-pieces { display: grid; gap: 8px; margin: 0 0 6px; }
.sc-gp-piece { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; }
.sc-gp-piece input, .sc-gp-who input { width: 20px; height: 20px; flex: none; accent-color: var(--teal-deep); }
.sc-gp-piece b { display: block; font-weight: 600; }
.sc-gp-piece small { display: block; color: var(--ink-faint); font-size: 13px; }
.sc-gp-th { width: 52px; height: 52px; flex: none; border-radius: 10px; overflow: hidden; background: var(--line-soft); display: flex; align-items: center; justify-content: center; }
.sc-gp-th img, .sc-gp-th video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-gp-th.txt { font-size: 10px; line-height: 1.2; padding: 4px; color: var(--ink-soft); text-align: center; overflow: hidden; }
.sc-gp-sent { display: block; font-size: 13px; color: var(--teal-ink); margin-top: 2px; }
.sc-gp-confirm { display: block; margin-top: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.sc-gp-addmore { margin: 2px 0 8px; }
.sc-gp-h { font-size: 18px; margin: 14px 0 6px; }
.sc-gp-who { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sc-gp-who li { padding: 9px 10px; border: 1px solid var(--line); border-radius: 14px; }
.sc-gp-who li label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.sc-gp-who li.off { opacity: .7; }
.sc-gp-who b { font-weight: 600; }
.sc-gp-who small { display: block; color: var(--ink-faint); font-size: 13px; }
.sc-gp-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 14px 0 6px; font-weight: 600; }
.sc-gp-box textarea { width: 100%; font-size: 16px; }
.sc-piece-wrap { position: relative; display: flex; flex-direction: column; }
.sc-piece-wrap > .sc-piece { flex: 1; }
.sc-gp-chip { position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--card); }
.sc-gp-tag { position: absolute; top: 44px; right: 8px; z-index: 2; }
.rc-gift-line { margin: 0 0 10px; font-size: 14px; color: var(--gold-ink); }
.rc-gifts { margin: 0 0 18px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.rc-gifts > h2, .rc-gifts > .rc-note { grid-column: 1 / -1; margin: 0; }
.rc-note { border-left: 3px solid var(--gold); padding: 4px 12px; font-style: italic; color: var(--ink-soft); overflow-wrap: anywhere; }
.rc-note span { font-style: normal; color: var(--ink-faint); }
.rc-gift { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-width: 0; }
.rc-gift.wide { grid-column: 1 / -1; }
.rc-gift b { display: block; font-size: 15px; margin: 8px 0 4px; overflow-wrap: anywhere; }
.rc-gift-media { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.rc-gift:not(.wide) .rc-gift-media { grid-template-columns: 1fr; }
.rc-gift-media img, .rc-gift-media video { width: 100%; border-radius: 10px; display: block; background: var(--line-soft); }
.rc-gift-text { font-size: 15px; color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 5.6em; overflow: hidden; margin: 0 0 8px; }
.rc-gift-text.open { max-height: none; }
@media (max-width: 520px) { .rc-gifts { grid-template-columns: 1fr; } }
/* 0.16.72 (Virginia, Nov 16): "Which editor?" on every Edit of a video (SC.whichEditor). A bottom sheet on a phone. */
.sc-modal.sc-which { width: min(440px, calc(100% - 32px)); }
.sc-which-list { display: grid; gap: 10px; }
.sc-which-opt { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 64px; padding: 12px; text-align: left; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.sc-which-opt:hover, .sc-which-opt:focus-visible { border-color: var(--teal); }
.sc-which-opt.last { border-color: var(--teal); background: var(--sage-soft); }
.sc-which-opt .ic { flex: none; width: 34px; height: 54px; border-radius: 8px; background: var(--beige); border: 2px solid var(--line); }
.sc-which-opt .ic.wide { width: 54px; height: 32px; }
.sc-which-opt b { display: block; font-size: 16px; }
.sc-which-opt small { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.35; }
.sc-which-not { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 18px; background: none; border: 0; color: var(--ink-soft); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
@media (max-width: 700px) {
  .sc-modal.sc-which { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 85%; border-radius: 22px 22px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* 0.16.78: screen share in video messages (laptops and desktops only) */
.polo-mode { display: flex; gap: 4px; margin: 0 auto 10px; padding: 4px; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.polo-mode button { font: inherit; font-size: 14px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; }
.polo-mode button[aria-checked="true"] { background: var(--sage-soft); color: var(--ink); font-weight: 600; }
.polo-mode button:disabled { cursor: default; opacity: .6; }
.polo-scr { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); }
.polo-scr[hidden] { display: none; }
.polo-frame .polo-scr-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ink); display: none; }
.polo-scr.polo-on .polo-scr-v { display: block; }
.polo-scr.polo-on .polo-scr-note { display: none; }
.polo-scr-note { max-width: 260px; margin: 0; padding: 0 16px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.polo-frame.polo-is-both .polo-live { position: absolute; z-index: 2; width: 26%; height: auto; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--card);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--ink) 30%, transparent); cursor: grab; touch-action: none; }
.polo-frame.polo-is-both[data-corner="tl"] .polo-live { top: 4%; left: 4%; }
.polo-frame.polo-is-both[data-corner="tr"] .polo-live { top: 4%; right: 4%; }
.polo-frame.polo-is-both[data-corner="bl"] .polo-live { bottom: 4%; left: 4%; }
.polo-frame.polo-is-both[data-corner="br"] .polo-live { bottom: 4%; right: 4%; }
.polo-frame .polo-time, .polo-frame .polo-count { z-index: 3; }
.polo-drag { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); }
.polo-drag[hidden] { display: none; }

/* 0.16.80 Birdee (shared/birdee.js): one-to-one Messages, Marco Polo style. Phones: the camera fills the screen and the
   controls sit over it. Laptops: a centred phone-shaped 9:16 frame (a Screen message fills the window, 16:9). */
html.bd-on, html.bd-on body { overflow: hidden; }
html.bd-on #sp-nav, html.bd-on #sp-tabs, html.bd-on main.msg-page { visibility: hidden; }
html.bd-on .toast { top: calc(68px + env(safe-area-inset-top, 0px)); bottom: auto; }
/* 0.16.86 hotfix: Birdee's screen only (its root always has data-layout); :where() keeps the old strength. Bare .bd
   reached SoulCast Home's recording cards (.sc-rc .bd, .sc-newest .bd) and covered Home in black. */
.bd:where([data-layout]) { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; background: var(--media-bg); color: var(--on-media); font-family: "DM Sans", system-ui, sans-serif; }
.bd:where([data-layout]) button { font: inherit; cursor: pointer; }
.bd[data-layout] .bd-top { display: flex; align-items: center; gap: 8px; z-index: 4; }
.bd[data-layout] .bd-back { color: inherit; text-decoration: none; font-size: 26px; line-height: 1; display: inline-flex; align-items: center; min-height: 44px; min-width: 32px; }
.bd[data-layout] .bd-back span { font-size: 14px; font-weight: 600; }
.bd[data-layout] .bd-who { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.bd[data-layout] .bd-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd[data-layout] .bd-who .avatar { width: 30px; height: 30px; font-size: 12px; flex: none; }
.bd[data-layout] .bd-lock { font-size: 12px; opacity: .85; white-space: nowrap; }
.bd[data-layout] .bd-cd { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; min-height: 44px; white-space: nowrap; }
.bd[data-layout] .bd-cd input { width: 18px; height: 18px; accent-color: var(--leaf); }
.bd[data-layout] .bd-stage { position: relative; overflow: hidden; background: var(--media-bg); color: var(--on-media); }
.bd[data-layout] .bd-live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); background: var(--media-bg); }
.bd[data-layout] .bd-scr { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--media-bg); }
.bd[data-layout] .bd-scr-v { width: 100%; height: 100%; object-fit: contain; }
.bd[data-layout] .bd-scr-note { position: absolute; left: 16px; right: 16px; text-align: center; font-size: 14px; }
.bd[data-layout] .bd-scr.bd-on .bd-scr-note { display: none; }
.bd[data-layout].bd-both .bd-live { inset: auto; width: 22%; height: auto; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--on-media); z-index: 3; cursor: grab; touch-action: none; }
.bd[data-layout].bd-both .bd-stage[data-corner="br"] .bd-live { right: 4%; bottom: 4%; }
.bd[data-layout].bd-both .bd-stage[data-corner="bl"] .bd-live { left: 4%; bottom: 4%; }
.bd[data-layout].bd-both .bd-stage[data-corner="tr"] .bd-live { right: 4%; top: 4%; }
.bd[data-layout].bd-both .bd-stage[data-corner="tl"] .bd-live { left: 4%; top: 4%; }
.bd[data-layout] .bd-card { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.bd[data-layout] .bd-is-voice canvas { width: 100%; height: 100%; object-fit: cover; }
.bd[data-layout] .bd-is-note { background: var(--gold-soft); color: var(--gold-ink); padding: 80px 28px 220px; }
.bd[data-layout] .bd-is-note textarea { width: 100%; max-width: 420px; min-height: 160px; border: 0; background: transparent; color: inherit; resize: none; text-align: center; font: 500 28px/1.3 "Cormorant Garamond", serif; outline: none; }
.bd[data-layout] .bd-is-note textarea::placeholder { color: var(--gold-ink); opacity: .6; }
.bd[data-layout] .bd-is-photo { background: transparent; align-items: flex-start; justify-content: flex-end; padding: 70px 14px; pointer-events: none; }
.bd[data-layout] .bd-choose { pointer-events: auto; background: var(--media-glass); color: var(--on-media); border-radius: 20px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; }
.bd[data-layout] .bd-is-shot { background: var(--media-bg); }
.bd[data-layout] .bd-is-shot img { width: 100%; height: 100%; object-fit: contain; }
.bd[data-layout] .bd-caption { position: absolute; left: 14px; right: 14px; bottom: 210px; font-size: 16px; padding: 10px 12px; border-radius: 12px; border: 0; background: var(--media-glass); color: var(--on-media); }
.bd[data-layout] .bd-caption::placeholder { color: var(--on-media); opacity: .8; }
.bd[data-layout] .bd-retake { position: absolute; top: 70px; right: 14px; background: var(--media-glass); color: var(--on-media); border: 0; border-radius: 20px; padding: 8px 14px; font-weight: 600; min-height: 40px; }
.bd[data-layout] .bd-is-choose { background: var(--overlay); }
.bd[data-layout] .bd-sheet { background: var(--card); color: var(--ink); border-radius: 18px; padding: 18px; width: min(360px, 92%); box-shadow: 0 10px 40px var(--shadow); }
.bd[data-layout] .bd-sheet h3 { font: 600 22px "Cormorant Garamond", serif; margin: 0 0 10px; }
.bd[data-layout] .bd-opt { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.bd[data-layout] .bd-opt[aria-pressed="true"] { border-color: var(--teal-ink); background: var(--sage-soft); }
.bd[data-layout] .bd-opt i { width: 54px; height: 32px; border-radius: 6px; flex: none; background: var(--beige); position: relative; }
.bd[data-layout] .bd-opt i.b::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--clay-dot); border: 1.5px solid var(--card); }
.bd[data-layout] .bd-opt b, .bd[data-layout] .bd-opt small { display: block; }
.bd[data-layout] .bd-opt small { color: var(--ink-soft); font-size: 13px; }
.bd[data-layout] .bd-go { width: 100%; margin-top: 4px; }
.bd[data-layout] .bd-small { font-size: 12px; color: var(--ink-faint); margin: 8px 0 0; }
.bd[data-layout] .bd-count { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; font: 600 128px "Cormorant Garamond", serif; color: var(--on-media); text-shadow: 0 2px 18px var(--media-scrim); pointer-events: none; }
.bd[data-layout] .bd-count[hidden] { display: none; }
.bd[data-layout] .bd-time { position: absolute; left: 50%; transform: translateX(-50%); z-index: 5; background: var(--rose); color: var(--on-media); font-weight: 700; font-size: 13px; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.bd[data-layout] .bd-idle-t { position: absolute; left: 24px; right: 24px; top: 42%; z-index: 1; margin: 0; text-align: center; color: var(--on-media); opacity: .72; font-size: 15px; pointer-events: none; }   /* 0.16.169 */
.bd[data-layout] .bd-idle-t[hidden], .bd[data-layout].bd-watching .bd-idle-t { display: none; }
.bd[data-layout] .bd-say { position: absolute; left: 16px; right: 16px; top: 38%; z-index: 5; text-align: center; background: var(--media-glass); color: var(--on-media); padding: 10px 14px; border-radius: 12px; font-size: 15px; margin: 0; }
.bd[data-layout] .bd-dock { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 4; }
.bd[data-layout] .bd-react { order: 1; } .bd[data-layout] .bd-undo { order: 2; } .bd[data-layout] .bd-strip { order: 3; } .bd[data-layout] .bd-recw { order: 4; } .bd[data-layout] .bd-modes { order: 5; } .bd[data-layout] .bd-mic { order: 6; } .bd[data-layout] .bd-micpick { order: 7; } .bd[data-layout] .bd-reason { order: 8; }
/* the record button: solid, high contrast, never greyed out */
.bd[data-layout] .bd-recw { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bd[data-layout] .bd-rec { width: 78px; height: 78px; border-radius: 50%; border: 0; padding: 0; background: var(--on-media); display: grid; place-items: center; box-shadow: 0 2px 14px var(--media-scrim); }
.bd[data-layout] .bd-rec span { width: 62px; height: 62px; border-radius: 50%; background: var(--rose); transition: all .18s ease; display: grid; place-items: center; }
.bd[data-layout] .bd-rec.on span { width: 30px; height: 30px; border-radius: 7px; }
.bd[data-layout] .bd-rec.send span::after { content: "\27A4"; color: var(--on-media); font-size: 26px; margin-left: 3px; }
.bd[data-layout] .bd-rec.shutter span { background: var(--on-media); box-shadow: inset 0 0 0 4px var(--rose); }
.bd[data-layout] .bd-rec:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.bd[data-layout] .bd-label { margin: 0; font-size: 14px; font-weight: 700; text-shadow: 0 1px 4px var(--media-scrim); }
.bd[data-layout] .bd-modes { display: flex; gap: 2px; overflow-x: auto; max-width: 100%; padding: 0 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bd[data-layout] .bd-modes::-webkit-scrollbar { display: none; }
.bd[data-layout] .bd-modes button { scroll-snap-align: center; background: none; border: 0; border-bottom: 2px solid transparent; color: inherit; opacity: .72; font-size: 14px; font-weight: 600; padding: 8px 9px 6px; min-height: 40px; white-space: nowrap; }
.bd[data-layout] .bd-modes button[aria-checked="true"] { opacity: 1; border-bottom-color: currentColor; }
.bd[data-layout] .bd-strip { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 4px 12px; align-items: flex-end; scrollbar-width: none; }
.bd[data-layout] .bd-strip::-webkit-scrollbar { display: none; }
.bd[data-layout] .bd-empty { margin: 0; font-size: 13px; opacity: .92; text-align: center; }
.bd[data-layout] .bd-th { position: relative; flex: none; width: 44px; height: 78px; border-radius: 10px; overflow: hidden; border: 2px solid var(--on-media); background: var(--teal-deep); padding: 0; color: var(--on-media); display: flex; }
.bd[data-layout] .bd-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd[data-layout] .bd-th.wide { width: 92px; height: 52px; }
.bd[data-layout] .bd-th.new { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--leaf); }
.bd[data-layout] .bd-th.now { outline: 2px solid var(--on-media); outline-offset: 2px; }
.bd[data-layout] .bd-th.note { background: var(--gold-soft); color: var(--gold-ink); font-size: 9px; font-weight: 600; line-height: 1.2; padding: 5px 4px; text-align: left; align-items: flex-start; word-break: break-word; }
.bd[data-layout] .bd-th.photo { background: var(--clay); }
.bd[data-layout] .bd-th.voice::after { content: "\1F399"; position: absolute; top: 2px; left: 3px; font-size: 10px; }
.bd[data-layout] .bd-th .bd-d { position: absolute; right: 3px; bottom: 2px; font-size: 9px; font-weight: 700; text-shadow: 0 1px 2px var(--media-scrim); z-index: 1; }
.bd[data-layout] .bd-th .bd-re { position: absolute; left: 2px; bottom: 1px; font-size: 12px; z-index: 1; }
.bd[data-layout] .bd-th .bd-wait { position: absolute; inset: 0; background: var(--media-glass); animation: bd-pulse 1.4s ease-in-out infinite; }
.bd[data-layout] .bd-th .bd-pct { position: absolute; left: 0; right: 0; bottom: 0; background: var(--leaf); opacity: .6; }
.bd[data-layout] .bd-th.failed { border-color: var(--rose); }
@keyframes bd-pulse { 50% { opacity: .35; } }
.bd[data-layout] .bd-undo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--media-card); color: var(--media-ink); border-radius: 14px; padding: 10px 12px; width: min(440px, calc(100% - 28px)); font-size: 14px; }
.bd[data-layout] .bd-undo[hidden] { display: none; }
.bd[data-layout] .bd-undo > span { flex: 1 1 140px; }
.bd[data-layout] .bd-undo button { border: 1.5px solid var(--media-act); color: var(--media-act); background: transparent; border-radius: 20px; padding: 6px 14px; font-weight: 700; min-height: 40px; }
.bd[data-layout] .bd-ubar { display: block; height: 3px; background: var(--beige); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.bd[data-layout] .bd-ubar b { display: block; height: 100%; background: var(--leaf); transition: width 1s linear; }
.bd[data-layout] .bd-undo .bd-err { font-weight: 700; }
.bd[data-layout] .bd-react { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; background: var(--media-glass); border-radius: 30px; padding: 4px 8px; max-width: calc(100% - 24px); }
.bd[data-layout] .bd-react[hidden] { display: none; }
.bd[data-layout] .bd-react > button, .bd[data-layout] .bd-moregrid button { background: none; border: 0; font-size: 24px; width: 42px; height: 42px; border-radius: 50%; padding: 0; color: var(--on-media); }
.bd[data-layout] .bd-react button.armed { background: var(--media-card); }
.bd[data-layout] .bd-more { font-size: 20px !important; font-weight: 700; }
.bd[data-layout] .bd-moregrid { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(6, 42px); gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 8px 30px var(--shadow); z-index: 7; }
.bd[data-layout] .bd-moregrid[hidden] { display: none; }
.bd[data-layout] .bd-play { position: absolute; inset: 0; z-index: 3; background: var(--media-bg); }
.bd[data-layout] .bd-pv { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.bd[data-layout] .bd-v { width: 100%; height: 100%; object-fit: contain; background: var(--media-bg); }
.bd[data-layout] .bd-v::cue { font-size: 16px; }
.bd[data-layout] .bd-x { position: absolute; right: 12px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--media-glass); color: var(--on-media); font-size: 18px; font-weight: 700; }
.bd[data-layout] .bd-from { position: absolute; left: 14px; z-index: 5; font-size: 13px; font-weight: 600; text-shadow: 0 1px 3px var(--media-scrim); }
.bd[data-layout] .bd-prog { position: absolute; left: 14px; right: 14px; height: 3px; border-radius: 3px; background: var(--media-glass); z-index: 5; overflow: hidden; }
.bd[data-layout] .bd-prog b { display: block; height: 100%; width: 0; background: var(--on-media); }
.bd[data-layout] .bd-rlayer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.bd[data-layout] .bd-r { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; background: none; border: 0; color: var(--on-media); font-size: 34px; line-height: 1; padding: 0; text-align: center; animation: bd-pop .35s ease-out; }
.bd[data-layout] .bd-r small { display: block; font-size: 10px; font-weight: 600; background: var(--media-glass); border-radius: 8px; padding: 0 5px; margin-top: 2px; white-space: nowrap; }
@keyframes bd-pop { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.bd[data-layout] .bd-arm { position: absolute; top: 40%; left: 0; right: 0; text-align: center; z-index: 5; text-shadow: 0 1px 4px var(--media-scrim); pointer-events: none; margin: 0; font-weight: 600; }
.bd[data-layout] .bd-wait-t { color: var(--on-media); font-size: 14px; }
.bd[data-layout] .bd-pv.bd-note { background: var(--gold-soft); color: var(--gold-ink); flex-direction: column; padding: 60px 30px; text-align: center; }
.bd[data-layout] .bd-pv.bd-note p { font: 500 30px/1.3 "Cormorant Garamond", serif; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 70%; overflow: auto; }
.bd[data-layout] .bd-pv.bd-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bd[data-layout] .bd-cap { position: absolute; left: 16px; right: 16px; text-align: center; background: var(--media-glass); color: var(--on-media); padding: 6px 10px; border-radius: 10px; margin: 0; }
.bd[data-layout] .bd-mic { margin: 0; font-size: 13px; text-align: center; background: var(--media-glass); color: var(--on-media); border-radius: 10px; padding: 6px 10px; }
.bd[data-layout] .bd-mic[hidden], .bd[data-layout] .bd-micpick[hidden], .bd[data-layout] .bd-reason[hidden], .bd[data-layout] .bd-recw[hidden], .bd[data-layout] .bd-modes[hidden], .bd[data-layout] .bd-strip[hidden],
.bd[data-layout] .bd-scr[hidden], .bd[data-layout] .bd-card[hidden], .bd[data-layout] .bd-play[hidden], .bd[data-layout] .bd-live[hidden], .bd[data-layout] .bd-say[hidden], .bd[data-layout] .bd-time[hidden] { display: none; }
.bd[data-layout] .bd-mic button { background: none; border: 0; color: inherit; text-decoration: underline; padding: 0 4px; }
.bd[data-layout] .bd-micpick { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.bd[data-layout] .bd-micpick select { font-size: 16px; max-width: 70vw; }
.bd[data-layout] .bd-reason { margin: 0 14px; background: var(--media-card); color: var(--media-ink); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.bd[data-layout].bd-watching .bd-recw, .bd[data-layout].bd-watching .bd-modes, .bd[data-layout].bd-watching .bd-mic, .bd[data-layout].bd-watching .bd-micpick, .bd[data-layout].bd-watching .bd-cd { display: none; }
.bd[data-layout].bd-recording .bd-modes { visibility: hidden; }
.bd[data-layout].bd-recording .bd-strip, .bd[data-layout].bd-recording .bd-cd { opacity: .35; pointer-events: none; }

/* phones: the picture fills the screen, everything sits over it */
.bd[data-layout="phone"] .bd-stage { position: absolute; inset: 0; }
.bd[data-layout="phone"] .bd-top { position: absolute; top: 0; left: 0; right: 0; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 26px; background: linear-gradient(var(--media-scrim), transparent); }
.bd[data-layout="phone"] .bd-back span { display: none; }
.bd[data-layout="phone"] .bd-dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--media-scrim) 30%); }
.bd[data-layout="phone"] .bd-time { top: calc(60px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-x { top: calc(8px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-from { top: calc(62px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-prog { top: calc(54px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-cap { bottom: 190px; }
.bd[data-layout="phone"].bd-watching .bd-top .bd-lock { display: none; }

/* laptops: a phone-shaped vertical frame in the middle; a Screen message fills the window */
.bd[data-layout="laptop"] { background: var(--paper); color: var(--ink); }
.bd[data-layout="laptop"] .bd-top { padding: 6px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.bd[data-layout="laptop"] .bd-stage { margin: 12px auto 0; height: calc(100dvh - 300px); min-height: 300px; aspect-ratio: 9 / 16; border-radius: 20px; box-shadow: 0 6px 24px var(--shadow); flex: none; }
.bd[data-layout="laptop"].is-wide .bd-stage { width: calc(100vw - 24px); height: auto; aspect-ratio: 16 / 9; max-height: calc(100dvh - 190px); max-width: calc((100dvh - 190px) * 16 / 9); border-radius: 12px; margin-top: 8px; }
.bd[data-layout="laptop"] .bd-dock { padding: 8px 16px 14px; }
.bd[data-layout="laptop"] .bd-react { order: 1; background: var(--card); border: 1px solid var(--line); }
.bd[data-layout="laptop"] .bd-react > button.bd-more { color: var(--ink); }
.bd[data-layout="laptop"] .bd-undo { order: 2; } .bd[data-layout="laptop"] .bd-recw { order: 3; } .bd[data-layout="laptop"] .bd-modes { order: 4; }
.bd[data-layout="laptop"] .bd-mic { order: 5; } .bd[data-layout="laptop"] .bd-micpick { order: 6; } .bd[data-layout="laptop"] .bd-strip { order: 7; max-width: min(960px, 100%); }
.bd[data-layout="laptop"] .bd-recw { margin-top: -118px; position: relative; z-index: 5; color: var(--on-media); }
.bd[data-layout="laptop"].is-wide .bd-recw { margin-top: -110px; }
.bd[data-layout="laptop"] .bd-modes button[aria-checked="true"] { color: var(--teal-ink); }
.bd[data-layout="laptop"] .bd-th { border-color: var(--line); }
.bd[data-layout="laptop"] .bd-th.now { outline-color: var(--teal-ink); }
.bd[data-layout="laptop"] .bd-th.new { border-color: var(--leaf); }
.bd[data-layout="laptop"] .bd-empty { color: var(--ink-soft); }
.bd[data-layout="laptop"] .bd-time { top: 12px; }
.bd[data-layout="laptop"] .bd-x { top: 10px; right: 10px; }
.bd[data-layout="laptop"] .bd-from { top: 16px; }
.bd[data-layout="laptop"] .bd-prog { bottom: 8px; }
.bd[data-layout="laptop"] .bd-cap { bottom: 24px; }
.bd[data-layout="laptop"] .bd-caption { bottom: 110px; }
.bd[data-layout="laptop"] .bd-retake { top: 12px; }
.bd[data-layout="laptop"] .bd-is-photo { padding-top: 12px; }
.bd[data-layout="laptop"] .bd-is-note { padding-bottom: 130px; }
.bd[data-layout="laptop"] .bd-mic { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-r, .bd[data-layout] .bd-th .bd-wait, .bd[data-layout] .bd-rec span, .bd[data-layout] .bd-ubar b { animation: none; transition: none; } }

/* 0.16.90 Birdee round 2 (shared/birdee.js). Every rule is under Birdee's own root, .bd[data-layout]. */
/* captions drawn by Birdee: Cormorant Garamond bold, white with a soft shadow on a light pill, about two thirds down */
.bd[data-layout] .bd-cline { position: absolute; left: 50%; bottom: 34%; transform: translateX(-50%); z-index: 5; width: max-content; max-width: 84%; margin: 0; text-align: center; pointer-events: none;
  font: 700 21px/1.25 "Cormorant Garamond", Garamond, serif; letter-spacing: .005em; color: var(--on-media); text-shadow: 0 1px 2px var(--media-scrim), 0 0 12px var(--media-scrim);
  background: var(--birdee-cap-pill); padding: 5px 12px 6px; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bd[data-layout="laptop"] .bd-cline { font-size: 17px; }
.bd[data-layout] .bd-cnote { position: absolute; left: 50%; bottom: 34%; transform: translateX(-50%); z-index: 5; margin: 0; white-space: nowrap; font-size: 13px; background: var(--media-glass); color: var(--on-media); padding: 4px 12px; border-radius: 999px; pointer-events: none; }
.bd[data-layout] .bd-ptools { position: absolute; z-index: 6; display: flex; gap: 6px; }
.bd[data-layout="phone"] .bd-ptools { top: calc(10px + env(safe-area-inset-top, 0px)); right: 60px; }
.bd[data-layout="laptop"] .bd-ptools { top: 12px; right: 58px; }
.bd[data-layout] .bd-cc { font: 600 12px "DM Sans", system-ui, sans-serif; color: var(--on-media); background: var(--media-glass); border: 1.5px solid var(--on-media); border-radius: 8px; padding: 6px 10px; min-height: 36px; cursor: pointer; }
.bd[data-layout] .bd-cc[aria-pressed="false"] { opacity: .6; text-decoration: line-through; }
.bd[data-layout] .bd-tl { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; background: none; color: inherit; padding: 7px 8px; border-radius: 10px; font: 400 14px/1.4 "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-tl i { font-style: normal; color: var(--ink-faint); font-size: 12px; min-width: 34px; padding-top: 2px; }
.bd[data-layout] .bd-tl.on { background: var(--gold-soft); }
.bd[data-layout] .bd-cline[hidden], .bd[data-layout] .bd-cnote[hidden] { display: none; }
/* reactions float up the edge */
.bd[data-layout] .bd-fl { position: absolute; z-index: 5; line-height: 1; padding: 0; border: 0; background: none; pointer-events: none; filter: drop-shadow(0 2px 4px var(--media-scrim)); will-change: transform, opacity; }
.bd[data-layout] .bd-fl.mine { pointer-events: auto; cursor: pointer; }
/* Note colours */
.bd[data-layout] .bd-is-note textarea::placeholder { color: inherit; opacity: .55; }
.bd[data-layout] .bd-dots { position: absolute; left: 0; right: 0; bottom: 218px; display: flex; justify-content: center; gap: 9px; z-index: 3; }
.bd[data-layout="laptop"] .bd-dots { bottom: 128px; }
.bd[data-layout] .bd-dots button { width: 28px; height: 28px; border-radius: 50%; padding: 0; border: 2px solid var(--on-media); box-shadow: 0 1px 4px var(--media-scrim); cursor: pointer; }
.bd[data-layout] .bd-dots button[aria-checked="true"] { outline: 2.5px solid var(--media-ink); outline-offset: 2px; }
/* the filmstrip: read and unread, Seen, readable note tiles */
.bd[data-layout] .bd-th.new { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--leaf), 0 0 10px 2px var(--birdee-ring-glow); animation: bd-breathe 2.6s ease-in-out infinite; }
.bd[data-layout] .bd-th.new.lav { border-color: var(--note-lilac); box-shadow: 0 0 0 2px var(--note-lilac), 0 0 10px 2px var(--birdee-ring-glow-lav); }
.bd[data-layout] .bd-th.new::before { content: ""; position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); border: 1.5px solid var(--media-bg); z-index: 2; }
.bd[data-layout] .bd-th.new.lav::before { background: var(--note-lilac); }
@keyframes bd-breathe { 50% { filter: brightness(1.12); } }
.bd[data-layout] .bd-th.voice::after { left: 50%; transform: translateX(-50%); }
.bd[data-layout] .bd-th .bd-you { position: absolute; left: 3px; top: 3px; z-index: 2; font: 700 8.5px/1.5 "DM Sans", system-ui, sans-serif; background: var(--media-scrim); color: var(--on-media); border-radius: 999px; padding: 0 4px; }
.bd[data-layout] .bd-th .bd-seen { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; font: 700 8.5px/1.6 "DM Sans", system-ui, sans-serif; text-align: center; background: var(--media-scrim); color: var(--on-media); }
.bd[data-layout] .bd-th:has(.bd-seen) .bd-d, .bd[data-layout] .bd-th:has(.bd-seen) .bd-re { bottom: 14px; }
.bd[data-layout] .bd-th.note { width: 58px; padding: 6px 4px; align-items: center; justify-content: center; text-align: center; font: 700 13px/1.12 "Cormorant Garamond", Garamond, serif; word-break: normal; overflow-wrap: normal; hyphens: none; }
.bd[data-layout] .bd-th .bd-nw { display: block; max-height: 100%; overflow: hidden; }
.bd[data-layout] .bd-readbar { transition: none; }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-th.new { animation: none; } }

/* 0.16.90: on a phone the camera preview is exactly the 9:16 picture that is sent (black above and below on a taller
   screen), never cut further to fill the screen, so it matches what the phone's own camera shows in video */
.bd[data-layout="phone"] .bd-live { top: 0; right: 0; bottom: 0; left: 0; margin: auto; width: min(100vw, 100dvh * 9 / 16); height: min(100dvh, 100vw * 16 / 9); object-fit: cover; }
/* 0.16.90 the Birdee arrival (shared/nav.js): the blue jay glides to the Messages icon, perches, says "You have a Birdee!" */
.birdee-fly { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; }
.birdee-fly canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.birdee-jay { position: absolute; left: 0; top: 0; will-change: transform; filter: drop-shadow(0 3px 5px var(--birdee-say-shadow)); }
.birdee-say { position: absolute; margin: 0; background: var(--birdee-say); color: var(--birdee-say-ink); border: 1px solid var(--birdee-say-line); border-radius: 16px; padding: 7px 13px; font: 600 16px/1.2 "Cormorant Garamond", Garamond, serif; white-space: nowrap; box-shadow: 0 4px 14px var(--birdee-say-shadow); opacity: 0; transform: translateY(4px) scale(.96); transition: opacity .22s, transform .22s; }
.birdee-say.on { opacity: 1; transform: none; }
.birdee-say::after { content: ""; position: absolute; right: 22px; width: 10px; height: 10px; background: var(--birdee-say); border: 1px solid var(--birdee-say-line); border-top: 0; border-left: 0; }
.birdee-say.down::after { bottom: -6px; transform: rotate(45deg); }
.birdee-say.up::after { top: -6px; transform: rotate(225deg); }
.se-msg.birdee-glow svg { animation: birdee-glow 1.8s ease-out 1; }
.se-msg.birdee-bump svg { animation: birdee-bump .35s ease-out 1; }
@keyframes birdee-glow { 35% { filter: drop-shadow(0 0 7px var(--gold)); } }
@keyframes birdee-bump { 50% { transform: translateY(2px) scale(.94); } }
@media (prefers-reduced-motion: reduce) { .birdee-say { transition: none; } }
/* 0.16.201: "You have a Birdee!" on its own layer beside Messages (shared/nav.js finds a free spot); its little point
   sits over or under the icon, and leaves when the words sit to one side; a softer fade out */
.birdee-sayhost { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; }
.birdee-sayhost .birdee-say { transition: opacity .4s, transform .4s; }
.birdee-sayhost .birdee-say::after { right: auto; left: calc(var(--birdee-tail, 50%) - 6px); }
.birdee-sayhost .birdee-say:not(.up):not(.down)::after { display: none; }
@media (prefers-reduced-motion: reduce) { .birdee-sayhost .birdee-say { transition: opacity .3s; transform: none; } }
/* 0.16.90 the Messages page is named Birdee */
.msg-sub { color: var(--ink-soft); margin: -4px 0 14px; }
.birdee-welcome { background: var(--gold-soft); border-color: transparent; margin-bottom: 14px; }
.birdee-welcome[hidden] { display: none; }
.birdee-welcome b { display: block; font: 600 20px "Cormorant Garamond", serif; color: var(--ink); }
.birdee-welcome p { color: var(--ink-soft); margin: 4px 0 10px; }

/* 0.16.92 Birdee round 3, Watch or Read (shared/birdee.js). Every rule is under Birdee's own root, .bd[data-layout].
   Closed for everyone; nothing opens on its own; closed, the Birdee screen looks exactly as in 0.16.90. */
.bd[data-layout] { --bd-cw: min(360px, 38vw); }
.bd[data-layout] .bd-conv { position: fixed; z-index: 7; display: flex; flex-direction: column; background: var(--card); color: var(--ink); overflow: hidden; }
.bd[data-layout] .bd-conv[hidden] { display: none; }
.bd[data-layout] .bd-ch { display: flex; align-items: center; gap: 8px; padding: 12px 14px 4px; }
.bd[data-layout] .bd-ch h4 { flex: 1; margin: 0; font: 600 21px/1.2 "Cormorant Garamond", Garamond, serif; color: var(--ink); }
.bd[data-layout] .bd-cx { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 15px; }
.bd[data-layout] .bd-csl { display: block; padding: 6px 14px 8px; }
.bd[data-layout] .bd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bd[data-layout] .bd-cs { width: 100%; box-sizing: border-box; font: 400 16px "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; min-height: 44px; }
.bd[data-layout] .bd-csb { display: block; text-align: left; color: var(--ink-soft); cursor: text; }   /* 0.16.169: the search before it is tapped */
.bd[data-layout] textarea.bd-caption { resize: none; overflow: hidden; line-height: 1.3; font-family: inherit; }
.bd[data-layout] .bd-cs:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.bd[data-layout] .bd-cnone { margin: 4px 16px; font-size: 14px; color: var(--ink-soft); }
.bd[data-layout] .bd-cnone[hidden] { display: none; }
.bd[data-layout] .bd-cl { flex: 1; overflow: auto; padding: 4px 10px 16px; overscroll-behavior: contain; }
.bd[data-layout] .bd-ci { padding: 10px 6px 12px; border-bottom: 1px solid var(--line-soft); }
.bd[data-layout] .bd-ci[hidden] { display: none; }
.bd[data-layout] .bd-cm { display: flex; align-items: center; gap: 8px; margin: 0 2px 6px; font-size: 13px; }
.bd[data-layout] .bd-cm b { font-weight: 600; color: var(--ink); }
.bd[data-layout] .bd-cm time { color: var(--ink-faint); font-size: 12px; }
.bd[data-layout] .bd-cdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bd[data-layout] .bd-cdot.g { background: var(--leaf); box-shadow: 0 0 6px var(--birdee-ring-glow); }
.bd[data-layout] .bd-cdot.l { background: var(--note-lilac); box-shadow: 0 0 6px var(--birdee-ring-glow-lav); }
.bd[data-layout] .bd-cre { margin-left: auto; font-size: 15px; letter-spacing: 2px; }
.bd[data-layout] .bd-cgo { display: block; border: 0; padding: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.bd[data-layout] .bd-cgo:focus-visible, .bd[data-layout] .bd-tl:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.bd[data-layout] .bd-cth { position: relative; width: 64px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--media-bg); margin: 0 0 6px 2px; }
.bd[data-layout] .bd-cth.wide { width: 112px; aspect-ratio: 16 / 9; }
.bd[data-layout] .bd-cth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd[data-layout] .bd-cth .bd-d { position: absolute; right: 4px; bottom: 4px; font-size: 11px; color: var(--on-media); background: var(--media-glass); border-radius: 6px; padding: 1px 5px; }
.bd[data-layout] .bd-cvo { font: 600 13px "DM Sans", system-ui, sans-serif; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; min-height: 36px; margin: 0 0 6px 2px; }
.bd[data-layout] .bd-cph { width: 96px; border-radius: 10px; overflow: hidden; margin: 0 0 4px 2px; background: var(--paper); min-height: 54px; }
.bd[data-layout] .bd-cph img { width: 100%; display: block; }
.bd[data-layout] .bd-ccap { margin: 2px 4px 0; font-size: 14px; line-height: 1.45; }
.bd[data-layout] .bd-cnt { width: 100%; box-sizing: border-box; border-radius: 14px; padding: 12px 14px; font: 500 17px/1.45 "Cormorant Garamond", Garamond, serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.bd[data-layout] .bd-cnt small { display: block; font: 500 11.5px "DM Sans", system-ui, sans-serif; opacity: .8; margin-bottom: 4px; }
.bd[data-layout] .bd-ctx .bd-tl { padding: 6px 6px; }
.bd[data-layout] .bd-cwait { margin: 2px 4px; font-size: 13px; color: var(--ink-soft); }
.bd[data-layout] .bd-ci mark { background: var(--gold-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.bd[data-layout] .bd-ci-mine .bd-cm b { color: var(--teal-ink); }
/* laptop: the quiet Read button beside the frame; the panel from the right, and the frame glides over to make room */
.bd[data-layout="laptop"] .bd-readall { position: fixed; z-index: 6; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); font: 600 13px "DM Sans", system-ui, sans-serif; box-shadow: 0 2px 10px var(--shadow); }
.bd[data-layout="laptop"] .bd-readall svg { width: 18px; height: 18px; }
.bd[data-layout="laptop"] .bd-readall:hover, .bd[data-layout="laptop"] .bd-readall[aria-expanded="true"] { color: var(--ink); border-color: var(--teal); }
.bd[data-layout="laptop"] .bd-readall:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.bd[data-layout="laptop"] .bd-readall.in-frame { background: var(--media-glass); color: var(--on-media); border-color: var(--on-media); box-shadow: none; }
.bd[data-layout="laptop"] .bd-conv { top: 64px; right: 16px; bottom: 16px; width: var(--bd-cw); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px var(--shadow); animation: bd-conv-in .32s ease-out; }
@keyframes bd-conv-in { from { transform: translateX(24px); opacity: 0; } }
.bd[data-layout="laptop"] .bd-stage, .bd[data-layout="laptop"] .bd-dock { transition: transform .34s ease; }
.bd[data-layout="laptop"].bd-conv-on .bd-stage, .bd[data-layout="laptop"].bd-conv-on .bd-dock { transform: translateX(calc((var(--bd-cw) + 32px) / -2)); }
.bd[data-layout="laptop"].bd-conv-on .bd-dock { max-width: calc(100vw - var(--bd-cw) - 48px); align-self: center; box-sizing: border-box; }
.bd[data-layout="laptop"].bd-conv-on.is-wide .bd-stage { width: calc(100vw - var(--bd-cw) - 56px); max-width: calc((100dvh - 190px) * 16 / 9); }
/* phone: Watch | Read at the top (it always starts on Watch); Read is the same thread as a scrolling chat; a swipe up
   on the filmstrip pulls it up as a sheet */
.bd[data-layout="phone"] .bd-top { flex-wrap: wrap; }
.bd[data-layout="phone"] .bd-wr { order: 9; flex-basis: 100%; display: flex; justify-content: center; }
.bd[data-layout="phone"] .bd-wr button { min-height: 36px; min-width: 76px; padding: 6px 14px; border: 1.5px solid var(--on-media); background: var(--media-glass); color: var(--on-media); font: 600 13px "DM Sans", system-ui, sans-serif; }
.bd[data-layout="phone"] .bd-wr button:first-child { border-radius: 999px 0 0 999px; border-right-width: .75px; }
.bd[data-layout="phone"] .bd-wr button:last-child { border-radius: 0 999px 999px 0; border-left-width: .75px; }
.bd[data-layout="phone"] .bd-wr button[aria-pressed="true"] { background: var(--on-media); color: var(--media-ink); }
.bd[data-layout="phone"] .bd-wr button:focus-visible { outline: 2px solid var(--on-media); outline-offset: 2px; }
.bd[data-layout="phone"] .bd-time { top: calc(100px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-from { top: calc(102px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-prog { top: calc(94px + env(safe-area-inset-top, 0px)); }
.bd[data-layout="phone"] .bd-strip { touch-action: pan-x; }
.bd[data-layout="phone"] .bd-conv { left: 0; right: 0; bottom: 0; }
.bd[data-layout="phone"] .bd-conv[data-as="page"] { top: calc(98px + env(safe-area-inset-top, 0px)); border-radius: 18px 18px 0 0; }
.bd[data-layout="phone"] .bd-conv[data-as="sheet"] { top: 18vh; z-index: 9; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px var(--shadow); animation: bd-sheet-up .3s ease-out; }
.bd[data-layout="phone"] .bd-conv[data-as="page"] .bd-cx { display: none; }
.bd[data-layout="phone"] .bd-cl { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
@keyframes bd-sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-conv, .bd[data-layout="laptop"] .bd-stage, .bd[data-layout="laptop"] .bd-dock { animation: none; transition: none; } }

/* 0.16.106 the Birdee Back round (shared/birdee.js). Every rule is under Birdee's own root, .bd[data-layout]. One spacing
   scale (4, 8, 12, 16, 24): 12 from every edge, 8 between buttons in a row, 12 in the rail. */
/* the record button: deep green, a coral dot, a thin cream ring that keeps it clear over green clothes, plants or dark video */
.bd[data-layout] .bd-rec { width: 64px; height: 64px; background: var(--birdee-rec); border: 2px solid var(--birdee-rec-ring); box-shadow: 0 0 0 1px rgba(0, 0, 0, .22), 0 2px 10px var(--media-scrim); }
.bd[data-layout] .bd-rec span { width: 24px; height: 24px; background: var(--birdee-rec-dot); }
.bd[data-layout] .bd-rec.on span { width: 20px; height: 20px; border-radius: 5px; }
.bd[data-layout] .bd-rec.send span { width: 40px; height: 40px; }
.bd[data-layout] .bd-rec.send span::after { font-size: 20px; }
.bd[data-layout] .bd-rec.shutter span { width: 40px; height: 40px; background: var(--birdee-rec-ring); box-shadow: inset 0 0 0 4px var(--birdee-rec-dot); }
.bd[data-layout] .bd-rec:focus-visible, .bd[data-layout] .bd-bb:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.bd[data-layout] .bd-label { font-size: 13px; font-weight: 600; }
/* the rail: three reactions in soft round chips, then Birdee Back; its label 12 from the edge */
.bd[data-layout] .bd-rail { position: fixed; z-index: 6; width: max-content; min-width: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bd[data-layout] .bd-rail[hidden], .bd[data-layout] .bd-bb[hidden], .bd[data-layout] .bd-bbl[hidden] { display: none; }
.bd[data-layout] .bd-rrx { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bd[data-layout] .bd-rrx:empty { display: none; }
.bd[data-layout] .bd-rx { width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: var(--birdee-chip); font-size: 17px; line-height: 1; display: grid; place-items: center; }
.bd[data-layout] .bd-rx:focus-visible { outline: 2px solid var(--on-media); outline-offset: 2px; }
.bd[data-layout] .bd-bb { width: 40px; height: 40px; border-radius: 50%; padding: 0; background: var(--birdee-rec); border: 2px solid var(--birdee-rec-ring); box-shadow: 0 0 0 1px rgba(0, 0, 0, .22), 0 2px 8px var(--media-scrim); display: grid; place-items: center; }
.bd[data-layout] .bd-bb i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--birdee-rec-dot); }
.bd[data-layout] .bd-bbl { margin-top: -8px; font: 600 11px/1.2 "DM Sans", system-ui, sans-serif; white-space: nowrap; color: var(--on-media); text-shadow: 0 1px 3px var(--media-scrim); pointer-events: none; }
.bd[data-layout="laptop"] .bd-rail:not(.in-frame) .bd-rx { background: var(--card); border: 1px solid var(--line); }
.bd[data-layout="laptop"] .bd-rail:not(.in-frame) .bd-rx:focus-visible { outline-color: var(--teal); }
.bd[data-layout="laptop"] .bd-rail:not(.in-frame) .bd-bbl { color: var(--ink); text-shadow: none; }
/* the caption: a solid pill with equal padding; drag it to a third (or under the picture on a laptop) */
.bd[data-layout] .bd-capx, .bd[data-layout] > .bd-cnote { position: fixed; z-index: 6; transform: translateX(-50%); width: max-content; box-sizing: border-box; margin: 0; text-align: center; }
.bd[data-layout] .bd-capx { font: 700 21px/1.24 "Cormorant Garamond", Garamond, serif; letter-spacing: .005em; color: var(--on-media); background: var(--birdee-cap-solid); padding: 8px 12px; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: top .25s ease; }
.bd[data-layout="laptop"] .bd-capx { font-size: 24px; }
.bd[data-layout] .bd-capx.lift { transition: none; cursor: grabbing; outline: 2px solid var(--on-media); box-shadow: 0 10px 28px var(--media-scrim); }
.bd[data-layout] > .bd-cnote { font-size: 13px; background: var(--media-glass); color: var(--on-media); padding: 4px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.bd[data-layout] > .bd-cnote.under { background: var(--birdee-cap-solid); }
.bd[data-layout] .bd-capx[hidden], .bd[data-layout] > .bd-cnote[hidden], .bd[data-layout] .bd-zones[hidden] { display: none; }
.bd[data-layout] .bd-zones { position: fixed; z-index: 5; pointer-events: none; display: grid; grid-template-rows: repeat(3, 1fr); gap: 8px; }
.bd[data-layout] .bd-zones span { border: 1.5px dashed rgba(255, 255, 255, .6); border-radius: 12px; padding: 4px 8px; font: 600 11px "DM Sans", system-ui, sans-serif; color: var(--on-media); text-align: right; text-shadow: 0 1px 3px var(--media-scrim); }
.bd[data-layout] .bd-zones span.u { position: absolute; left: 0; right: 0; height: 44px; border-color: var(--ink-faint); color: var(--ink-soft); text-shadow: none; }
/* one control row: pause, the times on the scrubber, speed, sound, CC, more; only what is on is shaded */
.bd[data-layout] .bd-wbar { order: 9; position: relative; width: 100%; box-sizing: border-box; padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.bd[data-layout] .bd-wbar[hidden], .bd[data-layout] .bd-menu[hidden], .bd[data-layout] .bd-bbx[hidden] { display: none; }
.bd[data-layout] .bd-scrub { display: flex; align-items: center; gap: 8px; height: 20px; font: 500 11px/1 "DM Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px var(--media-scrim); }
.bd[data-layout] .bd-seek { flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --bd-tr: rgba(255, 255, 255, .35); --bd-fill: var(--on-media); }
.bd[data-layout] .bd-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--bd-fill) var(--p, 0%), var(--bd-tr) var(--p, 0%)); }
.bd[data-layout] .bd-seek::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--bd-fill) var(--p, 0%), var(--bd-tr) var(--p, 0%)); }
.bd[data-layout] .bd-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; border: 0; background: var(--bd-fill); box-shadow: 0 1px 4px var(--media-scrim); }
.bd[data-layout] .bd-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 0; background: var(--bd-fill); box-shadow: 0 1px 4px var(--media-scrim); }
.bd[data-layout] .bd-seek:focus-visible { outline: 2px solid var(--on-media); outline-offset: 2px; }
.bd[data-layout] .bd-ctl { display: flex; align-items: center; gap: 8px; height: 32px; }
.bd[data-layout] .bd-sp { flex: 1; }
.bd[data-layout] .bd-cb { height: 32px; min-width: 32px; padding: 0 8px; border-radius: 999px; border: 0; background: transparent; color: var(--on-media); font: 600 13px "DM Sans", system-ui, sans-serif; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; text-shadow: 0 1px 3px var(--media-scrim); }
.bd[data-layout] .bd-cb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px var(--media-scrim)); }
.bd[data-layout] .bd-cb svg.fill { fill: currentColor; stroke: none; }
.bd[data-layout] .bd-cb.on { background: var(--on-media); color: var(--media-ink); text-shadow: none; }
.bd[data-layout] .bd-cb.on svg { filter: none; }
.bd[data-layout] .bd-cb:focus-visible { outline: 2px solid var(--on-media); outline-offset: 2px; }
/* More: the speed list (also a long press on speed), more reactions, Read */
.bd[data-layout] .bd-menu { position: absolute; right: 12px; bottom: calc(100% + 8px); z-index: 8; width: min(300px, calc(100vw - 24px)); box-sizing: border-box; max-height: 60vh; overflow: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: 0 10px 30px var(--shadow); }
.bd[data-layout] .bd-mh { margin: 0 0 8px; font: 600 12px "DM Sans", system-ui, sans-serif; color: var(--ink-faint); }
.bd[data-layout] .bd-mspd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.bd[data-layout] .bd-mspd button, .bd[data-layout] .bd-mi { min-height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 14px "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-mspd button[aria-checked="true"] { background: var(--teal-ink); border-color: var(--teal-ink); color: var(--paper); }
.bd[data-layout] .bd-mrx { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 12px; }
.bd[data-layout] .bd-mrx button { height: 40px; border: 0; background: none; border-radius: 50%; font-size: 22px; padding: 0; }
.bd[data-layout] .bd-mi { width: 100%; }
.bd[data-layout] .bd-menu button:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
/* Cancel, while Birdee Back has the recorder open */
.bd[data-layout] .bd-bbx { height: 32px; padding: 0 12px; border-radius: 999px; font: 600 13px "DM Sans", system-ui, sans-serif; white-space: nowrap; }
/* the picture has the room: the top bar and the filmstrip fade away while a Birdee plays */
.bd[data-layout] .bd-top, .bd[data-layout] .bd-x, .bd[data-layout] .bd-from, .bd[data-layout] .bd-strip { transition: opacity .35s ease; }
.bd[data-layout].bd-tucked .bd-top, .bd[data-layout].bd-tucked .bd-x, .bd[data-layout].bd-tucked .bd-from { opacity: 0; pointer-events: none; }
.bd[data-layout].bd-watching .bd-react { display: none; }
/* phone */
.bd[data-layout="phone"].bd-tucked .bd-strip { display: none; }
.bd[data-layout="phone"].bd-watching.bd-vid:not(.bd-tucked) .bd-dock { background: var(--birdee-dock); padding-top: 12px; }
.bd[data-layout="phone"].bd-watching.bd-vid:not(.bd-tucked) .bd-play { bottom: var(--bd-dockh, 0px); }
.bd[data-layout="phone"] .bd-play { transition: bottom .3s ease; }
.bd[data-layout="phone"] .bd-bbx { position: fixed; z-index: 6; left: 12px; top: calc(108px + env(safe-area-inset-top, 0px)); border: 1.5px solid var(--on-media); background: var(--media-glass); color: var(--on-media); }
/* laptop: the filmstrip is a column on the left; the top bar steps aside while a Birdee plays (a click brings it back) */
.bd[data-layout="laptop"] .bd-strip { position: fixed; z-index: 5; left: 16px; top: 72px; bottom: 16px; width: 112px; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: flex-start; overflow-x: hidden; overflow-y: auto; max-width: none; padding: 6px 4px; gap: 8px; }
.bd[data-layout="laptop"] .bd-empty { font-size: 12px; }
.bd[data-layout="laptop"].bd-tucked .bd-strip { opacity: 0; pointer-events: none; }
.bd[data-layout="laptop"] .bd-stage { height: calc(100dvh - 250px); transition: transform .34s ease, height .3s ease; }
.bd[data-layout="laptop"].bd-watching .bd-top { position: absolute; top: 0; left: 0; right: 0; }
.bd[data-layout="laptop"].bd-watching:not(.is-wide) .bd-stage { height: calc(100dvh - 196px); }
.bd[data-layout="laptop"].bd-watching.bd-capunder .bd-dock { padding-top: 92px; }
.bd[data-layout="laptop"] .bd-dock { display: grid; grid-template-columns: 1fr auto auto auto 1fr; column-gap: 16px; row-gap: 0; align-items: center; justify-items: center; padding: 12px 16px 28px; }
.bd[data-layout="laptop"] .bd-undo { grid-column: 1 / -1; grid-row: 1; margin-bottom: 12px; }
.bd[data-layout="laptop"] .bd-bbx { grid-column: 2; grid-row: 2; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.bd[data-layout="laptop"] .bd-recw { grid-column: 3; grid-row: 2; margin-top: 0; position: relative; color: var(--ink); }
.bd[data-layout="laptop"].is-wide .bd-recw { margin-top: 0; }
.bd[data-layout="laptop"] .bd-rec { width: 48px; height: 48px; }
.bd[data-layout="laptop"] .bd-rec span { width: 18px; height: 18px; }
.bd[data-layout="laptop"] .bd-rec.send span, .bd[data-layout="laptop"] .bd-rec.shutter span { width: 30px; height: 30px; }
.bd[data-layout="laptop"] .bd-label { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; text-shadow: none; color: var(--ink); }
.bd[data-layout="laptop"] .bd-modes { grid-column: 4; grid-row: 2; justify-self: start; gap: 4px; padding: 0; }
.bd[data-layout="laptop"] .bd-modes button { height: 32px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; opacity: 1; color: var(--ink-soft); }
.bd[data-layout="laptop"] .bd-modes button[aria-checked="true"] { background: var(--teal-ink); color: var(--paper); }
.bd[data-layout="laptop"] .bd-mic, .bd[data-layout="laptop"] .bd-micpick, .bd[data-layout="laptop"] .bd-reason { grid-column: 1 / -1; margin-top: 12px; }
.bd[data-layout="laptop"] .bd-mic { grid-row: 3; } .bd[data-layout="laptop"] .bd-micpick { grid-row: 4; } .bd[data-layout="laptop"] .bd-reason { grid-row: 5; }
.bd[data-layout="laptop"] .bd-react { grid-column: 1 / -1; }
.bd[data-layout="laptop"] .bd-wbar { grid-column: 1 / -1; grid-row: 6; width: var(--bd-sw, 300px); max-width: 100%; padding: 0; }
.bd[data-layout="laptop"] .bd-scrub { color: var(--ink-soft); text-shadow: none; }
.bd[data-layout="laptop"] .bd-seek { --bd-tr: var(--line); --bd-fill: var(--teal-ink); }
.bd[data-layout="laptop"] .bd-seek:focus-visible, .bd[data-layout="laptop"] .bd-cb:focus-visible { outline-color: var(--teal); }
.bd[data-layout="laptop"] .bd-cb { color: var(--ink); text-shadow: none; }
.bd[data-layout="laptop"] .bd-cb svg { filter: none; }
.bd[data-layout="laptop"] .bd-cb.on { background: var(--teal-ink); color: var(--paper); }
.bd[data-layout="laptop"] .bd-menu { right: 0; }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-capx, .bd[data-layout] .bd-top, .bd[data-layout] .bd-strip, .bd[data-layout="phone"] .bd-play, .bd[data-layout="laptop"] .bd-stage { transition: none; } }
/* ---------------------------------------------------------------- View as (0.16.101, Support lane; read only)
   The gold banner on every page of a visit, the gentle "Read only" note, and the card a closed or sealed page shows.
   Its own gold (the theme's --gold is lavender), light and dark, contrast checked: ink on gold 8.3:1, dark 6.4:1 (both above 4.5:1). */
:root { --viewas-bg: #F3DFA2; --viewas-ink: #4A3A0E; --viewas-edge: #D9B95A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --viewas-bg: #6B5520; --viewas-ink: #FFF3D1; --viewas-edge: #9C7E2E; } }
:root[data-theme="dark"] { --viewas-bg: #6B5520; --viewas-ink: #FFF3D1; --viewas-edge: #9C7E2E; }
.sp-viewing { position: sticky; top: 0; z-index: 60; background: var(--viewas-bg); color: var(--viewas-ink); border-bottom: 1px solid var(--viewas-edge); padding-top: env(safe-area-inset-top); }
.sp-viewing-in { max-width: var(--page-max); margin: 0 auto; padding: 8px var(--x); display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; line-height: 1.4; }
.sp-viewing-in strong { font-weight: 600; }
.sp-viewing-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; flex: none; }
.sp-viewing-txt { flex: 1 1 auto; min-width: 0; }
.sp-viewing-ends { font-size: 13px; opacity: .85; }
.sp-viewing-exit { font: inherit; font-size: 14px; font-weight: 600; color: var(--viewas-ink); background: transparent; border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 14px; min-height: 36px; cursor: pointer; }
.sp-viewing-exit:disabled { opacity: .6; cursor: default; }
.sp-viewing-exit:focus-visible { outline: 2px solid var(--viewas-ink); outline-offset: 2px; }
.sp-viewing-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1000; max-width: calc(100% - 32px); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; font-size: 14px; line-height: 1.4; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sp-viewing-toast.show { opacity: 1; }
.sp-viewing-note .card { max-width: 560px; margin: 24px auto; }
.sp-viewing-note .row { margin-top: 16px; flex-wrap: wrap; gap: 10px; }
/* Admin > Visits (0.16.101): every View as visit with the viewer's name and the time, and who can view as. */
.only-you { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--viewas-bg); color: var(--viewas-ink); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: none; vertical-align: middle; }
.visits .ahead, .visits .arow { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 700px) {
  .visits .ahead { display: none; }
  .visits .arow { grid-template-columns: 1fr; gap: 4px; }
}
.super-row { gap: 10px; align-items: center; padding: 6px 0; }
#supers .row input { flex: 1 1 220px; min-width: 0; }
/* "Links hidden while viewing" sits where a studio's address goes (addresses break anywhere); words wrap whole. */
.sp-viewing .sc-studio .addr { word-break: normal; }
/* 0.16.110 (iPhone feedback on 0.16.106): the way out never tucks away, every phone button has a 44px tap area,
   and a tap presses the button the first time, tucked or not */
.bd[data-layout] .bd-top > * { transition: opacity .35s ease; }
.bd[data-layout].bd-tucked .bd-top { opacity: 1; pointer-events: none; background: transparent; border-bottom-color: transparent; }
.bd[data-layout].bd-tucked .bd-top > :not(.bd-back) { opacity: 0; pointer-events: none; }
.bd[data-layout].bd-tucked .bd-x, .bd[data-layout].bd-tucked .bd-back { opacity: 1; pointer-events: auto; }
.bd[data-layout] button, .bd[data-layout] .bd-back { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* phone: the top bar's shaded band takes no taps of its own while a Birdee plays, so the ✕ under it is always reachable */
.bd[data-layout="phone"].bd-watching .bd-top { pointer-events: none; }
.bd[data-layout="phone"].bd-watching:not(.bd-tucked) .bd-top .bd-wr button, .bd[data-layout="phone"].bd-watching:not(.bd-tucked) .bd-top .bd-cd { pointer-events: auto; }
.bd[data-layout="phone"].bd-watching .bd-back { pointer-events: auto; }
/* phone: ✕ and Back on a soft translucent circle while a Birdee plays */
.bd[data-layout="phone"] .bd-x { width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--birdee-glass-ring); }
.bd[data-layout="phone"].bd-watching .bd-back { width: 44px; height: 44px; min-width: 44px; justify-content: center; border-radius: 50%; background: var(--media-glass); color: var(--on-media); box-shadow: inset 0 0 0 1px var(--birdee-glass-ring); line-height: 1; padding-bottom: 3px; box-sizing: border-box; }
.bd[data-layout="phone"] .bd-back { min-width: 44px; }
/* the circle's corners would fall through to the video: a square tap area behind the ✕ and Back */
.bd[data-layout="phone"] .bd-back { position: relative; }
.bd[data-layout="phone"] .bd-x::after, .bd[data-layout="phone"].bd-watching .bd-back::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); }
/* phone: a 44 by 44 tap area round every small button, the icon stays its size */
.bd[data-layout="phone"] .bd-cb, .bd[data-layout="phone"] .bd-rx, .bd[data-layout="phone"] .bd-bb { position: relative; }
.bd[data-layout="phone"] .bd-cb::after, .bd[data-layout="phone"] .bd-rx::after, .bd[data-layout="phone"] .bd-bb::after, .bd[data-layout="phone"] .bd-bbx::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.bd[data-layout="phone"] .bd-ctl { gap: 12px; }
.bd[data-layout="phone"] .bd-wbar { gap: 12px; }
.bd[data-layout="phone"] .bd-modes button, .bd[data-layout="phone"] .bd-mspd button, .bd[data-layout="phone"] .bd-mi, .bd[data-layout="phone"] .bd-mrx button { min-height: 44px; }
.bd[data-layout="phone"] .bd-mrx button { height: 44px; }
/* Watch or Read keeps its 36px look (the Read chat sits right under it); its tap area reaches 8px up into the top bar */
.bd[data-layout="phone"] .bd-wr button { position: relative; }
.bd[data-layout="phone"] .bd-wr button::after { content: ''; position: absolute; left: 0; right: 0; top: -8px; bottom: 0; }

/* ---------------------------------------------------------------- 0.16.118 Guest Profiles (Guest Kit lane, Release B)
   Your guest profiles, Get ready for [Host]'s show, Your guests and the host view. Mint cards (--sage-soft), lavender for
   sharing (--gold*), phone first; the two laptop layouts approved Nov 18 from 900px. */
.gp-page { max-width: 640px; }
.gp-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 4px 0 14px; }
.gp-title h1 { margin: 0; }
.gp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-pill { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.gp-pill[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.gp-pill.add { border-style: dashed; border-color: var(--sage); color: var(--teal-ink); background: transparent; }
.gp-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin-bottom: 14px; }
.gp-card.mint { background: var(--sage-soft); border-color: transparent; }
.gp-card.lav { background: var(--gold-soft); border-color: transparent; }
.gp-card.mint .faint, .gp-card.lav .faint { color: var(--ink-soft); }   /* grey on a coloured card reads too faint (gate: 3:1); a step darker */
.gp-card h2, .gp-card h3 { margin: 0 0 6px; }
.gp-who { display: flex; gap: 14px; align-items: center; }
.gp-face { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--sage); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif, inherit); font-size: 28px; color: var(--teal-ink); overflow: hidden; }
.gp-face.sm { width: 44px; height: 44px; font-size: 17px; }
.gp-face img { width: 100%; height: 100%; object-fit: cover; }
.gp-shots { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.gp-shot { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--sage); }
.gp-shot img { width: 100%; height: 100%; object-fit: cover; }
.gp-shot .x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; min-height: 32px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font-size: 18px; line-height: 1; }
.gp-shot.add { display: inline-flex; align-items: center; justify-content: center; border: 1px dashed var(--sage); background: transparent; color: var(--teal-ink); font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; }
.gp-bar { margin-top: 12px; }
.gp-bar .track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.gp-bar .fill { height: 100%; background: var(--leaf, var(--teal)); border-radius: 999px; }
.gp-bar .lab { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.gp-count { font-size: 14px; color: var(--ink-faint); text-align: right; margin-top: 4px; }
.gp-count.off { color: var(--ink); }
.gp-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.gp-field { margin-bottom: 12px; }
.gp-field label, .gp-field .lab { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.gp-field input[type=text], .gp-field input[type=url], .gp-field input[type=email], .gp-field input[type=datetime-local], .gp-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; }
.gp-field textarea { min-height: 120px; resize: vertical; }
.gp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; padding: 8px 0; }
.gp-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--teal); }
.gp-list { list-style: none; margin: 0; padding: 0; }
.gp-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.gp-list li:first-child { border-top: 0; }
.gp-list .grow, .gp-table .gp-who .grow { flex: 1 1 auto; min-width: 0; }
.gp-list .grow b, .gp-table .gp-who .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-list .meta { font-size: 14px; color: var(--ink-faint); }
/* 0.16.121: the laptop table's second line under the guest's name sits on its own line, as on phones */
.gp-table .gp-who .meta { display: block; font-size: 14px; color: var(--ink-faint); margin-top: 2px; }
.gp-st { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.gp-st.ready { background: var(--sage); color: var(--teal-ink); }
.gp-st.waiting { background: var(--gold-soft); color: var(--gold-ink); }
.gp-st.scheduled { background: var(--cream, var(--sage-soft)); color: var(--ink); border: 1px solid var(--line); }
.gp-st.live { background: var(--teal); color: var(--btn-ink); }
.gp-st.sent { background: var(--sage); color: var(--teal-ink); }
.gp-st.todo { background: var(--gold-soft); color: var(--gold-ink); }
.gp-agree { white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; max-height: 260px; overflow: auto; font-size: 15px; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gp-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.gp-counts .n { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: left; cursor: pointer; color: var(--ink); }
.gp-counts .n b { display: block; font-size: 26px; font-family: var(--serif, inherit); }
.gp-counts .n span { font-size: 13px; color: var(--ink-soft); }
.gp-counts .n[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset; }
.gp-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gp-filters input[type=search] { max-width: 100%; }
.gp-table { width: 100%; border-collapse: collapse; display: none; }
.gp-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 8px 10px; border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; }
.gp-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.gp-table tr.r { cursor: pointer; }
.gp-table tr.r:hover td { background: var(--sage-soft); }
.gp-copyrow { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.gp-copyrow .txt { white-space: pre-wrap; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.gp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; }
.gp-rcv li .grow { min-width: 0; }
@media (min-width: 900px) {
  .gp-page.wide { max-width: 1120px; }
  .gp-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
  .gp-grid.two { grid-template-columns: 1fr 1fr; }
  .gp-who.big .gp-face { width: 112px; height: 112px; font-size: 36px; }
  .gp-cardtop { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: center; }
  .gp-table { display: table; }
  .gp-phone-list { display: none; }
}
/* ---------------------------------------------------------------- 0.16.113 (Birdee round 4) */
/* the jay perched on Messages, small and still, until every Birdee is read; inside the icon, so a sheet covers it */
.birdee-perch { position: absolute; pointer-events: none; z-index: 1; height: auto; filter: drop-shadow(0 2px 3px var(--birdee-say-shadow)); animation: birdee-perch-in .3s ease-out; }
@keyframes birdee-perch-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .birdee-perch { animation: none; } }
/* 0.16.202: the last Birdee opened: the perched jay lifts off up and to the right and is gone in under a second */
.birdee-perch.birdee-perch-away { animation: birdee-perch-away .95s cubic-bezier(.45,0,.75,.4) forwards; }
@keyframes birdee-perch-away { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 25% { opacity: 1; transform: translate(4px, -6px) rotate(-6deg); }
  100% { opacity: 0; transform: translate(70px, -90px) rotate(-14deg); } }
@media (prefers-reduced-motion: reduce) { .birdee-perch.birdee-perch-away { animation: none; transition: opacity .35s; opacity: 0; } }
/* every phone sheet closes four ways: the grab bar and the ✕ added by nav.js where a sheet had none */
.sp-sx-host { position: relative; }
.sp-grab { display: block; flex: none; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 2px; }
.sp-sx { position: absolute; top: 4px; right: 4px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 10px;   /* square-ish: a round corner would lose taps near its edge (0.16.110 lesson) */
  background: transparent; color: var(--ink-soft);
  font: 400 18px/1 "DM Sans", system-ui, sans-serif; display: grid; place-items: center; cursor: pointer; }
.sp-sx:hover { color: var(--ink); }
.sp-sx:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: -4px; }
/* one quiet line under the top bar as a conversation opens; it fades after about 5 seconds and never takes a tap */
.bd[data-layout] .bd-quiet { position: fixed; left: 50%; z-index: 6; transform: translate(-50%, -4px); width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; margin: 0; text-align: center;
  font: 500 14px/1.35 "DM Sans", system-ui, sans-serif; color: var(--on-media); background: var(--birdee-cap-solid); padding: 7px 14px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.bd[data-layout] .bd-quiet.on { opacity: 1; transform: translate(-50%, 0); }
.bd[data-layout] .bd-quiet[hidden] { display: none; }
/* a double tap on a side: back or ahead 10 seconds */
.bd[data-layout] .bd-jump { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); pointer-events: none; font: 600 15px "DM Sans", system-ui, sans-serif; color: var(--on-media);
  background: var(--birdee-chip); padding: 10px 14px; border-radius: 999px; animation: bd-jump .7s ease-out forwards; }
.bd[data-layout] .bd-jump.l { left: 14%; }
.bd[data-layout] .bd-jump.r { right: 14%; }
@keyframes bd-jump { 0% { opacity: 0; } 20% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
/* Saving your Birdee: a bar that keeps moving until it is saved */
.bd[data-layout] .bd-ubar-go b { width: 35%; animation: bd-ubar-go 1.1s ease-in-out infinite; }
@keyframes bd-ubar-go { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.bd[data-layout] .bd-undo-b small { font-size: inherit; opacity: .7; margin-left: 2px; }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-jump, .bd[data-layout] .bd-ubar-go b { animation: none; } .bd[data-layout] .bd-quiet { transition: none; } }
/* the phone's Conversation sheet: a tap above it closes it */
.bd[data-layout="phone"] .bd-cdim { position: fixed; left: 0; right: 0; top: 0; height: 18vh; z-index: 8; }

/* ---------------------------------------------------------------- 0.16.114 (Birdee touches) */
/* a calmer bottom while a Birdee plays: the control row rests with the top bar a few seconds after play starts, and comes
   back with a tap; the ✕, Back, the reactions and Birdee Back stay one tap away. Sound lives in More. */
.bd[data-layout] .bd-wbar { transition: opacity .35s ease; }
.bd[data-layout].bd-tucked .bd-wbar { opacity: 0; pointer-events: none; }
.bd[data-layout] .bd-ctl .bd-snd[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-wbar { transition: none; } }
/* Read: the words can be selected and copied (a drag selects, a click still plays from that line); Copy all at the top */
.bd[data-layout] .bd-tl { margin: 0; cursor: pointer; -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.bd[data-layout] .bd-tl span { -webkit-user-select: text; user-select: text; }
.bd[data-layout] .bd-ctx, .bd[data-layout] .bd-conv .bd-cl { -webkit-user-select: text; user-select: text; }
.bd[data-layout] .bd-ch { display: flex; align-items: center; gap: 8px; }
.bd[data-layout] .bd-ch h4 { flex: 1; }
.bd[data-layout] .bd-ccopy { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px "DM Sans", system-ui, sans-serif; cursor: pointer; }
.bd[data-layout] .bd-ccopy:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* long Notes: the composer grows (the card scrolls, never the box), the card shows the first lines and a soft Read more */
.bd[data-layout] .bd-is-note { overflow-y: auto; overscroll-behavior: contain; }
.bd[data-layout] .bd-is-note textarea { overflow: hidden; transition: font-size .2s ease; }
.bd[data-layout] .bd-pv.bd-note p.bd-nclamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; max-height: none; }
.bd[data-layout] .bd-nmore { margin-top: 14px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit;
  font: 600 15px "DM Sans", system-ui, sans-serif; opacity: .85; cursor: pointer; }
.bd[data-layout] .bd-nmore[hidden] { display: none; }
.bd[data-layout] .bd-nmore:hover, .bd[data-layout] .bd-nmore:focus-visible { opacity: 1; }
.bd[data-layout] .bd-cnt { -webkit-user-select: text; user-select: text; cursor: pointer; text-align: left; }
.bd[data-layout] .bd-ci.bd-ci-here .bd-cnt, .bd[data-layout] .bd-ci.bd-ci-here .bd-ctx { box-shadow: 0 0 0 2px var(--gold); transition: box-shadow .3s ease; }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-is-note textarea { transition: none; } }
/* 44 by 44 tap areas on a laptop too: square ones behind the round 32px buttons and chips (a round edge loses clicks near it) */
.bd[data-layout="laptop"] .bd-ctl { gap: 12px; }
.bd[data-layout="laptop"] .bd-ctl .bd-cb, .bd[data-layout="laptop"] .bd-rrx .bd-rx { position: relative; }
.bd[data-layout="laptop"] .bd-ctl .bd-cb::after, .bd[data-layout="laptop"] .bd-rrx .bd-rx::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.bd[data-layout] .bd-mspd button, .bd[data-layout] .bd-mi, .bd[data-layout] .bd-mrx button { min-height: 44px; }

/* 0.16.112: the warm "will show here in View As soon" words: calm, with the View as gold edge, never an error look */
.sc-error.sp-viewing-soon, .card.sp-viewing-soon { border-color: var(--viewas-edge); border-left: 4px solid var(--viewas-edge); color: var(--ink); }
.card.sp-viewing-soon h2 { font-size: 18px; line-height: 1.4; }

/* 0.16.124 (Soul Experience): the long Note box stays below the top bar and scrolls inside its own space; press and hold on a
   playing Birdee (2x on the right, back on the left) with a small hint, and no text selection or press-and-hold menu */
.bd[data-layout] .bd-is-note { overflow: hidden; }
.bd[data-layout] .bd-is-note textarea { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.bd[data-layout] .bd-pv:not(.bd-note) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.bd[data-layout] .bd-pv:not(.bd-note) video { -webkit-touch-callout: none; }
.bd[data-layout] .bd-hold { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); pointer-events: none; font: 600 15px "DM Sans", system-ui, sans-serif; color: var(--on-media);
  background: var(--birdee-chip); padding: 10px 14px; border-radius: 999px; animation: bd-hold-in .18s ease-out; }
.bd[data-layout] .bd-hold.l { left: 14%; }
.bd[data-layout] .bd-hold.r { right: 14%; }
@keyframes bd-hold-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-hold { animation: none; } }

/* ---------------------------------------------------------------- Soul Experience, Release H (0.16.138)
   1) The phone header fix. In the Soul Experience band the round circles (Messages, Community, the sun and moon, Me) ran
      to 434px on a 390px screen, so phones panned the page and taps landed about 96px off. Under 460px the sun and moon
      circle leaves the band (Light or dark is in the Me sheet) and the circles and gaps get a little smaller. People
      without the Soul Experience keep their band exactly (.se-solo is theirs).
   2) World view (shared/world.js): the experience's blocks as painted places. Every colour is a token (theme.css). */
@media (max-width: 459px) {
  #sp-nav .band .se-bubs:not(.se-solo) > .se-th { display: none; }
  #sp-nav .band .se-bubs:not(.se-solo) { gap: 6px; }
  #sp-nav .band .se-bubs:not(.se-solo) .se-bub .se-c { width: 40px; height: 40px; }
  #sp-nav .band .se-bubs:not(.se-solo) .se-bub .se-c .avatar { width: 38px; height: 38px; }
  #sp-nav .band-in:has(.se-bubs:not(.se-solo)) { gap: 8px; }
}

[data-world-paint][hidden] { display: none !important; }
.wv-root { display: none; }
html.wv-on .wv-root { display: block; }
html.wv-on #inside { display: none; }

.wv { max-width: min(1300px, calc((100svh - 200px) * 16 / 9 + 2 * var(--x, 16px))); margin: 16px auto 28px; padding: 0 var(--x); }   /* the whole garden, its places bar too, fits a short laptop screen (gate, 1114x720) */
.wv-stage { --wv-h: auto; position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--world-veil);
  border: 1px solid var(--line); color: var(--world-ink); container-type: inline-size; isolation: isolate; font-family: var(--sans); }
.wv-pan { position: absolute; inset: 0; overflow: hidden; }
.wv-world { position: absolute; inset: 0; container-type: inline-size; }
.wv-paint { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; animation: wv-drift 40s ease-in-out infinite alternate; }
@keyframes wv-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.035) translate(-.6%, -.4%); } }

/* the five places on the painting: plain name, the owner's poetic line under it */
.wv-spot { all: unset; position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .5cqw;
  cursor: pointer; isolation: isolate; min-width: 44px; min-height: 44px; justify-content: center; padding: 6px 10px; color: var(--world-ink); }
.wv-spot::before { content: ""; position: absolute; inset: -1.2cqw -2cqw; border-radius: 50%; background: radial-gradient(closest-side, var(--world-halo), var(--world-halo-0)); z-index: -1; }
.wv-spot b { position: relative; font: 600 clamp(17px, 2.05cqw, 34px)/1 var(--serif); padding-bottom: .35cqw; border-bottom: 1px solid var(--world-amber);
  text-shadow: 0 2px 12px var(--world-shadow); white-space: nowrap; }
.wv-spot i { font: italic 500 clamp(13px, 1.15cqw, 19px)/1 var(--serif); color: var(--world-muted); text-shadow: 0 1px 8px var(--world-shadow); white-space: nowrap; }
.wv-spot:hover b, .wv-spot:focus-visible b { color: var(--world-amber); }
.wv-spot:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 4px; border-radius: 12px; }
.wv-note { font: 500 12px/1 var(--sans); background: var(--world-chip); border: 1px solid var(--world-line); padding: 6px 10px; border-radius: 99px; white-space: nowrap;
  animation: wv-pulse 2.6s ease-in-out infinite; }
.wv-note[hidden] { display: none; }
@keyframes wv-pulse { 50% { box-shadow: 0 0 14px 2px var(--world-amber-glow); } }

.wv-title { position: absolute; left: 2.4%; top: 3.6%; z-index: 3; font: 600 clamp(22px, 3.1cqw, 46px)/1 var(--serif); text-shadow: 0 2px 14px var(--world-shadow);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 60%; }
.wv-title small { font: 500 clamp(10px, 1.05cqw, 14px)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--world-amber); }
.wv-paintbtn { all: unset; cursor: pointer; font: 500 13px/1 var(--sans); padding: 8px 12px; min-height: 20px; border-radius: 99px; background: var(--world-chip);
  border: 1px solid var(--world-line); color: var(--world-ink); }
.wv-paintbtn:focus-visible { outline: 2px solid var(--world-amber); }
/* 0.16.143: Paint your world is a small pencil, owner only */
.wv-pencil { all: unset; cursor: pointer; position: absolute; left: 100%; top: 0; margin-left: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--world-chip); border: 1px solid var(--world-line); color: var(--world-ink); }
.wv-pencil:hover { color: var(--world-amber); }
.wv-pencil:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 2px; }
.wv-paintrow { all: unset; cursor: pointer; display: inline-grid; place-items: center; width: 36px; height: 36px; margin: 6px 0 0 4px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-soft); }
.wv-paintrow:hover { color: var(--teal-ink); border-color: var(--teal); }
.wv-paintrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
/* 0.16.143: the welcome's top line, with its × */
.wv-wh { display: flex; align-items: center; gap: 6px; }
.wv-wopen { all: unset; flex: 1 1 auto; min-width: 0; min-height: 40px; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--world-ink); }
.wv-wcount { color: var(--world-muted); font-size: 13.5px; }
.wv-wx { all: unset; cursor: pointer; flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font: 400 22px/1 var(--sans); color: var(--world-muted); }
.wv-wx:hover, .wv-wx:focus-visible { color: var(--world-ink); background: var(--world-line-soft); outline: none; }
.wv-wopen:focus-visible { outline: 2px solid var(--world-amber); border-radius: 8px; }
.wv-wrows { display: flex; flex-direction: column; gap: 2px; }

/* the welcome card: one row per group with its newest line */
.wv-welcome { position: absolute; left: 2.2%; bottom: 14%; z-index: 3; width: min(340px, 34%); display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
  border-radius: 16px; background: var(--world-chip); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--world-line-soft); }
.wv-welcome:empty { display: none; }
.wv-wh b { font: 600 20px/1.2 var(--serif); }
.wv-wr { display: flex; flex-direction: column; gap: 1px; padding: 8px 6px; border-radius: 10px; color: var(--world-ink); text-decoration: none; min-height: 44px; justify-content: center; }
.wv-wr:hover, .wv-wr:focus-visible { background: var(--world-line-soft); outline: none; }
.wv-wn { font-weight: 600; font-size: 15px; }
.wv-wr small { color: var(--world-muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-quiet { margin: 4px 0; color: var(--world-muted); font-size: 15px; }

/* the places bar: Home first, always there */
.wv-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: center; gap: clamp(2px, 3.2cqw, 48px); padding: 10px 8px 12px;
  background: linear-gradient(var(--world-shade-0), var(--world-shade)); }
.wv-bar button { all: unset; cursor: pointer; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; font: 500 15px/1 var(--sans); color: var(--world-ink);
  opacity: .85; border-bottom: 2px solid transparent; }
.wv-bar button:hover { opacity: 1; }
.wv-bar button[aria-current="true"] { opacity: 1; color: var(--world-amber); border-bottom-color: var(--world-amber); }
.wv-bar button:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 2px; }

/* gliding into a place: the camera canvas (or, without WebGL, the place's painting) over the hub */
.wv-cam, .wv-roomimg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.wv-roomimg { object-fit: cover; }
.wv-roomimg:not([src]) { display: none; }
.wv-stage.wv-inroom .wv-cam, .wv-stage.wv-inroom .wv-roomimg[src] { opacity: 1; }
.wv-veil { position: absolute; inset: 0; z-index: 5; background: var(--world-veil); opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.wv-veil.on { opacity: 1; }
.wv-stage.wv-inroom .wv-spot, .wv-stage.wv-inroom .wv-welcome, .wv-stage.wv-panel .wv-spot, .wv-stage.wv-panel .wv-welcome,
.wv-stage.wv-walking .wv-spot, .wv-stage.wv-walking .wv-welcome, .wv-stage.wv-walking .wv-title { opacity: 0; pointer-events: none; }
.wv-spot, .wv-welcome, .wv-title { transition: opacity .5s; }
.wv-stage.wv-panel .wv-pan::after { content: ""; position: absolute; inset: 0; background: var(--world-shade); }

/* inside a place */
.wv-room { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.wv-room[hidden] { display: none; }
.wv-rtop { position: absolute; left: 2.4%; top: 3.6%; pointer-events: auto; }
.wv-back { all: unset; cursor: pointer; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 99px; font: 500 15px/1 var(--sans);
  background: var(--world-chip); border: 1px solid var(--world-line); color: var(--world-ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wv-back:focus-visible { outline: 2px solid var(--world-amber); }
.wv-card { position: absolute; right: 2.4%; top: 4%; bottom: 84px; width: min(420px, 42%); overflow: auto; pointer-events: auto; padding: 20px; border-radius: 18px;
  background: var(--world-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--world-line); box-shadow: 0 18px 40px var(--world-shadow);
  scrollbar-width: thin; }
.wv-k { margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--world-amber); }
.wv-h { margin: 8px 0 12px; font: 600 30px/1.05 var(--serif); color: var(--world-ink); }
.wv-sub { margin: 14px 0 6px; font: 600 13px/1 var(--sans); color: var(--world-muted); }
.wv-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wv-row > a, .wv-row.wv-soon { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 12px; color: var(--world-ink); text-decoration: none;
  background: var(--world-line-soft); border: 1px solid transparent; }
.wv-row > a:hover, .wv-row > a:focus-visible { border-color: var(--world-line); outline: none; }
.wv-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wv-rt b { font-size: 16px; font-weight: 600; }
.wv-rt small { font-size: 13.5px; color: var(--world-muted); }
.wv-go { font-size: 22px; color: var(--world-amber); }
.wv-ico { font-size: 18px; }
.wv-soon { opacity: .75; }
.wv-pad { flex: none; width: 34px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--world-pad), var(--world-pad-edge)); box-shadow: 0 2px 6px var(--world-shadow); }
.wv-more { margin: 12px 0 0; }
.wv-more a, .wv-me a { color: var(--world-amber); font-weight: 500; }
.wv-me { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; }
.wv-me .avatar { width: 52px; height: 52px; }
.wv-me b { display: block; font: 600 20px/1.2 var(--serif); }
.wv-journal { display: flex; flex-direction: column; gap: 2px; padding: 14px; margin: 0 0 12px; border-radius: 14px; border: 1px dashed var(--world-line); color: var(--world-muted); }
.wv-journal b { font: 600 20px/1.1 var(--serif); color: var(--world-ink); }
.wv-view { display: flex; align-items: center; gap: 8px; padding: 6px 0 12px; }
.wv-view > span { flex: 1; font-size: 15px; }
.wv-view button { all: unset; cursor: pointer; min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 99px; font: 500 15px/1 var(--sans);
  border: 1px solid var(--world-line); color: var(--world-ink); }
.wv-view button[aria-pressed="true"] { background: var(--world-amber); color: var(--world-on-amber); border-color: var(--world-amber); }
.wv-view button:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 2px; }

/* Explore: the walk */
.wv-walk { position: absolute; inset: 0; z-index: 4; }
.wv-walk[hidden] { display: none; }
.wv-wtop { position: absolute; left: 2.4%; right: 2.4%; top: 3.6%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wv-wcard { position: absolute; left: 2.4%; top: 16%; width: min(400px, 36%); display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px;
  background: var(--world-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--world-line); box-shadow: 0 18px 40px var(--world-shadow);
  transition: opacity .45s, transform .45s; }
.wv-wcard.fade { opacity: 0; transform: translateY(8px); pointer-events: none; }
.wv-wcard .wv-h { margin: 2px 0 2px; }
.wv-line { margin: 0; font-size: 16px; line-height: 1.5; color: var(--world-muted); }
.wv-lock { margin: 0; font-size: 14px; color: var(--world-rose); }
.wv-wbtns { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.wv-link { all: unset; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; font: 500 15px/1 var(--sans); color: var(--world-amber); }
.wv-link.wv-next { margin-left: auto; font-weight: 600; }
.wv-link:focus-visible { outline: 2px solid var(--world-amber); }
.wv-stones { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); display: flex; gap: 18px; align-items: center; }
.wv-stones i { width: 14px; height: 10px; border-radius: 50%; background: var(--world-stone); transition: all .4s; }
.wv-stones i.done { background: var(--world-amber-glow); }
.wv-stones i.cur { width: 22px; height: 14px; background: var(--world-amber); box-shadow: 0 0 14px var(--world-amber-glow); }
.wv-home { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.wv-home b { font: 600 clamp(34px, 4cqw, 60px)/1 var(--serif); text-shadow: 0 2px 20px var(--world-shadow); }
.wv-home span { font: italic 500 18px/1.4 var(--serif); color: var(--world-muted); }

/* the first visit */
.wv-first { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 5; width: min(460px, 80%); display: flex; flex-direction: column; gap: 8px;
  align-items: center; text-align: center; padding: 24px; border-radius: 20px; background: var(--world-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--world-line); }
.wv-first[hidden] { display: none; }
.wv-first small { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--world-amber); }
.wv-first b { font: 600 30px/1.1 var(--serif); }
.wv-first span { font-size: 16px; color: var(--world-muted); }
.wv-first .wv-wbtns { justify-content: center; }
.wv-swipe { display: none; }

/* the owner's Paint your world sheet */
.wv-table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 15px; }
.wv-table th, .wv-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wv-table td[data-picked] { overflow-wrap: anywhere; color: var(--ink-soft); }
.wv-sheet .wv-view > span { color: var(--ink-soft); }
.wv-sheet .wv-view button { border-color: var(--line); color: var(--ink); background: var(--card); }
.wv-sheet .wv-view button[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--teal); color: var(--teal-ink); }
.wv-sheet input[type="file"] { font-size: 16px; }
.wv-status { min-height: 1.4em; color: var(--ink-soft); }

/* phones: the painting fills the screen between the band and the tabs, and swipes sideways (labels travel with it) */
@media (max-width: 899px) {   /* 0.16.161: phones and narrow tablets */
  .wv { margin: 0; padding: 0; }
  .wv-stage { --wv-h: max(360px, calc(100svh - 172px - var(--sat, 0px) - var(--sab, 0px))); aspect-ratio: auto; height: var(--wv-h); border-radius: 0; border: 0; }
  .wv-pan { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .wv-pan::-webkit-scrollbar { display: none; }
  /* 0.16.143: the hub opens framed by the phone crop (shared/world.js sets --wv-z and the top offset) */
  .wv-world { position: relative; height: calc(var(--wv-h) * var(--wv-z, 1)); width: calc(var(--wv-h) * var(--wv-z, 1) * 16 / 9); }
  .wv-title { left: 16px; top: 12px; max-width: calc(100% - 76px); }
  .wv-swipe { display: block; position: absolute; left: 50%; bottom: 68px; transform: translateX(-50%); z-index: 3; white-space: nowrap; font: 600 12.5px/1 var(--sans);
    background: var(--world-chip); border: 1px solid var(--world-line-soft); padding: 7px 12px; border-radius: 99px; pointer-events: none; opacity: .9; transition: opacity .8s; }
  .wv-swipe.gone, .wv-stage.wv-inroom .wv-swipe, .wv-stage.wv-panel .wv-swipe, .wv-stage.wv-walking .wv-swipe { opacity: 0; }
  /* 0.16.143: the welcome starts as one small line (tap to open, × closes it for the day) */
  .wv-welcome { left: 12px; right: auto; bottom: 12px; width: auto; max-width: calc(100% - 24px); padding: 0 4px 0 14px; border-radius: 99px; }
  .wv-welcome.open { right: 12px; max-height: 46%; overflow: auto; padding: 4px 4px 10px 14px; border-radius: 16px; }
  .wv-welcome:not(.open) .wv-wrows { display: none; }
  .wv-wopen { cursor: pointer; }
  .wv-wh b { font-size: 16px; }
  /* 0.16.143: the places are one row at the top of the painting, never stacked on the app's bottom bar */
  .wv-spot b { font-size: 19px; }   /* 0.16.143: a steady size on phones (they grew with the painting and crowded each other) */
  .wv-spot i { font-size: 13px; }
  .wv-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 2; pointer-events: none;
    background: linear-gradient(var(--world-shade), var(--world-shade-0)); opacity: .7; }   /* the name and the places row read over a bright sky */
  .wv-bar { top: 80px; bottom: auto; justify-content: flex-start; gap: 6px; padding: 0 12px; background: none; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .wv-bar::-webkit-scrollbar { display: none; }
  .wv-bar button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 99px; border: 1px solid var(--world-line-soft); background: var(--world-card);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 1; }
  .wv-bar button[aria-current="true"] { border-color: var(--world-amber); }
  .wv-rtop { left: 12px; top: 12px; }
  .wv-card { left: 12px; right: 12px; top: auto; bottom: 14px; width: auto; max-height: calc(100% - 128px); padding: 18px; }
  .wv-h { font-size: 26px; }
  .wv-wtop { left: 12px; right: 12px; top: 12px; }
  .wv-wcard { left: 12px; right: 12px; top: auto; bottom: 48px; width: auto; max-height: 58%; overflow: auto; padding: 18px; }
  .wv-stones { bottom: 20px; }
  .wv-first { left: 16px; right: 16px; width: auto; transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .wv-paint, .wv-note { animation: none; }
  .wv-cam, .wv-roomimg, .wv-veil, .wv-wcard, .wv-spot, .wv-welcome, .wv-title { transition: none; }
}

/* ---------------------------------------------------------------- 0.16.125 (Soul Experience): chirps on this phone */
/* the kind ask on the Messages list: the one soft invitation card, a whisper of lavender */
.nt-card { position: relative; background: var(--gold-soft); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 14px 58px; margin: 0 0 14px; }
.nt-card .nt-bird { position: absolute; left: 16px; top: 14px; font-size: 26px; line-height: 1; }
.nt-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; margin: 0 0 6px; color: var(--ink); }
.nt-card p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.nt-card .nt-btns { gap: 8px; flex-wrap: wrap; }
.nt-card .nt-btns .btn { min-height: 44px; }
.nt-card .nt-said { margin: 6px 0 0; color: var(--ink); }
.nt-steps { margin: 4px 0 12px; padding-left: 20px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.nt-steps li { margin: 2px 0; }
.nt-share { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); font-size: 13px; vertical-align: -2px; }
.nt-set .nt-guide { padding-left: 58px; margin-top: 4px; }
/* Profile, Notifications */
.nt-set .nt-h { margin: 18px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-faint); text-transform: uppercase; }
.nt-set .nt-soon { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--gold-ink); margin-left: 6px; }
.nt-set .nt-times { gap: 16px; flex-wrap: wrap; padding: 4px 0 8px 54px; }
.nt-set .nt-times label { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 15px; }
.nt-set .nt-times input { font-size: 16px; min-height: 44px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.nt-set .nt-times[hidden] { display: none; }
.nt-set .nt-btns { gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.nt-set .nt-btns .btn, .nt-set .btn { min-height: 44px; }
.nt-set .nt-how { color: var(--ink-soft); margin: 4px 0 10px; }
/* ===== 0.16.139 the Journal in My Space (Soul Experience, Release J; shared/journal.js, journal.html) =====
   A real book: a closed cover with the name in gold foil, then cream lined pages with a ribbon. Two pages side by side
   on a laptop, one tall page on a phone. Colours are the --jr- tokens (theme.css), the same in light and dark. */
.jr-page { max-width: 1120px; }
.jr-nav { gap: 14px; }
.jr-h { margin-top: 4px; }
.jr-inroom::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(var(--jr-room-veil), var(--jr-room-veil)), var(--jr-room) center / cover no-repeat; }
.jr-inroom .jr-top .back, .jr-inroom .jr-h, .jr-inroom .foot, .jr-inroom .jr-private, .jr-inroom .jr-cap span { color: var(--jr-room-ink); }
.jr-rest { max-width: 560px; }

[data-jrc="sage"] { --jr-cv: var(--jr-sage); --jr-foil: var(--jr-foil-sage); }
[data-jrc="blush"] { --jr-cv: var(--jr-blush); --jr-foil: var(--jr-foil-blush); }
[data-jrc="navy"] { --jr-cv: var(--jr-navy); --jr-foil: var(--jr-foil-navy); }
[data-jrc="plum"] { --jr-cv: var(--jr-plum); --jr-foil: var(--jr-foil-gold); }
[data-jrc="cream"] { --jr-cv: var(--jr-cream); --jr-foil: var(--jr-foil-cream); }
[data-jrc="cognac"] { --jr-cv: linear-gradient(135deg, var(--jr-cognac-a), var(--jr-cognac-b)); --jr-foil: var(--jr-foil-cognac); }
[data-jrc="host"] { --jr-cv: var(--jr-photo, none) center / cover, var(--jr-host-bg); --jr-foil: var(--jr-foil-gold); }
[data-jrc="photo"] { --jr-cv: linear-gradient(var(--jr-photo-top), var(--jr-photo-shade)), var(--jr-photo, none) center / cover, var(--jr-host-bg); --jr-foil: var(--jr-foil-photo); }

.jr-closed { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 0 12px; perspective: 1400px; }
.jr-cover { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center;
  width: min(250px, 64vw); aspect-ratio: 3 / 4; border-radius: 5px 14px 14px 5px; background: var(--jr-cv);
  box-shadow: inset 12px 0 10px -5px var(--jr-shadow), 0 18px 30px var(--jr-shadow), 4px 4px 0 var(--jr-pages-a), 6px 6px 0 var(--jr-pages-b);
  transform-origin: left center; transition: transform .65s cubic-bezier(.5, .05, .3, 1); animation: jr-glow 3.4s ease-in-out infinite; }
.jr-cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 5px 0 0 5px; background: linear-gradient(90deg, var(--jr-spine), var(--jr-spine-0)); }
.jr-cover:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 5px; }
.jr-cover.opening { transform: rotateY(-160deg); animation: none; }
.jr-cover[data-jrc="host"], .jr-cover[data-jrc="photo"] { align-items: flex-end; }
.jr-emb { position: relative; z-index: 1; text-align: center; padding: 0 10%; }
.jr-cover[data-jrc="host"] .jr-emb, .jr-cover[data-jrc="photo"] .jr-emb { margin-bottom: 22%; }
.jr-emb::before { content: ""; display: block; width: 38px; height: 1px; margin: 0 auto 10px; background: var(--jr-foil); opacity: .7; }
.jr-emb b { display: block; font: 600 24px/1.12 var(--serif); letter-spacing: .04em; color: var(--jr-foil); text-shadow: 0 1px 0 var(--jr-emboss); overflow-wrap: anywhere; }
.jr-emb small { display: block; margin-top: 7px; font: 600 10px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--jr-foil); opacity: .88; }
.jr-band { position: absolute; right: 12%; top: 0; bottom: 0; width: 4px; background: var(--jr-band); }
.jr-cap { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.jr-cap b { font: 600 24px/1 var(--serif); }
.jr-cap span { font: italic 500 17px/1.3 var(--serif); color: var(--ink-soft); }
.jr-private { margin: 0; font-size: 14px; color: var(--ink-soft); text-align: center; }
@keyframes jr-glow { 50% { filter: drop-shadow(0 0 14px var(--jr-glow)); } }

.jr-open { display: flex; flex-direction: column; gap: 14px; animation: jr-in .5s ease both; }
@keyframes jr-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.jr-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 18px; margin-bottom: -14px; position: relative; z-index: 1; }
.jr-tabs button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font: 600 14px/1 var(--sans); padding: 12px 16px 16px; border-radius: 9px 9px 0 0; background: var(--jr-tab); color: var(--jr-tab-ink); }
.jr-tabs button[aria-selected="true"] { background: var(--jr-paper); color: var(--jr-ink-deep); }
.jr-tabs button:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.jr-n { font-style: normal; margin-left: 7px; padding: 2px 7px; border-radius: 99px; font-size: 12px; background: var(--jr-ink); color: var(--jr-paper); }
.jr-spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 14px; background: var(--jr-cv); box-shadow: 0 24px 48px var(--jr-shadow); }
.jr-spread.one { grid-template-columns: 1fr; }
.jr-pg { position: relative; min-width: 0; padding: 30px 32px; min-height: min(62vh, 580px); max-height: 74vh; overflow: auto; color: var(--jr-ink);
  background: radial-gradient(120% 90% at 50% 40%, var(--jr-paper-hi), var(--jr-paper-lo)), var(--jr-paper); }
.jr-pl { border-radius: 6px 0 0 6px; box-shadow: inset -20px 0 20px -14px var(--jr-paper-edge); transform-origin: right center; }
.jr-pr { border-radius: 0 6px 6px 0; box-shadow: inset 20px 0 20px -14px var(--jr-paper-edge); transform-origin: left center; }
.jr-spread.one .jr-pg { border-radius: 6px; box-shadow: none; max-height: none; }
.jr-ribbon { position: absolute; left: calc(50% - 7px); top: -7px; width: 14px; height: 84px; background: var(--jr-ribbon); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); }
.jr-pg.flipR { animation: jr-flipR .5s ease-in-out; }
.jr-pg.flipL { animation: jr-flipL .5s ease-in-out; }
@keyframes jr-flipR { 50% { transform: perspective(1600px) rotateY(-80deg); } }
@keyframes jr-flipL { 50% { transform: perspective(1600px) rotateY(80deg); } }

.jr-k, .jr-rk { margin: 0 0 10px; font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--jr-ink-k); }
.jr-prompt { margin: 0 0 14px; font: 500 27px/1.2 var(--serif); color: var(--jr-ink); }
.jr-prompt small { display: block; margin-bottom: 4px; font: 600 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--jr-ink-faint); }
.jr-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; color: var(--jr-ink-faint); }
.jr-where select { font-size: 16px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--jr-rule); background: var(--jr-paper); color: var(--jr-ink); }
.jr-lined { display: block; width: 100%; box-sizing: border-box; min-height: 256px; resize: vertical; border: 0; border-radius: 0; padding: 0; background: transparent;
  font: 400 19px/32px var(--serif); color: var(--jr-ink-deep);
  background-image: repeating-linear-gradient(transparent 0 31px, var(--jr-line) 31px 32px); }
.jr-lined::placeholder { color: var(--jr-ink-place); font-style: italic; }
.jr-lined:focus { outline: none; box-shadow: 0 2px 0 var(--jr-btn-line); }
.jr-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.jr-pg .btn { background: transparent; color: var(--jr-btn); border-color: var(--jr-btn-line); }
.jr-pg .btn.primary { background: var(--jr-ink); color: var(--jr-paper); border-color: var(--jr-ink); }
.jr-hint { margin: 10px 0 0; font-size: 13px; color: var(--jr-ink-faint); }
.jr-ctitle { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 12px; font: 600 27px/1 var(--serif); color: var(--jr-ink-deep); }
.jr-ctitle small { font: 500 13px/1 var(--sans); color: var(--jr-ink-faint); }
.jr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.jr-chips button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--jr-rule); font: 500 13px/1 var(--sans); color: var(--jr-ink-soft); }
.jr-chips button[aria-pressed="true"] { background: var(--jr-ink); color: var(--jr-paper); border-color: var(--jr-ink); }
.jr-chips button:focus-visible, .jr-ix:focus-visible, .jr-turn:focus-visible, .jr-share:focus-visible { outline: 2px solid var(--jr-btn-line); outline-offset: 2px; }
.jr-ix { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; width: 100%; padding: 11px 2px; border-top: 1px solid var(--jr-rule); }
.jr-ix b { font: 600 18px/1.25 var(--serif); color: var(--jr-ink-deep); overflow-wrap: anywhere; }
.jr-ix small { grid-column: 1; font: 500 12.5px/1.35 var(--sans); color: var(--jr-ink-faint); }
.jr-ix .jr-pgno { grid-row: 1 / 3; grid-column: 2; align-self: center; font: italic 500 15px/1 var(--serif); color: var(--jr-pgno); border-bottom: 1px dotted var(--jr-btn-line); }
.jr-ix:hover b { color: var(--jr-ribbon); }
.jr-read { display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.jr-read h3, .jr-letter h3 { margin: 0; font: 600 25px/1.2 var(--serif); color: var(--jr-ink-deep); }
.jr-q { margin: 0; padding-left: 12px; border-left: 2px solid var(--jr-quote); font: italic 400 18px/1.55 var(--serif); color: var(--jr-ink-soft); overflow-wrap: anywhere; }
.jr-q small { display: block; margin-top: 4px; font: 500 12.5px/1.3 var(--sans); font-style: normal; color: var(--jr-ink-faint); }
.jr-bd { font: 400 19px/32px var(--serif); color: var(--jr-ink-deep); overflow-wrap: anywhere; background-image: repeating-linear-gradient(transparent 0 31px, var(--jr-line) 31px 32px); }
.jr-mt { margin: 0; font-size: 13px; color: var(--jr-ink-faint); }
.jr-share { all: unset; box-sizing: border-box; cursor: pointer; align-self: flex-start; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-height: 44px; padding: 10px 14px;
  border-radius: 99px; border: 1px solid var(--jr-btn-line); font: 600 14px/1.3 var(--sans); color: var(--jr-btn); }
.jr-share small { font-weight: 500; font-size: 13px; color: var(--jr-ink-faint); }
.jr-share.on { background: var(--jr-ink); color: var(--jr-paper); border-color: var(--jr-ink); }
.jr-share.on small { color: var(--jr-paper); opacity: .8; }
.jr-share.still { cursor: default; border-style: dashed; color: var(--jr-ink-soft); }
.jr-thanked { margin: 0; font: italic 500 17px/1.3 var(--serif); color: var(--jr-ribbon); }
.jr-pnum { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font: italic 500 15px/1 var(--serif); color: var(--jr-pgno); }
.jr-turn { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--jr-btn-line); font: 600 13px/1 var(--sans); font-style: normal; color: var(--jr-btn); }
.jr-blank, .jr-quiet { margin: 18px auto; text-align: center; font: italic 500 18px/1.5 var(--serif); color: var(--jr-ink-place); }
.jr-letter { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 1px solid var(--jr-rule); }
.jr-from { display: flex; gap: 12px; align-items: center; }
.jr-from b { display: block; font: 600 18px/1.2 var(--serif); color: var(--jr-ink-deep); }
.jr-from small { font-size: 13px; color: var(--jr-ink-faint); }
.jr-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.jr-covers { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 9px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.jr-covers button { all: unset; box-sizing: border-box; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; background: var(--jr-cv); background-position: 70% 20%; box-shadow: inset 0 0 0 1px var(--jr-swatch-ring); }
.jr-covers button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--gold-ink); }
.jr-covers button:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.jr-covers .jr-addph:not(.has) { display: grid; place-items: center; background: var(--card); color: var(--gold-ink); font: 600 18px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--gold-ink); }
.jr-covers .jr-newph { display: grid; place-items: center; background: var(--card); color: var(--ink-soft); font: 600 16px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line); }
.jr-cvname { font-size: 13px; color: var(--ink-soft); }
.jr-inroom .jr-cvname { color: var(--jr-room-ink); }
.jr-ok { color: var(--teal-ink); }

/* the post buttons and the Note to self box (feed.js), only with the Soul Experience and never during View as */
html:not(.jr-on) .jr-act { display: none !important; }
.jr-notebox { margin-top: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--cream); }
.jr-notebox label { display: flex; flex-direction: column; gap: 4px; }
.jr-notebox small { font-size: 13px; color: var(--ink-soft); }
.jr-notebox textarea { width: 100%; box-sizing: border-box; margin-top: 6px; font-size: 16px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.jr-notebox .row { margin-top: 8px; gap: 8px; }
.jr-saved { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* World view's My Space: the closed journal waiting on the window seat */
.wv-journal-on { text-decoration: none; color: var(--world-ink); border-style: solid; flex-direction: row; align-items: center; gap: 14px; }
.wv-journal-on .jr-mini { flex: none; width: 46px; aspect-ratio: 3 / 4; border-radius: 3px 7px 7px 3px; background: var(--jr-cv); box-shadow: inset 5px 0 5px -3px var(--jr-shadow), 2px 2px 0 var(--jr-pages-a); animation: jr-glow 3.4s ease-in-out infinite; }
.wv-journal-on span { display: flex; flex-direction: column; gap: 2px; }
.wv-journal-on small { color: var(--world-amber); font-style: italic; }

@media (max-width: 760px) {
  .jr-spread { grid-template-columns: 1fr; padding: 8px; border-radius: 12px; }
  .jr-pg[data-second] { display: none; }
  .jr-pg { min-height: 0; max-height: none; padding: 22px 18px; }
  .jr-pl { border-radius: 6px; box-shadow: none; }
  .jr-ribbon { left: auto; right: 26px; height: 64px; }
  .jr-prompt { font-size: 23px; }
  .jr-lined { font-size: 18px; line-height: 30px; min-height: 210px; background-image: repeating-linear-gradient(transparent 0 29px, var(--jr-line) 29px 30px); }
  .jr-bd { font-size: 18px; line-height: 30px; background-image: repeating-linear-gradient(transparent 0 29px, var(--jr-line) 29px 30px); }
  .jr-tabs { padding-left: 10px; gap: 4px; }
  .jr-tabs button { padding: 12px 12px 16px; font-size: 13px; }
  .jr-covers button { width: 40px; height: 40px; }
  .jr-covers { border-radius: 22px; }
  .jr-chips button { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-cover, .wv-journal-on .jr-mini { animation: none; transition: none; }
  .jr-open { animation: none; }
}

/* 0.16.143: the perched Birdee on a phone sits on the bottom bar's Messages tab; the tabs clip their content (long labels), which
   cut the bird to its feet. This one tab lets the bird and the count lean out; its label keeps its own clip. */
.tabs a.t-msg { overflow: visible; }
.tabs a.t-msg > span:not(.t-mw) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* 0.16.153 (Release K-1, built as 0.16.149, everything inside the world): Messages, Events and People open as a panel over the painting
   (shared/world.js, panelOpen), with "‹ Back to the garden" and Home. The card is the portal's own surface, so the
   conversations, the calendar and the people cards read exactly as on their pages, in light and dark. */
.wv-sheet { z-index: 7; }
.wv-stage.wv-sheeton .wv-spot, .wv-stage.wv-sheeton .wv-welcome, .wv-stage.wv-sheeton .wv-swipe, .wv-stage.wv-sheeton .wv-title { opacity: 0; pointer-events: none; }
.wv-stage.wv-sheeton .wv-pan::after { content: ""; position: absolute; inset: 0; background: var(--world-shade); }
.wv-sheet .wv-rtop { display: flex; gap: 8px; }
.wv-sheet .wv-tohome { text-decoration: none; }
.wv-sheet .wv-card { left: 50%; right: auto; transform: translateX(-50%); width: min(760px, 92%); top: calc(3.6% + 56px); bottom: 76px;
  background: var(--card); color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.wv-sheet .wv-h { color: var(--ink); }
.wv-sheet .wv-quiet, .wv-sheet .wv-sub { color: var(--ink-soft); }
.wv-sheet .wv-more a, .wv-link { color: var(--teal-ink); font-weight: 500; }
.wv-link { all: unset; cursor: pointer; color: var(--teal-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.wv-link:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 2px; }
.wv-sheet .wv-msgnew { margin: 4px 0 12px; }
.wv-sheet .wv-allmsgs { font-size: 14px; }
.wv-sheet .cal, .wv-sheet .wv-ppl { margin-top: 4px; }
/* a conversation opened from the world: on a laptop the painting shows softly behind Birdee's frame */
.bd.wv-bd[data-layout="laptop"] { background: rgba(16, 13, 11, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 899px) {
  .wv-stage.wv-sheeton .wv-bar { opacity: 0; pointer-events: none; }
  .wv-sheet .wv-rtop { left: 12px; top: 12px; }
  .wv-sheet .wv-card { left: 12px; right: 12px; transform: none; width: auto; top: 64px; bottom: 12px; max-height: none; }
}

/* 0.16.141, Guest View As lane: Edit as admin (Admin > People > a person) and the member's "Changed by" line */
.ae-card .ae-sec { margin: 12px 0 0; border-top: 1px solid var(--line, rgba(0,0,0,.08)); padding-top: 10px; }
.ae-card .ae-sec > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.ae-card .field input, .ae-card .field textarea { width: 100%; font-size: 16px; }
.ae-shots { display: flex; flex-wrap: wrap; gap: 10px; }
.ae-shot { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.ae-shot img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.ae-log { list-style: none; margin: 0; padding: 0; }
.ae-log li { padding: 8px 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.06)); overflow-wrap: anywhere; }
.note.admin-changed { margin: 0 0 14px; }

/* ------------------------------------------------------------------ 0.16.157 (Soul Experience, Release F-1): Host view and Tending (shared/tending.js) */
.tn-switch, .tn-only { display: none; }
html.tn-host .tn-switch { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px 4px 5px; border-radius: 99px;
  font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; text-shadow: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
html.tn-host .tn-only { display: list-item; }
.tn-knob { position: relative; width: 34px; height: 20px; border-radius: 99px; background: var(--switch-off); transition: background .2s; flex: 0 0 auto; }
.tn-knob::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px var(--shadow); transition: transform .2s; }
.tn-switch[aria-checked="true"] .tn-knob { background: var(--teal); }
.tn-switch[aria-checked="true"] .tn-knob::after { transform: translateX(14px); }
.tn-switch:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tn-subline { margin: 8px 0 0; }
.wv-title .tn-switch { background: var(--world-chip); color: var(--world-ink); border-color: var(--world-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wv-title .tn-switch:focus-visible { outline-color: var(--world-amber); }
.wv-title .tn-switch[aria-checked="true"] .tn-knob { background: var(--world-amber); }
html.tn-member [data-tn-row], html.tn-member [data-jr-row], html.tn-member .wv-hostonly { display: none !important; }
.wv-welcome .tn-open .wv-wn { color: var(--world-amber); }
@media (prefers-reduced-motion: reduce) { .tn-knob, .tn-knob::after { transition: none; } }

/* the Tending page */
.tn-kicker { margin: 0 0 14px; font: 500 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.tn-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tn-tabs button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; margin-bottom: -1px;
  font: 600 14.5px/1 var(--sans); color: var(--ink-soft); border-bottom: 2px solid transparent; }
.tn-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
.tn-tabs button:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 6px; }
.tn-n { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 99px; display: inline-grid; place-items: center; font: 700 11.5px/1 var(--sans); background: var(--gold-soft); color: var(--gold-ink); }
.tn-h { margin: 22px 0 6px; font: 600 24px/1.2 var(--serif); color: var(--ink); }
.tn-panel > .tn-h:first-child { margin-top: 0; }
.tn-hint { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.tn-hint a { color: var(--teal-ink); }
.tn-quiet { margin: 6px 0 12px; font-size: 15px; color: var(--ink-soft); }
.tn-people, .tn-tucked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tn-person, .tn-tucked li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-soft); }
.tn-who { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tn-who b { font: 600 16px/1.3 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.tn-who small { font-size: 13.5px; color: var(--ink-soft); }
.tn-said { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.tn-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tn-done { font: italic 500 16px/1.3 var(--serif); color: var(--teal-ink); }
.tn-note { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.tn-nl { font: 600 14px/1.3 var(--sans); color: var(--ink); }
.tn-nl small { font-weight: 400; color: var(--ink-soft); }
.tn-note textarea { width: 100%; box-sizing: border-box; min-height: 104px; font: 400 16px/1.5 var(--sans); }
.tn-paper { padding: 6px 22px 10px; border-radius: 14px; background: var(--jr-paper); color: var(--jr-ink); }
.tn-paper .jr-letter:first-child { border-top: 0; }
@media (max-width: 760px) {
  .tn-paper { padding: 4px 14px 8px; }
  .wv-title .tn-switch { min-height: 28px; font-size: 12px; }
}
/* 0.16.103 Messages moderation in Birdee (shared/birdee.js). Every rule is under Birdee's own root, .bd[data-layout]. */
.bd[data-layout] .bd-mod { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; font: 700 13px/1 "DM Sans", system-ui, sans-serif; letter-spacing: 1px; opacity: .85; }
.bd[data-layout="phone"] .bd-mod { border-color: var(--on-media); background: var(--media-glass); }
.bd[data-layout="laptop"] .bd-mod { border-color: var(--line); color: var(--ink-soft); }
.bd[data-layout] .bd-mod:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.bd[data-layout] .bd-who { cursor: pointer; }
.bd[data-layout] .bd-unb { margin-left: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 14px; min-height: 36px; font: 600 13px "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-crep { margin-left: 4px; border: 0; background: none; color: var(--ink-faint); font-size: 14px; width: 30px; height: 30px; border-radius: 50%; }
.bd[data-layout] .bd-crep:hover, .bd[data-layout] .bd-crep:focus-visible { color: var(--ink); background: var(--paper); }
.bd[data-layout="laptop"] .bd-ci:not(:hover):not(:focus-within) .bd-crep { opacity: 0; }
.bd[data-layout] .bd-cre + .bd-crep { margin-left: 4px; }
.bd[data-layout] .bd-cm .bd-crep:first-of-type:last-child { margin-left: auto; }
/* the sheet: a bottom sheet on a phone, a small card in the middle on a laptop */
.bd[data-layout] .bd-mwrap { position: fixed; inset: 0; z-index: 20; }
.bd[data-layout] .bd-mdim { position: absolute; inset: 0; background: var(--overlay); }
.bd[data-layout] .bd-msheet { position: absolute; background: var(--card); color: var(--ink); box-shadow: 0 -8px 30px var(--shadow); display: flex; flex-direction: column; max-height: 86dvh; overflow: hidden; }
.bd[data-layout="phone"] .bd-msheet { left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); animation: bd-sheet-up .28s ease-out; }
.bd[data-layout="laptop"] .bd-msheet { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 32px)); border-radius: 18px; border: 1px solid var(--line); }
.bd[data-layout] .bd-mtop { position: relative; height: 30px; flex: none; touch-action: none; }
.bd[data-layout] .bd-mgrab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; }
.bd[data-layout="laptop"] .bd-mgrab { visibility: hidden; }
.bd[data-layout] .bd-mx { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; }
.bd[data-layout] .bd-mbody { overflow: auto; padding: 6px 18px 18px; }
.bd[data-layout] .bd-mbody h4 { margin: 4px 44px 8px 0; font: 600 22px/1.2 "Cormorant Garamond", Garamond, serif; color: var(--ink); }
.bd[data-layout] .bd-msub { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.bd[data-layout] .bd-mi { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-soft); background: none; color: var(--ink); padding: 12px 2px; min-height: 52px; font: 500 15px "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-mi small { display: block; font-size: 12.5px; color: var(--ink-faint); font-weight: 400; margin-top: 2px; }
.bd[data-layout] .bd-mi.warn { color: var(--birdee-warn); }
.bd[data-layout] .bd-mi:focus-visible, .bd[data-layout] .bd-mpi:focus-visible, .bd[data-layout] .bd-mopt:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.bd[data-layout] .bd-mpick { display: flex; flex-direction: column; gap: 6px; }
.bd[data-layout] .bd-mpi { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); padding: 8px 10px; min-height: 52px; font: 500 14px "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-mpi img, .bd[data-layout] .bd-mpi .bd-mpn { width: 36px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: var(--media-bg); display: grid; place-items: center; overflow: hidden; color: var(--on-media); font: 600 9px/1.1 "Cormorant Garamond", serif; text-align: center; }
.bd[data-layout] .bd-mpi small { display: block; color: var(--ink-faint); font-size: 12px; }
.bd[data-layout] .bd-mwhy { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; }
.bd[data-layout] .bd-mopt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 46px; font-size: 15px; cursor: pointer; }
.bd[data-layout] .bd-mopt input { width: 18px; height: 18px; accent-color: var(--teal-ink); flex: none; margin: 0; }
.bd[data-layout] .bd-mopt:has(input:checked) { border-color: var(--teal-ink); background: var(--sage-soft); }
.bd[data-layout] .bd-mta textarea { width: 100%; box-sizing: border-box; font: 400 16px/1.4 "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; min-height: 64px; }
.bd[data-layout] .bd-mchk { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 15px; min-height: 40px; }
.bd[data-layout] .bd-mchk input { width: 20px; height: 20px; accent-color: var(--teal-ink); margin: 0; }
.bd[data-layout] .bd-merr { margin: 8px 0 0; font-size: 14px; color: var(--birdee-warn); }
.bd[data-layout] .bd-merr[hidden] { display: none; }
.bd[data-layout] .bd-mbtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bd[data-layout] .bd-mgo, .bd[data-layout] .bd-mno { border-radius: 999px; padding: 10px 20px; min-height: 44px; font: 600 15px "DM Sans", system-ui, sans-serif; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.bd[data-layout] .bd-mgo { background: var(--teal-ink); border-color: var(--teal-ink); color: var(--paper); }
.bd[data-layout] .bd-mgo.warn { background: var(--birdee-warn); border-color: var(--birdee-warn); color: var(--birdee-warn-ink); }
.bd[data-layout] .bd-mgo:disabled { opacity: .6; }
.bd[data-layout] .bd-mthanks { text-align: center; padding: 6px 4px 2px; }
.bd[data-layout] .bd-mthanks > span { font-size: 30px; }
.bd[data-layout] .bd-mthanks h4 { margin: 6px 0; }
.bd[data-layout] .bd-mthanks p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.bd[data-layout] .bd-mthanks .bd-mbtns { justify-content: center; }
/* 0.16.103 the Messages list: the paused line, and blocked conversations folded away with Unblock */
.msg-paused { margin: 0 0 14px; font-size: 15px; line-height: 1.5; background: var(--gold-soft); border-color: var(--gold); }
.msg-blocked { margin-top: 18px; }
.msg-blocked > summary { cursor: pointer; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); padding: 10px 2px; min-height: 44px; display: flex; align-items: center; }
.msg-blocked .msg-conv-blocked { display: flex; align-items: center; gap: 12px; opacity: .85; }
.msg-blocked .msg-conv-blocked .msg-cl { flex: 1; min-width: 0; }
/* 0.16.103 Admin > Messages and the person page's Messages card (shared/admin-messages.js) */
.mr-filter { margin: 12px 0; gap: 8px; }
.mr-filter [aria-pressed="true"] { background: var(--sage-soft); border-color: var(--teal); }
.mr-list { overflow-x: auto; }
.mr-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.mr-tbl th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mr-tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.mr-open { border: 0; background: none; padding: 0; color: var(--teal-ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mr-pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; background: var(--sage-soft); color: var(--teal-ink); white-space: nowrap; }
.mr-pill.mr-new { background: var(--gold-soft); color: var(--gold-ink); }
.mr-one { margin-top: 16px; }
.mr-one h2 { font-size: 24px; margin: 0; flex: 1; }
.mr-note { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 10px 10px 0; }
.mr-held { margin: 12px 0 6px; }
.mr-video { width: min(320px, 100%); aspect-ratio: 9 / 16; background: var(--media-bg); border-radius: 12px; display: block; }
.mr-photo { max-width: min(360px, 100%); border-radius: 12px; display: block; }
.mr-notebody { padding: 14px 16px; border-radius: 14px; background: var(--note-lavender); color: var(--note-ink-dark); font: 500 18px/1.45 var(--serif); white-space: pre-wrap; max-width: 520px; }
.mr-ctx ul { list-style: none; padding: 0; margin: 6px 0 12px; }
.mr-ctx li { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.mr-ctx li.mr-this { background: var(--gold-soft); border-radius: 8px; font-weight: 600; }
.mr-acts { gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.btn.mr-warn { background: var(--birdee-warn); border-color: var(--birdee-warn); color: var(--birdee-warn-ink); }
.mr-sw { align-items: center; gap: 12px; }
.mr-switch { width: 52px; height: 30px; border-radius: 999px; border: 0; background: var(--switch-off); position: relative; flex: none; cursor: pointer; }
.mr-switch span { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--card); transition: left .2s; box-shadow: 0 1px 3px var(--shadow); }
.mr-switch[aria-checked="true"] { background: var(--leaf); }
.mr-switch[aria-checked="true"] span { left: 25px; }
.mr-switch:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.mr-pausebox { margin-top: 12px; }
.adm-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font: 700 11px/18px var(--sans); font-style: normal; text-align: center; vertical-align: 1px; }   /* 0.16.103 */

/* 0.16.156 Edit and take back your own messages in Birdee (shared/birdee.js), under Birdee's own root, .bd[data-layout];
   and Recently deleted on the Messages list (messages.html) */
.bd[data-layout] .bd-upd { display: inline-block; font: 500 12px/1.3 "DM Sans", system-ui, sans-serif; letter-spacing: .02em; opacity: .78; }
.bd[data-layout] .bd-pv.bd-note .bd-upd { margin-top: 14px; }
.bd[data-layout] .bd-pv.bd-photo .bd-upd { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); background: var(--media-glass); color: var(--on-media); padding: 4px 12px; border-radius: 999px; opacity: 1; white-space: nowrap; }
.bd[data-layout] .bd-cm .bd-upd { color: var(--ink-faint); margin-left: 6px; opacity: 1; }
.bd[data-layout] .bd-cown { margin-left: auto; border: 0; background: none; color: var(--ink-faint); font-size: 14px; letter-spacing: .08em; width: 36px; height: 30px; border-radius: 999px; }
.bd[data-layout] .bd-cown:hover, .bd[data-layout] .bd-cown:focus-visible { color: var(--ink); background: var(--paper); }
.bd[data-layout] .bd-cown:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.bd[data-layout="laptop"] .bd-ci:not(:hover):not(:focus-within) .bd-cown { opacity: 0; }
.bd[data-layout] .bd-msws { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.bd[data-layout] .bd-msw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); padding: 0; }
.bd[data-layout="phone"] .bd-msws { gap: 8px; } .bd[data-layout="phone"] .bd-msw { width: 34px; height: 34px; }   /* all eight on one line at 360px and up */
.bd[data-layout] .bd-msw[aria-checked="true"] { outline: 2px solid var(--teal-ink); outline-offset: 2px; }
.bd[data-layout] .bd-msw:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.bd[data-layout] .bd-mchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.bd[data-layout] .bd-mchip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 40px; background: var(--card); color: var(--ink); font: 500 14px "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-mchip[aria-checked="true"] { border-color: var(--teal-ink); background: var(--sage-soft); color: var(--teal-ink); }
.bd[data-layout] .bd-mchip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.msg-gone { margin-top: 18px; }
.msg-gone > summary { cursor: pointer; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); padding: 10px 2px; min-height: 44px; display: flex; align-items: center; }
.msg-gone > p { margin: 0 2px 8px; }
.msg-gone .msg-conv-gone { display: flex; align-items: center; gap: 12px; }
.msg-gone .msg-conv-gone .msg-cl { flex: 1; min-width: 0; }

/* 0.16.159 (Soul Experience, F-1b): Tending as a panel over the painting (shared/world.js, shared/tending.js) */
.wv-sheet .wv-tend .tn-person, .wv-sheet .wv-tend .tn-tucked li { background: var(--paper); }
.wv-sheet .wv-tend .tn-tabs { position: sticky; top: 0; z-index: 1; background: var(--card); }
/* 0.16.158 Birdee: easier to reach (shared/birdee.js), under Birdee's own root, .bd[data-layout] */
/* Edit, beside Watch | Read on a phone and under Read on a laptop, only while your own message is open */
.bd[data-layout="phone"] .bd-wrrow { order: 9; flex-basis: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; }
.bd[data-layout="phone"] .bd-wrrow .bd-wr { flex-basis: auto; order: 0; }   /* Watch | Read, then Edit */
.bd[data-layout] .bd-editb { display: inline-flex; align-items: center; gap: 6px; font: 600 13px "DM Sans", system-ui, sans-serif; cursor: pointer; }
.bd[data-layout] .bd-editb[hidden] { display: none; }
.bd[data-layout] .bd-editb svg { width: 16px; height: 16px; }
.bd[data-layout="phone"] .bd-editb { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--on-media); background: var(--media-glass); color: var(--on-media); position: relative; }
.bd[data-layout="phone"] .bd-editb::after { content: ''; position: absolute; left: 0; right: 0; top: -8px; bottom: 0; }
.bd[data-layout="phone"] .bd-editb:focus-visible { outline: 2px solid var(--on-media); outline-offset: 2px; }
.bd[data-layout="phone"].bd-watching:not(.bd-tucked) .bd-top .bd-editb { pointer-events: auto; }
.bd[data-layout="laptop"] .bd-editb { position: fixed; z-index: 6; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); box-shadow: 0 2px 10px var(--shadow); }
.bd[data-layout="laptop"] .bd-editb:hover { color: var(--ink); border-color: var(--teal); }
.bd[data-layout="laptop"] .bd-editb:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.bd[data-layout="laptop"] .bd-editb.in-frame { background: var(--media-glass); color: var(--on-media); border-color: var(--on-media); box-shadow: none; }
/* Read: the ••• on every message is always shown (never only on hover) */
.bd[data-layout="laptop"] .bd-ci:not(:hover):not(:focus-within) .bd-cown, .bd[data-layout="laptop"] .bd-ci:not(:hover):not(:focus-within) .bd-crep { opacity: 1; }
.bd[data-layout] .bd-cown { min-width: 40px; min-height: 32px; color: var(--ink-soft); }
/* a bigger filmstrip */
.bd[data-layout] .bd-th { width: 58px; height: 104px; border-radius: 12px; }
.bd[data-layout] .bd-th.wide { width: 128px; height: 72px; }
.bd[data-layout] .bd-th.note { width: 76px; font-size: 15px; }
.bd[data-layout] .bd-strip { gap: 8px; }
.bd[data-layout="laptop"] .bd-strip { width: 148px; }
/* the filmstrip stays on screen while a Birdee plays */
.bd[data-layout="phone"].bd-tucked .bd-strip { display: flex; }
.bd[data-layout="laptop"].bd-tucked .bd-strip { opacity: 1; pointer-events: auto; }
.bd[data-layout="phone"].bd-watching.bd-vid.bd-tucked .bd-dock { background: var(--birdee-dock); padding-top: 12px; }
.bd[data-layout="phone"].bd-watching.bd-vid.bd-tucked .bd-play { bottom: var(--bd-dockh, 0px); }
/* a phone: Read stops above the filmstrip */
.bd[data-layout="phone"] .bd-conv[data-as] { bottom: var(--bd-stripb, 0px); border-radius: 18px; }
/* a laptop: Read sits beside the filmstrip; nothing moves the filmstrip */
.bd[data-layout="laptop"].bd-conv-on .bd-dock { transform: none; max-width: none; align-self: stretch; padding-left: 172px; padding-right: calc(var(--bd-cw) + 32px); }
.bd[data-layout="laptop"].bd-conv-on .bd-stage { transform: translateX(calc((var(--bd-cw) - 140px) / -2)); }
.bd[data-layout="laptop"].bd-conv-on.is-wide .bd-stage { width: calc(100vw - var(--bd-cw) - 228px); }
/* 0.16.158: holding the picture of a Birdee only ever does 2x or rewind: no iPhone Share or Save to Photos callout, no dragging */
.bd[data-layout] .bd-pv:not(.bd-note) img { -webkit-touch-callout: none; -webkit-user-drag: none; }

/* 0.16.160 (Soul Experience, K-5): a course inside the painted studio. The card sits centred without a transform, so the
   course's sessions ribbon and drawer (fixed, shared/community.css) place themselves on the screen as on the course page;
   the panel's own Back to the studio and Home stand in for the course banner's. */
.wv-sheet .wv-card.wv-crscard { left: 0; right: 0; margin: 0 auto; transform: none; width: min(880px, 92%); padding: 14px 16px 20px; }
.wv-sheet .wv-crs .jd-hero { display: none; }   /* the studio painting is already all around it */
.wv-sheet .wv-crs .jd-plate { margin: 0; }
.wv-stage.wv-crson .wv-room:not(.wv-sheet) .wv-card { visibility: hidden; }   /* the studio's own list steps aside under the course */
@media (min-width: 900px) {   /* the sessions ribbon hangs on the course card's edge, not past the painting */
  .wv-sheet .wv-crs .jd-tab { position: absolute; top: 18px; right: -16px; }
  .wv-sheet .wv-crs.jd-open .jd-tab { transform: none; visibility: hidden; }
  .wv-sheet .wv-crs .jd-pin { padding-right: 280px; }
}
.wv-sheet .wv-crs .jd { padding-bottom: 24px; }
.wv-sheet .wv-crs .crs-back { display: inline-block; margin: 4px 0 10px; }
@media (max-width: 899px) {
  .wv-sheet .wv-card.wv-crscard { left: 12px; right: 12px; width: auto; padding: 12px; }
}

/* 0.16.161 (Soul Experience, K-6): World view on phones and narrow tablets is full screen. shared/world.js sets html.wv-full
   while a world shows at 899px or less. The Suite header slims to one strip (‹ Suite, Messages, Me), the experience tabs,
   the app's bottom tab bar and the page's "Hidden from members" banner step aside, and the world's own places bar at the
   bottom is the only navigation. Simple view and laptops keep the Suite as it is. */
html.wv-full body { overflow-x: clip; }
html.wv-full body.has-tabs { padding-bottom: 0; }
html.wv-full #sp-tabs, html.wv-full #sp-hidden-note, html.wv-full #sp-nav .subnav, html.wv-full #sp-nav .doors, html.wv-full #sp-nav .suite,
html.wv-full #sp-nav .sc-gstrip, html.wv-full #sp-nav .se-bubs > :not(.se-msg):not(.who-dd), html.wv-full .foot { display: none !important; }
html.wv-full #sp-nav .band { background: var(--world-veil); border-bottom-color: var(--world-line-soft); }
html.wv-full #sp-nav .band-in { min-height: 0; padding: 4px 12px; gap: 8px; }
html.wv-full #sp-nav .brand { font-size: 0; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--world-line-soft); background: var(--world-card); }
html.wv-full #sp-nav .brand::before { content: "\2039  Suite"; font: 600 14px/1 var(--sans); letter-spacing: 0; color: var(--world-ink); white-space: pre; }
html.wv-full #sp-nav .se-bubs { gap: 8px; }
html.wv-full #sp-nav .se-bub .se-w { display: none; }
html.wv-full #sp-nav .se-bub .se-c { width: 40px; height: 40px; background: var(--world-card); border-color: var(--world-line-soft); color: var(--world-ink); }
html.wv-full .wv-title .tn-switch { display: none; }   /* the Host view switch is in the Me menu here */
.wv-hidechip { display: none; }
html.wv-full .wv-hidechip:not([hidden]) { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .02em; padding: 6px 10px; border-radius: 99px;
  background: var(--world-chip); border: 1px solid var(--world-line); color: var(--world-ink); text-shadow: none; }
.wv-mehost { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px 10px; }
.wv-mehost .tn-switch { align-self: flex-start; }
.wv-mehost small { color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
@media (max-width: 899px) {
  .wv-stage { --wv-barh: calc(54px + var(--sab, 0px)); }
  /* the places: one row along the bottom, every name on screen at 375 */
  .wv-bar { top: auto; bottom: 0; justify-content: space-between; gap: 0; padding: 6px 4px calc(6px + var(--sab, 0px)); overflow: hidden;
    background: linear-gradient(var(--world-shade-0), var(--world-shade) 45%); }
  .wv-bar button { flex: 1 1 0; min-width: 0; justify-content: center; min-height: 42px; padding: 0 2px; border: 0; border-radius: 10px; background: none;
    backdrop-filter: none; -webkit-backdrop-filter: none; font-size: clamp(11.5px, 3.3vw, 14px); white-space: nowrap; }
  .wv-bar button[aria-current="true"] { background: var(--world-card); box-shadow: inset 0 -2px 0 var(--world-amber); }
  .wv-card { bottom: calc(var(--wv-barh) + 10px); max-height: calc(100% - var(--wv-barh) - 78px); }
  .wv-welcome { bottom: calc(var(--wv-barh) + 10px); }
  .wv-welcome.open { max-height: calc(100% - var(--wv-barh) - 140px); }
  .wv-swipe { bottom: calc(var(--wv-barh) + 62px); }
  .wv-wcard { bottom: calc(var(--wv-barh) + 40px); max-height: calc(100% - var(--wv-barh) - 120px); }
  .wv-stones { bottom: calc(var(--wv-barh) + 14px); }
  /* inside a place, a panel or the walk, the place's own Back and card name it: the experience's name steps aside */
  .wv-stage.wv-inroom .wv-title, .wv-stage.wv-panel .wv-title, .wv-stage.wv-walking .wv-title, .wv-stage.wv-sheeton .wv-title { display: none; }
  .wv-title { flex-wrap: wrap; }
}

/* 0.16.167 (Soul Experience, Release I-1, tonight's piece): Owner Studio, the owner's backstage (owner-studio.html,
   shared/owner-studio.js). Two door cards side by side, stacked on phones; the settings card; What's inside your world. */
.os-eyebrow { margin: 6px 0 2px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.os-nav { gap: 14px; }
.os-door { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.os-door .card { margin: 0; }
.os-doorhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.os-doorhead h2 { margin: 0; }
.os-doorcard p { margin: 8px 0; }
.os-soon { border-color: var(--gold, var(--line)); color: var(--ink-soft); }
.os-hostnote { margin: 10px 0 6px; }
.os-hostnote p { margin: 0 0 8px; }
.os-set { min-width: 0; }
.os-set .se-opt { overflow-wrap: anywhere; }
.os-wait { margin: 2px 0 0; color: var(--ink-soft); }
.os-dir { margin-top: 10px; }
.os-dirgrid { display: grid; grid-template-columns: 1fr minmax(0, 220px); gap: 14px; align-items: start; }
.os-ways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.os-ways li.off { color: var(--ink-faint); }
.os-ways small { margin-left: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.os-sample { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--card); min-width: 0; }
.os-sample > div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.os-sample small { font-size: 13px; }
.os-later { margin-top: 16px; }
.os-insidehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.os-insidehead h2 { margin: 0; }
.os-place { margin-top: 18px; }
.os-place h3 { margin: 0; font-size: 19px; }
.os-place > p { margin: 2px 0 8px; }
.os-blocks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.os-block { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--card); min-width: 0; }
.os-block .k { flex: none; display: inline-flex; width: 22px; color: var(--ink-soft); }
.os-bname { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.os-bname small { color: var(--ink-faint); font-size: 13px; }
.os-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.os-always, .os-empty { background: transparent; border-style: dashed; }
.os-viewonly { margin-bottom: 14px; }
.tn-studio { font-weight: 600; }
.os-tosettings { margin-top: 10px; }
@media (max-width: 760px) {
  .os-door { grid-template-columns: 1fr; }
  .os-dirgrid { grid-template-columns: 1fr; }
}

/* 0.16.170: the Outbox line on every page and the Outbox on Messages (shared/outbox.js) */
.ob-line { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); z-index: 60; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .14); font-size: 15px; }
.ob-line[hidden] { display: none; }
.ob-line > span { flex: 1; min-width: 0; }
.ob-line .ob-go { flex: none; font: 600 15px inherit; color: var(--teal); background: none; border: 0; padding: 6px 4px; cursor: pointer; text-decoration: none; min-height: 44px; }
.ob-bar { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ob-bar b { display: block; height: 100%; background: var(--teal); transition: width .3s; }
@media (min-width: 900px) { .ob-line { bottom: 20px; } }
.ob-box h3 { margin: 0 0 4px; }
.ob-list { list-style: none; margin: 10px 0 0; padding: 0; }
.ob-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.ob-list li img, .ob-list li .ob-th { width: 36px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--teal-deep); flex: none; }
.ob-list li > span { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.ob-list li small { color: var(--ink-soft); }
/* ---- 0.16.168, the Guests page polish (Virginia, Nov 23): short pills and small buttons stay on one line, one toolbar,
   "1:01 PM · Recording" with the content as small tags (a ✓ once a piece went to the guest), one Guest settings card,
   and Send to guest kit's list. ---- */
.sc-gplace .sc-tag, .sc-gmail .sc-tag, .sc-gl .sc-tag, .gp-st, .sc-chip, #yg .btn, .sc-gacts .btn, .sc-gm-see { white-space: nowrap; }
.sc-gplace .sc-tag, .sc-gmail .sc-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.sc-gacts { gap: 8px; flex-wrap: wrap; }
.sc-gtools { margin: 4px 0 18px; }
html.sp-mnav #gtools .sc-search { display: flex; order: -1; flex: 1 1 100%; min-width: 0; }
@media (min-width: 900px) { #gtools .sc-search { flex: 0 1 360px; } }
.sc-gmail { gap: 6px; }
.sc-gmail .sc-gm-line { font-size: 13px; color: var(--ink-faint); }
.sc-gmail .btn.sc-gm-see { padding-left: 0; padding-right: 0; min-height: 32px; margin: 0; }
.sc-gl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sc-gl-top .sep { color: var(--ink-faint); }
.sc-gl .pcs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.sc-gl .pcs .lnk.sm { background: var(--sage-soft); color: var(--teal-ink); border-radius: 999px; padding: 2px 10px; line-height: 1.6; white-space: nowrap; }
.sc-gl .pcs .lnk.sm:hover, .sc-gl .pcs .lnk.sm:focus-visible { text-decoration: none; box-shadow: 0 0 0 1px var(--teal) inset; }
.sc-gl .pcs .lnk.sm.got { background: var(--sage); }
.sc-gl .ck { margin-left: 4px; font-weight: 700; color: var(--teal-ink); }
.sc-sit + .sc-sit { margin-top: 4px; }
.sc-sit > .d { margin-bottom: 4px; }
.sc-gl { padding: 6px 0; }
.sc-gl + .sc-gl { border-top: 1px dashed var(--line-soft); }
#yg .gh-showing { margin: -4px 0 10px; }
.gs-card { margin: 0 0 18px; }
.gs-card .gs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.gs-card h2 { margin: 0; font-size: 26px; }
.gs-card h2:focus { outline: none; }
.gs-card .gs-h3 { margin: 12px 0 2px; }
.gs-card .toggle.gs-sw { border-top: 0; padding: 10px 0; }
.gs-card .toggle .d { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.gs-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 18px; margin: 2px 0 0 54px; }
.gs-kinds .gp-check { padding: 6px 0; }
.gs-kinds input:disabled + span { color: var(--ink-soft); }
.gs-kinds.off .gp-check:nth-child(-n+2) { opacity: .6; }
.gs-note { margin: 6px 0 8px 54px; color: var(--ink-soft); }
.gs-more { margin-top: 6px; border-top: 1px solid var(--line); }
.gs-more li:first-child { border-top: 0; }
#gs-copyslot .toggle { border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .gs-kinds, .gs-note { margin-left: 0; }
  .gs-kinds { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .gs-card h2 { font-size: 23px; }
}
/* Send to guest kit */
.sc-kit { list-style: none; margin: 4px 0 6px; padding: 0; }
.sc-kit-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.sc-kit-t:first-child { border-top: 0; }
.sc-kit-n { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.sc-kit-n small { font-weight: 400; color: var(--ink-faint); margin-left: 4px; }
.sc-kit-s { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.sc-kit-t.done .sc-kit-s { color: var(--teal-ink); font-weight: 600; }
.sc-kit-t.none .sc-kit-n, .sc-kit-t.none .sc-kit-s { color: var(--ink-faint); font-weight: 400; }
.sc-kit-h { display: flex; align-items: center; gap: 10px; flex: 1 1 100%; cursor: pointer; }
.sc-kit-h input { width: 20px; height: 20px; margin: 0; accent-color: var(--leaf); flex: none; }
.sc-kit-p { flex: 1 1 100%; margin: 4px 0 0 30px; }
.sc-kit-t .sc-gp-piece.sc-kit-one { flex: 1 1 100%; margin: 0; }
.sc-kit-t .btn.sm { white-space: nowrap; }
@media (max-width: 560px) { .sc-kit-p { margin-left: 0; } }
.gh-rh { margin: 18px 0 4px; font-size: 18px; }
.gh-recs li { padding: 8px 0; }
/* 0.16.168: a Library card's views, a tag that opens the recording's Insights */
button.sc-tag.sc-vtag { border: 0; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
button.sc-tag.sc-vtag:hover, button.sc-tag.sc-vtag:focus-visible { box-shadow: 0 0 0 1px var(--teal) inset; }
button.sc-tag.sc-vtag.none { background: var(--pill); color: var(--ink-soft); }

/* 0.16.171: "We couldn't reach SoulCast just now. You're still signed in." (SP.cannotReach) */
.sp-reach { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 2000; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .14); font-size: 15px; }
.sp-reach > span { flex: 1; min-width: 0; }
.sp-reach .sp-reach-go { flex: none; font: 600 15px inherit; color: var(--teal); background: none; border: 0; padding: 6px 4px; min-height: 44px; cursor: pointer; }
.login .app-only { display: none; }
html.sp-app .login p.app-only { display: block; }
html.sp-app .login span.app-only { display: inline; }
html.sp-app .login .web-only { display: none; }
/* 0.16.171: the sign-in boxes always take a tap and text (explicitly, whatever a page around them says), and the Paste buttons */
.login input, .login textarea { touch-action: manipulation; -webkit-user-select: text; user-select: text; }
.login .sp-paste { display: inline-block; margin-top: 6px; min-height: 44px; font-size: 15px; }
.login .sp-paste.hidden { display: none; }

/* 0.16.173 Birdee polish (Virginia's testing on live): the big play in the middle while paused, a bigger play and pause
   at the bottom left (a 48px tap area, a 28px mark), and More reactions (•••) with the other emojis on the right */
.bd[data-layout] .bd-bigp { position: absolute; left: 50%; top: 50%; z-index: 5; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; padding: 0;
  background: var(--media-scrim); color: var(--on-media); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 18px var(--media-scrim); }
.bd[data-layout] .bd-bigp[hidden] { display: none; }
.bd[data-layout] .bd-bigp svg { width: 38px; height: 38px; fill: currentColor; stroke: none; margin-left: 5px; }
.bd[data-layout] .bd-bigp:focus-visible { outline: 3px solid var(--on-media); outline-offset: 3px; }
.bd[data-layout] .bd-ctl .bd-pp { height: 48px; min-width: 48px; padding: 0 10px; }
.bd[data-layout] .bd-ctl .bd-pp svg { width: 28px; height: 28px; }
.bd[data-layout] .bd-rrx { position: relative; }
.bd[data-layout] .bd-rxmore svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.bd[data-layout] .bd-rxmore { color: var(--on-media); }
.bd[data-layout="laptop"] .bd-rail:not(.in-frame) .bd-rxmore { color: var(--ink); }
.bd[data-layout] .bd-rxgrid { position: absolute; right: calc(100% + 10px); bottom: 0; z-index: 8; display: grid; grid-template-columns: repeat(5, 44px); gap: 2px;
  max-height: min(60vh, 420px); overflow: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 10px 30px var(--shadow); }
.bd[data-layout] .bd-rxgrid[hidden] { display: none; }
.bd[data-layout] .bd-rxgrid button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 22px; padding: 0; line-height: 1; }
.bd[data-layout] .bd-rxgrid button:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
/* 0.16.175 (World restored, piece 1): Simple and World both ways, everywhere.
   Simple view (this experience's own pages, the calendar, profile, journal, messages, people, tending): Back to my world.
   World view: Home and Simple view next to "‹ Back to the garden" in every place and panel, and Simple view on the hub. */
.wv-doorrow { margin: 0 0 14px; }
.side > .wv-doorrow { margin: 4px 12px 12px; }
.wv-door { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; text-decoration: none; cursor: pointer;
  font: 600 15px/1.1 var(--sans); color: var(--teal-ink); background: var(--sage-soft); border: 1px solid var(--sage); box-shadow: 0 2px 10px var(--shadow); }
.wv-door small { font: 500 13px/1.1 var(--sans); color: var(--ink-soft); }
.wv-door small:empty { display: none; }
.wv-door:hover { border-color: var(--teal); }
.wv-door:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.wv-door[aria-busy="true"] { opacity: .6; pointer-events: none; }
@media (min-width: 900px) { .side > .wv-doorrow { display: none; } }   /* the laptop shows it once, above the block */
@media (max-width: 899px) { .body.on-tree .main > .wv-doorrow { display: none; } }
.wv-rtop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: calc(100% - 4.8%); }
.wv-rtop .wv-tohome { text-decoration: none; }
.wv-titlesw { display: flex; margin-top: 2px; }
.wv-titlesw .wv-tosimple { min-height: 36px; padding: 0 12px; font-size: 13px; }
.wv-tosimple[disabled] { opacity: .6; }
@media (max-width: 420px) { .wv-rtop .wv-lg { display: none; } }
/* inside a place the experience's name steps aside, as it already does in panels and the walk (live drew it under "‹ Back to the garden" on laptops) */
.wv-stage.wv-inroom .wv-title, .wv-stage.wv-panel .wv-title { opacity: 0; pointer-events: none; }
/* 0.16.178 (World restored, piece 2): Connect is the pond itself. One lily pad per group (v49's pads), floating on the
   painting with its name; a gentle glow and "New posts" when something is new since this person last stepped onto it. */
.wv-room.wv-pondroom { pointer-events: none; }
.wv-pondtop { position: absolute; right: 2.4%; top: 3.6%; text-align: right; pointer-events: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 40%; }
.wv-pondtop .wv-h { margin: 6px 0 0; font-size: clamp(22px, 2.6cqw, 40px); text-shadow: 0 2px 14px var(--world-shadow); }
.wv-pline { margin: 0; font: italic 500 clamp(14px, 1.25cqw, 19px)/1.3 var(--serif); color: var(--world-muted); text-shadow: 0 1px 8px var(--world-shadow); }
.wv-pondtop .wv-ppl { text-decoration: none; min-height: 40px; font-size: 14px; margin-top: 4px; }
.wv-pond { position: absolute; inset: 0; pointer-events: none; }
.wv-pad { all: unset; box-sizing: border-box; pointer-events: auto; cursor: pointer; position: absolute; width: calc(var(--s) * 1cqw); aspect-ratio: 1; min-width: 96px;
  transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; color: var(--world-ink); animation: wv-bob var(--b) ease-in-out infinite alternate; }
.wv-pad::before { content: ""; position: absolute; inset: -4%; background: var(--img) center / contain no-repeat; transform: rotate(var(--r));
  filter: drop-shadow(0 .9cqw 1.4cqw rgba(8, 6, 12, .55)); transition: filter .4s; }
.wv-pad span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14% 12%; max-width: 92%;
  background: radial-gradient(closest-side, rgba(20, 26, 16, .62), rgba(20, 26, 16, 0)); border-radius: 50%; text-shadow: 0 1px 6px rgba(10, 20, 10, .85); }
.wv-pad b { font: 600 clamp(15px, calc(var(--s) * .12cqw), 30px)/1.05 var(--serif); }
.wv-pad small { font: 500 clamp(11px, calc(var(--s) * .068cqw), 15px)/1.3 var(--sans); color: #F3E7D6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wv-pad .wv-padhid { color: var(--world-amber); }
.wv-padnew { font: 600 12px/1 var(--sans); font-style: normal; background: var(--world-amber); color: #2a1a14; padding: 4px 8px; border-radius: 99px; text-shadow: none; }
.wv-padnew[hidden] { display: none; }
.wv-pad:hover::before, .wv-pad:focus-visible::before { filter: drop-shadow(0 0 .6cqw rgba(242, 194, 123, .9)) drop-shadow(0 .9cqw 1.4cqw rgba(8, 6, 12, .55)); }
.wv-pad:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 4px; border-radius: 50%; }
.wv-pad.wv-padglow::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 2.2cqw .6cqw var(--world-amber-glow); animation: wv-padpulse 3.2s ease-in-out infinite; }
.wv-padlock small { color: #F3D9B5; }
@keyframes wv-bob { from { transform: translate(-50%, -50%) translate(0, 0) rotate(-1.5deg); } to { transform: translate(-50%, -50%) translate(.25cqw, .5cqw) rotate(1.5deg); } }
@keyframes wv-padpulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.wv-pondmore { position: absolute; left: 2.4%; bottom: 84px; margin: 0; pointer-events: auto; font: 500 14px/1.4 var(--sans); color: var(--world-ink);
  background: var(--world-chip); border: 1px solid var(--world-line); border-radius: 14px; padding: 8px 12px; max-width: 60%; }
.wv-pondmore .wv-link { color: var(--world-amber); }
/* a group's feed as a panel over the pond: the same feed as its page, a little wider to read */
.wv-gdesc { margin: -6px 0 12px; font: 400 15px/1.4 var(--sans); color: var(--ink-soft); }
.wv-stage.wv-grpon .wv-pondroom .wv-rtop { visibility: hidden; }   /* the panel has its own Back to the pond, Home and Simple */
@media (prefers-reduced-motion: reduce) { .wv-pad, .wv-pad.wv-padglow::after { animation: none; } }
@media (max-width: 899px) {
  .wv-pondtop { left: 12px; right: 12px; top: 64px; max-width: none; align-items: flex-start; text-align: left; }
  .wv-pondtop .wv-h { font-size: 24px; }
  .wv-pond.tall .wv-pad { width: calc(var(--s) * 1%); }
  .wv-pond.tall .wv-pad b { font-size: clamp(15px, calc(var(--s) * .42vw), 22px); }
  .wv-pond.tall .wv-pad small { font-size: 12px; }
  .wv-pondmore { left: 12px; right: 12px; max-width: none; bottom: 72px; }
}
/* 0.16.178 (World restored, Mysti's call): the world reads in dim light. A soft dark edge close around every painted
   label (a text outline made of tight shadows, so the painting still shows), place names and the places bar at full
   strength, and a quiet light rim on every button so it stands off the painting. Same in light and dark (the world
   keeps its own evening light). */
.wv-spot b, .wv-title, .wv-h, .wv-pad b { text-shadow: 0 0 1px var(--world-edge), 0 0 3px var(--world-edge), 0 1px 4px var(--world-edge), 0 2px 14px var(--world-shadow); }
.wv-spot i, .wv-pline, .wv-pad small { color: #F3E4D2; text-shadow: 0 0 1px var(--world-edge), 0 0 3px var(--world-edge), 0 1px 8px var(--world-shadow); }
.wv-title small, .wv-k { text-shadow: 0 0 2px var(--world-edge), 0 1px 4px var(--world-edge); }
.wv-spot b { border-bottom-width: 2px; }
.wv-bar button { opacity: 1; text-shadow: 0 0 2px var(--world-edge), 0 1px 4px var(--world-edge); }
.wv-back, .wv-paintbtn, .wv-note, .wv-title .tn-switch { box-shadow: 0 0 0 1px rgba(255, 240, 220, .14), 0 2px 10px var(--world-shadow); }
.wv-back { font-weight: 600; }
.wv-card, .wv-sheet .wv-card { box-shadow: 0 0 0 1px rgba(255, 240, 220, .10), 0 18px 40px var(--world-shadow); }
.wv-sheet .wv-card .wv-h, .wv-sheet .wv-card .wv-k { text-shadow: none; }   /* panels are page-coloured cards: no outline there */
/* 0.16.178 (Mysti's call): from the world, the Journal's Back to My Space and Home are full-size pills that stay in view
   just under the top bars (they scrolled under them while the book opened, and the first tap missed) */
.jr-fromworld .jr-top { display: contents; }   /* so the row sticks along the whole page, not just its short header box */
.jr-fromworld .jr-h { margin-bottom: 22px; }
.jr-fromworld .jr-nav { position: sticky; top: var(--jr-stick, 0px); z-index: 48; padding: 8px 0; margin: -8px 0 0; gap: 10px; flex-wrap: wrap; }
.jr-fromworld .jr-nav .back { min-height: 44px; padding: 0 16px; align-items: center; border-radius: 99px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.jr-fromworld .jr-inroom .jr-nav .back { background: var(--world-chip); border-color: var(--world-line); color: var(--world-ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* 0.16.178 (Mysti's call): Leave, quietly at the foot of an experience's page; its confirm puts Stay first and bright */
.leave-row { margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.leave-link { all: unset; cursor: pointer; font: 500 13px/1.4 var(--sans); color: var(--ink-faint, var(--ink-soft)); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.leave-link.hidden { display: none; }
.leave-link:hover { color: var(--ink-soft); }
.leave-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.leave-note { max-width: 520px; }
/* 0.16.178 (v49's pond): a group's conversation is not a box on the pond. The pond dims, the posts sit right on it as a
   column of dark glass in the world's own evening colours (the same in light and dark), and the pads wait faintly behind. */
.wv-stage.wv-grpon .wv-pondroom .wv-pond, .wv-stage.wv-grpon .wv-pondroom .wv-pondtop, .wv-stage.wv-grpon .wv-pondroom .wv-pondmore { opacity: .22; pointer-events: none; transition: opacity .45s; }
.wv-stage.wv-grpon .wv-pondroom { background: var(--world-shade); }
.wv-sheet .wv-card.wv-grpcard { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 4px 6px 24px; width: min(780px, 94%);
  --card: rgba(34, 21, 27, .90); --paper: rgba(24, 15, 18, .86); --ink: #F6EBDD; --ink-soft: #E6D3BF; --ink-faint: #CDB9A5; --line: rgba(242, 194, 123, .38); --line-soft: rgba(242, 194, 123, .22);
  --teal: #F2C27B; --teal-deep: #F5CF94; --teal-ink: #F2C27B; --sage: #A9BF92; --sage-soft: rgba(242, 194, 123, .16); --leaf: #F2C27B; --cream: rgba(242, 194, 123, .16); --beige: rgba(242, 194, 123, .24);
  --gold: #D99AA5; --gold-soft: rgba(217, 154, 165, .18); --gold-ink: #F3D3C0; --btn-ink: #2A1A14; color: var(--ink); color-scheme: dark; }
.wv-sheet .wv-card.wv-grpcard .wv-k { color: var(--world-amber); }
.wv-sheet .wv-card.wv-grpcard .wv-h { color: var(--ink); text-shadow: 0 0 1px var(--world-edge), 0 0 3px var(--world-edge), 0 2px 12px var(--world-shadow); }
.wv-sheet .wv-card.wv-grpcard .wv-gdesc { color: var(--ink-soft); text-shadow: 0 1px 4px var(--world-edge); }
.wv-sheet .wv-card.wv-grpcard input, .wv-sheet .wv-card.wv-grpcard textarea { background: var(--paper); color: var(--ink); border-color: var(--line); }
.wv-sheet .wv-card.wv-grpcard textarea::placeholder, .wv-sheet .wv-card.wv-grpcard input::placeholder { color: var(--ink-faint); }
.wv-sheet .wv-card.wv-grpcard .avatar { color: #2A1A14; }   /* v49's soft faces: sage with dark initials */
.wv-sheet .wv-card.wv-grpcard .polo-bars i { opacity: .7; }

/* ---------------------------------------------------------------- 0.16.180 Me cleanup (Virginia's revised Option A, three homes)
   One outline icon set (.ni, stroke 1.75); Me grouped (You, Account, and Your work for people without a studio); the
   phone's Studio tab with its places; the laptop bar's More; the Experience's strip. Every colour is a token. */
svg.ni { width: 20px; height: 20px; flex: none; display: block; }
.me-grp { margin: 14px 6px 4px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }
.me-list { display: flex; flex-direction: column; background: var(--paper); border-radius: 16px; padding: 2px 0; }
.me-list + .me-list { margin-top: 12px; }
.me-it { display: flex !important; align-items: center; gap: 13px; min-height: 52px; width: 100%; padding: 7px 14px; text-align: left; font: inherit; font-size: 16px;
  color: var(--ink); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.me-list > .me-it:last-child { border-bottom: 0; }
.me-it[hidden] { display: none !important; }
.me-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--sage-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.me-tx { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.me-tx small { font-size: 12.5px; color: var(--ink-faint); font-weight: 400; }
.me-go { margin-left: auto; color: var(--ink-faint); display: flex; }
.me-go svg.ni { width: 18px; height: 18px; }
.me-it.me-out { color: var(--clay-ink); }
.me-it.me-out .me-ic { background: var(--clay); color: var(--clay-ink); }
.me-hint { margin: 10px 8px 0; font-size: 13px; color: var(--ink-faint); }
.sp-sheet.me { gap: 0; }
.sp-sheet.me .sp-me-who { margin-bottom: 2px; }
.sp-sheet.me .sp-me-who .avatar { width: 52px; height: 52px; }
/* the laptop menus (Me, More): the same rows, quieter */
.nv-menu.se-menu, .nv-menu.me-menu { min-width: 300px; max-width: min(340px, calc(100vw - 24px)); padding: 10px; gap: 0; }
.nv-menu .me-grp { margin: 10px 8px 2px; }
.nv-menu .me-list { background: none; padding: 0; }
.nv-menu .me-list + .me-list { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 4px; }
.nv-menu .me-it { min-height: 40px; padding: 5px 8px; font-size: 15px; border-bottom: 0; border-radius: 10px; }
.nv-menu .me-ic { width: 30px; height: 30px; border-radius: 9px; }
.nv-menu .me-ic svg.ni { width: 18px; height: 18px; }
.nv-menu .se-who { padding: 4px 8px 6px; }
/* the bar's More, after the places */
.sc-more-dd { flex: none; }
.subnav .sc-more { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px;
  padding: 6px 10px 6px 13px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.subnav .sc-more svg.ni { width: 15px; height: 15px; }
.subnav .sc-more[aria-expanded="true"] { border-color: var(--teal); }
/* the bottom tabs: 24px icons, the one you are on tinted, Create a round green button level with the rest */
@media (max-width: 899px) {
  .tabs.t4 a, .tabs.t4 button { gap: 3px; font-weight: 500; font-size: 11.5px; letter-spacing: .01em; color: var(--ink-soft); }
  .tabs.t4 a.here, .tabs.t4 button.here { color: var(--teal-ink); font-weight: 700; }
  .tabs.t4 .tw { width: 52px; height: 30px; border-radius: 15px; display: grid; place-items: center; position: relative; }
  .tabs.t4 .tw svg.ni, .tabs.t4 .t-mw svg { width: 24px; height: 24px; }
  .tabs.t4 .here .tw { background: var(--sage-soft); color: var(--teal); }
  .tabs.t4 .here .tw svg.ni { stroke-width: 2.1; }
  .tabs.t4 .plus { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: var(--btn-ink); margin: -6px 0 -6px; box-shadow: 0 4px 12px var(--shadow); }
  .tabs.t4 .plus svg.ni { width: 22px; height: 22px; stroke-width: 2.2; }
  .tabs.t4 .avatar.t-av { width: 28px; height: 28px; border: 0; }
  .tabs.t4 .t-me.here .avatar.t-av { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--teal); }
  .tabs.t4 .t-me.here .tw { background: none; }
}
/* Studio on a phone: the title row's Soul Experience pill, then Your work and Studio setup */
.sp-hub { display: none; }
.sp-mexp { display: none; }
@media (max-width: 899px) {
  html.sp-m .sp-mtop .sp-mexp { display: inline-flex; align-items: center; gap: 7px; position: absolute; top: calc(var(--sat) + 12px); right: calc(var(--x) + 50px);
    height: 38px; padding: 0 14px 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--teal-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
  html.sp-m .sp-mtop .sp-mexp svg.ni { width: 18px; height: 18px; color: var(--teal); }
  html.sp-m .sp-mtop .sp-mexp.glow { box-shadow: 0 0 0 2px var(--card), 0 0 10px 2px var(--leaf); }
  html.sp-m .sp-mtop.has-exp .sp-mtitle { padding-right: 230px; }
  html.sp-m .sp-hub { display: block; padding: 6px var(--x) 4px; background: var(--paper); }
  .sp-hub .me-grp { margin: 10px 2px 8px; }
  .sp-hub-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp-hub-t { display: grid; gap: 1px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; color: var(--ink); text-decoration: none; }
  .sp-hub-t .me-ic { margin-bottom: 7px; }
  .sp-hub-t b { font-size: 15px; font-weight: 600; }
  .sp-hub-t small { font-size: 12.5px; color: var(--ink-faint); line-height: 1.3; }
  .sp-hub-setup { background: var(--card); border: 1px solid var(--line); }
}
/* the Experience's strip: Since you were here, My Space and View, under the bar on its own pages */
.se-strip { background: var(--dew); color: var(--ink); }
.se-strip[hidden] { display: none; }
.se-strip-in { max-width: 1180px; margin: 0 auto; padding: 10px var(--x); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; }
.se-since { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; flex: 1 1 320px; min-width: 0; }
.se-since > b { font-weight: 600; }
.se-since .se-quiet { margin: 0; color: var(--ink-soft); font-size: 14px; }
.se-since .se-i { display: inline-flex; gap: 6px; align-items: baseline; color: var(--ink); text-decoration: none; min-width: 0; }
.se-since .se-i b { font-weight: 600; }
.se-since .se-i small { color: var(--ink-soft); font-size: 12.5px; }
.se-acts { display: flex; gap: 10px; align-items: center; flex: none; }
.se-space { display: inline-flex; gap: 6px; align-items: center; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.se-space svg.ni { width: 18px; height: 18px; color: var(--teal); }
.se-strip .se-view { padding: 0; gap: 6px; }
.se-strip .se-view > span { flex: none; }
.se-strip .se-view button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 36px; }
.se-door.glow { box-shadow: 0 0 0 2px var(--card), 0 0 10px 2px var(--leaf); }
/* Profile in five sections (0.16.180): the jump row, then only the chosen section's cards */
.pf-jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 18px; padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
.pf-jump::-webkit-scrollbar { display: none; }
.pf-jump a { flex: none; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink-soft); background: var(--card); text-decoration: none; }
.pf-jump a.on { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); font-weight: 600; }
.pf-jump a[hidden] { display: none; }
main[data-show] [data-sec] { display: none; }
main[data-show="profile"] [data-sec="profile"]:not([hidden]):not(.hidden), main[data-show="directory"] [data-sec="directory"]:not([hidden]):not(.hidden),
main[data-show="notifications"] [data-sec="notifications"]:not([hidden]):not(.hidden), main[data-show="sharing"] [data-sec="sharing"]:not([hidden]):not(.hidden),
main[data-show="emails"] [data-sec="emails"]:not([hidden]):not(.hidden) { display: block; }
/* 0.16.176 (Mysti's iPhone): the ••• by the sender's name opens on the first tap. While a Birdee is open the top bar takes
   no taps of its own (so the ✕ under it stays reachable) and the ••• was left out, so a tap fell through to the picture.
   It now always takes the tap, never tucks away (like Back and ✕), and has a 48px tap area. */
.bd[data-layout="phone"].bd-watching .bd-top .bd-mod { pointer-events: auto; }
.bd[data-layout].bd-tucked .bd-top .bd-mod { opacity: .85; pointer-events: auto; }
.bd[data-layout] .bd-mod { position: relative; }
.bd[data-layout] .bd-mod::after { content: ''; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; }
/* 0.16.176 first-time tips: a soft bubble, one at a time, skippable */
.bd[data-layout] .bd-tip { position: fixed; z-index: 30; box-sizing: border-box; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 16px 10px; box-shadow: 0 12px 34px var(--shadow); font: 16px/1.45 Garamond, "EB Garamond", "Cormorant Garamond", Georgia, serif; animation: bd-tip-in .35s ease both; }
.bd[data-layout] .bd-tip p { margin: 0 0 8px; }
.bd[data-layout] .bd-tip.ar-down::after { content: ''; position: absolute; left: var(--ax, 50%); bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: var(--card);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.bd[data-layout] .bd-tipb { display: flex; justify-content: flex-end; gap: 6px; }
.bd[data-layout] .bd-tipb button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-soft); font: 600 14px "DM Sans", system-ui, sans-serif; }
.bd[data-layout] .bd-tipb .bd-tips-ok { background: var(--teal-ink); color: var(--paper); }
.bd[data-layout] .bd-tipb button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@keyframes bd-tip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bd[data-layout] .bd-tip { animation: none; } }
/* 0.16.182 (World restored, piece 3): Learn is v49's studio. The welcome video in a gilded frame on the wall under a
   picture light, a brass plaque, and a ribbon bookmark at the right edge that slides out a paper drawer of sessions. */
.wv-hang { position: absolute; left: 50%; top: 6%; width: 34cqw; height: 30cqw; transform: translateX(-50%); pointer-events: none; }
.wv-lamp { position: absolute; left: 50%; top: 1.2cqw; width: 9cqw; height: .9cqw; transform: translateX(-50%); border-radius: .5cqw .5cqw .9cqw .9cqw;
  background: linear-gradient(#6d5330, #3a2a16); box-shadow: 0 .2cqw .4cqw rgba(0, 0, 0, .6), inset 0 -.25cqw .3cqw rgba(255, 220, 160, .35); }
.wv-plight { position: absolute; left: 50%; top: 1.8cqw; width: 40cqw; height: 30cqw; transform: translateX(-50%); background: radial-gradient(42% 60% at 50% 0, rgba(255, 206, 140, .30), rgba(255, 206, 140, .08) 55%, rgba(255, 206, 140, 0) 75%); mix-blend-mode: screen; }
.wv-vframe { all: unset; box-sizing: border-box; cursor: pointer; pointer-events: auto; position: absolute; left: 50%; top: 13%; transform: translateX(-50%); width: 30cqw; aspect-ratio: 16 / 11; padding: 1.25cqw;
  background: linear-gradient(115deg, #94672e 0%, #d8ae68 18%, #86592a 38%, #c99a55 58%, #73491f 80%, #b88a4a 100%);
  box-shadow: 1.6cqw 2.2cqw 2.6cqw rgba(10, 5, 6, .62), .4cqw .6cqw .6cqw rgba(10, 5, 6, .4), inset 0 0 0 .14cqw rgba(40, 24, 8, .7), inset .3cqw .3cqw .3cqw rgba(255, 230, 180, .35), inset -.3cqw -.3cqw .4cqw rgba(30, 18, 6, .6); }
.wv-vframe::before { content: ""; position: absolute; inset: .55cqw; border: 1px solid rgba(255, 225, 170, .35); pointer-events: none; }
.wv-mat { display: block; width: 100%; height: 100%; box-sizing: border-box; padding: 1.6cqw; background: linear-gradient(135deg, #e9dfca, #d6c8ad); box-shadow: inset .25cqw .3cqw .5cqw rgba(60, 40, 20, .45); }
.wv-canvas { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(70% 80% at 40% 45%, #6b4a46, #22161a);
  box-shadow: inset 0 0 0 1px rgba(60, 40, 20, .35), inset 0 0 1.6cqw rgba(30, 15, 10, .4); }
.wv-canvas video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.wv-play { width: 4.6cqw; height: 4.6cqw; min-width: 48px; min-height: 48px; border-radius: 50%; border: 2px solid rgba(255, 230, 190, .85); background: rgba(30, 18, 22, .35); display: grid; place-items: center; }
.wv-play::after { content: ""; margin-left: 12%; border-style: solid; border-width: .9cqw 0 .9cqw 1.5cqw; border-color: transparent transparent transparent #fbe8c6; }
.wv-addv { font: 600 clamp(14px, 1.3cqw, 20px)/1.3 var(--sans); color: #F6EBDD; text-align: center; padding: 0 12px; }
.wv-vframe:hover .wv-canvas, .wv-vframe:focus-visible .wv-canvas { filter: brightness(1.12); }
.wv-vframe:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 4px; }
.wv-plaque { position: absolute; left: 50%; top: calc(13% + 20.6cqw + 1.2cqw); transform: translateX(-50%); margin: 0; padding: .4cqw 1.1cqw; text-align: center; border-radius: .15cqw; pointer-events: none;
  background: linear-gradient(115deg, #6e5229, #a8874f 45%, #6e5229); box-shadow: .6cqw .8cqw 1cqw rgba(10, 5, 6, .5), inset 0 0 0 1px rgba(40, 24, 8, .6); }
.wv-plaque b { display: block; font: 600 clamp(13px, .95cqw, 18px)/1.2 var(--serif); color: #241708; }
.wv-plaque small { display: block; font: 600 clamp(9px, .62cqw, 12px)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #2e1f0c; }
.wv-stab { all: unset; box-sizing: border-box; cursor: pointer; pointer-events: auto; position: absolute; right: 0; bottom: 32%; display: flex; flex-direction: column; gap: .3cqw; min-height: 56px; justify-content: center;
  padding: 1cqw 1.6cqw 1cqw 2.2cqw; background: linear-gradient(90deg, #7a2a38, #9b3a48); box-shadow: -.4cqw .5cqw 1.2cqw rgba(0, 0, 0, .45);
  clip-path: polygon(1.1cqw 0, 100% 0, 100% 100%, 1.1cqw 100%, 0 50%); transition: transform .4s; }
.wv-stab b { font: 600 clamp(17px, 1.3cqw, 24px)/1 var(--serif); color: #fbeee0; white-space: nowrap; }
.wv-stab small { font: 600 clamp(12px, .85cqw, 15px)/1 var(--sans); color: #f3d3c0; }
.wv-stab:hover { transform: translateX(-.4cqw); }
.wv-stab:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 2px; }
.wv-sdon .wv-stab { transform: translateX(110%); }
.wv-sdrawer { position: absolute; right: 3%; bottom: 14%; width: min(420px, 30cqw); max-height: 70%; overflow: auto; box-sizing: border-box; pointer-events: auto; padding: 26px 24px 22px; border-radius: 6px;
  background: #f1e7d3; background-image: radial-gradient(120% 90% at 50% 30%, rgba(255, 255, 255, .4), rgba(160, 120, 80, .14)); color: #2e2222;
  box-shadow: 1.2cqw 1.6cqw 2.6cqw rgba(10, 5, 6, .55), inset 0 0 0 1px rgba(122, 74, 42, .18); transform: translateX(120%); transition: transform .55s cubic-bezier(.3, .7, .2, 1); z-index: 3; }
.wv-sdrawer.on { transform: none; }
.wv-sdrawer::before { content: ""; position: absolute; right: 28px; top: -6px; width: 14px; height: 56px; background: #9b3a48; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); }
.wv-sdx { all: unset; cursor: pointer; position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; color: #6a5446; }
.wv-sdx:focus-visible { outline: 2px solid #9b3a48; border-radius: 50%; }
.wv-sdk { margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a5a3c; }
.wv-sdh { margin: 6px 0 12px; font: 600 26px/1.1 var(--serif); color: #2e2222; }
.wv-sdq { margin: 6px 0; font: 400 15px/1.4 var(--sans); color: #5a463e; }
.wv-sdlist { list-style: none; margin: 0; padding: 0; }
.wv-sdc { border-top: 1px solid rgba(122, 74, 42, .22); padding: 10px 0; }
.wv-sdc > a, .wv-sdopen { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 3px; width: 100%; min-height: 44px; color: #2e2222; text-decoration: none; }
.wv-sdc b { font: 600 18px/1.2 var(--serif); color: #2e2222; }
.wv-sdc small { font: 500 14px/1.35 var(--sans); color: #5a463e; }
.wv-sdbar { display: block; height: 5px; border-radius: 99px; background: rgba(122, 74, 42, .18); margin-top: 6px; overflow: hidden; }
.wv-sdbar i { display: block; height: 100%; background: #9b3a48; border-radius: 99px; }
.wv-sdnext { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 16px; border-radius: 99px; background: #3a2a2a; color: #f1e7d3; font: 600 14px/1.2 var(--sans); }
.wv-sdopen:focus-visible, .wv-sdc > a:focus-visible, .wv-sdnext:focus-visible, .wv-sdaddb:focus-visible { outline: 2px solid #9b3a48; outline-offset: 3px; border-radius: 8px; }
.wv-sdlock b { color: #6a5446; }
.wv-sdadd { border-top: 1px solid rgba(122, 74, 42, .22); padding-top: 12px; margin-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.wv-sdadd label, .wv-vform label { font: 600 14px/1.3 var(--sans); }
.wv-sdadd input, .wv-vform input { font: 400 16px/1.3 var(--sans); padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(122, 74, 42, .4); background: #fffaf0; color: #2e2222; min-height: 44px; box-sizing: border-box; width: 100%; }
.wv-sdadd small, .wv-vform small { font: 400 13px/1.4 var(--sans); color: #5a463e; }
.wv-vform small a { color: #7a2a38; }
.wv-sdaddb { all: unset; cursor: pointer; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; font: 600 15px/1 var(--sans); color: #7a2a38; text-decoration: underline; text-underline-offset: 3px; }
.wv-vrow { display: flex; gap: 8px; flex-wrap: wrap; }
.wv-vbtn { all: unset; cursor: pointer; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 99px; background: #3a2a2a; color: #f1e7d3; font: 600 14px/1 var(--sans); }
.wv-vbtn.quiet { background: transparent; color: #5a463e; }
.wv-vbtn:focus-visible { outline: 2px solid #9b3a48; outline-offset: 2px; }
.wv-vform { position: absolute; left: 50%; top: calc(13% + 20.6cqw + 4.4cqw); transform: translateX(-50%); width: min(420px, 40cqw); box-sizing: border-box; pointer-events: auto; z-index: 3; padding: 16px; border-radius: 6px;
  background: #f1e7d3; color: #2e2222; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 12px 30px rgba(10, 5, 6, .5); }
@media (prefers-reduced-motion: reduce) { .wv-sdrawer, .wv-stab { transition: none; } }
@media (max-width: 899px) {
  .wv-hang { display: none; }
  .wv-vframe { top: 150px; width: calc(100% - 48px); padding: 10px; }
  .wv-vframe::before { inset: 5px; }
  .wv-mat { padding: 12px; }
  .wv-plaque { top: calc(150px + (100vw - 48px) * 11 / 16 + 8px); padding: 5px 14px; white-space: nowrap; }
  .wv-stab { left: 12px; right: 12px; bottom: 72px; flex-direction: row; justify-content: space-between; align-items: center; border-radius: 14px; clip-path: none; padding: 14px 18px; }
  .wv-stab::after { content: "⌃"; color: #f3d3c0; font-size: 18px; margin-left: 10px; }
  .wv-sdon .wv-stab { transform: none; opacity: 0; pointer-events: none; }
  .wv-sdrawer { left: 0; right: 0; bottom: 0; width: auto; max-height: 78%; border-radius: 18px 18px 0 0; padding: 24px 18px calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(110%); }
  .wv-vform { top: auto; bottom: 140px; left: 12px; right: 12px; width: auto; transform: none; }
}
@media (max-width: 899px) { .wv-stage.wv-grpon .wv-pondroom .wv-pondtop { opacity: 0; } }   /* on a phone the group's own name sits where the pond's was */
/* the drawer's sessions, like v49: a round mark (done is filled), the next one softly highlighted */
.wv-sess { list-style: none; margin: 8px 0 0; padding: 0; }
.wv-ses { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; align-items: center; width: 100%; min-height: 48px; padding: 8px 4px; border-top: 1px solid rgba(122, 74, 42, .2); }
.wv-ses b { display: block; font: 600 16px/1.2 var(--serif); color: #2e2222; }
.wv-ses small { display: block; font: 500 13px/1.3 var(--sans); color: #6f5a4e; }
.wv-sesd { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(122, 74, 42, .5); color: #5a3a28; font: 600 13px/1 var(--sans); }
.wv-ses-done .wv-sesd { background: #3a2a2a; border-color: #3a2a2a; color: #f1e7d3; }
.wv-ses-next { background: rgba(201, 122, 143, .14); border-radius: 6px; }
.wv-ses-next .wv-sesd { border-color: #9b3a48; color: #9b3a48; }
.wv-ses:focus-visible { outline: 2px solid #9b3a48; outline-offset: 2px; border-radius: 6px; }
.wv-stage.wv-sheeton .wv-studioroom .wv-rtop, .wv-stage.wv-sheeton .wv-studioroom .wv-stab, .wv-stage.wv-sheeton .wv-studioroom .wv-sdrawer, .wv-stage.wv-sheeton .wv-studioroom .wv-vform { visibility: hidden; }   /* a course on top has its own Back, Home and Simple */
.wv-sdrawer::before { right: 64px; }   /* the ribbon sits left of the × */
@media (max-width: 899px) { .wv-sdrawer { bottom: 60px; max-height: calc(100% - 140px); border-radius: 18px; left: 8px; right: 8px; padding-bottom: 18px; } }   /* above the places bar, + Add a course in reach */
.nt-set .nt-later { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.5; color: var(--ink-faint); }
/* the bar with More fits one line from 1024px: the places a little tighter, More as quiet as a place */
@media (min-width: 1024px) {
  .subnav.sc .sc-places { flex: 0 1 auto; }
  .subnav.sc .sc-more { border-color: transparent; background: none; padding: 6px 6px 6px 8px; }
  .subnav.sc .sc-more:hover, .subnav.sc .sc-more[aria-expanded="true"] { background: var(--card); border-color: var(--line); }
  .subnav.sc .sc-acts { margin-left: auto; }
}
@media (min-width: 1024px) {
  .subnav.sc .subnav-in { gap: 0 4px; }
  .subnav.sc .sc-places a { padding: 6px 5px; font-size: 13.5px; gap: 4px; }
  .subnav.sc .sc-acts { gap: 4px; }
  .subnav.sc .sc-acts .sc-act { padding: 7px 11px; font-size: 13.5px; }
}
/* the soft dot for something new since you were here, on the Soul Experience door (not a ring round it) */
.se-door.glow { box-shadow: none; position: relative; }
.se-door.glow::after { content: ''; position: absolute; top: 4px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 2px var(--card), 0 0 8px 1px var(--leaf); }
html.sp-m .sp-mtop .sp-mexp.glow { box-shadow: none; }
html.sp-m .sp-mtop .sp-mexp.glow::after { content: ''; position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 2px var(--paper); }
.nv-menu .me-it { gap: 12px; }
.subnav.sc .sc-more-dd { align-self: center; }
.subnav .sc-more { line-height: 1.3; margin: 0; }

/* 0.16.182: the full-screen World view (phones, narrow tablets; K-6) keeps the whole screen. Since 0.16.180 the Experience's
   strip (Since you were here, My Space, View) sat between the slim bar and the world, pushing it down 56 to 110 px. The world
   carries its own Simple view and My Space, so the strip steps aside there; on every other page it stays. */
html.wv-full .se-strip { display: none; }
/* ---------------------------------------------------------------- 0.16.188 the full screen Birdee player (shared/birdee.js, Virginia,
   Instagram Reels as the reference). Every rule is under Birdee's own root with its new class, .bd.bd-fs[data-layout].
   A phone: the picture fills the screen edge to edge (100dvh, under the status bar and the home bar); a video within 1.25x
   of the screen's shape is cover-fit, any other is shown whole over a blurred, darkened copy of itself; a voice Birdee sits
   on its own green. Over it: the top bar, the reactions on the right, who and when bottom left, a thin progress line, and
   Birdee Back as a wide pill. The tray (the filmstrip, then play, the time, speed, CC, •••) slides up on a tap and fades.
   A laptop keeps the tall card, with the blurred copy (or the green) softly around it. Every button clears the notch,
   the camera cutout and the home bar (env(safe-area-inset-*)). */
.bd.bd-fs[data-layout] { --birdee-voice: #3E5624; }   /* the green a voice Birdee is recorded on (shared/birdee.js voiceCard) */
.bd.bd-fs[data-layout="phone"] { inset: 0 0 auto 0; height: 100%; height: 100dvh; }
/* the picture: the whole screen, whether the tray shows or not */
.bd.bd-fs[data-layout="phone"].bd-watching .bd-play,
.bd.bd-fs[data-layout="phone"].bd-watching.bd-vid.bd-tucked .bd-play,
.bd.bd-fs[data-layout="phone"].bd-watching.bd-vid:not(.bd-tucked) .bd-play { bottom: 0; }
.bd.bd-fs[data-layout] .bd-pv { touch-action: pan-y; }   /* sideways is ours (next and previous); nothing here scrolls */
.bd.bd-fs[data-layout] .bd-pv[data-fit] .bd-v { position: relative; z-index: 1; object-fit: contain; background: transparent; }
.bd.bd-fs[data-layout] .bd-pv[data-fit="cover"] .bd-v { object-fit: cover; }
.bd.bd-fs[data-layout] .bd-vbg { position: absolute; inset: 0; display: none; background: var(--media-bg) center / cover no-repeat;
  filter: blur(26px) brightness(.55) saturate(1.1); transform: scale(1.18); pointer-events: none; }
.bd.bd-fs[data-layout] .bd-pv[data-fit="contain"] .bd-vbg { display: block; }
.bd.bd-fs[data-layout] .bd-vbg canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.bd.bd-fs[data-layout] .bd-vbg.on canvas { opacity: 1; }
.bd.bd-fs[data-layout] .bd-pv[data-voice] { background: var(--birdee-voice); }
.bd.bd-fs[data-layout] .bd-pv[data-voice] .bd-vbg { display: none; }
.bd.bd-fs[data-layout] .bd-play .bd-from { display: none; }   /* who and when sit bottom left now */
@keyframes bd-nudge-l { 35% { transform: translateX(16px); } }
@keyframes bd-nudge-r { 35% { transform: translateX(-16px); } }
.bd.bd-fs[data-layout] .bd-pv.bd-edge-l { animation: bd-nudge-l .3s ease; }
.bd.bd-fs[data-layout] .bd-pv.bd-edge-r { animation: bd-nudge-r .3s ease; }
/* the top: the safe areas on every side */
.bd.bd-fs[data-layout="phone"] .bd-top { padding-left: calc(12px + env(safe-area-inset-left, 0px)); padding-right: calc(12px + env(safe-area-inset-right, 0px)); }
.bd.bd-fs[data-layout="phone"] .bd-x { right: calc(12px + env(safe-area-inset-right, 0px)); }
/* the reactions: clean icons with a soft shadow, 12px in from the right edge and its safe area */
.bd.bd-fs[data-layout="phone"] .bd-rail { right: calc(12px + env(safe-area-inset-right, 0px)); transition: top .3s ease; }
.bd.bd-fs[data-layout="phone"] .bd-rrx { gap: 12px; }
.bd.bd-fs[data-layout="phone"] .bd-rx, .bd.bd-fs[data-layout] .bd-rail.in-frame .bd-rx { width: 44px; height: 44px; background: transparent; font-size: 28px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)) drop-shadow(0 0 8px rgba(0, 0, 0, .3)); }
.bd.bd-fs[data-layout="phone"] .bd-rxmore svg, .bd.bd-fs[data-layout] .bd-rail.in-frame .bd-rxmore svg { width: 26px; height: 26px; }
/* the floating bottom: who and when, the progress line, Birdee Back */
.bd.bd-fs[data-layout] .bd-low { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px;
  padding: 44px calc(12px + env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px));
  background: linear-gradient(transparent, var(--media-scrim) 60%); color: var(--on-media); pointer-events: none; }
.bd.bd-fs[data-layout] .bd-low[hidden], .bd.bd-fs[data-layout] .bd-pline[hidden], .bd.bd-fs[data-layout] .bd-bbp[hidden], .bd.bd-fs[data-layout] .bd-amb[hidden] { display: none; }
.bd.bd-fs[data-layout] .bd-low > * { pointer-events: auto; }
.bd.bd-fs[data-layout] .bd-byl { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font: 600 15px/1.2 "DM Sans", system-ui, sans-serif; text-shadow: 0 1px 3px var(--media-scrim); }
.bd.bd-fs[data-layout] .bd-byl .avatar { width: 32px; height: 32px; font-size: 12px; flex: none; box-shadow: 0 0 0 1.5px var(--on-media); }
.bd.bd-fs[data-layout] .bd-byl b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bd.bd-fs[data-layout] .bd-byl small { font-size: 13px; font-weight: 500; opacity: .85; white-space: nowrap; }
.bd.bd-fs[data-layout] .bd-pline { position: relative; height: 22px; margin: -6px calc(-12px - env(safe-area-inset-right, 0px)) -6px calc(-12px - env(safe-area-inset-left, 0px));
  display: flex; align-items: center; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.bd.bd-fs[data-layout] .bd-pline i { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; transition: height .15s ease; }
.bd.bd-fs[data-layout] .bd-pline b { display: block; height: 100%; width: 0; background: var(--on-media); }
.bd.bd-fs[data-layout] .bd-pline.on i { height: 6px; }
.bd.bd-fs[data-layout] .bd-pline:focus-visible { outline: none; }
.bd.bd-fs[data-layout] .bd-pline:focus-visible i { height: 6px; box-shadow: 0 0 0 2px var(--leaf); }
.bd.bd-fs[data-layout] .bd-bbp { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; box-sizing: border-box; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .62); background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--on-media);
  font: 600 15px "DM Sans", system-ui, sans-serif; text-align: left; text-shadow: 0 1px 2px var(--media-scrim); touch-action: manipulation; }
.bd.bd-fs[data-layout] .bd-bbp i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--birdee-rec-dot); box-shadow: 0 0 0 2px var(--birdee-rec-ring); }
.bd.bd-fs[data-layout] .bd-bbp:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
/* the tray: over the bottom of the picture, above who and when; slides away while it plays */
.bd.bd-fs[data-layout="phone"].bd-watching .bd-dock,
.bd.bd-fs[data-layout="phone"].bd-watching.bd-vid.bd-tucked .bd-dock,
.bd.bd-fs[data-layout="phone"].bd-watching.bd-vid:not(.bd-tucked) .bd-dock {
  bottom: var(--bd-trayb, 150px); gap: 8px; padding: 28px 0 4px; background: linear-gradient(transparent, var(--media-scrim) 28px); transition: transform .3s ease, opacity .3s ease; }
.bd.bd-fs[data-layout="phone"].bd-watching.bd-vid.bd-tucked .bd-dock { transform: translateY(24px); opacity: 0; pointer-events: none; }
.bd.bd-fs[data-layout] .bd-scrub { display: none; }   /* the progress line is the scrubber now */
.bd.bd-fs[data-layout] .bd-tt { font: 500 13px/1 "DM Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--on-media); text-shadow: 0 1px 3px var(--media-scrim); }
.bd.bd-fs[data-layout] .bd-wbar:not([hidden]) { padding-left: calc(12px + env(safe-area-inset-left, 0px)); padding-right: calc(12px + env(safe-area-inset-right, 0px)); }
/* a Note and a Photo: their words clear the top bar and the floating bottom */
.bd.bd-fs[data-layout="phone"] .bd-pv.bd-note { padding: calc(var(--bd-toph, 110px) + 12px) 30px calc(var(--bd-lowh, 260px) + 16px); }
.bd.bd-fs[data-layout="phone"] .bd-cap { bottom: calc(var(--bd-lowh, 190px) + 12px); }
/* a laptop: the tall card stays; the floating bottom sits inside it; the blurred copy (or the green) fills the room around it */
.bd.bd-fs[data-layout="laptop"] .bd-low { right: auto; padding: 44px 12px 12px; border-radius: 0 0 20px 20px; }
.bd.bd-fs[data-layout="laptop"].is-wide .bd-low { border-radius: 0 0 12px 12px; }
.bd.bd-fs[data-layout="laptop"] .bd-pline { margin-left: -12px; margin-right: -12px; }
.bd.bd-fs[data-layout="laptop"].bd-watching .bd-top { background: transparent; border-bottom-color: transparent; pointer-events: none; }   /* the card's top and its ✕ show and take the click (live: the bar lay over them) */
.bd.bd-fs[data-layout="laptop"].bd-watching .bd-top > * { pointer-events: auto; }
.bd.bd-fs[data-layout="laptop"] .bd-tt { color: var(--ink-soft); text-shadow: none; }
.bd.bd-fs[data-layout] .bd-amb { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper) center / cover no-repeat;
  filter: blur(40px) saturate(1.15); transform: scale(1.12); }
.bd.bd-fs[data-layout] .bd-amb canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.bd.bd-fs[data-layout] .bd-amb.on canvas { opacity: 1; }
.bd.bd-fs[data-layout] .bd-amb::after { content: ''; position: absolute; inset: 0; background: var(--paper); opacity: .5; }   /* soft enough that the words around the card stay easy to read */
.bd.bd-fs[data-layout] .bd-amb.voice { background: var(--birdee-voice); }
.bd.bd-fs[data-layout] .bd-amb.voice canvas { display: none; }
@media (prefers-reduced-motion: reduce) {
  .bd.bd-fs[data-layout] .bd-pv.bd-edge-l, .bd.bd-fs[data-layout] .bd-pv.bd-edge-r { animation: none; }
  .bd.bd-fs[data-layout] .bd-dock, .bd.bd-fs[data-layout] .bd-rail, .bd.bd-fs[data-layout] .bd-vbg canvas, .bd.bd-fs[data-layout] .bd-amb canvas, .bd.bd-fs[data-layout] .bd-pline i { transition: none !important; }
}

/* ------------------------------------------------------------------ 0.16.187 (World restored, piece 4): Gather under the magnolia
   v49: the painting stays open. A live screen when a gathering is on; on the right, small glass cards for what is coming
   up and, hanging under them, the lantern "Open the calendar"; the host's Schedule a gathering. No box on the scene. */
.wv-gathroom .wv-gathtop { position: absolute; left: 3.2%; top: calc(3.6% + 58px); max-width: 40%; }
.wv-gathroom .wv-gathtop .wv-k { color: var(--world-amber); }
.wv-gathroom .wv-gathtop .wv-h { color: var(--world-ink); text-shadow: 0 0 1px var(--world-edge), 0 0 3px var(--world-edge), 0 2px 12px var(--world-shadow); }
.wv-glive { position: absolute; left: 37%; bottom: 84px; width: min(29%, 400px); display: flex; flex-direction: column; gap: 10px; }
.wv-glive[hidden] { display: none; }
.wv-gscreen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--world-line);
  box-shadow: 0 18px 40px var(--world-shadow), 0 0 32px var(--world-amber-glow);
  background: radial-gradient(70% 80% at 40% 45%, rgba(120, 70, 70, .85), rgba(40, 22, 26, .95)); }
.wv-glivep { position: absolute; left: 12px; top: 12px; font: 700 11px/1 inherit; letter-spacing: .12em; text-transform: uppercase;
  background: #A3302B; color: #fff; padding: 5px 8px; border-radius: 5px; }
.wv-ghost { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; font: 600 34px/1 var(--serif); color: var(--world-on-amber);
  background: linear-gradient(135deg, var(--world-rose), var(--world-amber)); box-shadow: 0 0 0 6px rgba(242, 194, 123, .3); }
@media (prefers-reduced-motion: no-preference) { .wv-ghost { animation: wv-speak 2.2s ease-in-out infinite; } }
@keyframes wv-speak { 50% { box-shadow: 0 0 0 12px rgba(242, 194, 123, .14); } }
.wv-glrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px;
  background: var(--world-card); border: 1px solid var(--world-line-soft); color: var(--world-ink); }
.wv-glrow b { display: block; font: 600 20px/1.15 var(--serif); }
.wv-glrow small { display: block; font-size: 13px; color: var(--world-muted); }
.wv-gjoin { all: unset; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px;
  background: var(--world-amber); color: var(--world-on-amber); font-weight: 600; text-decoration: none; }
.wv-gjoin:focus-visible, .wv-gev:focus-visible, .wv-lantern:focus-visible, .wv-calmode:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 3px; }
.wv-gcol { position: absolute; right: 2.4%; top: 17%; width: min(26%, 330px); bottom: 76px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.wv-gup { display: flex; flex-direction: column; gap: 9px; }
.wv-gk { align-self: flex-start; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--world-amber);
  background: var(--world-chip); padding: 6px 10px; border-radius: 999px; }
.wv-gq { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--world-chip); color: var(--world-ink); font-size: 14px; }
.wv-gev { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 10px 12px; border-radius: 12px;
  background: var(--world-card); border: 1px solid var(--world-line-soft); color: var(--world-ink); }
.wv-gev:hover { border-color: var(--world-line); }
.wv-gwhen { flex: none; width: 46px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--world-amber); }
.wv-gwhen b { display: block; font: 600 22px/1 var(--serif); color: var(--world-ink); letter-spacing: 0; }
.wv-gwhat { flex: 1; min-width: 0; }
.wv-gwhat b { display: block; font: 600 16px/1.2 var(--serif); overflow-wrap: anywhere; }
.wv-gwhat small { display: block; font-size: 13px; color: var(--world-muted); }
.wv-ggo { flex: none; font-size: 12px; font-weight: 600; color: var(--world-on-amber); background: var(--world-amber); border-radius: 999px; padding: 4px 8px; }
/* the lantern hangs from the cards on a short chain and glows; the sign is the button */
.wv-lantern { all: unset; box-sizing: border-box; cursor: pointer; align-self: center; display: flex; flex-direction: column; align-items: center; margin-top: 2px; color: var(--world-ink); }
.wv-lchain { width: 2px; height: 18px; background: linear-gradient(var(--world-line), var(--world-line-soft)); }
.wv-lamp2 { width: 26px; height: 34px; border-radius: 8px 8px 12px 12px; margin-bottom: -4px; z-index: 1;
  background: radial-gradient(60% 55% at 50% 55%, #FFE2A6, #F2C27B 55%, #9A6A2E); border: 2px solid #5A3A1E; box-shadow: 0 0 26px 8px var(--world-amber-glow); }
@media (prefers-reduced-motion: no-preference) { .wv-lamp2 { animation: wv-flicker 4.5s ease-in-out infinite; } }
@keyframes wv-flicker { 0%, 100% { box-shadow: 0 0 26px 8px var(--world-amber-glow); } 45% { box-shadow: 0 0 18px 5px var(--world-amber-glow); } 60% { box-shadow: 0 0 30px 10px var(--world-amber-glow); } }
.wv-lsign { display: flex; flex-direction: column; align-items: center; min-height: 44px; justify-content: center; padding: 10px 18px 9px; border-radius: 10px;
  background: var(--world-card); border: 1px solid var(--world-line); box-shadow: 0 10px 26px var(--world-shadow); }
.wv-lsign b { font: 600 17px/1.15 var(--serif); color: var(--world-ink); }
.wv-lsign small { font-size: 12px; color: var(--world-muted); }
.wv-lantern:hover .wv-lsign { border-color: var(--world-amber); }
.wv-rtop .wv-gsched { border-style: dashed; }   /* the host's Schedule a gathering, beside Back (v49) */
.wv-gflav { position: absolute; left: 3.2%; bottom: 84px; margin: 0; max-width: 34%; font: italic 500 17px/1.3 var(--serif);
  color: var(--world-ink); text-shadow: 0 0 1px var(--world-edge), 0 1px 8px var(--world-shadow); }
.wv-stage.wv-sheeton .wv-gathroom .wv-rtop, .wv-stage.wv-sheeton .wv-gathroom .wv-glive, .wv-stage.wv-sheeton .wv-gathroom .wv-gcol,
.wv-stage.wv-sheeton .wv-gathroom .wv-gflav { visibility: hidden; }   /* the calendar on top has its own Back */
/* the calendar panel's Light or dark */
.wv-calmode { all: unset; box-sizing: border-box; cursor: pointer; float: right; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; }
.wv-calmode span { font-size: 16px; }
@media (max-width: 899px) {
  .wv-gathroom .wv-gathtop { left: 12px; right: 12px; top: 64px; max-width: none; }
  .wv-glive { left: 12px; right: 12px; width: auto; top: 128px; bottom: auto; }
  .wv-glive .wv-gscreen { display: none; }   /* on a phone the row says it: Live now and Join live */
  .wv-gcol { left: 12px; right: 12px; width: auto; top: auto; bottom: 66px; max-height: calc(100% - 200px); }
  .wv-glive:not([hidden]) ~ .wv-gcol { max-height: calc(100% - 290px); }
  .wv-gflav { display: none; }
  .wv-gathroom.wv-ghostrow .wv-gathtop { top: 118px; }
  .wv-gathroom.wv-ghostrow .wv-glive { top: 182px; }
  .wv-gathroom.wv-ghostrow .wv-glive:not([hidden]) ~ .wv-gcol { max-height: calc(100% - 344px); }
  .wv-gathroom.wv-ghostrow .wv-gcol { max-height: calc(100% - 254px); }
}

/* ------------------------------------------------------------------ 0.16.189 (World restored, piece 5): My Space, the window seat
   v49: no box on the painting. The journal glows on the window-seat cushion; the memory box on the dresser opens a paper
   drawer (My Profile & Settings) from the left; the host's quiet spot by the window; a candle's flicker. */
.wv-myroom .wv-mytop { position: absolute; left: 3.2%; top: calc(3.6% + 58px); max-width: 40%; }
.wv-myroom .wv-mytop .wv-k { color: var(--world-amber); }
.wv-myroom .wv-mytop .wv-h { color: var(--world-ink); text-shadow: 0 0 1px var(--world-edge), 0 0 3px var(--world-edge), 0 2px 12px var(--world-shadow); }
/* the journal on the cushion */
.wv-myroom .wv-jseat { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: 61%; top: 47%; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.wv-myroom .wv-jseat .jr-mini.wv-jbook { width: clamp(74px, 7.5cqw, 120px); border-radius: 4px 10px 10px 4px; transition: transform .3s; }
.wv-myroom .wv-jseat:hover .jr-mini.wv-jbook { transform: rotate(-3deg) translateY(-2px); }
.wv-jglow { position: absolute; left: 50%; top: 34%; width: 220%; aspect-ratio: 1.4; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 214, 150, .34), rgba(255, 214, 150, 0)); }
@media (prefers-reduced-motion: no-preference) { .wv-jglow { animation: wv-glowpulse 4.5s ease-in-out infinite; } }
.wv-jcap { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 14px; border-radius: 12px; background: var(--world-card); border: 1px solid var(--world-line-soft); }
.wv-jcap b { font: 600 18px/1.1 var(--serif); color: var(--world-ink); }
.wv-jcap small { font: italic 500 14px/1.2 var(--serif); color: var(--world-amber); }
.wv-myroom .wv-jseat:focus-visible .wv-jcap, .wv-mbox:focus-visible b { outline: 2px solid var(--world-amber); outline-offset: 3px; }
/* the memory box on the dresser */
.wv-mbox { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: 18.5%; top: 71.5%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 2; }
.wv-mchest { width: 46px; height: 30px; border-radius: 6px 6px 4px 4px; background: linear-gradient(#8a5a36, #5a3620); border: 2px solid #3a2214; box-shadow: inset 0 9px 0 -6px #b07a4a, 0 6px 14px var(--world-shadow); position: relative; }
.wv-mchest::after { content: ""; position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; transform: translateX(-50%); border-radius: 2px; background: var(--world-amber); }
.wv-mbox b { font: 600 16px/1 var(--serif); padding: 8px 14px; border-radius: 999px; background: var(--world-card); color: var(--world-ink); border: 1px solid var(--world-line); white-space: nowrap; }
.wv-mbox small { font: italic 500 13px/1 var(--serif); color: var(--world-ink); text-shadow: 0 0 1px var(--world-edge), 0 1px 6px var(--world-shadow); }
.wv-mbox:hover b { border-color: var(--world-amber); color: var(--world-amber); }
.wv-mglow { width: 90px; height: 40px; margin-top: -6px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 206, 140, .5), rgba(255, 206, 140, 0)); }
@media (prefers-reduced-motion: no-preference) { .wv-mglow { animation: wv-glowpulse 3.4s ease-in-out infinite; } }
@keyframes wv-glowpulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }   /* a soft glow: opacity only (a box-shadow would ring the oval) */
.wv-flick { position: absolute; left: 10.4%; top: 61%; width: 9cqw; height: 11cqw; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 190, 110, .35), rgba(255, 190, 110, 0)); }
@media (prefers-reduced-motion: no-preference) { .wv-flick { animation: wv-glowpulse 2.3s steps(3) infinite; } }
/* the host's quiet spot by the window (Member view hides .wv-hostonly) */
.wv-qspot { position: absolute; right: 2.4%; top: calc(3.6% + 58px); width: min(24%, 290px); display: flex; flex-direction: column; gap: 8px; margin: 0; }
.wv-qlink { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; background: var(--world-card); border: 1px solid var(--world-line-soft); color: var(--world-ink); }
.wv-qlink:hover { border-color: var(--world-line); }
.wv-qlink:focus-visible { outline: 2px solid var(--world-amber); outline-offset: 2px; }
.wv-qlink b { display: block; font: 600 16px/1.2 var(--serif); }
.wv-qlink small { display: block; font-size: 13px; color: var(--world-muted); }
/* the drawer: paper, from the left (the box is on the left); readable dark-on-paper inside */
.wv-sdrawer.wv-mdrawer { left: 3%; right: auto; transform: translateX(-120%); }
.wv-sdrawer.wv-mdrawer.on { transform: none; }
.wv-mdrawer .wv-me { margin: 0 0 16px; }
.wv-mdrawer .wv-me b { color: #2e2222; }
.wv-mdrawer .wv-me small { display: block; font-size: 14px; color: #5e4a3e; }
.wv-mdrawer .wv-me a { color: #7a3a2a; font-weight: 600; }
.wv-mset { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(122, 74, 42, .18); }
.wv-mset > span { font-size: 15px; font-weight: 600; color: #2e2222; }
.wv-mdrawer .wv-view { padding: 0; }
.wv-mdrawer .wv-view button { border-color: rgba(122, 74, 42, .45); color: #2e2222; }
.wv-mdrawer .wv-view button[aria-pressed="true"] { background: #6b3a2a; color: #fbf3e6; border-color: #6b3a2a; }
.wv-mdrawer .wv-view button:focus-visible { outline-color: #9b3a48; }
.wv-mlist { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid rgba(122, 74, 42, .18); }
.wv-mlist a { display: block; padding: 10px 2px; min-height: 44px; box-sizing: border-box; text-decoration: none; color: #2e2222; border-bottom: 1px solid rgba(122, 74, 42, .12); }
.wv-mlist a:focus-visible { outline: 2px solid #9b3a48; outline-offset: 2px; border-radius: 6px; }
.wv-mlist b { display: block; font-size: 15px; }
.wv-mlist small { display: block; font-size: 13px; color: #5e4a3e; }
.wv-mdon .wv-mbox { opacity: 0; pointer-events: none; }
.wv-stage.wv-sheeton .wv-myroom .wv-rtop, .wv-stage.wv-sheeton .wv-myroom .wv-mdrawer { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .wv-sdrawer.wv-mdrawer { transition: none; } }
@media (max-width: 899px) {
  .wv-myroom .wv-mytop { left: 12px; right: 12px; top: 64px; max-width: none; }
  .wv-myroom .wv-jseat { left: 50%; top: 40%; transform: translateX(-50%); }
  .wv-mbox { left: 50%; top: auto; bottom: 74px; transform: translateX(-50%); }
  .wv-qspot { left: 12px; right: 12px; width: auto; top: 128px; flex-direction: row; }   /* phones: under the room's name */
  .wv-qspot .wv-gk { display: none; }
  .wv-qspot .wv-qlink { flex: 1; }
  .wv-qspot .wv-qlink small { display: none; }
  .wv-flick, .wv-myflav { display: none; }
  .wv-sdrawer.wv-mdrawer { left: 8px; right: 8px; transform: translateY(120%); }
  .wv-sdrawer.wv-mdrawer.on { transform: none; }
}
@media (max-width: 899px) and (max-height: 720px) { .wv-glive:not([hidden]) ~ .wv-gcol .wv-gev:nth-of-type(3) { display: none; } }   /* short phones with a live gathering: two cards, so the lantern stays in sight */

/* 0.16.191 Birdee review fixes (Birdee polish lane): the record countdown is plainly not the send button (a white ring,
   no red dot, "Starting… tap to stop"); Discard it on its own line, quieter, with a Keep-first question; on the phone's
   full screen player the picture takes a swipe up or down (nothing here scrolls) */
.bd[data-layout] .bd-rec.cd { background: transparent; border: 3px solid var(--on-media); box-shadow: 0 0 0 1px rgba(0, 0, 0, .22); }
.bd[data-layout] .bd-rec.cd span { display: none; }
.bd[data-layout] .bd-undo .bd-brk { flex: 1 0 100%; height: 0; }
.bd[data-layout] .bd-undo .bd-drop { border: 0; background: transparent; color: var(--media-ink); opacity: .78; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.bd[data-layout] .bd-undo .bd-keep { background: var(--media-act); color: var(--media-card); border-color: var(--media-act); }
.bd.bd-fs[data-layout="phone"] .bd-pv { touch-action: none; }
/* 0.16.193 (launch fixes, Nov 25 2026) */
/* 1. the welcome video: a YouTube or Vimeo player fills the gilded frame, the porch and the course page like a video file does;
      the frame's form takes an upload or a link */
.wv-canvas iframe { width: 100%; height: 100%; border: 0; background: #000; }
.porch-video.sp-embed { display: block; aspect-ratio: 16 / 9; height: auto; border: 0; }
.jd-welcome iframe.sp-embed { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; background: #000; }
.wv-vform .wv-vlab { font: 600 14px/1.3 var(--sans); }
.wv-vform label.wv-vbtn { font: 600 14px/1 var(--sans); }
.wv-vform label.wv-vbtn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.wv-vform label.wv-vbtn:focus-visible { outline: 2px solid #9b3a48; outline-offset: 3px; }
@media (min-width: 900px) { .wv-vform { top: 50%; transform: translate(-50%, -50%); max-height: calc(100% - 32px); overflow: auto; } }   /* over the frame, whole inside the painting */
@media (max-width: 899px) { .wv-vform { max-height: calc(100% - 200px); overflow: auto; } }
/* 3. the first walk: Back, Next stop and I'll explore on my own were dark green on the dark card; now light and easy to read */
.wv-wcard .wv-link, .wv-first .wv-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--world-line); color: var(--world-ink); font: 600 15px/1 var(--sans); text-decoration: none; }
.wv-wcard .wv-link.wv-next { background: var(--world-amber); border-color: var(--world-amber); color: #2a1810; }
.wv-wcard .wv-link:hover, .wv-first .wv-link:hover { border-color: var(--world-amber); }
.wv-wcard .wv-link.wv-next:hover { filter: brightness(1.06); }
.wv-wcard .wv-link:focus-visible, .wv-first .wv-link:focus-visible { outline: 2px solid var(--world-ink); outline-offset: 2px; }
/* 5. the studio's Show to members, under a hidden course */
.wv-sdshow { all: unset; cursor: pointer; align-self: flex-start; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; margin-top: 4px;
  border-radius: 99px; background: #3a2a2a; color: #f1e7d3; font: 600 14px/1 var(--sans); }
.wv-sdshow:focus-visible { outline: 2px solid #9b3a48; outline-offset: 3px; }
.wv-sdshow[disabled] { opacity: .6; cursor: default; }

/* ---------- 0.16.194: Brand Kit, Webinar colours on one line until Change (Virginia, Nov 26) ---------- */
.wb-kitcard.kc-min { padding: 10px 16px; }
.wb-kitcard .kc-row { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.wb-kitcard .kc-row h2 { margin: 0 4px 0 0; font-size: 19px; }
.wb-kitcard .kc-sw { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.wb-kitcard .kc-row small { flex: 1 1 auto; font-size: 13px; color: var(--ink-soft); }
.wb-kitcard .kc-row .btn { margin-left: auto; }
.wb-kitcard .wb-colors > #kcClose { align-self: center; font-size: 15px; }

/* ---------- 0.16.195: Brand Kit page scrolls as one; Webinar colours as wide as the page content (Virginia, Nov 26) ---------- */
.wb-kitcard { width: calc(100% - 2 * var(--x)); max-width: calc(1120px - 2 * var(--x)); margin: 14px auto; }
/* 0.16.196 (Soul Experience lane, Virginia's four World launch fixes, Nov 26)
   1. My Space: the room layer lets taps through to the painting (pointer-events: none), and "all: unset" made the Journal and
      the memory box inherit that, so a click fell through to the painting. Every one of them takes its own taps again. The
      Journal sits lower on the cushion, clear of the host's quiet spot. */
.wv-myroom .wv-jseat, .wv-mbox, .wv-qspot, .wv-qlink { pointer-events: auto; }
.wv-mdon .wv-mbox { pointer-events: none; }
.wv-myroom .wv-jseat { left: 58%; top: auto; bottom: 12%; transform: translateX(-50%); }
.wv-qspot { z-index: 3; }
@media (max-width: 899px) {
  .wv-myroom .wv-jseat { left: 50%; top: auto; bottom: calc(var(--wv-barh, 54px) + 150px); }
}
/* 3. Immersive: while World view shows, the World fills the screen on every size. The Suite header, the experience tabs,
      the "Since you were here" strip, the app's bottom tabs and the "Hidden from members" banner step aside; only Me stays,
      in a slim strip at the top. Simple view brings the portal back (html.wv-imm goes with html.wv-on). */
html.wv-imm body { background: var(--world-veil); overflow-x: clip; }
html.wv-imm body.has-tabs { padding-bottom: 0; }
html.wv-imm #sp-tabs, html.wv-imm #sp-hidden-note, html.wv-imm .se-strip, html.wv-imm .foot, html.wv-imm #sp-nav .subnav, html.wv-imm #sp-nav .sc-gstrip,
html.wv-imm #sp-nav .band-in > :not(.se-bubs):not(.who-dd), html.wv-imm #sp-nav .se-bubs > :not(.who-dd) { display: none !important; }
html.wv-imm #sp-nav .band { background: var(--world-veil); border-bottom: 1px solid var(--world-line-soft); }
html.wv-imm #sp-nav .band-in { min-height: 0; padding: 4px 12px; gap: 8px; justify-content: flex-end; max-width: none; }
html.wv-imm #sp-nav .se-bubs { margin-left: auto; }
html.wv-imm #sp-nav .se-bub .se-w { display: none; }
html.wv-imm #sp-nav .se-bub .se-c { width: 40px; height: 40px; background: var(--world-card); border-color: var(--world-line-soft); color: var(--world-ink); }
@media (min-width: 900px) {
  html.wv-imm .wv { max-width: min(100vw, calc((100svh - var(--wv-immtop, 49px)) * 16 / 9)); margin: 0 auto; padding: 0; }
  html.wv-imm .wv-stage { border-radius: 0; border: 0; }
  html.wv-imm .wv { margin-top: max(0px, calc((100svh - var(--wv-immtop, 49px) - min(100vw, calc((100svh - var(--wv-immtop, 49px)) * 16 / 9)) * 9 / 16) / 2)); }   /* a short wide screen: centred, not a band at the bottom */
}
/* 4. The pond's feed: a full-height drawer from the right over the softly dimmed pond (a full-screen sheet on phones),
      never over the lily pads' names, with its own natural scroll, the post box always in view at its top, and
      "Back to the pond" (the panel's own top row) to close it. */
.wv-stage.wv-grpon .wv-pondroom .wv-pond, .wv-stage.wv-grpon .wv-pondroom .wv-pondtop, .wv-stage.wv-grpon .wv-pondroom .wv-pondmore { opacity: .3; }
.wv-sheet .wv-card.wv-grpcard { left: auto; right: 0; top: 0; bottom: 0; transform: none; width: min(560px, 46%); max-height: none; border-radius: 0;
  padding: 22px 20px 28px; background: rgb(24, 15, 18); border-left: 1px solid rgba(242, 194, 123, .28);
  box-shadow: -18px 0 40px rgba(8, 6, 12, .45); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.wv-sheet .wv-card.wv-grpcard .compose { position: sticky; top: -22px; z-index: 2; margin-top: 0; padding-top: 10px; padding-bottom: 10px; background: rgb(24, 15, 18);
  box-shadow: 0 10px 14px -10px rgba(8, 6, 12, .8); }
.wv-sheet .wv-card.wv-grpcard .compose textarea { min-height: 52px; }   /* the long "Share something with ..." line wraps in the drawer: room for both lines */
.wv-stage.wv-grpon .wv-bar { opacity: 0; pointer-events: none; }   /* the places bar would run under the drawer; Back to the pond and Home are in the top row */
@media (prefers-reduced-motion: no-preference) { .wv-sheet .wv-card.wv-grpcard { animation: wv-drawerin .35s ease-out; } }
@keyframes wv-drawerin { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wv-sheetin { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 899px) {
  .wv-sheet .wv-card.wv-grpcard { left: 0; right: 0; top: 64px; width: auto; border-left: 0; border-top: 1px solid rgba(242, 194, 123, .28); border-radius: 16px 16px 0 0;
    padding: 16px 14px calc(24px + var(--sab, 0px)); box-shadow: 0 -12px 30px rgba(8, 6, 12, .45); }
  .wv-sheet .wv-card.wv-grpcard .compose { top: -16px; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) { .wv-sheet .wv-card.wv-grpcard { animation-name: wv-sheetin; } }

/* 0.16.197 (Virginia, Nov 27): the pond channels. Pads laid out by size (main, quiet) on open water, clear of the top
   buttons, the pond's name, See everyone and the places bar; past what fits, a band that scrolls gently. The host's
   + Add a lily pad and Arrange pads; a private pad's warm invitation; a pad linked to a course and back.
   And the studio: the course's name at the top of the course, ‹ Your sessions. */
.wv-pond2 .wv-pondin { position: absolute; inset: 0; pointer-events: none; }
.wv-pond2 .wv-pad { min-width: 0; }
.wv-pond2 .wv-pad b { overflow-wrap: normal; word-break: normal; hyphens: manual; max-width: 100%; }
.wv-pond2 .wv-pad-quiet span { padding: 14% 7%; }
.wv-card.wv-crsdoors .wv-crsname { display: none; }
.wv-pond2 .wv-pad-quiet b { font-size: clamp(13px, calc(var(--s) * .13cqw), 19px); }
.wv-pond2.tall .wv-pad-quiet b { font-size: 14px; }
.wv-pond2.tall .wv-pad-main b { font-size: 18px; }
.wv-pond2.wv-band { inset: auto 0; overflow-y: auto; overflow-x: hidden; pointer-events: auto; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 34px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 34px), transparent 100%); }
.wv-pond2.wv-band.wv-bandend { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }
.wv-pond2.wv-band::-webkit-scrollbar { display: none; }
.wv-pond2.wv-band .wv-pondin { position: relative; inset: auto; width: 100%; }
.wv-padmore { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; pointer-events: none; font: italic 500 14px/1 var(--serif); color: var(--world-muted);
  text-shadow: 0 1px 8px var(--world-shadow); }
.wv-padmore[hidden] { display: none; }
.wv-padtools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 2px; }
.wv-padtools .wv-back { min-height: 40px; font-size: 14px; }
.wv-padadd { border-color: rgba(242, 194, 123, .55); }
.wv-padarr[aria-pressed="true"] { background: var(--world-amber); color: #2a1a14; }
.wv-pond2.wv-arr .wv-pad { animation: none; }
.wv-pond2.wv-arr .wv-pad::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(242, 194, 123, .75); pointer-events: none; }
.wv-padpen { color: var(--world-amber) !important; font-weight: 600 !important; }
.wv-padsheet { position: absolute; inset: 0; z-index: 5; pointer-events: auto; background: rgba(8, 6, 12, .42); }
.wv-padcard { position: absolute; left: 50%; transform: translateX(-50%); top: calc(3.6% + 56px); bottom: 84px; width: min(520px, 92%); overflow: auto; padding: 20px 20px 22px;
  border-radius: 18px; background: rgb(24, 15, 18); border: 1px solid var(--world-line); box-shadow: 0 18px 40px var(--world-shadow); color: var(--world-ink); scrollbar-width: thin; }
.wv-padinv .wv-padcard { bottom: auto; max-height: calc(100% - 3.6% - 56px - 84px); }
.wv-padcard .wv-h { margin: 4px 0 10px; font-size: clamp(22px, 2.2cqw, 32px); }
.wv-padwarm { font: italic 400 17px/1.45 var(--serif); color: #F3E4D2; margin: 0 0 14px; }
.wv-padfine { font: 400 13px/1.4 var(--sans); color: var(--world-muted); margin: 12px 0 0; }
.wv-padacts, .wv-padmove { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wv-padmove { border-top: 1px solid var(--world-line); padding-top: 14px; }
.wv-padmove .wv-padwarm { flex-basis: 100%; margin: 0 0 4px; font-size: 15px; }
.wv-padjoin, .wv-padsave { background: var(--world-amber); color: #2a1a14; border-color: transparent; text-decoration: none; }
.wv-padrm { color: #F2B8A8; }
.wv-padform { display: flex; flex-direction: column; gap: 12px; }
.wv-padf { display: flex; flex-direction: column; gap: 6px; font: 600 14px/1.2 var(--sans); }
.wv-padf i { font-weight: 400; color: var(--world-muted); }
.wv-padf[hidden], .wv-padpriv[hidden] { display: none; }
.wv-padpriv { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--world-line); }
.wv-padf input, .wv-padf select { font: 400 16px/1.3 var(--sans); color: var(--world-ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--world-line); border-radius: 10px; padding: 10px 12px; min-height: 44px; box-sizing: border-box; width: 100%; }
.wv-padf select option { color: #1d1414; }
.wv-padf input:focus-visible, .wv-padf select:focus-visible { outline: 2px solid var(--world-amber); }
.wv-padhint { font: 400 13px/1.35 var(--sans); color: var(--world-muted); }
.wv-padfs { border: 0; margin: 0; padding: 0; }
.wv-padfs legend { font: 600 14px/1.2 var(--sans); padding: 0; margin-bottom: 6px; }
.wv-padrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wv-padcol { display: grid; gap: 8px; }
.wv-padopt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--world-line); cursor: pointer; min-height: 44px; box-sizing: border-box; }
.wv-padopt:has(input:checked) { border-color: var(--world-amber); background: rgba(242, 194, 123, .1); }
.wv-padopt input { margin: 3px 0 0; accent-color: #F2C27B; width: 18px; height: 18px; flex: none; }
.wv-padopt span { display: flex; flex-direction: column; gap: 3px; }
.wv-padopt b { font: 600 15px/1.2 var(--sans); }
.wv-padopt small { font: 400 13px/1.35 var(--sans); color: var(--world-muted); }
.wv-padopt small a { color: var(--world-amber); }
.wv-paderr { margin: 0; color: #F2B8A8; font: 500 14px/1.35 var(--sans); }
.wv-paderr[hidden] { display: none; }
.wv-padcrs { margin: -2px 0 12px; }
.wv-cohort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.wv-cohort .wv-back, .wv-padcrs .wv-back { background: var(--world-amber); color: #2a1a14; border-color: transparent; }
.wv-cohort small { font: italic 400 15px/1.3 var(--serif); color: var(--ink-soft); }
.wv-crsname { margin: 2px 0 10px; font: 600 clamp(20px, 2cqw, 28px)/1.15 var(--serif); color: var(--ink, inherit); }
@media (max-width: 899px) {
  .wv-padtools { justify-content: flex-start; }
  .wv-padcard { left: 12px; right: 12px; transform: none; width: auto; top: 64px; bottom: 76px; padding: 18px 16px 20px; }
  .wv-padinv .wv-padcard { max-height: calc(100% - 140px); }
  .wv-padrow { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .wv-pond2.wv-band { scroll-behavior: auto; } }

/* ---------- 0.16.198 (Soul Experience, Stripe Connect stage 1): Get paid in Owner Studio, Join through Stripe ---------- */
.gp-page .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gp-page .card { margin-top: 16px; }
.gp-said.gp-good { border-color: var(--green, #3d6b4f); }
.gp-said.gp-bad { border-color: var(--gold); background: var(--gold-soft); }
.gp-acctrow { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.gp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.gp-dot.gp-on { background: #4c8a5e; }
.gp-dot.gp-wait { background: var(--gold); }
.gp-ready { margin: 4px 0 12px; }
.gp-notready { margin: 4px 0 12px; }
.gp-confirm { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); }
.gp-items { margin-top: 10px; }
.gp-item { display: block; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.gp-itemhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gp-pick { display: grid; gap: 8px; margin-top: 10px; }
.gp-pick select, .gp-pick input { width: 100%; max-width: 100%; min-height: 44px; font: inherit; }
@media (min-width: 720px) { .gp-pick { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .gp-pick .gp-link { grid-column: 1; } .gp-pick .row { grid-column: 2; grid-row: 1; } }
.wv-padjoin[data-sp-payjoin] { cursor: pointer; }
.wv-padjoin[aria-busy="true"], [data-sp-payjoin][aria-busy="true"] { opacity: .6; }
.wv-padalt { display: block; margin-top: 8px; font-size: .86em; opacity: .8; }
.os-door .os-getpaid { grid-column: 1 / -1; }
.wv-padstripe { margin: 4px 0 10px; opacity: .85; }
/* ---------- 0.16.198 stage 2 (Soul Experience, Stripe Connect): Who has paid on Get paid ---------- */
.gp-buys { margin-top: 10px; }
.gp-buy { display: block; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.gp-buy .gp-state { margin-top: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gp-buy.gp-closed { opacity: .72; }
.gp-buy .tag.gp-act { background: rgba(92, 140, 110, .16); color: inherit; }
.gp-buy .gp-still { margin: 8px 0 0; }
.gp-buy .gp-itemhead > .btn { align-self: flex-start; }
.gp-buy .gp-nw, .gp-buy .tag { white-space: nowrap; }

/* 0.16.198 (migration 156): the warm note when a member's payment did not go through */
.sp-paynote { margin: 0 0 14px; }
.sp-paynote p { margin: 0 0 10px; }
.sp-paynote .small { margin: 10px 0 0; }
.wv-padnote p { font: italic 400 17px/1.45 var(--serif); color: #F3E4D2; }
.wv-padnote p b { font-weight: 600; }
.wv-padnote .small { font: 400 13px/1.4 var(--sans); font-style: normal; color: var(--world-muted); }

/* 0.16.199 Get paid, Virginia's pick A: three calm numbered sections (Your Stripe account, What's for sale, Who has paid) */
.gpd-page { max-width: 780px; }
.gpd-sec { border-radius: 22px; padding: 24px 26px; box-shadow: 0 1px 2px var(--shadow); }
.gpd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gpd-head h2 { margin: 0; }
.gpd-num { font: 600 12px/1 var(--sans); color: var(--ink-faint); letter-spacing: .08em; }
.gpd-hint { font: 400 14px/1.5 var(--sans); color: var(--ink-faint); margin: 4px 0 16px; }
.gpd-hint.gpd-after { margin: 14px 0 0; }
.gpd-acct { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--sage-soft); }
.gpd-acct.gpd-wait { background: var(--gold-soft); }
.gpd-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(127, 166, 90, .2); flex: none; }
.gpd-wait .gpd-dot { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.gpd-acct .grow, .gpd-item .grow, .gpd-whorow .grow { flex: 1; min-width: 0; }
.gpd-acct b, .gpd-item b, .gpd-whorow b { font: 600 15px/1.35 var(--sans); color: var(--ink); }
.gpd-s { display: block; font: 400 13px/1.45 var(--sans); color: var(--ink-soft); }
.gpd-mail { display: inline; color: var(--ink-faint); }
.gpd-links { display: flex; gap: 14px; flex-wrap: wrap; }
.gpd-link { font: 500 13.5px var(--sans); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 8px 2px; min-height: 0; cursor: pointer; white-space: nowrap; }
.gpd-link:hover { color: var(--ink); }
.gpd-link[disabled] { opacity: .5; cursor: default; }
.gpd-confirm { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.gpd-confirm p { margin: 0 0 10px; }
.gpd-sell { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 10px; align-items: end; padding: 16px; border: 1.5px dashed var(--sage); border-radius: 16px; background: var(--cream); }
.gpd-sell .gpd-linkf { grid-column: 1 / -1; }
.gpd-f label { display: block; font: 600 12px/1.2 var(--sans); color: var(--ink-soft); margin: 0 0 6px; }
.gpd-sel, .gpd-in { width: 100%; font: 400 16px/1.2 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; min-height: 46px; }
.gpd-sell .btn { min-height: 46px; }
.gpd-items, .gpd-buys { list-style: none; margin: 12px 0 0; padding: 0; }
.gpd-item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line-soft); }
.gpd-item:first-child, .gpd-buy:first-child { border-top: 0; }
.gpd-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); font-size: 16px; flex: none; }
.gpd-ico.c { background: var(--dew); color: var(--dew-ink); }
.gpd-ico.w { background: var(--rose-soft); color: var(--ink); }   /* 0.16.200: a webinar for sale */
.gpd-price { display: inline-block; margin-top: 6px; font: 600 13.5px/1 var(--sans); color: var(--teal-ink); background: var(--sage-soft); border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.gpd-act { display: flex; gap: 14px; flex: none; }
.gpd-empty { text-align: center; padding: 22px 12px 6px; }
.gpd-empty .gpd-art { font: italic 400 22px/1.3 var(--serif); color: var(--ink-soft); margin: 0 0 6px; }
.gpd-empty p { font: 400 14px/1.5 var(--sans); color: var(--ink-faint); margin: 0 auto; max-width: 440px; }
.gpd-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 6px; }
.gpd-chip { font: 500 13px var(--sans); padding: 7px 12px; min-height: 0; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--card); cursor: pointer; }
.gpd-chip[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--sage); color: var(--teal-ink); }
.gpd-buy { padding: 13px 4px; border-top: 1px solid var(--line-soft); }
.gpd-whorow { display: flex; align-items: center; gap: 12px; }
.gpd-av { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: var(--teal-ink); display: grid; place-items: center; font: 600 13px var(--sans); flex: none; }
.gpd-state { margin-top: 6px; }
.gpd-st { display: inline-block; font: 600 12px var(--sans); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.gpd-st.a { background: var(--sage-soft); color: var(--teal-ink); }
.gpd-st.e { background: var(--gold-soft); color: var(--gold-ink); }
.gpd-st.f { background: var(--clay); color: var(--clay-ink); }
.gpd-st.x { background: var(--line-soft); color: var(--ink-soft); }
.gpd-why { font: 400 13px var(--sans); color: var(--ink-soft); }
.gpd-buy.gp-closed b { color: var(--ink-soft); }
.gpd-other { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; font: 400 14px/1.5 var(--sans); color: var(--ink-faint); padding: 4px 6px 0; }
.gpd-other a { color: var(--ink-soft); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .gpd-sec { padding: 20px 16px; border-radius: 18px; }
  .gpd-sell { grid-template-columns: 1fr; }
  .gpd-sell .btn { width: 100%; }
  .gpd-acct { flex-wrap: wrap; }
  .gpd-acct .gpd-links { width: 100%; padding-left: 25px; }
  .gpd-item { flex-wrap: wrap; }
  .gpd-act { width: 100%; padding-left: 52px; }
  .gpd-whorow { flex-wrap: wrap; align-items: flex-start; }
  .gpd-whorow > .gpd-link { flex-basis: 100%; margin-left: 48px; padding: 4px 0 0; text-align: left; }
  .gpd-mail { display: block; }
  .gpd-mail::before { content: none; }
}
/* 0.16.199: Join on a course sold through Get paid, in the World's Learn */
.wv-paycourse { display: flex; align-items: center; gap: 10px; }
.wv-paycourse > a { flex: 1; min-width: 0; }
.wv-paycourse > .wv-padjoin { flex: none; margin-right: 6px; }
.wv-sdpay { display: flex; align-items: center; gap: 10px; }
.wv-sdpay > a { flex: 1; min-width: 0; }
.wv-sdpay > .wv-sdnext { flex: none; margin-top: 0; }

/* 0.16.199: "Set a price" in the World (a lily pad's Change, a course in the studio) and the owner's price tags */
.sp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; border: 1px dashed currentColor; }
.sp-price-k { font: 600 14px/1.3 var(--sans); }
.sp-price-v { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex: 1; min-width: 0; font: 400 14px/1.4 var(--sans); }
.sp-price-sel { font: 400 16px/1.2 var(--sans); padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(122, 106, 96, .45); background: #fffdf8; color: #2e2222; min-height: 44px; max-width: 100%; flex: 1 1 180px; }
.sp-price-save { font: 600 14px/1 var(--sans); min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: #3a2a2a; color: #f1e7d3; cursor: pointer; }
.sp-price-save[disabled] { opacity: .5; }
.sp-price a { color: inherit; text-underline-offset: 3px; }
.sp-price-go { font-weight: 600; }
.wv-padprice { color: #F3E4D2; border-color: rgba(243, 228, 210, .45); }
.wv-padprice .sp-price-save { background: #F3E4D2; color: #2a1d1d; }
.wv-sdpriceset { color: #2e2222; border-color: rgba(122, 74, 42, .45); }
.wv-sdowner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.wv-sdprice { font: 600 12.5px/1 var(--sans); color: #2f4a1e; background: #e5eedb; border-radius: 999px; padding: 6px 10px; }
.wv-padprice-tag { display: inline-block; margin-top: 3px; font: 600 11.5px/1 var(--sans) !important; color: #2f4a1e !important; background: rgba(229, 238, 219, .92); border-radius: 999px; padding: 4px 8px; }
.os-gpstate { margin: -2px 0 10px; color: var(--ink-soft); }
.os-gpstep { display: inline-block; width: 1.3em; color: var(--ink-faint); }
.os-gpdone { color: var(--leaf); font-weight: 700; }
@media (max-width: 640px) { .gpd-dotsep { display: none; } }

/* 0.16.199 tidy (Virginia: calm but still obvious): one "Who can step in" question, More options, the course price
   chip with ✎, and ✎ Tend the pond */
.wv-padwho .wv-padcol { gap: 6px; }
.wv-padsub { margin: -2px 0 6px 30px; display: grid; gap: 8px; }
.wv-padsub[hidden], .wv-padstripe[hidden], .wv-padlink[hidden], .wv-padshow[hidden], .wv-padtools[hidden] { display: none; }
.wv-padsub .sp-price { margin: 0; }
.wv-padstripe, .wv-padlink { display: grid; gap: 6px; }
.wv-padswap { justify-self: start; background: none; border: 0; padding: 4px 0; min-height: 32px; font: 400 13px/1.3 var(--sans);
  color: var(--world-amber); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wv-padopts { margin: 4px 0 2px; }
.wv-padopts > summary { cursor: pointer; list-style: none; display: block; width: max-content; max-width: 100%; padding: 8px 0;
  font: 500 14px/1.25 var(--sans); color: var(--world-amber); }
.wv-padopts > summary::-webkit-details-marker { display: none; }
.wv-padopts > summary::before { content: '›'; display: inline-block; margin-right: 6px; transition: transform .2s; }
.wv-padopts[open] > summary::before { transform: rotate(90deg); }
.wv-padopts[open] > :not(summary) { margin-top: 12px; }
.wv-sdchip { display: inline-flex; align-items: center; gap: 2px; }
.wv-sdfree { background: rgba(122, 106, 96, .14); color: #5b4a40; font-weight: 500; }
.wv-sdpen { min-width: 36px; min-height: 36px; border: 0; background: none; border-radius: 999px; font: 400 16px/1 var(--sans); color: #6b4a2e; cursor: pointer; }
.wv-sdpen:hover, .wv-sdpen[aria-expanded="true"] { background: rgba(122, 74, 42, .12); }
.wv-sdpen:focus-visible { outline: 2px solid #b5763a; outline-offset: 1px; }
.wv-sdowner + .wv-sdpriceset, .wv-sdc > .wv-sdpriceset { margin: 8px 0 2px; }
.wv-pondacts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 4px; }
.wv-pondacts .wv-ppl { margin-top: 0; }
.wv-tend { min-height: 40px; font-size: 14px; }
.wv-tend[aria-expanded="true"] { background: var(--world-amber); color: #2a1a14; border-color: transparent; }
@media (max-width: 899px) {
  .wv-pondacts { justify-content: flex-start; }
  /* phones: the pond's name and its buttons stay a slim block, so the pads keep the water */
  .wv-pondtop { gap: 4px; }
  .wv-pondacts .wv-back, .wv-padtools .wv-back { min-height: 36px; font-size: 13.5px; padding-left: 12px; padding-right: 12px; }
  .wv-padsub { margin-left: 0; }
}

/* 0.16.199 tidy, Simple view (Virginia's pick B): the community row carries My Space and View at its right end (the
   experiences scroll beside them); Since you were here is one slim line, only when something is new; one breadcrumb */
.subnav-in.se-row { overflow: visible; gap: 8px; }
.se-row .se-chips { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.se-row .se-chips::-webkit-scrollbar { display: none; }
.se-rowacts { gap: 6px; }
.se-rowacts[hidden] { display: none; }
.se-rowacts .se-space { height: 34px; font-size: 13.5px; }
.se-rowacts .se-view { display: flex; align-items: center; gap: 6px; padding: 0; }
.se-rowacts .se-vw { font-size: 13px; color: var(--ink-soft); }
.se-rowacts .se-view button { padding: 0 13px; min-height: 34px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink);
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.se-rowacts .se-view button[aria-pressed="true"] { background: var(--sage-soft); border-color: var(--teal); color: var(--teal-ink); }
.se-strip-in { padding-top: 7px; padding-bottom: 7px; }
.se-strip .se-since { flex-wrap: nowrap; align-items: baseline; gap: 10px; flex: 1 1 auto; }
.se-strip .se-since > b { flex: none; }
.se-line { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-line .se-i { display: inline; }
.se-line .se-i small { margin-left: 5px; }
.se-line .se-dot { margin: 0 8px; color: var(--ink-faint); }
.os-crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.os-crumb a { color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.os-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.os-crumb .os-crumbsep { color: var(--ink-faint); }
@media (max-width: 899px) {
  .subnav-in.se-row { padding-left: 0; gap: 6px; }
  .se-row .se-chips { padding-left: var(--x); }
  .se-row .se-chips a { padding: 6px 11px; }
  .se-rowacts { padding-right: 0; gap: 4px; }
  .se-rowacts .se-vw, .se-rowacts .se-spacew { display: none; }
  .se-rowacts .se-space { width: 34px; padding: 0; justify-content: center; }
  .se-rowacts .se-view button { padding: 0 10px; }
  .se-strip-in { padding-top: 6px; padding-bottom: 6px; font-size: 13.5px; }
}

/* 0.16.205, Experience updates (Virginia, Nov 29; design and wording only) */
/* the way back to the Suite home, at the top left in World view only */
.se-suiteback { display: none; }
html.wv-imm #sp-nav .band-in > a.se-suiteback.se-suiteback { display: inline-flex !important; align-items: center; margin-right: auto; min-height: 40px; padding: 0 12px;
  border-radius: 999px; color: var(--world-ink); font-family: var(--serif, Georgia, serif); font-size: 15px; text-decoration: none; letter-spacing: .01em; }
html.wv-imm #sp-nav .band-in > a.se-suiteback.se-suiteback:hover { background: var(--world-card); }
html.wv-imm #sp-nav .band-in > a.se-suiteback.se-suiteback:focus-visible { outline: 2px solid var(--gold, #E8B86A); outline-offset: 2px; }
/* Simple view says what it is, on the hub */
.wv-titlesw { flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wv-title .wv-simplehint, .wv-simplehint { font-size: 12.5px; color: var(--world-ink, #f4ece0); opacity: .86; font-family: var(--sans); text-transform: none; letter-spacing: normal; font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 10px rgba(0, 0, 0, .35); }
/* the ✕ on an open lily pad (the same as ‹ Back to the pond) */
.wv-cardx { position: sticky; top: 0; float: right; z-index: 3; width: 40px; height: 40px; margin: -8px -8px 4px 10px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--world-line, rgba(232, 184, 106, .45)); background: var(--world-card, #1b1418); color: var(--world-ink, #f4ece0); font-size: 17px; line-height: 1; cursor: pointer; }
.wv-cardx:hover { background: var(--world-veil, #241b20); }
.wv-cardx:focus-visible { outline: 2px solid var(--gold, #E8B86A); outline-offset: 2px; }
/* a pad's Paid step: Connect Stripe right there */
.sp-price-connect { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--gold, #E8B86A); color: #2a1d10 !important;
  text-decoration: none !important; font-weight: 700; }
.sp-price-after { flex-basis: 100%; font-size: 13px; opacity: .8; }
/* Get paid inside ✎ Tend the pond */
.wv-padtools .wv-padpaid { text-decoration: none; }
/* in World view a note sits just above the places menu, never on it */
html.wv-imm .toast, html.wv-imm.bd-on .toast, html.wv-imm.sp-t4 .toast { top: auto; bottom: var(--wv-toastb, 96px); }
/* 0.16.203 (owner email, Release 1): Your email (shared/your-email.js) */
.ye-page h2 { display: flex; align-items: center; gap: 10px; }
.ye-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-soft); color: var(--teal-ink); font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; line-height: 1; font-weight: 700; flex: none; font-variant-numeric: lining-nums; }
.ye-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sage-soft); color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.ye-chip.ye-ok { background: var(--teal); color: var(--btn-ink); }
.ye-chip.ye-warn { background: var(--gold-soft); color: var(--gold-ink); }
.ye-now .row.between { align-items: flex-start; }
.ye-sentence { margin: 10px 0 6px; }
.ye-ok { color: var(--teal-ink); font-weight: 700; }
.ye-replystate { margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ye-recs { display: grid; gap: 12px; margin: 14px 0; }
.ye-rec { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg, transparent); }
.ye-rec.ye-found { border-color: var(--teal); }
.ye-rechead { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ye-recwhy { margin-left: auto; }
.ye-mark { font-weight: 700; color: var(--ink-faint); }
.ye-found .ye-mark { color: var(--teal-ink); }
.ye-kv { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 6px; }
.ye-k { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.ye-v { font-size: 14px; background: var(--sage-soft); border-radius: 8px; padding: 6px 8px; overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.ye-long { max-height: 6.5em; overflow: auto; }
.ye-full { margin: 4px 0 0 60px; overflow-wrap: anywhere; }
.ye-guide { margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.ye-guide summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.ye-guide ol { margin: 8px 0 0 20px; padding: 0; }
.ye-guide li { margin: 6px 0; }
.ye-more .ye-guide { margin-left: 8px; }
.ye-msg { margin-top: 6px; color: var(--ink-soft); }
.ye-flash { margin-bottom: 16px; }
.os-door .os-youremail { grid-column: 1 / -1; }
@media (max-width: 420px) { .ye-kv { grid-template-columns: minmax(0, 1fr) auto; } .ye-k { grid-column: 1 / -1; } .ye-full { margin-left: 0; } }

/* 0.16.206 (Virginia, launch walk): Simple view shows one back button. Where "Back to my world" is drawn (shared/world.js
   doorPills), the community page's own "‹ Back to <the experience>" steps aside. */
html.wv-doorhere a#back[data-sp-back] { display: none !important; }
/* 0.16.206: the sign-in page names the experience someone arrived at (index.html, migration 164) */
.login .exp-here { margin: 10px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); }
.login .exp-here.hidden { display: none; }
/* 0.16.207: the Publish sheet (shared/publish.js), Send to YouTube from a Library recording, and the YouTube card on
   Integrations. Tokens only, except YouTube's own red in its small mark; a bottom sheet on a phone like the other sheets. */
.pub-box .sc-mbody { max-height: min(78vh, 760px); overflow: auto; }
.pub-nets { display: flex; gap: 8px; margin: 0 0 12px; }
.pub-net { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px var(--sans); }
.pub-net.on { border-color: var(--teal); }
.pub-yt { display: inline-block; flex: none; width: 22px; height: 16px; border-radius: 5px; background: #FF0033; position: relative; }
.pub-yt::after { content: ''; position: absolute; left: 8px; top: 4px; border-left: 7px solid #FFFFFF; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.pub-who { margin: 0 0 12px; overflow-wrap: anywhere; }
.pub-small { color: var(--ink-faint); font-size: 14px; }
.pub-warn { color: var(--gold-ink); }
.pub-connect { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin: 0 0 12px; }
.pub-connect p { margin: 0 0 10px; }
.pub-form { display: grid; gap: 6px; }
.pub-l { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 12px 0 2px; font-weight: 600; color: var(--ink); padding: 0; }
.pub-count { font-weight: 400; font-size: 13px; color: var(--ink-faint); }
.pub-form input[type="text"], .pub-form textarea, .pub-form input[type="datetime-local"] { width: 100%; font-size: 16px; box-sizing: border-box; }
.pub-form input[type="datetime-local"] { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.pub-form textarea { min-height: 150px; resize: vertical; }
.pub-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.pub-chip { text-align: left; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); font: 14px/1.3 var(--sans); max-width: 100%; overflow-wrap: anywhere; }
.pub-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.pub-thumb { aspect-ratio: 16 / 9; padding: 0; border-radius: 10px; border: 2px solid var(--line); background: var(--line-soft); overflow: hidden; color: var(--ink-soft); font: 13px/1.25 var(--sans); }
.pub-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-thumb.on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.pub-thumb.none { padding: 6px; }
.pub-f { border: 0; padding: 0; margin: 0; min-width: 0; }
.pub-r { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.pub-r input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--teal-ink); }
.pub-sure { margin-left: 30px; color: var(--gold-ink); }
.pub-err { margin: 8px 0 0; color: var(--gold-ink); font-weight: 600; }
.pub-ups { display: grid; gap: 8px; margin: 0 0 12px; }
.pub-up { padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.pub-up p { margin: 6px 0 0; overflow-wrap: anywhere; }
.pub-up-t { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pub-up-t b { overflow-wrap: anywhere; }
.pub-tag { flex: none; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--sage-soft); color: var(--teal-ink); }
.pub-bar { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; margin: 8px 0 0; }
.pub-bar span { display: block; height: 100%; background: var(--teal); transition: width .4s ease; }
.pub-int { margin: 16px auto 14px; max-width: 760px; padding: 0 16px; box-sizing: border-box; }
.pub-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.pub-card-h { display: flex; gap: 12px; align-items: flex-start; }
.pub-card-h .pub-yt { margin-top: 6px; }
.pub-card h2 { margin: 0 0 2px; font-size: 20px; }
.pub-card p { margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { .pub-bar span { transition: none; } }
/* 0.16.208: the finished send, and the gentle "Make it first" notes */
.pub-done { display: grid; gap: 12px; }
.pub-done .pub-up { border-color: var(--teal); }
.pub-done .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.pub-done .row .btn { text-decoration: none; }
.pub-again { margin: 0; }
.pub-make { margin: 6px 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--line-soft); overflow-wrap: anywhere; }

/* 0.16.210 (Release 1): Experience Set-up's one-tap Show to members, and its free-course note; the front's warm line */
.os-block .os-show { flex: none; }
.os-block .os-freenote { flex-basis: 100%; margin: 2px 0 0; color: var(--ink-soft); }
.os-ssline { margin: 8px 0 0; }
#front .front-warm { color: var(--ink); line-height: 1.5; }
/* 0.16.210: What should we call you? (first and last side by side; stacked on a narrow phone) */
#front .fn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
#front .fn-row .field { flex: 1 1 140px; min-width: 0; margin: 0; }
#front .fn-row input { width: 100%; box-sizing: border-box; }

/* 0.16.213 (One Birdee, many frames): inside an experience Birdee's way back is "Back to my world", the world door's leaf
   and words in a soft pill; on a phone the words stay while you browse and fold to the leaf while a Birdee plays */
.bd[data-layout] .bd-back.bd-worldback { font-size: 14px; gap: 6px; padding: 0 12px 0 10px; border-radius: 99px; color: var(--teal-ink); background: var(--sage-soft); border: 1px solid var(--sage); white-space: nowrap; }
.bd[data-layout] .bd-back.bd-worldback svg { flex: none; }
.bd[data-layout="phone"] .bd-back.bd-worldback span { display: inline; font-size: 13px; }
.bd[data-layout="phone"].bd-watching .bd-back.bd-worldback span { display: none; }
.bd[data-layout="phone"].bd-watching .bd-back.bd-worldback { padding: 0; }
.msg-all { margin-top: 12px; }

/* 0.16.212 (Release 2): Experience Set-up, Create your world and Your words */
.os-create { margin-bottom: 14px; }
.os-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.os-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--card); }
.os-step.done { opacity: .92; }
.os-mark { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-soft); font-size: 14px; line-height: 1; }
.os-mark.os-done { border-color: currentColor; }
.os-stepbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.os-stepbody > span { overflow-wrap: anywhere; }
.os-stepacts { gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.os-words { margin-bottom: 14px; }
.os-wplaces { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.os-wplace { border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 14px 12px; margin: 0; min-width: 0; }
.os-wplace legend { padding: 0 6px; font-weight: 600; }
.os-wplace .field input { width: 100%; box-sizing: border-box; }
.os-wwelcome { margin-bottom: 12px; }
@media (max-width: 640px) { .os-wplaces { grid-template-columns: 1fr; } }

/* 0.16.214 (Release 2, Soul Experience): Create your world, the garden path (create-world.html, shared/create-world.js).
   The garden fills the page under the menu; the stone's drawer sits on the right on a laptop and rises from the bottom on a phone. */
.cw-body-page .cw-foot-note { display: none; }
.os-createrow { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.os-createtxt { flex: 1 1 280px; min-width: 0; }
.os-createlit { margin: 6px 0 0; color: var(--teal-ink); font-weight: 600; }
.cw { position: relative; overflow: hidden; height: 640px; background: #3a3050; color: #F5F1E8; font-family: 'DM Sans', system-ui, sans-serif; }
.cw button, .cw input { font-family: inherit; }
.cw :focus-visible { outline: 2px solid #8BD17C; outline-offset: 2px; }
.cw-scene { position: absolute; inset: 0; }
.cw-host { position: absolute; inset: 0; }
.cw-still { position: absolute; inset: 0; transition: transform .55s cubic-bezier(.3,.9,.3,1); }
.cw-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-sst { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; padding: 0; cursor: pointer; font: 700 13px 'DM Sans', system-ui, sans-serif; display: grid; place-items: center;
  background: rgba(14,17,14,.5); color: #F5F1E8; border: 1px solid rgba(245,241,232,.35); box-shadow: 0 0 12px 3px rgba(255,214,150,.4); }
.cw-sst.lit { background: rgba(249,227,164,.95); color: #4A3A1E; box-shadow: 0 0 16px 4px rgba(255,214,120,.7); }
.cw-sst.skip { background: rgba(40,38,48,.5); color: rgba(245,241,232,.6); border: 1px dashed rgba(245,241,232,.45); box-shadow: none; }
.cw-sst.cur { background: #F5F1E8; color: #1F3D2B; box-shadow: 0 0 0 3px rgba(139,209,124,.6); }
.cw-sname { position: absolute; transform: translate(-50%, 22px); padding: 4px 10px; border-radius: 999px; background: rgba(245,241,232,.95); color: #1F3D2B; font-weight: 700; font-size: 13px; white-space: nowrap; pointer-events: none; }
.cw-sbird { position: absolute; transform: translate(-30%, -150%); pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.cw-sgate { position: absolute; transform: translate(-50%, -100%); font: italic 600 20px 'Cormorant Garamond', Garamond, serif; color: #FFF4E0; text-shadow: 0 0 18px rgba(255,190,110,.9), 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }
.cw-fade { position: absolute; left: 0; top: 0; width: 64%; height: 210px; pointer-events: none; background: radial-gradient(ellipse 85% 100% at 0% 0%, rgba(20,15,10,.6), rgba(20,15,10,.32) 50%, rgba(20,15,10,0) 80%); }
.cw-head { position: absolute; left: 32px; top: 24px; right: 480px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.cw-h1 { margin: 0; font-family: 'Cormorant Garamond', Garamond, serif; font-style: italic; font-weight: 400; font-size: 46px; line-height: 1; color: #F5F1E8; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.cw-sub { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; opacity: .9; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.cw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; pointer-events: auto; }
.cw-rail, .cw-voice { display: flex; align-items: center; padding: 5px 6px; border-radius: 999px; background: rgba(14,17,14,.42); border: 1px solid rgba(245,241,232,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cw-rail { gap: 3px; }
.cw-dot { width: 30px; height: 30px; border-radius: 50%; padding: 0; cursor: pointer; font: 700 12px 'DM Sans', system-ui, sans-serif; display: grid; place-items: center; background: rgba(14,17,14,.5); color: #F5F1E8; border: 1px solid rgba(245,241,232,.3); transition: background .5s, box-shadow .5s; }
.cw-dot.lit { background: rgba(249,227,164,.95); color: #4A3A1E; box-shadow: 0 0 12px 2px rgba(255,214,120,.55); border-color: transparent; }
.cw-dot.skip { background: rgba(40,38,48,.45); color: rgba(245,241,232,.55); border-style: dashed; }
.cw-dot.cur { background: #F5F1E8; color: #1F3D2B; box-shadow: 0 0 0 3px rgba(139,209,124,.6); }
.cw-line { width: 10px; height: 2px; border-radius: 2px; background: rgba(245,241,232,.25); }
.cw-line.lit { background: rgba(249,227,164,.9); }
.cw-voice { padding: 3px; }
.cw-voice button { min-height: 32px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 13px; background: transparent; color: #E9E3D6; }
.cw-voice button[aria-pressed="true"] { background: #F5F1E8; color: #1F3D2B; }
.cw-hint { position: absolute; left: 32px; bottom: 22px; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; opacity: .75; pointer-events: none; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.cw-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cw-petals span { position: absolute; top: -20px; width: 12px; height: 9px; border-radius: 60% 10% 60% 10%; animation: cwfall 6.5s linear infinite; }
@keyframes cwfall { 0% { transform: translate(0,-30px) rotate(0deg); opacity: 0 } 8% { opacity: 1 } 100% { transform: translate(var(--dx), 820px) rotate(340deg); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .cw-petals { display: none; } .cw-still, .cw-drawer { transition: none; } }
.cw-tab { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 6; min-height: 48px; padding: 0 18px; border-radius: 999px 0 0 999px; border: 1px solid rgba(245,241,232,.2); border-right: 0; background: rgba(14,17,14,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #F5F1E8; font-weight: 700; font-size: 14px; cursor: pointer; }
.cw-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 440px; z-index: 5; display: flex; flex-direction: column; background: rgba(14,17,14,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-left: 1px solid rgba(245,241,232,.16); box-shadow: -18px 0 40px rgba(0,0,0,.3); transition: transform .55s cubic-bezier(.3,.9,.3,1); transform: translateX(460px); }
.cw-open .cw-drawer { transform: none; }
.cw-dhead { flex: none; position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 14px 18px 8px; background: none; border: 0; text-align: left; cursor: pointer; color: #F5F1E8; }
.cw-grip { display: none; }
.cw-dtitles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8BD17C; }
.cw-title { font-family: 'Cormorant Garamond', Garamond, serif; font-size: 28px; font-weight: 600; line-height: 1.15; }
.cw-close { margin-left: auto; flex: none; font-size: 13px; font-weight: 500; color: #C9C3B4; text-decoration: underline; }
.cw-cel { margin: 0 18px 8px; padding: 10px 12px; border-radius: 12px; background: rgba(217,178,106,.16); border: 1px solid rgba(217,178,106,.55); font-family: 'Cormorant Garamond', Garamond, serif; font-size: 18px; font-weight: 600; color: #F6DDA0; }
.cw-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 18px 12px; display: flex; flex-direction: column; gap: 12px; }
.cw-line1 { margin: 0; font-size: 14px; color: #C9C3B4; }
.cw-step { display: flex; flex-direction: column; gap: 10px; }
.cw-lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #C9C3B4; }
.cw-field { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(245,241,232,.16); background: rgba(245,241,232,.06); color: #F5F1E8; font-size: 15px; overflow-wrap: anywhere; }
.cw-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cw-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 12px; border-radius: 12px; cursor: pointer; color: #F5F1E8; text-decoration: none; background: rgba(245,241,232,.06); border: 1px solid rgba(245,241,232,.16); font-size: 15px; }
.cw-card span { font-size: 12px; color: #C9C3B4; }
.cw-card b { font-weight: 500; }
.cw-card.on { background: rgba(139,209,124,.16); border: 1.5px solid #8BD17C; }
.cw-card[disabled] { opacity: .6; cursor: default; }
.cw-serif { font-family: 'Cormorant Garamond', Garamond, serif; font-size: 20px; font-weight: 600 !important; }
.cw-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-acts.cw-col { flex-direction: column; }
.cw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(245,241,232,.3); background: transparent; color: #F5F1E8; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; align-self: flex-start; }
.cw-btn.cw-primary { background: #F5F1E8; color: #1F3D2B; border-color: #F5F1E8; }
.cw-btn.cw-sm { min-height: 44px; padding: 0 16px; }
.cw-link { color: #E9E3D6; font-size: 13px; text-decoration: underline; align-self: flex-start; }
.cw-small, .cw-step .cw-small { font-size: 13px; color: #C9C3B4; margin: 0; }
.cw-state { margin: 0; font-size: 14px; color: #E9E3D6; }
.cw-state .os-gpstep { margin-right: 4px; }
.cw-place { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(245,241,232,.06); border: 1px solid rgba(245,241,232,.14); }
.cw-place b { font-weight: 600; font-size: 14px; }
.cw-share { display: flex; gap: 8px; }
.cw-url { flex: 1 1 auto; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 44px; }
.cw-switch { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(245,241,232,.06); border: 1px solid rgba(245,241,232,.16); }
.cw-switch > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.cw-knob { flex: none; width: 48px; height: 28px; border-radius: 999px; position: relative; background: rgba(245,241,232,.25); }
.cw-knob::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .3s; }
.cw-switch.on .cw-knob { background: #8BD17C; }
.cw-switch.on .cw-knob::after { left: 24px; }
.cw-sure { color: #F6DDA0 !important; }
.cw-saved { margin: 0; font-size: 12px; color: #A9A396; }
.cw-foot { flex: none; padding: 12px 18px 18px; border-top: 1px solid rgba(245,241,232,.12); display: flex; gap: 8px; align-items: center; }
.cw-foot:empty { display: none; }
.cw-back { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245,241,232,.25); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #F5F1E8; }
.cw-back[disabled] { opacity: .35; cursor: default; }
.cw-skip { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(245,241,232,.25); background: transparent; color: #F5F1E8; font-size: 14px; cursor: pointer; }
.cw-next { flex: 1 1 auto; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 0; background: #F5F1E8; color: #1F3D2B; font-weight: 700; font-size: 15px; cursor: pointer; }
.cw-next[disabled] { opacity: .5; cursor: default; }
.cw-viewonly { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 7; margin: 0; padding: 6px 14px; border-radius: 999px; background: #F6DDA0; color: #3A3432; font-size: 13px; font-weight: 600; }
/* Your words, inside the dark drawer */
.cw-step .os-wplaces { grid-template-columns: 1fr; gap: 10px; margin: 0 0 10px; }
.cw-step .os-wplace { border-color: rgba(245,241,232,.16); }
.cw-step .os-wplace legend { color: #F5F1E8; }
.cw-step .field label { color: #C9C3B4; }
.cw-step .field input { background: rgba(245,241,232,.06); color: #F5F1E8; border: 1px solid rgba(245,241,232,.2); min-height: 44px; }
.cw-step .field input::placeholder { color: rgba(245,241,232,.45); }
.cw-step .btn.primary { background: #F5F1E8; color: #1F3D2B; border-color: #F5F1E8; }
/* phone: the drawer rises from the bottom, the title hides while it is up */
.cw-phone .cw-fade { width: 100%; height: 170px; background: linear-gradient(to bottom, rgba(20,15,10,.55), rgba(20,15,10,.28) 55%, rgba(20,15,10,0)); }
.cw-phone .cw-head { left: 16px; top: 12px; right: 16px; gap: 6px; }
.cw-phone .cw-h1 { font-size: 30px; }
.cw-phone.cw-open .cw-h1, .cw-phone.cw-open .cw-sub { display: none; }
.cw-phone .cw-rail { gap: 2px; }
.cw-phone .cw-dot { width: 26px; height: 26px; }
.cw-phone .cw-line { width: 5px; }
.cw-phone .cw-voice button { min-height: 34px; }
.cw-phone .cw-hint { left: 16px; bottom: auto; top: 40%; }
.cw-phone.cw-open .cw-hint { display: none; }
.cw-phone .cw-drawer { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 58%; border-left: 0; border-top: 1px solid rgba(245,241,232,.16); border-radius: 20px 20px 0 0; box-shadow: 0 -14px 34px rgba(0,0,0,.35); background: rgba(14,17,14,.8); transform: translateY(calc(100% - 74px)); }
.cw-phone.cw-open .cw-drawer { transform: none; }
.cw-phone .cw-grip { display: block; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(245,241,232,.3); }
.cw-phone .cw-title { font-size: 22px; }
.cw-phone .cw-foot { padding-bottom: 14px; }
/* small phones (iPhone SE, 320 wide): the row of nine and the voice fit without scrolling sideways */
@media (max-width: 360px) {
  .cw-phone .cw-head { left: 10px; right: 10px; }
  .cw-phone .cw-rail { gap: 1px; padding: 4px; }
  .cw-phone .cw-dot { width: 24px; height: 24px; font-size: 11px; }
  .cw-phone .cw-line { width: 3px; }
  .cw-phone .cw-voice button { padding: 0 10px; }
}
.cw-phone .cw-cel { margin: 0 14px 6px; padding: 6px 10px; font-size: 15px; }
/* short phones (iPhone SE): a taller drawer, a smaller title */
@media (max-height: 700px) {
  .cw-phone .cw-drawer { height: 64%; }
  .cw-phone .cw-title { font-size: 19px; }
  .cw-phone .cw-dhead { min-height: 54px; padding: 12px 14px 4px; }
  .cw-phone .cw-body { padding: 2px 14px 10px; gap: 10px; }
  .cw-phone .cw-foot { padding: 8px 14px 10px; }
}

/* 0.16.215, Co-host Studios C1: the Co-hosts panel on an own studio, and Studios I co-host */
.sc-cohost-line { color: var(--ink-soft); font-size: 14px; line-height: 1.4; word-break: break-word; }
.sc-cohosts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sc-cohosts li { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 12px; min-width: 0; }
.sc-cohosts li > span:first-child { min-width: 0; word-break: break-word; }
.sc-studio .inline input[type="email"] { font-size: 16px; }
.sc-sub { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 34px 0 14px; }

/* 0.16.217 (Co-host Studios lane): Hidden guests and the Undo bar on the Guests page */
.sc-gundo{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.sc-gundo[hidden]{display:none}
.sc-gundo span{flex:1;min-width:180px}
.sc-hidden-g{display:flex;flex-direction:column;gap:10px}
.sc-hg-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.sc-hg-row small{display:block;overflow-wrap:anywhere}
.sc-guests{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr))}   /* 0.16.217: guest tiles fit a 320 px phone (were 16 px too wide) */

/* 0.16.218 (Co-host Studios C3a): My content, a co-host's own posts, blog and newsletter */
.sc-mine .sc-mine-cost { font-size: 1.05rem; margin: 10px 0; }
.sc-mine .sc-mine-go { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sc-mine .sc-mine-wait { color: var(--muted, #6b6b6b); margin: 8px 0; }
.sc-mine .sc-mine-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 8px; }
.sc-mine .sc-mine-tab { border: 1px solid var(--line, #ddd); background: transparent; border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer; color: inherit; }
.sc-mine .sc-mine-tab[aria-selected="true"] { background: var(--gold-soft); color: var(--gold-ink); border-color: var(--gold-soft); }
.sc-mine .sc-mine-blk { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.sc-mine .sc-mine-lbl { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.sc-mine .sc-mine-txt { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 50vh; overflow: auto; line-height: 1.5; }
/* 0.16.219 Go Live lane (first built as 0.16.216): one-click YouTube live on the Integrations YouTube card */
.pub-live { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pub-live-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.pub-live-list { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.pub-live-list li { margin: 2px 0; overflow-wrap: anywhere; }

/* 0.16.220 Compact Webinar Planting: More options in step 1, Show all studios, and the folded Webinars list */
.wb-more { display: block; width: 100%; text-align: left; margin-top: 12px; background: none; border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--teal-ink); cursor: pointer; min-height: 44px; }
.wb-more small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.wb-more:hover, .wb-more:focus-visible { border-color: var(--teal); }
.wb-allst, .wb-fold { margin-top: 10px; }
.wb-filled[hidden] { display: none; }
/* 0.16.220: on a 320 px phone the builder and the Webinars list were wider than the screen (their one column sized to its
   widest content, 36 px and 31 px past the edge on iPhone SE, live since before 0.16.219); the column now shrinks to fit */
.wb-list { grid-template-columns: minmax(0, 1fr); }
.wb-item { min-width: 0; }
@media (max-width: 1000px) { .wb-builder, .wb-hv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .wb-item .pill { display: none; } }   /* 0.16.220: its words are already in the line under the title */

/* 0.16.226 Guest info from SoulSoftware (Onboarding Webhook lane): the From SoulSoftware card on Guests, the field match,
   the host's copy and the guest's "Add these" */
.gp-st.form { background: transparent; border: 1px solid var(--gold); color: var(--gold-ink); }
.gi-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0 0 16px; }
.gi-card[hidden] { display: none; }
.gi-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 4px; }
.gi-steps li { flex: 1 1 130px; min-width: 0; }
.gi-steps button { width: 100%; text-align: left; font: inherit; font-size: 14px; padding: 8px 10px; min-height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; }
.gi-steps li.done button { background: var(--sage); color: var(--ink); }
.gi-steps li.on button { border-color: var(--teal); color: var(--ink); font-weight: 600; }
.gi-steps button[disabled] { opacity: .55; cursor: default; }
.gi-addr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gi-addr code { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; font-size: 13px; background: var(--sage); padding: 8px 10px; border-radius: 8px; }
.gi-howto { margin: 4px 0 0; padding-left: 20px; }
.gi-howto li { margin: 0 0 12px; }
.gi-howto img { display: block; width: 100%; max-width: 560px; height: auto; margin-top: 8px; border-radius: 10px; border: 1px solid var(--line); }
.gi-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 12px; align-items: center; font-size: 14px; }
.gi-map .gi-h { font-size: 12px; color: var(--ink-faint); }
.gi-map .gi-k { overflow-wrap: anywhere; }
.gi-map select { width: 100%; font: inherit; font-size: 16px; padding: 8px 10px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.gi-map .gi-v { color: var(--ink-soft); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) {
  .gi-map { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gi-map .gi-h { display: none; }
  .gi-map .gi-k { margin-top: 12px; }
  .gi-map .gi-v { white-space: normal; }
}
.gi-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 4px; vertical-align: middle; }
.gi-listen { text-align: center; padding: 28px 16px; }
.gi-tag { display: inline-block; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); margin-left: 4px; vertical-align: 1px; }
.gi-tag.mine { background: var(--sage); color: var(--teal-ink); }
.gi-fields .meta { display: block; }
.gi-from summary { cursor: pointer; min-height: 32px; }
.gi-offer { border-color: var(--teal); margin-bottom: 14px; }
.gp-shot.sm img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
/* 0.16.226: a hidden button in the Guests actions row stays hidden (.btn is display:flex, which beat the hidden attribute). */
.sc-gacts .btn[hidden] { display: none; }

/* 0.16.229 Facebook Pages in one click (Go Live lane, R2): the Facebook card in Integrations */
.pub-fb { display: inline-flex; flex: none; align-items: flex-end; justify-content: center; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: #0866FF; color: #FFFFFF; font: 700 17px/1 var(--sans); overflow: hidden; }
.fb-pages { list-style: none; margin: 0 0 10px; padding: 0; }
.fb-pages li { margin: 4px 0; }
.fb-page { display: flex; gap: 8px; align-items: center; min-height: 44px; overflow-wrap: anywhere; cursor: pointer; }
.fb-page input { width: 20px; height: 20px; flex: none; }
.fb-page-off { color: var(--ink-faint); cursor: default; }
.fb-privacy { margin: 10px 0 0 !important; font-size: 13px; }
.fb-del { max-width: 680px; margin: 32px auto 48px; padding: 0 18px; box-sizing: border-box; line-height: 1.6; overflow-wrap: anywhere; }
.fb-del h1 { font-family: var(--serif, 'Cormorant Garamond', serif); font-size: 34px; margin: 0 0 12px; }
.fb-del h2 { font-size: 19px; margin: 24px 0 6px; }
.fb-del ol, .fb-del ul { padding-left: 22px; }
.fb-del li { margin: 4px 0; }
/* 0.16.231 Guests page cleanup (Onboarding Webhook lane, Virginia Dec 4): one Invite a guest button and a quiet Settings
   menu at the top; one row of search and filters; one folded row per guest that opens to their whole file (one at a
   time); Guest settings and Your Guest Webhook as pop-ups, every on or off a toggle; the how-to flips one step at a time. */
.sc-ghead { flex-wrap: wrap; }
.sc-ghead h1 { font-size: inherit; }
.sc-gacts { flex-wrap: nowrap; gap: 10px; align-items: center; }
.sc-gset-btn { display: inline-flex; align-items: center; gap: 6px; }
.sc-gset-btn .chev { opacity: .6; }
.sc-gset .pop { min-width: 260px; z-index: 60; }
.sc-gset .pop button { font-weight: 600; }
.sc-gset .pop button small { font-weight: 400; }
.sc-gset .sc-gm-view { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 6px; border-top: 1px solid var(--line-soft); margin-top: 4px; font-size: 14px; }
.sc-gset .sc-gm-view .sc-views button { display: inline-block; width: auto; padding: 6px 10px; font-weight: 500; }
.sc-gtools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; }
.sc-gtools .sc-search { flex: 1 1 220px; min-width: 0; }
.sc-gtools .sc-chips { flex: 10 1 auto; min-width: 0; }

.gx-list { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.gx-th { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1.1fr) 120px 150px 24px; gap: 14px; padding: 10px 16px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 1px solid var(--line); background: var(--cream); }
.gx-row { border-top: 1px solid var(--line-soft); }
.gx-list > .gx-row:first-child, .gx-th + .gx-row { border-top: 0; }
.gx-head { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1.1fr) 120px 150px 24px; gap: 14px; align-items: center; width: 100%; padding: 12px 16px; min-height: 64px;
  background: transparent; border: 0; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.gx-head:hover { background: var(--sage-soft); }
.gx-head:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.gx-row.open > .gx-head { background: var(--sage-soft); }
.gx-who { min-width: 0; }
.gx-who b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-sub { display: none; color: var(--ink-soft); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-show, .gx-date { color: var(--ink-soft); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gx-st { min-width: 0; }
.gx-chev { color: var(--ink-faint); transition: transform .25s ease; }
.gx-row.open .gx-chev { transform: rotate(180deg); }
.gx-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.gx-row.open > .gx-fold { grid-template-rows: 1fr; }
.gx-in { min-height: 0; overflow: hidden; }
.gx-row.open .gx-in { overflow: visible; }
.gx-file { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px 28px; padding: 6px 16px 18px 74px; }
.gx-h { margin: 6px 0 8px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; font-family: inherit; }
.gx-next { padding: 8px 12px; border-radius: 10px; background: var(--cream); margin: 0 0 8px; font-size: 15px; }
.gx-em { margin: 0 0 4px; overflow-wrap: anywhere; }
.gx-prof { margin: 0 0 8px; color: var(--ink-soft); }
.gx-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: flex-start; }
.gx-file .sc-fu { grid-column: 1 / -1; }
.gx-in > .sc-fu { margin: 0 16px 16px; }
@media (prefers-reduced-motion: reduce) { .gx-fold, .gx-chev { transition: none; } }

/* Tiles: two lines per row, the way a phone reads it */
.gx-list.gx-tiles .gx-head { grid-template-columns: 44px minmax(0, 1fr) auto 20px; gap: 12px; }
.gx-list.gx-tiles .gx-show, .gx-list.gx-tiles .gx-date { display: none; }
.gx-list.gx-tiles .gx-sub { display: block; }
.gx-list.gx-tiles .gx-file { grid-template-columns: 1fr; padding: 4px 16px 18px; }

@media (max-width: 699px) {
  .sc-gview-wide { display: none; }
  .sc-gset .sc-gm-view { display: flex; }
  .sc-ghead { gap: 12px; }
  .sc-ghead .sc-gacts { width: 100%; }
  .sc-ghead .sc-gacts #inviteBtn { flex: 1 1 auto; }
  .sc-gset-btn .lbl, .sc-gset-btn .chev { display: none; }
  .sc-gset-btn { width: 46px; justify-content: center; padding-left: 0; padding-right: 0; }
  .sc-gset { order: 2; }
  .sc-menu.sc-gset .pop { left: auto; right: 0; min-width: min(280px, calc(100vw - 32px)); }
  .gx-list.gx-sheet .gx-th { display: none; }
  .gx-list.gx-sheet .gx-head { grid-template-columns: 44px minmax(0, 1fr) auto 20px; gap: 12px; }
  .gx-list.gx-sheet .gx-show, .gx-list.gx-sheet .gx-date { display: none; }
  .gx-list.gx-sheet .gx-sub { display: block; }
  .gx-file { grid-template-columns: 1fr; padding: 4px 14px 16px; }
  .gx-head { padding: 12px 14px; }
  .gx-st .gp-st { font-size: 12px; }
}

/* Guest settings pop-up */
.sc-modal.gs-modal { width: min(560px, calc(100% - 24px)); }
.gs-modal .gs-h3 { margin: 18px 0 8px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); font-family: inherit; font-weight: 600; }
.gs-modal .gs-h3:first-child { margin-top: 4px; }
.gs-group { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.gs-group .toggle { border-top: 1px solid var(--line-soft); padding: 12px 0; }
.gs-group > .toggle:first-child, .gs-group > #gs-copyslot:empty + .toggle { border-top: 0; }
.gs-group .toggle span.d { font-size: 14px; display: block; margin-top: 2px; }
.gs-group #gs-copyslot .toggle { border-top: 1px solid var(--line-soft); }
.gs-modal .gs-kinds { margin: 0 0 4px 54px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gs-modal .gs-note { margin: 0 0 10px 54px; font-size: 13px; }
.gs-choose { display: inline-block; margin: -4px 0 10px 54px; min-height: 32px; }
.gs-shows { margin: 0 0 10px 54px; padding: 4px 12px; border-radius: 10px; background: var(--cream); }
.gs-shows .toggle.mini { padding: 8px 0; align-items: center; }
.gs-step { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 0; border: 0; border-top: 1px solid var(--line-soft);
  background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.gs-step:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.gs-foot { margin: 14px 0 0; }
.gs-qadd { gap: 8px; flex-wrap: wrap; }
.gs-qadd select, .gs-qadd .gs-ch { font: inherit; font-size: 16px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.gs-qadd .gs-ch { flex: 1 1 220px; min-width: 0; }
.gi-back { display: inline-block; margin: 0 0 10px; min-height: 32px; }

/* Your Guest Webhook pop-up */
.sc-modal.gi-modal { width: min(560px, calc(100% - 24px)); }
.gi-lead { margin: 0 0 14px; color: var(--ink-soft); }
.gi-modal .toggle.gi-sw { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.gi-modal .toggle span.d { display: block; font-size: 14px; margin-top: 2px; }
.gi-rows { list-style: none; margin: 12px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.gi-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 14px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.gi-rows li:first-child { border-top: 0; }
.gi-rows .v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.gi-rows .gi-addr { flex: 1 1 100%; }
.gi-once { flex: 1 1 100%; font-size: 13px; color: var(--clay); }
.gi-howbtn { width: 100%; margin-top: 16px; min-height: 46px; justify-content: center; }
.gi-preview { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.gi-how { text-align: left; }
.gi-howof { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.gi-howpic { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); margin: 0 0 14px; }
.gi-how h3 { margin: 0 0 6px; font-family: inherit; font-size: 20px; font-weight: 600; }
.gi-howtext { margin: 0; line-height: 1.5; }
.gi-dots { display: flex; justify-content: center; gap: 8px; margin: 20px 0 16px; }
.gi-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .2s; }
.gi-dots span.on { width: 22px; background: var(--leaf); }
.gi-hownav { display: flex; justify-content: space-between; gap: 10px; }
.gi-hownav .btn { min-width: 96px; justify-content: center; }
/* 0.16.233 phone check: in Tiles the status sits on the second line, so the name gets the row */
.gx-sub .gp-st { display: none; }
.gx-list.gx-tiles .gx-st { display: none; }
.gx-list.gx-tiles .gx-head { grid-template-columns: 44px minmax(0, 1fr) 20px; }
.gx-list.gx-tiles .gx-sub { display: flex; align-items: center; gap: 8px; }
.gx-list.gx-tiles .gx-sub .gp-st { display: inline-flex; flex: none; font-size: 12px; }
@media (max-width: 699px) {
  .gx-list.gx-sheet .gx-st { display: none; }
  .gx-list.gx-sheet .gx-head { grid-template-columns: 44px minmax(0, 1fr) 20px; }
  .gx-list.gx-sheet .gx-sub { display: flex; align-items: center; gap: 8px; }
  .gx-list.gx-sheet .gx-sub .gp-st { display: inline-flex; flex: none; font-size: 12px; }
}
/* the pieces that start ticked: small chips that wrap, not a long list */
.gs-modal .gs-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px 54px; }
.gs-modal .gs-kinds .gp-check { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; min-height: 36px; align-items: center; font-size: 14px; }
.gs-modal .gs-kinds .gp-check input { width: 16px; height: 16px; }
@media (max-width: 699px) {
  .gs-modal .gs-kinds, .gs-modal .gs-note, .gs-choose, .gs-shows { margin-left: 0; }
}
.gx-subt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
