  /* FlowStudio group page — light design of 16 Oct 2026 */
  body { font-size: 16px; }
  .view { display: none; }
  .view.on { display: flex; }

  /* ---------- 1. join ---------- */
  .join { flex-direction: column; align-items: center; min-height: 100dvh; padding: 48px 24px 40px; position: relative; overflow: hidden;
    background: radial-gradient(1200px 600px at -10% 10%, #ECECEC 0, transparent 60%), radial-gradient(900px 500px at 110% 90%, #ECECEC 0, transparent 60%), var(--bg); }
  .join-head { text-align: center; margin-bottom: 32px; }
  .join .logo { height: 42px; width: auto; }
  .join h1 { margin: 18px 0 0; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
  .join .lead { margin: 10px 0 0; color: var(--text-2); font-size: 18px; }
  .join-card { width: 100%; max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--panel); border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04); padding: 34px 40px; }
  .join-left { padding-right: 36px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
  .join-right { padding-left: 36px; display: flex; flex-direction: column; gap: 18px; }
  .join-left h2 { margin: 0; font-size: 20px; font-weight: 800; }
  .preview { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #EBEBEB; }
  .tagc { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
  .camoff { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); font-size: 14px; background: #EDEDED; text-align: center; padding: 16px; }
  .miccheck { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); }
  .miccheck .bar { flex: 1; height: 8px; border-radius: 4px; background: #E3E3E3; overflow: hidden; }
  .miccheck .bar i { display: block; height: 100%; width: 0; background: #02D27A; border-radius: 4px; transition: width .08s linear; }
  .miccheck .mm { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
  .miccheck .mm .i { color: var(--green); }
  .devs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .devs > .field { min-width: 0; }
  .field { display: flex; flex-direction: column; gap: 8px; }
  .field label { font-size: 15px; font-weight: 700; }
  .field select, .field input { height: 52px; width: 100%; border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); text-overflow: ellipsis; }
  .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230A0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
  .field input:focus, .field select:focus { border-color: var(--accent-line); background-color: var(--panel); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
  .field .help { font-size: 13.5px; color: var(--text-3); }
  .field .help b { color: var(--text-2); font-weight: 700; letter-spacing: .02em; }
  .cta { min-height: 56px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: 18px; transition: background .15s, transform .1s; margin-top: 4px; }
  .cta:hover { background: var(--accent-2); } .cta:active { transform: scale(.99); }
  .cta[disabled] { opacity: .6; cursor: progress; }
  .fine { text-align: center; font-size: 14px; color: var(--text-3); margin: 0; }
  .err { color: var(--coral); font-size: 14px; margin: 0; font-weight: 600; }

  /* ---------- 2. meeting ---------- */
  .meet { flex-direction: column; height: 100dvh; background: var(--bg); }
  .mtop { display: flex; align-items: center; gap: 18px; padding: calc(12px + env(safe-area-inset-top)) 20px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); flex: none; }
  .mtop .ttl { font-weight: 800; font-size: 20px; white-space: nowrap; letter-spacing: -.01em; }
  .mtop .meta { color: var(--text-2); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
  .mtop .spacer { flex: 1; }
  .seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; box-shadow: var(--shadow); }
  .seg button { height: 34px; padding: 0 14px; border-radius: 9px; color: var(--text-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
  .seg button:hover { color: var(--accent); }
  .seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
  .badge-dot { position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
  .badge-dot[hidden] { display: none; }
  .rel { position: relative; }
  .banner { position: fixed; z-index: 40; left: 50%; top: 72px; transform: translateX(-50%); background: var(--amber); color: #111; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 12px; display: none; box-shadow: var(--shadow); }
  .banner.show { display: block; }

  .mbody { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 460px; }
  .stagecol { display: flex; flex-direction: column; gap: 16px; padding: 16px; min-height: 0; }
  .stage { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; background: #0A0A0A; box-shadow: var(--shadow); }
  .stage .lbl { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; gap: 6px; }
  .chip { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.18); }
  .stage .waiting { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 15px; text-align: center; background: radial-gradient(circle at 50% 40%, #222222, #0A0A0A); }
  .stage .waiting img { height: 34px; opacity: .9; }
  .now { position: absolute; left: 22px; bottom: 20px; z-index: 3; max-width: calc(100% - 44px); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
  .now small { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #2EE07F; }
  .now b { display: block; font-size: 20px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .now.church small { color: rgba(255,255,255,.75); }
  .saver { position: absolute; right: 14px; top: 14px; z-index: 3; display: none; }
  .meet[data-layout="church"] .saver { display: inline-flex; }
  .soundbtn { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%,-50%); display: none; }
  .soundbtn.show { display: inline-flex; }

  .infos { display: grid; grid-template-columns: 1fr 1.45fr; gap: 16px; flex: none; }
  .card { border-radius: 16px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; background: var(--panel); box-shadow: var(--shadow); border: 1px solid var(--line); transition: background .25s, box-shadow .25s; }
  .card .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--text); flex: none; }
  .card b { display: block; font-size: 18px; font-weight: 800; }
  .card p { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }
  .card.onair { background: var(--red); border-color: var(--red); color: #fff; }
  .card.onair .ic { background: rgba(255,255,255,.2); color: #fff; }
  .card.onair p { color: rgba(255,255,255,.9); }
  .card.hand .ic { background: var(--amber); color: #111; }
  .pp .ic { border-radius: 14px; background: var(--red-soft); color: var(--red); }
  .pp small { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
  .pp b { font-size: 17px; font-weight: 700; line-height: 1.45; margin-top: 4px; }
  .pp p { font-style: italic; }
  .pp.flash { box-shadow: 0 0 0 3px var(--red); }

  .gal { display: flex; flex-direction: column; min-height: 0; }
  .gal-h { display: flex; align-items: center; gap: 8px; padding: 16px 16px 0 4px; }
  .gal-h h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
  .gal-h .n { color: var(--text-3); font-size: 15px; }
  .gal-h .n::before { content: "·"; margin-right: 8px; }
  .gal-h .seg { margin-left: auto; display: none; }
  .galgrid { flex: 1; overflow: auto; padding: 12px 16px 16px 4px; display: grid; gap: 10px; align-content: start; grid-template-columns: repeat(2, 1fr); grid-auto-rows: max-content; }

  .tile { position: relative; border-radius: 12px; overflow: hidden; background: #161616; isolation: isolate; }
  .tile::before { content: ""; display: block; padding-top: 56.25%; }
  .tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 4; pointer-events: none; transition: box-shadow .2s; }
  .tile.speaking::after { box-shadow: inset 0 0 0 3px var(--green); }
  .tile .vid { z-index: 0; }
  .tile.self .vid { transform: scaleX(-1); }
  .tile .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.18), transparent 30%, transparent 50%, rgba(0,0,0,.78)); }
  .tile .nm { position: absolute; z-index: 2; left: 10px; bottom: 9px; right: 10px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #fff; }
  .tile .nm span.t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px rgba(0,0,0,.6); letter-spacing: .01em; }
  .tile .mi { width: 22px; height: 22px; display: grid; place-items: center; flex: none; color: #fff; }
  .tile.speaking .mi { width: 24px; height: 24px; border-radius: 7px; background: var(--green); }
  .cc { font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.35); border-radius: 5px; padding: 1px 5px; flex: none; }
  .tile .tops { position: absolute; z-index: 2; top: 8px; left: 8px; right: 30px; display: flex; gap: 5px; flex-wrap: wrap; }
  .tile .sigw { position: absolute; z-index: 2; top: 8px; right: 9px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
  .tb { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
  .tb.scr { background: var(--red); color: #fff; }
  .tb.hd { background: var(--amber); color: #111; padding: 4px; }
  .tb.you { background: #fff; color: var(--text); }
  .tile .camoff { position: absolute; inset: 0; display: grid; place-items: center; background: #1E1E1E; color: rgba(255,255,255,.55); z-index: 0; }
  .tile.weak .vid { filter: blur(5px) brightness(.55); }
  .tile .wk { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-size: 12px; color: rgba(255,255,255,.85); }
  .tile.churchtile { display: none; }
  .churchtile .vid { z-index: 0; }
  .churchtile .home { display: inline-flex; align-items: center; gap: 8px; }

  /* gallery layout: everyone equal, studio feed is the big first tile, paged */
  .ppstrip { display: none; margin: 14px 20px 0; padding: 12px 18px; border-radius: 12px; background: #F7F7F7; border: 1px solid #E6E6E6; font-size: 15px; align-items: center; gap: 14px; color: var(--text); }
  .ppstrip .i { color: var(--accent); }
  .ppstrip small { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; padding-right: 14px; border-right: 1px solid #D6D6D6; }
  .meet[data-layout="gallery"] .ppstrip { display: flex; }
  .meet[data-layout="gallery"] .mbody { grid-template-columns: 1fr; }
  .meet[data-layout="gallery"] .stagecol { display: none; }
  .meet[data-layout="gallery"] .gal-h { padding: 14px 20px 0; }
  .meet[data-layout="gallery"] .galgrid { grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 14px 20px 8px; overflow: hidden; }
  .meet[data-layout="gallery"] .tile.churchtile { display: block; grid-column: span 2; grid-row: span 2; }
  .meet[data-layout="gallery"] .churchtile .nm { font-size: 17px; left: 16px; bottom: 14px; }
  .meet[data-layout="gallery"] .tile .nm { font-size: 15px; }
  .pager { display: none; align-items: center; justify-content: center; gap: 16px; padding: 4px 0 12px; }
  .meet[data-layout="gallery"] .pager.has-pages { display: flex; }
  .pager .dots { display: flex; gap: 10px; }
  .pager .dots button { width: 10px; height: 10px; border-radius: 50%; background: #D4D4D4; padding: 0; }
  .pager .dots button[aria-current="true"] { background: var(--accent); }
  .pager .more { height: 36px; padding: 0 16px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
  .pager .more:hover { background: #F6D3D5; }
  /* studio only (data saver) */
  .meet[data-layout="church"] .mbody { grid-template-columns: 1fr; }
  .meet[data-layout="church"] .gal { display: none; }

  /* reactions */
  .floats { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
  .fl { position: absolute; bottom: 8%; display: flex; flex-direction: column; align-items: center; animation: rise 3.2s var(--ease) forwards; }
  .fl .e { font-size: 34px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
  .fl .w { margin-top: 4px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.65); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
  .tile .fl { bottom: 10%; } .tile .fl .e { font-size: 26px; } .tile .fl .w { display: none; }
  @keyframes rise { 0% { transform: translateY(20px) scale(.6); opacity: 0; } 12% { transform: translateY(0) scale(1); opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(-160px); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .fl { animation: fade 2.5s forwards; } @keyframes fade { 0%,80% { opacity: 1; } 100% { opacity: 0; } } }

  /* control bar */
  .controls { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--panel); }
  .cstatus { font-size: 15px; color: var(--text-2); display: flex; gap: 10px; align-items: center; min-width: 0; }
  .cstatus .i { color: var(--text-3); }
  .cstatus span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cbtns { display: flex; gap: 10px; }
  .ctl { min-width: 84px; min-height: 66px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); position: relative; }
  .ctl .bub { width: 52px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: background .15s, border-color .15s; }
  .ctl:hover .bub { border-color: var(--accent-line); }
  .ctl.active .bub { background: var(--panel); color: var(--text); }
  .ctl.handup .bub { background: var(--accent); border-color: var(--accent); color: #fff; }
  .ctl.handup { color: var(--accent); }
  .ctl[aria-disabled="true"] .bub { background: var(--panel-2); color: var(--text-3); }
  .ctl.leave .bub { background: var(--coral); border-color: var(--coral); color: #fff; }
  .cright { justify-self: end; }
  .cright .btn.red { height: 54px; padding: 0 22px; border-radius: 14px; font-size: 19px; font-weight: 700; }

  .pop { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); display: none; gap: 4px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.15); z-index: 20; }
  .pop.open { display: flex; }
  .pop button { width: 66px; padding: 8px 0 6px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--text-2); }
  .pop button span { font-size: 24px; line-height: 1.1; }
  .pop button:hover { background: var(--accent-soft); color: var(--accent); }

  /* chat drawer */
  .chat { position: fixed; z-index: 30; top: 0; right: 0; bottom: 0; width: 360px; max-width: 100%; background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.10); }
  .chat.open { transform: none; }
  .chat-h { display: flex; align-items: center; padding: 16px 12px 16px 20px; border-bottom: 1px solid var(--line); }
  .chat-h b { flex: 1; font-size: 17px; }
  .msgs { flex: 1; overflow: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 14px; }
  .msg small { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-3); }
  .msg small b { color: var(--text); font-weight: 700; }
  .msg p { margin: 3px 0 0; font-size: 15px; line-height: 1.45; color: var(--text); }
  .msg.host small b { color: var(--red); }
  .msg.me { align-self: flex-end; text-align: right; }
  .msg.me p { background: var(--accent-soft); padding: 9px 13px; border-radius: 12px 12px 4px 12px; display: inline-block; text-align: left; }
  .chat form { display: flex; gap: 8px; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .chat input { flex: 1; height: 46px; border-radius: 12px; padding: 0 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 15px; }
  .chat form button { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
  .chatonly-phone { display: none !important; }
  .empty-gal { grid-column: 1 / -1; color: var(--text-3); font-size: 14px; padding: 20px 4px; }

  /* ---------- laptop widths ---------- */
  @media (min-width: 900px) {
    #cLeave2 { display: none; }
    .meet { transition: padding .25s var(--ease); }
    .meet.chatopen { padding-right: 360px; }
  }
  /* short laptop screens: 6 smaller columns so a full 4-row page fits */
  @media (min-width: 1281px) and (max-height: 1000px) {
    .meet[data-layout="gallery"] .galgrid { grid-template-columns: repeat(6, 1fr); }
  }
  @media (min-width: 900px) and (max-width: 1280px) {
    .mbody { grid-template-columns: 1fr 380px; }
    .meet[data-layout="gallery"] .galgrid { grid-template-columns: repeat(4, 1fr); }
  }

  /* ---------- phone ---------- */
  @media (max-width: 899px) {
    .join { padding: 28px 16px 24px; }
    .join h1 { font-size: 28px; }
    .join .lead { font-size: 16px; }
    .join-card { grid-template-columns: 1fr; padding: 20px; border-radius: 20px; }
    .join-left { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
    .join-right { padding: 20px 0 0; }
    .meet { height: auto; min-height: 100dvh; }
    .mtop { position: sticky; top: 0; z-index: 10; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
    .mtop .ttl { font-size: 17px; }
    .mtop .meta, .mtop .seg { display: none; }
    .chatonly-phone { display: inline-grid !important; }
    .mbody { display: block; }
    .stagecol { padding: 0 0 6px; gap: 12px; }
    .stage { flex: none; aspect-ratio: 16/9; border-radius: 0; box-shadow: none; }
    .infos { grid-template-columns: 1fr; padding: 0 12px; gap: 12px; }
    .card { padding: 14px 16px; }
    .gal-h { padding: 14px 12px 0; }
    .gal-h .seg { display: inline-flex; box-shadow: none; }
    .gal-h h2, .gal-h .n { white-space: nowrap; font-size: 13px; }
    .gal-h .n { display: none; }
    .galgrid { overflow: visible; padding: 10px 12px 16px; }
    .meet[data-layout="church"] .gal { display: flex; }
    .meet[data-layout="church"] .galgrid { display: none; }
    .controls { position: sticky; bottom: 0; grid-template-columns: 1fr; padding: 8px 8px calc(10px + env(safe-area-inset-bottom)); }
    .cstatus, .cright { display: none; }
    .cbtns { justify-content: space-between; gap: 4px; }
    .ctl { min-width: 0; flex: 1; font-size: 11px; min-height: 60px; }
    .ctl .bub { width: 46px; height: 40px; }
    .ctl span:last-child { white-space: nowrap; }
    #cChat { display: none; }
    #cLeave2 { display: flex; }
    .chat { top: auto; left: 0; width: 100%; height: 78dvh; border-left: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; transform: translateY(100%); }
  }

  /* Flow Studios brand + live service name (join screen, meeting top bar) */
  .brand { display: inline-flex; align-items: center; gap: 14px; }
  .brand img { height: 50px; width: auto; }
  .brand span { font-size: 40px; font-weight: 800; letter-spacing: -.025em; color: var(--text); }
  .brand b { color: var(--accent); font-weight: 800; }
  .brand.sm img { height: 28px; } .brand.sm { gap: 12px; }
  .brand.sm span { font-size: 22px; }
  .svc { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
  .svc h1 { margin: 0; }
  .join-head { display: flex; flex-direction: column; align-items: center; min-height: 64px; }
  .mtop .mark { height: 24px; width: auto; }
  @media (max-width: 899px) {
    .brand img { height: 36px; } .brand span { font-size: 28px; }
    .mtop .mark { height: 20px; }
  }

  .join-theme { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--panel); border: 1px solid var(--line); }

  /* ---------- night ---------- */
  :root[data-theme="dark"] .join { background: radial-gradient(1200px 600px at -10% 10%, #2A0D0F 0, transparent 60%), radial-gradient(900px 500px at 110% 90%, #2A0D0F 0, transparent 60%), var(--bg); }
  :root[data-theme="dark"] .join-card { box-shadow: 0 20px 60px rgba(0,0,0,.45); border: 1px solid var(--line); }
  :root[data-theme="dark"] .preview, :root[data-theme="dark"] .camoff { background: #1C1C1C; }
  :root[data-theme="dark"] .miccheck .bar { background: #2A2A2A; }
  :root[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23F5F5F5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
  :root[data-theme="dark"] .ppstrip { background: #181818; border-color: #2C2C2C; }
  :root[data-theme="dark"] .ppstrip small { border-right-color: #3A3A3A; }
  :root[data-theme="dark"] .pager .dots button { background: #3A3A3A; }
  :root[data-theme="dark"] .pager .dots button[aria-current="true"] { background: var(--accent); }
  :root[data-theme="dark"] .pager .more:hover { background: #3A1416; }
  :root[data-theme="dark"] .tb.you { background: #fff; color: #0A0A0A; }
  :root[data-theme="dark"] .card.hand .ic, :root[data-theme="dark"] .tb.hd { color: #111; }

  /* waiting room */
  .join-right { position: relative; }
  .join-right.waiting > :not(.waitbox) { visibility: hidden; }
  .waitbox { position: absolute; inset: 0 0 0 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
  .waitbox b { font-size: 22px; font-weight: 800; }
  .waitbox p { margin: 0; color: var(--text-2); font-size: 16px; max-width: 340px; }
  .waitbox .btn { margin-top: 8px; }
  .spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line-2); border-top-color: var(--accent); animation: spin 1s linear infinite; }
  .waitbox.done .spin { display: none; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
  @media (max-width: 899px) { .waitbox { inset: 0; } }
  /* private message from the host */
  .msg.private p { background: var(--red-soft); border: 1px solid var(--accent-line); padding: 9px 13px; border-radius: 12px; }
  .msg .pv { margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
