/* Big Star Social UI v2. Mobile-first shared layer for the creator network. */

:root {
  color-scheme: dark;
  --bs-bg: #0d0e13;
  --bs-bg-elevated: #151820;
  --bs-bg-soft: #191d27;
  --bs-surface: rgba(22, 25, 34, 0.9);
  --bs-surface-strong: rgba(28, 32, 43, 0.96);
  --bs-surface-soft: rgba(255, 255, 255, 0.05);
  --bs-line: rgba(226, 232, 240, 0.12);
  --bs-line-strong: rgba(226, 232, 240, 0.22);
  --bs-text: #fbfbfd;
  --bs-text-muted: rgba(235, 238, 245, 0.72);
  --bs-text-dim: rgba(235, 238, 245, 0.46);
  --bs-cyan: #8cffd1;
  --bs-green: #b8f777;
  --bs-amber: #ffd166;
  --bs-coral: #ff6f9c;
  --bs-violet: #c7b6ff;
  --bs-blue: #8fd3ff;
  --bs-gold: var(--bs-amber);
  --bs-gold-soft: #d7ad39;
  --bs-gold-light: #ffe28a;
  --bs-success: var(--bs-green);
  --bs-danger: var(--bs-coral);
  --bs-radius-xl: 8px;
  --bs-radius-lg: 8px;
  --bs-radius-md: 8px;
  --bs-radius-sm: 6px;
  --bs-radius-pill: 999px;
  --bs-shadow-card: 0 24px 70px rgba(0, 0, 0, 0.38);
  --bs-shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.28);
  --bs-shell: 560px;
  --bs-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bs-bg); }
body.bs-gold-app {
  min-height: 100vh;
  margin: 0;
  color: var(--bs-text);
  background:
    linear-gradient(145deg, rgba(255, 111, 156, 0.08) 0%, transparent 32%),
    linear-gradient(215deg, rgba(140, 255, 209, 0.075) 0%, transparent 34%),
    linear-gradient(180deg, #111219 0%, #0d0e13 48%, #090a0e 100%);
  font-family: var(--bs-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
body.bs-gold-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 22%, transparent 72%, rgba(255,255,255,.03)),
    linear-gradient(115deg, rgba(255,111,156,.055), transparent 42%, rgba(140,255,209,.05));
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.32) 62%, transparent);
}
body.bs-gold-app > * { position: relative; z-index: 1; }
body.bs-modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled, input:disabled, select:disabled, textarea:disabled { opacity: 0.58; cursor: not-allowed; }
img, video { max-width: 100%; }

.bs-shell {
  width: min(100%, var(--bs-shell));
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 14px 104px;
}

.bs-topbar {
  position: sticky;
  top: 8px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 60px;
  margin: 0 0 18px;
  padding: 8px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(18, 20, 28, 0.82);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}
.bs-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.bs-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(140, 255, 209, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 111, 156, 0.18), rgba(140, 255, 209, 0.14)),
    #151820;
}
.bs-brand-mark img,
.bs-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.bs-brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.bs-brand-copy strong,
.bs-brand span:not(.bs-brand-mark):not(.bs-brand-copy) {
  font-size: 18px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
  color: var(--bs-text);
  white-space: nowrap;
}
.bs-brand-copy small {
  color: var(--bs-text-dim);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bs-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.bs-icon-btn,
.bs-create-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(255, 255, 255, 0.045);
}
.bs-icon-btn:hover,
.bs-create-btn:hover { border-color: rgba(140, 255, 209, 0.42); color: var(--bs-text); }
.bs-icon-btn svg,
.bs-create-btn svg { width: 21px; height: 21px; }
.bs-create-btn {
  color: #101219;
  border-color: transparent;
  background: linear-gradient(135deg, var(--bs-coral), var(--bs-cyan));
}
.bs-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 100;
  width: min(100%, var(--bs-shell));
  min-height: 78px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid var(--bs-line);
  background: rgba(15, 16, 22, 0.9);
  backdrop-filter: blur(22px);
}
.bs-bottom-nav a {
  min-width: 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 8px;
  color: var(--bs-text-dim);
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}
.bs-bottom-nav a:hover { color: var(--bs-text); background: rgba(255, 255, 255, 0.045); }
.bs-bottom-nav a.active {
  color: var(--bs-text);
  background: rgba(255, 111, 156, 0.14);
}
.bs-bottom-nav svg { width: 23px; height: 23px; }

.bs-page-title {
  margin: 0 0 22px;
  color: var(--bs-text);
  font-size: 42px;
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
}
.bs-page-lead {
  max-width: 720px;
  margin: -8px 0 24px;
  color: var(--bs-text-muted);
  font-size: 17px;
  line-height: 1.45;
}
.bs-kicker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}
.bs-section { margin-top: 30px; }
.bs-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.bs-section-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 780;
}
.bs-section-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--bs-cyan);
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.bs-card {
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--bs-surface);
  box-shadow: var(--bs-shadow-card);
  overflow: hidden;
}
.bs-card-pad { padding: 18px; }
.bs-card-title {
  margin: 0;
  color: var(--bs-text);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 780;
}
.bs-card-text {
  margin: 8px 0 0;
  color: var(--bs-text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.bs-empty {
  padding: 22px;
  border: 1px dashed var(--bs-line-strong);
  border-radius: 8px;
  color: var(--bs-text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.45;
}

.bs-btn {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--bs-text);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 720;
  transition: transform .12s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.bs-btn:hover { border-color: var(--bs-line-strong); background: rgba(255, 255, 255, 0.075); }
.bs-btn:active { transform: translateY(1px); }
.bs-btn-primary {
  color: #06120f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--bs-green), var(--bs-cyan));
}
.bs-btn-ghost { color: var(--bs-text-muted); background: transparent; }
.bs-btn svg { width: 19px; height: 19px; }

.bs-tabs {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(130px, auto);
  gap: 4px;
  width: auto;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.035);
  scrollbar-width: none;
}
.bs-tabs::-webkit-scrollbar { display: none; }
.bs-tabs button,
.bs-tab-button {
  height: 42px;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: var(--bs-text-muted);
  background: transparent;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 720;
}
.bs-tabs button.active,
.bs-tab-button.active {
  color: var(--bs-text);
  background: rgba(62, 231, 211, 0.12);
  box-shadow: inset 0 0 0 1px rgba(62, 231, 211, 0.22);
}
.bs-subtabs,
.bs-short-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.bs-subtabs::-webkit-scrollbar,
.bs-short-mode::-webkit-scrollbar { display: none; }
.bs-chip {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--bs-line);
  border-radius: var(--bs-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bs-text-muted);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 720;
}
.bs-chip.active {
  color: #06120f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--bs-amber), var(--bs-green));
}

.bs-input-wrap,
.bs-search-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}
.bs-input-wrap svg,
.bs-search-bar svg { width: 22px; height: 22px; color: var(--bs-cyan); flex: 0 0 auto; }
.bs-input-wrap input,
.bs-search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--bs-text);
  background: transparent;
  font-size: 16px;
}
.bs-input-wrap input::placeholder,
.bs-search-bar input::placeholder { color: var(--bs-text-dim); }

.bs-cover,
.bs-media {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(226, 232, 240, 0.09);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(62, 231, 211, .16), rgba(155, 140, 255, .12)),
    #0d1118;
}
.bs-cover img,
.bs-media img,
.bs-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.bs-media-placeholder {
  min-height: 112px;
  display: grid;
  place-items: center;
  color: var(--bs-text-dim);
}
.bs-media-placeholder img { width: 42px; height: 42px; opacity: .62; object-fit: contain; }

.bs-platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, .8fr);
  gap: 16px;
  align-items: stretch;
}
.bs-hero-main {
  min-height: 430px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8,10,15,.94) 0%, rgba(8,10,15,.72) 54%, rgba(8,10,15,.42) 100%),
    linear-gradient(110deg, rgba(62,231,211,.16), rgba(247,201,72,.08), rgba(255,107,107,.08));
  box-shadow: var(--bs-shadow-card);
}
.bs-hero-main.has-media { background-size: cover; background-position: center; }
.bs-hero-kicker {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(62, 231, 211, .3);
  border-radius: 999px;
  color: var(--bs-cyan);
  background: rgba(62, 231, 211, .08);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bs-hero-title {
  max-width: 820px;
  margin: 0;
  font-size: 56px;
  line-height: .92;
  font-weight: 860;
  letter-spacing: 0;
}
.bs-hero-copy {
  max-width: 620px;
  margin: 0;
  color: var(--bs-text-muted);
  font-size: 18px;
  line-height: 1.45;
}
.bs-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-hero-panel {
  display: grid;
  gap: 12px;
}
.bs-signal-card,
.bs-action-card {
  padding: 16px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, .8);
  box-shadow: var(--bs-shadow-soft);
}
.bs-signal-card small,
.bs-action-card small {
  display: block;
  color: var(--bs-text-dim);
  font-size: 12px;
  line-height: 1.2;
}
.bs-signal-card strong,
.bs-action-card strong {
  display: block;
  margin-top: 6px;
  color: var(--bs-text);
  font-size: 24px;
  line-height: 1.05;
}
.bs-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.bs-action-card {
  min-height: 124px;
  display: grid;
  align-content: space-between;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.bs-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 231, 211, .36);
  background: rgba(24, 31, 43, .92);
}

.bs-hero-card {
  min-height: 430px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8,10,15,.94), rgba(8,10,15,.64)),
    linear-gradient(110deg, rgba(62,231,211,.16), rgba(247,201,72,.08), rgba(255,107,107,.08));
  background-size: cover;
  background-position: center;
  box-shadow: var(--bs-shadow-card);
}
.bs-hero-card.has-image { background-size: cover; background-position: center; }
.bs-hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--bs-text-muted);
  font-size: 17px;
  line-height: 1.45;
}
.bs-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}
.bs-stat {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(8, 10, 15, .52);
}
.bs-stat strong {
  display: block;
  color: var(--bs-text);
  font-size: 24px;
  line-height: 1;
}
.bs-stat span {
  display: block;
  margin-top: 6px;
  color: var(--bs-text-muted);
  font-size: 12px;
}
.bs-page-search { margin: 24px 0 22px; }
.bs-page-filterbar { margin-bottom: 22px; }

.stories-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86px;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
}
.stories-row::-webkit-scrollbar { display: none; }
.story-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--bs-text-muted);
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
}
.story-circle {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 231, 211, .42);
  border-radius: 999px;
  overflow: hidden;
  color: var(--bs-cyan);
  background: linear-gradient(135deg, rgba(62,231,211,.14), rgba(247,201,72,.08));
}
.story-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

.collection-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.collection-mini {
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.collection-mini .bs-media { width: 86px; height: 86px; min-height: 86px; }
.collection-mini:hover { border-color: rgba(62, 231, 211, 0.36); background: rgba(255, 255, 255, 0.06); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.market-grid > .bs-empty { grid-column: 1 / -1; }
.market-card {
  min-width: 0;
  display: grid;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.82);
  overflow: hidden;
  box-shadow: var(--bs-shadow-soft);
  transition: transform .16s ease, border-color .16s ease;
}
.market-card:hover { transform: translateY(-2px); border-color: rgba(62, 231, 211, .36); }
.market-card-media {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 0;
  border-radius: 0;
}
.market-card-body {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 14px;
}
.market-card-title {
  color: var(--bs-text);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}
.market-card-owner,
.market-card-desc,
.market-card-foot {
  color: var(--bs-text-muted);
  font-size: 13px;
  line-height: 1.35;
}
.market-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.market-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.market-price {
  color: var(--bs-gold-light);
  font-weight: 800;
  white-space: nowrap;
}

.result-list,
.post-wall {
  display: grid;
  gap: 12px;
}
.result-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.78);
}
.result-row:hover { border-color: rgba(62, 231, 211, .34); }
.result-avatar,
.post-head-avatar,
.bs-feed-avatar,
.bs-short-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--bs-line);
  background: rgba(62, 231, 211, .12);
  color: var(--bs-cyan);
  font-weight: 800;
}
.post-head-avatar,
.bs-feed-avatar,
.bs-short-avatar { width: 42px; height: 42px; }
.result-avatar img,
.post-head-avatar img,
.bs-feed-avatar img,
.bs-short-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.result-title {
  color: var(--bs-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}
.result-sub {
  margin-top: 3px;
  color: var(--bs-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.post-card {
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.82);
  box-shadow: var(--bs-shadow-soft);
  overflow: hidden;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 4px;
}
.post-author,
.bs-feed-name {
  color: var(--bs-text);
  font-size: 14px;
  font-weight: 800;
}
.post-date {
  margin-top: 2px;
  color: var(--bs-text-dim);
  font-size: 12px;
}
.post-text {
  padding: 10px 14px 0;
  color: var(--bs-text);
  font-size: 15px;
  line-height: 1.5;
}
.post-media { padding: 12px 14px 0; }
.post-media .bs-media { aspect-ratio: 16 / 10; min-height: 0; }
.post-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: var(--bs-text-muted);
  font-size: 13px;
  font-weight: 720;
}

.profile-card {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 112px;
  background: linear-gradient(90deg, rgba(62,231,211,.18), rgba(247,201,72,.12), rgba(255,107,107,.10));
  pointer-events: none;
}
.profile-main {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  padding-top: 54px;
}
.profile-avatar {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border: 4px solid var(--bs-bg);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62,231,211,.2), rgba(247,201,72,.16));
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-placeholder { color: var(--bs-cyan); font-size: 42px; font-weight: 860; }
.profile-settings-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
}
.profile-name {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 860;
}
.profile-handle {
  margin-top: 6px;
  color: var(--bs-cyan);
  font-size: 14px;
  font-weight: 720;
}
.profile-bio {
  max-width: 640px;
  margin-top: 10px;
  color: var(--bs-text-muted);
  line-height: 1.45;
}
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.profile-stat {
  min-width: 104px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--bs-text-muted);
  text-align: left;
}
.profile-stat strong { color: var(--bs-text); font-size: 18px; line-height: 1; }
.profile-stat span { font-size: 12px; }
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.profile-tabs {
  position: sticky;
  top: 94px;
  z-index: 50;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 22px 0;
  padding: 6px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(8, 10, 15, 0.76);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tabs button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--bs-text-muted);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 760;
}
.profile-tabs button.active { color: var(--bs-text); background: rgba(62, 231, 211, .12); }

.bs-profile-public-card {
  padding: clamp(18px, 3vw, 28px);
}
.bs-profile-line {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: end;
  gap: 18px;
}
.bs-public-avatar {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 231, 211, .34);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62,231,211,.18), rgba(247,201,72,.12));
  color: var(--bs-cyan);
  font-size: 40px;
  font-weight: 860;
}
.bs-public-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bs-feed-card {
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, 0.82);
  box-shadow: var(--bs-shadow-soft);
  overflow: hidden;
}
.bs-feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 4px;
}
.bs-feed-sub {
  margin-top: 2px;
  color: var(--bs-text-dim);
  font-size: 12px;
}
.bs-feed-text {
  padding: 10px 14px 0;
  color: var(--bs-text);
  font-size: 15px;
  line-height: 1.5;
}
.bs-feed-media {
  aspect-ratio: 16 / 10;
  min-height: 0;
  margin: 12px 14px 0;
}
.bs-feed-actions {
  display: flex;
  gap: 12px;
  padding: 14px;
  color: var(--bs-text-muted);
  font-size: 13px;
  font-weight: 720;
}

.bs-tx-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, .82);
  box-shadow: var(--bs-shadow-soft);
}
.bs-tx-title {
  color: var(--bs-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}
.bs-tx-sub {
  margin-top: 4px;
  color: var(--bs-text-muted);
  font-size: 12px;
}
.bs-tx-amount {
  color: var(--bs-gold-light);
  font-family: var(--bs-mono);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.bs-short-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.bs-short-mini-grid > .bs-empty { grid-column: 1 / -1; }
.bs-short-mini-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, .82);
  box-shadow: var(--bs-shadow-soft);
}
.bs-short-mini-thumb {
  position: relative;
  min-height: 136px;
  border-radius: 8px;
  overflow: hidden;
  background: #05070a;
}
.bs-short-mini-thumb img,
.bs-short-mini-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-short-mini-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border-radius: 999px;
  color: #06120f;
  background: var(--bs-cyan);
  font-size: 12px;
}
.bs-short-mini-body { min-width: 0; display: grid; align-content: center; gap: 7px; }
.bs-short-mini-title {
  color: var(--bs-text);
  font-size: 15px;
  line-height: 1.24;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bs-short-mini-author,
.bs-short-mini-stats {
  color: var(--bs-text-muted);
  font-size: 12px;
  line-height: 1.2;
}
.bs-short-mini-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-short-mini-stats { display: flex; flex-wrap: wrap; gap: 7px; }
.bs-one-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 18px;
}
.bs-short-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, .84);
  box-shadow: var(--bs-shadow-card);
  overflow: hidden;
}
.bs-short-media {
  min-height: min(78vh, 720px);
  border: 0;
  border-radius: 0;
  background: #05070a;
}
.bs-short-media video,
.bs-short-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-short-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
}
.bs-short-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}
.bs-short-name { color: var(--bs-text); font-weight: 820; }
.bs-short-date { margin-top: 2px; color: var(--bs-text-muted); font-size: 12px; }
.bs-short-caption { max-width: 660px; color: var(--bs-text); line-height: 1.45; }
.bs-short-topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-short-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}
.bs-short-action {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--bs-line);
  border-radius: 999px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.045);
  font-size: 13px;
  font-weight: 720;
}
.bs-short-action.active { color: var(--bs-cyan); border-color: rgba(62, 231, 211, .36); }
.bs-short-feed-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.game-feature {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 14px;
}
.game-feature > .bs-media { min-height: 260px; }
.game-feature-info { display: grid; align-content: center; gap: 12px; }
.game-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.game-stat {
  padding: 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.04);
  font-size: 12px;
}
.game-stat strong { display: block; margin-top: 4px; color: var(--bs-text); font-size: 18px; }
.raffle-grid,
.case-grid,
.jackpot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.raffle-card,
.case-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}
.raffle-card > .bs-media,
.case-card > .bs-media { aspect-ratio: 1 / .76; min-height: 0; }
.mini-game-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}
.mini-game-card > .bs-media { min-height: 180px; }
.roulette-mark {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: block;
  background: conic-gradient(from 0deg, var(--bs-cyan), var(--bs-amber), var(--bs-coral), var(--bs-violet), var(--bs-cyan));
  box-shadow: inset 0 0 0 16px #0d1118;
}
.game-status-panel {
  display: grid;
  gap: 6px;
}
.game-status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.035);
  font-size: 13px;
}
.game-status-row b { color: var(--bs-text); }
.case-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-reward-pill {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--bs-gold-light);
  background: rgba(247, 201, 72, .08);
  border: 1px solid rgba(247, 201, 72, .22);
  font-size: 12px;
  font-weight: 760;
}
.jackpot-card {
  min-height: 128px;
  padding: 16px;
  display: grid;
  gap: 6px;
  text-align: left;
  color: var(--bs-text);
}
.jackpot-card strong { font-size: 28px; line-height: 1; color: var(--bs-cyan); }

.bs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 5, 8, .72);
  backdrop-filter: blur(18px);
}
.bs-modal {
  width: min(100%, 560px);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: var(--bs-bg-elevated);
  box-shadow: var(--bs-shadow-card);
}
.bs-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.bs-modal-title { margin: 0; font-size: 20px; font-weight: 820; }
.bs-modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.04);
}
.bs-modal-close svg { width: 20px; height: 20px; }
.bs-modal-list,
.bs-short-upload {
  display: grid;
  gap: 10px;
}
.bs-modal-row,
.bs-field {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.04);
}
.bs-modal-row b,
.bs-field label { color: var(--bs-text); font-size: 14px; }
.bs-form-row,
.bs-field {
  display: grid;
  align-items: stretch;
}
.bs-form-row input,
.bs-form-row textarea,
.bs-form-row select,
.bs-field input,
.bs-field textarea,
.bs-field select,
.bs-inline-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  outline: 0;
  padding: 12px;
  color: var(--bs-text);
  background: rgba(8, 10, 15, .72);
}
.bs-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.bs-check-row {
  display: grid;
  gap: 8px;
  color: var(--bs-text-muted);
  font-size: 13px;
}
.bs-action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-comment-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bs-line);
}
.bs-comment-body { color: var(--bs-text-muted); line-height: 1.42; }
.bs-comment-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.bs-comment-form input {
  min-height: 44px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--bs-text);
  background: rgba(255,255,255,.04);
}
.bs-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 1500;
  transform: translate(-50%, 12px);
  opacity: 0;
  max-width: min(92vw, 420px);
  padding: 12px 14px;
  border: 1px solid rgba(62, 231, 211, .28);
  border-radius: 8px;
  color: var(--bs-text);
  background: rgba(10, 14, 20, .92);
  box-shadow: var(--bs-shadow-soft);
  transition: transform .18s ease, opacity .18s ease;
}
.bs-toast.show { opacity: 1; transform: translate(-50%, 0); }

.bs-auth-card {
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(62, 231, 211, .13), rgba(247, 201, 72, .08), rgba(255, 107, 107, .07)),
    rgba(17, 23, 32, .86);
  box-shadow: var(--bs-shadow-card);
}
.bs-auth-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.bs-auth-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: var(--bs-text-muted);
  line-height: 1.4;
}
.bs-auth-step i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #06120f;
  background: var(--bs-cyan);
  font-style: normal;
  font-weight: 860;
}
.bs-auth-step strong { color: var(--bs-text); }

.bs-doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.bs-doc-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(17, 23, 32, .82);
  text-align: left;
}
.bs-doc-row.active,
.bs-doc-row:hover {
  color: var(--bs-text);
  border-color: rgba(62, 231, 211, .36);
}
.bs-doc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--bs-cyan);
  background: rgba(62, 231, 211, .1);
  font-weight: 860;
}
.bs-doc-viewer {
  width: 100%;
  min-height: 70vh;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: #fff;
}

.dm-user-results,
.dm-threads-list,
.dm-status-bar {
  color: var(--bs-text-muted);
}
.gold-dm-card,
.dm-layout,
.dm-conversation-card {
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(17, 23, 32, .82);
  overflow: hidden;
}
.gold-dm-card { padding: 0; }
.dm-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
}
.dm-sidebar {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--bs-line);
}
.dm-main {
  min-width: 0;
  padding: 12px;
}
.dm-toolbar {
  display: grid;
  gap: 10px;
}
.dm-toolbar-actions,
.dm-head-actions,
.dm-compose-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dm-toolbar-search,
.dm-composer {
  display: grid;
  gap: 10px;
}
.dm-search-input,
.dm-composer textarea,
.dm-composer input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--bs-text);
  background: rgba(8,10,15,.72);
  outline: 0;
}
.dm-thread-card,
.dm-user-result {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.035);
  text-align: left;
}
.dm-thread-card + .dm-thread-card,
.dm-user-result + .dm-user-result { margin-top: 8px; }
.dm-thread-card.is-active,
.dm-thread-card:hover,
.dm-user-result:hover {
  border-color: rgba(62, 231, 211, .34);
  color: var(--bs-text);
}
.dm-thread-avatar,
.dm-user-result-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--bs-line);
}
.dm-thread-main,
.dm-thread-top { min-width: 0; }
.dm-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dm-thread-name,
.dm-head-title,
.dm-user-result-title {
  color: var(--bs-text);
  font-weight: 820;
}
.dm-thread-time,
.dm-thread-preview,
.dm-thread-meta,
.dm-user-result-sub {
  color: var(--bs-text-muted);
  font-size: 12px;
  line-height: 1.35;
}
.dm-thread-preview {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dm-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--bs-line);
  border-radius: 999px;
  color: var(--bs-text-muted);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 760;
}
.dm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--bs-line);
}
.dm-messages-list {
  min-height: 360px;
  max-height: min(62vh, 720px);
  overflow: auto;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.dm-thread-row,
.dm-message-row,
.dm-user-row {
  padding: 12px;
  border-bottom: 1px solid var(--bs-line);
}
.dm-message-row {
  display: flex;
  border: 0;
  padding: 0;
}
.dm-message-row.me { justify-content: flex-end; }
.dm-message-bubble {
  max-width: min(74%, 560px);
  padding: 10px 12px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  color: var(--bs-text);
  background: rgba(255,255,255,.055);
}
.dm-message-row.me .dm-message-bubble {
  border-color: rgba(62, 231, 211, .26);
  background: rgba(62, 231, 211, .1);
}
.dm-message-text,
.dm-rich-card-note { line-height: 1.42; }
.dm-message-meta,
.dm-rich-card-subtitle {
  margin-top: 6px;
  color: var(--bs-text-dim);
  font-size: 11px;
}
.dm-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.dm-rich-card {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(8,10,15,.42);
}
.dm-rich-card-kicker {
  color: var(--bs-cyan);
  font-size: 12px;
  font-weight: 820;
}
.dm-rich-card-title,
.dm-rich-card-amount { color: var(--bs-text); font-weight: 820; }
.dm-media-shell,
.dm-media-preview-btn {
  width: 100%;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.dm-media-preview-btn { padding: 0; }
.dm-media-preview-btn img { width: 100%; display: block; }
.dm-media-loading {
  padding: 18px;
  color: var(--bs-text-muted);
}
.dm-voice-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
}
.dm-voice-waveform span {
  width: 3px;
  border-radius: 999px;
  background: var(--bs-cyan);
}
.dm-reply-box {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--bs-line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.dm-reply-title {
  color: var(--bs-cyan);
  font-size: 12px;
  font-weight: 800;
}
.dm-reply-snippet {
  color: var(--bs-text-muted);
  font-size: 13px;
}

@media (min-width: 920px) {
  .bs-shell { padding: 18px 18px 104px; }
  .bs-bottom-nav {
    border-left: 1px solid var(--bs-line);
    border-right: 1px solid var(--bs-line);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .24);
  }
}

@media (max-width: 780px) {
  .bs-shell { padding: 14px 14px 104px; }
  .bs-topbar { top: 8px; min-height: 60px; margin-bottom: 20px; }
  .bs-brand-copy small { display: none; }
  .bs-brand-mark { width: 40px; height: 40px; }
  .bs-icon-btn { display: none; }
  .bs-platform-hero { grid-template-columns: 1fr; }
  .bs-hero-main { min-height: 360px; }
  .bs-hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-action-grid { grid-template-columns: 1fr; }
  .game-feature,
  .mini-game-card,
  .profile-main,
  .dm-layout { grid-template-columns: 1fr; }
  .dm-sidebar { border-right: 0; border-bottom: 1px solid var(--bs-line); }
  .profile-main { padding-top: 68px; }
  .profile-avatar { width: 104px; height: 104px; }
  .bs-profile-line { grid-template-columns: 1fr; }
  .bs-public-avatar { width: 104px; height: 104px; }
  .bs-stat-grid { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 50px minmax(0, 1fr); }
  .result-row > .bs-section-link,
  .result-row > .bs-btn { grid-column: 1 / -1; width: 100%; }
  .game-stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .bs-shell { padding-left: 12px; padding-right: 12px; }
  .bs-bottom-nav { gap: 3px; padding-left: 6px; padding-right: 6px; }
  .bs-bottom-nav a { min-height: 52px; font-size: 10px; }
  .bs-bottom-nav a span { display: none; }
  .bs-page-title { font-size: 36px; }
  .bs-hero-title { font-size: 42px; }
  .bs-hero-panel { grid-template-columns: 1fr; }
  .market-grid,
  .bs-short-mini-grid,
  .collection-row { grid-template-columns: 1fr; }
  .bs-short-mini-card { grid-template-columns: 88px minmax(0, 1fr); }
  .bs-short-media { min-height: 620px; }
  .bs-inline-form,
  .bs-comment-form { grid-template-columns: 1fr; }
}

/* Social polish v3: softer mobile-native surfaces inspired by modern social apps. */
:root {
  --bs-bg: #08090f;
  --bs-bg-elevated: #11131b;
  --bs-bg-soft: #171a24;
  --bs-surface: rgba(22, 24, 33, 0.74);
  --bs-surface-strong: rgba(26, 29, 39, 0.9);
  --bs-surface-soft: rgba(255, 255, 255, 0.07);
  --bs-line: rgba(255, 255, 255, 0.1);
  --bs-line-strong: rgba(255, 255, 255, 0.18);
  --bs-text: #fcfcff;
  --bs-text-muted: rgba(240, 243, 250, 0.72);
  --bs-text-dim: rgba(240, 243, 250, 0.48);
  --bs-cyan: #76f7d0;
  --bs-green: #b5f45f;
  --bs-amber: #ffd36e;
  --bs-coral: #ff6a9a;
  --bs-violet: #bca8ff;
  --bs-blue: #80cfff;
  --bs-radius-xl: 30px;
  --bs-radius-lg: 24px;
  --bs-radius-md: 18px;
  --bs-radius-sm: 14px;
  --bs-shadow-card: 0 22px 58px rgba(0, 0, 0, 0.34);
  --bs-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.26);
}

body.bs-gold-app {
  background:
    linear-gradient(155deg, rgba(255, 106, 154, 0.14) 0%, rgba(255, 106, 154, 0) 34%),
    linear-gradient(215deg, rgba(118, 247, 208, 0.12) 0%, rgba(118, 247, 208, 0) 36%),
    linear-gradient(180deg, #11131a 0%, #090a10 46%, #07080d 100%);
}
body.bs-gold-app::before {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%, transparent 70%, rgba(255, 255, 255, 0.035)),
    linear-gradient(120deg, rgba(128, 207, 255, 0.08), transparent 36%, rgba(255, 106, 154, 0.075));
}

.bs-shell {
  padding: 10px 12px 118px;
}

.bs-topbar {
  top: 10px;
  min-height: 58px;
  margin: 0 0 16px;
  padding: 7px 9px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(17, 19, 27, 0.68);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(28px) saturate(150%);
}
.bs-brand { gap: 10px; }
.bs-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 106, 154, 0.24), rgba(118, 247, 208, 0.18)),
    rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.bs-brand-copy strong,
.bs-brand span:not(.bs-brand-mark):not(.bs-brand-copy) {
  font-size: 17px;
  font-weight: 820;
}
.bs-brand-copy small {
  color: rgba(240, 243, 250, 0.54);
  font-size: 10px;
}
.bs-topbar-actions { gap: 7px; }
.bs-icon-btn,
.bs-create-btn,
.profile-settings-btn,
.bs-modal-close {
  border-radius: 999px;
}
.bs-icon-btn,
.bs-create-btn {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}
.bs-create-btn {
  color: #08110f;
  background: linear-gradient(135deg, #ff7aa8, #76f7d0 72%);
  box-shadow: 0 10px 26px rgba(118, 247, 208, 0.18);
}

.bs-bottom-nav {
  bottom: 10px;
  width: min(calc(100% - 20px), 520px);
  min-height: 70px;
  padding: 7px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(16, 18, 25, 0.74);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(30px) saturate(150%);
}
.bs-bottom-nav a {
  min-height: 56px;
  gap: 4px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 760;
}
.bs-bottom-nav a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.bs-bottom-nav a.active {
  color: #08110f;
  background: linear-gradient(135deg, #ff7aa8, #76f7d0);
  box-shadow: 0 8px 24px rgba(118, 247, 208, 0.18);
}
.bs-bottom-nav svg { width: 22px; height: 22px; }

.bs-page-title {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 0.98;
  font-weight: 880;
}
.bs-page-lead {
  margin-top: -6px;
  font-size: 17px;
}
.bs-section { margin-top: 26px; }
.bs-section-head { margin-bottom: 12px; }
.bs-section-title {
  font-size: 22px;
  font-weight: 840;
}
.bs-section-link { color: #76f7d0; }

.bs-card,
.post-card,
.bs-feed-card,
.market-card,
.collection-mini,
.result-row,
.bs-short-mini-card,
.bs-short-card,
.game-feature,
.mini-game-card,
.raffle-card,
.case-card,
.jackpot-card,
.bs-auth-card,
.bs-doc-row,
.gold-dm-card,
.dm-conversation-card,
.bs-tx-row {
  border-radius: var(--bs-radius-lg);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(17, 20, 28, 0.72);
  box-shadow: var(--bs-shadow-soft);
}
.bs-card,
.post-card,
.bs-feed-card,
.bs-short-card,
.profile-card,
.bs-auth-card {
  box-shadow: var(--bs-shadow-card);
}
.bs-card-pad { padding: 20px; }
.bs-card-title,
.market-card-title,
.result-title,
.post-author,
.bs-feed-name,
.profile-name,
.dm-thread-name,
.dm-head-title {
  font-weight: 860;
}
.bs-card-text,
.result-sub,
.market-card-owner,
.market-card-desc,
.post-date,
.bs-feed-sub {
  color: rgba(240, 243, 250, 0.68);
}
.bs-empty {
  border-radius: var(--bs-radius-lg);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.bs-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bs-btn:hover {
  background: rgba(255, 255, 255, 0.11);
}
.bs-btn-primary {
  color: #08110f;
  background: linear-gradient(135deg, #b5f45f, #76f7d0);
  box-shadow: 0 10px 28px rgba(118, 247, 208, 0.18);
}
.bs-tabs,
.profile-tabs {
  padding: 5px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.bs-tabs button,
.bs-tab-button,
.profile-tabs button {
  border-radius: 999px;
}
.bs-tabs button.active,
.bs-tab-button.active,
.profile-tabs button.active {
  color: #08110f;
  background: linear-gradient(135deg, #ff7aa8, #76f7d0);
  box-shadow: none;
}
.bs-chip {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bs-chip.active {
  background: linear-gradient(135deg, #ffd36e, #b5f45f);
}

.bs-input-wrap,
.bs-search-bar,
.dm-search-input,
.dm-composer textarea,
.dm-composer input,
.bs-form-row input,
.bs-form-row textarea,
.bs-form-row select,
.bs-field input,
.bs-field textarea,
.bs-field select,
.bs-inline-form input,
.bs-comment-form input {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bs-form-row textarea,
.bs-field textarea,
.dm-composer textarea {
  border-radius: 22px;
}

.bs-cover,
.bs-media,
.market-card-media,
.bs-short-mini-thumb,
.bs-feed-media,
.post-media .bs-media,
.raffle-card > .bs-media,
.case-card > .bs-media,
.dm-media-shell,
.dm-media-preview-btn {
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.08);
}
.market-card {
  padding: 8px;
  gap: 0;
}
.market-card-media {
  overflow: hidden;
}
.market-card-body { padding: 14px 8px 8px; }
.market-card-foot,
.post-actions,
.bs-feed-actions {
  color: rgba(240, 243, 250, 0.62);
}
.market-price,
.bs-tx-amount {
  color: #ffd36e;
}

.bs-platform-hero,
.bs-hero-panel {
  gap: 12px;
}
.bs-hero-main,
.bs-hero-card {
  min-height: 420px;
  border-radius: 34px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}
.bs-hero-title {
  font-size: 56px;
  line-height: 0.94;
}
.bs-hero-copy {
  font-size: 18px;
}
.bs-signal-card,
.bs-action-card,
.bs-stat,
.game-stat,
.game-status-row {
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bs-action-card {
  min-height: 118px;
}

.stories-row {
  grid-auto-columns: 82px;
  gap: 10px;
  padding-top: 4px;
}
.story-circle {
  width: 72px;
  height: 72px;
  padding: 3px;
  border: 0;
  background: conic-gradient(from 220deg, #ff7aa8, #ffd36e, #76f7d0, #80cfff, #ff7aa8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.story-circle img {
  border: 3px solid #11131a;
  border-radius: 999px;
}
.story-item {
  color: rgba(240, 243, 250, 0.72);
  font-weight: 720;
}

.profile-card {
  border-radius: 34px;
  padding: 18px;
}
.profile-card::before {
  height: 132px;
  background:
    linear-gradient(120deg, rgba(255, 106, 154, 0.22), rgba(128, 207, 255, 0.15), rgba(118, 247, 208, 0.16));
}
.profile-main {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding-top: 72px;
}
.profile-avatar,
.bs-public-avatar {
  width: 108px;
  height: 108px;
  border-width: 5px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}
.profile-name {
  font-size: 34px;
}
.profile-stat {
  min-width: 92px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
}
.profile-actions .bs-btn {
  flex: 1 1 auto;
}
.profile-tabs {
  top: 84px;
}

.post-card,
.bs-feed-card {
  padding: 8px;
}
.post-head,
.bs-feed-head {
  padding: 8px 8px 4px;
}
.post-text,
.bs-feed-text {
  padding: 10px 8px 0;
  font-size: 16px;
}
.post-media {
  padding: 12px 0 0;
}
.post-actions,
.bs-feed-actions {
  padding: 14px 8px 6px;
}
.result-row {
  padding: 10px;
}

.bs-short-card {
  padding: 8px;
}
.bs-short-media {
  border-radius: 24px;
  overflow: hidden;
}
.bs-short-actions {
  padding: 2px 4px 4px;
}
.bs-short-action {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.bs-modal-backdrop {
  padding: 12px;
  place-items: end center;
  background: rgba(3, 5, 8, 0.66);
  backdrop-filter: blur(26px) saturate(140%);
}
.bs-modal {
  width: min(100%, 580px);
  padding: 18px;
  border-radius: 30px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 20, 28, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}
.bs-modal-row,
.bs-field,
.dm-rich-card,
.dm-reply-box {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
}
.bs-toast {
  bottom: 94px;
  border-radius: 999px;
  background: rgba(18, 20, 28, 0.9);
  backdrop-filter: blur(22px);
}

.dm-layout {
  border-radius: 28px;
}
.dm-thread-card,
.dm-user-result {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}
.dm-thread-card.is-active,
.dm-thread-card:hover,
.dm-user-result:hover {
  background: rgba(118, 247, 208, 0.08);
}
.dm-message-bubble {
  border-radius: 24px 24px 24px 7px;
  background: rgba(255, 255, 255, 0.075);
}
.dm-message-row.me .dm-message-bubble {
  border-radius: 24px 24px 7px 24px;
  color: #06120f;
  background: linear-gradient(135deg, #b5f45f, #76f7d0);
}

@media (min-width: 920px) {
  .bs-shell {
    padding: 16px 18px 116px;
  }
  .bs-bottom-nav {
    border-radius: 999px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }
}

@media (max-width: 780px) {
  .bs-shell {
    padding: 10px 10px 116px;
  }
  .bs-topbar {
    top: 8px;
    min-height: 56px;
    margin-bottom: 14px;
  }
  .bs-brand-mark {
    width: 40px;
    height: 40px;
  }
  .bs-platform-hero {
    grid-template-columns: 1fr;
  }
  .bs-hero-main,
  .bs-hero-card {
    min-height: 390px;
    border-radius: 30px;
  }
  .bs-hero-title {
    font-size: 46px;
  }
  .bs-hero-copy {
    font-size: 16px;
  }
  .profile-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .profile-avatar,
  .bs-public-avatar {
    width: 104px;
    height: 104px;
  }
  .dm-layout {
    border-radius: 28px;
  }
}

@media (max-width: 430px) {
  .bs-shell {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bs-topbar-actions {
    gap: 6px;
  }
  .bs-create-btn {
    width: 40px;
    height: 40px;
  }
  .bs-bottom-nav {
    width: min(calc(100% - 16px), 520px);
    min-height: 66px;
    padding: 6px;
  }
  .bs-bottom-nav a {
    min-height: 52px;
  }
  .bs-page-title {
    font-size: 36px;
  }
  .bs-hero-title {
    font-size: 40px;
  }
  .bs-hero-main,
  .bs-hero-card {
    min-height: 360px;
    border-radius: 28px;
  }
  .bs-hero-panel {
    grid-template-columns: 1fr;
  }
  .profile-card {
    border-radius: 30px;
  }
  .profile-name {
    font-size: 30px;
  }
  .profile-actions .bs-btn {
    flex-basis: 100%;
  }
  .market-grid,
  .bs-short-mini-grid,
  .collection-row {
    grid-template-columns: 1fr;
  }
}

/* Social air v4: light, content-first, almost-invisible chrome. */
:root {
  color-scheme: light;
  --bs-bg: #f7f9fc;
  --bs-bg-elevated: rgba(255, 255, 255, 0.92);
  --bs-bg-soft: #eef3f8;
  --bs-surface: rgba(255, 255, 255, 0.72);
  --bs-surface-strong: rgba(255, 255, 255, 0.9);
  --bs-surface-soft: rgba(17, 24, 39, 0.035);
  --bs-line: rgba(20, 27, 40, 0.08);
  --bs-line-strong: rgba(20, 27, 40, 0.14);
  --bs-text: #111827;
  --bs-text-muted: rgba(32, 40, 55, 0.66);
  --bs-text-dim: rgba(32, 40, 55, 0.42);
  --bs-cyan: #00b894;
  --bs-green: #72c94b;
  --bs-amber: #ffb84c;
  --bs-coral: #ff4f87;
  --bs-violet: #8f7dff;
  --bs-blue: #2a9df4;
  --bs-gold: var(--bs-amber);
  --bs-gold-soft: #d7952f;
  --bs-gold-light: #b97711;
  --bs-success: var(--bs-green);
  --bs-danger: var(--bs-coral);
  --bs-radius-xl: 28px;
  --bs-radius-lg: 22px;
  --bs-radius-md: 18px;
  --bs-radius-sm: 14px;
  --bs-shadow-card: 0 16px 40px rgba(17, 24, 39, 0.08);
  --bs-shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.06);
}

html {
  background: #f7f9fc;
}
body.bs-gold-app {
  color: var(--bs-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(42, 157, 244, 0.1), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(255, 79, 135, 0.09), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f6f9fd 42%, #f4f7fb 100%);
}
body.bs-gold-app::before {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent 24%, transparent 78%, rgba(255, 255, 255, 0.55)),
    linear-gradient(115deg, rgba(0, 184, 148, 0.045), transparent 38%, rgba(42, 157, 244, 0.045));
  mask-image: none;
}

.bs-shell {
  padding: 8px 10px 112px;
}

.bs-topbar {
  top: 8px;
  min-height: 54px;
  margin-bottom: 10px;
  padding: 6px 8px;
  border-color: rgba(20, 27, 40, 0.075);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(26px) saturate(155%);
}
.bs-brand-mark {
  width: 38px;
  height: 38px;
  border-color: rgba(20, 27, 40, 0.06);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.bs-brand-mark img,
.bs-brand img {
  width: 28px;
  height: 28px;
}
.bs-brand-copy strong,
.bs-brand span:not(.bs-brand-mark):not(.bs-brand-copy) {
  color: #101827;
}
.bs-brand-copy small {
  color: rgba(32, 40, 55, 0.46);
}
.bs-icon-btn,
.bs-create-btn {
  width: 40px;
  height: 40px;
  border-color: rgba(20, 27, 40, 0.06);
  color: rgba(32, 40, 55, 0.72);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.bs-create-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f87, #00b894);
  box-shadow: 0 10px 22px rgba(0, 184, 148, 0.16);
}

.bs-bottom-nav {
  bottom: 8px;
  width: min(calc(100% - 18px), 508px);
  min-height: 62px;
  padding: 5px;
  border-color: rgba(20, 27, 40, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(26px) saturate(155%);
}
.bs-bottom-nav a {
  min-height: 52px;
  color: rgba(32, 40, 55, 0.55);
}
.bs-bottom-nav a:hover {
  color: #101827;
  background: rgba(17, 24, 39, 0.045);
}
.bs-bottom-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f87, #00b894);
  box-shadow: 0 8px 20px rgba(255, 79, 135, 0.14);
}

.bs-page-title {
  margin-bottom: 12px;
  color: #101827;
  font-size: 34px;
  line-height: 1.04;
}
.bs-page-lead {
  max-width: 620px;
  margin: -2px 0 18px;
  color: rgba(32, 40, 55, 0.62);
  font-size: 16px;
}
.bs-section {
  margin-top: 22px;
}
.bs-section-head {
  margin-bottom: 10px;
  padding: 0 2px;
}
.bs-section-title {
  color: #101827;
  font-size: 20px;
}
.bs-section-link {
  color: #008f79;
}

.bs-card,
.post-card,
.bs-feed-card,
.market-card,
.collection-mini,
.result-row,
.bs-short-mini-card,
.bs-short-card,
.game-feature,
.mini-game-card,
.raffle-card,
.case-card,
.jackpot-card,
.bs-auth-card,
.bs-doc-row,
.gold-dm-card,
.dm-layout,
.dm-conversation-card,
.bs-tx-row,
.bs-signal-card,
.bs-action-card,
.bs-stat,
.game-stat,
.game-status-row {
  border-color: rgba(20, 27, 40, 0.075);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.045);
}
.post-card,
.bs-feed-card,
.result-row,
.collection-mini,
.bs-short-mini-card,
.bs-tx-row {
  background: rgba(255, 255, 255, 0.52);
}
.bs-card-pad {
  padding: 16px;
}
.bs-card-text,
.result-sub,
.market-card-owner,
.market-card-desc,
.post-date,
.bs-feed-sub,
.bs-short-mini-author,
.bs-short-mini-stats {
  color: rgba(32, 40, 55, 0.62);
}
.bs-empty {
  padding: 18px;
  border-color: rgba(20, 27, 40, 0.08);
  color: rgba(32, 40, 55, 0.54);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.bs-btn {
  min-height: 42px;
  padding: 0 16px;
  border-color: rgba(20, 27, 40, 0.075);
  color: #101827;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.045);
}
.bs-btn:hover {
  background: rgba(255, 255, 255, 0.86);
}
.bs-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f87, #00b894);
  box-shadow: 0 10px 22px rgba(0, 184, 148, 0.16);
}
.bs-btn-ghost {
  color: rgba(32, 40, 55, 0.62);
  background: transparent;
  box-shadow: none;
}
.bs-tabs,
.profile-tabs {
  border-color: rgba(20, 27, 40, 0.065);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.bs-tabs button,
.bs-tab-button,
.profile-tabs button {
  color: rgba(32, 40, 55, 0.6);
}
.bs-tabs button.active,
.bs-tab-button.active,
.profile-tabs button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f87, #00b894);
}
.bs-chip {
  border-color: rgba(20, 27, 40, 0.075);
  color: rgba(32, 40, 55, 0.66);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}
.bs-chip.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f87, #00b894);
}

.bs-input-wrap,
.bs-search-bar,
.dm-search-input,
.dm-composer textarea,
.dm-composer input,
.bs-form-row input,
.bs-form-row textarea,
.bs-form-row select,
.bs-field input,
.bs-field textarea,
.bs-field select,
.bs-inline-form input,
.bs-comment-form input {
  border-color: rgba(20, 27, 40, 0.07);
  color: #101827;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}
.bs-input-wrap svg,
.bs-search-bar svg {
  color: #00a383;
}
.bs-input-wrap input::placeholder,
.bs-search-bar input::placeholder {
  color: rgba(32, 40, 55, 0.38);
}

.bs-platform-hero {
  gap: 10px;
}
.bs-hero-main,
.bs-hero-card {
  min-height: 286px;
  padding: 22px;
  border-color: rgba(20, 27, 40, 0.075);
  color: #101827;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    linear-gradient(120deg, rgba(42, 157, 244, 0.12), rgba(255, 79, 135, 0.09), rgba(0, 184, 148, 0.1));
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}
.bs-hero-main.has-media,
.bs-hero-card.has-image {
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
}
.bs-hero-main.has-media .bs-hero-copy,
.bs-hero-card.has-image .bs-hero-text {
  color: rgba(255, 255, 255, 0.82);
}
.bs-hero-kicker {
  color: #007c6a;
  border-color: rgba(0, 184, 148, 0.18);
  background: rgba(0, 184, 148, 0.08);
}
.bs-hero-main.has-media .bs-hero-kicker,
.bs-hero-card.has-image .bs-hero-kicker {
  color: #c8fff1;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}
.bs-hero-title {
  font-size: 40px;
  line-height: 1;
}
.bs-hero-copy,
.bs-hero-text {
  color: rgba(32, 40, 55, 0.64);
  font-size: 16px;
}
.bs-hero-panel {
  gap: 10px;
}
.bs-signal-card,
.bs-action-card,
.bs-stat,
.game-stat,
.game-status-row {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}
.bs-signal-card,
.bs-action-card {
  padding: 14px;
}
.bs-action-card {
  min-height: 96px;
}
.bs-signal-card strong,
.bs-action-card strong {
  color: #101827;
  font-size: 21px;
}

.stories-row {
  grid-auto-columns: 76px;
  gap: 8px;
}
.story-circle {
  width: 66px;
  height: 66px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}
.story-circle img {
  border-color: #ffffff;
}
.story-item {
  color: rgba(32, 40, 55, 0.62);
}

.market-grid,
.post-wall,
.result-list,
.collection-row,
.bs-short-mini-grid,
.raffle-grid,
.case-grid,
.jackpot-grid {
  gap: 10px;
}
.market-card {
  padding: 6px;
}
.market-card-media,
.bs-cover,
.bs-media,
.post-media .bs-media,
.bs-feed-media,
.bs-short-mini-thumb {
  border-color: rgba(20, 27, 40, 0.055);
  background: #edf3f8;
}
.market-card-body {
  padding: 12px 6px 6px;
}
.market-price,
.bs-tx-amount {
  color: #b97711;
}

.post-card,
.bs-feed-card,
.bs-short-card {
  padding: 7px;
}
.post-head,
.bs-feed-head {
  padding: 6px 6px 2px;
}
.post-text,
.bs-feed-text {
  padding: 8px 6px 0;
  color: #101827;
}
.post-media {
  padding: 10px 0 0;
}
.post-actions,
.bs-feed-actions,
.bs-short-actions {
  padding: 12px 6px 4px;
}
.result-avatar,
.post-head-avatar,
.bs-feed-avatar,
.bs-short-avatar,
.dm-thread-avatar,
.dm-user-result-avatar {
  border-color: rgba(20, 27, 40, 0.06);
  background: linear-gradient(135deg, rgba(0, 184, 148, 0.1), rgba(42, 157, 244, 0.1));
  color: #008f79;
}

.profile-card {
  padding: 16px;
  border-color: rgba(20, 27, 40, 0.075);
  background: rgba(255, 255, 255, 0.58);
}
.profile-card::before {
  height: 108px;
  background:
    linear-gradient(120deg, rgba(42, 157, 244, 0.14), rgba(255, 79, 135, 0.11), rgba(0, 184, 148, 0.12));
}
.profile-main {
  grid-template-columns: 96px minmax(0, 1fr);
  padding-top: 56px;
}
.profile-avatar,
.bs-public-avatar {
  width: 96px;
  height: 96px;
  border-color: #ffffff;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.09);
}
.profile-name {
  color: #101827;
  font-size: 30px;
}
.profile-handle {
  color: #008f79;
}
.profile-bio {
  color: rgba(32, 40, 55, 0.62);
}
.profile-stat {
  border-color: rgba(20, 27, 40, 0.065);
  color: rgba(32, 40, 55, 0.58);
  background: rgba(255, 255, 255, 0.44);
}
.profile-stat strong {
  color: #101827;
}
.profile-tabs {
  top: 76px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px);
}

.bs-short-media {
  background: #101827;
}
.bs-short-overlay {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}
.bs-short-action {
  color: rgba(32, 40, 55, 0.66);
  border-color: rgba(20, 27, 40, 0.075);
  background: rgba(255, 255, 255, 0.52);
}
.bs-short-action.active {
  color: #008f79;
  border-color: rgba(0, 184, 148, 0.18);
  background: rgba(0, 184, 148, 0.07);
}

.bs-modal-backdrop {
  background: rgba(244, 247, 251, 0.58);
  backdrop-filter: blur(26px) saturate(150%);
}
.bs-modal {
  border-color: rgba(20, 27, 40, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}
.bs-modal-title,
.bs-modal-row b,
.bs-field label {
  color: #101827;
}
.bs-modal-close,
.bs-modal-row,
.bs-field,
.dm-rich-card,
.dm-reply-box {
  border-color: rgba(20, 27, 40, 0.075);
  color: rgba(32, 40, 55, 0.66);
  background: rgba(247, 249, 252, 0.8);
}
.bs-toast {
  color: #101827;
  border-color: rgba(20, 27, 40, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
}

.dm-sidebar {
  border-right-color: rgba(20, 27, 40, 0.08);
}
.dm-head {
  border-bottom-color: rgba(20, 27, 40, 0.08);
}
.dm-thread-card,
.dm-user-result {
  color: rgba(32, 40, 55, 0.62);
  background: rgba(255, 255, 255, 0.5);
}
.dm-thread-name,
.dm-head-title,
.dm-user-result-title,
.dm-rich-card-title,
.dm-rich-card-amount {
  color: #101827;
}
.dm-thread-time,
.dm-thread-preview,
.dm-thread-meta,
.dm-user-result-sub,
.dm-message-meta,
.dm-rich-card-subtitle,
.dm-reply-snippet {
  color: rgba(32, 40, 55, 0.52);
}
.dm-message-bubble {
  color: #101827;
  border-color: rgba(20, 27, 40, 0.065);
  background: rgba(255, 255, 255, 0.78);
}
.dm-message-row.me .dm-message-bubble {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4f87, #00b894);
}
.dm-pill {
  color: rgba(32, 40, 55, 0.62);
  border-color: rgba(20, 27, 40, 0.075);
  background: rgba(255, 255, 255, 0.52);
}

@media (min-width: 920px) {
  .bs-shell {
    padding: 12px 14px 112px;
  }
}

@media (max-width: 780px) {
  .bs-shell {
    padding: 8px 8px 110px;
  }
  .bs-topbar {
    min-height: 52px;
    margin-bottom: 10px;
  }
  .bs-brand-mark {
    width: 38px;
    height: 38px;
  }
  .bs-hero-main,
  .bs-hero-card {
    min-height: 258px;
    padding: 18px;
    border-radius: 26px;
  }
  .bs-hero-title {
    font-size: 34px;
  }
  .bs-hero-copy,
  .bs-hero-text {
    font-size: 15px;
  }
  .profile-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 58px;
  }
}

@media (max-width: 430px) {
  .bs-shell {
    padding-left: 8px;
    padding-right: 8px;
  }
  .bs-page-title {
    font-size: 30px;
  }
  .bs-bottom-nav {
    width: min(calc(100% - 14px), 508px);
    min-height: 60px;
  }
  .bs-bottom-nav a {
    min-height: 50px;
  }
  .bs-hero-main,
  .bs-hero-card {
    min-height: 240px;
    border-radius: 24px;
  }
  .bs-hero-title {
    font-size: 31px;
  }
  .profile-name {
    font-size: 28px;
  }
  .profile-actions .bs-btn {
    flex-basis: auto;
  }
}

/* Social air v5: even lighter live-feed chrome. */
:root {
  --bs-surface: rgba(255, 255, 255, 0.38);
  --bs-surface-strong: rgba(255, 255, 255, 0.58);
  --bs-surface-soft: rgba(17, 24, 39, 0.025);
  --bs-line: rgba(20, 27, 40, 0.062);
  --bs-line-strong: rgba(20, 27, 40, 0.105);
  --bs-shadow-card: 0 10px 28px rgba(17, 24, 39, 0.045);
  --bs-shadow-soft: 0 6px 18px rgba(17, 24, 39, 0.035);
}

body.bs-gold-app {
  background:
    radial-gradient(circle at 0% 0%, rgba(42, 157, 244, 0.075), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(255, 79, 135, 0.065), transparent 26%),
    linear-gradient(180deg, #fcfdff 0%, #f8fbff 48%, #f6f8fc 100%);
}
body.bs-gold-app::before {
  opacity: 0.72;
}

.bs-shell {
  padding-top: 6px;
}
.bs-topbar {
  border-color: rgba(20, 27, 40, 0.055);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
}
.bs-brand-mark,
.bs-icon-btn,
.bs-create-btn,
.bs-btn,
.bs-chip,
.bs-input-wrap,
.bs-search-bar {
  box-shadow: none;
}
.bs-icon-btn,
.bs-btn,
.bs-chip,
.bs-input-wrap,
.bs-search-bar,
.dm-search-input,
.dm-composer textarea,
.dm-composer input {
  background: rgba(255, 255, 255, 0.42);
}
.bs-create-btn,
.bs-btn-primary,
.bs-tabs button.active,
.bs-tab-button.active,
.profile-tabs button.active,
.bs-chip.active,
.bs-bottom-nav a.active {
  box-shadow: 0 7px 18px rgba(0, 184, 148, 0.12);
}

.bs-bottom-nav {
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
}

.bs-card,
.post-card,
.bs-feed-card,
.market-card,
.collection-mini,
.result-row,
.bs-short-mini-card,
.bs-short-card,
.game-feature,
.mini-game-card,
.raffle-card,
.case-card,
.jackpot-card,
.bs-auth-card,
.bs-doc-row,
.gold-dm-card,
.dm-layout,
.dm-conversation-card,
.bs-tx-row,
.bs-signal-card,
.bs-action-card,
.bs-stat,
.game-stat,
.game-status-row,
.profile-card {
  border-color: rgba(20, 27, 40, 0.055);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
.post-card,
.bs-feed-card,
.bs-short-card,
.profile-card,
.market-card {
  backdrop-filter: blur(18px) saturate(140%);
}

.bs-section {
  margin-top: 18px;
}
.bs-section-head {
  margin-bottom: 8px;
}

.bs-page-title {
  margin-bottom: 10px;
  font-size: 31px;
}
.bs-page-lead {
  margin-bottom: 14px;
}

.bs-platform-hero {
  gap: 8px;
}
.bs-hero-main,
.bs-hero-card {
  min-height: 210px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.26)),
    linear-gradient(120deg, rgba(42, 157, 244, 0.075), rgba(255, 79, 135, 0.055), rgba(0, 184, 148, 0.07));
  box-shadow: none;
}
.bs-hero-title {
  font-size: 34px;
}
.bs-hero-copy,
.bs-hero-text {
  font-size: 15px;
}
.bs-signal-card,
.bs-action-card {
  min-height: 76px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.3);
}
.bs-signal-card strong,
.bs-action-card strong {
  font-size: 19px;
}

.market-grid,
.post-wall,
.result-list,
.collection-row,
.bs-short-mini-grid,
.raffle-grid,
.case-grid,
.jackpot-grid {
  gap: 8px;
}
.post-card,
.bs-feed-card,
.bs-short-card,
.market-card {
  padding: 6px;
}
.result-row,
.collection-mini,
.bs-short-mini-card,
.bs-tx-row {
  padding: 9px;
}
.market-card-body {
  padding-top: 10px;
}
.bs-cover,
.bs-media,
.market-card-media,
.bs-short-mini-thumb,
.bs-feed-media,
.post-media .bs-media {
  border-color: rgba(20, 27, 40, 0.045);
}

.profile-card {
  padding: 14px;
  border-radius: 26px;
}
.profile-card::before {
  height: 92px;
  opacity: 0.72;
}
.profile-main {
  grid-template-columns: 88px minmax(0, 1fr);
  padding-top: 48px;
}
.profile-avatar,
.bs-public-avatar {
  width: 88px;
  height: 88px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.065);
}
.profile-name {
  font-size: 27px;
}
.profile-stats {
  gap: 6px;
  margin-top: 12px;
}
.profile-stat {
  min-width: 86px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.28);
}
.profile-actions {
  gap: 8px;
  margin-top: 14px;
}
.profile-tabs {
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.46);
}

.bs-modal-backdrop {
  background: rgba(248, 251, 255, 0.44);
}
.bs-modal {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(26px) saturate(150%);
}
.bs-modal-row,
.bs-field,
.dm-rich-card,
.dm-reply-box,
.dm-thread-card,
.dm-user-result,
.dm-message-bubble {
  background: rgba(255, 255, 255, 0.38);
}
.dm-message-row.me .dm-message-bubble {
  background: linear-gradient(135deg, rgba(255, 79, 135, 0.92), rgba(0, 184, 148, 0.92));
}

@media (max-width: 780px) {
  .bs-shell {
    padding-top: 6px;
  }
  .bs-hero-main,
  .bs-hero-card {
    min-height: 198px;
    padding: 16px;
  }
  .bs-hero-title {
    font-size: 31px;
  }
  .profile-main {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }
}

@media (max-width: 430px) {
  .bs-page-title {
    font-size: 28px;
  }
  .bs-hero-main,
  .bs-hero-card {
    min-height: 188px;
  }
  .bs-hero-title {
    font-size: 29px;
  }
}

/* Social air v6: softer text, translucent controls and safer button contrast. */
:root {
  --bs-text: #2b3646;
  --bs-text-muted: rgba(43, 54, 70, 0.66);
  --bs-text-dim: rgba(43, 54, 70, 0.46);
  --bs-accent-pink: #c93b70;
  --bs-accent-green: #007963;
  --bs-accent-blue: #2477c8;
  --bs-accent-soft: rgba(7, 157, 124, 0.1);
  --bs-button-text: #435064;
  --bs-button-text-strong: #27364a;
  --bs-on-accent: #ffffff;
}

body.bs-gold-app {
  color: var(--bs-text);
  font-weight: 430;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 9% 0%, rgba(47, 140, 231, 0.055), transparent 29%),
    radial-gradient(circle at 100% 3%, rgba(233, 79, 135, 0.052), transparent 27%),
    linear-gradient(180deg, #fdfeff 0%, #f9fcff 46%, #f7f9fd 100%);
}

.bs-page-title,
.bs-hero-title,
.profile-name,
.bs-section-head h1,
.bs-section-head h2,
.bs-section-head h3,
.bs-card h1,
.bs-card h2,
.bs-card h3,
.post-card h1,
.post-card h2,
.post-card h3,
.market-card h1,
.market-card h2,
.market-card h3,
.dm-head-title,
.dm-thread-title,
.bs-short-name {
  color: rgba(43, 54, 70, 0.9);
  font-weight: 680;
}

.bs-page-lead,
.bs-hero-copy,
.bs-hero-text,
.bs-brand-copy small,
.profile-bio,
.profile-username,
.profile-meta,
.profile-stat span,
.bs-muted,
.bs-empty,
.bs-comment-body,
.dm-thread-meta,
.dm-user-result-sub,
.dm-message-meta,
.dm-rich-card-subtitle,
.dm-reply-snippet,
.bs-short-date,
.game-stat span,
.game-status-row span {
  color: var(--bs-text-muted);
}

.bs-brand-copy strong,
.profile-stat strong,
.bs-signal-card strong,
.bs-action-card strong,
.game-stat strong,
.jackpot-card strong,
.dm-rich-card-amount {
  color: rgba(39, 54, 74, 0.88);
  font-weight: 700;
}

.bs-topbar,
.bs-bottom-nav,
.profile-tabs,
.bs-tabs,
.bs-tabbar,
.dm-toolbar,
.dm-composer {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(43, 54, 70, 0.045);
  box-shadow: 0 12px 36px rgba(43, 54, 70, 0.055);
}

.bs-card,
.post-card,
.bs-feed-card,
.market-card,
.collection-mini,
.result-row,
.bs-short-mini-card,
.bs-short-card,
.game-feature,
.mini-game-card,
.raffle-card,
.case-card,
.jackpot-card,
.bs-auth-card,
.bs-doc-row,
.gold-dm-card,
.dm-layout,
.dm-conversation-card,
.bs-tx-row,
.bs-signal-card,
.bs-action-card,
.bs-stat,
.game-stat,
.game-status-row,
.profile-card {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(43, 54, 70, 0.042);
}

.bs-input-wrap,
.bs-search-bar,
.dm-search-input,
.dm-composer textarea,
.dm-composer input,
.bs-field input,
.bs-field textarea,
.bs-field select {
  color: rgba(39, 54, 74, 0.86);
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(43, 54, 70, 0.055);
}

.bs-input-wrap input::placeholder,
.bs-search-bar input::placeholder,
.dm-search-input::placeholder,
.dm-composer textarea::placeholder,
.bs-field input::placeholder,
.bs-field textarea::placeholder {
  color: rgba(43, 54, 70, 0.38);
}

.bs-icon-btn,
.bs-create-btn,
.bs-btn,
.bs-chip,
.bs-tabs button,
.bs-tab-button,
.profile-tabs button,
.bs-bottom-nav a,
.dm-pill,
.dm-thread-card,
.dm-user-result,
.bs-short-action,
.game-status-row,
.profile-stat {
  color: var(--bs-button-text);
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(43, 54, 70, 0.052);
}

.bs-icon-btn:hover,
.bs-create-btn:hover,
.bs-btn:hover,
.bs-chip:hover,
.bs-tabs button:hover,
.bs-tab-button:hover,
.profile-tabs button:hover,
.bs-bottom-nav a:hover,
.dm-thread-card:hover,
.dm-user-result:hover,
.bs-short-action:hover,
.bs-doc-row:hover,
.result-row:hover,
.collection-mini:hover,
.market-card:hover {
  color: var(--bs-button-text-strong);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(47, 140, 231, 0.14);
  box-shadow: 0 10px 28px rgba(43, 54, 70, 0.06);
}

.bs-btn:active,
.bs-icon-btn:active,
.bs-create-btn:active,
.bs-bottom-nav a:active,
.bs-tabs button:active,
.bs-tab-button:active,
.profile-tabs button:active {
  color: var(--bs-button-text-strong);
  background: rgba(255, 255, 255, 0.68);
}

.bs-create-btn,
.bs-btn-primary,
.bs-tabs button.active,
.bs-tab-button.active,
.profile-tabs button.active,
.bs-chip.active,
.bs-bottom-nav a.active,
.dm-message-row.me .dm-message-bubble {
  color: var(--bs-on-accent);
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, var(--bs-accent-pink), var(--bs-accent-green));
  text-shadow: 0 1px 1px rgba(17, 24, 39, 0.18);
}

.bs-create-btn:hover,
.bs-btn-primary:hover,
.bs-tabs button.active:hover,
.bs-tab-button.active:hover,
.profile-tabs button.active:hover,
.bs-chip.active:hover,
.bs-bottom-nav a.active:hover {
  color: var(--bs-on-accent);
  background: linear-gradient(135deg, #bd3468, #006d59);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 12px 28px rgba(7, 157, 124, 0.16);
}

.bs-btn-ghost,
.bs-section-link,
.bs-link,
.profile-tabs button:not(.active),
.bs-tabs button:not(.active),
.bs-tab-button:not(.active) {
  color: rgba(43, 54, 70, 0.64);
}

.bs-section-link:hover,
.bs-link:hover {
  color: var(--bs-accent-blue);
}

.bs-btn svg,
.bs-icon-btn svg,
.bs-bottom-nav svg,
.bs-create-btn svg {
  color: currentColor;
}

.bs-modal-row,
.bs-field,
.dm-rich-card,
.dm-reply-box,
.dm-thread-card,
.dm-user-result,
.dm-message-bubble {
  color: rgba(43, 54, 70, 0.84);
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(43, 54, 70, 0.052);
}

.dm-message-bubble {
  color: rgba(43, 54, 70, 0.88);
  background: rgba(255, 255, 255, 0.46);
}

.dm-pill {
  color: rgba(43, 54, 70, 0.62);
  background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 430px) {
  body.bs-gold-app {
    font-weight: 420;
  }
  .bs-page-title,
  .bs-hero-title,
  .profile-name {
    font-weight: 660;
  }
  .bs-icon-btn,
  .bs-create-btn,
  .bs-btn,
  .bs-chip {
    background: rgba(255, 255, 255, 0.36);
  }
}

/* Social air v7: lighter glass and explicit readable home CTA. */
:root {
  --bs-text: #344154;
  --bs-text-muted: rgba(52, 65, 84, 0.62);
  --bs-text-dim: rgba(52, 65, 84, 0.42);
  --bs-surface: rgba(255, 255, 255, 0.24);
  --bs-surface-strong: rgba(255, 255, 255, 0.42);
  --bs-line: rgba(52, 65, 84, 0.035);
  --bs-line-strong: rgba(52, 65, 84, 0.085);
  --bs-shadow-card: 0 8px 24px rgba(52, 65, 84, 0.032);
  --bs-shadow-soft: 0 6px 18px rgba(52, 65, 84, 0.025);
}

body.bs-gold-app {
  background:
    radial-gradient(circle at 8% -4%, rgba(36, 119, 200, 0.044), transparent 25%),
    radial-gradient(circle at 104% 2%, rgba(201, 59, 112, 0.038), transparent 25%),
    linear-gradient(180deg, #feffff 0%, #fbfdff 46%, #f8fbff 100%);
}

.bs-topbar,
.bs-bottom-nav,
.profile-tabs,
.bs-tabs,
.bs-tabbar,
.dm-toolbar,
.dm-composer {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(52, 65, 84, 0.035);
  box-shadow: 0 10px 30px rgba(52, 65, 84, 0.04);
}

.bs-card,
.post-card,
.bs-feed-card,
.market-card,
.collection-mini,
.result-row,
.bs-short-mini-card,
.bs-short-card,
.game-feature,
.mini-game-card,
.raffle-card,
.case-card,
.jackpot-card,
.bs-auth-card,
.bs-doc-row,
.gold-dm-card,
.dm-layout,
.dm-conversation-card,
.bs-tx-row,
.bs-signal-card,
.bs-action-card,
.bs-stat,
.game-stat,
.game-status-row,
.profile-card {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(52, 65, 84, 0.032);
  box-shadow: none;
}

.bs-hero-main,
.bs-hero-card {
  min-height: 198px;
  color: var(--bs-text);
  border-color: rgba(52, 65, 84, 0.036);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18)),
    linear-gradient(120deg, rgba(36, 119, 200, 0.052), rgba(201, 59, 112, 0.04), rgba(0, 121, 99, 0.052));
  box-shadow: none;
}

.bs-hero-title {
  color: rgba(52, 65, 84, 0.88);
  font-weight: 640;
}

.bs-hero-copy,
.bs-hero-text {
  color: rgba(52, 65, 84, 0.58);
}

.bs-hero-main.has-media,
.bs-hero-card.has-image {
  color: #ffffff;
}

.bs-hero-main.has-media .bs-hero-title,
.bs-hero-card.has-image .bs-hero-title {
  color: rgba(255, 255, 255, 0.96);
}

.bs-hero-main.has-media .bs-hero-copy,
.bs-hero-card.has-image .bs-hero-text {
  color: rgba(255, 255, 255, 0.8);
}

.bs-icon-btn,
.bs-create-btn,
.bs-btn,
.bs-chip,
.bs-tabs button,
.bs-tab-button,
.profile-tabs button,
.bs-bottom-nav a,
.dm-pill,
.dm-thread-card,
.dm-user-result,
.bs-short-action,
.profile-stat {
  color: rgba(52, 65, 84, 0.76);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(52, 65, 84, 0.04);
}

.bs-icon-btn:hover,
.bs-create-btn:hover,
.bs-btn:hover,
.bs-chip:hover,
.bs-tabs button:hover,
.bs-tab-button:hover,
.profile-tabs button:hover,
.bs-bottom-nav a:hover,
.dm-thread-card:hover,
.dm-user-result:hover,
.bs-short-action:hover {
  color: rgba(36, 48, 66, 0.9);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(36, 119, 200, 0.12);
  box-shadow: 0 8px 22px rgba(52, 65, 84, 0.045);
}

.bs-btn.bs-btn-primary,
.bs-hero-actions .bs-btn.bs-btn-primary,
.bs-create-btn,
.bs-tabs button.active,
.bs-tab-button.active,
.profile-tabs button.active,
.bs-chip.active,
.bs-bottom-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #bd3468, #006d59);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 24px rgba(0, 109, 89, 0.14);
  text-shadow: 0 1px 1px rgba(17, 24, 39, 0.16);
}

.bs-btn.bs-btn-primary:hover,
.bs-hero-actions .bs-btn.bs-btn-primary:hover,
.bs-create-btn:hover,
.bs-tabs button.active:hover,
.bs-tab-button.active:hover,
.profile-tabs button.active:hover,
.bs-chip.active:hover,
.bs-bottom-nav a.active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #aa2d5d, #005b4d);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 14px 28px rgba(0, 91, 77, 0.16);
}

.bs-hero-actions .bs-btn:not(.bs-btn-primary) {
  color: rgba(52, 65, 84, 0.82);
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(52, 65, 84, 0.045);
}

.bs-hero-main.has-media .bs-hero-actions .bs-btn:not(.bs-btn-primary),
.bs-hero-card.has-image .bs-hero-actions .bs-btn:not(.bs-btn-primary) {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.bs-hero-actions .bs-btn:not(.bs-btn-primary):hover {
  color: rgba(36, 48, 66, 0.92);
  background: rgba(255, 255, 255, 0.62);
}

.bs-hero-main.has-media .bs-hero-actions .bs-btn:not(.bs-btn-primary):hover,
.bs-hero-card.has-image .bs-hero-actions .bs-btn:not(.bs-btn-primary):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

.bs-input-wrap,
.bs-search-bar,
.dm-search-input,
.dm-composer textarea,
.dm-composer input,
.bs-field input,
.bs-field textarea,
.bs-field select,
.bs-modal-row,
.bs-field,
.dm-rich-card,
.dm-reply-box,
.dm-thread-card,
.dm-user-result,
.dm-message-bubble {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(52, 65, 84, 0.038);
}

@media (max-width: 780px) {
  .bs-hero-main,
  .bs-hero-card {
    min-height: 184px;
  }
}

@media (max-width: 430px) {
  .bs-hero-actions {
    gap: 8px;
  }
  .bs-hero-actions .bs-btn {
    min-height: 42px;
    padding-inline: 13px;
  }
}

/* Social air v8: clean white VK-like home, no dark hover states. */
body.bs-gold-app[data-page="home"] {
  background: #ffffff;
}

body.bs-gold-app[data-page="home"]::before {
  opacity: 0;
}

body[data-page="home"] .bs-shell {
  padding-top: 6px;
}

body[data-page="home"] .bs-topbar {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(35, 50, 68, 0.06);
  box-shadow: 0 1px 0 rgba(35, 50, 68, 0.05);
  backdrop-filter: blur(18px) saturate(150%);
}

body[data-page="home"] .bs-platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 8px;
  align-items: stretch;
}

body[data-page="home"] .bs-hero-main,
body[data-page="home"] .bs-hero-card {
  min-height: 142px;
  padding: 14px;
  border: 1px solid rgba(35, 50, 68, 0.055);
  border-radius: 22px;
  color: #29384a;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(35, 50, 68, 0.045);
}

body[data-page="home"] .bs-hero-kicker {
  padding: 0;
  border: 0;
  color: rgba(35, 50, 68, 0.46);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  text-transform: none;
}

body[data-page="home"] .bs-hero-title {
  display: block;
  max-width: 100%;
  overflow: visible;
  color: #263548;
  font-size: clamp(28px, 7.4vw, 36px);
  line-height: 1.02;
  font-weight: 650;
}

body[data-page="home"] .bs-hero-copy {
  max-width: 100%;
  color: rgba(35, 50, 68, 0.56);
  font-size: 14px;
  line-height: 1.35;
}

body[data-page="home"] .bs-hero-actions {
  gap: 7px;
  margin-top: 2px;
}

body[data-page="home"] .bs-hero-actions .bs-btn {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

body[data-page="home"] .bs-btn,
body[data-page="home"] .bs-chip,
body[data-page="home"] .bs-icon-btn,
body[data-page="home"] .bs-create-btn,
body[data-page="home"] .bs-bottom-nav a,
body[data-page="home"] .bs-section-link,
body[data-page="home"] .bs-signal-card,
body[data-page="home"] .bs-action-card,
body[data-page="home"] .collection-mini,
body[data-page="home"] .bs-short-mini-card,
body[data-page="home"] .market-card,
body[data-page="home"] .result-row {
  color: rgba(35, 50, 68, 0.78);
  background: rgba(248, 250, 252, 0.76);
  border-color: rgba(35, 50, 68, 0.055);
  box-shadow: none;
}

body[data-page="home"] .bs-btn:hover,
body[data-page="home"] .bs-chip:hover,
body[data-page="home"] .bs-icon-btn:hover,
body[data-page="home"] .bs-create-btn:hover,
body[data-page="home"] .bs-bottom-nav a:hover,
body[data-page="home"] .bs-section-link:hover,
body[data-page="home"] .bs-signal-card:hover,
body[data-page="home"] .bs-action-card:hover,
body[data-page="home"] .collection-mini:hover,
body[data-page="home"] .bs-short-mini-card:hover,
body[data-page="home"] .market-card:hover,
body[data-page="home"] .result-row:hover {
  transform: none;
  color: #1f6fb7;
  background: rgba(244, 248, 252, 0.98);
  border-color: rgba(30, 110, 183, 0.16);
  box-shadow: 0 6px 18px rgba(35, 50, 68, 0.055);
}

body[data-page="home"] .bs-hero-actions .bs-btn.bs-btn-primary,
body[data-page="home"] .bs-btn.bs-btn-primary,
body[data-page="home"] .bs-create-btn,
body[data-page="home"] .bs-bottom-nav a.active {
  color: #ffffff;
  background: #1f6fb7;
  border-color: #1f6fb7;
  box-shadow: 0 8px 20px rgba(31, 111, 183, 0.18);
  text-shadow: none;
}

body[data-page="home"] .bs-hero-actions .bs-btn.bs-btn-primary:hover,
body[data-page="home"] .bs-btn.bs-btn-primary:hover,
body[data-page="home"] .bs-create-btn:hover,
body[data-page="home"] .bs-bottom-nav a.active:hover {
  color: #ffffff;
  background: #195f9e;
  border-color: #195f9e;
  box-shadow: 0 10px 22px rgba(25, 95, 158, 0.2);
}

body[data-page="home"] .bs-hero-actions .bs-btn:not(.bs-btn-primary) {
  color: rgba(35, 50, 68, 0.76);
  background: #f3f7fb;
  border-color: rgba(35, 50, 68, 0.06);
}

body[data-page="home"] .bs-hero-actions .bs-btn:not(.bs-btn-primary):hover {
  color: #1f6fb7;
  background: #edf5ff;
  border-color: rgba(31, 111, 183, 0.16);
}

body[data-page="home"] .bs-hero-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="home"] .bs-signal-card,
body[data-page="home"] .bs-action-card {
  min-height: 68px;
  padding: 11px;
  border-radius: 18px;
  align-content: center;
  background: #f7f9fc;
}

body[data-page="home"] .bs-signal-card small,
body[data-page="home"] .bs-action-card small,
body[data-page="home"] .bs-card-text {
  color: rgba(35, 50, 68, 0.48);
  font-size: 12px;
}

body[data-page="home"] .bs-signal-card strong,
body[data-page="home"] .bs-action-card strong {
  color: #263548;
  font-size: 18px;
  font-weight: 650;
}

body[data-page="home"] .bs-section {
  margin-top: 14px;
}

body[data-page="home"] .bs-section-head {
  margin-bottom: 7px;
}

body[data-page="home"] .bs-section-title {
  color: #263548;
  font-size: 20px;
  font-weight: 650;
}

@media (max-width: 780px) {
  body[data-page="home"] .bs-platform-hero {
    grid-template-columns: 1fr;
  }
  body[data-page="home"] .bs-hero-main,
  body[data-page="home"] .bs-hero-card {
    min-height: 132px;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .bs-shell {
    padding-left: 7px;
    padding-right: 7px;
  }
  body[data-page="home"] .bs-hero-main,
  body[data-page="home"] .bs-hero-card {
    min-height: 124px;
    padding: 13px;
    border-radius: 20px;
  }
  body[data-page="home"] .bs-hero-title {
    font-size: 28px;
  }
  body[data-page="home"] .bs-hero-panel {
    gap: 7px;
  }
}

/* Social air v9: restore colorful home while keeping readable controls. */
body.bs-gold-app[data-page="home"] {
  background:
    radial-gradient(circle at 5% 0%, rgba(45, 129, 211, 0.14), transparent 28%),
    radial-gradient(circle at 100% 4%, rgba(201, 59, 112, 0.13), transparent 26%),
    radial-gradient(circle at 22% 34%, rgba(0, 121, 99, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f8fbff 45%, #ffffff 100%);
}

body.bs-gold-app[data-page="home"]::before {
  opacity: 0.5;
}

body[data-page="home"] .bs-topbar {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(45, 129, 211, 0.08);
  box-shadow: 0 10px 30px rgba(45, 129, 211, 0.07);
}

body[data-page="home"] .bs-hero-main,
body[data-page="home"] .bs-hero-card {
  color: #2b3547;
  border-color: rgba(45, 129, 211, 0.08);
  background:
    radial-gradient(circle at 8% 12%, rgba(45, 129, 211, 0.22), transparent 34%),
    radial-gradient(circle at 93% 18%, rgba(201, 59, 112, 0.2), transparent 32%),
    radial-gradient(circle at 72% 88%, rgba(0, 121, 99, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.46));
  box-shadow: 0 14px 34px rgba(45, 129, 211, 0.08);
}

body[data-page="home"] .bs-hero-kicker {
  padding: 6px 9px;
  border: 1px solid rgba(45, 129, 211, 0.12);
  color: #1f6fb7;
  background: rgba(255, 255, 255, 0.48);
  font-weight: 700;
}

body[data-page="home"] .bs-hero-title {
  color: #263548;
  font-weight: 680;
}

body[data-page="home"] .bs-hero-copy {
  color: rgba(38, 53, 72, 0.62);
}

body[data-page="home"] .bs-hero-actions .bs-btn.bs-btn-primary,
body[data-page="home"] .bs-btn.bs-btn-primary,
body[data-page="home"] .bs-create-btn,
body[data-page="home"] .bs-bottom-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #bd3468, #006d59);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 24px rgba(0, 109, 89, 0.17);
}

body[data-page="home"] .bs-hero-actions .bs-btn.bs-btn-primary:hover,
body[data-page="home"] .bs-btn.bs-btn-primary:hover,
body[data-page="home"] .bs-create-btn:hover,
body[data-page="home"] .bs-bottom-nav a.active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #aa2d5d, #005b4d);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 30px rgba(0, 91, 77, 0.18);
}

body[data-page="home"] .bs-hero-actions .bs-btn:not(.bs-btn-primary) {
  color: rgba(38, 53, 72, 0.8);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(45, 129, 211, 0.1);
}

body[data-page="home"] .bs-hero-actions .bs-btn:not(.bs-btn-primary):hover {
  color: #1f6fb7;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(31, 111, 183, 0.18);
  box-shadow: 0 10px 24px rgba(45, 129, 211, 0.08);
}

body[data-page="home"] .bs-signal-card,
body[data-page="home"] .bs-action-card {
  border-color: rgba(45, 129, 211, 0.07);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 24px rgba(45, 129, 211, 0.045);
  backdrop-filter: blur(18px) saturate(145%);
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(1),
body[data-page="home"] .bs-action-grid .bs-action-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(45, 129, 211, 0.14), rgba(255, 255, 255, 0.58));
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(2),
body[data-page="home"] .bs-action-grid .bs-action-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(201, 59, 112, 0.13), rgba(255, 255, 255, 0.58));
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(3),
body[data-page="home"] .bs-action-grid .bs-action-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(0, 121, 99, 0.12), rgba(255, 255, 255, 0.58));
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.58));
}

body[data-page="home"] .bs-signal-card:hover,
body[data-page="home"] .bs-action-card:hover,
body[data-page="home"] .collection-mini:hover,
body[data-page="home"] .bs-short-mini-card:hover,
body[data-page="home"] .market-card:hover,
body[data-page="home"] .result-row:hover {
  color: #1f6fb7;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(31, 111, 183, 0.16);
  box-shadow: 0 12px 28px rgba(45, 129, 211, 0.075);
}

body[data-page="home"] .bs-bottom-nav {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(45, 129, 211, 0.08);
  box-shadow: 0 16px 36px rgba(45, 129, 211, 0.1);
}

/* Social air v10: minimal colorful home, no noisy block gradients. */
body.bs-gold-app[data-page="home"] {
  background:
    radial-gradient(circle at 12% -6%, rgba(45, 129, 211, 0.1), transparent 27%),
    radial-gradient(circle at 100% 0%, rgba(201, 59, 112, 0.075), transparent 25%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 58%, #ffffff 100%);
}

body.bs-gold-app[data-page="home"]::before {
  opacity: 0.22;
}

body[data-page="home"] .bs-shell {
  padding-top: 8px;
}

body[data-page="home"] .bs-platform-hero {
  grid-template-columns: 1fr;
  gap: 8px;
}

body[data-page="home"] .bs-hero-main,
body[data-page="home"] .bs-hero-card {
  min-height: 136px;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(36, 52, 70, 0.055);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    radial-gradient(circle at 100% 0%, rgba(45, 129, 211, 0.12), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(201, 59, 112, 0.08), transparent 32%);
  box-shadow: 0 8px 24px rgba(36, 52, 70, 0.055);
}

body[data-page="home"] .bs-hero-kicker {
  padding: 0;
  border: 0;
  color: rgba(36, 52, 70, 0.48);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
}

body[data-page="home"] .bs-hero-title {
  font-size: clamp(27px, 7vw, 34px);
  line-height: 1.03;
  font-weight: 660;
}

body[data-page="home"] .bs-hero-copy {
  color: rgba(36, 52, 70, 0.56);
  font-size: 14px;
}

body[data-page="home"] .bs-hero-panel {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

body[data-page="home"] .bs-signal-card {
  position: relative;
  min-height: 56px;
  padding: 10px 10px 9px 26px;
  border: 1px solid rgba(36, 52, 70, 0.052);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(135%);
}

body[data-page="home"] .bs-signal-card::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2d81d3;
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(2)::before {
  background: #bd3468;
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(3)::before {
  background: #007963;
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(4)::before {
  background: #b7791f;
}

body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(1),
body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(2),
body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(3),
body[data-page="home"] .bs-hero-panel .bs-signal-card:nth-child(4),
body[data-page="home"] .bs-action-grid .bs-action-card:nth-child(1),
body[data-page="home"] .bs-action-grid .bs-action-card:nth-child(2),
body[data-page="home"] .bs-action-grid .bs-action-card:nth-child(3) {
  background: rgba(255, 255, 255, 0.68);
}

body[data-page="home"] .bs-signal-card small {
  color: rgba(36, 52, 70, 0.46);
  font-size: 11px;
  font-weight: 560;
}

body[data-page="home"] .bs-signal-card strong {
  margin-top: 3px;
  color: rgba(36, 52, 70, 0.86);
  font-size: 17px;
  font-weight: 650;
}

body[data-page="home"] .bs-signal-card:hover,
body[data-page="home"] .collection-mini:hover,
body[data-page="home"] .bs-short-mini-card:hover,
body[data-page="home"] .market-card:hover,
body[data-page="home"] .result-row:hover {
  transform: none;
  color: #1f6fb7;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(31, 111, 183, 0.14);
  box-shadow: 0 8px 20px rgba(36, 52, 70, 0.045);
}

body[data-page="home"] .bs-section {
  margin-top: 13px;
}

body[data-page="home"] .bs-section-title {
  font-size: 19px;
  font-weight: 650;
}

@media (max-width: 780px) {
  body[data-page="home"] .bs-hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .bs-hero-main,
  body[data-page="home"] .bs-hero-card {
    min-height: 128px;
    border-radius: 20px;
  }
  body[data-page="home"] .bs-signal-card {
    min-height: 52px;
  }
}

/* Social air v11: optimized home hero without quick-button tiles. */
body[data-page="home"] .bs-platform-hero {
  display: block;
}

body[data-page="home"] .bs-home-hero {
  min-height: 128px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56)),
    radial-gradient(circle at 98% 0%, rgba(45, 129, 211, 0.18), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(201, 59, 112, 0.12), transparent 34%);
  box-shadow: 0 10px 28px rgba(36, 52, 70, 0.055);
}

body[data-page="home"] .bs-home-hero-copy {
  min-width: 0;
}

body[data-page="home"] .bs-home-hero .bs-hero-kicker {
  margin-bottom: 8px;
}

body[data-page="home"] .bs-home-hero .bs-hero-title {
  max-width: 420px;
  font-size: clamp(29px, 8vw, 38px);
  letter-spacing: 0;
}

body[data-page="home"] .bs-home-hero .bs-hero-copy {
  margin-top: 7px;
  font-size: 14px;
}

body[data-page="home"] .bs-home-hero .bs-hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
  justify-content: flex-end;
}

body[data-page="home"] .bs-home-hero .bs-hero-actions .bs-btn {
  min-width: 76px;
}

body[data-page="home"] .bs-hero-panel {
  display: none;
}

body[data-page="home"] #homeHero + .bs-section {
  margin-top: 16px;
}

@media (max-width: 520px) {
  body[data-page="home"] .bs-home-hero {
    min-height: 132px;
    display: grid;
    align-content: end;
    gap: 12px;
    padding: 15px;
  }
  body[data-page="home"] .bs-home-hero .bs-hero-actions {
    justify-content: flex-start;
  }
  body[data-page="home"] .bs-home-hero .bs-hero-actions .bs-btn {
    min-height: 40px;
    min-width: 0;
  }
}

/* Social air v12: all-page polish, clearer clicks and smaller text. */
:root {
  --bs-page-max: 720px;
}

.bs-shell {
  max-width: var(--bs-page-max);
}

.bs-page-title {
  margin: 0 0 12px;
  color: rgba(35, 49, 68, 0.9);
  font-size: clamp(25px, 6.4vw, 32px);
  line-height: 1.06;
  font-weight: 680;
}

.bs-section-title {
  color: rgba(35, 49, 68, 0.88);
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.12;
  font-weight: 660;
}

.bs-hero-title,
.profile-name {
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.04;
  font-weight: 680;
}

.bs-hero-card,
.bs-hero-main {
  min-height: 168px;
  padding: 16px;
  border-radius: 22px;
}

.bs-hero-text,
.bs-hero-copy,
.bs-page-lead,
.bs-card-text,
.market-card-desc,
.post-text,
.bs-feed-text,
.profile-bio,
.result-sub,
.market-card-owner,
.dm-thread-meta {
  font-size: 14px;
  line-height: 1.42;
}

.bs-tabs,
.profile-tabs,
.bs-subtabs,
.bs-short-mode,
.bs-page-filterbar {
  gap: 7px;
  margin: 8px 0 12px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bs-tabs::-webkit-scrollbar,
.profile-tabs::-webkit-scrollbar,
.bs-subtabs::-webkit-scrollbar,
.bs-short-mode::-webkit-scrollbar,
.bs-page-filterbar::-webkit-scrollbar {
  display: none;
}

.bs-tabs button,
.profile-tabs button,
.bs-tab-button,
.bs-chip,
.bs-short-mode .bs-chip,
.bs-btn,
.bs-section-link {
  min-height: 38px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
}

.bs-tabs button,
.profile-tabs button,
.bs-tab-button,
.bs-chip,
.bs-short-mode .bs-chip {
  padding: 0 13px;
}

.bs-btn {
  padding: 0 14px;
}

.bs-tabs button.active,
.profile-tabs button.active,
.bs-tab-button.active,
.bs-chip.active,
.bs-short-mode .bs-chip.active {
  color: #ffffff;
  background: #1f6fb7;
  border-color: #1f6fb7;
  box-shadow: 0 8px 18px rgba(31, 111, 183, 0.14);
}

.bs-tabs button:hover,
.profile-tabs button:hover,
.bs-tab-button:hover,
.bs-chip:hover,
.bs-short-mode .bs-chip:hover,
.bs-btn:hover,
.bs-section-link:hover,
.result-row:hover,
.collection-mini:hover,
.market-card:hover,
.bs-short-mini-card:hover,
.post-card:hover,
.bs-feed-card:hover {
  transform: none;
}

.bs-empty {
  min-height: 92px;
  padding: 18px;
  border-radius: 18px;
  color: rgba(35, 49, 68, 0.58);
  font-size: 14px;
  line-height: 1.42;
  background: rgba(255, 255, 255, 0.48);
}

.market-grid,
.post-wall,
.result-list,
.collection-row,
.bs-short-mini-grid,
.raffle-grid,
.case-grid,
.jackpot-grid,
.bs-one-grid {
  gap: 9px;
}

.market-card,
.collection-mini,
.result-row,
.post-card,
.bs-feed-card,
.bs-short-mini-card,
.raffle-card,
.case-card,
.mini-game-card,
.jackpot-card,
.bs-tx-row {
  border-radius: 18px;
}

.market-card-title,
.result-title,
.post-author,
.bs-feed-name,
.bs-card-title,
.dm-thread-title {
  font-size: 16px;
  line-height: 1.16;
  font-weight: 660;
}

.profile-card {
  border-radius: 22px;
}

.profile-main {
  gap: 12px;
}

.profile-avatar,
.bs-public-avatar {
  width: 76px;
  height: 76px;
}

.profile-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.profile-stat {
  min-width: 0;
  padding: 8px 7px;
  border-radius: 16px;
}

.profile-stat strong {
  font-size: 16px;
}

.profile-stat span {
  font-size: 11px;
}

.bs-modal {
  width: min(100% - 18px, 560px);
  max-height: min(84vh, 720px);
  border-radius: 24px;
}

.bs-modal-title {
  font-size: 20px;
  line-height: 1.12;
}

.bs-modal-list {
  gap: 8px;
}

.bs-modal-row,
.bs-field,
.dm-rich-card,
.dm-reply-box {
  border-radius: 17px;
}

.dm-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.dm-thread-card,
.dm-user-result {
  min-height: 58px;
  padding: 9px;
  border-radius: 17px;
}

.dm-head-title {
  font-size: 18px;
}

.dm-head-actions,
.dm-toolbar-actions,
.dm-toolbar-search,
.dm-compose-tools,
.bs-action-row {
  gap: 7px;
}

button[aria-disabled="true"] {
  opacity: 0.72;
  cursor: not-allowed;
}

button:not(:disabled),
a[href],
[data-go],
[data-profile-go],
[data-profile-tab],
[data-search-tab],
[data-market-tab],
[data-games-tab],
[data-open-case],
[data-raffle-buy],
[data-short-like],
[data-short-comments],
[data-short-share] {
  touch-action: manipulation;
}

@media (max-width: 780px) {
  :root {
    --bs-page-max: 100%;
  }
  .bs-shell {
    padding: 7px 7px 104px;
  }
  .bs-page-title {
    font-size: 26px;
  }
  .bs-section {
    margin-top: 14px;
  }
  .bs-hero-card,
  .bs-hero-main {
    min-height: 148px;
    padding: 14px;
  }
  .dm-layout {
    grid-template-columns: 1fr;
  }
  .dm-sidebar,
  .dm-main {
    min-height: auto;
  }
  .dm-conversation-card {
    min-height: 58vh;
  }
}

@media (max-width: 430px) {
  .bs-page-title {
    font-size: 24px;
  }
  .bs-section-title {
    font-size: 18px;
  }
  .bs-hero-title,
  .profile-name {
    font-size: 27px;
  }
  .bs-tabs button,
  .profile-tabs button,
  .bs-tab-button,
  .bs-chip,
  .bs-short-mode .bs-chip,
  .bs-btn {
    min-height: 36px;
    font-size: 13px;
  }
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-actions .bs-btn {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
  }
  .market-grid,
  .raffle-grid,
  .case-grid,
  .jackpot-grid {
    grid-template-columns: 1fr;
  }
  .bs-bottom-nav {
    min-height: 58px;
  }
}

/* Social air v13: keep overlays above the app chrome. */
body.bs-gold-app > .bs-modal-backdrop {
  position: fixed;
  z-index: 5000;
  pointer-events: auto;
}

body.bs-gold-app > .bs-toast {
  z-index: 5600;
}

body.bs-modal-open .bs-topbar,
body.bs-modal-open .bs-bottom-nav {
  pointer-events: none;
}

/* Social air v14: Telegram-like chats and lighter search results. */
.dm-page {
  display: grid;
  gap: 10px;
}

.dm-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.dm-page-head .bs-page-title {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
}

.dm-page-subtitle {
  margin: 4px 0 0;
  color: rgba(43, 54, 70, 0.5);
  font-size: 14px;
}

.dm-refresh-btn {
  flex: 0 0 auto;
}

.dm-start-search {
  display: grid;
  gap: 8px;
}

.dm-start-search .bs-input-wrap,
body[data-page="search"] .bs-page-filterbar {
  min-height: 44px;
  border-radius: 999px;
  border-color: rgba(40, 55, 76, 0.055);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.dm-telegram-shell {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(42, 59, 82, 0.06) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow: 0 18px 52px rgba(31, 45, 68, 0.07) !important;
}

.dm-layout {
  min-height: min(74svh, 760px);
  grid-template-columns: minmax(255px, 330px) minmax(0, 1fr) !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
}

.dm-sidebar {
  padding: 0 !important;
  border-right: 1px solid rgba(42, 59, 82, 0.055) !important;
  background: rgba(255, 255, 255, 0.32);
}

.dm-main {
  padding: 0 !important;
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.72), rgba(239, 248, 253, 0.8)),
    repeating-linear-gradient(135deg, rgba(31, 111, 183, 0.018) 0 1px, transparent 1px 18px);
}

.dm-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(42, 59, 82, 0.055);
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(18px) saturate(145%);
}

.dm-toolbar-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.dm-search-input {
  min-height: 40px !important;
  border-radius: 999px !important;
  border-color: rgba(42, 59, 82, 0.06) !important;
  background: rgba(244, 248, 253, 0.82) !important;
  color: rgba(35, 47, 64, 0.88) !important;
  font-size: 14px;
}

.dm-archive-toggle,
.dm-unread-chip {
  min-height: 40px;
  border-radius: 999px;
}

.dm-unread-chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: rgba(43, 54, 70, 0.52);
  font-size: 12px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.52);
}

.dm-unread-chip.has-unread,
.dm-unread-badge {
  color: #ffffff;
  background: #1f6fb7;
}

.dm-threads-list {
  max-height: min(66svh, 690px);
  margin: 0 !important;
  padding: 6px;
  overflow: auto;
}

.dm-thread-card,
.dm-user-result {
  min-height: 62px !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: rgba(38, 50, 68, 0.78) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
}

.dm-thread-card + .dm-thread-card,
.dm-user-result + .dm-user-result {
  margin-top: 1px !important;
}

.dm-thread-card:hover,
.dm-thread-card.is-active,
.dm-user-result:hover {
  color: rgba(28, 42, 60, 0.95) !important;
  background: rgba(31, 111, 183, 0.08) !important;
}

.dm-thread-avatar,
.dm-user-result-avatar,
.dm-head-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(31, 111, 183, 0.08);
  object-fit: cover;
  background: #eaf2fb;
}

.dm-head-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.dm-thread-top {
  gap: 8px;
}

.dm-thread-name,
.dm-head-title,
.dm-user-result-title,
.search-row-title {
  color: rgba(26, 38, 55, 0.92) !important;
  font-size: 15px;
  font-weight: 680 !important;
  letter-spacing: 0;
}

.dm-thread-time,
.dm-thread-preview,
.dm-thread-meta,
.dm-user-result-sub {
  color: rgba(43, 54, 70, 0.48) !important;
}

.dm-thread-preview {
  margin-top: 3px !important;
  font-size: 13px;
  white-space: nowrap;
}

.dm-thread-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}

.dm-thread-flags {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.dm-thread-state,
.dm-thread-mark {
  overflow: hidden;
  color: rgba(43, 54, 70, 0.48);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dm-thread-state.is-online,
.dm-thread-state.is-typing {
  color: #1f8a70;
}

.dm-thread-state.is-online::before,
.dm-thread-state.is-typing::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #20c997;
  vertical-align: 1px;
}

.dm-unread-badge {
  min-width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 720;
}

.dm-conversation-card[style*="block"] {
  min-height: min(74svh, 760px);
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dm-head {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 62px;
  gap: 10px;
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(42, 59, 82, 0.055);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(145%);
}

.dm-head-main {
  min-width: 0;
}

.dm-head-actions {
  flex: 0 1 auto;
  overflow-x: auto;
  flex-wrap: nowrap !important;
  scrollbar-width: none;
}

.dm-head-actions::-webkit-scrollbar {
  display: none;
}

.dm-head-actions .bs-btn,
.dm-pill {
  min-height: 32px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: rgba(43, 54, 70, 0.58) !important;
  font-size: 12px !important;
  background: rgba(255, 255, 255, 0.54) !important;
}

.dm-back-btn {
  display: none;
  width: 38px;
  height: 38px;
  font-size: 30px;
  line-height: 1;
}

.dm-status-bar {
  padding: 8px 10px !important;
}

.dm-status-note {
  padding: 8px 11px;
  border: 1px solid rgba(31, 111, 183, 0.08);
  border-radius: 14px;
  color: rgba(40, 52, 70, 0.68);
  font-size: 12px;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.5);
}

.dm-status-note.is-warn {
  border-color: rgba(214, 148, 35, 0.16);
  color: rgba(130, 82, 13, 0.86);
  background: rgba(255, 248, 224, 0.72);
}

.dm-status-note.is-danger {
  border-color: rgba(220, 72, 92, 0.16);
  color: rgba(156, 38, 56, 0.86);
  background: rgba(255, 237, 241, 0.72);
}

.dm-messages-list {
  min-height: 420px !important;
  max-height: none !important;
  height: min(62svh, 640px);
  padding: 12px 10px 14px !important;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.dm-message-row {
  padding: 3px 0 !important;
  border: 0 !important;
}

.dm-message-bubble {
  max-width: min(78%, 520px) !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 18px 18px 18px 6px !important;
  color: rgba(24, 35, 50, 0.9) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 5px 18px rgba(31, 45, 68, 0.07);
}

.dm-message-row.me .dm-message-bubble {
  border-radius: 18px 18px 6px 18px !important;
  color: rgba(13, 56, 42, 0.96) !important;
  background: #dcf8e9 !important;
}

.dm-message-text,
.dm-rich-card-note {
  font-size: 14px;
  line-height: 1.38;
}

.dm-message-meta {
  margin-top: 4px !important;
  color: rgba(43, 54, 70, 0.42) !important;
  font-size: 10.5px !important;
  line-height: 1.2;
  text-align: right;
}

.dm-message-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px !important;
  margin-top: 6px !important;
  opacity: 0.86;
}

.dm-message-action-btn,
.dm-message-reactions .btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: rgba(31, 111, 183, 0.84) !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1 !important;
  background: rgba(31, 111, 183, 0.075) !important;
  box-shadow: none !important;
}

.dm-message-action-btn:hover,
.dm-message-action-btn:focus-visible {
  color: #ffffff !important;
  background: #1f6fb7 !important;
}

.dm-message-action-btn.is-danger {
  color: rgba(192, 61, 78, 0.82) !important;
  background: rgba(192, 61, 78, 0.075) !important;
}

.dm-message-action-btn.is-danger:hover,
.dm-message-action-btn.is-danger:focus-visible {
  color: #ffffff !important;
  background: #c03d4e !important;
}

.dm-message-reactions .btn {
  width: auto;
  min-width: 28px;
  padding: 0 8px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
}

.dm-composer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 7px !important;
  align-items: end;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(42, 59, 82, 0.055);
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) saturate(145%);
}

.dm-reply-box {
  grid-column: 1 / -1;
  border-radius: 14px !important;
  background: rgba(31, 111, 183, 0.055) !important;
}

.dm-compose-tools {
  display: flex;
  gap: 6px !important;
  align-self: end;
}

.dm-compose-tools .bs-btn {
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  color: rgba(31, 111, 183, 0.86);
  font-size: 12px;
  background: rgba(31, 111, 183, 0.07);
}

.dm-composer textarea {
  min-height: 42px !important;
  max-height: 128px;
  padding: 11px 14px !important;
  border-radius: 21px !important;
  border-color: rgba(42, 59, 82, 0.06) !important;
  color: rgba(24, 35, 50, 0.9) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  resize: none !important;
}

#dmSendBtn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

.empty-placeholder {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: rgba(43, 54, 70, 0.48);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

body[data-page="search"] .bs-shell {
  max-width: 720px;
}

body[data-page="search"] .bs-section {
  margin-top: 10px;
}

.search-results-list {
  display: grid;
  gap: 2px;
  overflow: hidden;
  border: 1px solid rgba(42, 59, 82, 0.055);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(18px) saturate(145%);
}

.search-topic-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 2px 10px;
  scrollbar-width: none;
}

.search-topic-row::-webkit-scrollbar {
  display: none;
}

.search-topic-row button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(42, 59, 82, 0.055);
  border-radius: 999px;
  color: rgba(31, 111, 183, 0.76);
  background: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(14px) saturate(145%);
}

.search-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  color: rgba(36, 48, 66, 0.82);
  border-bottom: 1px solid rgba(42, 59, 82, 0.045);
  background: transparent;
}

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

.search-row:hover {
  color: rgba(25, 42, 64, 0.94);
  background: rgba(31, 111, 183, 0.055);
}

.search-row-avatar,
.search-row-media {
  width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #eef5fb;
}

.search-row-avatar {
  border-radius: 50% !important;
}

.search-row-media img,
.search-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-row-main {
  min-width: 0;
}

.search-row-title {
  overflow: hidden;
  color: rgba(28, 39, 56, 0.9);
  font-size: 15px;
  font-weight: 830;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-row-sub {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(43, 54, 70, 0.5);
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-row-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.search-row-stats span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgba(43, 54, 70, 0.48);
  font-size: 11px;
  font-weight: 760;
}

.search-row-stats svg {
  width: 13px;
  height: 13px;
}

.search-row-action {
  max-width: 92px;
  overflow: hidden;
  padding: 7px 10px;
  border-radius: 999px;
  color: #1f6fb7;
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(31, 111, 183, 0.075);
}

.search-shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 8px;
}

.shorts-load-error {
  align-items: stretch;
  gap: 14px;
  padding: 18px;
  text-align: left;
  border: 1px solid rgba(42, 59, 82, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 52px rgba(31, 45, 68, 0.07);
  backdrop-filter: blur(20px) saturate(155%);
}

.shorts-load-error b {
  display: block;
  margin-bottom: 5px;
  color: rgba(26, 38, 55, 0.86);
  font-size: 16px;
  font-weight: 760;
}

.shorts-load-error span,
.short-upload-status {
  color: rgba(43, 54, 70, 0.56);
  font-size: 13px;
  line-height: 1.35;
}

.shorts-load-error .bs-action-row {
  margin-top: 2px;
}

.short-upload-status {
  padding: 10px 12px;
  border: 1px solid rgba(42, 59, 82, 0.055);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
}

.bs-short-upload .bs-btn[disabled] {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 780px) {
  body.dm-chat-open {
    overflow: hidden;
  }
  body.dm-chat-open .bs-topbar,
  body.dm-chat-open .bs-bottom-nav {
    display: none !important;
  }
  body.dm-chat-open .bs-shell {
    max-width: 100%;
    height: 100svh;
    padding: 0 !important;
    overflow: hidden;
  }
  body.dm-chat-open .dm-page {
    height: 100svh;
    gap: 0;
  }
  body.dm-chat-open .dm-page-head,
  body.dm-chat-open .dm-start-search {
    display: none;
  }
  .dm-page {
    gap: 8px;
  }
  .dm-telegram-shell {
    margin: 0 -7px;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
  }
  body.dm-chat-open .dm-telegram-shell {
    height: 100svh;
    margin: 0;
  }
  .dm-layout {
    min-height: calc(100svh - 158px);
    display: block !important;
  }
  body.dm-chat-open .dm-layout {
    height: 100svh;
    min-height: 100svh;
  }
  .dm-sidebar,
  .dm-main {
    min-height: calc(100svh - 158px) !important;
    border: 0 !important;
  }
  body.dm-chat-open .dm-main {
    height: 100svh;
    min-height: 100svh !important;
    overflow: hidden;
  }
  body:not(.dm-chat-open) .dm-main {
    display: none;
  }
  body.dm-chat-open .dm-sidebar {
    display: none;
  }
  body.dm-chat-open .dm-main {
    display: block;
  }
  .dm-back-btn {
    display: inline-grid;
    place-items: center;
  }
  .dm-conversation-card[style*="block"] {
    min-height: calc(100svh - 158px);
  }
  body.dm-chat-open .dm-conversation-card[style*="block"] {
    height: 100svh;
    min-height: 100svh;
  }
  .dm-messages-list {
    height: calc(100svh - 314px);
    min-height: 260px !important;
  }
  body.dm-chat-open .dm-messages-list {
    height: auto;
    min-height: 0 !important;
    padding-bottom: 12px !important;
  }
  body.dm-chat-open .dm-composer {
    bottom: 0;
    box-shadow: 0 -12px 32px rgba(31, 45, 68, 0.08);
  }
  body.dm-chat-open .dm-message-actions {
    opacity: 1;
  }
  .dm-head-actions {
    max-width: 42vw;
  }
  .dm-message-bubble {
    max-width: 86% !important;
  }
  .dm-compose-tools .bs-btn {
    width: 38px;
    padding: 0 !important;
    font-size: 0;
  }
  #dmPhotoBtn::before {
    content: "+";
    font-size: 22px;
  }
  #dmVoiceBtn::before {
    content: "♪";
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .dm-page-head .bs-page-title {
    font-size: 25px;
  }
  .dm-start-search .bs-input-wrap {
    min-height: 42px;
  }
  .dm-thread-card,
  .dm-user-result,
  .search-row {
    min-height: 62px;
    padding: 8px 9px !important;
  }
  .search-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }
  .search-row-avatar,
  .search-row-media {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }
  .search-row-action {
    max-width: 72px;
    padding: 6px 8px;
  }
}

/* Social air v15: VK-style clips, immersive video HUD. */
body[data-page="shorts"] .bs-kicker-row {
  align-items: center;
  margin-bottom: 2px;
  padding: 0 2px;
}

body[data-page="shorts"] .bs-page-title {
  margin: 0 !important;
  font-size: 25px;
  font-weight: 720;
}

body[data-page="shorts"] .bs-page-lead {
  display: none;
}

body[data-page="shorts"] #shortsContent {
  margin-top: 8px;
}

body[data-page="shorts"] .bs-one-grid {
  grid-template-columns: minmax(0, min(100%, 440px));
  gap: 14px;
}

.bs-clip-card.bs-short-card {
  position: relative;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.bs-clip-card .bs-short-media {
  position: relative;
  width: 100%;
  height: min(75svh, 760px);
  min-height: 520px;
  max-height: calc(100svh - 184px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: #05070a;
  box-shadow: 0 28px 74px rgba(13, 24, 38, 0.18);
  isolation: isolate;
}

.bs-clip-card .bs-short-media video,
.bs-clip-card .bs-short-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #05070a;
}

.bs-short-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0.32) 100%);
  transition: opacity 0.18s ease;
}

.bs-short-hud-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 15, 24, 0.34);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px) saturate(150%);
  font-size: 18px;
  line-height: 1;
}

.bs-short-center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(7, 12, 19, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px) saturate(150%);
  font-size: 27px;
  padding-left: 4px;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.bs-clip-card.is-playing .bs-short-center-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  pointer-events: none;
}

.bs-clip-card .bs-short-overlay {
  position: absolute;
  left: 0;
  right: 72px;
  bottom: 46px;
  z-index: 4;
  display: grid;
  gap: 9px;
  padding: 0 18px 18px;
  background: transparent;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bs-clip-card .bs-short-author {
  width: min(100%, 280px);
  color: #fff;
  gap: 8px;
}

.bs-clip-card .bs-short-avatar {
  width: 32px;
  height: 32px;
  min-height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  line-height: 1;
}

.bs-clip-card .bs-short-avatar.bs-media-placeholder {
  min-height: 32px;
}

.bs-clip-card .bs-short-name {
  color: #fff;
  font-size: 15px;
  font-weight: 760;
}

.bs-clip-card .bs-short-date {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.bs-clip-card .bs-short-view-chip {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  font-size: 12px;
  font-weight: 720;
}

.bs-clip-card .bs-short-view-chip svg {
  width: 15px;
  height: 15px;
}

.bs-clip-card .bs-short-caption {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.36;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.bs-clip-card .bs-short-topic-row {
  gap: 6px;
}

.bs-clip-card .bs-short-topic-row .bs-chip {
  min-height: 28px;
  padding: 0 10px;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 12px;
}

.bs-clip-card .bs-short-actions {
  position: absolute;
  right: 10px;
  bottom: 90px;
  z-index: 8;
  display: grid;
  gap: 9px;
  padding: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bs-clip-card .bs-short-action {
  width: 50px;
  min-height: 50px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 5px 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #fff;
  background: rgba(8, 13, 21, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px) saturate(150%);
  font-size: 12px;
  font-weight: 740;
}

.bs-clip-card .bs-short-action:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.bs-clip-card .bs-short-action.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(184, 61, 120, 0.9), rgba(7, 112, 94, 0.86));
}

.bs-short-action-icon {
  display: grid;
  place-items: center;
  font-size: 21px;
  line-height: 1;
}

.bs-short-action-icon svg {
  width: 22px;
  height: 22px;
}

.bs-short-action-count {
  display: block;
  min-height: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1;
}

.bs-short-action-count:empty {
  display: none;
}

.bs-short-action-danger {
  background: rgba(160, 30, 55, 0.36) !important;
}

.bs-short-playerbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 6;
  display: grid;
  grid-template-columns: 34px max-content minmax(42px, 1fr) 34px 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 12, 19, 0.26);
  backdrop-filter: blur(18px) saturate(150%);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bs-short-control {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 15px;
  line-height: 1;
}

.bs-short-control:hover {
  background: rgba(255, 255, 255, 0.14);
}

.bs-short-time {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.bs-short-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.bs-short-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
}

.bs-clip-card.hud-hidden .bs-short-scrim,
.bs-clip-card.hud-hidden .bs-short-overlay,
.bs-clip-card.hud-hidden .bs-short-actions,
.bs-clip-card.hud-hidden .bs-short-playerbar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.bs-clip-card.hud-hidden .bs-short-hud-toggle {
  opacity: 0.72;
}

.bs-short-mini-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(138px, 36vw);
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  padding: 1px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bs-short-mini-grid::-webkit-scrollbar {
  display: none;
}

.bs-short-mini-card {
  position: relative;
  min-height: 226px;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(42, 59, 82, 0.06);
  border-radius: 24px;
  background: #07111a;
  box-shadow: 0 14px 38px rgba(31, 45, 68, 0.09);
  scroll-snap-align: start;
}

.bs-short-mini-thumb {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: inherit;
  background: #07111a;
}

.bs-short-mini-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.78) 100%);
}

.bs-short-mini-play {
  top: 10px;
  right: 10px;
  bottom: auto;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.bs-short-mini-body {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #fff;
}

.bs-short-mini-title {
  color: #fff;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 760;
  -webkit-line-clamp: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.bs-short-mini-author,
.bs-short-mini-stats {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
}

.bs-short-mini-stats {
  gap: 6px;
}

button:not(:disabled),
[data-short-save],
[data-short-repost],
[data-short-delete],
[data-short-hud-toggle],
[data-short-toggle-play],
[data-short-mute],
[data-short-fullscreen] {
  touch-action: manipulation;
}

@media (max-width: 780px) {
  body[data-page="shorts"] .bs-shell {
    padding-top: 6px;
  }
  body[data-page="shorts"] .bs-short-mode {
    margin-bottom: 8px;
  }
  .bs-clip-card .bs-short-media {
    height: min(72svh, 680px);
    min-height: 488px;
    max-height: calc(100svh - 206px);
    border-radius: 28px;
  }
  .bs-clip-card .bs-short-overlay {
    right: 66px;
    padding: 0 15px 16px;
  }
  .bs-clip-card .bs-short-actions {
    right: 8px;
    bottom: 86px;
    gap: 8px;
  }
  .bs-clip-card .bs-short-action {
    width: 47px;
    min-height: 47px;
    border-radius: 17px;
  }
}

@media (max-width: 430px) {
  body[data-page="shorts"] .bs-page-title {
    font-size: 23px;
  }
  body[data-page="shorts"] .bs-kicker-row .bs-btn {
    min-height: 34px;
    padding: 0 12px;
  }
  .bs-clip-card .bs-short-media {
    height: min(70svh, 626px);
    min-height: 432px;
    max-height: calc(100svh - 216px);
    border-radius: 26px;
  }
  .bs-clip-card .bs-short-overlay {
    right: 58px;
    bottom: 45px;
  }
  .bs-clip-card .bs-short-actions {
    right: 7px;
    bottom: 82px;
  }
  .bs-clip-card .bs-short-action {
    width: 43px;
    min-height: 43px;
    border-radius: 16px;
  }
  .bs-short-action-icon {
    font-size: 19px;
  }
  .bs-short-action-count {
    font-size: 10px;
  }
  .bs-short-playerbar {
    grid-template-columns: 31px max-content minmax(32px, 1fr) 31px 31px;
    gap: 4px;
    padding: 5px 6px;
  }
  .bs-short-control {
    width: 31px;
    height: 31px;
  }
  .bs-short-time {
    max-width: 62px;
    overflow: hidden;
    font-size: 11px;
  }
  .bs-short-mini-grid {
    grid-auto-columns: minmax(128px, 42vw);
  }
  .bs-short-mini-card {
    min-height: 214px;
  }
}

/* Social air v23: wall repost stats, fixed comment thread bounds and post actions. */
.post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.post-actions button,
.post-actions .post-view-count {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(42, 59, 82, 0.065);
  border-radius: 999px;
  color: rgba(43, 54, 70, 0.64);
  background: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px) saturate(145%);
}

.post-actions button svg,
.post-actions .post-view-count svg {
  width: 18px;
  height: 18px;
}

.post-actions button:hover {
  color: #1f6fb7;
  background: rgba(31, 111, 183, 0.08);
}

.post-actions button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(184, 61, 120, 0.9), rgba(7, 112, 94, 0.86));
  box-shadow: 0 10px 24px rgba(31, 45, 68, 0.12);
}

.post-repost-note,
.repost-preview {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  padding: 9px 10px;
  border: 1px solid rgba(42, 59, 82, 0.055);
  border-radius: 18px;
  color: rgba(43, 54, 70, 0.62);
  background: rgba(255, 255, 255, 0.46);
}

.post-repost-note > span,
.repost-preview-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #1f6fb7;
  background: rgba(31, 111, 183, 0.08);
}

.post-repost-note svg,
.repost-preview-mark svg {
  width: 19px;
  height: 19px;
}

.post-repost-note b,
.repost-preview b {
  display: block;
  overflow: hidden;
  color: rgba(26, 38, 55, 0.78);
  font-size: 13px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-repost-note small {
  display: block;
  margin-top: 1px;
  color: rgba(43, 54, 70, 0.5);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.post-repost-comment {
  margin: 2px 2px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 111, 183, 0.055);
  border-radius: 18px;
  color: rgba(20, 28, 40, 0.9);
  background: rgba(31, 111, 183, 0.075);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.36;
}

.post-repost-note p,
.repost-preview span {
  display: -webkit-box;
  margin: 2px 0 0;
  overflow: hidden;
  color: rgba(43, 54, 70, 0.56);
  font-size: 13px;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-short-repost-card {
  display: grid;
  gap: 8px;
}

.post-short-repost-card .bs-short-mini-card {
  min-height: 310px;
}

.post-repost-actions {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(42, 59, 82, 0.055);
}

.bs-short-mini-card .bs-short-mini-body {
  top: auto;
  align-content: end;
}

.bs-short-mini-card .bs-short-mini-stats {
  width: max-content;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(14, 20, 30, 0.34);
  backdrop-filter: blur(12px) saturate(140%);
  font-weight: 780;
  line-height: 1;
}

.bs-short-mini-card .bs-short-mini-stats span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.bs-short-mini-card .bs-short-mini-stats svg {
  width: 12px;
  height: 12px;
}

.bs-comment-main {
  min-width: 0;
}

.bs-thread-comment {
  border-bottom-color: rgba(42, 59, 82, 0.055);
}

.bs-thread-comment.is-reply {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0 8px 8px;
  border-bottom: 0;
  border-left: 2px solid rgba(31, 111, 183, 0.1);
}

.bs-thread-comment.is-reply .bs-feed-avatar {
  width: 34px;
  height: 34px;
  min-height: 34px;
  font-size: 12px;
}

.bs-comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
}

.bs-comment-actions button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid rgba(42, 59, 82, 0.055);
  border-radius: 999px;
  color: rgba(43, 54, 70, 0.56);
  background: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 760;
}

.bs-comment-actions button svg {
  width: 14px;
  height: 14px;
}

.bs-comment-actions button:hover,
.bs-comment-actions button.active {
  color: #1f6fb7;
  background: rgba(31, 111, 183, 0.08);
}

.bs-comment-actions button.danger {
  color: rgba(196, 42, 72, 0.72);
}

.bs-comment-replies {
  display: grid;
  gap: 2px;
  margin-top: 8px;
}

.bs-thread-form {
  position: sticky;
  bottom: 0;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.9) 20%, rgba(255,255,255,0.98));
}

.bs-reply-context {
  grid-column: 1 / -1;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(31, 111, 183, 0.86);
  background: rgba(31, 111, 183, 0.08);
  font-size: 12px;
  font-weight: 760;
}

.bs-reply-context[hidden] {
  display: none;
}

.bs-reply-context button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  line-height: 1;
}

/* Social air v22: softer VK-like comment threads. */
.post-comment-list {
  display: grid;
  gap: 4px;
  max-height: min(58vh, 560px);
  overflow: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

.bs-thread-comment {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 8px 2px;
  border-bottom: 0;
}

.bs-thread-comment .bs-feed-avatar {
  width: 36px;
  height: 36px;
  min-height: 36px;
  font-size: 12px;
}

.bs-thread-comment .bs-comment-main {
  padding: 8px 10px;
  border: 1px solid rgba(42, 59, 82, 0.045);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.68);
}

.bs-thread-comment .bs-feed-name {
  color: rgba(29, 40, 58, 0.82);
  font-size: 13px;
  font-weight: 820;
}

.bs-thread-comment .bs-comment-body {
  margin-top: 3px;
  color: rgba(27, 36, 52, 0.84);
  font-size: 14px;
  line-height: 1.36;
}

.bs-thread-comment.is-reply {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  margin-left: 0;
  padding: 5px 0 0;
  border-left: 0;
}

.bs-thread-comment.is-reply .bs-feed-avatar {
  width: 28px;
  height: 28px;
  min-height: 28px;
  font-size: 11px;
}

.bs-thread-comment.is-reply .bs-comment-main {
  padding: 7px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.bs-comment-replies .bs-comment-replies {
  margin-left: 0;
  padding-left: 0;
}

.bs-reply-to {
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  color: rgba(31, 111, 183, 0.68);
  background: rgba(31, 111, 183, 0.075);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bs-comment-actions {
  gap: 12px;
  margin-top: 6px;
}

.bs-comment-actions button {
  min-height: 22px;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(63, 78, 99, 0.58);
  background: transparent;
  font-size: 12px;
  font-weight: 760;
}

.bs-comment-actions button:hover,
.bs-comment-actions button.active {
  color: #1f6fb7;
  background: transparent;
}

.bs-comment-actions button svg {
  width: 13px;
  height: 13px;
}

.bs-comment-replies {
  gap: 3px;
  margin-top: 6px;
}

.bs-thread-form {
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 7px;
  margin-top: 8px;
  padding: 10px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.96) 34%, rgba(255,255,255,0.98));
}

.bs-thread-form input[name="body"] {
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.92);
}

.bs-thread-form .bs-btn {
  width: 44px;
  min-width: 44px;
  padding: 0;
  overflow: hidden;
  font-size: 0;
}

.bs-thread-form .bs-btn::before {
  content: "›";
  font-size: 25px;
  line-height: 1;
}

button:not(:disabled),
[data-post-like],
[data-post-comments],
[data-post-repost],
[data-post-save],
[data-post-share] {
  touch-action: manipulation;
}

/* Social air v24: creator-first product layer with artist/music-inspired surfaces. */
body.bs-gold-app {
  --bs-artist-ink: #182234;
  --bs-artist-muted: rgba(48, 62, 82, 0.62);
  --bs-artist-line: rgba(48, 62, 82, 0.075);
  --bs-artist-accent: #0f8d7b;
  --bs-artist-pink: #a63869;
}

.bs-home-artist-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bs-home-artist-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 0%, rgba(195, 68, 113, 0.22), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(0, 174, 148, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 255, 0.66));
}

.bs-home-pulse-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.bs-home-pulse-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: rgba(28, 39, 56, 0.72);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  font-size: 12px;
  font-weight: 760;
}

.bs-home-pulse-row svg {
  width: 14px;
  height: 14px;
}

.bs-home-hero-artist {
  position: relative;
  min-height: 104px;
  display: grid;
  align-items: end;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(166, 56, 105, 0.2), rgba(15, 141, 123, 0.18));
  overflow: hidden;
}

.bs-home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.08);
}

.bs-home-artist-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 10px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 30px rgba(31, 52, 74, 0.1);
  backdrop-filter: blur(20px) saturate(160%);
}

.bs-home-artist-avatar,
.bs-creator-live-avatar,
.bs-support-avatar {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
  font-weight: 840;
}

.bs-home-artist-avatar img,
.bs-creator-live-avatar img,
.bs-support-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-home-artist-card small,
.bs-home-artist-card span {
  display: block;
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 720;
}

.bs-home-artist-card strong {
  display: block;
  overflow: hidden;
  color: var(--bs-artist-ink);
  font-size: 17px;
  font-weight: 860;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-creator-live-row {
  display: grid;
  gap: 8px;
}

.bs-creator-live-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(48, 62, 82, 0.065);
  border-radius: 24px;
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 26px rgba(30, 48, 68, 0.055);
  backdrop-filter: blur(18px) saturate(150%);
}

.bs-creator-live-card:hover {
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.bs-creator-live-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bs-creator-live-copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 840;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-creator-live-copy span,
.bs-creator-live-card small {
  overflow: hidden;
  color: rgba(48, 62, 82, 0.56);
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-drop-row {
  gap: 10px;
}

.bs-drop-mini {
  border-color: rgba(48, 62, 82, 0.065);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 30px rgba(30, 48, 68, 0.055);
}

.bs-drop-mini:hover {
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.72);
}

.bs-drop-mini .bs-card-title {
  color: var(--bs-artist-ink);
  font-size: 16px;
  font-weight: 840;
}

.bs-drop-mini .bs-card-text {
  color: rgba(48, 62, 82, 0.58);
  font-size: 13px;
  font-weight: 720;
}

.bs-release-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.bs-release-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(48, 62, 82, 0.058);
  border-radius: 24px;
  color: var(--bs-artist-ink);
  background:
    radial-gradient(circle at 0 0, rgba(166, 56, 105, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.54);
  box-shadow: 0 12px 28px rgba(30, 48, 68, 0.045);
  text-decoration: none;
  backdrop-filter: blur(16px) saturate(145%);
}

.bs-release-card.is-live {
  background:
    radial-gradient(circle at 0 0, rgba(15, 141, 123, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.58);
}

.bs-release-card.is-coming {
  background:
    radial-gradient(circle at 0 0, rgba(31, 111, 183, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.54);
}

.bs-release-cover {
  position: relative;
  min-height: 92px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
  text-decoration: none;
}

.bs-release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-release-cover svg {
  width: 26px;
  height: 26px;
}

.bs-release-cover span {
  position: absolute;
  left: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  overflow: hidden;
  padding: 4px 7px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(21, 29, 42, 0.42);
  font-size: 10px;
  font-weight: 840;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.bs-release-body {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  padding-right: 2px;
}

.bs-release-body strong,
.bs-release-body p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.bs-release-body strong {
  color: rgba(43, 54, 70, 0.9);
  font-size: 16px;
  font-weight: 880;
  line-height: 1.12;
  white-space: nowrap;
}

.bs-release-body p {
  display: -webkit-box;
  margin: 0;
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 690;
  line-height: 1.28;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bs-release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.bs-release-meta span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 7px;
  border-radius: 999px;
  color: rgba(48, 62, 82, 0.62);
  background: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-studio-release-card {
  grid-template-columns: 74px minmax(0, 1fr);
}

.bs-studio-release-card .bs-release-cover {
  min-height: 76px;
  border-radius: 17px;
}

.bs-studio-release-card .bs-release-body > button {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(217, 77, 103, 0.78);
  background: rgba(255, 255, 255, 0.48);
}

.bs-studio-release-card .bs-release-body > button svg {
  width: 13px;
  height: 13px;
}

.bs-artist-profile-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(48, 62, 82, 0.07);
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 48px rgba(31, 52, 74, 0.08);
  backdrop-filter: blur(24px) saturate(160%);
}

.bs-artist-cover {
  position: relative;
  min-height: 136px;
  margin: -14px -14px 0;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.82)),
    radial-gradient(circle at 18% 18%, rgba(166, 56, 105, 0.26), transparent 36%),
    linear-gradient(135deg, rgba(166, 56, 105, 0.2), rgba(15, 141, 123, 0.18));
  overflow: hidden;
}

.bs-artist-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.1);
}

.bs-artist-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.88));
}

.bs-artist-line {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: end;
  margin-top: -60px;
}

.bs-artist-avatar {
  width: 92px;
  height: 92px;
  min-height: 92px;
  border: 4px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(30, 48, 68, 0.16);
}

.bs-artist-copy {
  min-width: 0;
  padding-bottom: 4px;
}

.bs-artist-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: rgba(15, 141, 123, 0.86);
  font-size: 12px;
  font-weight: 820;
}

.bs-artist-kicker svg {
  width: 14px;
  height: 14px;
}

.bs-artist-profile-card .profile-name {
  color: var(--bs-artist-ink);
  font-size: 30px;
  line-height: 1;
}

.bs-artist-profile-card .profile-handle,
.bs-artist-profile-card .profile-bio {
  color: rgba(48, 62, 82, 0.62);
}

.bs-artist-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.bs-artist-stats .profile-stat {
  border-color: rgba(48, 62, 82, 0.055);
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.48);
}

.bs-artist-support-panel,
.bs-creator-studio-card {
  border: 1px solid rgba(48, 62, 82, 0.065);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(166, 56, 105, 0.13), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(15, 141, 123, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.54);
}

.bs-artist-support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.bs-artist-support-panel span,
.bs-artist-support-panel small {
  display: block;
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 740;
}

.bs-artist-support-panel strong {
  display: block;
  margin-top: 2px;
  color: var(--bs-artist-ink);
  font-size: 17px;
  font-weight: 860;
}

.bs-artist-actions {
  gap: 7px;
}

.bs-artist-actions .bs-btn {
  min-height: 42px;
  border-color: rgba(48, 62, 82, 0.07);
  color: rgba(48, 62, 82, 0.78);
  background: rgba(255, 255, 255, 0.54);
}

.bs-artist-actions .bs-btn:hover {
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.74);
}

.bs-artist-actions .bs-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #a63869, #0f8d7b);
  box-shadow: 0 16px 34px rgba(15, 141, 123, 0.16);
}

.bs-artist-actions .bs-btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #b44377, #119b88);
}

.bs-support-modal {
  color: var(--bs-artist-ink);
}

.bs-support-hero,
.bs-subscribe-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(48, 62, 82, 0.065);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.76);
}

.bs-support-avatar {
  width: 56px;
  height: 56px;
  min-height: 56px;
}

.bs-support-hero strong,
.bs-subscribe-card strong {
  display: block;
  overflow: hidden;
  color: var(--bs-artist-ink);
  font-size: 18px;
  font-weight: 860;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-support-hero span,
.bs-subscribe-card span,
.bs-subscribe-card small {
  display: block;
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 740;
}

.bs-support-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.bs-support-presets input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bs-support-presets span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48, 62, 82, 0.075);
  border-radius: 999px;
  color: rgba(48, 62, 82, 0.72);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 830;
}

.bs-support-presets input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #a63869, #0f8d7b);
}

.bs-support-visibility {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.bs-support-visibility input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bs-support-visibility span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48, 62, 82, 0.07);
  border-radius: 999px;
  color: rgba(48, 62, 82, 0.68);
  background: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 800;
}

.bs-support-visibility input:checked + span {
  color: #0f7669;
  border-color: rgba(15, 141, 123, 0.16);
  background: rgba(15, 141, 123, 0.1);
}

.bs-audience-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.bs-audience-segments input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bs-audience-segments span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48, 62, 82, 0.07);
  border-radius: 999px;
  color: rgba(48, 62, 82, 0.68);
  background: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 800;
}

.bs-audience-segments input:checked + span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #a63869, #0f8d7b);
}

.bs-audience-hint {
  display: block;
  color: rgba(48, 62, 82, 0.55);
  font-size: 12px;
  font-weight: 710;
  line-height: 1.32;
}

.bs-support-section {
  color: var(--bs-artist-ink);
}

.bs-support-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

.bs-support-summary div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(166, 56, 105, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 24px rgba(30, 48, 68, 0.045);
}

.bs-support-summary strong,
.bs-support-summary span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-support-summary strong {
  color: var(--bs-artist-ink);
  font-size: 18px;
  font-weight: 880;
}

.bs-support-summary span {
  margin-top: 2px;
  color: rgba(48, 62, 82, 0.58);
  font-size: 11px;
  font-weight: 730;
}

.bs-supporter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 0 4px;
  scrollbar-width: none;
}

.bs-supporter-row::-webkit-scrollbar {
  display: none;
}

.bs-supporter-chip {
  min-width: 150px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(30, 48, 68, 0.04);
}

.bs-supporter-avatar {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
  font-size: 13px;
  font-weight: 840;
}

.bs-supporter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-supporter-chip strong,
.bs-supporter-chip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-supporter-chip strong {
  color: var(--bs-artist-ink);
  font-size: 13px;
  font-weight: 840;
}

.bs-supporter-chip span {
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 730;
}

.bs-support-empty {
  width: 100%;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(48, 62, 82, 0.12);
  border-radius: 22px;
  color: rgba(48, 62, 82, 0.52);
  background: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 740;
}

.bs-support-messages {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.bs-support-message {
  padding: 10px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(30, 48, 68, 0.04);
}

.bs-support-message-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.bs-support-message-head strong,
.bs-support-message-head span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-support-message-head strong {
  color: var(--bs-artist-ink);
  font-size: 13px;
  font-weight: 840;
}

.bs-support-message-head span {
  color: rgba(48, 62, 82, 0.56);
  font-size: 12px;
  font-weight: 720;
}

.bs-support-message p {
  margin: 8px 0 0 46px;
  color: rgba(28, 39, 56, 0.78);
  font-size: 14px;
  line-height: 1.34;
}

.bs-club-section {
  color: var(--bs-artist-ink);
}

.bs-club-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(48, 62, 82, 0.06);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(166, 56, 105, 0.14), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(15, 141, 123, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 36px rgba(30, 48, 68, 0.055);
  backdrop-filter: blur(18px) saturate(150%);
}

.bs-club-card.is-muted {
  opacity: 0.84;
}

.bs-club-main {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.bs-club-main > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
  box-shadow: 0 12px 26px rgba(15, 141, 123, 0.14);
}

.bs-club-main svg {
  width: 21px;
  height: 21px;
}

.bs-club-main strong,
.bs-club-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-club-main strong {
  color: var(--bs-artist-ink);
  font-size: 18px;
  font-weight: 880;
}

.bs-club-main small {
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 740;
}

.bs-club-metrics,
.bs-studio-club-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.bs-club-metrics div,
.bs-studio-club-mini div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.bs-club-metrics b,
.bs-club-metrics span,
.bs-studio-club-mini strong,
.bs-studio-club-mini span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-club-metrics b,
.bs-studio-club-mini strong {
  color: var(--bs-artist-ink);
  font-size: 16px;
  font-weight: 860;
}

.bs-club-metrics span,
.bs-studio-club-mini span {
  margin-top: 2px;
  color: rgba(48, 62, 82, 0.58);
  font-size: 11px;
  font-weight: 730;
}

.bs-club-card p {
  margin: 0;
  color: rgba(28, 39, 56, 0.74);
  font-size: 14px;
  line-height: 1.36;
}

.bs-locked-post-card {
  color: var(--bs-artist-ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(166, 56, 105, 0.12), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(15, 141, 123, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.6);
}

.bs-locked-post-body {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(48, 62, 82, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.bs-locked-post-body > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
}

.bs-locked-post-body svg {
  width: 22px;
  height: 22px;
}

.bs-locked-post-body strong {
  display: block;
  color: var(--bs-artist-ink);
  font-size: 17px;
  font-weight: 870;
}

.bs-locked-post-body p {
  margin: 3px 0 0;
  color: rgba(48, 62, 82, 0.6);
  font-size: 13px;
  line-height: 1.32;
  font-weight: 720;
}

.bs-locked-post-actions {
  align-items: center;
}

.bs-locked-post-actions span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bs-locked-post-actions svg {
  width: 15px;
  height: 15px;
}

.bs-locked-post-actions .bs-btn {
  margin-left: auto;
  min-height: 34px;
  padding: 0 13px;
  color: #fff;
}

.bs-creator-post-card .bs-feed-head {
  align-items: center;
}

.bs-feed-audience,
.bs-audience-pill {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(166, 56, 105, 0.08);
  border-radius: 999px;
  color: rgba(116, 46, 92, 0.74);
  background: rgba(166, 56, 105, 0.055);
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
}

.bs-feed-audience {
  margin: 8px 8px 0;
}

.bs-feed-audience svg {
  width: 13px;
  height: 13px;
}

.bs-audience-pill {
  margin-left: 6px;
  vertical-align: middle;
}

.bs-post-live-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.bs-post-live-actions button,
.bs-post-live-actions .post-view-count {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(42, 59, 82, 0.065);
  border-radius: 999px;
  color: rgba(43, 54, 70, 0.64);
  background: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px) saturate(145%);
}

.bs-post-live-actions button svg,
.bs-post-live-actions .post-view-count svg {
  width: 18px;
  height: 18px;
}

.bs-post-live-actions button:hover {
  color: #1f6fb7;
  background: rgba(31, 111, 183, 0.08);
}

.bs-post-live-actions button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(184, 61, 120, 0.9), rgba(7, 112, 94, 0.86));
  box-shadow: 0 10px 24px rgba(31, 45, 68, 0.12);
}

.bs-post-live-actions .bs-post-support-action {
  margin-left: auto;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(184, 61, 120, 0.92), rgba(7, 112, 94, 0.88));
  box-shadow: 0 12px 24px rgba(31, 45, 68, 0.12);
}

.bs-creator-onboarding {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(31, 111, 183, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(16px) saturate(145%);
}

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

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

.bs-onboarding-head strong {
  color: var(--bs-artist-ink);
  font-size: 16px;
  font-weight: 860;
}

.bs-onboarding-head span {
  margin-top: 2px;
  color: rgba(48, 62, 82, 0.54);
  font-size: 12px;
  font-weight: 740;
}

.bs-onboarding-ring {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(#0f8d7b calc(var(--p, 0) * 1%), rgba(42, 59, 82, 0.08) 0),
    rgba(255, 255, 255, 0.72);
}

.bs-onboarding-ring b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(43, 54, 70, 0.78);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 850;
}

.bs-onboarding-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.bs-onboarding-list button {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 18px;
  color: rgba(43, 54, 70, 0.76);
  background: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.bs-onboarding-list button.is-done {
  color: rgba(15, 112, 96, 0.78);
  background: rgba(15, 141, 123, 0.075);
}

.bs-onboard-check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(43, 54, 70, 0.48);
  background: rgba(42, 59, 82, 0.06);
  font-size: 14px;
  font-weight: 900;
}

.bs-onboarding-list button.is-done .bs-onboard-check {
  color: #fff;
  background: linear-gradient(135deg, #0f8d7b, #1f6fb7);
}

.bs-onboarding-list strong,
.bs-onboarding-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-onboarding-list strong {
  font-size: 13px;
  font-weight: 820;
}

.bs-onboarding-list small {
  margin-top: 2px;
  color: rgba(48, 62, 82, 0.48);
  font-size: 11px;
  font-weight: 700;
}

.bs-fan-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  color: rgba(43, 54, 70, 0.66);
  background: rgba(42, 59, 82, 0.065);
  font-size: 10px;
  font-style: normal;
  font-weight: 840;
  line-height: 1.1;
}

.bs-fan-badge.is-top,
.bs-fan-badge.is-legend {
  color: #fff;
  background: linear-gradient(135deg, #a63869, #0f8d7b);
  box-shadow: 0 8px 18px rgba(31, 45, 68, 0.1);
}

.bs-fan-badge.is-super {
  color: rgba(116, 46, 92, 0.86);
  background: rgba(166, 56, 105, 0.095);
}

.bs-fan-badge.is-fan {
  color: rgba(15, 112, 96, 0.82);
  background: rgba(15, 141, 123, 0.085);
}

.bs-feed-name .bs-fan-badge {
  margin: 0 0 0 6px;
  padding: 2px 6px;
  vertical-align: middle;
}

.bs-viewer-fan-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 24px;
  color: var(--bs-artist-ink);
  background:
    radial-gradient(circle at 0 0, rgba(166, 56, 105, 0.1), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(15, 141, 123, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 30px rgba(30, 48, 68, 0.045);
  backdrop-filter: blur(16px) saturate(145%);
}

.bs-viewer-fan-status > .bs-fan-badge {
  margin: 0;
  padding: 8px 10px;
  font-size: 11px;
}

.bs-viewer-fan-status strong,
.bs-viewer-fan-status small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-viewer-fan-status strong {
  color: var(--bs-artist-ink);
  font-size: 15px;
  font-weight: 860;
}

.bs-viewer-fan-status small {
  margin-top: 2px;
  color: rgba(48, 62, 82, 0.56);
  font-size: 12px;
  font-weight: 720;
}

.bs-share-kit {
  gap: 9px;
}

.bs-share-preview {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(31, 111, 183, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.5);
}

.bs-share-preview > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #a63869, #0f8d7b);
}

.bs-share-preview svg {
  width: 21px;
  height: 21px;
}

.bs-share-preview strong,
.bs-share-preview small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-share-preview strong {
  color: var(--bs-artist-ink);
  font-size: 16px;
  font-weight: 860;
}

.bs-share-preview p {
  margin: 4px 0;
  color: rgba(28, 39, 56, 0.72);
  font-size: 13px;
  line-height: 1.34;
  white-space: pre-line;
}

.bs-share-preview small {
  color: rgba(48, 62, 82, 0.48);
  font-size: 11px;
  font-weight: 700;
}

.bs-studio-channel,
.bs-studio-drops,
.bs-channel-grid {
  display: grid;
  gap: 8px;
}

.bs-channel-card {
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(48, 62, 82, 0.06);
  border-radius: 22px;
  color: var(--bs-artist-ink);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 12px 30px rgba(30, 48, 68, 0.045);
  backdrop-filter: blur(16px) saturate(145%);
}

.bs-channel-card.is-compact {
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.bs-channel-card.is-locked {
  background:
    radial-gradient(circle at 0 0, rgba(166, 56, 105, 0.09), transparent 38%),
    rgba(255, 255, 255, 0.5);
}

.bs-channel-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bs-channel-head small {
  color: rgba(48, 62, 82, 0.5);
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.bs-channel-pill {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(15, 112, 96, 0.76);
  background: rgba(15, 141, 123, 0.075);
  font-size: 11px;
  font-weight: 800;
}

.bs-channel-title {
  display: block;
  color: var(--bs-artist-ink);
  font-size: 16px;
  line-height: 1.18;
  font-weight: 860;
}

.bs-channel-card p {
  margin: 0;
  color: rgba(28, 39, 56, 0.72);
  font-size: 14px;
  line-height: 1.38;
}

.bs-channel-media {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.bs-channel-lock {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px dashed rgba(48, 62, 82, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.bs-channel-lock > svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
}

.bs-channel-lock strong {
  display: block;
  color: var(--bs-artist-ink);
  font-size: 15px;
  font-weight: 860;
}

.bs-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bs-channel-actions button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid rgba(48, 62, 82, 0.065);
  border-radius: 999px;
  color: rgba(43, 54, 70, 0.66);
  background: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 760;
}

.bs-channel-actions button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(184, 61, 120, 0.9), rgba(7, 112, 94, 0.86));
}

.bs-channel-actions button.danger {
  margin-left: auto;
  color: rgba(217, 77, 103, 0.82);
}

.bs-channel-actions .bs-btn-primary {
  margin-left: auto;
  color: #fff;
  border-color: transparent;
}

.bs-club-chat-section {
  color: var(--bs-artist-ink);
}

.bs-club-chat-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(166, 56, 105, 0.075), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(15, 141, 123, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.46);
  box-shadow: 0 12px 30px rgba(30, 48, 68, 0.04);
  backdrop-filter: blur(18px) saturate(145%);
}

.bs-club-chat-list {
  max-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 1px;
  scrollbar-width: thin;
}

.bs-club-chat-msg {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px;
  align-items: end;
}

.bs-club-chat-msg.is-own {
  grid-template-columns: minmax(0, 1fr) 32px;
}

.bs-club-chat-msg.is-own .bs-club-chat-avatar {
  grid-column: 2;
  grid-row: 1;
}

.bs-club-chat-msg.is-own .bs-club-chat-bubble {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  background:
    linear-gradient(135deg, rgba(166, 56, 105, 0.14), rgba(15, 141, 123, 0.12)),
    rgba(255, 255, 255, 0.58);
}

.bs-club-chat-avatar {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
  font-size: 12px;
  font-weight: 850;
}

.bs-club-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-club-chat-bubble {
  position: relative;
  width: fit-content;
  max-width: min(100%, 330px);
  padding: 9px 34px 9px 10px;
  border: 1px solid rgba(48, 62, 82, 0.052);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 18px rgba(30, 48, 68, 0.035);
}

.bs-club-chat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}

.bs-club-chat-meta strong {
  max-width: 132px;
  overflow: hidden;
  color: rgba(43, 54, 70, 0.82);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-club-chat-meta span {
  color: rgba(48, 62, 82, 0.42);
  font-size: 10px;
  font-weight: 720;
}

.bs-club-chat-bubble p {
  margin: 4px 0 0;
  color: rgba(28, 39, 56, 0.76);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.bs-club-chat-bubble > button {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(48, 62, 82, 0.5);
  background: rgba(255, 255, 255, 0.4);
}

.bs-club-chat-bubble > button svg {
  width: 13px;
  height: 13px;
}

.bs-club-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 7px;
  align-items: center;
}

.bs-club-chat-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(48, 62, 82, 0.06);
  border-radius: 999px;
  color: rgba(43, 54, 70, 0.82);
  background: rgba(255, 255, 255, 0.62);
  padding: 0 15px;
  font-size: 15px;
  outline: none;
}

.bs-club-chat-form .bs-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
}

.bs-club-chat-form [data-form-error] {
  grid-column: 1 / -1;
  min-height: 14px;
  color: var(--bs-danger);
  font-size: 12px;
  font-weight: 720;
}

.bs-club-chat-lock {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px dashed rgba(48, 62, 82, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
}

.bs-club-chat-lock > svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #a63869, #0f8d7b);
}

.bs-club-chat-lock strong,
.bs-club-chat-lock p {
  display: block;
  margin: 0;
}

.bs-club-chat-lock strong {
  color: var(--bs-artist-ink);
  font-size: 15px;
  font-weight: 860;
}

.bs-club-chat-lock p {
  margin-top: 2px;
  color: rgba(48, 62, 82, 0.56);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.32;
}

.bs-creator-studio-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  color: var(--bs-artist-ink);
}

.bs-studio-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.bs-studio-head h2 {
  margin: 0;
  color: var(--bs-artist-ink);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 860;
}

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

.bs-studio-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.bs-studio-metrics strong,
.bs-studio-metrics span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-studio-metrics strong {
  color: var(--bs-artist-ink);
  font-size: 18px;
  font-weight: 860;
}

.bs-studio-metrics span {
  color: rgba(48, 62, 82, 0.58);
  font-size: 11px;
  font-weight: 720;
}

.bs-studio-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.bs-studio-actions .bs-btn,
.bs-studio-head .bs-btn {
  min-height: 40px;
  color: rgba(48, 62, 82, 0.78);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(48, 62, 82, 0.065);
}

.bs-studio-head .bs-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #a63869, #0f8d7b);
}

.bs-studio-support {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.38);
}

.bs-studio-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bs-studio-subactions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bs-studio-subhead strong {
  color: var(--bs-artist-ink);
  font-size: 14px;
  font-weight: 860;
}

.bs-studio-support .bs-supporter-row {
  margin: 0 -2px;
}

.bs-studio-supporter-chip {
  min-width: 142px;
  background: rgba(255, 255, 255, 0.62);
}

.bs-studio-support-message {
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.bs-studio-support-message p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 560px) {
  .bs-home-artist-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bs-home-hero-artist {
    min-height: 92px;
  }

  .bs-creator-live-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .bs-creator-live-card small {
    grid-column: 2;
  }

  .bs-artist-cover {
    min-height: 126px;
  }

  .bs-artist-line {
    grid-template-columns: 82px minmax(0, 1fr);
    margin-top: -54px;
  }

  .bs-artist-avatar {
    width: 82px;
    height: 82px;
    min-height: 82px;
  }

  .bs-artist-profile-card .profile-name {
    font-size: 27px;
  }

  .bs-artist-stats,
  .bs-studio-metrics,
  .bs-support-summary,
  .bs-club-metrics,
  .bs-studio-club-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bs-artist-actions .bs-btn {
    flex: 1 1 calc(50% - 7px);
    justify-content: center;
  }

  .bs-studio-head {
    display: grid;
  }

  .bs-studio-head .bs-btn {
    width: 100%;
    justify-content: center;
  }

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

  .bs-release-row {
    grid-template-columns: 1fr;
  }

  .bs-club-chat-lock {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .bs-club-chat-lock .bs-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .bs-club-chat-bubble {
    max-width: min(100%, 286px);
  }
}

/* Creator launchpad v1: levels, unlock center and proof submissions. */
.bs-creator-level {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(31, 111, 183, 0.12);
  border-radius: 999px;
  color: rgba(31, 78, 126, 0.82);
  background: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 820;
  line-height: 1;
  vertical-align: middle;
  backdrop-filter: blur(14px) saturate(150%);
}

.bs-creator-level.is-rising,
.bs-creator-level.is-verified,
.bs-creator-level.is-partner {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, rgba(184, 61, 120, 0.9), rgba(7, 112, 94, 0.86));
  text-shadow: 0 1px 1px rgba(17, 24, 39, 0.14);
}

.bs-creator-level.is-partner {
  background: linear-gradient(135deg, #1f6fb7, #0f8d7b);
}

.bs-growth-card {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid rgba(48, 62, 82, 0.052);
  border-radius: 28px;
  color: rgba(43, 54, 70, 0.84);
  background:
    radial-gradient(circle at 0 0, rgba(31, 111, 183, 0.1), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(15, 141, 123, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 46px rgba(31, 52, 74, 0.06);
  backdrop-filter: blur(24px) saturate(160%);
}

.bs-growth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 12px;
  align-items: center;
}

.bs-growth-hero h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 4px 0 5px;
  color: rgba(26, 38, 55, 0.9);
  font-size: 18px;
  font-weight: 880;
  line-height: 1.12;
}

.bs-growth-hero h3 > span {
  color: rgba(43, 54, 70, 0.54);
  font-size: 13px;
  font-weight: 760;
}

.bs-growth-hero p,
.bs-growth-modal-hero p {
  margin: 0;
  color: rgba(48, 62, 82, 0.58);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.bs-growth-ring {
  --p: 0;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.88) 56%, transparent 57%), conic-gradient(#1f6fb7 calc(var(--p) * 1%), rgba(31, 111, 183, 0.12) 0);
  box-shadow: inset 0 0 0 1px rgba(48, 62, 82, 0.05);
}

.bs-growth-ring b,
.bs-growth-ring span {
  grid-area: 1 / 1;
}

.bs-growth-ring b {
  color: rgba(26, 38, 55, 0.86);
  font-size: 16px;
  font-weight: 880;
  transform: translateY(-5px);
}

.bs-growth-ring span {
  color: rgba(48, 62, 82, 0.52);
  font-size: 10px;
  font-weight: 760;
  transform: translateY(12px);
}

.bs-growth-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.bs-growth-actions .bs-btn {
  min-width: 0;
  min-height: 42px;
  padding: 9px 7px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 790;
}

.bs-growth-actions .bs-btn svg {
  width: 17px;
  height: 17px;
}

.bs-growth-actions .bs-btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-growth-steps {
  display: grid;
  gap: 7px;
}

.bs-growth-steps.is-modal {
  margin: 0 0 4px;
}

.bs-growth-step {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(48, 62, 82, 0.05);
  border-radius: 20px;
  color: rgba(43, 54, 70, 0.78);
  background: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.bs-growth-step.is-done {
  color: rgba(15, 112, 94, 0.82);
  background: rgba(234, 255, 247, 0.62);
}

.bs-growth-check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(31, 111, 183, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.bs-growth-step.is-done .bs-growth-check {
  background: linear-gradient(135deg, #1f6fb7, #0f8d7b);
}

.bs-growth-step-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bs-growth-step-copy strong,
.bs-growth-step-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-growth-step-copy strong {
  color: rgba(26, 38, 55, 0.82);
  font-size: 13px;
  font-weight: 820;
}

.bs-growth-step-copy small {
  color: rgba(48, 62, 82, 0.52);
  font-size: 12px;
  font-weight: 650;
}

.bs-growth-step-progress {
  grid-column: 2;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 111, 183, 0.08);
}

.bs-growth-step-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f6fb7, #0f8d7b);
}

.bs-growth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(48, 62, 82, 0.54);
  font-size: 12px;
  font-weight: 700;
}

.bs-growth-modal-hero {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

.bs-growth-modal-hero strong {
  color: rgba(26, 38, 55, 0.9);
  font-size: 18px;
  font-weight: 880;
  line-height: 1.12;
}

.bs-check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.bs-check-row input {
  width: 20px;
  height: 20px;
  accent-color: #1f6fb7;
}

.bs-check-row span {
  display: grid;
  gap: 2px;
}

.bs-check-row small {
  color: rgba(48, 62, 82, 0.52);
  font-size: 12px;
  font-weight: 650;
}

.bs-growth-proof-row {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(48, 62, 82, 0.055);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.44);
}

.bs-growth-proof-row strong,
.bs-growth-proof-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-growth-proof-row span {
  width: max-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  color: rgba(31, 111, 183, 0.78);
  background: rgba(31, 111, 183, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.bs-creator-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bs-creator-live-card,
.bs-goal-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(48, 62, 82, 0.052);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(245, 250, 255, 0.38)),
    rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 48px rgba(32, 44, 64, 0.052);
  backdrop-filter: blur(18px) saturate(150%);
}

.bs-creator-live-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.bs-creator-live-card strong,
.bs-goal-card strong {
  color: rgba(26, 38, 55, 0.88);
  font-size: 15px;
  font-weight: 860;
  line-height: 1.15;
}

.bs-creator-live-card p,
.bs-goal-card p {
  margin: 0;
  color: rgba(48, 62, 82, 0.58);
  font-size: 12px;
  font-weight: 640;
  line-height: 1.38;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bs-goal-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.bs-goal-head > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1f6fb7;
  background: rgba(31, 111, 183, 0.09);
}

.bs-goal-head div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bs-goal-head strong,
.bs-goal-head small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-goal-head small {
  color: rgba(48, 62, 82, 0.52);
  font-size: 12px;
  font-weight: 730;
}

.bs-goal-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 111, 183, 0.08);
}

.bs-goal-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f6fb7, #19a48d);
}

.bs-goal-card.is-challenge .bs-goal-head > span {
  color: #fff;
  background: linear-gradient(135deg, #b13c72, #0d6b5f);
}

.bs-public-goal-card,
.bs-support-goal-card {
  margin-bottom: 10px;
}

.bs-search-live-block {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(48, 62, 82, 0.05);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 42px rgba(32, 44, 64, 0.045);
  backdrop-filter: blur(18px) saturate(150%);
}

.search-row.is-challenge {
  background:
    linear-gradient(135deg, rgba(177, 60, 114, 0.075), rgba(15, 141, 123, 0.075)),
    rgba(255, 255, 255, 0.64);
}

.bs-release-access {
  display: block;
  margin-top: 2px;
  color: rgba(31, 111, 183, 0.68);
  font-size: 12px;
  font-weight: 780;
}

.bs-release-card.is-locked {
  border-color: rgba(177, 60, 114, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(177, 60, 114, 0.07)),
    rgba(255, 255, 255, 0.5);
}

.bs-release-card.is-locked .bs-release-cover span {
  background: rgba(177, 60, 114, 0.78);
}

@media (max-width: 560px) {
  .bs-growth-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bs-growth-actions .bs-btn-primary {
    grid-column: span 2;
  }

  .bs-growth-steps {
    gap: 8px;
  }

  .bs-creator-live-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .bs-growth-hero {
    grid-template-columns: minmax(0, 1fr) 66px;
  }

  .bs-growth-ring {
    width: 66px;
    height: 66px;
  }

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

  .bs-growth-actions .bs-btn-primary {
    grid-column: 1 / -1;
  }

  .bs-creator-live-grid,
  .bs-creator-live-card {
    grid-template-columns: 1fr;
  }
}

.bs-ad-studio-strip,
.bs-ad-balance-card,
.bs-ad-offer-card,
.bs-ad-deal-card,
.bs-ads-org-card,
.bs-ads-wallet {
  border: 1px solid rgba(48, 62, 82, 0.07);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 48px rgba(31, 42, 68, 0.055);
  backdrop-filter: blur(22px) saturate(160%);
}

.bs-ad-studio-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 2px 12px;
  margin: 12px 0 2px;
  padding: 12px 14px;
  border-radius: 24px;
  color: var(--bs-text);
  text-align: left;
}

.bs-ad-studio-strip > span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bs-accent);
  background: rgba(31, 111, 183, 0.09);
}

.bs-ad-studio-strip strong,
.bs-ad-offer-card strong,
.bs-ad-deal-card strong {
  color: rgba(32, 44, 64, 0.92);
  font-weight: 820;
  letter-spacing: 0;
}

.bs-ad-studio-strip small,
.bs-ad-muted,
.bs-ad-note span,
.bs-ad-offer-top small,
.bs-ad-deal-head small {
  color: rgba(91, 104, 123, 0.78);
  font-weight: 650;
}

.bs-ads-tab,
.bs-ad-section,
.bs-ad-offer-list,
.bs-ad-deal-list {
  display: grid;
  gap: 14px;
}

.bs-ad-balance-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 30px;
}

.bs-ad-balance-card h2 {
  margin: 4px 0;
  color: rgba(28, 38, 56, 0.94);
  font-size: 34px;
  line-height: 1;
}

.bs-ad-balance-card p,
.bs-ad-offer-card p {
  margin: 0;
  color: rgba(68, 82, 104, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.bs-ad-balance-grid,
.bs-ad-payout-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bs-ad-balance-grid span,
.bs-ad-payout-row span {
  min-width: 0;
  padding: 10px;
  border-radius: 20px;
  background: rgba(246, 250, 255, 0.72);
}

.bs-ad-balance-grid b,
.bs-ad-payout-row b {
  display: block;
  color: rgba(31, 42, 64, 0.92);
  font-size: 17px;
}

.bs-ad-balance-grid small,
.bs-ad-payout-row small {
  display: block;
  margin-top: 2px;
  color: rgba(92, 105, 124, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.bs-ad-offer-card,
.bs-ad-deal-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 28px;
}

.bs-ad-offer-top,
.bs-ad-deal-head {
  display: grid;
  gap: 4px;
}

.bs-ad-deal-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.bs-ad-type,
.bs-ad-status {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(22, 116, 104, 0.9);
  background: rgba(26, 188, 156, 0.1);
  font-size: 12px;
  font-weight: 820;
}

.bs-ad-brief,
.bs-ad-proof-mini,
.bs-ad-note {
  display: grid;
  gap: 8px;
}

.bs-ad-brief > div,
.bs-ad-note {
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.72);
}

.bs-ad-brief b,
.bs-ad-note b {
  display: block;
  margin-bottom: 3px;
  color: rgba(32, 44, 64, 0.86);
  font-size: 13px;
}

.bs-ad-brief span {
  display: block;
  color: rgba(68, 82, 104, 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.bs-ad-actions,
.bs-ads-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bs-ads-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.bs-ads-hero h1 {
  margin: 4px 0 8px;
  color: rgba(28, 38, 56, 0.94);
  font-size: 34px;
  line-height: 1.03;
}

.bs-ads-hero p {
  max-width: 520px;
  margin: 0;
  color: rgba(68, 82, 104, 0.75);
  font-size: 15px;
  line-height: 1.45;
}

.bs-ads-wallet {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  border-radius: 30px;
}

.bs-ads-wallet span {
  color: rgba(22, 116, 104, 0.86);
  font-size: 12px;
  font-weight: 820;
}

.bs-ads-wallet strong {
  color: rgba(28, 38, 56, 0.94);
  font-size: 30px;
  line-height: 1;
}

.bs-home-ad-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

.bs-internal-ad-card .bs-short-overlay {
  justify-content: end;
}

.bs-ad-proof-mini a {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(246, 250, 255, 0.72);
  color: rgba(31, 111, 183, 0.88);
  font-weight: 760;
}

.bs-ad-proof-mini span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-ad-transfer-hero {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(31, 111, 183, 0.08);
}

.bs-ad-transfer-hero strong {
  color: rgba(28, 38, 56, 0.94);
  font-size: 28px;
  line-height: 1;
}

.bs-ad-transfer-hero span {
  color: rgba(91, 104, 123, 0.76);
  font-weight: 700;
}

@media (max-width: 680px) {
  .bs-ads-hero {
    grid-template-columns: 1fr;
  }

  .bs-ads-hero h1 {
    font-size: 30px;
  }

  .bs-ad-balance-grid,
  .bs-ad-payout-row {
    grid-template-columns: 1fr;
  }

  .bs-ad-deal-head {
    grid-template-columns: 1fr;
  }
}
