@font-face {
  font-family: Inter;
  src: local("Inter"), local("Segoe UI");
}
* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  --bg: #101021;
  --panel: #1b1a30;
  --text: #f9f6ff;
  --muted: #ada8c6;
  --purple: #bd8cff;
  --coral: #ff877b;
  --line: rgba(193, 175, 240, 0.18);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
body {
  margin: 0;
  background: #0a0b15;
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--purple);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
button {
  border: 0;
}
button svg {
  pointer-events: none;
}
.app-shell {
  max-width: 480px;
  min-height: 100dvh;
  margin: auto;
  background:
    radial-gradient(ellipse at 100% 0%, #241731 0, transparent 40%), var(--bg);
  position: relative;
  overflow: hidden;
}
#main {
  padding: 22px 20px 110px;
  min-height: 100dvh;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 39px;
  line-height: 1.06;
  letter-spacing: -1.7px;
  font-weight: 780;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.45px;
}
.muted {
  color: var(--muted);
  line-height: 1.55;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.gradient-word {
  color: var(--coral);
}
.purple-word {
  color: var(--purple);
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-header strong {
  font-size: 22px;
  letter-spacing: -0.6px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
.avatar {
  width: 38px;
  height: 38px;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid #30253e;
  background-image: url("assets/connection-art.png");
  background-size: 360%;
  background-position: 59% 34%;
  background-color: #d88868;
  flex-shrink: 0;
}
.avatar[data-avatar="1"],
.avatar[data-avatar="3"],
.avatar[data-avatar="5"] {
  background-position: 99% 25%;
}
.avatar[data-avatar="2"],
.avatar[data-avatar="3"] {
  filter: hue-rotate(25deg);
}
.avatar[data-avatar="4"],
.avatar[data-avatar="5"] {
  filter: hue-rotate(-22deg);
}
.profile-button {
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}
.profile-button .avatar {
  width: 44px;
  height: 44px;
  border-color: #9a645e;
}
.profile-button::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: #51d1b6;
  border: 3px solid var(--bg);
  border-radius: 50%;
  bottom: 0;
  right: 0;
  box-sizing: content-box;
}
.intro {
  margin-bottom: 24px;
}
.intro .muted {
  margin-top: 10px;
  font-size: 14px;
}
.hero-card {
  position: relative;
  border-radius: 23px;
  overflow: hidden;
  min-height: 282px;
  border: 1px solid #8c486b;
  background: #39223f url("assets/connection-art.png") center/cover;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px 15px;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20, 12, 31, 0.93), transparent 95%),
    linear-gradient(90deg, rgba(25, 15, 36, 0.4), transparent);
}
.hero-card > * {
  position: relative;
}
.hero-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(18, 16, 31, 0.7);
  border: 1px solid #ffffff26;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #92efc7;
  border-radius: 50%;
  display: inline-block;
}
.hero-copy h2 {
  font-size: 26px;
  line-height: 1.03;
  max-width: 160px;
  margin-top: 86px;
}
.hero-copy p {
  font-size: 12px;
  color: #e2d2e6;
  max-width: 180px;
  margin-top: 8px;
  line-height: 1.4;
}
.primary {
  background: linear-gradient(105deg, #d0a2ff, #a978ef);
  color: #1b102c;
  border-radius: 14px;
  min-height: 49px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  width: 100%;
  box-shadow: inset 0 1px 0 #ffffff30;
}
.hero-card .primary {
  margin-top: 17px;
}
.primary .icon {
  width: 20px;
  height: 20px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-card {
  min-height: 126px;
  position: relative;
  overflow: hidden;
  text-align: left;
  border-radius: 19px;
  padding: 17px;
  border: 1px solid #ffffff26;
  background: #712e3d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 12px;
  line-height: 1.4;
  max-width: 128px;
  color: #eee3ed;
}
.feature-card:before {
  content: "";
  position: absolute;
  right: -15px;
  bottom: -22px;
  width: 110px;
  height: 135px;
  border: 1px solid #ffffff20;
  border-radius: 70% 0;
  transform: rotate(-28deg);
  background: #ffffff09;
}
.feature-card .feature-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 14px;
}
.feature-foot > .icon {
  width: 28px;
  height: 28px;
}
.arrow-circle {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid #ffffff55;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-circle .icon {
  width: 17px;
  height: 17px;
}
.feature-card.coral {
  background: linear-gradient(120deg, #be4d55, #742f4c);
}
.feature-card.teal {
  background: linear-gradient(120deg, #11666d, #173e54);
}
.wide-card {
  grid-column: 1/-1;
  min-height: 103px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(110deg, #143d51, #126574);
  padding: 17px;
}
.wide-card p {
  max-width: 250px;
}
.wide-card .avatar-stack {
  margin-top: 12px;
}
.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar-stack .avatar {
  width: 26px;
  height: 26px;
  margin-right: -7px;
  border-width: 1.5px;
}
.avatar-stack .muted {
  margin-left: 14px;
  font-size: 11px;
}
.guide-card {
  grid-column: 1/-1;
  background: linear-gradient(110deg, #edab50, #ca8250);
  color: #291a19;
  padding: 14px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.guide-card > .icon {
  width: 31px;
  height: 31px;
}
.guide-card h3 {
  font-size: 16px;
  margin-bottom: 3px;
}
.guide-card p {
  font-size: 11px;
  color: #59392f;
}
.guide-card .arrow-circle {
  margin-left: auto;
  border-color: #71482666;
}
.home-footer {
  font-size: 10px;
  color: #817c9d;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
}
.home-footer .icon {
  width: 13px;
  height: 13px;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 480px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(18, 17, 36, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 10px 9px calc(10px + var(--safe-bottom));
  z-index: 20;
}
.nav-item {
  background: none;
  color: #a9a4c2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
}
.nav-item > span {
  border-radius: 13px;
  padding: 5px 18px;
  display: flex;
}
.nav-item.active {
  color: #c79aff;
}
.nav-item.active > span {
  background: #be8dff1c;
}
.nav-item.active .icon {
  stroke-width: 2.2;
}
.nav-item .icon {
  height: 22px;
  width: 22px;
}
.segmented {
  display: flex;
  border: 1px solid #514269;
  background: #1a172d;
  border-radius: 15px;
  padding: 4px;
  margin: 23px 0 17px;
}
.segmented button {
  flex: 1;
  border-radius: 11px;
  background: transparent;
  color: #b7adcb;
  padding: 11px;
  font-weight: 600;
  font-size: 13px;
}
.segmented button.selected {
  background: linear-gradient(100deg, #c899ff, #a875eb);
  color: #231135;
  box-shadow: 0 2px 10px #10072055;
}
.chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
}
.chip {
  white-space: nowrap;
  border: 1px solid #4a435f;
  color: #cdc6df;
  border-radius: 30px;
  padding: 8px 15px;
  font-size: 12px;
  background: transparent;
}
.chip.selected {
  background: #7850d8;
  border-color: #b886fb;
  color: white;
}
.room-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.room-card {
  border-radius: 19px;
  min-height: 174px;
  padding: 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #725486;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #28214c;
}
.room-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/rooms-art.png");
  background-size: 300% 100%;
  background-position: left;
}
.room-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #141327ce, #14132715),
    linear-gradient(0deg, #111326d9, transparent);
}
.room-card[data-art="creative"] {
  border-color: #ae6269;
}
.room-card[data-art="creative"]:before {
  background-position: center;
}
.room-card[data-art="travel"] {
  border-color: #427f82;
}
.room-card[data-art="travel"]:before {
  background-position: right;
}
.room-card[data-art="music"]:before {
  background-position: left;
  filter: hue-rotate(25deg);
}
.room-card h3 {
  font-size: 22px;
  line-height: 1.2;
}
.room-card .room-description {
  font-size: 12px;
  margin-top: 5px;
  color: #e1d8eb;
  max-width: 210px;
}
.room-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
}
.join-button {
  border-radius: 30px;
  padding: 10px 21px;
  background: linear-gradient(110deg, #b786ff, #8350e5);
  font-weight: 700;
  min-width: 80px;
}
.room-card[data-art="creative"] .join-button {
  background: #eb766e;
}
.room-card[data-art="travel"] .join-button {
  background: #2d9c9e;
}
.room-count {
  font-size: 11px;
  color: #e5dcef;
}
.room-caption {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 15px;
}
.section-label h3 {
  font-size: 17px;
}
.quiet-button {
  background: none;
  color: var(--purple);
  font-size: 12px;
  padding: 8px;
}
.info-panel {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #28213a, #1b1b30);
  padding: 22px;
  border-radius: 20px;
  margin: 18px 0;
}
.info-panel h2 {
  margin-top: 14px;
  margin-bottom: 10px;
}
.info-panel .primary {
  margin-top: 20px;
}
.info-panel > .icon {
  color: var(--purple);
  height: 32px;
  width: 32px;
}
.secondary {
  width: 100%;
  border: 1px solid #655276;
  color: #e2d2f7;
  background: #201a33;
  border-radius: 13px;
  padding: 13px 18px;
  min-height: 47px;
  font-weight: 600;
  margin-top: 10px;
}
.empty-state {
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed #49405c;
  border-radius: 18px;
  margin-top: 15px;
}
.empty-state .icon {
  height: 30px;
  width: 30px;
  color: #8a75ae;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.history-row .history-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.history-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.guide-section {
  padding: 20px;
  border: 1px solid var(--line);
  background: #1c1a30;
  border-radius: 17px;
  margin: 12px 0;
}
.guide-section summary {
  font-weight: 650;
  cursor: pointer;
  font-size: 15px;
}
.guide-section p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.back-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}
.back-heading h2 {
  font-size: 22px;
}
.profile-hero {
  text-align: center;
  padding: 10px 0 25px;
}
.profile-hero .avatar {
  height: 86px;
  width: 86px;
  border: 3px solid #b384d1;
}
.profile-hero h2 {
  margin: 12px 0 5px;
}
.profile-hero p {
  font-size: 12px;
  color: var(--muted);
}
.field {
  display: block;
  margin: 16px 0;
}
.field > span {
  font-size: 12px;
  font-weight: 650;
  display: block;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea,
.invite-input {
  width: 100%;
  color: #fff;
  border: 1px solid #534461;
  background: #141222;
  border-radius: 12px;
  padding: 13px;
  outline: none;
  min-height: 47px;
}
.field input:focus,
.field textarea:focus,
.invite-input:focus {
  border-color: var(--purple);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.form-error {
  color: #ffa496;
  line-height: 1.45;
  font-size: 12px;
  min-height: 18px;
  margin: 10px 0;
}
.avatar-picker {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.avatar-option {
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 3px;
  display: flex;
}
.avatar-option.selected {
  border-color: var(--purple);
}
.avatar-option .avatar {
  height: 39px;
  width: 39px;
}
.danger-text {
  color: #ff928c;
}
.settings-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 18px 0;
  text-align: left;
}
.settings-row span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-form .primary {
  margin: 18px 0;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: #c7bfd7;
  margin: 16px 0;
}
.check-row input {
  width: 19px;
  height: 19px;
  accent-color: #bd8cff;
  flex-shrink: 0;
  margin: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #05030dc9;
  backdrop-filter: blur(9px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 60;
  padding: 16px;
}
.modal {
  width: 100%;
  max-width: 440px;
  max-height: 92dvh;
  overflow: auto;
  padding: 25px 23px;
  background: linear-gradient(150deg, #282038, #151323);
  border: 1px solid #635076;
  border-radius: 25px;
  box-shadow: 0 30px 100px #0008;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 10px;
}
.modal h2 {
  font-size: 25px;
}
.modal .muted {
  font-size: 13px;
}
.modal .eyebrow {
  color: var(--coral);
  margin-bottom: 9px;
}
.modal-footnote {
  font-size: 10px;
  line-height: 1.6;
  color: #91879f;
  margin-top: 15px;
}
.link-button {
  background: transparent;
  padding: 0;
  color: var(--purple);
  text-decoration: underline;
  font: inherit;
}
.modal .primary {
  margin-top: 14px;
}
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  max-width: calc(100% - 40px);
  width: max-content;
  padding: 13px 18px;
  background: #eee3ff;
  color: #291637;
  border-radius: 13px;
  box-shadow: 0 8px 25px #0006;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.call-view {
  position: fixed;
  inset: 0;
  background: #0a0914;
  z-index: 40;
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.call-top {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(#090710b3, transparent);
}
.call-label {
  background: #1b1328b8;
  padding: 9px 17px;
  text-align: center;
  border-radius: 18px;
  max-width: 60%;
}
.call-label strong {
  display: block;
  font-size: 16px;
}
.call-label small {
  display: block;
  font-size: 11px;
  color: #d9c8e3;
  margin-top: 4px;
}
.call-top .icon-button {
  background: #1b142aba;
  border-color: #ffffff25;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
  min-height: 0;
}
.remote-tile {
  position: relative;
  overflow: hidden;
  background: #151023;
  min-height: 0;
}
.remote-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.remote-tile > span {
  position: absolute;
  bottom: 165px;
  left: 20px;
  font-size: 13px;
  padding: 6px 12px;
  background: #161121a6;
  border-radius: 10px;
}
.video-grid.multi {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
}
.video-grid.multi .remote-tile > span {
  bottom: 14px;
  left: 10px;
}
.video-grid.multi {
  padding-bottom: 156px;
  padding-top: 89px;
  gap: 4px;
}
.local-preview {
  position: absolute;
  top: 108px;
  right: 16px;
  width: 99px;
  height: 143px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ffffff77;
  z-index: 4;
  background: #282039;
  box-shadow: 0 5px 20px #0005;
}
.local-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.local-preview span {
  position: absolute;
  bottom: 7px;
  left: 8px;
  font-size: 10px;
  background: #100b1d80;
  padding: 3px 7px;
  border-radius: 6px;
}
.call-waiting {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background:
    radial-gradient(circle at 50% 30%, #4a28535e, transparent 65%), #151123;
}
.call-waiting h2 {
  font-size: 27px;
  margin-bottom: 12px;
}
.call-waiting p {
  font-size: 13px;
  color: #bcb0cc;
  line-height: 1.6;
  max-width: 265px;
}
.search-orbit {
  width: 105px;
  height: 105px;
  border: 1px solid #9c6ab95c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow:
    0 0 0 18px #b77eff09,
    0 0 0 38px #b77eff05;
  animation: breathe 3s infinite;
}
.search-orbit .icon {
  height: 37px;
  width: 37px;
  color: #cc9af4;
}
.call-bottom {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 15px calc(20px + var(--safe-bottom));
  background: linear-gradient(transparent, #0c081ad9);
}
.call-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-bottom: 13px;
}
.call-actions button {
  border-radius: 25px;
  background: #30243ab8;
  border: 1px solid #ffffff26;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.call-actions .icon {
  height: 17px;
  width: 17px;
}
.call-dock {
  display: flex;
  justify-content: space-around;
  gap: 9px;
  border: 1px solid #ffffff18;
  border-radius: 23px;
  background: #241a36e8;
  padding: 14px 13px;
}
.call-control {
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.call-control > span {
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff16;
}
.call-control.off > span {
  background: #8c465f;
}
.call-control.end > span {
  background: #fa596e;
}
.call-control .icon {
  width: 23px;
  height: 23px;
}
.call-control.end .icon {
  transform: rotate(135deg);
}
.chat-layout {
  height: calc(100dvh - 132px);
  display: flex;
  flex-direction: column;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.chat-header h2 {
  font-size: 20px;
}
.chat-header .muted {
  font-size: 11px;
}
.chat-header .icon-button:last-child {
  margin-left: auto;
}
.messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 12px 0;
  scrollbar-width: thin;
}
.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 92%;
}
.chat-message .avatar {
  width: 27px;
  height: 27px;
}
.chat-message.mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.bubble {
  background: #28203b;
  border-radius: 3px 14px 14px;
  padding: 10px 12px;
  min-width: 90px;
}
.mine .bubble {
  background: #513470;
  border-radius: 14px 3px 14px 14px;
}
.bubble strong {
  font-size: 10px;
  color: #c8a0ed;
  display: block;
  margin-bottom: 5px;
}
.mine .bubble strong {
  color: #e6caff;
}
.bubble p {
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bubble time {
  display: block;
  font-size: 9px;
  color: #b5a4c2;
  margin-top: 6px;
  text-align: right;
}
.message-form {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.message-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid #564469;
  border-radius: 15px;
  padding: 13px;
  background: #1e192d;
  color: white;
}
.message-form button {
  width: 47px;
  border-radius: 14px;
  background: var(--purple);
  color: #23112e;
}
.chat-sheet .messages {
  height: 35dvh;
  min-height: 180px;
}
.chat-empty {
  margin: auto;
  text-align: center;
  color: #aca1be;
  font-size: 12px;
  line-height: 1.6;
  padding: 20px;
}
.status-banner {
  padding: 10px 13px;
  border: 1px solid #94745466;
  background: #a5682220;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.5;
  color: #e6cba6;
  margin-bottom: 18px;
}
.status-banner button {
  font-size: 11px;
  color: #e5bdfb;
  background: none;
  text-decoration: underline;
  margin-left: 7px;
}
.desktop-note {
  display: none;
}
.loading-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: breathe 1s infinite;
  margin-right: 6px;
}
.consent-copy {
  font-size: 12px;
  line-height: 1.65;
  color: #b9accb;
  margin-top: 17px;
}
.invite-code {
  display: block;
  overflow-wrap: anywhere;
  padding: 13px;
  margin: 15px 0;
  background: #0d0b17;
  border-radius: 12px;
  font-size: 12px;
  color: #ddc5ff;
}
.presence-label {
  font-size: 10px;
  color: #bcaccd;
}
.small-note {
  font-size: 11px;
  color: #968ba9;
  line-height: 1.6;
  margin: 13px 0;
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bf8ffa;
  display: inline-block;
  margin-right: 5px;
}
.text-center {
  text-align: center;
}
body.in-call .bottom-nav {
  visibility: hidden;
}
body.in-call .desktop-note {
  opacity: 0.25;
}
.install-link {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #9388a5;
  margin-top: 22px;
}
.modal input[type="checkbox"] {
  accent-color: var(--purple);
}
@keyframes breathe {
  50% {
    opacity: 0.6;
    transform: scale(0.97);
  }
}
@media (min-width: 800px) {
  body {
    background:
      radial-gradient(ellipse at 20% 25%, #30203b80, transparent 50%),
      radial-gradient(ellipse at 90% 70%, #183f4550, transparent 50%), #0b0c15;
  }
  .app-shell {
    border-left: 1px solid #53426744;
    border-right: 1px solid #53426744;
    box-shadow: 0 0 90px #0004;
    margin-left: calc(50% - 70px);
  }
  .bottom-nav {
    left: calc(50% + 170px);
  }
  .desktop-note {
    display: block;
    position: fixed;
    left: max(45px, calc(50% - 465px));
    top: 35%;
    width: 300px;
  }
  .wordmark {
    font-size: 44px;
    letter-spacing: -2px;
    color: white;
    text-decoration: none;
    font-weight: 760;
  }
  .wordmark span {
    color: var(--coral);
  }
  .desktop-note p {
    color: #b7a9c4;
    margin-top: 17px;
    font-size: 14px;
  }
  .note-line {
    height: 1px;
    width: 45px;
    display: block;
    background: #be8cff;
    margin-top: 32px;
  }
  .desktop-note .note-small {
    font-size: 10px;
    line-height: 1.9;
    letter-spacing: 2px;
    color: #746884;
  }
  .modal-backdrop {
    align-items: center;
  }
  .call-view {
    border-left: 1px solid #534267;
    border-right: 1px solid #534267;
  }
}
@media (max-width: 360px) {
  #main {
    padding-left: 15px;
    padding-right: 15px;
  }
  h1 {
    font-size: 34px;
  }
  .feature-card {
    padding: 14px;
  }
  .hero-copy h2 {
    font-size: 24px;
  }
  .nav-item > span {
    padding: 5px 15px;
  }
  .call-control > span {
    width: 45px;
    height: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
[hidden] {
  display: none !important;
}
.page-header {
  margin-bottom: 20px;
}
.intro {
  margin-bottom: 18px;
}
.hero-card {
  min-height: 255px;
  margin-bottom: 12px;
}
.hero-copy h2 {
  margin-top: 60px;
}
.feature-card {
  padding: 14px;
  min-height: 117px;
}
.feature-card h3 {
  margin-bottom: 4px;
}
.feature-card p {
  line-height: 1.35;
}
.feature-card .feature-foot {
  margin-top: 9px;
}
.feature-foot > .icon {
  width: 25px;
  height: 25px;
}
.wide-card {
  min-height: 100px;
  padding: 14px 16px;
}
.wide-card .avatar-stack {
  margin-top: 9px;
}
.feature-card.coral:before,
.feature-card.teal:before,
.wide-card:before {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  transform: none;
  background-image: url(assets/rooms-art.png);
  background-size: 300% 100%;
  background-position: center;
  opacity: 0.25;
}
.feature-card.teal:before,
.wide-card:before {
  background-position: right;
}
.feature-card > * {
  position: relative;
}
.guide-card {
  min-height: 65px;
}
.home-footer {
  margin-top: 14px;
}

/* Keep the five entry points close together on typical Android phone heights. */
@media (max-width: 600px) and (max-height: 850px) {
  #main {
    padding-top: 16px;
  }
  .page-header {
    margin-bottom: 16px;
  }
  .intro h1 {
    font-size: 33px;
  }
  .intro .muted {
    font-size: 12px;
    margin-top: 8px;
  }
  .intro {
    margin-bottom: 16px;
  }
  .hero-card {
    min-height: 215px;
    padding: 15px 14px 13px;
  }
  .hero-copy h2 {
    margin-top: 39px;
    font-size: 24px;
  }
  .hero-copy p {
    margin-top: 6px;
  }
  .hero-card .primary {
    min-height: 45px;
    margin-top: 12px;
  }
  .feature-grid {
    gap: 10px;
  }
  .feature-card {
    min-height: 103px;
    padding: 12px;
  }
  .feature-card h3 {
    font-size: 17px;
  }
  .feature-card p {
    font-size: 11px;
  }
  .feature-card .feature-foot {
    margin-top: 7px;
  }
  .feature-foot > .icon {
    width: 23px;
    height: 23px;
  }
  .wide-card {
    min-height: 87px;
    padding: 12px 15px;
  }
  .wide-card .avatar-stack {
    margin-top: 6px;
  }
  .guide-card {
    min-height: 59px;
    padding: 11px 14px;
  }
}
