:root {
  color-scheme: dark;
  --ink-950: #071116;
  --ink-900: #0b171d;
  --ink-850: #101d24;
  --ink-800: #16262d;
  --ink-700: #20343a;
  --fog-100: #f0f4ee;
  --fog-300: #c8d5cf;
  --fog-500: #8fa6a2;
  --teal-300: #7ed1c3;
  --teal-500: #3c9f94;
  --gold-300: #f0c77c;
  --gold-500: #c88c3e;
  --rose-400: #cb786f;
  --violet-400: #9782be;
  --danger: #e18278;
  --line: rgba(174, 205, 196, 0.13);
  --surface: rgba(14, 29, 35, 0.88);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink-950);
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -18%, rgba(63, 134, 122, 0.23), transparent 38rem),
    radial-gradient(circle at 110% 18%, rgba(201, 139, 60, 0.11), transparent 24rem),
    var(--ink-950);
  color: var(--fog-100);
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--fog-300);
  opacity: 0.2;
  box-shadow:
    16vw 8vh 0 rgba(240, 199, 124, 0.55),
    44vw 16vh 0 rgba(126, 209, 195, 0.45),
    77vw 11vh 0 rgba(240, 244, 238, 0.5),
    90vw 38vh 0 rgba(240, 199, 124, 0.45),
    11vw 56vh 0 rgba(126, 209, 195, 0.35),
    64vw 67vh 0 rgba(240, 244, 238, 0.38),
    35vw 82vh 0 rgba(151, 130, 190, 0.5);
}

.ambient span:nth-child(2) {
  transform: translate(5vw, 23vh);
}

.ambient span:nth-child(3) {
  transform: translate(-9vw, 51vh);
}

#app {
  position: relative;
  z-index: 1;
}

.app-shell {
  width: 100%;
  min-height: 100dvh;
  padding: max(1.1rem, env(safe-area-inset-top)) 1.15rem calc(7.25rem + var(--safe-bottom));
}

.app-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1rem;
  margin: 0 auto;
  max-width: 34rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark,
.boot-mark {
  position: relative;
  width: 2.65rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid rgba(126, 209, 195, 0.42);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(126, 209, 195, 0.12);
}

.brand-mark::before,
.brand-mark::after,
.boot-mark::before,
.boot-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(126, 209, 195, 0.32);
  border-radius: 50%;
  inset: 0.35rem;
}

.brand-mark::after,
.boot-mark::after {
  inset: 0.8rem;
  background: var(--gold-300);
  border: none;
  box-shadow: 0 0 18px rgba(240, 199, 124, 0.72);
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 720;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.brand-tagline {
  margin: 0.15rem 0 0;
  color: var(--fog-500);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.energy-button {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0.42rem 0.55rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.energy-orb {
  --energy: 82%;
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink-850) 54%, transparent 56%),
    conic-gradient(var(--gold-300) var(--energy), rgba(255, 255, 255, 0.1) 0);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(200, 140, 62, 0.15);
}

.energy-label {
  display: none;
  color: var(--fog-500);
  font-size: 0.72rem;
  text-align: left;
}

.energy-label strong {
  display: block;
  color: var(--fog-100);
  font-size: 0.85rem;
}

.main-view {
  max-width: 34rem;
  margin: 2rem auto 0;
  animation: view-in 380ms ease both;
}

.view-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.view-intro h1 {
  max-width: 18ch;
  margin: 0.3rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 11vw, 4.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.view-intro .intro-note {
  max-width: 12rem;
  margin: 0 0 0.3rem;
  color: var(--fog-500);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
}

.eyebrow {
  margin: 0;
  color: var(--gold-300);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.field-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 0.8rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-item {
  padding: 0.85rem 0.65rem 0.8rem;
  border-right: 1px solid var(--line);
}

.status-item:last-child {
  border-right: 0;
}

.status-item strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.status-item span {
  display: block;
  margin-top: 0.18rem;
  color: var(--fog-500);
  font-size: 0.64rem;
  line-height: 1.2;
}

.radar-wrap {
  position: relative;
  width: min(94vw, 33rem);
  aspect-ratio: 1;
  margin: 0.5rem auto 0;
  overflow: hidden;
  border-radius: 50%;
  isolation: isolate;
}

.radar {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(126, 209, 195, 0.15);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(126, 209, 195, 0.08) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(126, 209, 195, 0.08) 50%, transparent 50.2%),
    radial-gradient(circle, transparent 22%, rgba(126, 209, 195, 0.12) 22.3%, transparent 22.7% 43%, rgba(126, 209, 195, 0.11) 43.3%, transparent 43.7% 65%, rgba(126, 209, 195, 0.1) 65.3%, transparent 65.7%);
}

.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 10deg, transparent 0deg 310deg, rgba(126, 209, 195, 0.02) 330deg, rgba(126, 209, 195, 0.2) 358deg, transparent 360deg);
  animation: sweep 11s linear infinite;
}

.radar::after {
  content: "";
  position: absolute;
  inset: 48%;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 0 rgba(240, 199, 124, 0.25), 0 0 22px rgba(240, 199, 124, 0.65);
  animation: own-signal 3s ease-out infinite;
}

.radar-label {
  position: absolute;
  color: rgba(200, 213, 207, 0.42);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.radar-label.north { top: 1.2rem; left: 50%; transform: translateX(-50%); }
.radar-label.range { right: 0.4rem; bottom: 27%; }

.signal-node {
  --node-color: var(--teal-300);
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4.15rem;
  height: 4.15rem;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(13, 31, 37, 0.9);
  cursor: pointer;
  animation: signal-float 5s ease-in-out infinite;
  animation-delay: var(--delay);
}

.signal-node::before,
.signal-node::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--node-color) 42%, transparent);
  border-radius: 50%;
  inset: -0.2rem;
  opacity: 0;
  animation: node-wave 3.4s ease-out infinite;
  animation-delay: var(--delay);
}

.signal-node::after {
  animation-delay: calc(var(--delay) + 1.7s);
}

.signal-core {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--node-color) 55%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--node-color) 32%, transparent), transparent 52%),
    var(--ink-850);
  box-shadow: 0 0 20px color-mix(in srgb, var(--node-color) 18%, transparent);
}

.signal-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(0.75);
  transform: scale(1.15);
}

.signal-core span {
  font-size: 1.35rem;
  filter: blur(1.5px);
}

.signal-node em {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  width: max-content;
  max-width: 7.8rem;
  transform: translateX(-50%);
  color: var(--fog-300);
  font-size: 0.63rem;
  font-style: normal;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 8px var(--ink-950);
}

.signal-node[data-strength="warm"] { --node-color: var(--gold-300); }
.signal-node[data-strength="violet"] { --node-color: var(--violet-400); }
.signal-node[data-strength="rose"] { --node-color: var(--rose-400); }

.radar-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.6rem 0 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--fog-500);
  font-size: 0.72rem;
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--teal-300);
  cursor: pointer;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.8rem 0 0.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.section-head small {
  color: var(--fog-500);
}

.signal-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.signal-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.9rem 0.1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.mini-orb {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(126, 209, 195, 0.28);
  border-radius: 50%;
  background: rgba(126, 209, 195, 0.08);
}

.signal-row strong,
.signal-row small {
  display: block;
}

.signal-row strong {
  font-size: 0.84rem;
  font-weight: 620;
}

.signal-row small {
  margin-top: 0.2rem;
  color: var(--fog-500);
  font-size: 0.68rem;
}

.signal-row .arrow {
  color: var(--gold-300);
}

.bottom-nav {
  position: fixed;
  z-index: 10;
  right: 0.75rem;
  bottom: calc(0.7rem + var(--safe-bottom));
  left: 0.75rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 32rem;
  margin: auto;
  padding: 0.42rem;
  border: 1px solid rgba(174, 205, 196, 0.14);
  border-radius: 1.2rem;
  background: rgba(9, 21, 26, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.nav-button {
  display: grid;
  min-width: 0;
  min-height: 3.75rem;
  place-items: center;
  align-content: center;
  gap: 0.22rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  color: var(--fog-500);
  cursor: pointer;
}

.nav-button .nav-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.nav-button .nav-label {
  font-size: 0.6rem;
}

.nav-button.active {
  background: rgba(126, 209, 195, 0.1);
  color: var(--fog-100);
}

.nav-button.compose {
  position: relative;
  color: var(--ink-950);
}

.nav-button.compose::before {
  content: "";
  position: absolute;
  inset: 0.35rem 0.65rem;
  z-index: -1;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 24px rgba(240, 199, 124, 0.26);
}

.connection-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(240, 199, 124, 0.2);
  background: rgba(24, 38, 42, 0.72);
}

.connection-card::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(240, 199, 124, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 1.7rem rgba(240, 199, 124, 0.03), 0 0 0 3.4rem rgba(240, 199, 124, 0.025);
}

.connection-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.connection-copy h2 {
  margin: 0 0 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.connection-copy p {
  margin: 0;
  color: var(--fog-500);
  font-size: 0.75rem;
}

.resonance-meter {
  position: relative;
  height: 0.42rem;
  margin: 1.4rem 0 0.6rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.resonance-meter span {
  display: block;
  width: var(--score);
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-300));
  box-shadow: 0 0 16px rgba(240, 199, 124, 0.4);
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  color: var(--fog-500);
  font-size: 0.66rem;
}

.mission {
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission p {
  margin: 0.45rem 0 0;
  color: var(--fog-300);
  line-height: 1.5;
}

.empty-state {
  padding: 3rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-state .empty-orbits {
  position: relative;
  width: 7rem;
  aspect-ratio: 1;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(126, 209, 195, 0.2);
  border-radius: 50%;
}

.empty-state .empty-orbits::before,
.empty-state .empty-orbits::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(240, 199, 124, 0.18);
  border-radius: 50%;
  inset: 1.2rem;
}

.empty-state .empty-orbits::after {
  inset: 2.8rem;
  border: 0;
  background: var(--gold-300);
  box-shadow: 0 0 18px rgba(240, 199, 124, 0.55);
}

.empty-state h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.empty-state p {
  max-width: 28rem;
  margin: 0.7rem auto 0;
  color: var(--fog-500);
  line-height: 1.6;
}

.broadcast-card {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.broadcast-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 6vw, 1.85rem);
  line-height: 1.3;
}

.broadcast-card footer {
  margin-top: 0.85rem;
  color: var(--fog-500);
  font-size: 0.72rem;
}

.primary-action,
.secondary-action,
.danger-action {
  display: flex;
  width: 100%;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
}

.primary-action {
  background: var(--gold-300);
  color: #1e1a12;
  font-weight: 720;
}

.primary-action small {
  color: rgba(30, 26, 18, 0.65);
  font-weight: 600;
}

.secondary-action {
  border-color: rgba(126, 209, 195, 0.28);
  background: rgba(126, 209, 195, 0.07);
  color: var(--teal-300);
}

.primary-action:disabled,
.secondary-action:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: saturate(0.45);
}

.danger-action {
  border-color: rgba(225, 130, 120, 0.24);
  background: rgba(225, 130, 120, 0.06);
  color: var(--danger);
}

.profile-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.profile-orb {
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(240, 199, 124, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(240, 199, 124, 0.21), transparent 54%), var(--ink-850);
  font-size: 1.55rem;
  box-shadow: 0 0 32px rgba(240, 199, 124, 0.1);
}

.profile-identity h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.profile-identity p {
  margin: 0.25rem 0 0;
  color: var(--fog-500);
  font-size: 0.75rem;
}

.frequency-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
}

.frequency {
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(126, 209, 195, 0.18);
  border-radius: 2rem;
  color: var(--fog-300);
  font-size: 0.72rem;
}

.settings-list {
  border-top: 1px solid var(--line);
}

.settings-row {
  display: flex;
  width: 100%;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--fog-300);
  text-align: left;
  cursor: pointer;
}

.settings-row small {
  color: var(--fog-500);
}

.sheet {
  width: min(100%, 34rem);
  max-height: 92dvh;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  background: transparent;
  color: var(--fog-100);
}

.sheet::backdrop {
  background: rgba(2, 8, 11, 0.75);
  backdrop-filter: blur(8px);
}

.sheet[open] {
  animation: sheet-up 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet-panel {
  max-height: 92dvh;
  overflow-y: auto;
  padding: 1.25rem 1.2rem calc(1.4rem + var(--safe-bottom));
  border: 1px solid rgba(174, 205, 196, 0.15);
  border-bottom: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 85% 0, rgba(200, 140, 62, 0.12), transparent 17rem),
    #0e1d23;
  box-shadow: var(--shadow);
}

.sheet-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.sheet-head h2 {
  margin: 0.3rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.icon-button {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--fog-300);
  font-size: 1.35rem;
  cursor: pointer;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.field > span,
.signal-types legend {
  color: var(--fog-300);
  font-size: 0.75rem;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(174, 205, 196, 0.17);
  border-radius: 0.65rem;
  background: rgba(4, 14, 18, 0.5);
  color: var(--fog-100);
}

.field input {
  min-height: 3.15rem;
  padding: 0 0.85rem;
}

.field textarea {
  resize: vertical;
  padding: 0.85rem;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #647a77;
}

.field small {
  color: var(--fog-500);
  font-size: 0.65rem;
  text-align: right;
}

.signal-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
}

.signal-types legend {
  width: 100%;
  margin-bottom: 0.35rem;
}

.signal-types input {
  position: absolute;
  opacity: 0;
}

.signal-types span {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(174, 205, 196, 0.15);
  border-radius: 2rem;
  color: var(--fog-500);
  font-size: 0.7rem;
  cursor: pointer;
}

.signal-types input:checked + span {
  border-color: rgba(240, 199, 124, 0.4);
  background: rgba(240, 199, 124, 0.09);
  color: var(--gold-300);
}

.signal-detail-hero {
  position: relative;
  display: grid;
  min-height: 11rem;
  place-items: center;
  overflow: hidden;
  margin: -0.1rem 0 1.2rem;
  border: 1px solid rgba(126, 209, 195, 0.12);
  background: rgba(7, 18, 22, 0.5);
}

.detail-orb {
  display: grid;
  width: 6.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(240, 199, 124, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(240, 199, 124, 0.22), transparent 56%), var(--ink-850);
  font-size: 2rem;
  filter: blur(2px);
  box-shadow: 0 0 50px rgba(240, 199, 124, 0.12);
}

.signal-detail-hero::before,
.signal-detail-hero::after {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(126, 209, 195, 0.12);
  border-radius: 50%;
}

.signal-detail-hero::after {
  width: 14rem;
  height: 14rem;
}

.signal-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: var(--fog-500);
  font-size: 0.69rem;
}

.life-quote {
  margin: 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.45;
}

.detail-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.safety-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.safety-actions button {
  border: 0;
  background: transparent;
  color: var(--fog-500);
  font-size: 0.68rem;
  cursor: pointer;
}

.quiet-copy {
  margin: -0.35rem 0 1.2rem;
  color: var(--fog-500);
  font-size: 0.78rem;
  line-height: 1.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  min-height: 2.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--fog-500);
  cursor: pointer;
}

.auth-tab.active {
  border-bottom-color: var(--gold-300);
  color: var(--fog-100);
}

.auth-panel[data-mode="login"] .register-only {
  display: none;
}

.frequency-picker {
  margin-top: 0.25rem;
}

.onboarding-dialog {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink-950);
  color: var(--fog-100);
}

.onboarding-dialog::backdrop {
  background: var(--ink-950);
}

.onboarding-dialog[open] {
  animation: calibration-in 380ms ease both;
}

.calibration-shell {
  position: relative;
  min-height: 100dvh;
  padding: max(1rem, env(safe-area-inset-top)) 1.1rem max(1.4rem, env(safe-area-inset-bottom));
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -15%, rgba(73, 145, 132, 0.2), transparent 32rem),
    radial-gradient(circle at 95% 82%, rgba(200, 140, 62, 0.12), transparent 23rem),
    var(--ink-950);
}

.calibration-shell::before {
  content: "";
  position: fixed;
  top: 17%;
  right: -10rem;
  width: 23rem;
  height: 23rem;
  border: 1px solid rgba(126, 209, 195, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(126, 209, 195, 0.025),
    0 0 0 8rem rgba(126, 209, 195, 0.018);
  pointer-events: none;
}

.calibration-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 4rem 1fr 4rem;
  align-items: center;
  max-width: 48rem;
  margin: 0 auto 1.2rem;
}

.calibration-head .icon-button {
  justify-self: start;
}

.calibration-head > .text-button {
  justify-self: end;
  font-size: 0.72rem;
}

.calibration-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--fog-300);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.calibration-brand .brand-mark {
  width: 1.65rem;
}

.calibration-progress {
  position: relative;
  width: min(100%, 32rem);
  height: 2px;
  margin: 0 auto 0.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.calibration-progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  background: var(--gold-300);
  box-shadow: 0 0 14px rgba(240, 199, 124, 0.45);
  transition: width 350ms ease;
}

.step-count {
  width: min(100%, 32rem);
  margin: 0 auto;
  color: var(--fog-500);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.calibration-stage {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 32rem);
  min-height: calc(100dvh - 8rem);
  margin: 0 auto;
  align-items: center;
  padding: 1.4rem 0 3rem;
}

.calibration-stage.wide {
  width: min(100%, 48rem);
  align-items: start;
}

.calibration-form {
  width: 100%;
  animation: view-in 380ms ease both;
}

.calibration-form h2,
.calibration-complete h2 {
  max-width: 13ch;
  margin: 0.55rem 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 11vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.calibration-copy {
  max-width: 36rem;
  margin: 0 0 1.65rem;
  color: var(--fog-500);
  font-size: 0.86rem;
  line-height: 1.6;
}

.calibration-input {
  display: grid;
  gap: 0.48rem;
  margin-bottom: 1rem;
}

.calibration-input > span,
.depth-label {
  color: var(--fog-300);
  font-size: 0.72rem;
  font-weight: 650;
}

.calibration-input input,
.calibration-input textarea,
.calibration-input select,
.visibility-control select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(174, 205, 196, 0.22);
  border-radius: 0;
  background: rgba(8, 22, 27, 0.42);
  color: var(--fog-100);
}

.calibration-input input,
.calibration-input select {
  min-height: 3.45rem;
  padding: 0 0.85rem;
}

.calibration-input textarea {
  resize: vertical;
  padding: 0.85rem;
  line-height: 1.55;
}

.calibration-input small {
  color: var(--fog-500);
  font-size: 0.65rem;
  line-height: 1.4;
}

.calibration-input input::placeholder,
.calibration-input textarea::placeholder {
  color: #5e7772;
}

.consent-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0;
  color: var(--fog-300);
  font-size: 0.75rem;
}

.consent-line input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--gold-300);
}

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

.birth-calibration {
  margin: 1.5rem 0 0.7rem;
  padding: 1.35rem 0 1.1rem;
  border-top: 1px solid rgba(174, 205, 196, 0.12);
  border-bottom: 1px solid rgba(174, 205, 196, 0.12);
}

.birth-calibration-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.birth-calibration-head .eyebrow {
  margin-bottom: 0.35rem;
}

.birth-calibration-head h3 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.05;
}

.birth-year-output {
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 14vw, 4.2rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-shadow: 0 0 26px rgba(240, 199, 124, 0.2);
}

.year-timeline {
  display: block;
  margin: 1.35rem 0 0;
}

.year-timeline input {
  width: 100%;
  height: 1.8rem;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.year-timeline input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 1rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 9.5%, rgba(174, 205, 196, 0.18) 9.5% 10%),
    linear-gradient(90deg, rgba(126, 209, 195, 0.22), rgba(240, 199, 124, 0.68));
}

.year-timeline input::-webkit-slider-thumb {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -0.51rem;
  appearance: none;
  border: 2px solid var(--ink-950);
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(240, 199, 124, 0.12), 0 0 18px rgba(240, 199, 124, 0.42);
}

.year-timeline input::-moz-range-track {
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, rgba(126, 209, 195, 0.22), rgba(240, 199, 124, 0.68));
}

.year-timeline input::-moz-range-thumb {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--ink-950);
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(240, 199, 124, 0.12), 0 0 18px rgba(240, 199, 124, 0.42);
}

.timeline-edge {
  display: flex;
  justify-content: space-between;
  margin-top: -0.25rem;
  color: var(--fog-500);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-response {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border-left: 2px solid rgba(126, 209, 195, 0.36);
  background: linear-gradient(90deg, rgba(126, 209, 195, 0.07), transparent);
}

.generation-badge {
  width: max-content;
  color: var(--teal-300);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.time-response strong {
  color: var(--fog-300);
  font-size: 0.76rem;
  font-weight: 620;
}

.time-response p {
  margin: 0.2rem 0 0;
  color: var(--fog-500);
  font-size: 0.69rem;
  line-height: 1.5;
}

.time-response p span {
  color: var(--gold-300);
}

.month-calibration {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.month-orbit {
  position: relative;
  width: min(19rem, 88vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(126, 209, 195, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 199, 124, 0.08) 0 20%, transparent 21% 49%, rgba(126, 209, 195, 0.025) 50% 51%, transparent 52%),
    repeating-radial-gradient(circle, transparent 0 2.9rem, rgba(126, 209, 195, 0.035) 3rem 3.05rem);
  box-shadow: inset 0 0 40px rgba(126, 209, 195, 0.025);
}

.month-orbit::before,
.month-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 209, 195, 0.08), transparent);
  transform: translate(-50%, -50%);
}

.month-orbit::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.month-node {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(174, 205, 196, 0.17);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--fog-500);
  cursor: pointer;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-8.1rem);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.month-node span {
  font-size: 0.56rem;
  font-weight: 720;
  transform: rotate(calc(-1 * var(--angle)));
}

.month-node:hover,
.month-node:focus-visible {
  border-color: rgba(126, 209, 195, 0.55);
  color: var(--fog-100);
}

.month-node.selected {
  border-color: var(--gold-300);
  background: var(--gold-300);
  color: #1e1a12;
  box-shadow: 0 0 0 5px rgba(240, 199, 124, 0.1), 0 0 22px rgba(240, 199, 124, 0.3);
}

.month-orbit-core {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 8.4rem;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(240, 199, 124, 0.18);
  border-radius: 50%;
  background: rgba(8, 22, 27, 0.82);
  text-align: center;
  transform: translate(-50%, -50%);
}

.month-orbit-core small {
  color: var(--fog-500);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
}

.month-orbit-core strong {
  margin: 0.3rem 0 0.16rem;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.month-orbit-core span {
  color: var(--fog-500);
  font-size: 0.56rem;
}

.zodiac-calibration {
  padding: 0.9rem;
  border: 1px solid rgba(174, 205, 196, 0.1);
  background: rgba(12, 29, 35, 0.34);
}

.zodiac-calibration > p {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.75rem;
}

.zodiac-calibration > p span,
.zodiac-calibration > p small {
  display: block;
}

.zodiac-calibration > p span {
  color: var(--fog-300);
  font-size: 0.7rem;
  font-weight: 700;
}

.zodiac-calibration > p small {
  max-width: 15rem;
  color: var(--fog-500);
  font-size: 0.58rem;
  line-height: 1.35;
  text-align: right;
}

.zodiac-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.zodiac-choice {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(174, 205, 196, 0.12);
  border-radius: 0.55rem;
  background: transparent;
  color: var(--fog-500);
  cursor: pointer;
}

.zodiac-choice span {
  font-size: 1.25rem;
}

.zodiac-choice strong {
  font-size: 0.66rem;
}

.zodiac-choice.selected {
  border-color: rgba(240, 199, 124, 0.44);
  background: rgba(240, 199, 124, 0.08);
  color: var(--gold-300);
}

.birth-privacy {
  margin: 0.8rem 0 0;
  color: var(--fog-500);
  font-size: 0.6rem;
  line-height: 1.45;
  text-align: center;
}

.calibration-next {
  margin-top: 1.4rem;
}

.demo-notice {
  margin: 1rem 0 0;
  color: var(--fog-500);
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: center;
}

.signal-name-input input {
  min-height: 4.3rem;
  padding-left: 0;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.signal-preview {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-preview small,
.signal-preview strong {
  display: block;
}

.signal-preview small {
  color: var(--fog-500);
  font-size: 0.65rem;
}

.signal-preview strong {
  margin-top: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.frequency-counters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.frequency-counters span {
  min-width: 6.5rem;
  padding: 0.65rem 0.75rem;
  border-left: 2px solid rgba(174, 205, 196, 0.15);
  color: var(--fog-500);
  font-size: 0.7rem;
}

.frequency-counters span.complete {
  border-left-color: var(--gold-300);
  color: var(--gold-300);
}

.frequency-counters strong {
  display: block;
  color: var(--fog-100);
  font-size: 0.95rem;
}

.frequency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.frequency-choice {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem;
  border: 1px solid rgba(174, 205, 196, 0.12);
  border-radius: 0.65rem;
  background: rgba(12, 29, 35, 0.45);
  color: var(--fog-300);
  text-align: left;
  cursor: pointer;
}

.frequency-choice span {
  min-width: 0;
  font-size: 0.72rem;
}

.frequency-choice small {
  color: var(--fog-500);
  font-size: 0.58rem;
}

.frequency-choice.primary {
  border-color: rgba(240, 199, 124, 0.48);
  background: rgba(240, 199, 124, 0.1);
  color: var(--gold-300);
}

.frequency-choice.secondary {
  border-color: rgba(126, 209, 195, 0.36);
  background: rgba(126, 209, 195, 0.07);
  color: var(--teal-300);
}

.sensitive-field {
  margin: 1rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sensitive-field summary {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--fog-300);
  font-size: 0.72rem;
  cursor: pointer;
}

.sensitive-field summary span {
  color: var(--gold-300);
  font-size: 0.6rem;
}

.sensitive-field > p {
  margin: 0 0 0.8rem;
  color: var(--fog-500);
  font-size: 0.68rem;
  line-height: 1.5;
}

.sensitive-field .frequency-grid {
  padding-bottom: 0.8rem;
}

.reception-grid {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.reception-option input {
  position: absolute;
  opacity: 0;
}

.reception-option span {
  display: grid;
  min-height: 3.75rem;
  align-content: center;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(174, 205, 196, 0.12);
  border-radius: 0.65rem;
  background: rgba(12, 29, 35, 0.4);
  cursor: pointer;
}

.reception-option strong,
.reception-option small {
  display: block;
}

.reception-option strong {
  font-size: 0.8rem;
}

.reception-option small {
  margin-top: 0.22rem;
  color: var(--fog-500);
  font-size: 0.65rem;
}

.reception-option input:checked + span {
  border-color: rgba(240, 199, 124, 0.46);
  background: rgba(240, 199, 124, 0.09);
}

.reception-option input:checked + span strong {
  color: var(--gold-300);
}

.prompt-row {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.prompt-row::-webkit-scrollbar {
  display: none;
}

.prompt-row button {
  flex: 0 0 auto;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(126, 209, 195, 0.18);
  border-radius: 2rem;
  background: transparent;
  color: var(--teal-300);
  font-size: 0.65rem;
  cursor: pointer;
}

.calibration-complete {
  width: 100%;
  text-align: center;
  animation: view-in 480ms ease both;
}

.calibration-complete h2 {
  max-width: none;
}

.calibration-complete > p:not(.eyebrow) {
  max-width: 30rem;
  margin: 0 auto 1.5rem;
  color: var(--fog-500);
  line-height: 1.6;
}

.activation-orbit {
  position: relative;
  width: 10rem;
  aspect-ratio: 1;
  margin: 0 auto 1.7rem;
  border: 1px solid rgba(126, 209, 195, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(126, 209, 195, 0.025), 0 0 0 4rem rgba(126, 209, 195, 0.015);
}

.activation-orbit::before,
.activation-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(240, 199, 124, 0.2);
  border-radius: 50%;
  inset: 1.7rem;
}

.activation-orbit::after {
  inset: 4.25rem;
  border: 0;
  background: var(--gold-300);
  box-shadow: 0 0 25px rgba(240, 199, 124, 0.75);
  animation: own-signal 2.8s ease-out infinite;
}

.activation-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.activation-summary span {
  padding: 0.8rem 0.4rem;
  border-right: 1px solid var(--line);
  color: var(--fog-500);
  font-size: 0.6rem;
}

.activation-summary span:last-child {
  border-right: 0;
}

.activation-summary strong {
  display: block;
  overflow: hidden;
  margin-bottom: 0.2rem;
  color: var(--fog-100);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deepen-now {
  margin-top: 1.1rem;
}

.depth-panel {
  padding-bottom: calc(2rem + var(--safe-bottom));
}

.depth-section {
  border-top: 1px solid var(--line);
}

.depth-section:last-of-type {
  border-bottom: 1px solid var(--line);
}

.depth-section summary {
  display: grid;
  grid-template-columns: 2rem 1fr;
  min-height: 4.4rem;
  align-items: center;
  cursor: pointer;
}

.depth-section summary > span {
  color: var(--gold-300);
  font-size: 0.6rem;
}

.depth-section summary strong,
.depth-section summary small {
  grid-column: 2;
}

.depth-section summary strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.depth-section summary small {
  align-self: start;
  margin-top: 0.15rem;
  color: var(--fog-500);
  font-size: 0.62rem;
}

.depth-section-body {
  padding: 0.4rem 0 1.4rem 2rem;
}

.depth-label {
  margin: 0.4rem 0 0.7rem;
}

.depth-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.depth-choice-grid input {
  position: absolute;
  opacity: 0;
}

.depth-choice-grid span {
  display: inline-block;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(174, 205, 196, 0.14);
  border-radius: 2rem;
  color: var(--fog-500);
  font-size: 0.67rem;
  cursor: pointer;
}

.depth-choice-grid input:checked + span {
  border-color: rgba(126, 209, 195, 0.38);
  background: rgba(126, 209, 195, 0.08);
  color: var(--teal-300);
}

.visibility-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: -0.2rem 0 1.1rem;
}

.visibility-control > span {
  color: var(--fog-500);
  font-size: 0.62rem;
}

.visibility-control select {
  width: auto;
  min-height: 2.35rem;
  padding: 0 0.45rem;
  color: var(--gold-300);
  font-size: 0.62rem;
}

.depth-save {
  position: sticky;
  bottom: calc(0.7rem + var(--safe-bottom));
  z-index: 2;
  margin-top: 1.2rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.toast-region {
  position: fixed;
  z-index: 30;
  top: max(1rem, env(safe-area-inset-top));
  right: 1rem;
  left: 1rem;
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.toast {
  max-width: 28rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(240, 199, 124, 0.25);
  border-radius: 0.75rem;
  background: rgba(14, 29, 35, 0.96);
  color: var(--fog-100);
  box-shadow: var(--shadow);
  font-size: 0.76rem;
  animation: toast-in 250ms ease both;
}

.boot-screen {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
}

.boot-screen .boot-mark {
  width: 4.5rem;
  animation: own-signal 2.4s ease-out infinite;
}

.boot-screen p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 720;
  letter-spacing: 0.25em;
}

.boot-screen small {
  color: var(--fog-500);
}

.noscript {
  position: relative;
  z-index: 5;
  max-width: 35rem;
  margin: 20vh auto;
  padding: 2rem;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

@keyframes own-signal {
  0% { box-shadow: 0 0 0 0 rgba(240, 199, 124, 0.25), 0 0 22px rgba(240, 199, 124, 0.65); }
  75%, 100% { box-shadow: 0 0 0 2.2rem rgba(240, 199, 124, 0), 0 0 22px rgba(240, 199, 124, 0.4); }
}

@keyframes node-wave {
  0% { transform: scale(0.75); opacity: 0; }
  25% { opacity: 0.55; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes signal-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -0.28rem; }
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(0.5rem); }
}

@keyframes sheet-up {
  from { transform: translateY(20%); opacity: 0; }
}

@keyframes toast-in {
  from { transform: translateY(-0.5rem); opacity: 0; }
}

@media (min-width: 620px) {
  .app-shell {
    padding-top: 1.65rem;
  }

  .energy-label {
    display: block;
  }

  .sheet {
    margin-right: auto;
    margin-left: auto;
  }

  .view-intro h1 {
    font-size: 4.2rem;
  }

  .frequency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0 calc(50% - 19rem);
    z-index: 0;
    border-right: 1px solid rgba(174, 205, 196, 0.05);
    border-left: 1px solid rgba(174, 205, 196, 0.05);
    pointer-events: none;
  }
}

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