:root {
  color-scheme: dark;
  --bg: #080b11;
  --panel: #111823;
  --panel2: #182234;
  --line: #2a3545;
  --text: #f6f8fb;
  --muted: #9eabbc;
  --orange: #35a8ff;
  --orange2: #9ee7ff;
  --green: #2ac769;
  --danger: #d83b36;
}

body.light {
  color-scheme: light;
  --bg: #f4f8ff;
  --panel: #ffffff;
  --panel2: #eaf1fb;
  --line: #cbd7e7;
  --text: #101722;
  --muted: #607085;
  --orange: #137bd1;
  --orange2: #0c9abf;
  --green: #168a4d;
  --danger: #b72d2d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.plain {
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-weight: 900;
}

.is-hidden {
  display: none !important;
}

.gate {
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 24% 16%, rgba(53, 168, 255, 0.28), transparent 34%), linear-gradient(145deg, #05070c, #101827 58%, #080b11);
}

body.light .gate {
  background: radial-gradient(circle at 24% 16%, rgba(19, 123, 209, 0.22), transparent 34%), linear-gradient(145deg, #f4f8ff, #dfeeff 58%, #f8fbff);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
}

.brand.compact {
  font-size: 17px;
  margin-bottom: 14px;
}

.tile-logo {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 6px;
  align-items: center;
}

.tile-logo span {
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #06111f;
  font-weight: 950;
  font-size: 20px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tile-logo span:nth-child(1),
.tile-logo span:nth-child(5) {
  background: #35a8ff;
}

.tile-logo span:nth-child(2),
.tile-logo span:nth-child(6) {
  background: #9ee7ff;
}

.tile-logo span:nth-child(3),
.tile-logo span:nth-child(7) {
  background: #2ac769;
}

.tile-logo span:nth-child(4) {
  background: #f6c85f;
}

.tile-logo.large,
.tile-logo.hero-logo {
  grid-template-columns: repeat(4, 58px);
  gap: 9px;
}

.tile-logo.large span,
.tile-logo.hero-logo span {
  height: 58px;
  border-radius: 12px;
  font-size: 34px;
}

.tile-logo.small {
  grid-template-columns: repeat(4, 24px);
  gap: 4px;
}

.tile-logo.small span {
  height: 24px;
  border-radius: 6px;
  font-size: 14px;
}

.mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 30px;
}

.mark.small {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  font-size: 21px;
}

.gate > .brand .mark {
  width: 64px;
  height: 64px;
  font-size: 40px;
}

.gate > .brand strong {
  font-size: 34px;
}

.gate h1 {
  max-width: 680px;
  margin: 42px 0 12px;
  font-size: clamp(36px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.gate p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.age-decision {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.gate-warning {
  margin-top: 12px;
  color: #ffb1b1;
  font-weight: 800;
}

.gate-note {
  max-width: 620px;
  margin-top: 16px;
  font-size: 13px !important;
  color: rgba(232, 237, 245, 0.68) !important;
}

.primary,
.login,
.ghost,
.icon-button,
.sheet-action,
.decision {
  border-radius: 8px;
  min-height: 42px;
  font-weight: 900;
}

.primary {
  align-self: flex-start;
  padding: 0 18px;
  background: var(--orange);
  color: #17100b;
}

.secondary {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid rgba(232, 237, 245, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 900;
}

.app {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background: var(--bg);
}

.sidebar {
  min-height: 100dvh;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: calc(12px + env(safe-area-inset-top)) 12px 12px;
  position: sticky;
  top: 0;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav-button {
  height: 44px;
  border-radius: 8px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  text-align: left;
}

.nav-button.active {
  background: var(--orange);
  color: #17100b;
}

.ghost {
  width: 100%;
  margin-top: 16px;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
}

.main {
  min-width: 0;
  padding-bottom: 82px;
}

.topbar {
  min-height: 76px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kicker {
  color: var(--orange2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--orange2);
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 12px;
}

.language-picker {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
}

.language-picker span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-picker select {
  max-width: 132px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  outline: none;
}

.icon-button {
  width: 38px;
  height: 38px;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 20px;
}

.login {
  padding: 0 13px;
  background: var(--orange);
  color: #17100b;
}

.secondary-login {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 0 13px;
  font-weight: 900;
}

.content {
  padding: 0 16px;
}

.hero {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(53, 168, 255, 0.22), rgba(53, 168, 255, 0.04)), var(--panel);
  padding: 22px;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.5;
  margin: 9px 0 0;
}

.product-hero {
  background:
    linear-gradient(120deg, rgba(53, 168, 255, 0.24), rgba(42, 199, 105, 0.08) 48%, rgba(74, 163, 255, 0.09)),
    var(--panel);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.inline-live-link {
  margin-top: 16px;
  min-height: 38px;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
}

.stat {
  min-width: 104px;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.stat strong,
.stat span {
  display: block;
}

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

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

.launch-hero {
  min-height: min(720px, calc(100dvh - 110px));
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(53, 168, 255, 0.2), rgba(42, 199, 105, 0.08) 46%, rgba(8, 11, 17, 0.4)),
    var(--panel);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 20px;
  padding: clamp(20px, 4vw, 42px);
  align-items: center;
  margin-bottom: 14px;
}

.launch-copy h1 {
  margin: 8px 0 0;
  max-width: 860px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.launch-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.52;
  margin: 14px 0 0;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.launch-signal {
  display: grid;
  place-items: center;
  min-height: 460px;
}

.launch-phone {
  width: min(360px, 100%);
  min-height: 540px;
  border-radius: 28px;
  border: 1px solid rgba(158, 231, 255, 0.28);
  background: linear-gradient(180deg, #111823, #090d15);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.launch-phone-top,
.launch-live-window,
.launch-chat-line {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
}

.launch-phone-top {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.launch-phone-top span {
  color: var(--orange2);
  font-weight: 900;
}

.launch-live-window {
  min-height: 210px;
  padding: 14px;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 48% 28%, rgba(53, 168, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #101827, #182234);
}

.launch-live-window span {
  width: fit-content;
  border-radius: 8px;
  background: var(--danger);
  color: #fff;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 72px;
}

.launch-live-window strong {
  font-size: 26px;
}

.launch-live-window small,
.launch-chat-line {
  color: var(--muted);
}

.launch-radar-mini {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(53, 168, 255, 0.34);
  background:
    radial-gradient(circle, transparent 0 24%, rgba(53, 168, 255, 0.12) 25% 26%, transparent 27% 52%, rgba(53, 168, 255, 0.1) 53% 54%, transparent 55%),
    var(--panel2);
  position: relative;
  max-width: 230px;
  justify-self: center;
  width: 70%;
}

.launch-radar-mini i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(53, 168, 255, 0.16);
}

.launch-radar-mini i:nth-child(1) { left: 48%; top: 48%; background: var(--green); }
.launch-radar-mini i:nth-child(2) { left: 64%; top: 30%; }
.launch-radar-mini i:nth-child(3) { left: 28%; top: 38%; }
.launch-radar-mini i:nth-child(4) { left: 58%; top: 70%; }

.launch-chat-line {
  padding: 12px;
  font-weight: 900;
}

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

.launch-feature,
.launch-roadmap {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
}

.launch-feature span {
  color: var(--orange2);
  font-weight: 900;
  font-size: 12px;
}

.launch-feature h3,
.launch-roadmap h3 {
  margin: 6px 0;
}

.launch-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.launch-roadmap {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.mvp-list {
  display: grid;
  gap: 10px;
}

.mvp-list div {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 12px;
}

.mvp-list strong,
.mvp-list span {
  display: block;
}

.mvp-list span {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.launch-logo {
  margin-bottom: 18px;
}

.intent-panel,
.dashboard-panel,
.ideas-panel,
.premium-story {
  padding: 16px;
  margin-bottom: 14px;
}

.intent-grid,
.dashboard-grid,
.premium-grid,
.ideas-grid {
  display: grid;
  gap: 12px;
}

.intent-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.intent-card {
  min-height: 92px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.intent-card.active {
  border-color: var(--orange);
  background: rgba(53, 168, 255, 0.16);
}

.intent-card strong,
.intent-card span,
.ideas-grid strong,
.ideas-grid span {
  display: block;
}

.intent-card span,
.ideas-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.dashboard-panel {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.live-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.live-chip {
  min-height: 118px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--room-accent) 42%, var(--line));
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--room-accent) 28%, transparent), transparent 34%),
    var(--panel2);
  color: var(--text);
  display: grid;
  justify-items: start;
  align-content: end;
  gap: 4px;
  padding: 12px;
  text-align: left;
}

.live-chip > span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--room-accent);
  color: #17100b;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.live-chip small {
  color: var(--muted);
}

.trust-score {
  display: flex;
  align-items: end;
  gap: 4px;
  margin: 12px 0;
}

.trust-score strong {
  font-size: 52px;
  line-height: 0.9;
  color: var(--orange2);
}

.trust-score.large strong {
  font-size: 72px;
}

.trust-score span {
  color: var(--muted);
  font-weight: 900;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.trust-list span {
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.private-album {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 8px;
  margin: 14px 0;
}

.private-album div {
  min-height: 92px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(53, 168, 255, 0.28), rgba(74, 163, 255, 0.18)),
    var(--panel2);
  border: 1px solid var(--line);
  filter: blur(7px);
}

.private-album.large div {
  min-height: 150px;
}

.dashboard-feed {
  margin-top: 14px;
}

.ideas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.ideas-grid div {
  min-height: 116px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 12px;
}

.premium-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.premium-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premium-card.featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, rgba(53, 168, 255, 0.16), rgba(42, 199, 105, 0.08)), var(--panel);
}

.premium-card h3 {
  margin: 0;
}

.price {
  font-size: 30px;
  line-height: 1;
  color: var(--orange2);
}

.price small {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}

.premium-card p,
.premium-story p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.profile-demo,
.album-demo {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: start;
}

.onboarding-steps {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.onboarding-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  padding: 9px;
}

.onboarding-steps strong {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #17100b;
}

.onboarding-steps span {
  color: var(--muted);
  font-weight: 800;
}

.now-panel {
  border-color: rgba(42, 199, 105, 0.45);
  background: linear-gradient(150deg, rgba(42, 199, 105, 0.11), rgba(53, 168, 255, 0.08)), var(--panel);
}

.availability-meter {
  margin: 14px 0;
}

.availability-meter strong,
.availability-meter span {
  display: block;
}

.availability-meter strong {
  color: var(--green);
  font-size: 44px;
  line-height: 0.95;
}

.availability-meter span {
  color: var(--muted);
  margin-top: 4px;
}

.available-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-bottom: 14px;
}

.available-control,
.available-list-panel,
.available-story {
  padding: 16px;
}

.duration-grid,
.segment-row {
  display: grid;
  gap: 8px;
}

.duration-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0;
}

.duration-grid button,
.segment-row button {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  font-weight: 900;
}

.duration-grid button.active,
.segment-row button.active {
  border-color: var(--orange);
  background: rgba(53, 168, 255, 0.16);
  color: var(--orange2);
}

.duration-grid strong,
.duration-grid span {
  display: block;
}

.duration-grid span {
  color: var(--muted);
  font-size: 12px;
}

.radar {
  aspect-ratio: 1;
  min-height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(53, 168, 255, 0.42);
  margin: 16px auto;
  max-width: 390px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle, transparent 0 18%, rgba(53, 168, 255, 0.16) 18.5% 19%, transparent 19.5% 38%, rgba(53, 168, 255, 0.12) 38.5% 39%, transparent 39.5% 62%, rgba(53, 168, 255, 0.10) 62.5% 63%, transparent 63.5%),
    conic-gradient(from 20deg, rgba(42, 199, 105, 0.2), transparent 35%, rgba(53, 168, 255, 0.18), transparent 72%, rgba(74, 163, 255, 0.16)),
    var(--panel2);
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: rgba(255, 255, 255, 0.12);
  transform-origin: left center;
}

.radar::before {
  width: 50%;
  height: 1px;
}

.radar::after {
  width: 1px;
  height: 50%;
}

.radar-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(53, 168, 255, 0.14);
}

.radar-dot.self {
  width: 24px;
  height: 24px;
  left: calc(50% - 12px);
  top: calc(50% - 12px);
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(42, 199, 105, 0.16);
}

.radar-dot.p1 { left: 64%; top: 28%; }
.radar-dot.p2 { left: 28%; top: 34%; }
.radar-dot.p3 { left: 72%; top: 58%; }
.radar-dot.p4 { left: 39%; top: 72%; }
.radar-dot.p5 { left: 51%; top: 17%; }

.segment-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0;
}

.available-list {
  display: grid;
  gap: 10px;
}

.available-person {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 10px;
}

.available-person .media {
  height: 132px;
  border-radius: 8px;
}

.available-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.available-title h3 {
  margin: 0;
}

.available-title strong {
  color: var(--green);
  font-size: 24px;
}

.available-story h3 {
  margin: 2px 0 6px;
}

.available-story p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.assistant-panel {
  border-color: rgba(74, 163, 255, 0.42);
  background: linear-gradient(150deg, rgba(74, 163, 255, 0.12), rgba(53, 168, 255, 0.08)), var(--panel);
}

.assistant-preview {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  margin: 14px 0;
  align-items: center;
}

.assistant-preview span,
.assistant-steps span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  margin-bottom: 14px;
}

.assistant-goals,
.assistant-plan,
.assistant-value {
  padding: 16px;
}

.assistant-goal-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.assistant-goal-list button {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.assistant-goal-list button.active {
  border-color: var(--orange);
  background: rgba(53, 168, 255, 0.16);
}

.assistant-goal-list strong,
.assistant-goal-list span {
  display: block;
}

.assistant-goal-list span {
  color: var(--muted);
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.4;
}

.assistant-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.assistant-steps div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 10px;
}

.assistant-matches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-matches button {
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(42, 199, 105, 0.12);
  color: var(--text);
  padding: 0 10px;
  font-weight: 900;
}

.assistant-value h3 {
  margin: 2px 0 6px;
}

.assistant-value p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.language-panel {
  border-color: rgba(158, 231, 255, 0.42);
  background: linear-gradient(150deg, rgba(158, 231, 255, 0.12), rgba(42, 199, 105, 0.08)), var(--panel);
}

.credits-panel {
  border-color: rgba(42, 199, 105, 0.44);
  background: linear-gradient(150deg, rgba(42, 199, 105, 0.12), rgba(53, 168, 255, 0.08)), var(--panel);
}

.credit-balance,
.wallet-balance {
  margin: 14px 0;
}

.credit-balance strong,
.wallet-balance strong {
  display: block;
  color: var(--green);
  font-size: 46px;
  line-height: 0.95;
}

.credit-balance span,
.wallet-balance span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}

.language-mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin: 14px 0;
}

.language-mini-grid span {
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  display: grid;
  place-items: center;
  color: var(--orange2);
  font-weight: 900;
}

.language-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  margin-bottom: 14px;
}

.language-control-panel,
.language-table-panel,
.localization-roadmap {
  padding: 16px;
}

.language-sample {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 14px;
  margin: 14px 0;
}

.language-sample span,
.language-sample strong,
.language-sample p {
  display: block;
}

.language-sample span {
  color: var(--orange2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-sample strong {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.language-sample p {
  color: var(--muted);
  line-height: 1.45;
  margin: 8px 0 0;
}

.language-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.language-actions button,
.language-table button {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  font-weight: 900;
}

.language-actions button {
  min-height: 42px;
}

.language-actions button.active,
.language-table button.active {
  border-color: var(--orange);
  background: rgba(53, 168, 255, 0.16);
}

.language-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.language-table button {
  min-height: 118px;
  padding: 12px;
  text-align: left;
}

.language-table strong,
.language-table span,
.language-table small,
.language-table em {
  display: block;
}

.language-table span,
.language-table small {
  color: var(--muted);
  margin-top: 4px;
}

.language-table em {
  color: var(--orange2);
  font-style: normal;
  margin-top: 10px;
}

.localization-roadmap h3 {
  margin: 2px 0 6px;
}

.credit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  margin-bottom: 14px;
}

.wallet-panel,
.creator-wallet-panel,
.credit-rules,
.creator-gate-panel,
.consent-panel {
  padding: 16px;
}

.creator-gate-panel {
  margin-bottom: 14px;
}

.creator-requirements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.creator-requirements div,
.contract-list div,
.upload-gate {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
}

.creator-requirements div {
  padding: 12px;
}

.creator-requirements strong,
.creator-requirements span,
.creator-requirements small,
.contract-list strong,
.contract-list span {
  display: block;
}

.creator-requirements strong {
  color: var(--text);
}

.creator-requirements span {
  color: var(--orange2);
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-requirements small {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.35;
}

.gate-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.gate-matrix span {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(42, 199, 105, 0.1);
  border: 1px solid rgba(42, 199, 105, 0.28);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
}

.consent-panel {
  margin-bottom: 14px;
}

.consent-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.consent-flow div {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 12px;
}

.consent-flow strong,
.consent-flow span {
  display: block;
}

.consent-flow strong {
  color: var(--orange2);
  font-size: 24px;
}

.consent-flow span {
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.35;
}

.credit-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.credit-packages button {
  min-height: 74px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  font-weight: 900;
}

.credit-packages strong,
.credit-packages span {
  display: block;
}

.credit-packages span {
  color: var(--orange2);
  margin-top: 4px;
}

.creator-money {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.creator-money div {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  padding: 12px;
}

.creator-money strong,
.creator-money span {
  display: block;
}

.creator-money strong {
  color: var(--green);
  font-size: 28px;
}

.creator-money span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.payout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.payout-steps span {
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.paid-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.paid-video-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.paid-video-card .decision {
  margin-top: 12px;
}

.paid-video-card .decision:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.credit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.credit-row span {
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
}

.participant-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.participant-list span,
.consent-sheet-list div,
.verification-grid div {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
}

.participant-list span {
  padding: 7px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.participant-list .ok {
  border-color: rgba(42, 199, 105, 0.44);
  color: var(--green);
}

.participant-list .wait {
  border-color: rgba(216, 59, 54, 0.42);
  color: #ffb4ad;
}

.consent-sheet-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.consent-sheet-list div {
  padding: 10px;
}

.consent-sheet-list strong,
.consent-sheet-list span,
.consent-sheet-list small {
  display: block;
}

.consent-sheet-list span,
.consent-sheet-list small {
  color: var(--muted);
  margin-top: 3px;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.verification-grid div {
  padding: 12px;
}

.verification-grid strong,
.verification-grid span {
  display: block;
}

.verification-grid strong {
  color: var(--orange2);
}

.verification-grid span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

.sheet-steps {
  margin: 12px 0 16px;
}

.sheet-requirements {
  grid-template-columns: repeat(2, 1fr);
}

.contract-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.contract-list div {
  padding: 11px;
}

.contract-list strong {
  color: var(--text);
}

.contract-list span {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}

.filter-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 10px;
}

.filter-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.filter-toggle {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.filter-toggle::before {
  content: "☰";
  color: var(--orange2);
}

.filter-toggle strong {
  color: var(--muted);
  font-size: 12px;
}

.filter-toggle.active {
  border-color: rgba(53, 168, 255, 0.72);
  background: rgba(53, 168, 255, 0.14);
}

.filter-toggle.compact {
  flex-shrink: 0;
}

.filter-field {
  display: grid;
  gap: 5px;
}

.filter-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.filter-field select,
.filter-field input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 0 10px;
  outline: none;
}

.search-field {
  grid-column: span 2;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.media-card .media {
  height: 250px;
}

.media-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.verified {
  flex: 0 0 auto;
  height: 24px;
  border-radius: 8px;
  background: rgba(42, 199, 105, 0.14);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 900;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  color: white;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 900;
}

.empty-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
  color: var(--muted);
}

.live-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
  margin-bottom: 14px;
}

.live-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.live-head h3 {
  margin: 2px 0 5px;
}

.live-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.live-source,
.live-links button,
.live-tile {
  color: var(--text);
  text-decoration: none;
}

.live-source {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  padding: 0 12px;
  font-weight: 900;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.live-tile {
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.live-tile strong,
.live-tile span {
  display: block;
}

.live-tile span {
  color: var(--orange2);
  margin-top: 4px;
  font-weight: 900;
}

.live-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.live-links button {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  color: var(--muted);
  background: transparent;
}

.live-broadcast {
  display: grid;
  gap: 14px;
}

.section-head,
.private-head,
.favorite-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.section-head h3,
.private-head h3,
.favorite-title strong,
.favorite-title span {
  display: block;
}

.section-head h3,
.private-head h3 {
  margin: 0;
}

.favorites-empty,
.favorites-live {
  padding: 14px;
}

.favorite-grid,
.host-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.favorite-live-card,
.host-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  overflow: hidden;
}

.favorite-video,
.mini-live {
  min-height: 160px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--room-accent) 42%, transparent), transparent 28%),
    linear-gradient(140deg, #111, #26211d 55%, #111);
}

.favorite-video.large {
  min-height: 260px;
  border-radius: 8px;
}

.favorite-body,
.host-body {
  padding: 12px;
}

.favorite-title span {
  color: var(--muted);
  margin-top: 3px;
  font-size: 13px;
}

.broadcast-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 14px;
}

.broadcast-video {
  min-height: 520px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--room-accent) 42%, transparent), transparent 28%),
    linear-gradient(140deg, #111, #26211d 55%, #111);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255, 255, 255, 0.14) 9px);
  pointer-events: none;
}

.live-label,
.viewer-count {
  position: absolute;
  top: 14px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.live-label.mini,
.viewer-count.mini {
  top: 10px;
  height: 28px;
  font-size: 11px;
}

.viewer-count.mini {
  right: 10px;
}

.live-label.mini {
  left: 10px;
}

.live-label {
  left: 14px;
  background: var(--danger);
  color: white;
}

.viewer-count {
  right: 14px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.camera-avatar {
  width: 136px;
  height: 136px;
  border-radius: 28px;
  background: var(--orange);
  color: #17100b;
  display: grid;
  place-items: center;
  font-size: 72px;
  font-weight: 900;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.camera-avatar.small {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  font-size: 44px;
}

.camera-name,
.camera-topic,
.join-button {
  position: absolute;
}

.camera-name {
  bottom: 78px;
  left: 18px;
  font-size: 26px;
  font-weight: 900;
}

.camera-topic {
  bottom: 52px;
  left: 18px;
  color: var(--muted);
}

.join-button {
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--orange);
  color: #17100b;
  font-weight: 900;
}

.broadcast-side {
  padding: 14px;
}

.room-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.room-button {
  min-height: 62px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  text-align: left;
  padding: 10px;
}

.room-button.active {
  border-color: var(--orange);
  background: rgba(53, 168, 255, 0.14);
}

.room-button strong,
.room-button span {
  display: block;
}

.room-button span {
  color: var(--muted);
  margin-top: 3px;
  font-size: 13px;
}

.live-chat {
  padding: 14px;
}

.live-messages {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.live-messages div {
  border-radius: 8px;
  background: var(--panel2);
  padding: 9px 10px;
}

.live-messages strong {
  color: var(--orange2);
  margin-right: 8px;
}

.mini-chat {
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.mini-chat div {
  border-radius: 8px;
  background: var(--panel);
  padding: 8px 10px;
  color: var(--text);
}

.mini-chat .mine {
  background: rgba(53, 168, 255, 0.20);
}

.mini-chat.expanded {
  max-height: 260px;
  overflow: auto;
}

.direct-live-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.card,
.panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.media {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.safe .media {
  filter: blur(14px);
  transform: scale(1.04);
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.online {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--panel);
}

.card-body {
  padding: 13px;
}

.card h3,
.panel h3 {
  margin: 0;
  font-size: 18px;
}

.meta {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.card-actions {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
}

.chat-layout.expanded {
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.65fr) minmax(0, 1fr);
}

.chat-sections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.chat-section-card {
  min-height: 72px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-align: left;
  padding: 12px;
}

.chat-section-card.active {
  border-color: var(--orange);
  background: rgba(53, 168, 255, 0.14);
}

.chat-section-card strong,
.chat-section-card span {
  display: block;
}

.chat-section-card span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.room-chat-pane {
  padding: 14px;
}

.thread {
  min-height: 72px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 11px;
}

.thread.active {
  background: rgba(53, 168, 255, 0.12);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--panel2);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 900;
  position: relative;
}

.avatar .online {
  top: auto;
  right: -1px;
  bottom: -1px;
}

.thread-content {
  min-width: 0;
  flex: 1;
}

.thread-content strong,
.thread-content span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-content span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.chat-pane {
  padding: 16px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 0;
}

.bubble {
  max-width: 84%;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--panel2);
  line-height: 1.45;
}

.bubble.mine {
  align-self: flex-end;
  background: rgba(53, 168, 255, 0.22);
}

.composer {
  display: flex;
  gap: 8px;
}

.composer input,
.sheet input,
.sheet textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.composer button {
  width: 46px;
  min-width: 46px;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  font-weight: 900;
}

.upload-zone {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  display: grid;
  gap: 12px;
}

.upload-gate {
  padding: 14px;
  margin-bottom: 12px;
}

.upload-gate strong,
.upload-gate span {
  display: block;
}

.upload-gate strong {
  color: var(--orange2);
}

.upload-gate span {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.upload-zone input {
  border: 0;
  padding: 0;
  color: var(--muted);
}

.moderation-list {
  display: grid;
  gap: 12px;
}

.review-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.review-card .media {
  height: 138px;
}

.review-body {
  padding: 12px 12px 12px 0;
}

.decision-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.decision {
  padding: 0 13px;
  background: var(--orange);
  color: #17100b;
}

.decision.reject {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.bottom-nav {
  display: none;
}

.floating-live {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 14;
  width: min(360px, calc(100vw - 36px));
}

.floating-card {
  width: 100%;
  min-height: 78px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--room-accent) 44%, var(--line));
  background:
    radial-gradient(circle at 22% 20%, color-mix(in srgb, var(--room-accent) 30%, transparent), transparent 34%),
    rgba(24, 24, 24, 0.96);
  color: var(--text);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-align: left;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.floating-card .live-label {
  top: 8px;
  left: 8px;
}

.floating-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--room-accent);
  color: #17100b;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
}

.floating-copy {
  min-width: 0;
  display: block;
  padding-top: 12px;
}

.floating-copy strong,
.floating-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-copy small {
  color: var(--muted);
  margin-top: 3px;
}

.floating-action {
  height: 34px;
  border-radius: 8px;
  background: var(--orange);
  color: #17100b;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-weight: 900;
}

.floating-close {
  color: var(--muted);
  font-size: 22px;
  text-align: center;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: flex;
  align-items: flex-end;
  z-index: 20;
}

.sheet {
  width: 100%;
  max-height: 82dvh;
  overflow: auto;
  border-radius: 8px 8px 0 0;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  font-size: 22px;
}

.sheet h2 {
  margin: 0 42px 14px 0;
}

.sheet-actions {
  display: grid;
  gap: 10px;
}

.sheet-action {
  text-align: left;
  min-height: 62px;
  padding: 12px;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
}

.sheet-action span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.auth-form input {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  padding: 0 11px;
  outline: none;
}

.auth-form .check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.auth-form .check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.auth-form .check-row span {
  line-height: 1.35;
}

@media (max-width: 820px) {
  .app {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .main {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .tile-logo.large,
  .tile-logo.hero-logo {
    grid-template-columns: repeat(4, 44px);
    gap: 7px;
  }

  .tile-logo.large span,
  .tile-logo.hero-logo span {
    height: 44px;
    border-radius: 10px;
    font-size: 26px;
  }

  .topbar {
    align-items: flex-start;
  }

  .top-actions .pill {
    display: none;
  }

  .content {
    padding: 0 12px;
  }

  .feed-grid,
  .launch-hero,
  .launch-grid,
  .launch-roadmap,
  .filter-panel,
  .chat-layout,
  .intent-grid,
  .dashboard-grid,
  .premium-grid,
  .ideas-grid,
  .available-layout,
  .assistant-layout,
  .language-layout,
  .credit-layout,
  .creator-money,
  .consent-flow,
  .verification-grid,
  .segment-row,
  .profile-demo,
  .album-demo {
    grid-template-columns: 1fr;
  }

  .launch-hero {
    min-height: auto;
  }

  .launch-signal {
    min-height: auto;
  }

  .launch-phone {
    min-height: 430px;
  }

  .language-picker span {
    display: none;
  }

  .language-picker select {
    max-width: 96px;
  }

  .language-table {
    grid-template-columns: 1fr;
  }

  .credit-packages {
    grid-template-columns: 1fr;
  }

  .creator-requirements,
  .gate-matrix {
    grid-template-columns: 1fr;
  }

  .sheet-requirements {
    grid-template-columns: 1fr;
  }

  .media-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .media-card .media {
    height: 190px;
  }

  .available-person {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .available-person .media {
    height: 112px;
  }

  .radar {
    min-height: 250px;
  }

  .search-field {
    grid-column: auto;
  }

  .chat-layout.expanded,
  .direct-live-layout {
    grid-template-columns: 1fr;
  }

  .broadcast-stage {
    grid-template-columns: 1fr;
  }

  .broadcast-video {
    min-height: 460px;
  }

  .chat-pane {
    min-height: 430px;
  }

  .review-card {
    grid-template-columns: 1fr;
  }

  .live-head {
    display: block;
  }

  .live-source {
    margin-top: 12px;
  }

  .review-body {
    padding: 12px;
  }

  .bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    height: 68px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(24, 24, 24, 0.9);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 10;
  }

  .floating-live {
    left: 12px;
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: auto;
  }

  .bottom-nav button {
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
  }

  .bottom-nav button.active {
    color: var(--orange);
  }
}
