:root {
  color-scheme: dark;
  --bg: #0b100f;
  --text: #f2f4ed;
  --muted: #9ca79f;
  --quiet: #737f77;
  --line: rgba(226, 239, 220, .1);
  --accent: #c6f27b;
  --accent-ink: #16200f;
  --accent-edge: #8eaf54;
  --brand-secondary: #72d5cf;
  --red: #ff8982;
  --button-radius: 8px;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 18% 7%, rgba(114, 213, 207, .11), transparent 36%),
    radial-gradient(ellipse at 88% 24%, rgba(198, 242, 123, .09), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; transform: none !important; }
a { color: inherit; }
:where(a, button, input):focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shell { width: min(calc(100% - 56px), 1120px); min-height: 100vh; margin: auto; display: flex; flex-direction: column; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.brand-wordmark { color: var(--text); }
.brand-io { color: var(--brand-secondary); }
.brand-mark { position: relative; display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; }
.brand-mark-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.brand-mark-bubble { fill: none; stroke: var(--brand-secondary); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark-wave { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.topbar-user { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; padding: 5px 14px 5px 6px; border: 1px solid rgba(226,239,220,.12); border-radius: 12px; background: rgba(20,27,25,.68); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 0 rgba(0,0,0,.38); color: #e4eae1; font-size: 13px; font-weight: 650; transition: border-color .16s, background .16s, transform .12s, box-shadow .12s; }
.topbar-user:hover { border-color: rgba(114,213,207,.34); background: rgba(24,35,33,.86); }
.topbar-user:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 2px 3px rgba(0,0,0,.22), 0 1px 0 rgba(0,0,0,.38); }
.topbar-user:disabled { cursor: default; }
.topbar-user:disabled:hover { border-color: transparent; background: transparent; }
.user-avatar { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--avatar-color, var(--brand-secondary)); color: #10201f; font-family: system-ui, sans-serif; font-size: 17px; line-height: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }

.eyebrow, .section-overline { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.live-dot, .status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(198,242,123,.6); }
h1 { margin: 19px 0 13px; font-size: clamp(48px, 7vw, 73px); line-height: .99; letter-spacing: -5px; }

.card { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(25,34,30,.96), rgba(17,24,21,.98)); box-shadow: 0 20px 65px rgba(0,0,0,.2); }
.profile-dialog { width: min(calc(100% - 32px), 470px); max-width: none; max-height: calc(100% - 32px); padding: 0; overflow: visible; border: 0; background: transparent; color: var(--text); }
.profile-dialog::backdrop { background: rgba(5, 9, 7, .78); backdrop-filter: blur(9px); }
.identity-card { position: relative; display: grid; gap: 20px; padding: 32px; border-radius: 24px; background: radial-gradient(ellipse at 14% 5%, rgba(114,213,207,.12), transparent 44%), linear-gradient(145deg, rgba(25,34,30,.99), rgba(13,19,16,.99)); box-shadow: 0 28px 90px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.025); }
.dialog-close-button { position: absolute; top: 18px; right: 18px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 rgba(0,0,0,.42); color: var(--muted); font-size: 22px; line-height: 1; transition: border-color .16s, color .16s, transform .12s, box-shadow .12s; }
.dialog-close-button[hidden] { display: none; }
.dialog-close-button:hover { border-color: rgba(198,242,123,.35); color: var(--text); transform: none; }
.dialog-close-button:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 2px 3px rgba(0,0,0,.22), 0 1px 0 rgba(0,0,0,.42); }
.identity-copy h2 { max-width: 360px; margin: 8px 0; font-size: clamp(22px, 5vw, 27px); letter-spacing: -.8px; line-height: 1.15; }
.identity-copy p { max-width: 355px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.profile-form { display: grid; gap: 8px; }
.profile-form > label { color: #dce5dc; font-size: 12px; font-weight: 700; }
input[type="text"], select { min-width: 0; height: 46px; padding: 0 13px; outline: none; border: 1px solid var(--line); border-radius: 11px; background: #0f1512; color: var(--text); transition: border-color .15s, background .15s; }
input[type="text"]:focus, select:focus { border-color: rgba(198,242,123,.66); background: #121a16; }
input[type="text"]::placeholder { color: #6f7b72; }
.profile-form input { width: 100%; }
.profile-form .button { width: 100%; min-height: 48px; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border: 0; border-radius: var(--button-radius); font-size: 13px; font-weight: 650; letter-spacing: -.01em; transition: transform .12s, filter .16s, box-shadow .12s, background .16s; }
.button:hover { filter: brightness(1.045); transform: none; }
.button:active:not(:disabled) { transform: translateY(1px); filter: brightness(.97); }
.button-primary { background: linear-gradient(180deg, #d2f58e 0%, var(--accent) 58%, #b8e96c 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 var(--accent-edge), 0 5px 9px rgba(0,0,0,.23); color: var(--accent-ink); white-space: nowrap; }
.button-primary:active:not(:disabled) { box-shadow: inset 0 2px 3px rgba(35,51,17,.17), 0 1px 0 var(--accent-edge), 0 2px 4px rgba(0,0,0,.2); }
.button-primary span { font-size: 17px; }
.button-secondary { border: 1px solid var(--line); background: #202923; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 0 rgba(0,0,0,.42); color: #e8eee6; }
.button-secondary:hover { border-color: rgba(198,242,123,.35); }
.button-secondary:active:not(:disabled) { box-shadow: inset 0 2px 3px rgba(0,0,0,.23), 0 1px 0 rgba(0,0,0,.42); }
.button-danger { border: 1px solid rgba(255,137,130,.3); background: linear-gradient(180deg, rgba(255,137,130,.17), rgba(255,137,130,.09)); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 3px 0 rgba(80,28,28,.65); color: #ffaaa4; }
.button-danger:hover { border-color: rgba(255,137,130,.55); }
.button-danger:active:not(:disabled) { box-shadow: inset 0 2px 3px rgba(0,0,0,.23), 0 1px 0 rgba(80,28,28,.65); }
.form-error { min-height: 16px; margin: 0; color: var(--red); font-size: 12px; }
.profile-form .profile-error { min-height: 0; margin: -2px 0 0; }
body:has(.profile-dialog[open]), body:has(.create-room-dialog[open]), body:has(.switch-room-dialog[open]) { overflow: hidden; }

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { margin: 6px 0 4px; font-size: 25px; letter-spacing: -.8px; }
.rooms-title-row { display: flex; align-items: center; gap: 10px; }
.rooms-title-row h2 { margin: 0; }
.room-heading-actions { display: flex; align-items: center; gap: 8px; }
.room-count { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; color: #c5cec5; font-size: 11px; }
.refresh-button { display: inline-flex; width: 40px; height: 40px; min-height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: var(--button-radius); background: linear-gradient(180deg, #677367 0%, #596657 58%, #4c594a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #384336, 0 5px 9px rgba(0,0,0,.22); color: #f1f4ee; font-size: 14px; font-weight: 650; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: filter .08s, transform .08s, box-shadow .08s; }
.refresh-button:hover { filter: brightness(1.08); color: #fff; transform: none; }
.refresh-button:active:not(:disabled) { transform: translateY(1px) scale(.99); filter: brightness(.9); box-shadow: inset 0 2px 4px rgba(0,0,0,.24), 0 1px 0 #384336; }
.refresh-button:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 2px; }
.refresh-button span { color: #dce7d8; font-size: 20px; line-height: 1; }
.refresh-button.is-pressed { transform: translateY(1px) scale(.99); filter: brightness(.9); box-shadow: inset 0 2px 4px rgba(0,0,0,.24), 0 1px 0 #384336; transition: none; }
.create-room-open-button.is-pressed, #empty-create-room-button.is-pressed { transform: translateY(1px) scale(.99); filter: brightness(.9); box-shadow: inset 0 2px 5px rgba(35,51,17,.24), 0 1px 0 var(--accent-edge); transition: none; }
.create-room-open-button { width: 148px; min-height: 40px; padding: 0 14px; border-radius: var(--button-radius); font-size: 14px; white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition-duration: .07s; }
.create-room-open-button .button-icon { width: 15px; height: 15px; }
#empty-create-room-button { min-height: 40px; padding-inline: 18px; border-radius: var(--button-radius); font-size: 14px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition-duration: .07s; }
.create-room-open-button:active:not(:disabled), #empty-create-room-button:active:not(:disabled) { transform: translateY(1px) scale(.99); filter: brightness(.9); box-shadow: inset 0 2px 5px rgba(35,51,17,.24), 0 1px 0 var(--accent-edge); }
.create-room-dialog { width: min(calc(100% - 32px), 490px); max-width: none; max-height: calc(100% - 32px); padding: 0; overflow: auto; border: 0; background: transparent; color: var(--text); }
.create-room-dialog::backdrop { background: rgba(5, 9, 7, .78); backdrop-filter: blur(9px); }
.create-room-modal { position: relative; display: grid; gap: 22px; padding: 30px; border-radius: 24px; background: radial-gradient(ellipse at 14% 5%, rgba(114,213,207,.12), transparent 44%), linear-gradient(145deg, rgba(25,34,30,.99), rgba(13,19,16,.99)); box-shadow: 0 28px 90px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.025); }
.create-room-modal-heading { display: grid; gap: 8px; padding-right: 25px; }
.create-room-modal-copy { display: grid; gap: 6px; padding-top: 2px; }
.create-room-modal-copy h2 { margin: 0; font-size: 23px; letter-spacing: -.6px; }
.create-room-modal-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.create-room-form { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.create-room-form > label, .create-room-field-label { color: #dce5dc; font-size: 12px; font-weight: 700; }
.create-room-form > input { width: 100%; }
.create-room-error { min-height: 16px; margin: -2px 0 0; }
.create-room-form .button { width: 100%; min-height: 48px; }
.directory-error { min-height: 18px; padding: 4px 2px 0; }
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.room-tile { --tile-accent: var(--brand-secondary); --tile-tint: rgba(114,213,207,.08); --tile-line: rgba(114,213,207,.22); --tile-glow: rgba(114,213,207,.1); position: relative; display: grid; min-height: 112px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; overflow: hidden; padding: 18px 22px; border: 1px solid rgba(114,213,207,.16); border-radius: 18px; background: linear-gradient(125deg, rgba(21,34,33,.96), rgba(17,24,23,.98)); text-decoration: none; transition: border-color .18s, transform .18s, background .18s; }
.room-tile::before { position: absolute; inset: 16px auto 16px 0; width: 3px; border-radius: 0 4px 4px 0; background: var(--tile-accent); box-shadow: 0 0 16px var(--tile-glow); content: ""; }
.room-tile::after { position: absolute; top: -48px; right: -38px; width: 128px; height: 128px; border-radius: 50%; background: var(--tile-glow); filter: blur(4px); content: ""; transition: background .18s; }
.room-tile:hover { border-color: var(--tile-line); transform: translateY(-2px); }
.room-tile:hover::after { background: var(--tile-tint); }
.tile-copy, .tile-aside { position: relative; z-index: 1; }
.tile-copy { display: grid; min-width: 0; gap: 8px; }
.tile-aside { display: grid; justify-items: end; gap: 9px; }
.room-tile .online-badge { display: flex; align-items: baseline; gap: 3px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.online-count { font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1; }
.online-capacity { color: #c4cec5; font-size: 14px; font-weight: 650; }
.online-unit { padding-left: 3px; color: var(--muted); font-size: 10px; }
.room-tile h3 { overflow: hidden; margin: 0; font-size: 19px; letter-spacing: -.45px; text-overflow: ellipsis; white-space: nowrap; }
.room-tile p { margin: 0; color: var(--muted); font-size: 12px; }
.empty-state { display: grid; min-height: 210px; justify-items: center; align-content: center; gap: 10px; border-style: dashed; background: rgba(19,26,23,.56); box-shadow: none; text-align: center; }
.empty-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; background: rgba(198,242,123,.09); color: var(--accent); font-size: 25px; }
.empty-state strong { font-size: 18px; }
.empty-state span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.empty-state .button { margin-top: 6px; }
.button-icon { display: block; width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.room-view { width: min(100%, 790px); margin: auto; padding: 38px 0 55px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; border: 0; background: transparent; color: #c7d0c7; font-size: 12px; font-weight: 700; }
.back-link:hover { color: var(--accent); }
.back-link span { color: var(--accent); font-size: 16px; }
.room-view-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 27px 0 21px; }
.room-view-heading h1 { margin: 8px 0 8px; font-size: clamp(38px, 6vw, 55px); letter-spacing: -2.8px; overflow-wrap: anywhere; }
.room-view-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.room-detail-card { padding: 24px; }
.room-detail-main { display: flex; align-items: center; gap: 16px; }
.room-detail-icon { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(198,242,123,.23); border-radius: 19px; background: linear-gradient(145deg, rgba(198,242,123,.18), rgba(114,213,207,.1)); color: var(--accent); font-size: 28px; }
.room-presence { font-size: 14px; font-weight: 750; }
.room-description { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.room-stats { display: flex; align-items: center; gap: 27px; margin: 25px 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-block { display: grid; gap: 4px; }
.stat-block strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.stat-block span { color: var(--muted); font-size: 11px; }
.stat-divider { width: 1px; height: 35px; background: var(--line); }
.room-invite-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 0 21px; }
.invite-copy { min-width: 0; display: grid; gap: 6px; }
.invite-copy a { overflow: hidden; color: var(--accent); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #202923; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 rgba(0,0,0,.42); color: #d6dfd4; font-size: 11px; font-weight: 750; transition: border-color .16s, color .16s, transform .12s, box-shadow .12s; }
.copy-button:hover { border-color: rgba(198,242,123,.4); color: var(--accent); transform: none; }
.copy-button:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 2px 3px rgba(0,0,0,.2), 0 1px 0 rgba(0,0,0,.42); }
.prejoin-button { width: 100%; min-height: 50px; font-size: 13px; }
.room-detail-card > .form-error { padding-top: 9px; }

.call-card { width: min(100%, 790px); margin: auto; padding: 25px; }
.call-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.call-avatar { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 16px; background: rgba(198,242,123,.12); color: var(--accent); font-size: 23px; }
.call-heading-copy { min-width: 0; }
.call-room { overflow: hidden; margin-bottom: 5px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.call-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.call-status.connected { color: var(--accent); }
.call-status.connected .status-dot { animation: pulse 1.5s infinite; }
.call-heading-actions { display: flex; align-items: center; gap: 17px; margin-left: auto; }
.call-copy-button { min-height: 38px; gap: 7px; font-size: 11px; white-space: nowrap; }
.connection-ping { position: relative; flex: 0 0 auto; }
.connection-ping > summary { display: inline-flex; min-height: 37px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid rgba(114,213,207,.22); border-radius: 999px; background: rgba(114,213,207,.08); color: #bcebe6; cursor: pointer; font-size: 11px; font-weight: 750; list-style: none; white-space: nowrap; }
.connection-ping > summary::-webkit-details-marker { display: none; }
.connection-ping > summary:hover, .connection-ping[open] > summary { border-color: rgba(114,213,207,.48); background: rgba(114,213,207,.14); }
.connection-ping > summary:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.ping-icon { display: inline-flex; width: 15px; height: 15px; align-items: center; justify-content: center; }
.ping-icon svg { width: 15px; height: 15px; }
.connection-chart-popover { position: absolute; z-index: 20; top: calc(100% + 9px); right: 0; display: none; width: min(390px, calc(100vw - 40px)); padding: 15px 16px 12px; border: 1px solid rgba(114,213,207,.24); border-radius: 15px; background: #111a16; box-shadow: 0 18px 50px rgba(0,0,0,.48); color: var(--text); }
.connection-ping[open] .connection-chart-popover, .connection-ping:hover .connection-chart-popover, .connection-ping:focus-within .connection-chart-popover { display: block; }
.connection-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.connection-chart-heading strong { font-size: 12px; }
.connection-chart-heading span { color: var(--quiet); font-size: 10px; }
.connection-chart { display: grid; gap: 3px; }
.connection-chart-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 36px; }
.connection-chart-metric { display: grid; gap: 2px; min-width: 0; color: var(--muted); font-size: 10px; }
.connection-chart-metric strong { color: #e7eee5; font-size: 10px; font-variant-numeric: tabular-nums; }
.connection-chart-line { display: block; width: 100%; height: 32px; overflow: visible; }
.connection-chart-guide { stroke: rgba(226,239,220,.09); stroke-width: 1; }
.connection-chart-path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.connection-chart-time { display: flex; justify-content: space-between; margin: 1px 1px 0 94px; color: var(--quiet); font-size: 9px; }
.connection-chart-popover > p { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; line-height: 1.5; }
.call-invite-row { margin-top: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.participant-section { padding: 20px 0 22px; }
.participant-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.participant-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,15,12,.5); color: #dde5dc; font-size: 11px; }
.participant-pill .user-avatar { width: 23px; height: 23px; font-size: 13px; }
.app-page .participant-pill .participant-state { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.1); }
.remote-audios { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@keyframes pulse { 50% { opacity: .4; box-shadow: 0 0 3px rgba(198,242,123,.3); } }
.control-row { display: flex; align-items: center; justify-content: space-between; gap: 11px; padding-top: 20px; border-top: 1px solid var(--line); }
.control-button { min-height: 45px; gap: 8px; padding-inline: 13px; border-radius: var(--button-radius); font-size: 12px; }
.control-button[aria-pressed="true"] { border-color: rgba(255,137,130,.42); background: rgba(255,137,130,.12); color: #ffaaa4; }
.control-icon { display: inline-flex; width: 17px; height: 17px; flex: 0 0 auto; align-items: center; justify-content: center; }
.control-icon svg { display: block; width: 17px; height: 17px; }
.hangup-button[aria-pressed="true"] { background: rgba(255,137,130,.12); }
.noise-control { display: inline-flex; align-items: center; gap: 8px; color: #dce4da; font-size: 11px; white-space: nowrap; cursor: pointer; }
.noise-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle { position: relative; width: 31px; height: 18px; border-radius: 10px; background: #4a554d; transition: background .2s; }
.toggle::after { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: white; content: ""; transition: transform .2s; }
.noise-control input:checked + .toggle { background: var(--brand-secondary); }
.noise-control input:checked + .toggle::after { transform: translateX(13px); background: #182414; }
.noise-control input:focus-visible + .toggle { outline: 2px solid white; outline-offset: 2px; }
.audio-note { margin: 13px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.5; }
.call-report-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; }
.call-report-row .audio-note { flex: 1; margin: 0; }
.diagnostics-copy-button { min-height: 38px; flex: 0 0 auto; gap: 7px; font-size: 11px; white-space: nowrap; }

.footer { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.07); color: var(--quiet); font-size: 10px; }
.footer > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #aab5aa; font-weight: 700; }
.footer-mark { width: 18px; height: 18px; }

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 32px), 480px); }
  .topbar { height: 70px; }
  .topbar-user { font-size: 11px; }
  .user-avatar { width: 27px; height: 27px; }
  h1 { margin: 17px 0 12px; font-size: clamp(48px, 14vw, 64px); letter-spacing: -3.8px; }
  .identity-card { gap: 17px; padding: 25px 21px 21px; border-radius: 20px; }
  .profile-form .button { width: 100%; }
  .section-heading { align-items: center; flex-wrap: wrap; }
  .section-heading h2 { font-size: 22px; }
  .room-heading-actions { flex-direction: row; align-items: center; gap: 8px; margin-left: auto; }
  .room-grid { grid-template-columns: 1fr; gap: 10px; }
  .room-tile { min-height: 108px; gap: 12px; padding: 15px 16px; }
  .online-count { font-size: 23px; }
  .room-view { padding: 24px 0 40px; }
  .room-view-heading { align-items: start; margin: 23px 0 17px; }
  .room-view-heading h1 { font-size: 41px; letter-spacing: -2.4px; }
  .room-detail-card, .call-card { padding: 18px; border-radius: 17px; }
  .room-detail-main { align-items: flex-start; gap: 12px; }
  .room-detail-icon { width: 48px; height: 48px; border-radius: 15px; font-size: 23px; }
  .room-stats { gap: 19px; }
  .room-invite-row { gap: 8px; }
  .invite-copy a { max-width: 230px; font-size: 11px; }
  .call-heading { flex-wrap: wrap; gap: 10px; }
  .call-heading-actions { width: 100%; justify-content: space-between; margin-left: 58px; }
  .connection-chart-popover { left: 50%; right: auto; width: min(390px, calc(100vw - 48px)); transform: translateX(-50%); }
  .control-row { flex-wrap: wrap; justify-content: center; }
  .control-row > .control-button { flex: 1 1 132px; }
  .call-report-row { align-items: stretch; flex-direction: column; }
  .diagnostics-copy-button { width: 100%; }
  .noise-control { order: -1; width: 100%; justify-content: center; margin-bottom: 3px; }
  .footer { flex-direction: column; gap: 8px; font-size: 9px; }
}

@media (max-width: 420px) {
  .create-room-open-button { width: 132px; min-height: 40px; padding-inline: 10px; font-size: 13px; }
  #empty-create-room-button { min-height: 38px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.landing-shell { width: min(calc(100% - 72px), 1160px); }
.landing-topbar { flex: 0 0 auto; }
.landing-topbar-cta { min-height: 40px; padding: 0 16px; border-radius: var(--button-radius); font-size: 13px; text-decoration: none; }
.landing-topbar-cta span { font-size: 16px; }
.landing-hero { position: relative; display: grid; flex: 1; min-height: 510px; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; overflow: hidden; }
.landing-copy { position: relative; z-index: 2; max-width: 590px; padding: 60px 0 68px; }
.landing-copy h1 { margin: 21px 0 18px; font-size: clamp(56px, 7.3vw, 86px); letter-spacing: -6.3px; }
.landing-copy h1 > span { color: var(--text); }
.landing-title-highlight { position: relative; isolation: isolate; display: inline-block; white-space: nowrap; }
.landing-title-highlight-text { position: relative; z-index: 1; color: var(--accent); }
.landing-title-highlight::after { position: absolute; z-index: 0; right: -.04em; bottom: .06em; left: -.04em; height: .25em; border-radius: 0; background: var(--brand-secondary); content: ""; opacity: .82; transform: rotate(-1.2deg); }
.landing-intro { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.landing-cta { min-height: 54px; margin-top: 29px; padding: 0 23px; border-radius: var(--button-radius); font-size: 14px; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition-duration: .07s; }
.landing-cta:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 3px; }
.landing-cta:active { transform: translateY(1px) scale(.99); filter: brightness(.9); box-shadow: inset 0 2px 5px rgba(35,51,17,.24), 0 1px 0 var(--accent-edge); }
.landing-cta span { margin-left: 4px; font-size: 19px; }
.landing-visual { position: relative; display: grid; height: min(430px, 38vw); min-height: 320px; place-items: center; }
.landing-visual-glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(198,242,123,.15), rgba(114,213,207,.06) 46%, transparent 72%); filter: blur(3px); }
.landing-orbit { position: absolute; width: 230px; height: 340px; border: 1px solid rgba(198,242,123,.21); border-radius: 50%; transform: rotate(-31deg) skewX(-13deg); }
.landing-orbit-two { width: 285px; height: 385px; border-color: rgba(114,213,207,.2); transform: rotate(33deg) skewX(8deg); }
.landing-orbit-three { width: 365px; height: 230px; border-color: rgba(198,242,123,.13); transform: rotate(-14deg) skewX(20deg); }
.landing-visual-mark { position: relative; z-index: 1; display: grid; width: 142px; height: 142px; place-items: center; border: 1px solid rgba(198,242,123,.3); border-radius: 43px; background: linear-gradient(145deg, rgba(198,242,123,.17), rgba(114,213,207,.12)); box-shadow: 0 22px 75px rgba(0,0,0,.33), 0 0 70px rgba(198,242,123,.1), inset 0 1px 0 rgba(255,255,255,.11); transform: rotate(-8deg); }
.landing-visual-mark svg { width: 88px; height: 88px; fill: none; stroke: var(--brand-secondary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.landing-visual-mark svg path + path { stroke: var(--accent); stroke-width: 3; }
.landing-spark { position: absolute; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.landing-spark-one { top: 17%; right: 22%; }
.landing-spark-two { bottom: 18%; left: 16%; width: 6px; height: 6px; background: var(--brand-secondary); box-shadow: 0 0 18px var(--brand-secondary); }
.sound-wave { position: absolute; z-index: 1; display: flex; height: 52px; align-items: center; gap: 5px; opacity: .8; }
.sound-wave i { width: 3px; border-radius: 5px; background: linear-gradient(180deg, var(--brand-secondary), var(--accent)); box-shadow: 0 0 12px rgba(114,213,207,.34); }
.sound-wave i:nth-child(1), .sound-wave i:nth-child(5) { height: 14px; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(4) { height: 31px; }
.sound-wave i:nth-child(3) { height: 48px; }
.wave-left { left: 5%; top: 30%; transform: rotate(-18deg); }
.wave-right { right: 3%; bottom: 28%; transform: rotate(18deg); }
.landing-details { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.08); }
.landing-detail { display: flex; gap: 18px; padding: 30px 24px 32px 0; }
.landing-detail + .landing-detail { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.08); }
.landing-detail-icon { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 0; background: transparent; font-size: 38px; }
.landing-detail:nth-child(1) .landing-detail-icon { color: var(--brand-secondary); }
.landing-detail:nth-child(2) .landing-detail-icon { color: var(--accent); }
.landing-detail:nth-child(3) .landing-detail-icon { color: #b8a4ff; }
.landing-detail h2 { margin: 1px 0 6px; font-size: 18px; letter-spacing: -.25px; }
.landing-detail p { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.landing-footer { margin-top: 0; padding: 22px 0 26px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.landing-footer > span:first-child { font-size: 15px; }
.landing-footer .footer-mark { width: 28px; height: 28px; }

/* App workspace */
.app-page {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  background: #090d0b;
}
.app-page .app-shell {
  display: grid;
  width: min(100%, 1760px);
  height: min(100%, 980px);
  min-height: 0;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: #0d1210;
  box-shadow: 0 18px 64px rgba(0,0,0,.28);
}
.channel-sidebar {
  display: flex;
  grid-column: 1;
  grid-row: 1 / 3;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 18px 12px 12px;
  border-right: 1px solid rgba(255,255,255,.07);
  background: #111715;
}
.channel-sidebar-header { display: grid; gap: 15px; padding: 1px 4px 12px; }
.channel-sidebar-title { display: flex; align-items: center; gap: 9px; }
.channel-sidebar-title h1 { margin: 0; color: #ecefea; font-size: 24px; font-weight: 700; letter-spacing: -.45px; line-height: 1.2; }
.room-count { min-height: 21px; padding: 0 7px; border-color: rgba(255,255,255,.1); border-radius: 5px; background: rgba(255,255,255,.035); color: #aab3ac; font-size: 10px; }
.channel-sidebar-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.channel-sidebar-actions .button { min-height: 38px; font-size: 12px; }
.app-page .icon-button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; }
.app-page .icon-button > span:not(.visually-hidden),
.app-page .icon-button .control-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; }
.app-page .icon-button svg { display: block; width: 18px; height: 18px; }
.channel-sidebar-title .refresh-button { width: 38px; min-width: 38px; height: 36px; min-height: 36px; flex: 0 0 38px; margin-left: auto; }
.channel-sidebar-title .refresh-button svg { width: 16px; height: 16px; }
.channel-sidebar-actions .create-room-open-button { width: 100%; height: 42px; min-height: 42px; min-width: 0; justify-content: center; padding-inline: 10px; }
.channel-sidebar-actions .create-room-open-button > span:last-child { font-size: 14px; font-weight: 600; }
.channel-sidebar-actions .create-room-open-button > .create-room-plus { width: 18px; height: 18px; flex: 0 0 18px; color: #31461f; stroke-width: 3px; filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)); }
.directory-error { min-height: 0; padding: 0 6px; }
.channel-list { display: grid; min-height: 0; align-content: start; gap: 3px; overflow-x: hidden; overflow-y: auto; padding: 1px 0 8px; }
.app-page .room-tile {
  display: grid;
  min-width: 0;
  min-height: 39px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #aab3ac;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.app-page .room-tile:hover { border-color: transparent; background: #232a26; color: #f0f2ef; transform: none; }
.app-page .room-tile.is-active { border-color: rgba(198,242,123,.28); background: #202922; color: #f0f2ef; transform: none; }
.app-page .room-tile.is-connected { border-color: rgba(198,242,123,.5); background: linear-gradient(100deg, rgba(198,242,123,.1), #202922 58%); color: #f4f7f2; }
.channel-tile-icon { color: #7f8982; font-size: 18px; line-height: 1; text-align: center; }
.channel-tile-copy { min-width: 0; overflow: hidden; }
.channel-tile-name { display: block; overflow: hidden; font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.channel-tile-count { min-width: 17px; color: #89938c; font-size: 10px; font-variant-numeric: tabular-nums; text-align: right; }
.channel-empty { min-height: 0; justify-items: start; align-content: start; gap: 4px; padding: 8px 7px; border: 0; background: transparent; color: #9aa49c; text-align: left; }
.channel-empty strong { font-size: 12px; font-weight: 600; }
.channel-empty span { font-size: 11px; }
.sidebar-profile { display: flex; grid-column: 1; grid-row: 2; min-width: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 10px; border-top: 1px solid rgba(255,255,255,.07); border-right: 1px solid rgba(255,255,255,.07); background: #111715; }
.sidebar-profile-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 6px; }
.call-indicators { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 7px; padding: 6px 7px; border: 1px solid rgba(255,255,255,.075); border-radius: 7px; background: rgba(8,13,10,.5); }
.call-indicator-copy { display: grid; min-width: 0; gap: 4px; }
.call-indicator { display: flex; min-width: 0; align-items: center; gap: 6px; color: #aeb9b1; font-size: 10px; line-height: 1.25; }
.call-indicator > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.call-indicator .status-dot { width: 6px; height: 6px; background: #9da99f; box-shadow: none; }
.call-indicator[data-state="connected"] { color: var(--accent); }
.call-indicator[data-state="connected"] .status-dot { background: var(--accent); box-shadow: 0 0 8px rgba(198,242,123,.45); }
.call-indicator[data-state="connecting"] { color: #e3c78b; }
.call-indicator[data-state="connecting"] .status-dot { background: #e3c78b; box-shadow: 0 0 8px rgba(227,199,139,.32); }
.call-indicator[data-state="unreachable"] { color: #ffaaa4; }
.call-indicator[data-state="unreachable"] .status-dot { background: var(--red); box-shadow: 0 0 8px rgba(255,137,130,.32); }
.microphone-retry-button { min-height: 30px; flex: 0 0 auto; gap: 5px; padding: 0 7px; border-radius: 6px; font-size: 10px; white-space: nowrap; }
.microphone-retry-button .control-icon,
.microphone-retry-button .control-icon svg { width: 13px; height: 13px; }
.participant-state { color: #9aa79d; font-size: 10px; font-weight: 500; white-space: nowrap; }
.participant-state[data-state="connected"] { color: var(--accent); }
.participant-state[data-state="connecting"] { color: #e3c78b; }
.participant-state[data-state="unreachable"] { color: #ffaaa4; }
.app-page .app-profile-button {
  position: static;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  justify-content: flex-start;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: #d6ddd7;
  text-align: left;
}
.app-page .app-profile-button:hover:not(:disabled) { border-color: transparent; background: #222825; color: #f2f4f1; }
.app-page .app-profile-button:disabled:hover { border-color: transparent; background: transparent; }
.app-page .app-profile-button .user-avatar { width: 29px; height: 29px; flex: 0 0 auto; }
.app-page .app-profile-button > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-page:not(.app-ready) .app-profile-button { visibility: hidden; }
.workspace { position: relative; display: flex; grid-column: 2; grid-row: 1 / 3; min-width: 0; min-height: 0; overflow: hidden; background: #0d1210; }
.workspace-empty { display: grid; flex: 1; align-content: center; justify-items: center; gap: 10px; padding: 24px; color: #9aa49c; text-align: center; }
.workspace-empty-mark { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 4px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #171d1a; color: #9aa49c; }
.workspace-empty-mark svg { width: 25px; height: 25px; }
.workspace-empty strong { color: #dce2dd; font-size: 17px; font-weight: 600; }
.workspace-empty > span { max-width: 320px; color: #8c9790; font-size: 12px; line-height: 1.55; }
.app-page .room-view {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1060px;
  min-height: 100%;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 52px) 32px;
}
.app-page .room-view.hidden { display: none !important; }
.room-view-heading { min-height: 50px; align-items: center; gap: 14px; margin: 0; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.room-heading-main { display: flex; min-width: 0; align-items: center; gap: 12px; }
.room-title-copy { min-width: 0; }
.room-title-copy h1 { max-width: min(60vw, 720px); overflow: hidden; margin: 0; color: #edf0ec; font-size: clamp(20px, 2.3vw, 27px); font-weight: 650; letter-spacing: -.55px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.room-title-copy p { margin: 3px 0 0; color: #8f9992; font-size: 11px; }
.room-back-button { flex: 0 0 auto; }
.room-back-button svg { width: 17px; height: 17px; }
.room-copy-button { min-height: 38px; flex: 0 0 auto; gap: 8px; padding-inline: 11px; font-size: 11px; }
.room-copy-button .control-icon { width: 15px; height: 15px; }
.room-copy-button svg { width: 15px; height: 15px; }
.app-page .connection-ping > summary.ping-trigger { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; border-radius: 8px; }
.app-page .connection-ping > summary.ping-trigger .ping-icon,
.app-page .connection-ping > summary.ping-trigger .ping-icon svg { width: 16px; height: 16px; }
.connection-chart-popover .diagnostics-copy-button { width: 100%; min-height: 38px; margin-top: 12px; font-size: 11px; }
.room-error { min-height: 0; }
.room-detail-card {
  display: flex;
  min-height: 250px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.room-detail-main { display: grid; justify-items: center; gap: 8px; }
.room-detail-main .room-presence { color: #e0e6e0; font-size: 14px; }
.room-detail-main .room-description { margin: 0; color: #89948d; font-size: 12px; }
.prejoin-button { width: auto; min-width: 145px; min-height: 42px; gap: 8px; padding-inline: 15px; font-size: 12px; }
.prejoin-button .control-icon { display: inline-flex; width: 16px; height: 16px; }
.prejoin-button svg { width: 16px; height: 16px; }
.app-page .call-card {
  width: min(100%, 790px);
  max-width: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.app-page .call-card.hidden { display: none !important; }
.call-heading { gap: 12px; padding: 0 0 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.call-avatar { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #1d2420; color: #bac2bc; }
.call-avatar svg { width: 19px; height: 19px; }
.call-room { color: #e5eae5; font-size: 13px; }
.call-status { font-size: 11px; }
.participant-section { padding: 19px 0 22px; }
.participant-section > .section-overline { color: #7f8a82; font-size: 9px; letter-spacing: 1.1px; }
.participant-list { gap: 7px; padding-top: 11px; }
.participant-pill { border-color: rgba(255,255,255,.09); border-radius: 6px; background: #151b18; color: #d2d9d3; }
.connection-chart-popover { border-color: rgba(255,255,255,.12); border-radius: 8px; background: #171d1a; }
.app-page .noise-control-button[aria-pressed="true"] { border-color: rgba(198,242,123,.24); background: linear-gradient(180deg, #596459 0%, #4d584d 58%, #424c41 100%); color: #c6f27b; }
.app-page .noise-control-button:disabled { opacity: .45; cursor: not-allowed; }
.call-controls { display: flex; min-width: 0; flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: flex-end; gap: 4px; padding: 0; border: 0; background: transparent; }
.call-controls .icon-button { width: 32px; min-width: 32px; height: 32px; min-height: 32px; }
.call-controls .icon-button .control-icon,
.call-controls .icon-button svg { width: 15px; height: 15px; }
.call-controls .control-button { border-radius: 8px; }
.call-controls .hangup-button { margin: 0; }
.call-controls .hidden { display: none !important; }
.app-page .profile-dialog,
.app-page .create-room-dialog,
.app-page .switch-room-dialog { z-index: 20; }
.app-page .switch-room-dialog { width: min(calc(100% - 32px), 470px); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--text); }
.app-page .switch-room-dialog::backdrop { background: rgba(5, 9, 7, .78); backdrop-filter: blur(9px); }
.app-page .switch-room-sheet { position: relative; display: grid; gap: 22px; padding: 30px; border-radius: 20px; background: radial-gradient(ellipse at 14% 5%, rgba(114,213,207,.1), transparent 44%), linear-gradient(145deg, #19221e, #0d1310); }
.app-page .switch-room-copy { display: grid; gap: 9px; padding-right: 8px; }
.app-page .switch-room-copy .section-overline { color: #929d95; }
.app-page .switch-room-copy h2 { margin: 0; font-size: 22px; letter-spacing: -.5px; }
.app-page .switch-room-copy p { margin: 0; color: #a4aea7; font-size: 13px; line-height: 1.55; }
.app-page .switch-room-copy strong { color: #e5ece5; }
.app-page .switch-room-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.app-page .switch-room-actions .button { min-height: 44px; padding-inline: 10px; }
.app-page .identity-card { background: #171d1a; }
.app-page .identity-copy { display: grid; gap: 6px; padding: 0 25px 0 0; }
.app-page .identity-copy .section-overline { color: #929d95; }
.app-page .identity-copy h2 { margin: 0; font-size: 23px; letter-spacing: -.6px; }
.app-page .identity-copy p { margin: 0; color: #a4aea7; font-size: 12px; line-height: 1.5; }
.app-page .profile-form { gap: 9px; }
.app-page .profile-form > label { color: #d4dbd5; }
.app-page .profile-form .button { width: 100%; min-height: 44px; }
.app-page .profile-form .profile-error { min-height: 0; margin: -2px 0 0; }
.app-page .create-room-modal { background: #171d1a; }
.app-page .create-room-modal-copy { padding: 0 25px 0 0; }
.app-page .create-room-modal-copy .section-overline { color: #929d95; }
.app-page .create-room-form { gap: 9px; }
.app-page .create-room-form > label { color: #d4dbd5; }
.app-page .create-room-form .button { width: 100%; min-height: 44px; }
.app-page .create-room-modal .dialog-close-button { border-radius: 4px; }
.app-page :is(.button, .copy-button, .topbar-user, .dialog-close-button, .room-tile):focus-visible { outline-color: #d1d8d2; }
.app-page .button,
.app-page .copy-button,
.app-page .refresh-button,
.app-page .app-profile-button,
.app-page .dialog-close-button,
.app-page .connection-ping > summary.ping-trigger {
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,0,0,.42);
}
.app-page .button > span:not(.visually-hidden),
.app-page .copy-button > span:not(.visually-hidden),
.app-page .refresh-button > span:not(.visually-hidden),
.app-page .app-profile-button > span:not(.user-avatar),
.app-page .dialog-close-button,
.app-page .connection-ping > summary.ping-trigger > span:not(.visually-hidden) {
  text-shadow: 0 1px 0 rgba(0,0,0,.42);
}
.app-page .copy-button {
  background: linear-gradient(180deg, #677367 0%, #596657 58%, #4c594a 100%);
  box-shadow: 0 4px 0 #384336;
  color: #f1f4ee;
}
.app-page .dialog-close-button {
  background: #596657;
  box-shadow: 0 4px 0 #384336;
  color: #f1f4ee;
}
.app-page .button-secondary:not(.button-primary):not(.button-danger) {
  border-color: rgba(226,239,220,.14);
  background: linear-gradient(180deg, #677367 0%, #596657 58%, #4c594a 100%);
  box-shadow: 0 4px 0 #384336;
  color: #f1f4ee;
}
.app-page .button-secondary:not(.button-primary):not(.button-danger):hover:not(:disabled) {
  border-color: rgba(226,239,220,.24);
  filter: brightness(1.08);
  color: #fff;
}
.app-page .button-secondary:not(.button-primary):not(.button-danger):active:not(:disabled) {
  transform: translateY(3px);
  filter: brightness(.92);
  box-shadow: 0 1px 0 #384336;
}
.app-page .button-primary {
  box-shadow: 0 4px 0 var(--accent-edge);
}
.app-page .button-primary:active:not(:disabled) {
  transform: translateY(3px);
  filter: brightness(.94);
  box-shadow: 0 1px 0 var(--accent-edge);
}
.app-page .button-danger {
  background: #9e403d;
  box-shadow: 0 4px 0 #5d2927;
  color: #f1b3ae;
}
.app-page .button-danger:hover:not(:disabled) {
  background: #b54542;
  color: #fff;
}
.app-page .button-danger:active:not(:disabled) {
  transform: translateY(3px);
  filter: brightness(.92);
  box-shadow: 0 1px 0 #5d2927;
}
.app-page .call-controls .control-button[aria-pressed="true"] {
  background: linear-gradient(180deg, #596459 0%, #4d584d 58%, #424c41 100%);
  color: #ff8982;
}
.app-page .copy-button:active:not(:disabled),
.app-page .refresh-button:active:not(:disabled),
.app-page .dialog-close-button:active:not(:disabled),
.app-page .connection-ping > summary.ping-trigger:active {
  transform: translateY(3px);
  filter: brightness(.9);
  box-shadow: 0 1px 0 #384336;
}
.app-page .refresh-button.is-pressed {
  transform: translateY(3px);
  filter: brightness(.9);
  box-shadow: 0 1px 0 #384336;
}
.app-page .create-room-open-button.is-pressed,
.app-page #empty-create-room-button.is-pressed {
  transform: translateY(3px);
  filter: brightness(.94);
  box-shadow: 0 1px 0 var(--accent-edge);
}
.app-page .button-primary > span:not(.visually-hidden) {
  text-shadow: 0 1px 0 rgba(22,32,15,.34);
}
.app-page .channel-sidebar-actions .create-room-open-button {
  color: #31461f;
}
.app-page .channel-sidebar-actions .create-room-open-button > span {
  color: #31461f;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.app-page .button svg,
.app-page .copy-button svg,
.app-page .refresh-button svg,
.app-page .app-profile-button svg,
.app-page .dialog-close-button svg,
.app-page .connection-ping > summary.ping-trigger svg { filter: drop-shadow(0 1px 0 rgba(0,0,0,.38)); }

@media (max-width: 1100px) {
  .app-page { padding: 0; }
  .app-page .app-shell {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-height: 700px) {
  .app-page { padding-block: 0; }
  .app-page .app-shell { height: 100%; border-top: 0; border-bottom: 0; border-radius: 0; }
}

@media (max-width: 760px) {
  .app-page { padding: 0; }
  .app-page .app-shell {
    width: 100%;
    height: 100%;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .channel-sidebar { padding: 13px 9px 10px; }
  .app-page .room-view { padding: 18px 20px 24px; }
}

@media (max-width: 560px) {
  .app-page .app-shell { grid-template-columns: minmax(142px, 42vw) minmax(0, 1fr); }
  .channel-sidebar { padding: 12px 7px 9px; }
  .channel-sidebar-header { gap: 11px; padding-inline: 2px; }
  .channel-sidebar-title { gap: 6px; }
  .channel-sidebar-title h1 { font-size: 18px; }
  .channel-sidebar-actions { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .channel-sidebar-title .refresh-button { width: 38px; min-width: 38px; height: 36px; min-height: 36px; flex-basis: 38px; }
  .channel-sidebar-actions .create-room-open-button { min-height: 36px; gap: 4px; padding-inline: 6px; font-size: 10px; }
  .channel-sidebar-actions .create-room-open-button > span:last-child { font-size: 14px; }
  .app-page .room-tile { grid-template-columns: 15px minmax(0, 1fr) auto; gap: 5px; padding-inline: 5px; }
  .channel-tile-name { font-size: 11px; }
  .channel-tile-count { font-size: 9px; }
  .app-page .room-view { padding: 15px 13px 20px; }
  .sidebar-profile { gap: 3px; padding: 9px 4px 8px; }
  .app-page .app-profile-button { gap: 0; padding-inline: 3px; }
  .app-page .app-profile-button .user-avatar { display: none; }
  .app-page .app-profile-button > span:last-child { font-size: 10px; }
  .call-controls { gap: 2px; }
  .call-controls .icon-button { width: 26px; min-width: 26px; height: 26px; min-height: 26px; }
  .call-controls .icon-button .control-icon,
  .call-controls .icon-button svg { width: 13px; height: 13px; }
  .room-view-heading { align-items: center; gap: 7px; padding-bottom: 12px; }
  .room-heading-main { gap: 7px; }
  .room-back-button { width: 34px !important; min-width: 34px !important; height: 34px !important; min-height: 34px !important; }
  .room-title-copy h1 { max-width: 40vw; font-size: 18px; }
  .room-title-copy p { font-size: 9px; }
  .app-page .connection-ping > summary.ping-trigger { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .room-copy-button { width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; }
  .room-copy-button > span:last-child { display: none; }
  .room-detail-card { min-height: 200px; padding: 18px 8px; }
}

@media (max-width: 760px) {
  .app-page .app-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .app-page .channel-sidebar {
    grid-column: 1;
    grid-row: 1;
    max-height: min(32dvh, 260px);
    padding: 12px 14px 10px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .app-page .channel-sidebar-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 0 0 8px;
  }
  .app-page .channel-sidebar-title { min-width: min(100%, 170px); flex: 1 1 170px; gap: 7px; }
  .app-page .channel-sidebar-title h1 { font-size: 18px; }
  .app-page .channel-sidebar-actions { display: flex; flex: 0 0 auto; gap: 6px; }
  .app-page .channel-sidebar-actions .create-room-open-button {
    width: auto;
    height: 38px;
    min-height: 38px;
    gap: 7px;
    padding-inline: 10px;
  }
  .app-page .channel-sidebar-actions .create-room-open-button > span:last-child { font-size: 13px; }
  .app-page .channel-list { max-height: min(18dvh, 150px); flex: 1 1 auto; }
  .app-page #rooms-list:empty { flex: 0 0 auto; }
  .app-page .channel-empty { padding: 6px 0; }
  .app-page .workspace { grid-column: 1; grid-row: 2; }
  .app-page .room-view { padding: 18px 20px calc(82px + env(safe-area-inset-bottom)); }
  .app-page .sidebar-profile {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 0;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 9px max(12px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255,255,255,.1);
    border-right: 0;
    background: rgba(17,23,21,.97);
    box-shadow: 0 -12px 35px rgba(0,0,0,.24);
    backdrop-filter: blur(14px);
  }
  .app-page .app-profile-button {
    width: auto;
    max-width: 116px;
    min-height: 42px;
    flex: 0 1 auto;
    gap: 7px;
    padding: 4px 5px;
  }
  .app-page .sidebar-profile .app-profile-button .user-avatar {
    display: grid;
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  .app-page .sidebar-profile .app-profile-button > span:last-child { font-size: 12px; }
  .app-page .sidebar-profile-row { justify-content: space-between; gap: 8px; }
  .app-page .call-controls { min-width: 0; flex: 0 0 auto; gap: 5px; }
  .app-page .call-controls .icon-button {
    width: 40px;
    min-width: 40px;
    height: 42px;
    min-height: 42px;
  }
  .app-page .call-controls .icon-button .control-icon,
  .app-page .call-controls .icon-button svg { width: 17px; height: 17px; }

  .app-page.is-in-call .app-shell { grid-template-rows: minmax(0, 1fr); }
  .app-page.is-in-call .channel-sidebar { display: none; }
  .app-page.is-in-call .workspace { grid-column: 1; grid-row: 1; }
  .app-page.is-in-call .room-view { padding: 15px 17px calc(82px + env(safe-area-inset-bottom)); }
  .app-page.is-in-call .room-view-heading { flex: 0 0 auto; }
  .app-page.is-in-call .room-title-copy h1 { max-width: 100%; }
  .app-page.is-in-call .call-card {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 8px 0;
  }
  .app-page.is-in-call .call-heading {
    align-self: center;
    justify-content: center;
    padding: 0;
    border: 0;
  }
  .app-page.is-in-call .call-avatar { display: none; }
  .app-page.is-in-call .call-status {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid rgba(198,242,123,.13);
    border-radius: 99px;
    background: rgba(198,242,123,.045);
    color: #b4c3b5;
    font-size: 11px;
  }
  .app-page.is-in-call .participant-section {
    display: flex;
    width: 100%;
    flex: 0 1 auto;
    flex-direction: column;
    align-items: center;
    padding: 22px 0 0;
  }
  .app-page.is-in-call .participant-section > .section-overline { color: #8d9a90; }
  .app-page.is-in-call .participant-list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 220px));
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding-top: 14px;
  }
  .app-page.is-in-call .participant-pill {
    display: flex;
    min-width: 0;
    min-height: 178px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 17px 12px;
    border: 1px solid rgba(226,239,220,.13);
    border-radius: 16px;
    background: radial-gradient(ellipse at 50% 0, rgba(114,213,207,.09), transparent 68%), linear-gradient(155deg, #18211d, #111815);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 28px rgba(0,0,0,.16);
    color: #edf1ec;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
  }
  .app-page.is-in-call .participant-pill .participant-state { padding: 0; border: 0; }
  .app-page.is-in-call .participant-pill .user-avatar {
    width: 68px;
    height: 68px;
    border: 2px solid rgba(255,255,255,.28);
    font-size: 34px;
    box-shadow: inset 0 2px 5px rgba(255,255,255,.2), 0 7px 20px rgba(0,0,0,.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-page *, .app-page *::before, .app-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 760px) {
  .landing-shell { width: min(calc(100% - 42px), 560px); }
  .landing-hero { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .landing-copy { padding: 57px 0 37px; }
  .landing-copy h1 { font-size: clamp(54px, 12vw, 76px); letter-spacing: -5px; }
  .landing-intro { max-width: 430px; font-size: 15px; }
  .landing-visual { position: absolute; top: 110px; right: -158px; width: 360px; height: 340px; min-height: 0; opacity: .5; pointer-events: none; }
  .landing-visual-glow { width: 240px; height: 240px; }
  .landing-orbit { width: 165px; height: 250px; }
  .landing-orbit-two { width: 205px; height: 285px; }
  .landing-orbit-three { width: 270px; height: 180px; }
  .landing-visual-mark { width: 100px; height: 100px; border-radius: 31px; }
  .landing-visual-mark svg { width: 64px; height: 64px; }
  .landing-details { grid-template-columns: 1fr; }
  .landing-detail { padding: 22px 0; }
  .landing-detail + .landing-detail { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .landing-detail p { max-width: 410px; }
  .landing-footer { padding: 18px 0 22px; font-size: 14px; }
  .landing-footer > span:first-child { font-size: 14px; }
  .landing-footer .footer-mark { width: 25px; height: 25px; }
}

@media (max-width: 420px) {
  .landing-shell { width: min(calc(100% - 32px), 390px); }
  .landing-copy { padding-top: 45px; }
  .landing-copy h1 { font-size: clamp(48px, 13.4vw, 60px); letter-spacing: -3.8px; }
  .landing-intro { max-width: 330px; font-size: 13px; }
  .landing-visual { top: 75px; right: -194px; opacity: .34; }
  .landing-cta { width: 100%; }
}

.app-page { min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
.app-shell { min-height: 100vh; min-height: 100dvh; }
.app-page .topbar { flex: 0 0 auto; }
.app-page:not(.app-ready) .topbar-user { visibility: hidden; }

@media (max-width: 620px) {
  .topbar-user > span:last-child { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-page .shell { width: min(calc(100% - 32px), 480px); }
  .app-page .footer { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}

@media (hover: none) and (pointer: coarse) {
  body, body * { -webkit-tap-highlight-color: transparent; }
  .app-page, .app-page .app-shell { min-height: 100vh; min-height: 100svh; }
}

@media (max-width: 620px) {
  .profile-dialog,
  .create-room-dialog,
  .app-page .switch-room-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 88vh;
    max-height: min(88dvh, 620px);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 22px 22px 0 0;
  }
  .identity-card,
  .create-room-modal,
  .app-page .switch-room-sheet {
    gap: 18px;
    padding: 34px 22px max(24px, calc(env(safe-area-inset-bottom) + 16px));
    border-radius: 22px 22px 0 0;
  }
  .identity-card::before,
  .create-room-modal::before,
  .app-page .switch-room-sheet::before {
    position: absolute;
    top: 11px;
    left: calc(50% - 20px);
    width: 40px;
    height: 4px;
    border-radius: 99px;
    background: rgba(226,239,220,.3);
    content: "";
  }
  .identity-card .dialog-close-button,
  .create-room-modal .dialog-close-button { top: 14px; right: 15px; }
  .app-page .switch-room-sheet { gap: 18px; padding: 34px 22px max(24px, calc(env(safe-area-inset-bottom) + 16px)); }
  .app-page .switch-room-copy { padding-right: 0; }
  .app-page .switch-room-actions { grid-template-columns: 1fr; }
}

/* Mobile channel directory */
.app-page .channel-home-link { color: inherit; text-decoration: none; }
.app-page .channel-home-link:hover h1 { color: #fff; }
.app-page .room-tile::before { content: none; }
.app-page .lobby-view,
.app-page .lobby-view.hidden { display: none !important; }
.room-join-actions { display: grid; width: min(100%, 230px); gap: 9px; }
.room-join-actions .prejoin-button,
.room-join-actions .return-to-rooms-button { width: 100%; }
.room-join-actions .return-to-rooms-button { min-height: 40px; font-size: 11px; }
.app-page #prejoin-label { text-shadow: none; }
.app-page .button-centered-icon-label { --centered-icon-width: 16px; }
.app-page .button-centered-icon-label::after {
  display: block;
  width: var(--centered-icon-width);
  height: 1px;
  flex: 0 0 var(--centered-icon-width);
  content: "";
  pointer-events: none;
}
.app-page .create-room-open-button { --centered-icon-width: 18px; }
.app-page .room-copy-button,
.app-page .diagnostics-copy-button { --centered-icon-width: 15px; }
.app-page .button-centered-trailing-icon::before {
  display: block;
  width: 1em;
  height: 1px;
  flex: 0 0 1em;
  content: "";
  pointer-events: none;
}
.app-page .button-centered-trailing-icon > span[aria-hidden="true"] {
  display: inline-flex;
  width: 1em;
  flex: 0 0 1em;
  justify-content: center;
}

@media (max-width: 760px) {
  .app-page .app-shell { grid-template-rows: auto minmax(0, 1fr); }
  .app-page .channel-sidebar {
    max-height: none;
    padding: 10px 14px 0;
    overflow: hidden;
    border: 0;
    background: #111715;
  }
  .app-page .channel-sidebar-header {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .app-page .channel-sidebar-title { min-width: 0; flex: 0 1 auto; gap: 6px; }
  .app-page .channel-sidebar-title h1 { font-size: 18px; }
  .app-page .channel-sidebar-title .refresh-button {
    width: 34px;
    min-width: 34px;
    height: 32px;
    min-height: 32px;
    flex-basis: 34px;
    margin-left: 2px;
  }
  .app-page .channel-sidebar-title .refresh-button svg { width: 14px; height: 14px; }
  .app-page .channel-sidebar-actions { flex: 0 0 auto; }
  .app-page .channel-sidebar-actions .create-room-open-button {
    width: auto;
    height: 34px;
    min-height: 34px;
    gap: 5px;
    padding-inline: 8px;
  }
  .app-page .channel-sidebar-actions .create-room-open-button > span:last-child { font-size: 12px; }
  .app-page #rooms-list,
  .app-page #rooms-empty { display: none !important; }
  .app-page .directory-error { padding: 0; }
  .app-page .workspace { grid-column: 1; grid-row: 2; overflow: hidden; }
  .app-page .lobby-view:not(.hidden) {
    display: flex !important;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 15px 14px calc(78px + env(safe-area-inset-bottom));
    background: #0d1210;
  }
  .app-page .lobby-room-list { display: grid; align-content: start; gap: 10px; }
  .app-page .lobby-room-list .room-tile {
    min-height: 68px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 13px;
    border-color: rgba(226,239,220,.09);
    border-radius: 12px;
    background: linear-gradient(145deg, #18201c, #131916);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 6px 18px rgba(0,0,0,.13);
    color: #dfe5e0;
  }
  .app-page .lobby-room-list .room-tile:hover,
  .app-page .lobby-room-list .room-tile.is-active {
    border-color: rgba(198,242,123,.22);
    background: linear-gradient(145deg, #1d2822, #151d18);
  }
  .app-page .lobby-room-list .room-tile.is-connected {
    border-color: rgba(198,242,123,.5);
    background: linear-gradient(100deg, rgba(198,242,123,.1), #202922 70%);
  }
  .app-page .lobby-room-list .channel-tile-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: #202923;
    color: #b8c4ba;
    font-size: 15px;
  }
  .app-page .lobby-room-list .channel-tile-name { font-size: 13px; }
  .app-page .lobby-room-list .channel-tile-count {
    min-width: 26px;
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 7px;
    background: rgba(255,255,255,.035);
    color: #a6b0a8;
    text-align: center;
  }
  .app-page .lobby-empty {
    min-height: 110px;
    justify-items: start;
    align-content: center;
    gap: 5px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: #131916;
    text-align: left;
  }
  .app-page .lobby-empty strong { font-size: 13px; }
  .app-page .lobby-empty span { font-size: 11px; }
  .app-page .room-copy-button::after { display: none; }
  .app-page .sidebar-profile { min-height: 54px; }
  .app-page .call-controls { gap: 4px; }
  .app-page .call-controls .icon-button {
    width: 34px;
    min-width: 34px;
    height: 32px;
    min-height: 32px;
  }
  .app-page .call-controls .icon-button .control-icon,
  .app-page .call-controls .icon-button svg { width: 14px; height: 14px; }
  .app-page.is-in-room .app-shell,
  .app-page.is-in-call .app-shell { grid-template-rows: minmax(0, 1fr); }
  .app-page.is-in-room .channel-sidebar { display: none; }
  .app-page.is-in-room .workspace,
  .app-page.is-in-call .workspace { grid-row: 1; }
  .app-page.is-in-room .room-view { padding: 15px 17px calc(112px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .app-page .app-profile-button { max-width: 100px; }
  .app-page .call-controls { gap: 2px; }
}
