:root {
  --bg: #151515;
  --text: #ffffff;
  --muted: #d4d4d4;
  --faint: #a3a3a3;
  --green: #49f264;
  --line: rgba(255, 255, 255, 0.1);
  --chip: rgba(255, 255, 255, 0.1);
  --purple: #592fc5;
  --purple-text: #ede8ff;
  --column: 686px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

button, input { font: inherit; color: inherit; }

button { cursor: pointer; }

.column {
  width: min(var(--column), 100%);
  margin: 0 auto;
  min-height: 100vh;
}

.notice {
  margin: 0;
  padding: 10px 16px;
  background: #242424;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.join:disabled { opacity: 0.7; cursor: wait; }

.hero {
  position: relative;
}

.cover {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-top-left-radius: 36px;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 70% at 0% 0%, rgba(0, 0, 0, 0.38), transparent 48%),
    radial-gradient(ellipse at 50% 40%, transparent 46%, rgba(0, 0, 0, 0.5) 100%);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

.avatar {
  position: absolute;
  left: 16px;
  bottom: -44px;
  width: 96px;
  height: 128px;
  border-radius: 22px;
  border: 4px solid var(--bg);
  overflow: hidden;
  background: #151515;
}


.pad { padding: 60px 16px 4px; }

.name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
}

h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(73, 242, 100, 0.16);
}

.handle {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 450;
}

.stats {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.stats li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stats svg { display: block; opacity: 0.9; }

.bio-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bio-copy { flex: 1; min-width: 0; }

.bio {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.bio-rest {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.chat-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  animation: button-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.chat-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.chat-link.is-live {
  background: var(--green);
  color: #10210f;
  box-shadow: 0 0 0 4px rgba(73, 242, 100, 0.16), 0 8px 20px rgba(73, 242, 100, 0.18);
}

.chat-link:active { transform: translateY(0) scale(0.98); }

.column.is-chat {
  height: 100vh;
  overflow: hidden;
  background: #0e0e0e;
}

.chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0e0e0e;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 8px;
}

.chat-back {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
}

.chat-top img,
.claim img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 36%;
}

.chat-id { min-width: 0; flex: 1; }

.chat-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.chat-actions button,
.attach-btn,
.call-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.chat-actions button:hover,
.attach-btn:hover,
.call-controls button:hover { background: rgba(255, 255, 255, 0.12); }

.chat-id strong,
.chat-id span { display: block; }

.chat-id strong { font-size: 14px; line-height: 1.2; }

.chat-id span {
  color: #9a9a9a;
  font-size: 12px;
}

.chat-more {
  margin-left: auto;
  color: #d4d4d4;
}

.chat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-tabs button {
  height: 42px;
  border: 0;
  background: none;
  color: #8d8d8d;
  font-size: 15px;
  font-weight: 700;
}

.chat-tabs button[aria-selected="true"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 #fff;
}

.chat-body {
  flex: 1;
  min-height: 0;
}

.chat-body.is-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  overflow: hidden;
}

.chat-card {
  display: grid;
  grid-template-columns: 1.15fr 168px;
  align-items: stretch;
  gap: 8px;
  width: min(100%, 660px);
  padding: 10px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #1c1c20, #121214);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: chat-card-in 3.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chat-card-in {
  from {
    opacity: 0;
    transform: translateY(88px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes button-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-card,
  .chat-link,
  .offer-btn,
  .photo-deal { transition: none; }
  .sparks i,
  .offer-clock i { animation: none; }
  .sparks { display: none; }
}

.chat-card-photo {
  position: relative;
  height: 100%;
  min-height: 292px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.chat-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 22%, transparent 72%, rgba(0, 0, 0, 0.28));
}

.chat-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}

.perks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perks li {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.perks li:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(73, 242, 100, 0.35),
    0 8px 16px rgba(0, 0, 0, 0.28);
}

.perks li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(73, 242, 100, 0.1);
  box-shadow: inset 0 0 0 1px rgba(73, 242, 100, 0.2);
  font-size: 15px;
  line-height: 1;
}

.perks li > div { min-width: 0; }

.perks strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.perks small {
  display: block;
  margin-top: 2px;
  color: #a8a8a8;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.chat-grid { padding: 8px; }

.chat-dock { padding: 0 10px 10px; }

.claim {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 5px 6px 5px 5px;
  border-radius: 999px;
  background: #2a2a2a;
}

.claim p {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.claim-go {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.claim-x {
  width: 24px;
  height: 24px;
  border: 0;
  background: none;
  color: #cfcfcf;
  font-size: 18px;
  line-height: 1;
}

.composer {
  position: relative;
  min-height: 72px;
  padding: 8px 12px;
  border-radius: 22px;
  background: #1c1c1c;
  overflow: hidden;
}

.composer-blur {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 56px;
  filter: blur(3px);
  pointer-events: none;
}

.composer-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d0d0d0;
}

.composer-hint {
  color: #8a8a8a;
  font-size: 14px;
  padding-left: 8px;
}

.composer-sub {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.composer-send {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
}

.offer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px 16px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(73, 242, 100, 0.24), rgba(73, 242, 100, 0.07));
  box-shadow:
    inset 0 0 0 1px rgba(73, 242, 100, 0.5),
    0 0 28px rgba(73, 242, 100, 0.14);
}

.offer > :not(.sparks) { position: relative; z-index: 1; }

.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sparks i {
  position: absolute;
  bottom: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8ffdf;
  opacity: 0;
  box-shadow: 0 0 8px 2px rgba(141, 255, 159, 0.85);
  animation: spark 5.2s ease-in infinite;
}

.sparks i:nth-child(odd) { width: 3px; height: 3px; }
.sparks i:nth-child(1) { left: 7%; animation-delay: 0s; }
.sparks i:nth-child(2) { left: 18%; animation-delay: 1.5s; animation-duration: 4.4s; }
.sparks i:nth-child(3) { left: 31%; animation-delay: 0.7s; animation-duration: 5.8s; }
.sparks i:nth-child(4) { left: 44%; animation-delay: 2.2s; }
.sparks i:nth-child(5) { left: 57%; animation-delay: 0.3s; animation-duration: 4.8s; }
.sparks i:nth-child(6) { left: 69%; animation-delay: 1.8s; }
.sparks i:nth-child(7) { left: 81%; animation-delay: 0.9s; animation-duration: 5.5s; }
.sparks i:nth-child(8) { left: 91%; animation-delay: 2.6s; animation-duration: 4.6s; }

@keyframes spark {
  0% { transform: translateY(8px) scale(0.7); opacity: 0; }
  20% { opacity: 0.95; }
  55% { opacity: 0.7; }
  100% { transform: translateY(-46px) scale(1); opacity: 0; }
}

.offer b {
  color: var(--green);
  font-size: 36px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-shadow: 0 0 16px rgba(73, 242, 100, 0.45);
}

.offer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: max-content;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.offer-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.offer-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-left: auto;
  padding-left: 10px;
}

.offer-clock span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-clock i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(73, 242, 100, 0.18);
  animation: live-dot 1.8s ease-out infinite;
}

@keyframes live-dot {
  0% { box-shadow: 0 0 0 0 rgba(73, 242, 100, 0.45); }
  100% { box-shadow: 0 0 0 7px rgba(73, 242, 100, 0); }
}

.offer-clock time {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.more {
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.join {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 9999px;
  background: var(--green);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), filter 0.28s ease, box-shadow 0.28s ease;
}

.join:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(73, 242, 100, 0.28);
}

.join:active { transform: translateY(0) scale(0.985); }

.offer-btn {
  height: auto;
  min-height: 58px;
  flex-direction: column;
  gap: 2px;
  padding: 9px 18px;
  line-height: 1.15;
  animation: button-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.join-title {
  font-size: 13px;
  font-weight: 600;
}

.join-price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.join.is-in {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--faint);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.tab[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--text);
}

.filters {
  display: flex;
  gap: 8px;
  padding: 12px 16px 4px;
}

.chip {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 9999px;
  background: var(--chip);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, color 0.22s ease;
}

.chip:hover { transform: translateY(-1px); }

.chip:active { transform: scale(0.97); }

.chip[aria-pressed="true"] {
  background: #fff;
  color: var(--bg);
}

.feed { padding-bottom: 48px; }

.post { padding: 14px 16px 16px; }

.post + .post { box-shadow: inset 0 1px 0 var(--line); }

.post-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}


.post-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 9999px;
  background: var(--purple);
  color: var(--purple-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.caption {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.caption.is-locked {
  filter: blur(10px);
  user-select: none;
}

.audio {
  position: relative;
  height: 300px;
  margin: 8px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #d15a62 0%, #e89a96 42%, #f3c7c1 100%);
}

.audio-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 36px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 18px;
  background: rgba(92, 48, 52, 0.38);
  color: #fff;
  text-align: center;
}

.lock-face {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
}

.lock-face .mini {
  width: 64px;
  height: 64px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.lock-pip {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #151515;
}

.audio-title { margin: 4px 0 0; font-size: 16px; font-weight: 700; }

.audio-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.pill {
  height: 40px;
  margin-top: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
}

.photo {
  position: relative;
  height: 420px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 18px;
}

.photo-art {
  position: absolute;
  inset: -64px;
  filter: blur(44px);
  transform: scale(1.16);
}

img.photo-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo.is-open .photo-art { filter: none; inset: 0; transform: none; }

.photo:not(.is-open)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.22);
}

.photo-mark {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  display: grid;
  color: #fff;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.photo-deal {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #151515;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.photo-deal:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.photo-deal:active { transform: translateX(-50%) scale(0.98); }

.photo-deal-off {
  color: #14943a;
  font-size: 15px;
  font-weight: 800;
}

.photo-deal-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.photo-deal-copy span {
  color: #151515;
  font-size: 15px;
  font-weight: 600;
}

.photo-deal-copy s {
  color: #8d8d8d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.photo-deal-copy b {
  color: #151515;
  font-size: 16px;
  font-weight: 800;
}

.video {
  position: relative;
  height: 420px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 18px;
}

.video .photo-art {
  position: absolute;
  inset: -48px;
  filter: blur(32px);
  transform: scale(1.14);
}

.video.is-open .photo-art { filter: none; inset: 0; transform: none; }

.video-play {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 0 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.video-play:hover { transform: translate(-50%, -50%) scale(1.04); }

.video-play svg { width: 26px; height: 26px; }

.video-chrome {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.video-chrome i {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
}

.video-chrome i::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22%;
  border-radius: inherit;
  background: #fff;
}

.video-unlock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 0.22s ease, box-shadow 0.22s ease;
}

.video-unlock:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.video-unlock:active { filter: brightness(0.96); }

.price {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 26px;
  padding: 0 10px;
  border-radius: 9999px;
  background: rgba(21, 21, 21, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px 0 48px;
}

.tile {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #222;
}

.tile .photo-art { inset: -28px; filter: blur(20px); }

.tile-play {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding-left: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  transform: translate(-50%, -50%);
}

.tile-time {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
}

.tile.is-open .photo-art { filter: none; inset: 0; }

.tile-lock {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.72);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.scrim[hidden] { display: none; }

.sheet {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 22px 22px;
  border-radius: 20px;
  background: #1c1c1c;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.sheet h2 { margin: 0 0 8px; font-size: 22px; }

.sheet-copy {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.icon-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.field { display: block; margin-bottom: 14px; }

.field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #111;
  outline: none;
}

.field input:focus { border-color: rgba(73, 242, 100, 0.8); }

.sheet .join { margin-top: 0; }

#payment-element { margin: 0 0 14px; }

.fine {
  margin: 10px 0 0;
  color: #ffb4b4;
  font-size: 12px;
  text-align: center;
}

.fine:empty { display: none; }

.continue {
  padding: 10px 16px 40px;
}

.continue-btn {
  height: auto;
  min-height: 52px;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.3;
  white-space: normal;
}

a.chat-cta {
  margin-top: 10px;
  background: #fff;
  color: #151515;
  text-decoration: none;
}

.chat-body.is-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.thread {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px 8px;
}

.thread-empty {
  margin: auto;
  max-width: 240px;
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}

.bubble {
  width: fit-content;
  max-width: min(320px, 82%);
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.bubble p {
  margin: 0;
  white-space: pre-wrap;
}

.bubble.is-user {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: var(--green);
  color: #10210f;
}

.bubble.is-creator {
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  background: #242424;
}

.bubble time {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.62;
}

.bubble.has-offer {
  width: min(280px, 86%);
  padding: 6px;
  background: #1a1a1a;
  color: #fff;
}

.bubble.has-offer p { margin: 8px 6px 0; }

.chat-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}

.chat-media img,
.chat-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-media:not(.is-open) img,
.chat-media:not(.is-open) video {
  filter: blur(28px);
  transform: scale(1.18);
}

.chat-media:not(.is-open)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
}

.chat-lock,
.chat-play {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.chat-play {
  width: 54px;
  height: 54px;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  filter: none;
}

.chat-buy {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  height: 36px;
  max-width: calc(100% - 20px);
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #151515;
  font-size: 13px;
  font-weight: 700;
  transform: translateX(-50%);
}

.composer-live {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 64px;
  padding: 10px;
  border-radius: 22px;
  background: #1c1c1c;
  box-shadow: inset 0 0 0 1px rgba(73, 242, 100, 0.28);
}

.composer-live textarea {
  flex: 1;
  min-width: 0;
  max-height: 120px;
  padding: 8px 4px;
  border: 0;
  resize: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  line-height: 1.4;
}

.composer-live button.send-btn,
.composer-live .send-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #10210f;
}

.attach-btn { cursor: pointer; flex: 0 0 auto; }

.attach-chip {
  margin: 0 6px 8px;
  color: #d7d7d7;
  font-size: 12px;
  font-weight: 600;
}

.attach-chip[hidden] { display: none !important; }

.call {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #070707;
  color: #fff;
}

.chat { position: relative; }

.call-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.call-bg {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(28px) brightness(0.45);
}

.call-person {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.call-avatar {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 8px;
}

.call-avatar::before,
.call-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(73, 242, 100, 0.45);
  animation: call-ring 2.4s ease-out infinite;
}

.call-avatar::after { animation-delay: 1.2s; }

.call-avatar img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.call-person strong { font-size: 22px; letter-spacing: -0.03em; }

.call-person span {
  color: #c8c8c8;
  font-size: 13px;
  font-weight: 600;
}

.call-self {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 128px;
  border-radius: 16px;
  background: #161616;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 600;
}

.call-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 18px 16px 28px;
}

.call-controls button.is-on {
  background: #fff;
  color: #111;
}

.call-controls .call-end {
  width: 64px;
  height: 64px;
  background: #ff4d4f;
}

.call-controls .call-end:hover { background: #ff6466; }

@keyframes call-ring {
  from { transform: scale(0.92); opacity: 0.8; }
  to { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .call-avatar::before,
  .call-avatar::after { animation: none; }
}

.member-login {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 18px;
  background: #161616;
  box-shadow: inset 0 0 0 1px rgba(73, 242, 100, 0.34), 0 0 18px rgba(73, 242, 100, 0.08);
}

.member-login p {
  margin: 0;
  padding-left: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.member-login input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #111;
  outline: none;
}

.member-login button {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #151515;
  font-size: 13px;
  font-weight: 700;
}

.login-fine {
  margin: -4px 8px 10px;
  color: #ffb4b4;
  font-size: 12px;
  text-align: center;
}

.login-fine:empty { display: none; }

.art { width: 100%; height: 100%; display: block; }

@media (max-width: 720px) {
  .avatar { width: 84px; height: 112px; bottom: -36px; border-radius: 18px; }
  .cover { border-top-left-radius: 28px; }
  .offer { gap: 8px; padding: 12px; }
  .offer b { font-size: 30px; }
  .offer-clock time { font-size: 20px; }
  .member-login { flex-wrap: wrap; }
  .member-login p { width: 100%; padding-bottom: 2px; }
  .pad { padding-top: 52px; }
  .photo, .video { height: 320px; }
  .audio { height: 260px; }
}
