/* The name step for a new person, and the cards after a hangout (welcome.js,
   next-time.js), drawn to the 2026-10-08 mockups in project files
   chillin/name-screen/. */

/* A couch as a picture, with the home couch's parts (bloom.css). */
.scene-couch {
  --couch-cushions: 2; --fab: var(--couch-fabric, #7c4dff); --fab-dark: color-mix(in srgb, var(--fab) 80%, #000);
  position: relative; width: calc(var(--couch-cushions) * 56px + 30px + 80px); height: 148px;
}
.scene-couch::before {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 30px; border-radius: 50%;
  background: repeating-linear-gradient(90deg, #f4e7d2 0 12px, #efdcc0 12px 24px);
}
.scene-couch .couch-seat { width: 50px; height: 50px; margin: 0 3px; font-size: 18px; border: 2px solid var(--bloom-canvas); border-radius: 50%; background-size: cover; box-sizing: border-box; }
.scene-couch .scene-empty-seat {
  display: grid; place-items: center; border: 2.5px dashed #00000066; background: #ffffffcc;
  color: var(--bloom-ink); font: 800 13px/1 system-ui, sans-serif;
}

/* The name prompt fills a phone; on a wider screen it is a tall card. */
#identity-dialog.identity {
  width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: var(--bloom-canvas); color: var(--bloom-ink);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: none;
}
#identity-dialog.identity:not([open]) { display: none; }
#identity-dialog.identity::backdrop { background: var(--bloom-canvas); animation: none; }
@media (min-width: 560px) and (min-height: 700px) {
  #identity-dialog.identity {
    width: 430px; height: min(880px, calc(100dvh - 32px)); margin: auto;
    border: 1px solid var(--bloom-line); border-radius: 32px; box-shadow: 0 24px 80px #1a1d1c1f;
  }
  #identity-dialog.identity::backdrop { background: #f4f3eec9; }
}
.identity-top {
  flex: none; display: flex; align-items: center; gap: 8px; min-height: 64px;
  padding: env(safe-area-inset-top, 0px) 8px 0 20px;
}
.identity-top .wordmark { margin-right: auto; }
#identity-recover-button { min-height: 44px; padding: 8px 4px; font-size: 15px; color: var(--bloom-muted); text-decoration: none; }
#identity-recover-button u { text-underline-offset: 3px; }
#identity-dialog .identity-top .modal-close { position: static; width: 44px; height: 44px; padding: 0; font-size: 26px; color: var(--bloom-muted); }

.identity-pages {
  flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none;
}
.identity-pages::-webkit-scrollbar { display: none; }
.identity-page {
  flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
  overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
  display: flex; flex-direction: column; padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px));
}
.identity-page[hidden] { display: none; }
.identity-kicker { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--bloom-muted); }
#identity-dialog .identity-heading {
  margin: 0 0 14px; font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-weight: 900;
  font-size: 30px; line-height: 1.05; letter-spacing: -.5px; overflow-wrap: anywhere;
}
.identity-stage {
  position: relative; flex: none; height: 250px; overflow: hidden;
  background: #fff; border: 1px solid var(--bloom-line); border-radius: 28px;
}
.identity-stage .scene-couch { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%) scale(1.22); transform-origin: 50% 100%; }
.identity-stage-you { height: 210px; }
.identity-bubble {
  position: absolute; z-index: 3; left: 50%; top: 20px; transform: translateX(-50%); max-width: calc(100% - 32px);
  padding: 6px 10px; border: 1px solid var(--bloom-line); border-radius: 16px; background: #fff;
  font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 12px #0000000f;
}
.identity-bubble[hidden] { display: none; }
.identity-sparkle { position: absolute; z-index: 3; right: calc(50% - 74px); top: 34px; font-size: 20px; }
.identity-ring {
  position: absolute; z-index: 3; left: 14px; right: 14px; top: 16px; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 18px; background: #fffffff2; transform: rotate(-1.5deg);
  box-shadow: 0 10px 30px #0000002a, 0 0 0 1px #0000000d;
}
.identity-ring .person-circle { display: block; width: 38px; height: 38px; font-size: 13px; }
.identity-ring-copy { flex: 1; min-width: 0; }
.identity-ring-copy b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.identity-ring-copy small { display: block; font-size: 13px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.identity-wave { position: absolute; z-index: 3; right: 28px; top: 104px; font-size: 22px; }
.identity-stage-ring .scene-couch { bottom: 10px; transform: translateX(-50%) scale(1.05); }
.identity-dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0 8px; }
.identity-dots[hidden] { display: none; }
.identity-dots i { width: 8px; height: 8px; border-radius: 4px; background: #dcd9d0; }
.identity-dots i.on { width: 22px; background: #111; }
.identity-caption { text-align: center; }
.identity-caption strong { display: block; margin-bottom: 4px; font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-weight: 900; font-size: 22px; }
#identity-dialog .identity-caption p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--bloom-muted); }
#identity-dialog .identity-next, #identity-dialog .primary {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 56px; margin: 22px 0 0;
  padding: 0 20px; border: 0; border-radius: 18px; background: #111; color: #fff; box-shadow: none;
  font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-size: 18px; font-weight: 800;
}
#identity-dialog .primary:disabled { opacity: .6; }
/* "Chill with <a long name>" stops short instead of spilling out of the button. */
#identity-dialog .primary #identity-submit-label { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#identity-dialog :is(.identity-next, .primary):focus-visible { outline: 3px solid #111; outline-offset: 3px; }
/* A real second button, so people who don't want the tour see a way in (first-time users, 2026-10-18). */
#identity-dialog .identity-skip {
  align-self: stretch; min-height: 52px; margin-top: 10px; padding: 0 20px; border: 1px solid var(--bloom-line); border-radius: 18px;
  background: #fff; color: var(--bloom-ink); text-decoration: none;
  font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-size: 17px; font-weight: 800;
}

/* HELLO MY NAME IS: the name goes on a sticker. */
.identity-tag {
  margin: 8px 0 0; padding: 8px; border-radius: 20px; background: #ff5a36;
  box-shadow: 0 6px 16px #ff5a3633; transform: rotate(-1.2deg);
}
#identity-dialog .identity-tag label { display: block; margin: 0 0 6px; color: #fff; text-align: center; font-size: 11px; }
.identity-hello { display: block; font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-weight: 900; font-size: 16px; line-height: 1; letter-spacing: 3px; }
.identity-my-name { display: block; margin-top: 2px; font-weight: 700; letter-spacing: 1px; opacity: .9; }
#identity-dialog .identity-tag input {
  display: block; width: 100%; height: 58px; padding: 0 14px; border: 0; border-radius: 13px; background: #fff;
  color: #111; text-align: center; font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-weight: 800; font-size: 26px;
  caret-color: #ff5a36;
}
#identity-dialog .identity-tag input::placeholder { color: #c9c6bd; font-size: 22px; }
#identity-dialog .identity-tag input:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: 0 0 0 2px #ff5a36 inset; }
.identity-faces-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 16px 0 8px; font-weight: 800; font-size: 15px; }
.identity-faces-label small { font-weight: 600; font-size: 13px; color: var(--bloom-muted); }
.identity-faces {
  flex: none; display: flex; gap: 10px; margin: 0 -20px; padding: 6px 20px; overflow-x: auto;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.identity-faces::-webkit-scrollbar { display: none; }
.identity-faces[hidden], .identity-faces-label[hidden] { display: none; }
#identity-tour-title:focus { outline: none; }
.identity-face { flex: none; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: none; }
.identity-face .person-circle { display: block; width: 52px; height: 52px; font-size: 18px; box-shadow: 0 0 0 1px #0000000d; }
.identity-face[aria-checked="true"] .person-circle { box-shadow: 0 0 0 3px var(--bloom-canvas), 0 0 0 5.5px #111; }
.identity-face:focus-visible { outline: 3px solid #5c6663; outline-offset: 6px; }
#identity-dialog #identity-error { margin: 12px 0 0; color: #9a3d29; font-size: 14px; }
#identity-dialog #identity-error:empty { display: none; }
#identity-dialog .identity-birth-row [aria-invalid="true"] { border-color: #9a3d29; box-shadow: 0 0 0 1px #9a3d29; }
#identity-dialog .identity-tag input[aria-invalid="true"] { box-shadow: 0 0 0 2px #9a3d29 inset; }
#identity-dialog #identity-agree[aria-invalid="true"] { outline: 2px solid #9a3d29; outline-offset: 2px; }
#identity-dialog .identity-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--bloom-muted); }
#identity-dialog .browser-entry-hint { margin: 12px 0 0; }
#identity-dialog .browser-entry-hint p { margin: 6px 0 2px; font-size: 14px; }
@media (max-height: 700px) {
  .identity-stage { height: 200px; }
  .identity-stage .scene-couch { transform: translateX(-50%) scale(1.02); }
  .identity-stage-you { height: 170px; }
  .identity-stage-you .scene-couch { transform: translateX(-50%) scale(.92); }
}
@media (prefers-reduced-motion: no-preference) {
  .identity-stage-you .couch-seat:last-child { animation: couch-arrive .5s cubic-bezier(.3, 1.6, .5, 1); }
}

/* Open signup (2026-10-09, project files chillin/open-signup/): every new
   person gives a birthday and agrees to the Terms on the name step. */
#identity-dialog.asks-age .identity-stage.identity-stage-you { height: 150px; }
#identity-dialog.asks-age .identity-stage-you .scene-couch { bottom: 14px; transform: translateX(-50%) scale(.9); }
#identity-dialog.asks-age .identity-sparkle { display: none; }
.identity-age[hidden] { display: none; }
.identity-birth { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.identity-birth legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.identity-birth legend small { margin-left: 6px; font-weight: 400; font-size: 14px; color: var(--bloom-muted); }
.identity-birth-row { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 10px; }
#identity-dialog .identity-birth-row :is(input, select) {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 12px;
  border: 1px solid #c9ccc6; border-radius: 12px; background: #fff; color: var(--bloom-ink);
  font: inherit; font-size: 17px; color-scheme: light;
}
#identity-dialog .identity-birth-row select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231b1d1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
}
#identity-dialog .identity-birth-row select:invalid { color: #5c6663; }
#identity-dialog .identity-birth-row input::placeholder { color: #5c6663; opacity: 1; }
#identity-dialog .identity-birth-row :is(input, select):focus-visible { outline: 3px solid #111; outline-offset: 1px; }
#identity-dialog .identity-agree { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; font-size: 15px; font-weight: 400; line-height: 1.45; }
#identity-dialog .identity-agree input {
  appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0;
  border: 2px solid #1b1d1c; border-radius: 6px; background: #fff; display: grid; place-items: center;
}
#identity-dialog .identity-agree input:checked { background: #1b1d1c; }
#identity-dialog .identity-agree input:checked::after { content: ""; width: 10px; height: 6px; margin-top: -3px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
#identity-dialog .identity-agree input:focus-visible { outline: 3px solid #5c6663; outline-offset: 2px; }
#identity-dialog .identity-agree a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* The link to send, before going in (open signup). */
#link-ready-dialog.link-ready {
  width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: var(--bloom-canvas); color: var(--bloom-ink);
  overflow: hidden auto; display: flex; flex-direction: column; box-shadow: none;
}
#link-ready-dialog.link-ready:not([open]) { display: none; }
#link-ready-dialog.link-ready::backdrop { background: var(--bloom-canvas); animation: none; }
@media (min-width: 560px) and (min-height: 700px) {
  #link-ready-dialog.link-ready {
    width: 430px; height: min(880px, calc(100dvh - 32px)); margin: auto;
    border: 1px solid var(--bloom-line); border-radius: 32px; box-shadow: 0 24px 80px #1a1d1c1f;
  }
  #link-ready-dialog.link-ready::backdrop { background: #f4f3eec9; }
}
.link-ready-page { display: flex; flex-direction: column; padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
#link-ready-dialog .link-ready-heading {
  margin: 0; font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-weight: 900;
  font-size: 30px; line-height: 1.05; letter-spacing: -.5px;
}
#link-ready-dialog .link-ready-intro { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #5d615f; }
.link-ready-stage {
  position: relative; display: grid; place-items: center; height: 230px; margin: 14px 0 18px; overflow: hidden;
  border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #1b1d1c14;
}
.link-ready-pill { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1.5px #1b1d1c1f; font-size: 15px; }
.link-ready-pill span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3d403f; }
.link-ready-pill button { min-height: 40px; border: 0; border-radius: 10px; background: #efede8; padding: 10px 14px; color: var(--bloom-ink); font: inherit; font-weight: 650; font-size: 15px; }
#link-ready-dialog .link-ready-share {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; min-height: 56px;
  border: 0; border-radius: 16px; background: #1b1d1c; color: #fff; font: inherit; font-size: 17px; font-weight: 650;
}
#link-ready-dialog .link-ready-go { margin-top: 10px; min-height: 52px; border: 0; border-radius: 16px; background: #efede8; color: #1b1d1c; font: inherit; font-size: 16px; font-weight: 600; }
#link-ready-dialog :is(.link-ready-share, .link-ready-go, .link-ready-pill button):focus-visible { outline: 3px solid #111; outline-offset: 3px; }
#link-ready-dialog .link-ready-until { margin: 14px 0 0; text-align: center; font-size: 13px; color: #6b6f6d; }

/* The welcome page's living room (2026-10-20, Elliott picked option A of the couch
   mockup, after tolans.com): friends on the blue couch and two beanbags, the
   promo TV on the floor beside them. welcome.js directs the small moments. */
#home.welcome-tv-on #collection-open { display: none; }
.welcome-room { display: grid; justify-items: center; margin: 0 auto 22px; padding-top: 56px; }
.welcome-room[hidden] { display: none; }
/* The four-seat couch is 334px wide; smaller phones get the whole room a little smaller. */
@media (max-width: 373px) { .welcome-room { zoom: .83; } }
.welcome-floor { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin: 2px 0 18px; }
.welcome-bean { width: 40px; height: 52px; display: grid; align-items: start; justify-items: center; }
.welcome-bean:empty::before { content: ""; width: 40px; height: 40px; border-radius: 50%; background: #efeee9; box-shadow: 0 12px 0 -1px #e8e4da; }
.welcome-bean .couch-bean { display: block; }
.welcome-bean.leaving .couch-bean { transition: opacity .5s, transform .5s; opacity: 0; transform: translateY(10px) scale(.8); }
.welcome-seat { position: relative; height: 50px; }
.welcome-seat.away > .couch-seat { animation: face-roll-away .8s cubic-bezier(.5, 0, .6, 1) both; }
.welcome-seat.back > .couch-seat { animation: face-roll-back .75s cubic-bezier(.2, .9, .3, 1.25) both; }
.welcome-seat.away::before {
  content: ""; position: absolute; left: 3px; top: 0; width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff80, #fff0 42%), var(--ball, #ccc); animation: welcome-ball-in .4s ease .5s both;
}
.welcome-away-tag {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%; padding: .18em .6em .22em; border-radius: 999px;
  background: var(--bloom-ink); color: var(--bloom-canvas); font-size: 12px; font-weight: 800; line-height: 1.1; pointer-events: none;
}
.away > .welcome-away-tag { transform-origin: 50% 0; animation: welcome-tag-in .35s cubic-bezier(.3, 1.6, .5, 1) .8s both, welcome-tag-swing 2.6s ease-in-out 1.2s infinite; }
.back > .welcome-away-tag { top: 86%; animation: welcome-tag-back 1.5s ease both; }
@keyframes welcome-ball-in { from { opacity: 0; } }
@keyframes welcome-tag-in { from { opacity: 0; scale: .3; } }
@keyframes welcome-tag-swing { 50% { rotate: 7deg; } }
@keyframes welcome-tag-back { 0% { opacity: 0; scale: .3; } 20%, 70% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
/* What a friend is up to: the couch bubble (bloom.css), tail under their face. */
.welcome-say { position: absolute; z-index: 3; pointer-events: none; }
.welcome-say .couch-say-bubble { max-width: 190px; color: var(--bloom-ink); cursor: default; animation: say-pop .5s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 26px 100%; }
.welcome-say.right .couch-say-bubble { transform-origin: calc(100% - 26px) 100%; }
.welcome-say.right .couch-say-bubble::after { left: auto; right: 18px; }
.welcome-say.leaving .couch-say-bubble { animation: welcome-say-out .3s ease forwards; }
@keyframes welcome-say-out { to { transform: scale(.8); opacity: 0; } }
/* The promo TV, small on the floor; it and the button under the room open the video. */
.welcome-tv { position: relative; align-self: end; width: 82px; height: 74px; padding: 0; border: 0; background: none; cursor: pointer; }
.tv-scale { position: absolute; left: 0; top: 0; width: 196px; transform: scale(.42); transform-origin: 0 0; }
.tv-set { position: relative; display: block; width: 196px; padding-top: 30px; transform-origin: 50% 100%; animation: tv-hop 5s ease-in-out 1.2s infinite; }
.tv-set::before, .tv-set::after {
  content: ""; position: absolute; bottom: calc(100% - 34px); left: 50%; width: 3px; height: 34px;
  border-radius: 2px; background: var(--bloom-ink); transform-origin: 50% 100%; animation: tv-antenna 5s ease-in-out 1.2s infinite;
}
.tv-set::before { --tilt: -28deg; transform: rotate(var(--tilt)); }
.tv-set::after { --tilt: 26deg; transform: rotate(var(--tilt)); }
.tv-body {
  position: relative; display: flex; gap: 10px; padding: 10px; border-radius: 24px; background: var(--bloom-ink);
  box-shadow: 0 16px 30px -18px #1b1d1caa;
}
.tv-body::before, .tv-body::after { content: ""; position: absolute; top: 100%; width: 10px; height: 10px; border-radius: 0 0 4px 4px; background: var(--bloom-ink); }
.tv-body::before { left: 34px; transform: skewX(14deg); }
.tv-body::after { right: 34px; transform: skewX(-14deg); }
.tv-screen { position: relative; display: block; flex: 1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #faf8f2; }
.tv-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tv-play {
  position: absolute; right: 7px; bottom: 7px; width: 30px; height: 30px; border-radius: 50%;
  background: #1b1d1ccc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.5v7l5.5-3.5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 14px no-repeat;
}
.tv-knobs {
  flex: none; width: 18px; border-radius: 9px;
  background: radial-gradient(circle at 50% 14px, #ff6a4d 0 6px, transparent 6.5px), radial-gradient(circle at 50% 34px, #f4f3ee 0 5px, transparent 5.5px),
    repeating-linear-gradient(#ffffff38 0 2px, transparent 2px 6px) 50% 58px / 10px 34px no-repeat;
}
.tv-label {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border: 0; border-radius: 18px;
  background: #fff; box-shadow: 0 0 0 1px #1b1d1c1f; color: var(--bloom-ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer;
}
.tv-label::before { content: "▶"; font-size: 10px; }
.tv-label:hover, .tv-label:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bloom-ink); }
@keyframes tv-hop {
  0%, 72%, 100% { transform: none; }
  77% { transform: translateY(-8px) rotate(-3deg); }
  83% { transform: translateY(0) rotate(2.5deg); }
  88% { transform: translateY(-3px) rotate(-1deg); }
  93% { transform: none; }
}
@keyframes tv-antenna {
  0%, 72%, 100% { transform: rotate(var(--tilt)); }
  79% { transform: rotate(calc(var(--tilt) * 1.5)); }
  85% { transform: rotate(calc(var(--tilt) * .6)); }
  91% { transform: rotate(calc(var(--tilt) * 1.15)); }
}
@media (prefers-reduced-motion: reduce) { .tv-set, .tv-set::before, .tv-set::after, .welcome-room *, .welcome-room *::before { animation: none !important; transition: none !important; } }
.welcome-watch {
  width: min(92vw, calc(88dvh * 9 / 16)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible;
}
.welcome-watch::backdrop { background: #1b1d1ce8; }
.welcome-watch video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: #faf8f2; }
.welcome-watch-close {
  position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: var(--bloom-ink); font-size: 26px; line-height: 1; cursor: pointer;
}
