@font-face {
  font-family: "TT Fors";
  src: url("/live/assets/fonts/tt-fors-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "TT Fors";
  src: url("/live/assets/fonts/tt-fors-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TT Fors";
  src: url("/live/assets/fonts/tt-fors-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-2: #212121;
  --surface-3: #292929;
  --text: #ffffff;
  --muted: #a0a0a4;
  --faint: #6f6f73;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(188, 165, 125, 0.42);
  --gold: #bca57d;
  --gold-dark: #8f7955;
  --green: #70b693;
  --amber: #d4a35f;
  --red: #d47878;
  --violet: #9a85d8;
  --blue: #729bd4;
  color-scheme: dark;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  font-family:
    "TT Fors",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.host-page {
  background-image: url("/live/assets/app-orbits.png");
  background-position: 48% 96px;
  background-repeat: no-repeat;
  background-size: min(74vw, 1080px) auto;
}

.host-page .brand {
  gap: 16px;
}

.host-page .brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.host-page .brand span {
  font-size: 22px;
}

.host-page .eyebrow {
  font-size: clamp(14px, 0.9vw, 18px);
}

.host-page .button {
  min-height: 58px;
  padding-right: 28px;
  padding-left: 28px;
  font-size: clamp(16px, 0.95vw, 19px);
}

.mobile-page {
  background-image: url("/live/assets/app-orbits.png");
  background-position: center 56px;
  background-repeat: no-repeat;
  background-size: 680px auto;
}

button,
input {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

.page-layer {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

.brand span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--bg);
  background-color: var(--gold);
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  background-color: #cab489;
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: wait;
  opacity: 0.56;
  transform: none;
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background-color: rgba(33, 33, 33, 0.86);
}

.button.secondary:hover {
  border-color: var(--line-strong);
  background-color: var(--surface-3);
}

.button.danger {
  border-color: rgba(212, 120, 120, 0.3);
  color: #e8adad;
  background-color: rgba(88, 41, 41, 0.46);
}

.host-shell {
  width: min(100%, 1760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px clamp(28px, 4vw, 72px) 56px;
}

.host-topbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.host-actions,
.session-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.session-indicator {
  color: var(--muted);
  font-size: clamp(16px, 0.95vw, 19px);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 0 6px rgba(112, 182, 147, 0.1);
}

.status-dot.closed {
  background-color: var(--faint);
  box-shadow: none;
}

.projector-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.5fr);
  gap: clamp(42px, 7vw, 120px);
  align-items: center;
  min-height: min(520px, 58vh);
  padding: clamp(36px, 6vh, 78px) 0 42px;
}

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

.projector-copy h1 {
  max-width: 900px;
  margin: 20px 0 22px;
  font-size: clamp(68px, 7.2vw, 124px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.projector-copy h1 em {
  display: block;
  color: var(--gold);
  font-style: normal;
  font-weight: 400;
}

.projector-tagline {
  max-width: 670px;
  margin: 0;
  color: #d9d9da;
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1.45;
}

.system-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.system-strip span,
.analysis-systems span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d8da;
  background-color: rgba(13, 13, 13, 0.7);
  font-size: clamp(15px, 0.9vw, 18px);
}

.system-strip span:first-child,
.analysis-systems span:first-child {
  border-color: var(--line-strong);
  color: var(--gold);
}

.projector-hint {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.05vw, 21px);
}

.qr-panel {
  width: min(100%, 410px);
  justify-self: end;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background-color: rgba(23, 23, 23, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.qr-frame {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 21px;
  background-color: #ffffff;
}

.qr-frame canvas,
.qr-frame img {
  width: 86% !important;
  height: 86% !important;
}

.qr-fallback {
  max-width: 80%;
  color: #171717;
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.45;
  text-align: center;
  word-break: break-word;
}

.qr-meta {
  display: grid;
  gap: 12px;
  padding: 18px 10px 8px;
  text-align: center;
}

.host-page.has-participants .projector-hero {
  min-height: 370px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.host-page.has-participants .projector-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(60px, 5vw, 86px);
}

.host-page.has-participants .projector-tagline {
  font-size: clamp(20px, 1.45vw, 26px);
}

.host-page.has-participants .system-strip {
  margin-top: 16px;
}

.host-page.has-participants .projector-hint {
  margin-top: 16px;
}

.host-page.has-participants .qr-panel {
  width: min(100%, 300px);
  border-radius: 24px;
}

.host-page.has-participants .qr-meta {
  gap: 7px;
  padding-top: 12px;
}

.host-page.has-participants .join-code {
  font-size: 42px;
}

.qr-meta span {
  color: var(--muted);
  font-size: clamp(14px, 0.85vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.join-code {
  color: var(--text);
  font-size: clamp(42px, 3.5vw, 60px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 9px 0 0;
  font-size: clamp(38px, 3.4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.participant-totals {
  display: flex;
  gap: 10px;
}

.total-pill {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background-color: rgba(23, 23, 23, 0.8);
  font-size: clamp(16px, 0.9vw, 18px);
}

.total-pill strong {
  color: var(--gold);
  font-size: clamp(24px, 1.4vw, 28px);
  font-weight: 500;
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.participant-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background-color: rgba(23, 23, 23, 0.94);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.participant-card:hover {
  transform: translateY(-2px);
}

.participant-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background-color: var(--faint);
}

.participant-card[data-status="READY"] {
  border-color: rgba(112, 182, 147, 0.32);
}

.participant-card[data-status="READY"]::before {
  background-color: var(--green);
}

.participant-card[data-status="ANALYZING"] {
  border-color: rgba(188, 165, 125, 0.5);
  animation: cardPulse 2.2s ease-in-out infinite;
}

.participant-card[data-status="ANALYZING"]::before,
.participant-card[data-status="COMPLETE"]::before {
  background-color: var(--gold);
}

.participant-card[data-status="COMPLETE"] {
  border-color: rgba(188, 165, 125, 0.5);
}

.participant-card[data-status="FAILED"]::before {
  background-color: var(--red);
}

.participant-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.participant-name {
  overflow: hidden;
  color: var(--text);
  font-size: clamp(25px, 1.55vw, 31px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-index {
  color: var(--gold);
  font-size: clamp(16px, 0.9vw, 18px);
  font-variant-numeric: tabular-nums;
}

.participant-meta {
  min-height: 54px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.55;
}

.participant-card[data-has-seal="true"] .participant-meta {
  padding-right: 74px;
}

.participant-seal-mark {
  position: absolute;
  top: 68px;
  right: 24px;
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(188, 165, 125, 0.42);
  border-radius: 17px;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(188, 165, 125, 0.17),
      transparent 68%
    ),
    rgba(13, 13, 13, 0.9);
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.26);
}

.participant-seal-mark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.participant-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: clamp(14px, 0.85vw, 16px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.participant-card[data-status="ANALYZING"] .status-label,
.participant-card[data-status="COMPLETE"] .status-label {
  color: var(--gold);
}

.participant-card[data-status="FAILED"] .status-label {
  color: var(--red);
}

.analysis-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  background-color: transparent;
  font-size: clamp(15px, 0.9vw, 17px);
  font-weight: 500;
  cursor: pointer;
}

.analysis-button:hover {
  background-color: var(--surface-2);
}

.empty-participants {
  grid-column: 1 / -1;
  display: grid;
  min-height: 164px;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(188, 165, 125, 0.3);
  border-radius: 24px;
  color: var(--muted);
  background-color: rgba(23, 23, 23, 0.64);
  font-size: clamp(17px, 1.1vw, 21px);
  text-align: center;
}

.dialog-backdrop {
  position: fixed;
  z-index: 20;
  display: grid;
  inset: 0;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.82);
}

.start-dialog {
  width: min(100%, 660px);
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background-color: var(--surface);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.54);
}

.start-dialog h2 {
  margin: 10px 0 12px;
  font-size: clamp(42px, 3vw, 50px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.start-dialog p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: clamp(18px, 1.2vw, 21px);
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.field label {
  color: #d5d5d7;
  font-size: clamp(16px, 1vw, 18px);
}

.field input {
  width: 100%;
  min-height: 70px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  outline: none;
  color: var(--text);
  background-color: rgba(13, 13, 13, 0.92);
  font-size: clamp(18px, 1.15vw, 21px);
}

.field input::placeholder {
  color: #69696d;
}

.field input:focus {
  border-color: var(--gold);
}

.form-error {
  min-height: 24px;
  color: #e0a0a0;
  font-size: 16px;
  line-height: 1.45;
}

.result-dialog {
  position: fixed;
  z-index: 30;
  inset: 0;
  overflow-y: auto;
  background-color: var(--bg);
  background-image: url("/live/assets/app-fabric.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: cover;
}

.result-shell {
  width: min(100%, 1500px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px clamp(26px, 5vw, 78px) 80px;
  background-color: rgba(13, 13, 13, 0.9);
}

.result-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.result-hero {
  padding: clamp(70px, 10vh, 130px) 0 58px;
}

.result-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(64px, 8vw, 126px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.result-meta span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d2d2d4;
  background-color: rgba(23, 23, 23, 0.9);
  font-size: clamp(16px, 1vw, 19px);
}

.result-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-section {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background-color: rgba(23, 23, 23, 0.94);
}

.result-section.featured {
  grid-column: 1 / -1;
  border-color: var(--line-strong);
}

.result-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.result-section-heading > div:first-child {
  min-width: 0;
}

.maya-seal-mark {
  display: grid;
  width: clamp(92px, 7.5vw, 118px);
  flex: 0 0 auto;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(188, 165, 125, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(188, 165, 125, 0.18),
      transparent 68%
    ),
    rgba(13, 13, 13, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.maya-seal-mark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.result-section h2 {
  margin: 12px 0 22px;
  font-size: clamp(38px, 3.5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.result-section-copy {
  color: #d7d7d9;
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.62;
}

.result-section-copy p {
  margin: 0 0 1em;
}

.result-section-copy p:last-child {
  margin-bottom: 0;
}

.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.fact-chip {
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  background-color: rgba(13, 13, 13, 0.8);
  font-size: clamp(16px, 1vw, 18px);
}

.maya-detail {
  margin-top: clamp(36px, 4vw, 58px);
  padding-top: clamp(32px, 3.6vw, 52px);
  border-top: 1px solid var(--line-strong);
}

.maya-detail-hero h3 {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.maya-detail-eyebrow {
  color: var(--gold);
  font-size: clamp(13px, 0.85vw, 16px);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.maya-detail-keywords {
  margin: 0;
  color: var(--gold);
  font-size: clamp(17px, 1.25vw, 21px);
  letter-spacing: 0.035em;
}

.maya-detail-introduction {
  margin-top: 28px;
}

.maya-detail-polarities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.maya-detail-block,
.maya-detail-practice {
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background-color: rgba(13, 13, 13, 0.68);
}

.maya-detail-block.light {
  border-color: rgba(188, 165, 125, 0.38);
}

.maya-detail-block.shadow {
  border-color: rgba(181, 101, 101, 0.3);
}

.maya-detail-block h4,
.maya-detail-practice h4 {
  margin: 8px 0 16px;
  color: var(--text);
  font-size: clamp(23px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.15;
}

.maya-detail-copy {
  color: #d2d2d4;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.62;
}

.maya-detail-copy p {
  margin: 0 0 1em;
}

.maya-detail-copy p:last-child {
  margin-bottom: 0;
}

.maya-detail-contradiction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-color: rgba(13, 13, 13, 0.58);
}

.maya-detail-contradiction span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maya-detail-contradiction strong {
  color: var(--gold);
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 500;
  text-align: right;
}

.maya-detail-practice {
  margin-top: 28px;
  border-color: rgba(112, 182, 147, 0.3);
}

.maya-detail-practice > p {
  margin: 0 0 18px;
}

.maya-detail-practice ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 1.45em;
}

.maya-detail-practice li {
  padding-left: 0.25em;
}

.maya-detail-practice li::marker {
  color: var(--gold);
}

.maya-detail-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.maya-detail-extras .maya-detail-block {
  min-width: 0;
}

.mobile-shell {
  width: min(100%, 480px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(15px, env(safe-area-inset-top)) 20px
    max(34px, env(safe-area-inset-bottom));
}

.mobile-topbar {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-topbar .brand {
  gap: 8px;
}

.mobile-topbar .brand img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.mobile-topbar .brand span {
  font-size: 10px;
  letter-spacing: 0.27em;
}

.room-code-mini {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-screen {
  display: flex;
  min-height: calc(100svh - 80px);
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 70px;
}

.mobile-screen.align-start {
  justify-content: flex-start;
  padding-top: 52px;
}

.mobile-screen h1,
.wizard-step h1,
.analysis-loader h1,
.mobile-result h1 {
  margin: 12px 0 14px;
  font-size: clamp(31px, 9vw, 40px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.screen-copy {
  max-width: 410px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.mobile-form {
  width: 100%;
}

.mobile-form .field input {
  min-height: 60px;
}

.mobile-form .button {
  width: 100%;
  min-height: 60px;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 42px;
}

.progress span {
  height: 3px;
  border-radius: 999px;
  background-color: #303033;
  transition: background-color 180ms ease;
}

.progress span.active,
.progress span.done {
  background-color: var(--gold);
}

.wizard-step {
  min-height: 310px;
}

.wizard-footer {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.wizard-footer .button:last-child {
  flex: 1;
}

.place-wrap {
  position: relative;
}

.place-suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background-color: var(--surface-2);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.place-option {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  background-color: transparent;
  text-align: left;
  cursor: pointer;
}

.place-option:hover {
  background-color: var(--surface-3);
}

.place-option:last-child {
  border-bottom: 0;
}

.review-card {
  display: grid;
  gap: 0;
  margin: 8px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background-color: rgba(23, 23, 23, 0.94);
}

.review-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row span {
  color: var(--muted);
  font-size: 13px;
}

.review-row strong {
  max-width: 66%;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: #cacacc;
  background-color: rgba(23, 23, 23, 0.9);
  font-size: 15px;
  line-height: 1.48;
  cursor: pointer;
}

.consent-box input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--gold);
}

.analysis-loader {
  display: grid;
  min-height: 560px;
  place-items: center;
  text-align: center;
}

.analysis-visual {
  display: grid;
  width: min(78vw, 300px);
  aspect-ratio: 1;
  margin: -18px auto 10px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}

.analysis-visual img {
  display: block;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 62%;
  animation: orbBreathe 2.6s ease-in-out infinite;
}

.analysis-loader p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.analysis-systems {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 24px auto 0;
}

.mobile-result {
  padding: 72px 0 28px;
}

.mobile-result > div > div:first-child {
  margin-bottom: 38px;
}

.mobile-result .screen-copy {
  margin-bottom: 20px;
}

.mobile-result .result-meta {
  gap: 7px;
}

.mobile-result .result-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mobile-result .result-section {
  padding: 24px 20px;
  border-radius: 24px;
}

.mobile-result .result-section h2 {
  margin: 9px 0 17px;
  font-size: 28px;
}

.mobile-result .result-section-heading {
  gap: 16px;
}

.mobile-result .maya-seal-mark {
  width: 76px;
  padding: 6px;
  border-radius: 19px;
}

.mobile-result .maya-seal-mark img {
  border-radius: 13px;
}

.mobile-result .result-section-copy {
  color: #d2d2d4;
  font-size: 17px;
  line-height: 1.58;
}

.mobile-result .maya-detail {
  margin-top: 34px;
  padding-top: 30px;
}

.mobile-result .maya-detail-hero h3 {
  font-size: 28px;
}

.mobile-result .maya-detail-keywords {
  font-size: 16px;
  line-height: 1.45;
}

.mobile-result .maya-detail-introduction {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.62;
}

.mobile-result .maya-detail-polarities,
.mobile-result .maya-detail-extras {
  grid-template-columns: 1fr;
}

.mobile-result .maya-detail-block,
.mobile-result .maya-detail-practice {
  padding: 20px 18px;
  border-radius: 20px;
}

.mobile-result .maya-detail-block h4,
.mobile-result .maya-detail-practice h4 {
  font-size: 24px;
}

.mobile-result .maya-detail-copy,
.mobile-result .maya-detail-practice {
  font-size: 17px;
  line-height: 1.62;
}

.mobile-result .maya-detail-contradiction {
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.mobile-result .maya-detail-contradiction strong {
  text-align: left;
}

.method-note {
  margin: 24px 4px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
}

/* Event navigation: families are named groups, never seal icons. */
.family-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.family-tabs::-webkit-scrollbar {
  display: none;
}

.family-tab {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #cccccf;
  background: rgba(23, 23, 23, 0.86);
  cursor: pointer;
}

.family-tab span {
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.family-tab.active {
  border-color: var(--line-strong);
  color: var(--gold);
  background: rgba(188, 165, 125, 0.1);
}

.participant-filters {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
}

.participant-filters label {
  display: grid;
  min-width: 220px;
  gap: 6px;
}

.participant-filters label > span {
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.participant-filters select,
.mobile-filters select {
  min-height: 46px;
  padding: 0 38px 0 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
}

.filter-reset {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.filter-summary {
  margin: 0 0 13px auto;
  color: var(--muted);
  font-size: 15px;
}

.event-participant-card {
  min-height: 224px;
  padding: 20px;
  cursor: pointer;
}

.event-participant-card .participant-card-head {
  align-items: flex-start;
}

.event-participant-card .participant-card-head > div {
  min-width: 0;
}

.participant-signature {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-seal-image {
  position: absolute;
  top: 76px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 15px;
}

.participant-profile-chips {
  display: grid;
  gap: 5px;
  margin-top: 17px;
  padding-right: 66px;
}

.participant-profile-chips span {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-open-hint {
  color: var(--gold);
  font-size: 15px;
}

.participant-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
}

.participant-pager div {
  display: flex;
  gap: 7px;
}

.participant-pager button {
  min-width: 48px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
}

.participant-pager button:disabled {
  cursor: default;
  opacity: 0.35;
}

.join-orb {
  width: 118px;
  height: 118px;
  margin: 0 0 30px -13px;
  overflow: hidden;
  border-radius: 50%;
}

.join-orb img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  transform: translate(-8%, -8%);
}

.surname-screen {
  justify-content: flex-start;
  padding-top: clamp(58px, 10vh, 110px);
}

.event-consent {
  margin-top: 18px;
}

.match-chooser {
  display: grid;
  gap: 11px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(188, 165, 125, 0.08);
}

.match-chooser > span {
  color: #d4d4d5;
  font-size: 13px;
  line-height: 1.4;
}

.match-chooser > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.match-button,
.profile-toggle,
.text-back {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(13, 13, 13, 0.62);
  cursor: pointer;
}

.event-profile {
  padding-top: 54px;
}

.text-back {
  margin-bottom: 24px;
}

.event-profile-hero {
  margin-bottom: 22px;
}

.event-profile-hero h1,
.community-head h1 {
  margin: 10px 0 14px;
  font-size: clamp(36px, 10vw, 48px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-chips span {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d2d2d3;
  background: rgba(23, 23, 23, 0.88);
  font-size: 14px;
}

.profile-summary {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: rgba(23, 23, 23, 0.95);
}

.profile-summary-top,
.host-profile-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-summary-top > div {
  min-width: 0;
}

.profile-summary-top img,
.host-profile-summary img {
  flex: 0 0 auto;
  border-radius: 20px;
}

.seal-image-button {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
}

.seal-image-button img {
  display: block;
  transition: transform 180ms ease;
}

.seal-image-button:hover img {
  transform: translateY(-2px);
}

.profile-summary h2 {
  margin: 8px 0 7px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.profile-keywords {
  margin: 0;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.35;
}

.profile-short {
  margin: 20px 0 0;
  color: #d6d6d8;
  font-size: 18px;
  line-height: 1.62;
}

.profile-expanded {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.profile-expanded p {
  margin: 5px 0 0;
  color: #c9c9cb;
  font-size: 17px;
  line-height: 1.58;
}

.profile-expanded-label {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-toggle {
  margin-top: 20px;
}

.oracle-section {
  margin-top: 14px;
  padding: 26px 0 8px;
}

.oracle-heading h2,
.host-oracle-section h2,
.host-profile-summary h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.oracle-heading > p,
.host-oracle-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.oracle-cross {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". guide ."
    "antipode center analog"
    ". occult .";
  gap: 8px;
  margin-top: 24px;
}

.oracle-card {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 6px;
  padding: 10px 7px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(23, 23, 23, 0.92);
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.oracle-card:hover,
.oracle-card:focus-visible {
  border-color: var(--line-strong);
  background-color: rgba(188, 165, 125, 0.08);
  transform: translateY(-2px);
}

.oracle-card.guide {
  grid-area: guide;
}

.oracle-card.antipode {
  grid-area: antipode;
}

.oracle-card.center {
  grid-area: center;
}

.oracle-card.analog {
  grid-area: analog;
}

.oracle-card.occult {
  grid-area: occult;
}

.oracle-card.destiny {
  border-color: var(--line-strong);
  background: rgba(188, 165, 125, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.oracle-card img {
  width: min(64px, 16vw);
  height: min(64px, 16vw);
  border-radius: 14px;
}

.oracle-card.destiny img {
  width: min(88px, 21vw);
  height: min(88px, 21vw);
}

.oracle-role {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.oracle-card h4 {
  display: none;
}

.oracle-card strong {
  display: block;
  min-height: 28px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.oracle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.oracle-open-hint {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.community-button {
  width: 100%;
  margin-top: 18px;
}

.community-screen {
  padding-top: 52px;
}

.community-head > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.mobile-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobile-filters select {
  width: 100%;
  min-height: 52px;
}

.community-count {
  margin: 17px 2px 10px;
  color: var(--muted);
  font-size: 14px;
}

.community-grid {
  display: grid;
  gap: 9px;
}

.community-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 21px;
  color: var(--text);
  background: rgba(23, 23, 23, 0.92);
  text-align: left;
  cursor: pointer;
}

.community-card img {
  width: 62px;
  height: 62px;
  border-radius: 15px;
}

.community-card > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.community-card strong,
.community-card span,
.community-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-card strong {
  font-size: 18px;
  font-weight: 500;
}

.community-card > div > span {
  color: var(--gold);
  font-size: 14px;
}

.community-card small {
  color: var(--muted);
  font-size: 12px;
}

.community-arrow {
  color: var(--gold);
  font-size: 12px;
}

.community-empty {
  padding: 34px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.host-profile-hero {
  padding: 58px 0 34px;
}

.host-profile-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.host-profile-summary {
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--surface);
}

.host-profile-summary p {
  max-width: 980px;
  margin: 0;
  color: #d0d0d2;
  font-size: 21px;
  line-height: 1.55;
}

.host-oracle-section {
  margin-top: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(23, 23, 23, 0.88);
}

.host-oracle-cross {
  width: min(100%, 980px);
  margin: 22px auto 0;
  gap: 14px;
}

.host-oracle-cross .oracle-card {
  min-height: 172px;
  align-content: center;
  padding: 16px;
}

.host-oracle-cross .oracle-card img {
  width: 76px;
  height: 76px;
}

.host-oracle-cross .oracle-card.destiny img {
  width: 106px;
  height: 106px;
}

.host-oracle-cross .oracle-role {
  font-size: 13px;
}

.host-oracle-cross .oracle-card strong {
  min-height: 0;
  font-size: 18px;
}

.host-oracle-cross .oracle-card p {
  font-size: 14px;
}

.host-oracle-cross .oracle-open-hint {
  font-size: 12px;
}

.seal-description {
  margin-top: 22px;
}

.seal-short-copy {
  color: #d6d6d8;
  font-size: 18px;
  line-height: 1.64;
}

.seal-short-copy p {
  margin: 0 0 14px;
}

.seal-short-copy p:last-child {
  margin-bottom: 0;
}

.seal-detailed-content {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.seal-content-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 13, 13, 0.42);
}

.seal-content-section[data-kind="light"] {
  border-color: rgba(188, 165, 125, 0.44);
  background: rgba(188, 165, 125, 0.08);
}

.seal-content-section[data-kind="shadow"] {
  border-color: rgba(212, 120, 120, 0.28);
  background: rgba(212, 120, 120, 0.055);
}

.seal-content-section[data-kind="affirmation"] {
  border-color: rgba(112, 182, 147, 0.3);
  background: rgba(112, 182, 147, 0.055);
}

.seal-content-section h3 {
  margin: 0 0 11px;
  color: var(--gold);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.seal-content-section p,
.seal-content-section li {
  color: #cbcbcd;
  font-size: 17px;
  line-height: 1.62;
}

.seal-content-section p {
  margin: 0 0 12px;
}

.seal-content-section p:last-child {
  margin-bottom: 0;
}

.seal-content-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 19px;
}

.seal-detail-toggle {
  margin-top: 20px;
}

.seal-dialog {
  position: fixed;
  z-index: 80;
  display: grid;
  inset: 0;
  overflow-y: auto;
  place-items: start center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(16px);
}

.seal-dialog-panel {
  width: min(100%, 920px);
  margin: auto 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    url("/live/assets/app-orbits.png") center -90px / 650px auto no-repeat,
    var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
}

.seal-dialog-topbar,
.seal-dialog-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.seal-dialog-close {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(13, 13, 13, 0.78);
  cursor: pointer;
}

.seal-dialog-hero {
  align-items: center;
  margin-top: 28px;
}

.seal-dialog-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.seal-dialog-tagline {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.5;
}

.seal-dialog-hero img {
  width: clamp(96px, 12vw, 128px);
  height: clamp(96px, 12vw, 128px);
  flex: 0 0 auto;
  border-radius: 24px;
}

.host-profile-summary-header > div:first-child {
  min-width: 0;
  flex: 1;
}

.host-profile-summary .seal-short-copy {
  width: 100%;
  max-width: none;
  font-size: 21px;
  line-height: 1.62;
}

.host-profile-summary .seal-short-copy p {
  width: 100%;
  max-width: none;
}

.host-profile-summary > .profile-short {
  width: 100%;
  max-width: none;
}

.host-profile-summary .seal-content-section p,
.host-profile-summary .seal-content-section li {
  font-size: 18px;
}

.screen-copy,
.profile-short,
.profile-expanded p,
.oracle-heading > p,
.host-oracle-copy,
.host-profile-summary p,
.result-section-copy p,
.maya-detail-copy p,
.maya-detail-practice > p,
.seal-short-copy p,
.seal-content-section p {
  overflow-wrap: break-word;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

@media (max-width: 600px) {
  .seal-dialog {
    padding: 0;
    background: var(--bg);
  }

  .seal-dialog-panel {
    min-height: 100vh;
    margin: 0;
    padding: 24px 20px 44px;
    border: 0;
    border-radius: 0;
  }

  .seal-dialog-hero {
    align-items: flex-start;
  }

  .seal-dialog-hero h2 {
    font-size: 38px;
  }

  .seal-dialog-hero img {
    width: 86px;
    height: 86px;
    border-radius: 20px;
  }

  .seal-content-section {
    padding: 17px;
  }
}

@keyframes cardPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(188, 165, 125, 0);
  }
  50% {
    box-shadow: 0 0 34px rgba(188, 165, 125, 0.12);
  }
}

@keyframes orbBreathe {
  0%,
  100% {
    opacity: 0.78;
    transform: translateY(-12%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translateY(-12%) scale(1.02);
  }
}

@media (min-width: 1500px) {
  .host-page .participant-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 861px) and (max-height: 1150px) {
  .host-shell {
    padding-top: 14px;
    padding-bottom: 22px;
  }

  .host-topbar {
    min-height: 50px;
  }

  .projector-hero {
    min-height: 0;
    gap: clamp(34px, 6vw, 90px);
    padding: clamp(16px, 2vh, 24px) 0 18px;
  }

  .projector-copy h1 {
    margin: 12px 0 14px;
    font-size: clamp(68px, 8.5vh, 88px);
    line-height: 0.9;
  }

  .projector-tagline {
    font-size: clamp(21px, 2.5vh, 25px);
  }

  .system-strip {
    margin-top: 18px;
  }

  .system-strip span {
    min-height: 36px;
    padding: 0 15px;
    font-size: clamp(14px, 1.6vh, 16px);
  }

  .projector-hint {
    margin-top: 18px;
    font-size: clamp(16px, 1.8vh, 18px);
  }

  .qr-panel {
    width: min(100%, 350px);
    padding: 10px;
    border-radius: 26px;
  }

  .qr-meta {
    gap: 9px;
    padding: 14px 8px 7px;
  }

  .join-code {
    font-size: clamp(40px, 5vh, 50px);
  }

  .participants-section {
    padding-top: 14px;
  }

  .section-head {
    align-items: center;
    margin-bottom: 14px;
  }

  .section-head h2 {
    margin-top: 5px;
    font-size: clamp(40px, 4.8vh, 48px);
  }

  .total-pill {
    min-height: 48px;
    padding: 0 17px;
    font-size: 16px;
  }

  .total-pill strong {
    font-size: 23px;
  }

  .host-page .participant-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .participant-card {
    min-height: 174px;
    padding: 18px;
  }

  .participant-card[data-has-seal="true"] .participant-meta {
    padding-right: 62px;
  }

  .participant-seal-mark {
    top: 56px;
    right: 18px;
    width: 48px;
    padding: 4px;
    border-radius: 14px;
  }

  .participant-name {
    font-size: clamp(24px, 2.7vh, 28px);
  }

  .participant-index {
    font-size: 15px;
  }

  .participant-meta {
    min-height: 42px;
    margin-top: 10px;
    font-size: clamp(15px, 1.8vh, 17px);
  }

  .participant-card-footer {
    margin-top: 10px;
  }

  .status-label {
    font-size: 13px;
  }

  .analysis-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .empty-participants {
    min-height: 130px;
  }
}

@media (min-width: 861px) and (max-height: 800px) {
  .host-page.has-participants .projector-hero {
    min-height: 278px;
    gap: 34px;
    padding: 10px 0 16px;
  }

  .host-page.has-participants .projector-copy h1 {
    margin: 8px 0 9px;
    font-size: clamp(52px, 7.5vh, 64px);
  }

  .host-page.has-participants .projector-tagline {
    font-size: 18px;
  }

  .host-page.has-participants .system-strip {
    margin-top: 10px;
  }

  .host-page.has-participants .system-strip span {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .host-page.has-participants .projector-hint {
    margin-top: 10px;
    font-size: 14px;
  }

  .host-page.has-participants .qr-panel {
    width: 236px;
    padding: 8px;
  }

  .host-page.has-participants .qr-meta {
    padding: 8px 5px 4px;
  }

  .host-page.has-participants .join-code {
    font-size: 30px;
  }

  .host-page.has-participants .qr-meta span {
    font-size: 10px;
  }

  .participants-section {
    padding-top: 10px;
  }

  .section-head {
    margin-bottom: 9px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .family-tabs {
    margin-bottom: 8px;
  }

  .family-tab {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 13px;
    font-size: 13px;
  }

  .participant-filters {
    margin-bottom: 10px;
  }

  .participant-filters select,
  .filter-reset {
    min-height: 38px;
  }

  .filter-summary {
    margin-bottom: 10px;
  }
}

@media (max-width: 1399px) {
  .projector-hero {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.52fr);
  }

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

@media (max-width: 860px) {
  .host-topbar,
  .section-head {
    align-items: flex-start;
  }

  .host-actions,
  .section-head {
    flex-wrap: wrap;
  }

  .projector-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .projector-copy h1 {
    font-size: clamp(60px, 14vw, 94px);
  }

  .qr-panel {
    width: min(100%, 360px);
    justify-self: start;
  }

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

  .participant-filters {
    flex-wrap: wrap;
  }

  .filter-summary {
    width: 100%;
    margin-left: 0;
  }

  .result-content {
    grid-template-columns: 1fr;
  }

  .result-section.featured {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .host-shell {
    padding: 18px 18px 40px;
  }

  .host-topbar,
  .section-head {
    display: grid;
  }

  .host-actions {
    gap: 8px;
  }

  .host-actions .button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 16px;
  }

  .participant-grid {
    grid-template-columns: 1fr;
  }

  .participant-totals {
    flex-wrap: wrap;
  }

  .participant-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .participant-filters label {
    min-width: 0;
  }

  .participant-pager {
    justify-content: space-between;
  }

  .start-dialog {
    padding: 25px 20px;
  }

  .start-dialog h2 {
    font-size: 40px;
  }

  .result-shell {
    padding: 20px 18px 60px;
  }

  .result-topbar .brand span {
    display: none;
  }

  .result-hero {
    padding-top: 68px;
  }

  .result-hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 380px) {
  .mobile-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .mobile-screen.align-start {
    padding-top: 38px;
  }

  .wizard-step {
    min-height: 292px;
  }

  .wizard-footer .button {
    padding-right: 16px;
    padding-left: 16px;
  }

  .mobile-result .maya-seal-mark {
    width: 68px;
  }
}

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