:root {
  color-scheme:dark;
  --bg:#101923;
  --panel:#192632;
  --panel2:#21323f;
  --ink:#f0f4f7;
  --muted:#a0b1bf;
  --line:#2b3c4a;
  --ice:#b7deef;
  --copper:#d6a77c;
  --cyan:#39dfff;
  --green:#6fffa4;
  --text:var(--ink);
  --radius:20px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:15px;
  font-synthesis:none
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased
}

button,input {
  font:inherit
}

button,a,input {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer;
  color:inherit;
  border:0;
  background:none
}

button:disabled {
  opacity:.55;
  cursor:wait
}

a {
  color:inherit;
  text-decoration:none
}

button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid var(--ice);
  outline-offset:4px
}

button {
  touch-action:manipulation
}

h1,h2,p {
  margin:0
}

h1 {
  font-size:30px;
  line-height:1.16;
  letter-spacing:-1.1px;
  font-weight:650
}

h2 {
  font-size:22px;
  letter-spacing:-.5px
}

small {
  font-size:12px
}

input:not([type=radio]):not([type=checkbox]):not([type=hidden]) {
  width:100%;
  background:#16222d;
  color:var(--ink);
  border:1px solid #3c4e5d;
  border-radius:13px;
  padding:15px 16px;
  font-size:16px;
  min-height:51px
}

input::placeholder {
  color:#8296a7
}

label {
  display:block
}

fieldset {
  border:0;
  padding:0;
  margin:28px 0 0;
  min-width:0
}

legend {
  font-size:17px;
  font-weight:600;
  width:100%;
  margin-bottom:13px
}

legend span {
  float:right;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  padding-top:3px
}

.eyebrow {
  font-size:10px;
  letter-spacing:2px;
  font-weight:650;
  color:var(--muted)
}

.wordmark {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:39px;
  font-weight:750;
  letter-spacing:-2.5px;
  line-height:1
}

.wordmark span {
  color:var(--ice);
  font-size:29px;
  margin-left:2px
}

.primary,.secondary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:14px;
  min-height:53px;
  padding:14px 20px;
  font-weight:600;
  font-size:15px;
  width:100%
}

.primary {
  background:var(--ice);
  color:#12232f
}

.primary span {
  margin-left:auto;
  font-size:22px;
  line-height:1
}

.primary:hover {
  background:#ceeaf6
}

.secondary {
  background:#253745;
  color:var(--ink);
  border:1px solid #435767
}

.text-button {
  min-height:44px;
  padding:10px 4px;
  font-size:13px;
  color:var(--ice)
}

.subdued {
  color:var(--muted)
}

.intro {
  color:var(--muted);
  line-height:1.7;
  margin:12px 0 26px;
  font-size:14px
}

.form-error {
  color:#ffc0b9;
  font-size:13px;
  line-height:1.5;
  margin-top:12px
}

.form-error:empty {
  display:none
}

.privacy-note {
  font-size:10px;
  line-height:1.6;
  color:var(--muted);
  text-align:center;
  margin:20px 0 6px
}

.tiny-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--ice);
  vertical-align:middle;
  margin-right:6px
}

.app-shell {
  max-width:480px;
  margin:auto;
  min-height:100dvh;
  border-inline:1px solid #1c2a35
}

.app-header {
  height:88px;
  padding:26px 24px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between
}

.status-pill {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #455460;
  border-radius:24px;
  padding:10px 14px;
  min-height:42px;
  font-size:12px;
  color:#c1ced7
}

.status-pill i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#a0b1bf
}

.status-pill.is-online {
  border-color:#456171;
  background:#1c303d;
  color:var(--ice)
}

.status-pill.is-online i {
  background:var(--ice);
  box-shadow:0 0 0 4px #b7deef0d
}

main {
  padding:10px 24px calc(98px + env(safe-area-inset-bottom))
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}

.section-heading .eyebrow {
  margin-bottom:9px
}

.demo-label {
  font-size:9px;
  letter-spacing:1px;
  border:1px solid #415262;
  color:var(--muted);
  padding:5px 7px;
  border-radius:5px;
  align-self:flex-start;
  margin-top:2px
}

.preference-summary {
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  gap:10px;
  font-size:12px;
  color:var(--muted);
  padding:13px 0;
  min-height:44px;
  border-bottom:1px solid var(--line)
}

.preference-summary span:first-child {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.preference-summary span:last-child {
  color:var(--ice);
  font-size:18px
}

.view-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0 4px;
  font-size:11px;
  color:var(--muted)
}

.segmented {
  display:flex;
  border:1px solid var(--line);
  border-radius:10px;
  background:#14202b;
  padding:3px;
  gap:1px
}

.segmented button {
  font-size:11px;
  min-height:33px;
  padding:5px 13px;
  border-radius:7px;
  color:var(--muted)
}

.segmented button[aria-pressed=true] {
  background:#2a3d4b;
  color:var(--ink)
}

.radar-wrap {
  margin:7px -9px 0;
  position:relative
}

.radar {
  position:relative;
  width:100%;
  aspect-ratio:1;
  isolation:isolate
}

.radar-grid {
  position:absolute;
  inset:12px;
  border-radius:50%;
  background:radial-gradient(circle,#223b4c3d 0,#1727341f 68%,transparent 69%)
}

.radar-ring {
  position:absolute;
  border:1px solid #3a52614f;
  border-radius:50%;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%)
}

.ring-1 {
  width:32%;
  height:32%
}

.ring-2 {
  width:65%;
  height:65%
}

.ring-3 {
  width:94%;
  height:94%;
  border-style:dashed;
  border-color:#3b52624a
}

.axis {
  position:absolute;
  background:#354b5a35
}

.horizontal {
  height:1px;
  left:4%;
  right:4%;
  top:50%
}

.vertical {
  width:1px;
  top:4%;
  bottom:4%;
  left:50%
}

.cardinal {
  position:absolute;
  font:10px ui-monospace,SFMono-Regular,monospace;
  color:#a2b6c6;
  background:var(--bg);
  padding:3px
}

.north {
  top:-8px;
  left:50%;
  transform:translateX(-50%)
}

.south {
  bottom:-8px;
  left:50%;
  transform:translateX(-50%)
}

.east {
  right:-8px;
  top:50%;
  transform:translateY(-50%)
}

.west {
  left:-8px;
  top:50%;
  transform:translateY(-50%)
}

.you-marker {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  width:30px;
  z-index:2
}

.you-marker>span {
  display:block;
  width:11px;
  height:11px;
  background:var(--ice);
  border:3px solid #ecf8fe;
  border-radius:50%;
  margin:auto;
  box-shadow:0 0 0 8px #b7deef10,0 0 0 17px #b7deef06
}

.you-marker small {
  position:absolute;
  top:22px;
  left:0;
  right:0;
  font-size:10px;
  color:var(--muted)
}

.avatar {
  display:flex;
  flex:none;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#2b4555;
  border:1px solid #527287;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:550;
  letter-spacing:.5px;
  color:#d6e8f3;
  position:relative;
  overflow:hidden
}

.avatar:before {
  content:"";
  position:absolute;
  width:140%;
  height:140%;
  border:1px solid #ffffff09;
  border-radius:50%;
  left:14%;
  top:21%
}

.tone-1 {
  background:#334752;
  border-color:#698392;
  color:#e0edf4
}

.tone-2 {
  background:#413b39;
  border-color:#8b7770;
  color:#efddd2
}

.tone-3 {
  background:#383e52;
  border-color:#707a9d;
  color:#e0e4f5
}

.tone-4 {
  background:#344741;
  border-color:#718b7f;
  color:#d7ece3
}

.tone-0 {
  background:#413c4d;
  border-color:#867893;
  color:#eadef3
}

.radar-person {
  position:absolute;
  transform:translate(-50%,-50%);
  width:48px;
  height:48px;
  padding:2px;
  border-radius:50%;
  z-index:3
}

.radar-person .avatar {
  width:44px;
  height:44px;
  font-size:12px
}

.radar-person.selected {
  outline:1px solid var(--ice);
  outline-offset:4px
}

.radar-person.selected .avatar {
  box-shadow:0 0 22px #b7deef15
}

.marker-label {
  position:absolute;
  top:54px;
  left:50%;
  transform:translateX(-50%);
  font-size:9px;
  color:#b5c4ce;
  white-space:nowrap
}

.mutual-dot {
  position:absolute;
  right:1px;
  top:2px;
  width:8px;
  height:8px;
  background:var(--ice);
  border-radius:50%;
  border:2px solid var(--bg)
}

.radar-caption {
  display:flex;
  justify-content:space-between;
  gap:6px;
  font-size:9px;
  color:var(--muted);
  margin:12px 0 19px
}

.radar-caption .tiny-dot {
  width:4px;
  height:4px;
  margin-right:4px
}

.spotlight {
  display:flex;
  align-items:center;
  text-align:left;
  width:100%;
  padding:16px;
  gap:13px;
  border-radius:18px;
  border:1px solid #3c5362;
  background:linear-gradient(115deg,#243847,#1a2935)
}

.large {
  width:52px;
  height:52px;
  font-size:15px
}

.spotlight-copy {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  font-size:11px;
  color:#b3c3ce
}

.alias {
  font-size:17px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:-.3px
}

.age {
  font-weight:400;
  color:var(--muted);
  font-size:13px;
  margin-left:3px
}

.sep {
  margin-inline:4px;
  color:var(--muted)
}

.mutual-text {
  font-size:10px;
  color:var(--ice)
}

.quiet-text {
  font-size:10px;
  color:#b7c5d0
}

.direction-arrow {
  display:inline-block;
  color:var(--ice);
  margin-right:2px
}

.open-arrow {
  margin-left:auto;
  font-size:23px;
  color:var(--ice)
}

.all-profiles {
  display:block;
  width:100%;
  padding-bottom:0
}

.bottom-nav {
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(100%,480px);
  display:flex;
  justify-content:space-around;
  padding:10px 18px max(10px,env(safe-area-inset-bottom));
  background:#121e28f5;
  border-top:1px solid #2a3a48;
  z-index:5;
  backdrop-filter:blur(16px)
}

.bottom-nav button {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:76px;
  min-height:44px;
  color:#9aafbf;
  font-size:10px
}

.bottom-nav button[aria-current=page] {
  color:var(--ice)
}

.bottom-nav svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round
}

.bottom-nav button[aria-current=page]:before {
  content:"";
  position:absolute;
  width:30px;
  height:2px;
  top:-13px;
  background:var(--ice);
  border-radius:2px
}

.bottom-nav i {
  position:absolute;
  top:-3px;
  right:19px;
  font-style:normal;
  font-size:9px;
  border-radius:10px;
  min-width:15px;
  height:15px;
  background:var(--ice);
  color:#142530;
  padding:2px
}

.bottom-nav i[hidden] {
  display:none
}

.me-section,.chats-section {
  padding-top:9px
}

.me-section>.eyebrow,.chats-section>.eyebrow {
  margin-bottom:11px
}

.me-section h1 {
  font-size:29px
}

.me-section form>label {
  font-size:13px;
  color:var(--muted);
  margin-bottom:9px
}

.type-options {
  display:flex;
  flex-wrap:wrap;
  gap:9px
}

.type-chip {
  position:relative
}

.type-chip input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}

.type-chip span {
  display:block;
  padding:12px 17px;
  border:1px solid #405361;
  border-radius:12px;
  background:#192732;
  font-size:13px;
  min-height:44px;
  cursor:pointer
}

.type-chip input:checked+span {
  background:var(--ice);
  border-color:var(--ice);
  color:#142835;
  font-weight:600
}

.type-chip input:focus-visible+span {
  outline:2px solid var(--ice);
  outline-offset:3px
}

.select-all {
  font-size:12px;
  margin-top:3px
}

.profile-help {
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
  margin:16px 0 21px
}

.logout-form {
  text-align:center;
  margin-top:18px
}

.people-list {
  margin-top:14px
}

.person-row {
  display:flex;
  align-items:center;
  gap:13px;
  padding:17px 0;
  border-bottom:1px solid var(--line);
  width:100%;
  text-align:left;
  min-width:0
}

.person-row>span:nth-child(2) {
  flex:1;
  min-width:0
}

.person-row strong,.request-card strong {
  font-size:15px;
  font-weight:550;
  display:block
}

.person-row em {
  font-size:12px;
  color:var(--muted);
  font-style:normal;
  font-weight:400;
  margin-left:4px
}

.person-row small,.request-card small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:7px;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
  line-height:1.4
}

.row-end {
  display:flex;
  gap:5px;
  align-items:center
}

.row-end>span {
  font-size:19px;
  color:var(--ice)
}

.list-heading {
  font-size:13px;
  font-weight:550;
  letter-spacing:0;
  margin:30px 0 13px;
  color:#b5c6d2
}

.list-heading span {
  margin-left:7px;
  color:var(--ice)
}

.request-card {
  display:flex;
  gap:14px;
  align-items:center;
  text-align:left;
  width:100%;
  border:1px solid #415563;
  background:#1a2b37;
  border-radius:17px;
  padding:18px
}

.request-indicator {
  display:block;
  font-size:12px;
  color:var(--ice);
  margin-top:13px
}

.request-indicator span {
  margin-left:8px
}

.empty {
  text-align:center;
  padding:65px 10px
}

.empty h2 {
  font-size:19px;
  line-height:1.4
}

.empty p {
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  margin:12px 0 23px
}

.empty.compact {
  padding:23px 5px
}

.empty-chat {
  font-size:80px;
  line-height:1;
  color:#59768a
}

.empty .secondary {
  max-width:230px;
  margin:auto
}

dialog {
  position:fixed;
  inset:auto 0 0;
  margin:0 auto;
  width:min(100%,480px);
  max-width:480px;
  max-height:90dvh;
  background:#192632;
  color:var(--ink);
  border:1px solid #3c505f;
  border-bottom:0;
  border-radius:26px 26px 0 0;
  padding:12px 26px calc(22px + env(safe-area-inset-bottom));
  box-shadow:0 -20px 90px #0006
}

dialog::backdrop {
  background:#060e17b8;
  backdrop-filter:blur(4px)
}

.sheet-handle {
  height:4px;
  width:35px;
  border-radius:4px;
  background:#5c6c78;
  margin:0 auto 21px
}

.close-sheet {
  position:absolute;
  right:16px;
  top:16px;
  font-size:26px;
  color:#b4c5d2;
  width:44px;
  height:44px
}

.profile-top {
  text-align:center
}

.hero-avatar {
  width:88px;
  height:88px;
  font-size:25px;
  margin:10px auto 22px
}

.profile-top .eyebrow {
  font-size:9px;
  letter-spacing:1.6px;
  margin-bottom:13px
}

.profile-top h2 {
  font-size:30px;
  letter-spacing:-.8px
}

.profile-top h2>span {
  font-size:19px;
  font-weight:400;
  color:var(--muted)
}

.profile-top>p:last-child {
  font-size:12px;
  color:var(--muted);
  margin-top:11px
}

.bio {
  font-size:15px;
  line-height:1.8;
  text-align:center;
  margin:24px 8px
}

.interests-line {
  padding:18px 0;
  border-top:1px solid #354858;
  border-bottom:1px solid #354858;
  display:flex;
  align-items:center;
  gap:15px;
  font-size:12px;
  color:var(--muted)
}

.interests-line>span {
  white-space:nowrap
}

.interests-line>div {
  display:flex;
  gap:6px;
  flex-wrap:wrap
}

.mini-chip {
  display:inline-block;
  border:1px solid #4c5d6a;
  padding:7px 10px;
  border-radius:8px;
  font-size:11px
}

.mini-chip.highlight {
  border-color:#7398aa;
  color:var(--ice);
  background:#29424f
}

.connection-note {
  color:#bbccd8;
  text-align:center;
  font-size:12px;
  line-height:1.7;
  margin:20px 0
}

.sheet-foot {
  font-size:10px;
  color:var(--muted);
  text-align:center;
  margin:12px 0 2px
}

dialog>.text-button {
  display:block;
  margin:auto
}

.conversation {
  margin:-2px -7px 0;
  display:flex;
  flex-direction:column;
  height:calc(100dvh - 201px - env(safe-area-inset-bottom));
  min-height:400px
}

.conversation-header {
  display:flex;
  gap:10px;
  align-items:center;
  padding-bottom:18px;
  border-bottom:1px solid var(--line)
}

.conversation-header .avatar {
  width:40px;
  height:40px;
  font-size:11px
}

.conversation-header h1 {
  font-size:16px;
  letter-spacing:0
}

.conversation-header p {
  color:var(--muted);
  font-size:11px;
  margin-top:5px
}

.icon-button {
  width:35px;
  min-height:44px;
  flex-shrink:0;
  font-size:23px;
  padding:0;
  color:#b7ccd9
}

.chat-more {
  margin-left:auto
}

.message-stream {
  flex:1;
  overflow-y:auto;
  padding:22px 1px;
  display:flex;
  flex-direction:column;
  gap:12px;
  overscroll-behavior:contain
}

.chat-disclaimer {
  text-align:center;
  color:var(--muted);
  font-size:10px;
  line-height:1.8;
  margin:0 0 21px
}

.bubble {
  font-size:14px;
  line-height:1.6;
  max-width:86%;
  padding:13px 16px;
  overflow-wrap:anywhere;
  white-space:pre-wrap
}

.bubble.incoming {
  align-self:flex-start;
  background:#263744;
  border-radius:17px 17px 17px 4px
}

.bubble.outgoing {
  align-self:flex-end;
  background:#b7deef;
  color:#132734;
  border-radius:17px 17px 4px 17px
}

.composer {
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 0 6px;
  border-top:1px solid var(--line)
}

.composer input,
.composer #message {
  min-width:0;
  min-height:46px;
  height:46px;
  padding:11px 16px;
  border-radius:23px
}

.composer button[type=submit] {
  flex:none;
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--ice);
  color:#172b38;
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0
}

.chat-wait {
  text-align:center;
  padding:25px 7px
}

.chat-wait h2 {
  font-size:23px
}

.chat-wait>p {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  margin:14px 0 25px
}

.chat-wait>.primary {
  margin-bottom:6px
}

.demo-control {
  border:1px dashed #4a606f;
  border-radius:17px;
  padding:22px 18px;
  margin-top:30px
}

.demo-control p {
  font-size:12px;
  color:var(--muted);
  margin:12px 0 20px
}

.demo-control .eyebrow {
  font-size:9px;
  letter-spacing:1.5px
}

#toast {
  position:fixed;
  left:50%;
  /* Top of the screen, under the header. At the bottom it sat on the radar and hid the compass heading. */
  top:calc(56px + env(safe-area-inset-top));
  width:max-content;
  max-width:calc(100% - 32px);
  transform:translate(-50%,-12px);
  padding:13px 18px;
  background:#d7eaf3;
  color:#172b38;
  border-radius:13px;
  font-size:13px;
  line-height:1.4;
  box-shadow:0 10px 30px #0005;
  opacity:0;
  transition:opacity .15s,transform .15s;
  pointer-events:none;
  z-index:30
}

#toast.show {
  opacity:1;
  transform:translate(-50%,0)
}

.loading {
  color:var(--muted);
  text-align:center;
  padding-top:100px
}

.sr-only {
  position:absolute!important;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}

.noscript {
  padding:24px;
  text-align:center
}

.login-body {
  background:radial-gradient(ellipse at 50% 20%,#243b4b44,transparent 60%),var(--bg)
}

.login-shell {
  max-width:420px;
  min-height:100dvh;
  padding:28px 28px 22px;
  margin:auto
}

.login-top {
  display:flex;
  align-items:center;
  justify-content:space-between
}

.login-top .eyebrow {
  font-size:9px;
  letter-spacing:1.7px
}

.login-art {
  height:184px;
  max-width:280px;
  margin:25px auto 20px;
  position:relative
}

.orbit {
  position:absolute;
  border:1px solid #4964774d;
  border-radius:50%;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%)
}

.o1 {
  width:90px;
  height:90px
}

.o2 {
  width:150px;
  height:150px
}

.o3 {
  width:206px;
  height:206px;
  border-style:dashed;
  border-color:#3b52624a
}

.art-center {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size:38px;
  font-weight:600;
  letter-spacing:-2px;
  color:var(--ice)
}

.art-n {
  position:absolute;
  left:50%;
  top:-5px;
  font:9px ui-monospace,monospace;
  color:var(--muted)
}

.art-dot {
  position:absolute;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#59798d;
  border:2px solid #b7deef;
  box-shadow:0 0 0 5px #b7deef0a
}

.d1 {
  left:25%;
  top:25%
}

.d2 {
  right:19%;
  top:55%;
  background:#79655c;
  border-color:var(--copper)
}

.d3 {
  left:40%;
  bottom:12%;
  width:7px;
  height:7px
}

.login-copy .eyebrow {
  font-size:9px;
  letter-spacing:1.7px;
  margin-bottom:12px
}

.login-copy h1 {
  font-size:38px;
  letter-spacing:-1.5px;
  line-height:1.12
}

.login-copy>p:last-child {
  font-size:13px;
  color:var(--muted);
  line-height:1.7;
  margin-top:14px
}

.login-form {
  margin-top:27px
}

.login-form label {
  font-size:12px;
  color:#b9c8d2;
  margin:16px 0 8px
}

.login-form .primary {
  margin-top:24px
}

.login-form .remember-option {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  margin:8px 0 -8px;
  color:#d7e3ea;
  cursor:pointer
}

.login-form .remember-option input {
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:0;
  accent-color:var(--ice)
}

.login-form .remember-option span {
  line-height:20px
}

.login-foot {
  text-align:center;
  color:#c0cdd6;
  font-size:10px;
  line-height:1.9;
  margin-top:24px
}

.login-foot span {
  color:var(--muted)
}

@media(min-width:700px) {
  body:not(.login-body) {
    background:radial-gradient(ellipse at 20% 15%,#2a435644,transparent 50%),radial-gradient(ellipse at 90% 90%,#473f4433,transparent 60%),#0b131b
  }

  .app-shell {
    background:var(--bg);
    box-shadow:0 0 100px #0003
  }

  .login-shell {
    padding-top:45px;
    max-width:430px
  }

  .login-art {
    height:190px;
    margin-top:35px
  }

  .login-copy h1 {
    font-size:43px
  }

  .login-body {
    background:radial-gradient(ellipse at 50% 30%,#29465866,transparent 55%),#0b131b
  }

  dialog {
    bottom:24px;
    border-bottom:1px solid #3c505f;
    border-radius:26px
  }

  .radar-wrap {
    margin-top:14px
  }

  .radar-caption {
    margin-top:15px
  }
}

@media(max-width:360px) {
  main {
    padding-inline:18px
  }

  .app-header {
    padding-inline:18px
  }

  h1 {
    font-size:27px
  }

  .type-chip span {
    padding-inline:14px
  }

  .radar-person .avatar {
    width:40px;
    height:40px
  }

  .radar-person {
    width:44px;
    height:44px
  }

  .marker-label {
    top:48px
  }

  .spotlight {
    padding:13px;
    gap:10px
  }

  .alias {
    font-size:15px
  }

  .large {
    width:45px;
    height:45px
  }

  .radar-caption {
    font-size:8px
  }

  .login-copy h1 {
    font-size:34px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important
  }
}

/* Keep the selected person above the thumb navigation on a typical phone. */
@media(min-width:361px) and (max-width:699px) {
  .radar-wrap{max-width:328px;
  margin-inline:auto}.discover .privacy-note{margin-top:12px}
}

/* GaydarLove: personal circles and optional reciprocal discovery. */
.wordmark {
  font-size:29px;
  letter-spacing:-1.4px
}

.wordmark span {
  font-size:23px
}

.login-top .eyebrow {
  font-size:8px;
  letter-spacing:1px
}

.login-top {
  gap:14px
}

.login-art .art-center {
  font-size:49px
}

.discovery-filters {
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:12px;
  min-height:36px
}

.reciprocal-filter {
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid #486072;
  border-radius:18px;
  min-height:36px;
  padding:7px 11px;
  font-size:11px;
  white-space:nowrap;
  color:#c5d6e2
}

.reciprocal-filter.enabled {
  background:#b7deef;
  color:#112634;
  border-color:#b7deef
}

.filters-chip {
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid #486072;
  border-radius:18px;
  min-height:36px;
  padding:7px 11px;
  font-size:11px;
  white-space:nowrap;
  color:#c5d6e2
}

.filters-chip.enabled {
  background:#b7deef;
  color:#112634;
  border-color:#b7deef
}

.filter-check {
  font-size:14px;
  line-height:1
}

.discovery-filters>small {
  font-size:9px;
  line-height:1.5;
  color:var(--muted)
}

.avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.avatar:has(img):before {
  display:none
}

.avatar img.obscured {
  filter:blur(14px);
  transform:scale(1.3);
  opacity:.5
}

.sensitive-cover {
  position:absolute;
  font-size:11px;
  background:#152430b8;
  padding:4px 7px;
  border-radius:7px;
  color:var(--ink)
}

.you-marker.with-avatar {
  width:36px;
  height:36px
}

.you-marker.with-avatar>.avatar {
  width:36px;
  height:36px;
  border:2px solid var(--ice);
  border-radius:50%;
  padding:0;
  box-shadow:0 0 0 5px #b7deef0d
}

.you-marker.with-avatar small {
  top:44px
}

.you-marker .sensitive-cover {
  font-size:8px;
  padding:2px
}

.avatar-editor {
  display:flex;
  align-items:center;
  gap:18px
}

.editor-avatar {
  width:84px;
  height:84px;
  font-size:24px;
  box-shadow:0 0 0 5px #b7deef09
}

.avatar-editor>div:last-child {
  flex:1
}

.upload-button {
  font-size:13px;
  min-height:44px;
  padding:10px 14px;
  cursor:pointer;
  width:max-content
}

.upload-button:focus-within {
  outline:2px solid var(--ice)
}

#photo-upload:focus-visible+.upload-button {
  outline:2px solid var(--ice)
}

#photo-status {
  font-size:11px;
  line-height:1.5;
  color:var(--muted);
  margin-top:9px
}

.sensitive-option {
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:18px;
  font-size:12px;
  color:#ccd8e1;
  min-height:44px;
  cursor:pointer
}

.sensitive-option input {
  accent-color:var(--ice);
  width:17px;
  height:17px;
  margin:1px 0
}

.sensitive-option small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:6px;
  line-height:1.5
}

.avatar-caption {
  color:var(--muted);
  font-size:12px;
  margin:21px 0 13px
}

.avatar-options {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px 8px;
  padding:10px 2px
}

.avatar-choice {
  display:flex;
  align-items:center;
  flex-direction:column;
  position:relative;
  cursor:pointer;
  gap:8px;
  min-width:0
}

.avatar-choice>input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}

.avatar-choice>.avatar {
  width:48px;
  height:48px;
  transition:box-shadow .15s
}

.avatar-choice>span:last-child:not(.avatar) {
  font-size:10px;
  color:var(--muted)
}

.avatar-choice input:checked+.avatar {
  outline:2px solid var(--ice);
  outline-offset:3px
}

.avatar-choice input:checked~span:last-child {
  color:var(--ice)
}

.avatar-choice input:focus-visible+.avatar {
  outline:2px dashed white;
  outline-offset:5px
}

.avatar-picker {
  margin-top:12px
}

.avatar-picker summary {
  cursor:pointer;
  color:var(--ice);
  font-size:12px;
  min-height:44px;
  padding:14px 0
}

.avatar-picker[open] summary {
  margin-bottom:10px
}

.profile-top .hero-avatar {
  width:106px;
  height:106px
}

.profile-top .hero-avatar .sensitive-cover {
  font-size:14px;
  padding:7px 10px
}

.spotlight-copy>span:nth-child(2) {
  line-height:1.5
}

.me-section .avatar-field {
  margin-top:26px
}

.me-section fieldset {
  margin-top:25px
}

@media(min-width:361px) and (max-width:699px) {
  .radar-wrap {
    max-width:286px
  }

  .radar-caption {
    margin-top:10px
  }
}

@media(max-width:360px) {
  .wordmark {
    font-size:25px
  }

  .login-top .eyebrow {
    font-size:7px;
    letter-spacing:.5px
  }

  .avatar-options {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }

  .discovery-filters>small {
    font-size:8px
  }

  .radar-wrap {
    max-width:272px;
    margin-inline:auto
  }
}

.sr-only {
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  padding:0!important;
  border:0!important
}

.avatar-editor:has(#photo-upload:focus-visible) .upload-button {
  outline:2px solid var(--ice);
  outline-offset:3px
}

/* Swipe the scene: the upper profile arc and lower compass share one heading. */
.direction-stage {
  touch-action:pan-y pinch-zoom;
  user-select:none;
  -webkit-user-select:none;
  margin-top:14px;
  cursor:grab
}

.direction-stage:active {
  cursor:grabbing
}

.direction-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 5px
}

.direction-summary .eyebrow {
  font-size:9px;
  letter-spacing:1.7px;
  color:var(--ice)
}

.facing-count {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:5px
}

.heading-number {
  font:17px ui-monospace,SFMono-Regular,monospace;
  color:#d4e7f1
}

.profile-arc {
  position:relative;
  height:167px;
  overflow:hidden;
  margin:0 -7px
}

.arc-guide {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  fill:none;
  stroke:#5674883b;
  stroke-width:1
}

.arc-guide path:last-child {
  stroke-dasharray:2 6;
  opacity:.6
}

.arc-profile {
  position:absolute;
  transform:translate(-50%,0) scale(var(--profile-scale));
  width:70px;
  text-align:center;
  padding:0;
  transform-origin:top center;
  touch-action:pan-y pinch-zoom
}

.arc-profile .avatar {
  width:65px;
  height:65px;
  margin:0 auto 8px;
  border:2px solid #71899a;
  box-shadow:0 5px 15px #0004
}

.arc-profile.active .avatar {
  border-color:var(--ice);
  box-shadow:0 0 0 4px #b7deef15
}

.arc-name {
  display:block;
  font-size:10px;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.arc-distance {
  font:9px ui-monospace,monospace;
  display:block;
  color:var(--muted);
  margin-top:3px
}

.direction-empty {
  text-align:center;
  padding:54px 15px;
  color:var(--muted);
  font-size:13px;
  line-height:1.8
}

.direction-empty span {
  font-size:11px
}

.swipe-cue {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  font-size:10px;
  color:#a4bac9;
  padding:4px 0 9px
}

.swipe-cue>span {
  font-size:17px;
  color:var(--ice)
}

.compass-field {
  display:flex;
  align-items:center;
  height:160px;
  gap:9px;
  position:relative;
  border-bottom:1px solid #34495570
}

.dot-field {
  position:relative;
  width:calc(100% - 78px);
  height:156px
}

.dot-rings {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  fill:none;
  stroke:#3f5b6d60;
  stroke-width:1
}

.dot-rings .view-cone {
  fill:#b7deef09;
  stroke:#b7deef19;
  stroke-dasharray:3 5
}

.dot-origin {
  position:absolute;
  left:50%;
  top:50%;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#e0f4fe;
  transform:translate(-50%,-50%);
  box-shadow:0 0 0 4px #b7deef13
}

.distance-dot {
  position:absolute;
  transform:translate(-50%,-50%);
  width:32px;
  height:32px;
  border-radius:50%;
  padding:0;
  z-index:1
}

.distance-dot>span {
  display:block;
  width:var(--dot-size);
  height:var(--dot-size);
  margin:auto;
  background:#68869a;
  border:1px solid #8eacbf;
  border-radius:50%;
  box-shadow:0 2px 5px #0003
}

.distance-dot.in-view>span {
  background:#bddbeb;
  border-color:#e3f3fb
}

.distance-dot.selected {
  z-index:2
}

.distance-dot.selected>span {
  background:#e3bf98;
  border-color:#f0d7bc;
  outline:1px solid #d6a77c;
  outline-offset:3px
}

.corner-compass {
  position:relative;
  width:70px;
  height:70px;
  flex:none;
  margin-right:1px
}

.compass-rose {
  position:absolute;
  inset:0
}

.compass-rose svg {
  width:100%;
  height:100%;
  fill:none;
  stroke:#5c7b8e;
  stroke-width:1
}

.compass-rose svg>path {
  opacity:.55
}

.compass-rose .rose-north {
  fill:#b7deef;
  stroke:none;
  opacity:.8
}

.compass-rose span {
  position:absolute;
  background:var(--bg);
  font:9px ui-monospace,monospace;
  padding:2px;
  color:#b6cbd8
}

.rose-n {
  top:-4px;
  left:50%;
  transform:translateX(-50%);
  color:var(--ice)!important
}

.rose-e {
  right:-3px;
  top:50%;
  transform:translateY(-50%)
}

.rose-s {
  bottom:-4px;
  left:50%;
  transform:translateX(-50%)
}

.rose-w {
  left:-3px;
  top:50%;
  transform:translateY(-50%)
}

.compass-needle {
  position:absolute;
  left:50%;
  top:-13px;
  transform:translateX(-50%);
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:7px solid var(--copper)
}

.compass-center {
  position:absolute;
  left:50%;
  top:50%;
  width:4px;
  height:4px;
  background:var(--ice);
  border-radius:50%;
  transform:translate(-50%,-50%)
}

.compass-caption {
  position:absolute;
  top:84px;
  width:100%;
  text-align:center;
  font:10px ui-monospace,monospace;
  color:var(--ice)
}

.distance-legend {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:9px;
  padding:11px 0 3px
}

.distance-legend>span {
  display:flex;
  align-items:center;
  gap:5px
}

.distance-legend>span:last-child {
  margin-left:auto;
  font-size:8px
}

.legend-dot {
  display:inline-block;
  background:#bddbeb;
  border-radius:50%
}

.legend-dot.near {
  width:9px;
  height:9px
}

.legend-dot.far {
  width:4px;
  height:4px
}

.heading-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin:0 0 10px
}

.heading-controls button {
  font-size:18px;
  color:var(--ice);
  width:44px;
  height:36px
}

.heading-controls>span {
  font-size:10px;
  color:var(--muted)
}

.profile-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
  margin:15px -13px 0
}

.grid-profile {
  position:relative;
  display:flex;
  align-items:flex-start;
  aspect-ratio:1/1.1;
  overflow:hidden;
  border-radius:9px;
  background:#263b49;
  text-align:left;
  padding:0;
  border:1px solid #365061
}

.grid-profile>.grid-image {
  width:100%;
  height:auto;
  aspect-ratio:1;
  border:0;
  border-radius:0;
  font-size:30px
}

/* Sprite-sheet images position themselves; object-fit:cover would recentre and rescale the whole sheet. */
.grid-profile>.grid-image>img:not(.photo-tile):not(.photo-sheet):not(.body-tile) {
  object-fit:cover
}

.grid-overlay {
  position:absolute;
  inset:auto 0 0;
  padding:24px 8px 8px;
  background:linear-gradient(transparent,#07111de8);
  z-index:1
}

.grid-name {
  display:block;
  font-size:11px;
  color:white;
  line-height:1.3;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-shadow:0 1px 4px #000
}

.grid-new {
  display:inline-block;
  margin-bottom:3px;
  padding:2px 5px;
  border-radius:999px;
  background:#a5eeff;
  color:#071c2a;
  font:700 8px/1.2 ui-monospace,monospace;
  letter-spacing:.7px;
  text-transform:uppercase;
  box-shadow:0 1px 5px #00101880
}

.grid-meta {
  display:block;
  font-size:8px;
  color:#d3e0e9;
  line-height:1.5;
  margin-top:3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.grid-mutual {
  position:absolute;
  top:8px;
  right:8px;
  border:1px solid #26404d;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#d0eaf7;
  box-shadow:0 1px 4px #0008
}

.public-photo-label {
  position:absolute;
  top:7px;
  left:6px;
  font-size:7px;
  padding:3px 4px;
  background:#112635a6;
  color:#fff;
  border-radius:4px;
  z-index:1
}

.avatar>.photo-tile {
  position:absolute;
  width:200%;
  height:200%;
  max-width:none;
  object-fit:fill
}

.photo-tile.tile-0 {
  left:0;
  top:0
}

.photo-tile.tile-1 {
  left:-100%;
  top:0
}

.photo-tile.tile-2 {
  left:0;
  top:-100%
}

.photo-tile.tile-3 {
  left:-100%;
  top:-100%
}

.grid-profile:focus-visible {
  outline-offset:1px;
  z-index:3
}

@media(max-width:360px) {
  .profile-arc {
    height:159px
  }

  .arc-profile {
    width:60px
  }

  .arc-profile .avatar {
    width:55px;
    height:55px
  }

  .arc-name {
    font-size:9px
  }

  .distance-legend {
    gap:8px
  }

  .grid-name {
    font-size:10px
  }

  .profile-grid {
    margin-inline:-10px
  }

  .compass-field {
    height:150px
  }

  .dot-field {
    height:146px
  }
}

.discover .section-heading .eyebrow {
  display:none
}

.discover .section-heading h1 {
  font-size:26px
}

.discover .section-heading {
  min-height:36px
}

.direction-stage img {
  -webkit-user-drag:none;
  pointer-events:none
}

/* A round, centered radar with a quieter distance scale. */
.compass-field {
  display:block;
  width:min(100%,260px);
  height:auto;
  aspect-ratio:1;
  margin:5px auto 0;
  border:0;
  border-radius:50%;
  isolation:isolate
}

.dot-field {
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  border-radius:50%;
  mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%);
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%)
}

.compass-field .corner-compass {
  position:absolute;
  width:64px;
  height:64px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  margin:0;
  pointer-events:none;
  z-index:3;
  background:var(--bg);
  border-radius:50%
}

.compass-field .dot-origin {
  display:none
}

.compass-caption {
  top:74px
}

.compass-needle {
  top:-10px
}

.profile-arc {
  mask-image:linear-gradient(to right,transparent,#000 14%,#000 86%,transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 14%,#000 86%,transparent)
}

.legend-dot.near {
  width:7px;
  height:7px
}

.legend-dot.far {
  width:5px;
  height:5px
}

.distance-legend {
  justify-content:center;
  margin-top:4px
}

.distance-legend>span:last-child {
  margin-left:10px
}

.heading-controls {
  margin-bottom:0
}

@media(max-width:360px) {
  .compass-field {
    width:240px;
    height:auto
  }

  .dot-field {
    height:100%
  }
}

/* Phosphor radar: pale contacts, bright green for an open conversation. */
.compass-field {
  background:radial-gradient(circle,#0b2619 0%,#071b12 62%,#06130e 100%);
  box-shadow:inset 0 0 32px #34ff7920,0 0 25px #41ec7610;
  border:1px solid #67f79745
}

.dot-field {
  background:repeating-radial-gradient(circle at center,transparent 0 10px,#6eff8c08 11px 12px);
  overflow:hidden
}

.dot-rings {
  stroke:#65ee8750;
  filter:drop-shadow(0 0 2px #52ff7444)
}

.dot-rings .view-cone {
  fill:#68ff8720;
  stroke:#7aff9b60;
  stroke-dasharray:none
}

.distance-dot>span,.distance-dot.in-view>span {
  background:#d3ded4;
  border-color:#effff1;
  box-shadow:0 0 5px #e4ffe380,0 0 12px #b7ffc540
}

.distance-dot.has-chat>span {
  background:#67ff85;
  border-color:#c6ffcf;
  box-shadow:0 0 6px #73ff91,0 0 16px #3cff77a0
}

.distance-dot.selected>span {
  outline-color:#eaffee;
  outline-offset:4px
}

.distance-dot.has-chat::after {
  content:'';
  position:absolute;
  inset:5px;
  border:1px solid #67ff8580;
  border-radius:50%;
  pointer-events:none
}

.compass-field .corner-compass {
  background:#0a1e14;
  box-shadow:0 0 20px #58ff7820
}

.compass-rose svg {
  stroke:#67dd8c
}

.compass-rose .rose-north {
  fill:#9dffb4
}

.compass-rose span {
  background:#0a1e14;
  color:#b0eec0
}

.rose-n {
  color:#baffca!important
}

.compass-center {
  background:#aaffb4;
  box-shadow:0 0 9px #65ff8a
}

.compass-caption {
  color:#aaffb4
}

.compass-needle {
  border-top-color:#9dffb4
}

.arc-profile.active .avatar {
  border-color:#a3ffc0;
  box-shadow:0 0 16px #53ff7740
}

.arc-guide {
  stroke:#65ee8730
}

.avatar>img.body-tile {
  position:absolute;
  width:300%;
  height:300%;
  max-width:none;
  object-fit:fill
}

.me-section>h1,.chats-section>h1 {
  margin-bottom:24px
}

.login-copy {
  margin-top:48px
}

.login-top {
  margin-bottom:24px
}

.avatar>img.body-0 {
  left:0%;
  top:0%
}

.avatar>img.body-1 {
  left:-100%;
  top:0%
}

.avatar>img.body-2 {
  left:-200%;
  top:0%
}

.avatar>img.body-3 {
  left:0%;
  top:-100%
}

.avatar>img.body-4 {
  left:-100%;
  top:-100%
}

.avatar>img.body-5 {
  left:-200%;
  top:-100%
}

.avatar>img.body-6 {
  left:0%;
  top:-200%
}

.avatar>img.body-7 {
  left:-100%;
  top:-200%
}

.avatar>img.body-8 {
  left:-200%;
  top:-200%
}

/* Compact bearing/depth stacks and small radar contacts. */
.app-header {
  height:59px;
  padding:12px 18px
}

.app-header .wordmark {
  font-size:26px;
  letter-spacing:-1.4px
}

.app-header .wordmark span {
  font-size:20px
}

.status-pill {
  min-height:34px;
  padding:7px 11px
}

main {
  padding:4px 18px calc(78px + env(safe-area-inset-bottom))
}

.preference-summary {
  margin-top:0;
  padding-block:8px;
  min-height:38px
}

.discovery-filters {
  margin-block:8px
}

.direction-stage {
  margin-top:10px
}

.direction-summary {
  margin-bottom:0
}

.facing-count {
  font-size:9px
}

.profile-arc {
  margin-inline:-8px
}

.arc-profile {
  width:60px
}

.arc-profile .avatar {
  width:52px;
  height:52px;
  margin-bottom:3px;
  border-width:1px
}

.arc-new {
  position:absolute;
  left:50%;
  top:-7px;
  z-index:3;
  transform:translateX(-50%);
  padding:2px 6px;
  border-radius:999px;
  background:#a5eeff;
  color:#071c2a;
  border:1px solid #d9f9ff;
  font:700 8px/1.2 ui-monospace,monospace;
  letter-spacing:.7px;
  text-transform:uppercase;
  pointer-events:none
}

.arc-name {
  font-size:9px
}

.arc-distance {
  font-size:8px;
  margin-top:1px
}

.arc-profile:focus-visible,.arc-profile:hover {
  z-index:100!important
}

.compass-field {
  width:min(100%,300px);
  margin:0 auto
}

.distance-dot>span,.distance-dot.in-view>span {
  border:0;
  box-shadow:0 0 4px #d6ffdb50
}

.distance-dot:not(.in-view)>span {
  opacity:.38
}

.distance-dot.in-view>span {
  opacity:1;
  background:#f1fff3;
  box-shadow:0 0 4px #d6ffdb90
}

.distance-dot.in-view::before {
  content:'';
  position:absolute;
  width:8px;
  height:8px;
  border:1px solid #ccffda65;
  border-radius:2px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%)
}

.distance-dot.has-chat>span {
  background:#67ff85;
  box-shadow:0 0 5px #73ff91
}

.distance-dot.has-chat::after {
  display:none
}

.distance-dot.selected>span {
  outline-offset:3px
}

.heading-controls {
  margin-top:3px
}

.heading-controls>span {
  font-size:9px
}

.bottom-nav {
  min-height:62px
}

.login-art {
  display:none
}

.app-header {
  height:44px;
  padding:7px 14px
}

.app-header .wordmark {
  font-size:22px
}

.app-header .wordmark span {
  font-size:16px
}

.status-pill {
  min-height:28px;
  padding:5px 9px;
  font-size:10px
}

.discover {
  position:relative
}

.discovery-filters {
  position:absolute;
  top:0;
  left:0;
  margin:0;
  z-index:1
}

.reciprocal-filter {
  min-height:32px;
  padding:6px 10px;
  font-size:10px
}

.view-toolbar {
  margin:0 0 8px;
  min-height:36px;
  justify-content:flex-end
}

.view-toolbar>span {
  display:none
}

.segmented {
  padding:2px
}

.segmented button {
  min-height:28px;
  padding:6px 11px;
  font-size:10px
}

.direction-stage {
  margin-top:4px
}

.direction-summary {
  margin-top:0
}

.profile-arc,.compass-field {
  width:min(100%,340px);
  margin-inline:auto
}

.distance-dot.in-view::before {
  display:none
}

.distance-dot.selected>span {
  outline:none
}

.distance-dot.in-view>span {
  background:#f1fff3;
  box-shadow:0 0 3px #d6ffdb90
}

.distance-dot.has-chat>span {
  background:#67ff85
}

.distance-dot:not(.in-view)>span {
  opacity:.3
}

/* Front hemisphere only; turn to bring rear contacts into view. */
.compass-field {
  aspect-ratio:2/1;
  border-radius:999px 999px 0 0;
  overflow:hidden;
  border-bottom:1px solid #67f79745
}

.dot-field {
  height:200%;
  border-radius:50%
}

.compass-field .corner-compass {
  top:100%
}

.compass-caption {
  display:none
}

.compass-field {
  background:#04110c;
  box-shadow:inset 0 0 24px #24e56c18,0 0 15px #27d96909
}

.compass-field::after {
  content:'';
  position:absolute;
  left:50%;
  top:100%;
  width:190%;
  aspect-ratio:1;
  border:1px solid #6eff9860;
  border-radius:50%;
  transform:translate(-50%,-50%) scale(.1);
  animation:tracker-pulse 3.2s linear infinite;
  animation-delay:var(--scan-delay);
  pointer-events:none;
  z-index:0
}

.dot-field {
  z-index:1;
  background:repeating-linear-gradient(0deg,transparent 0 3px,#86ff9e05 3px 4px)
}

.dot-rings {
  stroke:#4fec7b48;
  filter:drop-shadow(0 0 2px #3fff6f30)
}

.dot-rings .view-cone {
  fill:#59ff7910;
  stroke:#69ff8c25
}

.distance-dot.in-view>span {
  background:#b6ffcc;
  box-shadow:0 0 4px #71ff9c90
}

.distance-dot.has-chat>span {
  background:#41ff73;
  box-shadow:0 0 5px #37ff6bc0
}

@keyframes tracker-pulse {
  0% {
    transform:translate(-50%,-50%) scale(.05);
    opacity:0
  }

  12% {
    opacity:.7
  }

  100% {
    transform:translate(-50%,-50%) scale(1);
    opacity:0
  }
}

@media(prefers-reduced-motion:reduce) {
  .compass-field::after {
    animation:none;
    display:none
  }
}

.direction-stage {
  overflow-anchor:none
}

.discovery-filters .reciprocal-filter {
  width:126px
}

.profile-arc {
  flex:none
}

.direction-summary {
  height:30px
}

.arc-profile:focus-visible {
  opacity:1!important
}

.app-header {
  height:44px;
  gap:10px;
  padding:0 14px
}

.app-header .wordmark {
  font-size:21px;
  white-space:nowrap
}

.header-discovery {
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto
}

.header-discovery[hidden] {
  display:none
}

#header-direction {
  font:11px ui-monospace,monospace;
  width:26px;
  text-align:right;
  color:#b6e5c5
}

.header-discovery .segmented button {
  min-height:30px;
  padding:6px 9px
}

.discover>.discovery-filters {
  position:relative;
  margin:0 0 4px
}

.direction-stage {
  margin:0
}

.me-section>button[data-online-toggle] {
  margin-bottom:22px
}

@media(max-width:360px) {
  .app-header {
    padding-inline:12px;
    gap:6px
  }

  .app-header .wordmark {
    font-size:19px
  }

  .header-discovery {
    gap:7px
  }

  .header-discovery .segmented button {
    padding-inline:7px;
    font-size:9px
  }
}

/* The visible circle, not its surrounding rectangle, owns the pointer. */
.profile-arc .arc-profile {
  pointer-events:none
}

.arc-profile .bubble-hit {
  display:block;
  width:var(--bubble-size);
  height:var(--bubble-size);
  padding:0;
  margin:0;
  border:0;
  border-radius:50%;
  clip-path:circle(50%);
  pointer-events:auto;
  touch-action:pan-y pinch-zoom
}

.arc-profile .bubble-hit .avatar {
  display:block;
  margin:0;
  pointer-events:none
}

.arc-profile .bubble-hit:focus-visible {
  outline:none;
  box-shadow:inset 0 0 0 3px #c7f6ff
}

.profile-arc .arc-profile:has(.bubble-hit:hover),.profile-arc .arc-profile:has(.bubble-hit:focus-visible) {
  z-index:10000!important
}

.profile-arc .stack-behind .bubble-hit {
  pointer-events:none
}

.arc-profile .arc-name {
  margin-top:6px
}

.map-toggle {
  margin-left:auto;
  min-height:40px;
  padding:8px 12px;
  border-radius:20px;
  color:#8bb9ca;
  font-size:11px
}

.map-toggle[aria-pressed=true] {
  color:#b9f0ff;
  background:#1b455766
}

.radar-map-layer {
  position:absolute;
  inset:0;
  width:100%;
  height:200%;
  /* Clip to the cyan outer ring (r=116 of the 240 viewBox), not the layer's own edge. */
  clip-path:circle(48.333% at 50% 50%);
  overflow:hidden;
  pointer-events:none
}

.radar-map {
  width:100%;
  height:100%;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round
}

.map-road {
  stroke:#77adc0;
  stroke-width:.42;
  opacity:.68
}

.map-coast {
  stroke:#a4e4ed;
  stroke-width:.7;
  opacity:.85
}

.map-water {
  stroke:#46a5c9;
  stroke-width:.45;
  opacity:.6
}

.compass-field .map-credit {
  position:absolute;
  bottom:2px;
  left:5px;
  z-index:6;
  font-size:9px;
  color:#b6d7e4;
  background:#07121ccc;
  padding:3px 5px;
  line-height:16px;
  min-height:24px;
  display:flex;
  align-items:center
}

.map-credit[hidden] {
  display:none
}

/* Midnight / cyan instrument, grounded on the navigation horizon. */
:root {
  --bg:#07121c;
  --panel:#101f2b;
  --panel2:#172a38;
  --ice:#a4eaff;
  --line:#203c4d
}

.app-shell {
  background:radial-gradient(ellipse at 50% 80%,#0a2433 0%,#07121c 65%);
  border-color:#142936
}

.app-header {
  background:#07121ce8;
  border-bottom:1px solid #233e4d55
}

.app-header .wordmark {
  font-weight:650;
  letter-spacing:-1.1px
}

.wordmark span {
  color:#39dfff
}

.header-discovery .segmented {
  border:1px solid #34515e70;
  background:#0c1c28;
  border-radius:20px;
  padding:2px
}

.header-discovery .segmented button {
  border-radius:16px
}

.header-discovery .segmented button[aria-pressed=true] {
  background:#183748;
  color:#c6f3ff
}

#header-direction {
  color:#87d5eb;
  letter-spacing:.4px
}

main:has(.direction-stage) {
  padding:0 18px
}

.discover:has(.direction-stage) {
  height:calc(100dvh - 44px - env(safe-area-inset-top) - var(--nav-h,calc(69px + env(safe-area-inset-bottom))));
  display:flex;
  flex-direction:column
}

.discover>.discovery-filters {
  height:44px;
  min-height:44px;
  display:flex;
  align-items:center;
  margin:0;
  flex:none
}

.reciprocal-filter {
  background:#0b1c28;
  border-color:#35556880;
  color:#b3ccda
}

.direction-stage {
  flex:1;
  min-height:0;
  position:relative
}

.profile-arc,.compass-field {
  width:min(100%,460px)
}

.profile-arc {
  mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent)
}

.compass-field {
  border:0;
  background:radial-gradient(ellipse at 50% 100%,#07344b60,#04131e88 70%);
  box-shadow:0 -12px 70px #0873a611;
  overflow:hidden;
  margin:0 auto
}

.compass-field::after {
  display:none
}

.dot-field {
  mask-image:none;
  -webkit-mask-image:none;
  background:none
}

.dot-field.contacts {
  background:linear-gradient(#3fbed909 1px,transparent 1px),linear-gradient(90deg,#3fbed909 1px,transparent 1px);
  background-size:32px 32px
}

.dot-rings {
  stroke:#3dcee342;
  stroke-width:.55;
  filter:none
}

.dot-rings .outer-ring {
  stroke:#147b9f90;
  stroke-width:1.2
}

.dot-rings .radar-tick {
  stroke:#a3eff4b0;
  stroke-width:.65
}

.dot-rings .view-cone {
  fill:#20cce307;
  stroke:#40c4dd20
}

.radar-sweep {
  position:absolute;
  inset:1.6666667%;
  border-radius:50%;
  background:conic-gradient(from -35deg,transparent 0deg,#18b7e408 14deg,#18b7e455 32deg,#8afaffb0 34.7deg,transparent 35deg);
  transform:rotate(var(--scan-angle,0deg));
  will-change:transform;
  pointer-events:none
}

.distance-dot>span,.distance-dot.in-view>span {
  background:#71dced;
  border:0;
  opacity:calc(.45 + var(--echo,0)*.55);
  box-shadow:0 0 calc(3px + var(--echo,0)*9px) #20dcff,0 0 calc(var(--echo,0)*18px) #36dcff80;
  transform:scale(calc(1 + var(--echo,0)*.45))
}

.distance-dot:not(.in-view)>span {
  opacity:calc(.22 + var(--echo,0)*.65)
}

.distance-dot.has-chat>span {
  background:#6fffa4;
  box-shadow:0 0 calc(4px + var(--echo,0)*10px) #37ff8b90
}

.compass-field .corner-compass {
  background:#071b27;
  box-shadow:0 0 22px #26b9e51a;
  width:48px;
  height:48px
}

.compass-rose svg {
  stroke:#68cbe0
}

.compass-rose .rose-north {
  fill:#a5f6ff
}

.compass-rose span {
  background:#071b27;
  color:#97d6e3
}

.rose-n {
  color:#c1f9ff!important
}

.compass-needle {
  border-top-color:#83edff
}

.compass-center {
  background:#9ffaff;
  box-shadow:0 0 10px #20dfff
}

.arc-profile .avatar {
  border-color:#4c839b;
  box-shadow:0 5px 20px #0005,0 0 0 3px #1a3b4a25
}

.arc-profile.active .avatar {
  border-color:#a5eeff;
  box-shadow:0 0 0 3px #3acfe418,0 0 23px #38d3f225
}

.arc-name {
  color:#dcebf1;
  letter-spacing:.1px;
  text-shadow:0 2px 5px #03101a
}

.arc-distance {
  color:#85acbd;
  letter-spacing:.3px
}

.bottom-nav {
  background:#07121cf5;
  border-top:1px solid #2d6a8050;
  backdrop-filter:blur(18px)
}

@media(prefers-reduced-motion:reduce) {
  .radar-sweep {
    display:none
  }

  .distance-dot>span {
    transform:none
  }
}

.stack-behind {
  pointer-events:none
}

.stack-behind .arc-name,.stack-behind .arc-distance {
  visibility:hidden
}

.stack-behind .avatar {
  opacity:.65
}

.stack-count {
  position:absolute;
  right:1px;
  top:34px;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#aadff0;
  color:#071c2a;
  border:2px solid #081b28;
  font:600 9px ui-monospace,monospace;
  box-shadow:0 2px 8px #0005;
  pointer-events:none
}

/* A true overlap becomes one tappable group while the radar dots keep every exact position visible. */
.arc-profile.is-cluster {
  z-index:9990!important
}

.arc-profile.is-cluster::before,
.arc-profile.is-cluster::after {
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  border:2px solid #78dff5aa;
  background:#102d3b;
  box-shadow:0 0 14px #42d8f455;
  transform:translate(-8px,-7px);
  pointer-events:none
}

.arc-profile.is-cluster::after {
  transform:translate(8px,-4px);
  opacity:.72
}

.arc-profile.is-cluster .bubble-hit {
  z-index:2;
  box-shadow:0 0 0 2px #9decff,0 0 22px #42d8f477
}

.arc-profile.is-cluster .stack-count {
  z-index:3;
  right:-5px;
  top:-6px;
  min-width:28px;
  height:28px;
  border-radius:14px;
  background:#bdf4ff;
  color:#05202c;
  font-size:12px;
  box-shadow:0 3px 14px #0009,0 0 16px #54ddf477
}

.cluster-list {
  margin-top:20px
}

.cluster-list .person-row {
  min-height:76px;
  text-align:left
}

.cluster-list .person-row>span:nth-child(2) {
  min-width:0;
  flex:1
}

.cluster-row-arrow {
  color:#8ec6d8;
  font-size:26px;
  line-height:1
}

.arc-profile {
  width:var(--bubble-size,100px);
  transform:translate(-50%,0)
}

.arc-profile .avatar {
  width:var(--bubble-size,100px);
  height:var(--bubble-size,100px);
  margin-bottom:6px
}

.arc-name {
  font-size:11px
}

.arc-distance {
  font-size:10px
}

.stack-count {
  top:calc(var(--bubble-size,100px) - 24px);
  right:2px;
  min-width:24px;
  height:24px;
  font-size:11px
}

.direction-stage>.direction-empty {
  position:absolute;
  top:25%;
  left:0;
  right:0;
  padding:0 20px;
  text-align:center;
  color:#8babbc;
  font-size:13px;
  opacity:0;
  transition:opacity 200ms ease;
  pointer-events:none
}

.direction-stage>.direction-empty.is-visible {
  opacity:1
}

.arc-profile .arc-name,.arc-profile .arc-distance {
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

@media(prefers-reduced-motion:reduce) {
  .direction-stage>.direction-empty {
    transition:none
  }
}

.activity {
  display:block;
  font-size:10px;
  line-height:1.5;
  color:#a7b7c2;
  font-weight:400
}

.activity.is-online {
  color:#77e5b2
}

.grid-overlay .activity {
  margin-top:2px
}

.avatar>img.photo-sheet {
  position:absolute;
  width:408%;
  height:408%;
  max-width:none;
  object-fit:fill
}

.photo-sheet.sheet-0 {
  left:-1%;
  top:-1%
}

.photo-sheet.sheet-1 {
  left:-103%;
  top:-1%
}

.photo-sheet.sheet-2 {
  left:-205%;
  top:-1%
}

.photo-sheet.sheet-3 {
  left:-307%;
  top:-1%
}

.photo-sheet.sheet-4 {
  left:-1%;
  top:-103%
}

.photo-sheet.sheet-5 {
  left:-103%;
  top:-103%
}

.photo-sheet.sheet-6 {
  left:-205%;
  top:-103%
}

.photo-sheet.sheet-7 {
  left:-307%;
  top:-103%
}

.photo-sheet.sheet-8 {
  left:-1%;
  top:-205%
}

.photo-sheet.sheet-9 {
  left:-103%;
  top:-205%
}

.photo-sheet.sheet-10 {
  left:-205%;
  top:-205%
}

.photo-sheet.sheet-11 {
  left:-307%;
  top:-205%
}

.photo-sheet.sheet-12 {
  left:-1%;
  top:-307%
}

.photo-sheet.sheet-13 {
  left:-103%;
  top:-307%
}

.photo-sheet.sheet-14 {
  left:-205%;
  top:-307%
}

.photo-sheet.sheet-15 {
  left:-307%;
  top:-307%
}
/* Connections and account controls. */
.connection-note {
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  margin:14px 0 20px
}

.connection-note+form {
  margin-top:16px
}

dialog form>label {
  margin:17px 0 8px;
  font-size:13px
}

textarea,select {
  font:inherit;
  width:100%;
  color:var(--ink);
  background:#122330;
  border:1px solid #3c4e5d;
  border-radius:12px;
  padding:12px;
  font-size:16px
}

textarea {
  resize:vertical;
  min-height:95px
}

dialog form>.primary {
  margin-top:20px
}

.album-option {
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:10px 0
}

.album-option input {
  /* Drawn by hand so iOS and desktop render the same 20px box; a native checkbox sat a few pixels off the text. */
  appearance:none;
  -webkit-appearance:none;
  flex:0 0 auto;
  margin:0;
  width:20px;
  height:20px;
  border:1.5px solid var(--line);
  border-radius:6px;
  background:var(--panel2);
  display:grid;
  place-content:center;
  cursor:pointer
}

.album-option input::before {
  content:'';
  width:10px;
  height:6px;
  border-left:2.5px solid #0f1e2a;
  border-bottom:2.5px solid #0f1e2a;
  transform:rotate(-45deg) translate(1px,-1px);
  opacity:0
}

.album-option input:checked {
  background:var(--ice);
  border-color:var(--ice)
}

.album-option input:checked::before {
  opacity:1
}

.album-option input:disabled {
  opacity:.55;
  cursor:default
}

.album-option>span {
  line-height:20px
}

.unlock-title {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:20px
}

.unlock-thumb {
  width:24px;
  height:24px;
  border-radius:50%;
  overflow:hidden;
  flex:0 0 auto
}

.unlock-thumb img {
  width:100%;
  height:100%;
  object-fit:cover
}

.album-option small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:5px;
  line-height:1.5
}

/* Discovery filters sheet. */
.filter-age-range {
  display:flex;
  align-items:center;
  gap:10px
}

.filter-age-range input {
  width:0;
  flex:1
}

.filter-age-range span {
  color:var(--muted);
  font-size:12px
}

.filter-sheet-buttons {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:24px
}

.filter-sheet-buttons .primary {
  flex:1
}

/* Onboarding walkthrough. */
.onboard-card h3 {
  font-size:19px;
  margin:6px 0 12px
}

.onboard-card p {
  color:var(--muted);
  font-size:14px;
  line-height:1.6
}

.onboard-dots {
  display:flex;
  justify-content:center;
  gap:7px;
  margin:22px 0
}

.onboard-dots span {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#3c4e5d
}

.onboard-dots span.on {
  background:var(--ice)
}

.onboard-buttons {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}

.onboard-buttons .primary {
  flex:1
}

/* Safety copy. */
.safety-list {
  margin:14px 0 20px;
  padding-left:20px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7
}

.safety-list li {
  margin-bottom:9px
}

.safety-note {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#16283580;
  border:1px solid #2c4252;
  border-radius:12px;
  padding:10px 14px;
  margin:0 0 10px;
  font-size:12px;
  color:#c5d6e2;
  line-height:1.5
}

.safety-note .text-button {
  flex:none;
  min-height:36px
}

/* Me screen: extra photos. */
.more-photos {
  margin-top:22px
}

.own-photo-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(84px,1fr));
  gap:14px
}

.own-photo {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px
}

.own-photo-image {
  width:100%;
  aspect-ratio:1;
  border-radius:12px;
  overflow:hidden;
  background:#12222e
}

.own-photo-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.own-photo-actions {
  display:flex;
  align-items:center;
  gap:2px
}

.own-photo-actions .icon-button {
  width:36px;
  font-size:14px
}

.own-photo-actions .text-button {
  font-size:11px
}

.own-photo .subdued {
  font-size:10px
}

.add-photo {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  aspect-ratio:1;
  border:1px dashed #3a5262;
  border-radius:12px;
  color:#7d97a8;
  cursor:pointer
}

.add-photo span {
  font-size:22px;
  line-height:1
}

.add-photo small {
  font-size:10px
}

.account-controls {
  border-top:1px solid var(--line);
  margin-top:30px;
  padding-top:25px
}

.account-controls h2 {
  font-size:17px
}

.account-controls summary {
  padding:15px 0;
  font-size:14px;
  cursor:pointer
}

.blocked-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:13px
}

.danger-text {
  color:#f6a6a6
}

.danger-button {
  background:#eab1af;
  color:#381310
}

.introduction-copy {
  margin:20px 0;
  padding:16px;
  background:#1b303e;
  border-radius:14px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:14px;
  line-height:1.6;
  text-align:left
}

/* Range gesture and uncluttered radar readouts. */
.direction-stage,.direction-stage .bubble-hit {
  touch-action:none
}

.compass-field {
  width:calc(100% - 72px);
  max-width:388px
}

.radar-side-labels {
  position:absolute;
  inset:auto 0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:4;
  pointer-events:none;
  font:11px ui-monospace,SFMono-Regular,monospace;
  color:#b7e8ef
}

.range-readout {
  pointer-events:auto;
  min-width:34px;
  min-height:44px;
  padding:3px;
  text-align:center;
  font:inherit
}

.range-readout small {
  display:block;
  font-size:9px;
  margin-top:2px;
  color:#7197a8
}

#radar-direction {
  min-width:34px;
  text-align:center
}

.dot-rings .range-ring {
  fill:none;
  stroke:#4cd8e8;
  stroke-width:1
}

.dot-rings .range-ring.dotted {
  stroke-dasharray:1 3;
  opacity:.5
}

.dot-rings .range-ring.solid {
  opacity:1
}

.compass-caption {
  display:none
}

.radar-map path {
  vector-effect:non-scaling-stroke
}

/* True arcs: bubbles keep a bearing-independent radius, so close ones swing down beside the radar.
   The stack no longer clips them; the stage does, and the side fade comes from each bubble's own opacity. */
.direction-stage {
  position:relative;
  overflow:hidden
}

.profile-arc {
  overflow:visible;
  mask-image:none;
  -webkit-mask-image:none
}

/* Chat photo bar and request cards. */
.photo-bar {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  gap:6px 10px;
  flex:none;
  padding:8px 4px;
  border-bottom:1px solid var(--line);
  font-size:12px;
  color:var(--muted)
}

.chat-wait .photo-bar {
  justify-content:center;
  border:0;
  margin:6px 0 4px
}

.photo-toggle,.photo-status {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  min-width:0;
  white-space:nowrap;
  padding:0 10px;
  border-radius:16px;
  font:inherit;
  color:var(--muted);
  background:#12222e;
  border:1px solid #2c4252
}

.photo-toggle {
  color:var(--ice);
  cursor:pointer
}

.photo-toggle.on {
  color:#0f2330;
  background:var(--ice);
  border-color:var(--ice)
}

.lock {
  width:9px;
  height:11px;
  border:1.5px solid currentColor;
  border-radius:2px;
  position:relative;
  flex:none;
  margin-top:3px
}

.lock::before {
  content:"";
  position:absolute;
  left:1px;
  top:-6px;
  width:5px;
  height:6px;
  border:1.5px solid currentColor;
  border-bottom:0;
  border-radius:4px 4px 0 0
}

.lock.open::before {
  transform:translateX(-4px) rotate(-25deg)
}

.intro-card {
  text-align:left;
  margin:18px 0 6px
}

.intro-label {
  display:block;
  font-size:11px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 4px 6px
}

.chat-wait .introduction-copy {
  margin:0
}

.chat-wait .primary {
  margin-top:18px
}

/* Faint map behind the bubble stack, same projection as the bubbles, rotating with the view. */
.stack-map-layer {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  pointer-events:none;
  z-index:0;
  opacity:.28;
  mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 100%);
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 100%)
}

.stack-map {
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round
}

.stack-map path {
  vector-effect:non-scaling-stroke
}

.stack-map .map-road {
  stroke-width:1.1;
  opacity:.9
}

.stack-map .map-coast {
  stroke-width:1.4
}

.stack-map .map-water {
  stroke-width:1
}

/* Status colours. Green: online. Red: a chat, or a profile pic unlocked either way. Neutral cyan otherwise. */
.arc-profile .avatar {
  margin-bottom:0;
  border-width:1.5px
}

.arc-profile.is-online .avatar {
  border-color:#4fe08a;
  box-shadow:0 0 0 1px #4fe08a55,0 0 14px #37ff8b40
}

.arc-profile.is-linked .avatar {
  border-color:#ff6b6b;
  box-shadow:0 0 0 1px #ff6b6b55,0 0 14px #ff5c5c45
}

.distance-dot.is-online>span {
  background:#6fffa4;
  box-shadow:0 0 calc(4px + var(--echo,0)*10px) #37ff8b90
}

.distance-dot.is-linked>span {
  background:#ff7a7a;
  box-shadow:0 0 calc(4px + var(--echo,0)*10px) #ff4d4d90
}

/* Installed on a phone: draw under the status bar and home indicator, and keep the header clear of the notch. */
html {
  height:100%;
  background:var(--bg)
}

.app-header {
  box-sizing:content-box;
  padding-top:env(safe-area-inset-top);
  position:sticky;
  top:0;
  z-index:6
}

/* Profile stats, combined profile + introduction sheet, grid online dot, chat composer pinned to the bottom. */
.no-name {
  color:var(--muted);
  font-weight:500
}

.hint {
  color:var(--muted);
  font-weight:400;
  font-size:12px
}

.stats {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 14px;
  margin:14px 0 6px;
  padding:0
}

.stats div {
  display:flex;
  flex-direction:column;
  gap:2px
}

.stats dt {
  font-size:11px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:var(--muted)
}

.stats dd {
  margin:0;
  font-size:14px
}

.eyebrow .dot.online {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#4fe08a;
  margin-right:6px;
  vertical-align:middle
}

.intro-inline {
  margin-top:16px;
  text-align:left
}

.intro-inline label {
  display:block;
  margin:0 0 8px;
  font-size:13px
}

.intro-inline .primary {
  margin-top:12px;
  width:100%
}

.stats-field .stat-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px 12px;
  align-items:center
}

.stats-field .stat-grid label {
  margin:0;
  font-size:13px
}

.stats-field .stat-grid select,.stats-field .stat-grid input[type=number] {
  width:100%;
  font:inherit;
  color:var(--ink);
  background:#122330;
  border:1px solid #3c4e5d;
  border-radius:10px;
  padding:9px 10px;
  font-size:15px
}

.stats-field .stat-toggle {
  grid-column:1 / -1;
  padding:4px 0 8px
}

.stats-field legend span {
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:400
}

.stats-field fieldset {
  border:0;
  padding:0;
  margin:14px 0 0
}

.stats-field fieldset legend {
  font-size:14px;
  margin-bottom:8px
}

.counter {
  margin:4px 2px 0;
  font-size:11px;
  color:var(--muted);
  text-align:right
}

.grid-online {
  position:absolute;
  top:8px;
  left:8px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#4fe08a;
  box-shadow:0 0 8px #37ff8b90;
  z-index:2
}

.avatar-button {
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
  display:flex
}

main:has(.conversation) {
  padding-bottom:var(--nav-h,calc(69px + env(safe-area-inset-bottom)))
}

.conversation {
  height:calc(100dvh - 44px - env(safe-area-inset-top) - var(--nav-h,calc(69px + env(safe-area-inset-bottom))) - 2px);
  min-height:0
}

.composer {
  padding-bottom:6px
}

.grid-profile:has(.grid-online) .public-photo-label {
  left:22px
}

/* Profile sheet: big photo, photo strip with locks, info below. */
.hero-photo {
  margin:6px -4px 10px;
  border-radius:18px;
  overflow:hidden;
  background:#0f1e2a
}

.hero-photo.empty {
  display:flex;
  justify-content:center;
  padding:22px 0 8px;
  background:none
}

.avatar.hero-square {
  width:100%;
  height:auto;
  aspect-ratio:1;
  border-radius:0;
  border:0
}

.photo-strip {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px 2px 6px;
  scrollbar-width:none
}

.thumb {
  flex:none;
  width:58px;
  height:58px;
  border-radius:12px;
  overflow:hidden;
  padding:0;
  border:2px solid transparent;
  background:#12222e;
  display:flex;
  align-items:center;
  justify-content:center
}

.thumb.current {
  border-color:var(--ice)
}

.thumb .avatar.thumb-photo {
  width:100%;
  height:100%;
  border-radius:0;
  border:0
}

.thumb.locked {
  color:#7d97a8;
  border:1px dashed #3a5262;
  background:repeating-linear-gradient(135deg,#132431 0 6px,#0f1d28 6px 12px)
}

.thumb.locked .lock {
  width:11px;
  height:13px
}

.photo-note {
  margin:0 2px 8px;
  font-size:12px;
  color:var(--muted)
}

.profile-top.compact {
  padding-top:2px
}

/* Presence: green = online, grey = seen within 24 hours (older ones are offline and not shown at all). */
.grid-online,.grid-recent {
  left:auto;
  right:8px;
  top:8px
}

.grid-recent {
  position:absolute;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#8a9aa6;
  box-shadow:none;
  z-index:2
}

.grid-mutual {
  right:auto;
  left:8px
}

.grid-profile:has(.grid-online) .public-photo-label {
  left:6px
}

.arc-profile.is-recent .avatar {
  border-color:#8a9aa6;
  box-shadow:0 0 0 1px #8a9aa655
}

.distance-dot.is-recent>span {
  background:#9fb0bb;
  box-shadow:0 0 calc(3px + var(--echo,0)*8px) #9fb0bb70
}

/* Sheet dismiss by dragging the handle down. */
.sheet-handle {
  height:4px;
  width:35px;
  margin:0 auto 21px;
  position:relative
}

.sheet-handle::before {
  content:"";
  position:absolute;
  inset:-14px -60px -18px
}

dialog {
  touch-action:pan-y;
  will-change:transform
}

.sheet-handle,.sheet-handle::before {
  touch-action:none;
  cursor:grab
}

dialog:focus {
  outline:none
}

/* ⋯ menu holding Block / Report (and View profile in a chat). */
.more-button {
  position:absolute;
  right:60px;
  top:16px;
  width:44px;
  height:44px;
  font-size:22px;
  color:#b4c5d2;
  background:none;
  border:0;
  letter-spacing:1px
}

.conversation-header {
  position:relative
}

.more-menu {
  position:absolute;
  right:14px;
  top:58px;
  z-index:8;
  min-width:160px;
  padding:6px;
  border-radius:14px;
  background:#0f1c27;
  border:1px solid #33475a;
  box-shadow:0 14px 34px #00000080
}

.conversation-header .more-menu {
  top:46px;
  right:0
}

.more-menu button {
  display:block;
  width:100%;
  text-align:left;
  padding:11px 12px;
  border:0;
  border-radius:9px;
  background:none;
  color:var(--ink);
  font:inherit;
  font-size:15px
}

.more-menu button:hover {
  background:#18293a
}

.more-menu [data-block],.more-menu [data-report] {
  color:#f6a6a6
}

/* Keep the hero photo clear of the X and ⋯ buttons. */
.hero-photo {
  margin-top:48px
}

.hero-photo.empty {
  margin-top:14px
}

.bio {
  white-space:pre-line;
  text-align:left
}

/* Photo messages. */
.composer .attach {
  flex:none;
  width:46px;
  height:46px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--panel2);
  color:var(--ice);
  cursor:pointer
}

.composer .attach svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round
}

.bubble.photo {
  padding:4px;
  max-width:72%;
  background:#12222e;
  overflow:hidden
}

.bubble.photo img {
  display:block;
  width:100%;
  border-radius:12px
}

/* Timestamps, date dividers, delivered/read, typing, unread badges, archive, tap, and the chat-photo blur. */
.date-divider {
  text-align:center;
  align-self:center;
  font-size:11px;
  color:var(--muted);
  margin:8px 0 2px
}

.date-divider span {
  background:var(--panel2);
  padding:3px 11px;
  border-radius:20px
}

.bubble-time {
  display:block;
  font-size:10px;
  margin-top:4px;
  opacity:.6
}

.bubble.outgoing .bubble-time {
  text-align:right;
  color:#12273499
}

.bubble.photo .bubble-time {
  position:absolute;
  right:8px;
  bottom:6px;
  background:#0007;
  color:#fff;
  padding:1px 6px;
  border-radius:8px;
  opacity:1
}

.bubble.photo {
  position:relative
}

.msg-status {
  align-self:flex-end;
  font-size:11px;
  color:var(--muted);
  margin-top:-6px
}

.typing-bubble {
  display:flex;
  gap:4px;
  align-items:center;
  padding:14px 16px
}

.typing-bubble span {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--muted);
  animation:typing-dot 1.2s infinite
}

.typing-bubble span:nth-child(2) {
  animation-delay:.2s
}

.typing-bubble span:nth-child(3) {
  animation-delay:.4s
}

@keyframes typing-dot {
  0%,60%,100% {
    opacity:.3;
    transform:translateY(0)
  }
  30% {
    opacity:1;
    transform:translateY(-3px)
  }
}

@media(prefers-reduced-motion: reduce) {
  .typing-bubble span {
    animation:none;
    opacity:.7
  }
}

.unread-badge {
  flex:none;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:10px;
  background:var(--ice);
  color:#132734;
  font-size:11px;
  font-weight:650;
  display:flex;
  align-items:center;
  justify-content:center
}

.archived-section {
  margin-top:20px
}

.archived-section summary {
  list-style:none;
  cursor:pointer;
  font-size:13px;
  font-weight:550;
  color:#b5c6d2;
  padding:8px 0
}

.archived-section summary::-webkit-details-marker {
  display:none
}

.archived-section summary::before {
  content:"›";
  display:inline-block;
  margin-right:6px;
  transition:transform .15s
}

.archived-section[open] summary::before {
  transform:rotate(90deg)
}

.archived-section summary span {
  color:var(--ice);
  margin-left:6px
}

.tap-button {
  width:100%;
  margin-top:12px;
  text-align:center
}

.tap-button small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px
}

.grid-cell {
  position:relative
}

.grid-cell>.grid-profile {
  width:100%
}

.grid-tap {
  position:absolute;
  right:6px;
  bottom:6px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#0f1c27b0;
  color:#d0eaf7;
  z-index:2
}

.grid-tap svg {
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  margin:auto
}

.photo-blurred {
  filter:blur(18px);
  transform:scale(1.05)
}

.photo-reveal {
  position:absolute;
  inset:0;
  color:#fff;
  font-size:13px;
  font-weight:550;
  text-shadow:0 1px 4px #000;
  background:#0000001a
}

/* Full-width radar and map on phones; heights from the real visible viewport; keyboard-aware chat. */
.app-shell {
  border-inline:0
}

main:has(.direction-stage) {
  padding:0
}

.discover:has(.direction-stage) {
  height:calc(var(--vvh,100dvh) - 44px - env(safe-area-inset-top) - var(--nav-h,calc(69px + env(safe-area-inset-bottom))))
}

.discover:has(.direction-stage)>.discovery-filters {
  padding:0 14px
}

.profile-arc {
  margin:0;
  width:100%
}

.compass-field {
  width:calc(100% - 72px);
  max-width:none
}

.conversation {
  height:calc(var(--vvh,100dvh) - 44px - env(safe-area-inset-top) - var(--nav-h,calc(69px + env(safe-area-inset-bottom))) - 2px)
}

body.keyboard-open .bottom-nav {
  display:none
}

body.keyboard-open main:has(.conversation) {
  padding-bottom:0
}

body.keyboard-open .conversation {
  position:fixed;
  left:0;
  right:0;
  top:var(--vvtop,0px);
  height:var(--vvh,100dvh);
  margin:0;
  padding:0 7px;
  background:var(--bg);
  z-index:7
}

body.keyboard-open .app-header {
  position:static
}

/* Bigger Radar/Grid switch; a handle you can actually grab. */
.segmented button {
  font-size:14px;
  min-height:38px;
  padding:6px 18px
}

.sheet-handle {
  height:6px;
  width:56px;
  border-radius:6px;
  background:#7d8f9c;
  margin:2px auto 24px
}

.sheet-handle::before {
  inset:-20px -80px -24px
}

/* Portrait only on phones: in landscape, a full-screen notice covers the app. */
.rotate-notice {
  display:none
}

@media (orientation:landscape) and (max-height:500px) and (pointer:coarse) {
  body.nearby-view .rotate-notice {
    display:flex;
    position:fixed;
    inset:0;
    z-index:100;
    align-items:center;
    justify-content:center;
    background:#0a1622;
    color:var(--ink);
    text-align:center;
    padding:24px
  }

  .rotate-notice svg {
    width:44px;
    height:44px;
    fill:none;
    stroke:var(--ice);
    stroke-width:1.6;
    stroke-linecap:round;
    transform:rotate(90deg);
    margin-bottom:12px
  }

  .rotate-notice p {
    margin:0;
    font-size:16px
  }
}

/* Compass-follow button beside the radar. */
.compass-follow {
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:44px;
  min-height:44px;
  padding:3px 8px;
  border-radius:12px;
  font:inherit;
  color:#b7e8ef;
  background:none;
  border:1px solid transparent
}

.compass-follow .needle {
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-bottom:10px solid #6f8794
}

.compass-follow.on {
  border-color:#4cd8e8aa;
  background:#0f2a36
}

.compass-follow.on .needle {
  border-bottom-color:#ff6b6b;
  filter:drop-shadow(0 0 4px #ff6b6b99)
}

/* Me: who has your pic, blocked list; no sideways scroll anywhere. */
html,body {
  overflow-x:hidden
}

main {
  overflow-x:hidden
}

.stats-field .stat-grid > * {
  min-width:0
}

.stats-field .stat-grid input[type=date] {
  width:100%;
  font:inherit;
  color:var(--ink);
  background:#122330;
  border:1px solid #3c4e5d;
  border-radius:10px;
  padding:9px 10px;
  font-size:15px;
  -webkit-appearance:none;
  appearance:none
}

.account-controls h2 span {
  font-size:12px;
  color:var(--muted);
  margin-left:6px
}

.access-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:14px;
  padding:9px 0;
  border-bottom:1px solid var(--line)
}

.access-row.head {
  justify-content:flex-start;
  color:var(--muted);
  border-bottom:0
}

.access-row .text-button {
  font-size:13px
}

/* Ask him to unlock a photo. */
.thumb.locked {
  cursor:pointer;
  flex-direction:column;
  gap:3px;
  font:inherit
}

.thumb.locked small {
  font-size:9px;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:#9fb6c4
}

.thumb.locked.asked {
  border-style:solid;
  border-color:#4cd8e866
}

.bubble.request {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-style:italic;
  opacity:.85
}

/* Individual photo files fill their frame. */
.avatar>img:not(.photo-sheet):not(.body-tile):not(.photo-tile) {
  width:100%;
  height:100%;
  object-fit:cover
}

/* Stars. */
.star-filter {
  margin-left:auto;
  min-height:36px;
  padding:0 12px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#14202b;
  color:var(--muted);
  font:inherit;
  font-size:13px
}

.star-filter.enabled {
  color:#0f2330;
  background:#ffd66b;
  border-color:#ffd66b
}

.star-button {
  position:absolute;
  right:104px;
  top:16px;
  width:44px;
  height:44px;
  font-size:22px;
  color:#b4c5d2;
  background:none;
  border:0
}

.star-button.on {
  color:#ffd66b;
  text-shadow:0 0 10px #ffd66b80
}

.grid-star {
  position:absolute;
  left:8px;
  bottom:8px;
  color:#ffd66b;
  font-size:14px;
  z-index:2;
  text-shadow:0 0 6px #000
}

.bubble[data-unsend] {
  cursor:pointer
}

/* iOS still pans sideways when only html/body hide overflow; clip at the shell and paint-contain the avatars. */
.app-shell {
  overflow-x:clip;
  width:100%;
  position:relative
}

main {
  overflow-x:clip
}

.avatar {
  contain:paint
}

.me-section,.me-section form,.stats-field {
  max-width:100%;
  min-width:0
}

.type-options {
  flex-wrap:wrap;
  max-width:100%
}

/* Save feedback; square profile picture in the editor. */
.form-ok {
  color:#6fdca4;
  font-size:13px;
  margin:8px 0 0;
  text-align:center
}

#profile-form .primary.saved {
  background:#6fdca4;
  color:#0b2318
}

.editor-avatar,.editor-avatar.avatar {
  width:104px;
  height:104px;
  border-radius:16px
}

.avatar-choice .avatar {
  border-radius:12px
}

/* iOS date field: it has an intrinsic width the grid must be allowed to squash. */
.stats-field .stat-grid {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)
}

.stats-field .stat-grid input[type=date] {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:42px;
  box-sizing:border-box;
  text-align:left
}

input[type=date]::-webkit-date-and-time-value {
  text-align:left;
  min-height:1.2em
}

input[type=date]::-webkit-calendar-picker-indicator {
  margin:0;
  padding:0
}

/* Settings sub-screen and unlock banner. */
.settings-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:2px 12px;
  width:100%;
  text-align:left;
  margin:26px 0 12px;
  padding:14px 16px;
  border-radius:14px;
  background:#12222e;
  border:1px solid #2c4252;
  color:var(--ink);
  font:inherit
}

.settings-row span {
  grid-column:1;
  font-size:15px;
  font-weight:600
}

.settings-row small {
  grid-column:1;
  color:var(--muted);
  font-size:12px;
  line-height:1.4
}

.settings-row i {
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  font-style:normal;
  font-size:22px;
  color:var(--muted)
}

.settings-section h2 {
  font-size:15px;
  margin:26px 0 8px
}

.settings-section h2 span {
  font-size:12px;
  color:var(--muted);
  margin-left:6px
}

.settings-head {
  display:flex;
  align-items:center;
  gap:8px
}

.settings-head h1 {
  margin:0;
  font-size:22px
}

.settings-head .icon-button {
  min-width:44px
}

.settings-section .connection-note {
  text-align:left
}

.profile-action-cue {
  display:inline-flex;
  align-items:center;
  min-height:40px;
  margin-top:8px;
  color:#8ee7ef;
  font-size:13px;
  font-weight:650;
  text-decoration:none
}

.completion-card {
  margin:14px 0 24px;
  padding:14px 16px;
  border:1px solid #2c5262;
  border-radius:16px;
  background:linear-gradient(135deg,#122b38,#10212d)
}

.completion-card summary {
  display:flex;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
  font-weight:650
}

.completion-card summary small {
  color:var(--muted);
  font-size:12px;
  font-weight:400
}

.completion-card ul {
  display:grid;
  gap:8px;
  margin:14px 0 0;
  padding:0;
  list-style:none;
  color:#c7d7e2;
  font-size:13px
}

.completion-card li {
  display:flex;
  gap:9px
}

.completion-card li.done {
  color:#82d8ca
}

.setup-needed main {
  padding-bottom:max(24px,env(safe-area-inset-bottom))
}

.presence-options {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  padding:5px;
  border:1px solid #2c4252;
  border-radius:14px;
  background:#0d1b25
}

.presence-options button {
  min-height:44px;
  padding:8px 6px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  font-family:inherit;
  font-size:12px;
  font-weight:600;
  line-height:1.15
}

.presence-options button.active {
  background:#1f4457;
  color:var(--ink);
  box-shadow:0 1px 8px #0005
}

.presence-status {
  margin:9px 2px 2px;
  color:#8be4da;
  font-size:13px
}

.unit-input {
  position:relative
}

.unit-input input {
  width:100%;
  padding-right:42px
}

.unit-input span {
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  pointer-events:none
}

.setup-needed .bottom-nav {
  display:none
}

.unlock-ask {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 12px;
  padding:10px 12px;
  margin-top:8px;
  border-radius:12px;
  background:#16303f;
  border:1px solid #2f5468;
  font-size:13px;
  flex:none
}

.unlock-ask span {
  display:inline-flex;
  align-items:center;
  gap:8px
}

.unlock-ask .secondary {
  min-height:34px;
  padding:0 14px
}

.notify-banner {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:6px 12px;
  padding:12px 14px;
  margin-bottom:18px;
  border-radius:12px;
  background:#16303f;
  border:1px solid #2f5468;
  font-size:12px;
  color:#c5d6e2
}

.notify-banner .text-button {
  min-height:44px;
  padding:0 4px;
  white-space:nowrap
}

p.notify-banner {
  display:block;
  color:var(--muted);
  line-height:1.6
}

/* Invite and install tips. */
.invite-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center
}

.invite-link {
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  padding:10px 12px;
  border-radius:10px;
  background:#122330;
  border:1px solid #3c4e5d;
  color:var(--ice)
}

.invite-row .secondary {
  width:auto;
  min-height:44px;
  padding:0 16px;
  flex:none
}

.settings-row.invite-cta {
  margin-top:26px;
  margin-bottom:0
}

.settings-row.invite-cta + .settings-row {
  margin-top:10px
}

.install-tip {
  margin-top:28px;
  padding:14px 16px;
  border-radius:14px;
  background:#12222e;
  border:1px solid #2c4252;
  font-size:13px;
  line-height:1.5;
  color:var(--muted)
}

.install-tip h2 {
  margin:0 0 6px;
  font-size:14px;
  color:var(--ink)
}

.install-tip p {
  margin:6px 0
}

/* Full-screen chat photo, and hold-to-unsend (no iOS save-image callout on the bubbles). */
#lightbox {
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000000e6;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s
}

#lightbox.show {
  opacity:1;
  pointer-events:auto
}

#lightbox img {
  max-width:100vw;
  max-height:100vh;
  max-height:100dvh;
  width:auto;
  height:auto;
  object-fit:contain
}

#lightbox .lightbox-close {
  position:absolute;
  top:calc(8px + env(safe-area-inset-top));
  right:12px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:#ffffff22;
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer
}

.bubble[data-unsend],
.bubble.photo,
.bubble.photo img {
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none
}

.bubble.photo {
  cursor:zoom-in
}

/* Desktop: use the whole window. Phones (under 900px) are untouched. */
@media(min-width:900px) {
  .app-shell {
    max-width:none;
    border-inline:0;
    box-shadow:none
  }

  .profile-arc {
    width:100%
  }

  .bottom-nav {
    width:100%
  }

  .bottom-nav button {
    max-width:160px
  }

  .radar-side-labels {
    inset:auto max(0px,calc(50% - var(--radar-w,388px) / 2 - 110px)) 14px
  }

  .profile-grid {
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:8px;
    margin-inline:0
  }

  .chats-section,.conversation,.me-section,.settings-section {
    max-width:760px;
    margin-inline:auto
  }
}

/* Profiles past the radar edge sit on the perimeter as a small marker (status colour kept). */
.distance-dot.beyond>span {
  width:4px;
  height:4px
}

/* Local streets (residential), shown when the drawn range is 6 km or less. */
.map-lane {
  stroke:#77adc0;
  stroke-width:.22;
  opacity:.45
}

.stack-map .map-lane {
  stroke-width:.7;
  opacity:.55
}

/* Filters master switch. */
.filters-chip.off {
  text-decoration:line-through;
  opacity:.75
}

.filters-master {
  margin-bottom:12px
}

/* Chat header: bigger square pic (John, 2026-09-07). Missing chat photos collapse to a note instead of a strip. */
.conversation-header .avatar {
  width:64px;
  height:64px;
  border-radius:14px
}

.conversation-header .avatar img,
.conversation-header .avatar>img:not(.photo-sheet):not(.body-tile):not(.photo-tile) {
  border-radius:13px
}

.bubble.photo {
  min-height:64px
}

.bubble.photo.missing img,
.bubble.photo.missing .photo-reveal {
  display:none
}

.bubble.photo.missing::before {
  content:'Photo no longer available';
  display:block;
  padding:10px 12px 18px;
  color:var(--muted);
  font-size:13px
}

/* Max-distance slider above the radar stage, and the "right here" pill for people hidden under the radar. */
.range-slider[hidden] {
  display:none
}

.range-slider {
  display:flex;
  align-items:center;
  gap:10px;
  height:30px;
  margin:2px 0 0;
  font-size:12px;
  color:var(--muted)
}

.range-slider input {
  flex:1;
  min-width:0;
  accent-color:#5fd0e8;
  height:22px
}

.range-slider output {
  min-width:52px;
  text-align:right;
  font:12px ui-monospace,SFMono-Regular,monospace;
  color:var(--ink)
}

.here-pill {
  position:absolute;
  left:50%;
  bottom:4px;
  transform:translateX(-50%);
  z-index:5;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid #5fd0e880;
  background:#0a1d27e6;
  color:#d7f4fb;
  font-size:12px;
  cursor:pointer
}

@media(max-width:340px) {
  .compass-field .map-credit {
    left:auto;
    right:4px;
    bottom:34px
  }
}

.test-map-warning {
  position:absolute;
  z-index:8;
  left:50%;
  top:92px;
  transform:translateX(-50%);
  width:min(340px,calc(100% - 28px));
  margin:0;
  padding:8px 12px;
  border:1px solid #ffc0b955;
  border-radius:10px;
  background:#241b20e8;
  color:#ffd4cf;
  text-align:center;
  font-size:12px
}

/* Section 2 mobile polish: comfortable targets, readable status text, and clear feedback lanes. */

.grid-tap {
  right:-3px;
  bottom:-3px;
  width:44px;
  height:44px;
  background:transparent
}

.grid-tap::before {
  content:"";
  position:absolute;
  inset:9px;
  border-radius:50%;
  background:#0f1c27d9
}

.grid-tap svg {
  position:relative;
  z-index:1
}

.distance-dot {
  width:44px;
  height:44px
}

.arc-profile .bubble-hit {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  left:auto;
  transform:none;
  width:max(44px,var(--bubble-size));
  height:max(44px,var(--bubble-size));
  margin-left:calc((var(--bubble-size) - max(44px,var(--bubble-size))) / 2);
  margin-top:calc((var(--bubble-size) - max(44px,var(--bubble-size))) / 2);
  clip-path:none
}

.arc-profile .bubble-hit .avatar {
  width:var(--bubble-size);
  height:var(--bubble-size);
  margin:0
}

.header-discovery .segmented button {
  min-width:44px;
  min-height:44px
}

.here-pill {
  min-height:44px;
  padding:8px 14px
}

.radar-side-labels {
  inset-inline:8px
}

.range-readout,
#radar-direction {
  min-width:44px
}

.conversation-header {
  padding-inline:4px
}

.conversation-header>.icon-button {
  width:44px;
  height:44px
}

.own-photo-grid {
  grid-template-columns:repeat(auto-fill,minmax(138px,1fr))
}

.own-photo-actions {
  width:100%;
  gap:4px
}

.own-photo-actions .icon-button,
.own-photo-actions .text-button,
.own-photo>.subdued {
  min-width:44px;
  min-height:44px
}

.own-photo-actions .text-button {
  flex:1;
  font-size:12px
}

.own-photo>.subdued {
  width:100%;
  font-size:12px
}

.stats-field .stat-grid select,
.stats-field .stat-grid input[type=number],
.stats-field .stat-grid input[type=date] {
  min-height:44px
}

.login-foot {
  font-size:12px;
  line-height:1.4
}

.login-foot a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding-inline:4px
}

.onboard-buttons [data-onboard-skip] {
  min-width:44px;
  padding-inline:12px
}

.bubble-time {
  font-size:12px;
  opacity:1;
  color:#c5d6e2
}

.bubble.outgoing .bubble-time {
  color:#36515f
}

.discovery-filters {
  overflow-x:auto;
  flex-wrap:nowrap;
  scrollbar-width:none;
  overscroll-behavior-inline:contain
}

.discovery-filters::-webkit-scrollbar {
  display:none
}

.discovery-filters .reciprocal-filter,
.discovery-filters .filters-chip,
.discovery-filters .star-filter,
.discovery-filters .map-toggle {
  flex:0 0 auto;
  min-height:44px;
  font-size:13px
}

.discovery-filters .map-toggle {
  margin-left:0
}

.discovery-filters .star-filter {
  margin-left:0
}

/* Bring a candidate forward for a closer look without moving its centre off the sight line. */
.arc-profile .bubble-hit {
  transform:scale(1);
  transform-origin:center;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .24s ease
}

.profile-arc .arc-profile:has(.bubble-hit:hover),
.profile-arc .arc-profile:has(.bubble-hit:focus-visible) {
  z-index:10000!important;
  opacity:1!important
}

.profile-arc:has(.bubble-hit:hover),
.profile-arc:has(.bubble-hit:focus-visible) {
  overflow:visible
}

.arc-profile .bubble-hit:hover,
.arc-profile .bubble-hit:focus-visible {
  transform:scale(var(--hover-scale));
  filter:drop-shadow(0 14px 18px #0009)
}

/* Use the radar-dot colours on the matching profile-circle borders. */
.arc-profile.is-online .avatar {
  border:3px solid #6fffa4;
  box-shadow:0 0 0 1px #6fffa455,0 0 16px #37ff8b55
}

.arc-profile.is-linked .avatar {
  border:3px solid #ff7a7a;
  box-shadow:0 0 0 1px #ff7a7a55,0 0 16px #ff4d4d55
}

.arc-profile.is-recent .avatar {
  border:3px solid #9fb0bb;
  box-shadow:0 0 0 1px #9fb0bb55,0 0 12px #9fb0bb33
}

.range-readout .range-label {
  display:block;
  margin-bottom:2px;
  color:#7197a8;
  font-size:9px;
  line-height:1
}

.range-readout .range-unit {
  display:inline;
  margin:0 0 0 2px
}

.error-card {
  text-align:center
}

.error-card .error-code {
  margin:30px 0 0;
  color:var(--ice);
  font:600 13px ui-monospace,SFMono-Regular,monospace;
  letter-spacing:.12em
}

.error-card .primary {
  display:block;
  margin-top:24px;
  text-decoration:none
}

/* Chat rows: the row is the flex item (so a tall photo is never squashed), the time sits outside the bubble, and
   multi-line messages sit tighter. */
.message-stream>* {
  flex:none
}

.msg-row {
  display:flex;
  flex-direction:column;
  gap:3px;
  max-width:86%
}

.msg-row.outgoing {
  align-self:flex-end;
  align-items:flex-end
}

.msg-row.incoming {
  align-self:flex-start;
  align-items:flex-start
}

.msg-row.photo-row {
  max-width:72%
}

.msg-row>.bubble {
  max-width:100%
}

.message-stream .bubble {
  line-height:1.42
}

.msg-row>.bubble-time {
  position:static;
  display:block;
  margin:0;
  padding:0 4px;
  background:none;
  font-size:10px;
  color:var(--muted);
  opacity:.85
}

.bubble.photo img {
  height:auto
}

/* Slide a chat row left to reveal Delete. */
.swipe-row {
  position:relative;
  overflow:hidden;
  touch-action:pan-y
}

.swipe-row {
  border-bottom:1px solid var(--line)
}

/* The row narrows to uncover Delete, so the face and the name never slide off the screen. */
.swipe-row>.person-row {
  position:relative;
  z-index:1;
  border-bottom:0;
  width:calc(100% - var(--swipe,0px));
  transition:width .18s ease
}

.swipe-row.open>.person-row {
  width:calc(100% - 92px)
}

.swipe-row.dragging>.person-row {
  width:calc(100% - var(--swipe,0px));
  transition:none
}

.swipe-delete {
  position:absolute;
  top:0;
  right:0;
  bottom:1px;
  width:92px;
  border:0;
  background:#b3382b;
  color:#fff;
  font-size:14px;
  font-weight:600;
  cursor:pointer
}

/* Reactions on a message. */
.reaction-row {
  display:flex;
  gap:8px;
  justify-content:center;
  margin:4px 0 18px
}

.reaction-pick {
  width:50px;
  height:50px;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--panel2);
  font-size:28px;
  line-height:1;
  cursor:pointer
}

.msg-reaction {
  font-size:15px;
  line-height:1;
  margin-top:-8px;
  padding:3px 6px;
  border-radius:12px;
  background:var(--panel2);
  border:1px solid var(--line)
}

/* Release wave: direct filters, radar lesson, albums, chat tools and policy pages. */
.filter-control {
  display:flex;
  flex:0 0 auto
}

.filter-control .filters-chip {
  border-radius:999px 0 0 999px
}

.filter-settings {
  min-width:44px;
  min-height:44px;
  margin-left:-1px;
  border:1px solid var(--line);
  border-radius:0 999px 999px 0;
  background:var(--panel2);
  color:var(--ice);
  font-size:17px
}

.result-count {
  flex:0 0 auto;
  align-self:center;
  padding:0 2px;
  color:var(--muted);
  font-size:12px;
  white-space:nowrap
}

.album-heading,.chat-list-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}

.album-create {
  display:flex;
  gap:7px;
  max-width:230px
}

.album-create input {
  flex:1 1 auto;
  width:auto;
  min-width:0;
  height:44px;
  padding:0 11px
}

.album-create button {
  flex:0 0 auto;
  width:auto;
  min-height:44px;
  padding:0 13px
}

.album-list {
  display:flex;
  gap:8px;
  margin:0 0 18px;
  overflow-x:auto
}

.album-list>span {
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ice);
  font-size:13px
}

.album-list small {
  color:var(--muted)
}

.photo-album-label {
  display:grid;
  gap:4px;
  margin-top:7px;
  color:var(--muted);
  font-size:11px
}

.photo-album-label select {
  width:100%;
  min-height:36px;
  padding:0 8px;
  font-size:13px
}

.album-sharing {
  margin:0 14px 10px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--panel)
}

.album-sharing summary {
  min-height:44px;
  padding:12px 14px;
  color:var(--ice);
  cursor:pointer
}

.album-sharing summary span {
  color:var(--muted)
}

.album-share-list {
  padding:0 14px 6px
}

.album-share-list label {
  display:grid;
  grid-template-columns:22px 1fr;
  align-items:start;
  gap:10px;
  padding:10px 0;
  border-top:1px solid var(--line)
}

.album-share-list input {
  width:20px;
  height:20px;
  margin:1px 0 0
}

.album-share-list span,.album-share-list small {
  display:block
}

.album-share-list small {
  margin-top:2px;
  color:var(--muted)
}

.privacy-presets {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:12px 0 18px
}

.privacy-presets button {
  min-height:82px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel);
  color:var(--text);
  text-align:left
}

.privacy-presets button.active {
  border-color:var(--cyan);
  background:#0f3543;
  box-shadow:inset 0 0 0 1px #53dff544
}

.privacy-presets strong,.privacy-presets small {
  display:block
}

.privacy-presets small {
  margin-top:5px;
  color:var(--muted);
  line-height:1.25
}

.moderation-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:13px 0;
  border:0;
  border-bottom:1px solid var(--line);
  background:none;
  color:var(--text);
  text-align:left
}

.moderation-row span,.moderation-row small {
  display:block
}

.moderation-row small {
  margin-top:3px;
  color:var(--muted)
}

.moderation-row i,.severity {
  padding:4px 7px;
  border-radius:999px;
  background:#203541;
  color:var(--muted);
  font-size:11px;
  font-style:normal;
  text-transform:uppercase
}

.moderation-row.urgent i,.severity.urgent {
  background:#8b2d2d;
  color:#fff
}

.moderation-detail blockquote {
  margin:12px 0;
  padding:12px;
  border-left:3px solid var(--cyan);
  background:var(--panel2)
}

.moderation-actions {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:14px
}

.composer-reply {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 14px;
  border-top:1px solid var(--line);
  background:#102633;
  color:var(--muted);
  font-size:13px
}

.composer-reply span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.composer-reply button {
  min-width:36px;
  min-height:36px;
  border:0;
  background:none;
  color:var(--ice);
  font-size:24px
}

.reply-preview {
  display:block;
  max-width:100%;
  margin-bottom:7px;
  padding:5px 8px;
  overflow:hidden;
  border-left:2px solid currentColor;
  opacity:.65;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap
}

.reply-action {
  width:100%;
  margin-bottom:14px
}

.chat-list-head .text-button {
  min-height:44px
}

.muted-chat {
  display:inline-block;
  margin-left:7px;
  color:var(--muted);
  font-size:10px;
  font-style:normal;
  font-weight:500;
  text-transform:uppercase
}

.photo-tray-new {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:54px;
  padding:10px 12px;
  border:1px solid var(--cyan);
  border-radius:14px;
  color:var(--ice);
  cursor:pointer
}

.photo-tray-new span {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--cyan);
  color:#08212b;
  font-size:23px
}

.photo-tray-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px
}

.photo-tray-grid button {
  min-width:0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel2);
  color:var(--muted)
}

.photo-tray-grid img {
  display:block;
  width:100%;
  aspect-ratio:1;
  object-fit:cover
}

.photo-tray-grid small {
  display:block;
  padding:7px 4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.policy-body {
  min-height:100vh;
  min-height:100dvh;
  margin:0;
  background:radial-gradient(circle at 50% -20%,#174356 0,#081722 52%,#050d14 100%);
  color:var(--text)
}

.policy-page {
  width:min(680px,calc(100% - 32px));
  margin:auto;
  padding:34px 0 70px;
  line-height:1.65
}

.policy-wordmark {
  color:var(--ice);
  font-size:22px;
  font-weight:700;
  text-decoration:none
}

.policy-wordmark span {
  color:var(--green)
}

.policy-page h1 {
  margin:34px 0 0;
  font-size:clamp(36px,10vw,56px)
}

.policy-page h2 {
  margin:30px 0 4px;
  color:var(--ice);
  font-size:19px
}

.policy-page p {
  margin:8px 0;
  color:#c2d0da
}

.policy-date {
  color:var(--muted)!important;
  font-size:13px
}

.policy-links {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:26px 0
}

.policy-links a,.policy-back {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--cyan)
}

.login-policies {
  justify-content:center;
  margin:12px 0
}

.settings-section .policy-links a,.login-policies a {
  display:inline-flex;
  align-items:center;
  min-height:44px
}

.login-policies {
  justify-content:center;
  margin:10px 0 0;
  font-size:12px
}

@media (max-width:420px) {
  .privacy-presets {
    grid-template-columns:1fr
  }
  .privacy-presets button {
    min-height:62px
  }
  .album-heading {
    align-items:flex-start;
    flex-direction:column
  }
  .album-create {
    width:100%;
    max-width:none
  }
}

/* Older chat pages load on demand; the newest page comes with the state. */
.message-stream .load-earlier {
  align-self:center;
  margin:0 0 6px;
  padding:6px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  font-size:12px;
  color:var(--muted)
}

/* Invite call-to-action inside empty states. */
.invite-inline {
  margin-top:10px
}

.invite-left {
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:12px
}

.direction-empty .invite-inline {
  margin-top:14px;
  pointer-events:auto
}

/* Toasts on the radar view never sit on the radar: they drop in from under the header instead. */
body.nearby-view #toast {
  top:calc(96px + env(safe-area-inset-top))
}

/* The introduce form makes its labels block; the unlock row is a row. */
.intro-inline .album-option {
  display:flex;
  align-items:flex-start
}

/* One line for the two sharing pills on a phone: the labels shrink before they wrap. */
@media (max-width:420px) {
  .photo-bar .photo-toggle,.photo-bar .photo-status {
    font-size:11px;
    padding:0 8px
  }
}

/* A shared location: one card, two map apps. */
.bubble.location {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:210px
}

.bubble.location .location-title {
  font-weight:600
}

.bubble.location .location-title small {
  font-weight:400;
  opacity:.7
}

.bubble.location .location-coords {
  font-size:12px;
  opacity:.75;
  font-variant-numeric:tabular-nums
}

.bubble.location .location-apps {
  display:flex;
  gap:8px;
  margin-top:2px
}

.bubble.location .location-apps a {
  flex:1;
  text-align:center;
  padding:8px 10px;
  border-radius:12px;
  background:#0f1e2a;
  color:var(--ice);
  text-decoration:none;
  font-size:13px;
  font-weight:600
}

.photo-tray-new.location-share {
  width:100%;
  text-align:left;
  cursor:pointer;
  background:transparent
}

.photo-tray-new.location-share small {
  display:block;
  font-weight:400;
  color:var(--muted);
  font-size:12px;
  margin-top:2px
}

/* Delete stays hidden until the row is slid or held; it was showing through the transparent row. */
.swipe-delete {
  visibility:hidden
}

.swipe-row.open .swipe-delete,
.swipe-row.dragging .swipe-delete {
  visibility:visible
}

/* Chat header: a little air above his picture, a lighter back arrow. */
.conversation-header {
  padding-top:10px
}

.conversation-header .icon-button[data-chat-back] {
  font-size:19px;
  width:32px
}

/* The sharing sheet, off the chat header. */
.chat-share svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7
}

.chat-share.active {
  color:var(--ice)
}

.share-line {
  display:flex;
  align-items:center;
  gap:8px;
  margin:6px 0;
  font-size:14px;
  color:var(--ink)
}

.share-line.muted {
  color:var(--muted)
}

.share-line small {
  color:var(--muted)
}

button.share-line {
  width:100%;
  justify-content:flex-start;
  min-height:44px;
  border-radius:14px
}

dialog h3 {
  margin:18px 0 6px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted)
}

/* Activity. */
.activity-row.fresh strong::after {
  content:'';
  display:inline-block;
  width:8px;
  height:8px;
  margin-left:8px;
  border-radius:50%;
  background:var(--ice);
  vertical-align:middle
}

.activity-cta {
  font-size:12px;
  color:var(--ice);
  border:1px solid var(--line);
  border-radius:12px;
  padding:4px 10px
}
