﻿:root {
  --ink: #17171a;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --muted: #6b6874;
  --line: #ded9d1;
  --teal: #0b8c8f;
  --teal-dark: #066b70;
  --coral: #e85c4a;
  --coral-dark: #c74335;
  --violet: #5d4bb3;
  --amber: #e2ab38;
  --mint: #e2f6f2;
  --rose: #ffe9e4;
  --violet-soft: #ece8ff;
  --shadow: 0 24px 70px rgba(18, 18, 20, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.legal-page {
  margin: 0 auto;
  max-width: 820px;
  padding: 48px 20px 72px;
}

.legal-page h1 {
  font-size: 2.6rem;
  line-height: 1;
  margin: 28px 0 18px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 14px;
}

.brand-link {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 104px;
}

.app-view:not(.active) {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.locked {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(115deg, rgba(11, 12, 14, 0.94), rgba(17, 17, 20, 0.82)),
    url("./hero-nightlife.png") center/cover no-repeat;
}

.age-gate.hidden {
  display: none;
}

.age-panel {
  width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 30px;
  color: #fff;
  background: rgba(17, 17, 20, 0.84);
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.42);
}

.age-badge,
.brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.age-badge {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: var(--coral);
}

.age-panel h1,
.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.98;
}

.age-panel h1 {
  font-size: clamp(2.2rem, 8vw, 4.2rem);
}

.age-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.age-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 17, 20, 0.14);
}

.button.primary {
  color: #fff;
  background: var(--coral);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button.light {
  color: var(--ink);
  background: #fff;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.button.compact {
  min-height: 40px;
  color: #fff;
  background: var(--ink);
}

.button.account-trigger {
  gap: 8px;
  padding: 0 10px 0 6px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid rgba(222, 217, 209, 0.78);
  background: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.account-menu {
  position: relative;
  justify-self: end;
}

.account-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(135deg, var(--coral), var(--teal)),
    var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
}

.account-avatar.large {
  width: 44px;
  height: 44px;
  font-size: 0.9rem;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: min(320px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: #1b1b1e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.account-menu-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-menu-head strong,
.account-menu-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-head small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
}

.account-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.account-menu-actions .button {
  min-height: 36px;
  padding-inline: 10px;
}

.account-menu-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.account-menu-stats div {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.account-menu-stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 850;
}

.account-menu-stats strong {
  font-size: 0.88rem;
}

.account-menu-list {
  display: grid;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-menu-list button {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 38px;
  border: 0;
  padding: 0 14px;
  color: #fff;
  background: transparent;
  text-align: left;
}

.account-menu-list button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.account-menu-list span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-menu-list strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
}

.nav-account {
  display: none;
}

body.has-account .nav-public {
  display: none;
}

body.has-account .nav-account {
  display: flex;
}

.nav-links a {
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.wallet-chip {
  display: none;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

body.has-account .wallet-chip {
  display: inline-flex;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 74svh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 12, 14, 0.9), rgba(12, 12, 14, 0.58), rgba(12, 12, 14, 0.18)),
    url("./hero-nightlife.png") center/cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.12), rgba(12, 12, 14, 0.72)),
    radial-gradient(circle at 74% 30%, rgba(11, 140, 143, 0.28), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 34px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1120px;
  font-size: clamp(3.2rem, 6.5vw, 6.2rem);
}

.hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.26rem);
  line-height: 1.58;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-signals span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-search-copy {
  max-width: 760px;
  margin-top: 18px;
  border-left: 3px solid var(--coral);
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-search-copy strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 950;
}

.hero-search-copy p {
  margin: 5px 0 0;
  line-height: 1.45;
}

.insight-band,
.rooms-band,
.live-room-band,
.creator-directory-band,
.register-band,
.profiles-band,
.money-band,
.premium-band,
.migration-band,
.studio-band,
.messages-band,
.safety-band {
  width: min(1180px, calc(100% - 32px));
  margin: 68px auto;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 940px;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.58;
}

.comparison-grid,
.room-grid,
.public-profile-grid,
.coin-grid,
.premium-grid,
.migration-grid,
.operations-grid,
.message-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.comparison-grid article,
.room-card,
.public-profile-card,
.coin-card,
.premium-grid article,
.migration-grid article,
.operations-grid article,
.message-grid article,
.safety-grid article,
.calc-panel,
.result-panel,
.toy-console,
.lead-form,
.account-form,
.account-panel,
.identity-card,
.profile-card,
.studio-form,
.studio-console {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 18, 20, 0.05);
}

.comparison-grid article,
.room-card,
.public-profile-card,
.coin-card,
.premium-grid article,
.migration-grid article,
.operations-grid article,
.message-grid article,
.safety-grid article {
  padding: 20px;
}

.room-card {
  display: grid;
  gap: 14px;
  padding: 12px;
}

.room-stage {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: end start;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(23, 23, 26, 0.2), rgba(232, 92, 74, 0.6)),
    var(--ink);
}

.room-stage::before {
  content: "";
  position: absolute;
  inset: 18% 18% 0;
  border-radius: 50% 50% 8px 8px;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(1px);
}

.room-stage.warm {
  background:
    linear-gradient(135deg, rgba(93, 75, 179, 0.45), rgba(226, 171, 56, 0.68)),
    var(--violet);
}

.room-stage.cool {
  background:
    linear-gradient(135deg, rgba(11, 140, 143, 0.68), rgba(247, 246, 242, 0.2)),
    var(--teal);
}

.room-stage span {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(23, 23, 26, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.room-body {
  display: grid;
  gap: 10px;
}

.room-body .button {
  width: 100%;
}

.public-profile-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.public-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.public-creator-band {
  width: min(1320px, calc(100% - 24px));
  margin-top: 18px;
}

.public-creator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.public-creator-sidebar,
.creator-wall-panel {
  display: grid;
  gap: 14px;
}

.creator-summary-card,
.creator-side-nav,
.creator-detail-list details,
.creator-wall-panel,
.locked-publication,
.message-sidebar,
.message-conversation,
.online-drawer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 18, 20, 0.05);
}

.creator-summary-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(11, 140, 143, 0.88), rgba(23, 23, 26, 0.92)),
    var(--ink);
}

.creator-summary-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.public-creator-avatar,
.thread-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 950;
}

.public-creator-avatar {
  width: 58px;
  height: 58px;
  background: var(--coral);
}

.creator-summary-head h2,
.creator-summary-head p {
  margin: 0;
}

.creator-summary-head small,
.creator-bio,
.creator-stat-row span,
.creator-detail-list p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.52;
}

.creator-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.creator-stat-row div {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.08);
}

.creator-stat-row strong {
  font-size: 1.2rem;
}

.creator-contact-row,
.creator-wall-actions,
.conversation-actions,
.message-filter-row,
.online-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-contact-row .button,
.creator-wall-actions .button {
  flex: 1 1 110px;
}

.creator-side-nav {
  overflow: hidden;
}

.creator-side-nav button,
.message-filter-row button,
.online-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font-weight: 900;
}

.creator-side-nav button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.creator-side-nav button::after {
  content: ">";
  color: var(--teal-dark);
}

.creator-side-nav button.active,
.message-filter-row button.active,
.online-tabs button.active {
  color: #fff;
  background: var(--ink);
}

.creator-side-nav button:last-child {
  border-bottom: 0;
}

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

.creator-detail-list details {
  padding: 14px;
}

.creator-detail-list summary {
  cursor: pointer;
  font-weight: 900;
}

.creator-detail-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.creator-wall-panel {
  padding: 18px;
}

.creator-wall-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.creator-wall-head h2 {
  font-size: clamp(2.2rem, 5vw, 5.6rem);
  line-height: 0.95;
}

.creator-wall-head p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.wall-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: #fbfaf6;
}

.wall-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.wall-tabs button.active {
  color: #fff;
  background: var(--ink);
}

.sticker-shop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sticker-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfaf6;
}

.sticker-card .button {
  grid-column: 1 / -1;
  min-height: 36px;
}

.sticker-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
}

.sticker-vip {
  background: linear-gradient(135deg, var(--amber), var(--coral));
}

.sticker-top {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.sticker-star {
  background: linear-gradient(135deg, var(--violet), var(--coral));
}

.sticker-card strong,
.sticker-card small {
  display: block;
}

.sticker-card small {
  color: var(--muted);
  line-height: 1.35;
}

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

.locked-publication {
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
}

.publication-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.publication-head strong,
.publication-head span {
  display: block;
}

.publication-head span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.locked-preview {
  display: grid;
  min-height: 500px;
  place-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(23, 23, 26, 0.78), rgba(232, 92, 74, 0.58)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 10px, rgba(255, 255, 255, 0.02) 10px 20px),
    var(--ink);
  text-align: center;
}

.locked-publication.tone-teal .locked-preview {
  background:
    linear-gradient(145deg, rgba(11, 140, 143, 0.72), rgba(93, 75, 179, 0.58)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 10px, rgba(255, 255, 255, 0.02) 10px 20px),
    var(--teal);
}

.locked-preview span {
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(23, 23, 26, 0.7);
  font-weight: 950;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 1.35rem;
  font-weight: 950;
}

.messages-band {
  width: min(1320px, calc(100% - 16px));
  margin-top: 18px;
}

.messages-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.32fr) minmax(0, 1fr) minmax(240px, 0.24fr);
  gap: 12px;
  align-items: stretch;
  min-height: 650px;
}

.message-sidebar,
.message-conversation,
.online-drawer {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.message-sidebar-head,
.conversation-top,
.online-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message-search {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.message-filter-row button,
.online-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  text-align: center;
}

.message-thread {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  text-align: left;
}

.message-thread.active,
.message-thread:hover {
  border-color: rgba(11, 140, 143, 0.35);
  background: var(--mint);
}

.thread-avatar.teal {
  background: var(--teal);
}

.thread-avatar.muted {
  color: var(--ink);
  background: #e7e3dc;
}

.message-thread strong,
.message-thread small,
.message-thread time {
  display: block;
}

.message-thread small,
.message-thread time,
.conversation-top span {
  color: var(--muted);
}

.message-conversation {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.conversation-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  margin: 0;
  overflow: auto;
  padding: 0;
  list-style: none;
}

.conversation-list li {
  display: grid;
  gap: 4px;
  max-width: 72%;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f2f0eb;
}

.conversation-list li.mine {
  justify-self: end;
  color: #fff;
  background: var(--teal);
}

.conversation-list li.system-message {
  max-width: none;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 850;
  text-align: center;
}

.message-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.online-drawer {
  background: #fbfaf6;
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(11, 140, 143, 0.12);
}

.online-empty {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 280px;
  color: var(--muted);
  line-height: 1.55;
}
.rooms-band {
  width: min(1320px, calc(100% - 24px));
}

.online-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 18, 20, 0.05);
}

.online-toolbar > div:first-child {
  display: grid;
  gap: 2px;
}

.online-toolbar span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.filter-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fbfaf6;
  font-size: 0.84rem;
  font-weight: 900;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.rooms-band .room-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.rooms-band .room-card {
  gap: 9px;
  padding: 8px;
}

.rooms-band .room-body {
  gap: 8px;
}

.rooms-band .room-body h3 {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.rooms-band .room-body p {
  min-height: 54px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.room-tags .tag {
  margin-bottom: 0;
  padding: 5px 7px;
  font-size: 0.68rem;
}

.rooms-band .room-stage {
  min-height: 146px;
}

.room-stage.avatar-luna {
  background:
    linear-gradient(135deg, rgba(232, 92, 74, 0.64), rgba(93, 75, 179, 0.28)),
    var(--ink);
}

.room-stage.avatar-mia,
.room-stage.avatar-estrella,
.room-stage.avatar-casa {
  background:
    linear-gradient(135deg, rgba(226, 171, 56, 0.62), rgba(232, 92, 74, 0.52)),
    var(--amber);
}

.room-stage.avatar-ariadna,
.room-stage.avatar-duo,
.room-stage.avatar-rio,
.room-stage.avatar-iris {
  background:
    linear-gradient(135deg, rgba(11, 140, 143, 0.74), rgba(93, 75, 179, 0.36)),
    var(--teal);
}

.room-stage.avatar-orion,
.room-stage.avatar-mateo {
  background:
    linear-gradient(135deg, rgba(23, 23, 26, 0.88), rgba(11, 140, 143, 0.62)),
    var(--ink);
}

.room-stage.avatar-naya,
.room-stage.avatar-valen {
  background:
    linear-gradient(135deg, rgba(232, 92, 74, 0.62), rgba(11, 140, 143, 0.38)),
    var(--coral);
}

.empty-rooms {
  margin-top: 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: #fff;
  font-weight: 850;
  text-align: center;
}

.live-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.38fr);
  gap: 8px;
  align-items: stretch;
}

.live-room-band {
  width: min(1350px, calc(100% - 16px));
  margin-top: 18px;
}

.broadcast-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  background:
    linear-gradient(90deg, #2b1734, #1b1b1e),
    var(--ink);
}

.broadcast-creator {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.broadcast-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--coral), var(--teal)),
    var(--ink);
  font-weight: 950;
}

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

.broadcast-creator small {
  color: rgba(255, 255, 255, 0.7);
}

.broadcast-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.broadcast-actions .button {
  min-height: 36px;
  padding-inline: 12px;
}

.live-player,
.room-sidebar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 18, 20, 0.05);
}

.live-player {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #111216;
}

.live-stage {
  position: relative;
  display: grid;
  min-height: clamp(320px, 52svh, 520px);
  align-content: space-between;
  gap: 10px;
  overflow: hidden;
  border-radius: 0;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 23, 26, 0.34), rgba(11, 140, 143, 0.6)),
    var(--ink);
}

.live-stage::before {
  content: "";
  position: absolute;
  inset: 18% 20% 18% 16%;
  border-radius: 999px 999px 46px 46px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(2px);
}

.live-stage.warm {
  background:
    linear-gradient(135deg, rgba(93, 75, 179, 0.4), rgba(226, 171, 56, 0.64)),
    var(--violet);
}

.live-stage.cool {
  background:
    linear-gradient(135deg, rgba(11, 140, 143, 0.76), rgba(247, 246, 242, 0.22)),
    var(--teal);
}

.live-stage span,
.live-stage strong,
.live-stage small {
  position: relative;
  z-index: 1;
  width: fit-content;
}

.live-stage span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(232, 92, 74, 0.9);
  font-size: 0.78rem;
  font-weight: 950;
}

.live-stage strong {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.live-stage small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.live-stage-top,
.live-stage-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.live-stage-center {
  display: grid;
  gap: 8px;
  align-self: center;
  justify-items: center;
  text-align: center;
}

.live-control-deck {
  display: grid;
  gap: 8px;
  padding: 8px;
  color: #fff;
  background: #161923;
}

.goal-strip {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  padding: 10px;
  background: #242a3c;
}

.goal-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 0.9rem;
}

.goal-header span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 850;
}

.goal-meter {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.goal-meter span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
  transition: width 180ms ease;
}

.live-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.live-meta div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfaf6;
}

.live-meta span,
.room-chat span {
  color: var(--muted);
}

.live-meta span {
  font-size: 0.78rem;
  font-weight: 850;
}

.room-action-row {
  display: grid;
  grid-template-columns: minmax(112px, 1.1fr) repeat(5, minmax(44px, 0.46fr)) minmax(100px, 0.9fr) minmax(74px, 0.6fr) minmax(110px, 0.9fr);
  gap: 4px;
}

.room-action-row .button {
  min-height: 36px;
  padding-inline: 8px;
}

.button.private {
  color: var(--ink);
  background: var(--amber);
}

.quick-tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.7);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-tip input {
  min-height: 34px;
  border: 0;
  padding: 4px;
  box-shadow: none;
}

.room-sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
}

.chat-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 54px;
  gap: 1px;
  align-items: center;
  background: #24262b;
}

.chat-toolbar button,
.chat-toolbar strong {
  min-height: 42px;
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: #24262b;
  font-size: 0.84rem;
  font-weight: 900;
}

.chat-toolbar button.active {
  color: #fff;
  background: var(--ink);
}

.chat-toolbar strong {
  background: #111216;
}

.room-chat {
  display: grid;
  gap: 10px;
  align-content: start;
  max-height: none;
  min-height: 0;
  margin: 0;
  overflow: auto;
  padding: 10px;
  list-style: none;
  background: #f0f0f0;
}

.room-chat li {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.room-chat strong {
  color: #444;
}

.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  background: #fff;
}

.tip-menu-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(11, 140, 143, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: var(--mint);
}

.register-layout,
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.58fr);
  gap: 18px;
  align-items: stretch;
}

.account-form,
.studio-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.broadcast-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.broadcast-source-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-height: 146px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fbfaf6;
  text-align: left;
}

.broadcast-source-card.active,
.broadcast-source-card:hover {
  border-color: rgba(11, 140, 143, 0.55);
  background: var(--mint);
}

.broadcast-source-card small {
  color: var(--muted);
  line-height: 1.35;
}

.source-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
}

.source-output {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(11, 140, 143, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: var(--mint);
}

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

.source-output code {
  overflow-wrap: anywhere;
  border-radius: 6px;
  padding: 8px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: #fbfaf6;
}

.role-option {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.role-option.active {
  color: #fff;
  background: var(--teal);
}

.gmail-button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 14px 6px 6px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.gmail-button span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    conic-gradient(from 45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  font-weight: 950;
}

.gmail-button:hover {
  border-color: rgba(11, 140, 143, 0.45);
  background: var(--mint);
}

.oauth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.oauth-divider::before,
.oauth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.account-form label,
.studio-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

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

.checklist {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfaf6;
}

.checklist label {
  display: flex;
  gap: 9px;
  align-items: start;
  color: var(--ink);
  font-size: 0.92rem;
}

.checklist input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.account-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.account-panel h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.account-actions,
.studio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.identity-card,
.profile-card {
  padding: 20px;
}

.identity-card {
  display: grid;
  align-content: start;
  gap: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 23, 26, 0.94), rgba(11, 140, 143, 0.72)),
    var(--ink);
}

.identity-card .tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.identity-card h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.identity-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.48;
}

.identity-status {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.identity-status div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.identity-status span {
  color: rgba(255, 255, 255, 0.72);
}

.profile-card,
.profile-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: #fbfaf6;
}

.profile-tab {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.profile-tab.active {
  color: #fff;
  background: var(--teal);
}

.profile-panel:not(.active) {
  display: none;
}

.profile-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.profile-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 950;
}

.creator-mode-icon {
  background: var(--violet);
}

.safety-mode-icon {
  background: var(--coral);
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profile-metrics div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfaf6;
}

.profile-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.profile-metrics strong {
  font-size: 0.94rem;
}

.profile-list {
  display: grid;
  gap: 8px;
}

.profile-action {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
  text-align: left;
}

.profile-action::after {
  content: ">";
  color: var(--teal);
  font-weight: 950;
}

.profile-action:hover {
  border-color: rgba(11, 140, 143, 0.44);
  background: var(--mint);
}

.profile-panel.highlight {
  outline: 3px solid rgba(11, 140, 143, 0.24);
  outline-offset: 4px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
}

h3 {
  margin: 0 0 9px;
  line-height: 1.08;
}

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

.calculator-band {
  padding: 68px 0;
  background:
    linear-gradient(180deg, #fff, #f0eee8);
  border-block: 1px solid var(--line);
}

.calculator-layout,
.toy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.calc-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.calc-panel label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-weight: 850;
}

.calc-panel input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--teal);
}

.calc-panel output {
  justify-self: end;
  color: var(--ink);
  font-weight: 900;
}

.result-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.money-result {
  margin-top: 4px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 950;
  line-height: 1;
}

.result-label {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.result-stack {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.result-stack div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
}

.result-stack strong {
  color: var(--ink);
  white-space: nowrap;
}

.bar-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee9df;
}

.bar-meter span {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.fineprint {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.coin-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.coin-card.active,
.coin-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 92, 74, 0.56);
  box-shadow: 0 18px 44px rgba(18, 18, 20, 0.12);
}

.coin-card h3,
.premium-grid h3 {
  font-size: 1.55rem;
}

.price {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
}

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

.coin-strip {
  margin-top: 16px;
  border: 1px solid rgba(11, 140, 143, 0.28);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 850;
}

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

.purchase-receipt {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: #fff;
  font-weight: 850;
}

.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 18, 22, 0.76);
}

.checkout-modal {
  position: relative;
  display: grid;
  width: min(520px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-head,
.checkout-email,
.checkout-summary,
.checkout-actions {
  padding: 16px;
}

.checkout-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 950;
}

.payment-methods,
.checkout-pack-list {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

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

.payment-methods button,
.checkout-pack {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  font-weight: 900;
}

.payment-methods button.active,
.checkout-pack.active {
  border-color: rgba(11, 140, 143, 0.55);
  background: var(--mint);
}

.checkout-pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  text-align: left;
}

.checkout-pack small {
  color: var(--muted);
}

.checkout-email {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.checkout-summary {
  display: grid;
  gap: 8px;
  background: #f3f0ea;
}

.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.checkout-summary span {
  color: var(--muted);
}

.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.premium-grid article.featured {
  border-color: rgba(93, 75, 179, 0.45);
  background: linear-gradient(180deg, #fff, var(--violet-soft));
}

.toy-band {
  padding: 68px 0;
  color: #fff;
  background: #16171a;
}

.toy-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.toy-console {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
}

.device-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.device-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9c2b8;
}

.device-dot.connected {
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(11, 140, 143, 0.12);
}

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

.device-row small {
  color: var(--muted);
  line-height: 1.35;
}

.toggle {
  position: relative;
  width: 52px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #d6d0c8;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease;
}

.toggle.active {
  background: var(--teal);
}

.toggle.active::after {
  transform: translateX(22px);
}

.toy-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfaf6;
}

.toy-flow div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.toy-flow span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
  font-size: 0.82rem;
  font-weight: 900;
}

.toy-flow strong {
  font-size: 0.84rem;
  line-height: 1.24;
}

.tip-simulator {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(11, 140, 143, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #eefaf8);
}

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

.sim-header h3 {
  margin-bottom: 0;
}

.sim-header > strong {
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.78rem;
}

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

.tip-buttons .button {
  padding-inline: 10px;
}

.toy-status {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.toy-orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, 0.2) 35%),
    #c9c2b8;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.16);
}

.toy-status.active .toy-orb {
  background:
    radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, 0.2) 35%),
    var(--coral);
  box-shadow: 0 0 0 8px rgba(232, 92, 74, 0.14), inset 0 -8px 18px rgba(0, 0, 0, 0.16);
}

.toy-status span,
.bridge-note,
.toy-log {
  color: var(--muted);
}

.toy-status strong {
  display: block;
  margin: 3px 0 8px;
}

.toy-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee9df;
}

.toy-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transition: width 180ms ease;
}

.toy-log {
  display: grid;
  gap: 6px;
  max-height: 104px;
  margin: 0;
  overflow: auto;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.bridge-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.migration-grid,
.operations-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.migration-grid article span,
.operations-grid article span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
  font-weight: 900;
}

.studio-console {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.video-preview {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 23, 26, 0.98), rgba(11, 140, 143, 0.72)),
    var(--ink);
  color: #fff;
}

.video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.video-preview.active video {
  opacity: 1;
}

.video-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.video-placeholder span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 950;
}

.video-preview.active .video-placeholder {
  display: none;
}

.live-status {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.live-status span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9c2b8;
}

.live-status.live span {
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(232, 92, 74, 0.14);
}

.live-status strong,
.live-status small {
  grid-column: 2;
}

.live-status small {
  color: var(--muted);
  line-height: 1.35;
}

.requirements-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfaf6;
}

.requirements-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-panel li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.requirements-panel li::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c9c2b8;
}

.requirements-panel li.complete {
  color: var(--teal-dark);
}

.requirements-panel li.complete::before {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(11, 140, 143, 0.12);
}

.operations-grid {
  margin-top: 18px;
}

.lead-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 180px) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

input,
select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 140, 143, 0.13);
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(16px, 4vw, 52px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer p {
  max-width: 760px;
  margin: 0;
  line-height: 1.48;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  max-width: 360px;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .online-toolbar {
    grid-template-columns: 1fr;
  }

  .quick-filters {
    justify-content: flex-start;
  }

  .calculator-layout,
  .toy-layout,
  .register-layout,
  .live-room-layout,
  .public-creator-layout,
  .messages-shell,
  .profile-shell,
  .studio-layout,
  .broadcast-source-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .result-panel {
    position: static;
  }

  .comparison-grid,
  .room-grid,
  .public-profile-grid,
  .coin-grid,
  .premium-grid,
  .migration-grid,
  .operations-grid,
  .message-grid,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .profile-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .toy-flow,
  .room-action-row,
  .tip-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .creator-wall-head,
  .message-compose,
  .conversation-top {
    display: grid;
    grid-template-columns: 1fr;
  }

  .conversation-list li {
    max-width: 100%;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    min-height: auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .account-menu {
    grid-column: 2;
    grid-row: 1;
  }

  .account-dropdown {
    right: 0;
    width: min(330px, calc(100vw - 18px));
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .wallet-chip {
    min-height: 32px;
    padding-inline: 10px;
  }

  .quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .insight-band {
    margin-top: 28px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content {
    padding-top: 84px;
    padding-bottom: 28px;
  }

  .comparison-grid,
  .room-grid,
  .public-profile-grid,
  .coin-grid,
  .premium-grid,
  .migration-grid,
  .operations-grid,
  .message-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-inline: 12px;
  }

  .button.compact {
    min-width: 74px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .hero-lede {
    font-size: 0.96rem;
    line-height: 1.44;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .hero-signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero-signals span {
    width: 100%;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .calc-panel label {
    grid-template-columns: 1fr auto;
  }

  .result-stack div {
    display: grid;
  }

  .toy-flow,
  .tip-buttons,
  .room-action-row,
  .live-meta,
  .toy-status,
  .role-switch,
  .profile-tabs,
  .wall-tabs,
  .creator-stat-row,
  .publication-grid,
  .sticker-shop,
  .payment-methods,
  .checkout-actions,
  .message-compose,
  .profile-metrics,
  .public-profile-actions {
    grid-template-columns: 1fr;
  }

  .live-stage {
    min-height: 320px;
  }

  .sim-header {
    display: grid;
  }

  .sim-header > strong {
    justify-self: start;
    white-space: normal;
  }
}



