/* Rainbow Shield core — /shield marketing (be-sm-*), community hub, feed, articles, videos and
   ask-expert (be-sc-*). Desktop rules first; `.be-m` overrides at the end of each block. */

/* ---------- Shared bits ---------- */
.be-sc-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 24px;
  background: var(--be-white);
}

.be-sc-empty__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--be-blush);
  color: var(--be-coral);
}

.be-sc-empty__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--be-ink);
}

.be-sc-empty__text {
  max-width: 420px;
  font-size: 13px;
  line-height: 20px;
}

.be-sc-avatar {
  flex: none;
  width: var(--av, 40px);
  height: var(--av, 40px);
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--be-blush), var(--be-blush-line));
  color: var(--be-maroon);
  font-size: calc(var(--av, 40px) * 0.36);
  font-weight: 700;
  line-height: 1;
}

.be-sc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-sc-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 18px;
  color: var(--be-muted);
}

.be-sc-label {
  display: block;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink);
}

.be-field--area {
  align-items: stretch;
  padding: 12px 16px;
}

.be-field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}

.be-sc-ticks {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--be-ink-soft);
}

.be-sc-ticks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.be-sc-ticks svg {
  flex: none;
  margin-top: 2px;
  color: var(--be-coral);
}

.be-sc-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--be-blush);
  color: var(--be-coral);
  font-size: 12px;
  font-weight: 600;
}

.be-sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.be-sc-results {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--be-muted);
}

.be-sc-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--be-blush-line);
  border-top-color: var(--be-coral);
  border-radius: 50%;
  animation: be-sc-spin 0.8s linear infinite;
  vertical-align: -3px;
}

@keyframes be-sc-spin {
  to { transform: rotate(360deg); }
}

.be-sc-more {
  display: flex;
  width: max-content;
  margin: 24px auto 0;
}

.be-sc-more.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Community hub ---------- */
.be-sc {
  padding-bottom: 64px;
}

.be-sc-hero {
  overflow: hidden;
  padding: 24px 0 32px;
}

.be-sc-hero .be-watermark__word {
  max-width: 100%;
  font-size: 72px;
}

.be-sc-hero__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--be-muted);
}

.be-sc-tiles {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.be-sc-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: #2a1d24;
  color: #fff;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.be-sc-tile:hover,
.be-sc-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(90, 35, 51, 0.18);
}

.be-sc-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.be-sc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 10, 15, 0) 25%, rgba(26, 10, 15, 0.78) 62%, #1a0a0f 100%);
}

.be-sc-tile__body {
  position: absolute;
  inset: auto 10px 14px;
  display: grid;
  gap: 2px;
  text-align: center;
}

.be-sc-tile__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.be-sc-tile__hint {
  font-size: 10px;
  line-height: 14px;
  color: rgba(255, 249, 244, 0.7);
}

.be-sc-grow {
  margin-top: 48px;
  scroll-margin-top: 24px;
}

.be-sc-grow__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-tabs {
  width: max-content;
  max-width: 100%;
  margin: 16px auto 32px;
  padding: 6px;
  border: 1.5px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-white);
  gap: 4px;
}

.be-sc-tabs a {
  min-width: 120px;
  border: 0;
  color: var(--be-muted);
  text-align: center;
}

.be-sc-tabs a.is-active {
  background: var(--be-blush);
  color: var(--be-coral);
}

.be-sc-feed {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.be-sc-side {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--be-line);
  border-radius: 20px;
  background: var(--be-white);
}

.be-sc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-canvas);
  color: var(--be-muted);
}

.be-sc-search:focus-within {
  border-color: var(--be-coral-soft);
}

.be-sc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 13px;
  color: var(--be-ink);
}

.be-sc-side__group {
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--be-line);
}

.be-sc-side__group:last-of-type {
  border-bottom: 0;
}

.be-sc-side__title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-side__links {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}

.be-sc-side__links a {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-sc-side__links a:hover {
  background: var(--be-canvas);
}

.be-sc-side__links a.is-active {
  background: var(--be-blush);
  color: var(--be-coral);
  font-weight: 600;
}

.be-sc-side__ask {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--be-blush);
  font-size: 12px;
  line-height: 18px;
  color: var(--be-ink-soft);
}

.be-sc-side__ask svg {
  flex: none;
  color: var(--be-coral);
}

.be-sc-side__ask strong {
  color: var(--be-ink);
}

.be-sc-applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

.be-sc-applied .be-chip {
  height: 30px;
}

.be-sc-applied__clear {
  font-size: 12px;
}

.be-sc-stream {
  min-width: 0;
}

.be-sc-list {
  display: grid;
  gap: 20px;
}

/* Single-column grids must not grow to their content's min-width on narrow screens. */
.be-sc-list,
.be-sc-comments,
.be-sc-threads__list,
.be-sc-related__list,
.be-sc-side,
.be-sm-faq__list {
  grid-template-columns: minmax(0, 1fr);
}

.be-sc-post,
.be-sc-comment,
.be-sc-comment__body {
  min-width: 0;
}

/* ---------- Composer ---------- */
.be-sc-compose {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--be-line);
  border-radius: 20px;
  background: var(--be-white);
  box-shadow: var(--be-shadow-soft);
}

.be-sc-compose__row {
  display: flex;
  gap: 12px;
}

.be-sc-compose textarea {
  flex: 1;
  min-height: 72px;
  padding: 12px 14px;
  border: 1.5px solid var(--be-line);
  border-radius: 14px;
  background: var(--be-canvas);
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink);
  resize: vertical;
  outline: none;
}

.be-sc-compose textarea:focus {
  border-color: var(--be-coral-soft);
  box-shadow: 0 0 0 3px rgba(255, 139, 122, 0.18);
}

.be-sc-compose__preview {
  position: relative;
  width: max-content;
  margin: 12px 0 0 52px;
}

.be-sc-compose__preview img {
  max-width: 220px;
  max-height: 160px;
  border-radius: 12px;
  object-fit: cover;
}

.be-sc-compose__preview button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 10, 15, 0.65);
  color: #fff;
}

.be-sc-compose__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0 52px;
}

.be-sc-compose__photo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink-soft);
  cursor: pointer;
}

.be-sc-compose__photo:hover,
.be-sc-compose input[type="file"]:focus-visible + .be-sc-compose__hint {
  border-color: var(--be-coral-soft);
}

.be-sc-compose__hint {
  flex: 1;
  font-size: 11px;
  color: var(--be-muted);
}

.be-sc-compose__send {
  margin-left: auto;
}

.be-sc-compose.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Post card ---------- */
.be-sc-post {
  padding: 18px 20px;
  border: 1px solid var(--be-line);
  border-radius: 20px;
  background: var(--be-white);
  scroll-margin-top: 24px;
}

.be-sc-post.is-focus {
  border-color: var(--be-coral-soft);
  box-shadow: 0 0 0 3px rgba(255, 139, 122, 0.18);
}

.be-sc-post.is-new {
  animation: be-sc-pop 0.5s ease;
}

@keyframes be-sc-pop {
  from { transform: translateY(-6px); opacity: 0; }
}

.be-sc-post__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.be-sc-post__who {
  flex: 1;
  min-width: 0;
}

.be-sc-post__name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--be-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.be-sc-post__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--be-muted);
}

.be-sc-post__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--be-maroon);
}

.be-sc-post__badge.is-plain {
  color: var(--be-muted);
}

.be-sc-follow {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--be-coral);
  font-size: 12px;
  font-weight: 700;
}

.be-sc-follow:hover {
  background: var(--be-blush);
}

.be-sc-follow[aria-pressed="true"] {
  color: var(--be-muted);
}

.be-sc-menu {
  position: relative;
}

.be-sc-menu summary {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--be-muted);
  list-style: none;
  cursor: pointer;
}

.be-sc-menu summary::-webkit-details-marker {
  display: none;
}

.be-sc-menu summary:hover {
  background: var(--be-canvas);
}

.be-sc-menu__list {
  position: absolute;
  right: 0;
  top: 36px;
  z-index: 5;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--be-line);
  border-radius: 14px;
  background: var(--be-white);
  box-shadow: var(--be-shadow-soft);
}

.be-sc-menu__list button {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 13px;
  text-align: left;
  color: var(--be-ink);
}

.be-sc-menu__list button:hover {
  background: var(--be-canvas);
}

.be-sc-menu__list .is-danger {
  color: var(--be-color-text-error, #b81e40);
}

.be-sc-post__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink);
  overflow-wrap: anywhere;
}

.be-sc-post__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.be-sc-post__more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--be-coral);
  font-size: 13px;
  font-weight: 600;
}

.be-sc-post__time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--be-muted);
}

.be-sc-post__media {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
}

.be-sc-post__media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background: var(--be-canvas);
}

.be-sc-post__media.is-multi {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 16px;
}

.be-sc-post__media.is-multi img {
  flex: 0 0 80%;
  height: 300px;
  border-radius: 16px;
  scroll-snap-align: start;
}

.be-sc-post__links {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.be-sc-post__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--be-coral);
}

.be-sc-post__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.be-sc-post__actions form {
  display: contents;
}

.be-sc-post__save {
  margin-left: auto;
}

.be-sc-post__actions .be-sc-act--save {
  margin-left: auto;
}

.be-sc-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--be-maroon);
  font-size: 13px;
  font-weight: 500;
}

.be-sc-act:hover {
  background: var(--be-blush);
}

.be-sc-act[aria-pressed="true"] {
  color: var(--be-coral);
}

.be-sc-act[aria-pressed="true"] svg {
  fill: currentColor;
}

.be-sc-act.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.be-sc-post__comments {
  margin-top: 8px;
}

.be-sc-post__all {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--be-muted);
  font-size: 12px;
  font-weight: 600;
}

.be-sc-comments {
  display: grid;
  gap: 10px;
  margin: 8px 0;
}

.be-sc-comments:empty {
  display: none;
}

.be-sc-comments--replies {
  margin: 8px 0 0;
}

.be-sc-comments__none {
  font-size: 12px;
  color: var(--be-muted);
}

.be-sc-comment {
  display: flex;
  gap: 8px;
}

.be-sc-comment__body {
  min-width: 0;
}

.be-sc-comment__bubble {
  padding: 8px 12px;
  border-radius: 4px 14px 14px 14px;
  background: var(--be-canvas);
  font-size: 13px;
  line-height: 19px;
  overflow-wrap: anywhere;
}

.be-sc-comment__name {
  margin-right: 6px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-comment__badge {
  margin-right: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--be-maroon);
}

.be-sc-comment__text {
  color: var(--be-ink-soft);
}

.be-sc-comment__time {
  margin-left: 12px;
  font-size: 10px;
  color: var(--be-muted);
}

.be-sc-reply {
  display: flex;
  align-items: center;
  gap: 8px;
}

.be-sc-reply input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-white);
  font-size: 13px;
  color: var(--be-ink);
  outline: none;
}

.be-sc-reply input:focus {
  border-color: var(--be-coral-soft);
}

.be-sc-reply button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--be-maroon);
}

.be-sc-reply button:hover {
  background: var(--be-blush);
}

/* ---------- Article & video cards ---------- */
.be-sc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.be-sc-acard,
.be-sc-vcard {
  min-width: 0;
}

.be-sc-acard__link {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--be-line);
  border-radius: 20px;
  background: var(--be-white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.be-sc-acard__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--be-shadow-soft);
}

.be-sc-acard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--be-blush);
}

.be-sc-acard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-sc-acard__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--be-coral);
}

.be-sc-acard__type {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 249, 244, 0.92);
  color: var(--be-maroon);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.be-sc-acard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.be-sc-acard__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--be-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: var(--be-ink);
}

.be-sc-acard__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 18px;
  color: var(--be-ink-soft);
}

.be-sc-acard__meta {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 11px;
  color: var(--be-muted);
}

.be-sc-acard.is-compact .be-sc-acard__title {
  font-size: 14px;
  line-height: 20px;
}

.be-sc-vcard__link {
  display: grid;
  gap: 6px;
}

.be-sc-vcard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--be-blush), var(--be-blush-line));
}

.be-sc-vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-sc-vcard__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 249, 244, 0.92);
  color: var(--be-coral);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(26, 10, 15, 0.2);
}

.be-sc-vcard__dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(26, 10, 15, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.be-sc-vcard__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--be-ink);
}

.be-sc-vcard__meta {
  font-size: 11px;
  color: var(--be-muted);
}

/* Mobile filter dropdowns */
.be-sc-filterbar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.be-sc-drop summary {
  list-style: none;
  cursor: pointer;
}

.be-sc-drop summary::-webkit-details-marker {
  display: none;
}

.be-sc-drop[open] summary {
  border-color: var(--be-coral-soft);
}

.be-sc-drop__panel {
  position: absolute;
  left: var(--be-m-pad, 24px);
  right: var(--be-m-pad, 24px);
  z-index: 30;
  max-height: 50vh;
  margin-top: 8px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--be-line);
  border-radius: 18px;
  background: var(--be-white);
  box-shadow: 0 18px 40px rgba(90, 35, 51, 0.16);
}

.be-sc-drop__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-sc-drop__panel a.is-active {
  background: var(--be-blush);
  color: var(--be-coral);
  font-weight: 600;
}

/* ---------- Article / video detail ---------- */
.be-sc-article,
.be-sc-video {
  padding-top: 16px;
}

.be-sc-article__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 16px;
}

.be-sc-article__hero {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 3;
  background: var(--be-blush);
}

.be-sc-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-sc-article__head {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.be-sc-article__title,
.be-sc-video__title {
  font-family: var(--be-font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  color: var(--be-ink);
}

.be-sc-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--be-muted);
}

.be-sc-article__actions {
  display: flex;
  gap: 8px;
}

.be-sc-article__actions .be-sc-act {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--be-line);
  background: var(--be-white);
}

.be-sc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--be-line);
  border-radius: 16px;
  background: var(--be-white);
}

.be-sc-author p {
  display: grid;
  font-size: 12px;
  color: var(--be-muted);
}

.be-sc-author strong {
  font-size: 14px;
  color: var(--be-ink);
}

.be-sc-author__by {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.be-sc-article__layout,
.be-sc-video__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.be-sc-article__layout.is-solo,
.be-sc-video__layout.is-solo {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.be-sc-article__main {
  max-width: 760px;
}

.be-sc-learn {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--be-blush);
}

.be-sc-learn__title {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-learn ul {
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink-soft);
}

.be-sc-learn li {
  display: flex;
  gap: 8px;
}

.be-sc-learn svg {
  flex: none;
  margin-top: 4px;
  color: var(--be-coral);
}

.be-sc-prose {
  font-size: 15px;
  line-height: 26px;
  color: var(--be-ink-soft);
}

.be-sc-prose h2,
.be-sc-prose h3,
.be-sc-prose h4,
.be-sc-prose h5,
.be-sc-prose h6 {
  margin: 28px 0 10px;
  font-family: var(--be-font-display);
  color: var(--be-ink);
}

.be-sc-prose h5,
.be-sc-prose h6 {
  font-size: 18px;
}

.be-sc-prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 16px;
}

.be-sc-prose img {
  border-radius: 16px;
}

.be-sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.be-sc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink-soft);
}

.be-sc-cta p {
  flex: 1 1 280px;
}

.be-sc-cta div {
  display: flex;
  gap: 8px;
}

.be-sc-related {
  position: sticky;
  top: 16px;
}

.be-sc-related__title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-related__list {
  display: grid;
  gap: 16px;
}

.be-sc-player {
  overflow: hidden;
  border-radius: 24px;
  background: #1a0a0f;
  aspect-ratio: 16 / 9;
}

.be-sc-player iframe,
.be-sc-player video {
  width: 100%;
  height: 100%;
  border: 0;
}

.be-sc-player .be-sc-empty {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.be-sc-video__main {
  display: grid;
  gap: 12px;
}

.be-sc-video__title {
  margin-top: 8px;
  font-size: 28px;
  line-height: 36px;
}

.be-sc-video__summary {
  font-size: 15px;
  line-height: 24px;
  color: var(--be-ink-soft);
}

/* ---------- Ask an expert ---------- */
.be-sc-ask-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
}

.be-sc-ask-intro img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
}

.be-sc-ask-intro__title {
  margin: 8px 0 4px;
  font-family: var(--be-font-display);
  font-size: 30px;
  line-height: 38px;
  color: var(--be-ink);
}

.be-sc-ask-intro .be-btn {
  margin-top: 8px;
}

.be-sc-ask {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.be-sc-threads {
  padding: 16px;
  border: 1px solid var(--be-line);
  border-radius: 20px;
  background: var(--be-white);
}

.be-sc-threads__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.be-sc-threads__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-threads__none {
  font-size: 13px;
  color: var(--be-muted);
}

.be-sc-threads__list {
  display: grid;
  gap: 8px;
  max-height: 70vh;
  overflow-y: auto;
}

.be-sc-thread {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--be-line);
  border-radius: 16px;
}

.be-sc-thread:hover {
  background: var(--be-canvas);
}

.be-sc-thread.is-active {
  border-color: var(--be-coral-soft);
  background: var(--be-blush);
}

.be-sc-thread__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.be-sc-thread__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--be-color-text-accent-rose, #d98c9a);
}

.be-sc-thread__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--be-ink);
}

.be-sc-thread__last {
  overflow: hidden;
  font-size: 12px;
  color: var(--be-ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.be-sc-thread__time {
  font-size: 10px;
  color: var(--be-muted);
}

.be-sc-status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.be-sc-status.is-wait { background: var(--be-color-baby-vanilla, #fff2d6); color: #8a6512; }
.be-sc-status.is-live { background: var(--be-color-status-info, #e0f4f5); color: #1d6f73; }
.be-sc-status.is-done { background: var(--be-color-status-success, #dce8cf); color: var(--be-color-text-success, #2a8e7d); }

.be-sc-chat {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border: 1px solid var(--be-line);
  border-radius: 24px;
  background: var(--be-white);
}

.be-sc-chat__head {
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--be-line);
}

.be-sc-chat__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: var(--be-ink);
}

.be-sc-chat__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  padding: 20px;
  overflow-y: auto;
  background: var(--be-canvas);
}

.be-sc-msg {
  display: flex;
  gap: 8px;
  max-width: 80%;
}

.be-sc-msg.is-mine {
  align-self: flex-end;
}

.be-sc-msg__bubble {
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--be-white);
  border: 1px solid var(--be-line);
}

.be-sc-msg.is-mine .be-sc-msg__bubble {
  border: 0;
  border-radius: 18px 18px 4px 18px;
  background: var(--be-ink);
  color: #fff;
}

.be-sc-msg__who {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--be-maroon);
}

.be-sc-msg__who span {
  font-weight: 500;
  color: var(--be-muted);
}

.be-sc-msg__text {
  font-size: 14px;
  line-height: 21px;
  overflow-wrap: anywhere;
}

.be-sc-msg__file {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}

.be-sc-msg__time {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.7;
}

.be-sc-msg.is-pending {
  opacity: 0.6;
}

.be-sc-chat__wait {
  padding: 10px 20px;
  font-size: 12px;
  color: var(--be-muted);
  background: var(--be-canvas);
}

.be-sc-chat__form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--be-line);
}

.be-sc-chat__form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 160px;
  padding: 11px 16px;
  border: 1.5px solid var(--be-line);
  border-radius: 22px;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--be-ink);
  resize: none;
  outline: none;
}

.be-sc-chat__form textarea:focus {
  border-color: var(--be-coral-soft);
}

.be-sc-chat__send {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--be-coral-soft);
  color: var(--be-ink);
}

.be-sc-chat__send:hover {
  background: var(--be-coral);
}

.be-sc-chat__note {
  margin: 0;
  padding: 0 20px 14px;
}

.be-sc-askform {
  padding: 24px;
  border: 1px solid var(--be-line);
  border-radius: 24px;
  background: var(--be-white);
}

.be-sc-askform__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sc-askform__sub {
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
  color: var(--be-muted);
}

.be-sc-askform__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.be-sc-askform__cats legend {
  width: 100%;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--be-ink);
}

.be-sc-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.be-sc-radio .be-chip {
  cursor: pointer;
}

.be-sc-radio input:checked + .be-chip {
  background: var(--be-blush);
  border-color: var(--be-coral-soft);
  color: var(--be-coral);
}

.be-sc-radio input:focus-visible + .be-chip {
  outline: 2px solid var(--be-coral-soft);
  outline-offset: 2px;
}

.be-sc-askform .be-btn {
  margin-top: 16px;
}

/* ---------- Sheets (dialog) ---------- */
.be-sc-sheet {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 0 24px 24px;
  border: 0;
  border-radius: 28px;
  background: var(--be-canvas);
  color: var(--be-ink);
  box-shadow: 0 24px 60px rgba(26, 10, 15, 0.25);
}

.be-sc-sheet::backdrop {
  background: rgba(26, 10, 15, 0.45);
}

.be-sc-sheet__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 12px;
  background: var(--be-canvas);
}

.be-sc-sheet__title {
  font-size: 18px;
  font-weight: 700;
}

.be-sc-sheet__head button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--be-white);
  color: var(--be-ink);
}

.be-sc-sheet .be-sc-compose {
  margin: 0;
  box-shadow: none;
}

/* ---------- Mobile dock (feed composer) ---------- */
.be-sc-dock {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: calc(100% - 2 * var(--be-m-pad, 24px));
  max-width: 432px;
  transform: translateX(-50%);
}

.be-sc-dock__open {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: var(--be-white);
  box-shadow: 0 10px 30px rgba(90, 35, 51, 0.16);
  color: var(--be-muted);
  font-size: 13px;
  text-align: left;
}

.be-sc-dock__open span:not(.be-sc-avatar) {
  flex: 1;
}

.be-sc-dock__open svg {
  color: var(--be-maroon);
}

/* ---------- Articles rail (product pages) ---------- */
.be-sc-rail {
  margin-top: 48px;
}

.be-sc-rail__list > * {
  flex: 0 0 280px;
}

.be-m .be-sc-rail__list > * {
  flex-basis: 220px;
}

/* ---------- Marketing (/shield) ---------- */
.be-sm {
  padding-bottom: 64px;
}

.be-sm-h2 {
  font-family: var(--be-font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.5px;
  color: var(--be-ink);
}

.be-sm-lead {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--be-ink-soft);
}

.be-sm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 460px;
  padding: 32px 0 48px;
}

.be-sm-hero__title {
  margin-top: 8px;
  font-family: var(--be-font-display);
  font-size: 84px;
  font-weight: 700;
  line-height: 84px;
  letter-spacing: -2px;
  color: var(--be-ink);
}

.be-sm-hero__text {
  max-width: 440px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 26px;
  color: var(--be-ink-soft);
}

.be-sm-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.be-sm-member {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--be-color-status-success, #dce8cf);
  color: var(--be-color-text-success, #2a8e7d);
  font-size: 13px;
  font-weight: 600;
}

.be-sm-member.is-small {
  margin: 0;
  justify-content: center;
  width: 100%;
}

.be-sm-hero__art {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  justify-self: center;
  width: 100%;
}

.be-sm-hero__disc {
  position: absolute;
  inset: 6%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--be-color-mama-mauve, #d8c7e8);
  box-shadow: 0 0 0 14px rgba(216, 199, 232, 0.35);
}

.be-sm-hero__disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-sm-hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px dotted var(--be-coral-soft);
  border-radius: 50%;
  opacity: 0.6;
}

.be-sm-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--be-white);
  box-shadow: var(--be-shadow-soft);
  color: var(--be-ink);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.be-sm-float svg { color: var(--be-coral); }
.be-sm-float--1 { left: -4%; top: 10%; }
.be-sm-float--2 { right: -6%; top: 22%; }
.be-sm-float--3 { left: -8%; bottom: 26%; }
.be-sm-float--4 { right: -2%; bottom: 8%; }

.be-sm-ticker {
  margin: 0 calc(-1 * var(--be-gutter));
  overflow: hidden;
  border-block: 1px solid var(--be-line);
  background: var(--be-white);
}

.be-sm-ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 18px 0;
  animation: be-sm-ticker 40s linear infinite;
}

.be-sm-ticker__track span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--be-color-text-accent-rose, #d98c9a);
}

.be-sm-ticker__track svg {
  color: var(--be-maroon);
}

@keyframes be-sm-ticker {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .be-sm-ticker__track { animation: none; }
  .be-sc-tile, .be-sc-acard__link { transition: none; }
}

.be-sm-subnav {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  background: rgba(255, 249, 244, 0.94);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}

.be-sm-subnav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--be-ink-soft);
  white-space: nowrap;
}

.be-sm-subnav a:hover {
  background: var(--be-blush);
}

.be-sm-subnav a.is-cta {
  background: var(--be-coral-soft);
  color: var(--be-ink);
}

.be-sm-intro,
.be-sm-journey,
.be-sm-plans {
  padding-top: 72px;
  text-align: center;
  scroll-margin-top: 72px;
}

.be-sm-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.be-sm-orbit li {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 112px;
  font-size: 13px;
  font-weight: 600;
  color: var(--be-ink);
}

.be-sm-orbit span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--be-white);
  border: 1px solid var(--be-line);
  box-shadow: var(--be-shadow-soft);
  color: var(--be-coral);
}

.be-sm-features {
  padding-top: 80px;
}

.be-sm-features > .be-sm-h2 {
  margin-bottom: 24px;
  text-align: center;
}

.be-sm-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 40px 0;
}

.be-sm-feature.is-flip .be-sm-feature__copy {
  order: 2;
}

.be-sm-feature__num {
  font-family: var(--be-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--be-coral);
}

.be-sm-feature__title {
  margin: 6px 0 10px;
  font-family: var(--be-font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  color: var(--be-ink);
}

.be-sm-feature__copy > p {
  font-size: 15px;
  line-height: 24px;
  color: var(--be-ink-soft);
}

.be-sm-feature__art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 50%;
  background: var(--be-color-mama-mauve, #d8c7e8);
}

.be-sm-feature__art--2 { background: var(--be-blush); }
.be-sm-feature__art--3 { background: var(--be-color-baby-vanilla, #fff2d6); }
.be-sm-feature__art--4 { background: var(--be-color-status-info, #e0f4f5); }

.be-sm-feature__card {
  display: grid;
  gap: 10px;
  width: 58%;
  padding: 22px;
  border-radius: 20px;
  background: var(--be-white);
  box-shadow: 0 18px 40px rgba(90, 35, 51, 0.12);
  color: var(--be-ink);
  font-size: 14px;
  font-weight: 600;
  transform: rotate(-3deg);
}

.be-sm-feature.is-flip .be-sm-feature__card {
  transform: rotate(3deg);
}

.be-sm-feature__card svg {
  color: var(--be-coral);
}

.be-sm-feature__bar {
  height: 8px;
  border-radius: 8px;
  background: var(--be-blush);
}

.be-sm-feature__bar.is-short {
  width: 60%;
}

.be-sm-stages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  counter-reset: none;
}

.be-sm-stages a {
  height: 100%;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 20px 14px;
  border: 1px solid var(--be-line);
  border-radius: 20px;
  background: var(--be-white);
  text-align: center;
  transition: border-color 0.2s ease;
}

.be-sm-stages a:hover {
  border-color: var(--be-coral-soft);
}

.be-sm-stages__dot {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--be-blush);
  color: var(--be-coral);
  font-weight: 700;
}

.be-sm-stages__label {
  font-weight: 700;
  color: var(--be-ink);
}

.be-sm-stages__text {
  font-size: 12px;
  line-height: 18px;
  color: var(--be-ink-soft);
}

.be-sm-value {
  margin: 80px calc(-1 * var(--be-gutter)) 0;
  padding: 64px var(--be-gutter);
  background: var(--be-blush);
  text-align: center;
}

.be-sm-value__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}

.be-sm-value__card {
  padding: 24px;
  border-radius: 24px;
  background: var(--be-white);
}

.be-sm-value__card h3 {
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sm-value__card p {
  font-size: 13px;
  line-height: 20px;
  color: var(--be-ink-soft);
}

.be-sm-value__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--be-blush);
  color: var(--be-coral);
}

.be-sm-plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}

.be-sm-plans__grid.is-single {
  max-width: 440px;
  margin-inline: auto;
}

.be-sm-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1.5px solid var(--be-line);
  border-radius: 28px;
  background: var(--be-white);
}

.be-sm-plan.is-featured {
  border-color: var(--be-coral-soft);
  box-shadow: 0 18px 44px rgba(255, 111, 97, 0.16);
}

.be-sm-plan__flag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--be-maroon);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.be-sm-plan__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sm-plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.be-sm-plan__price strong {
  font-family: var(--be-font-display);
  font-size: 36px;
  color: var(--be-ink);
}

.be-sm-plan__price s {
  font-size: 15px;
  color: var(--be-muted);
}

.be-sm-plan__save {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--be-color-status-success, #dce8cf);
  color: var(--be-color-text-success, #2a8e7d);
  font-size: 11px;
  font-weight: 700;
}

.be-sm-plan__once {
  margin-top: 4px;
  font-size: 12px;
  color: var(--be-muted);
}

.be-sm-plan__group {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--be-maroon);
}

.be-sm-plan .be-sc-ticks {
  margin: 8px 0 0;
}

.be-sm-plan__cta {
  margin-top: auto;
  padding-top: 20px;
}

.be-sm-trust {
  margin: 80px calc(-1 * var(--be-gutter)) 0;
  padding: 64px var(--be-gutter);
  background: var(--be-coral-soft);
  text-align: center;
}

.be-sm-trust .be-sm-h2 {
  color: var(--be-white);
}

.be-sm-trust__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.be-sm-trust__list li {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 18px;
  color: var(--be-ink);
}

.be-sm-trust__list span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 249, 244, 0.9);
  color: var(--be-coral);
}

.be-sm-trust__list strong {
  font-size: 15px;
}

.be-sm-faq {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 72px;
  scroll-margin-top: 72px;
}

.be-sm-faq .be-sm-h2 {
  text-align: center;
}

.be-sm-faq__list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.be-sm-faq details {
  border: 1px solid var(--be-line);
  border-radius: 18px;
  background: var(--be-white);
}

.be-sm-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--be-ink);
  list-style: none;
  cursor: pointer;
}

.be-sm-faq summary::-webkit-details-marker {
  display: none;
}

.be-sm-faq summary svg {
  flex: none;
  transition: transform 0.2s ease;
}

.be-sm-faq details[open] summary svg {
  transform: rotate(180deg);
}

.be-sm-faq details p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 22px;
  color: var(--be-ink-soft);
}

/* Join sheet */
.be-sm-join__cc {
  font-size: 14px;
  font-weight: 600;
  color: var(--be-muted);
}

.be-sm-join__gift {
  margin-top: 16px;
}

.be-sm-join__gift summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--be-coral);
  cursor: pointer;
}

.be-sm-join__giftrow {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.be-sm-join__giftrow .be-field {
  min-height: 44px;
}

.be-sm-join__giftmsg {
  margin-top: 6px;
  font-size: 12px;
}

.be-sm-join__giftmsg.is-ok { color: var(--be-color-text-success, #2a8e7d); }
.be-sm-join__giftmsg.is-error { color: var(--be-color-text-error, #b81e40); }

.be-sm-join__sum {
  display: grid;
  gap: 8px;
  margin: 20px 0 16px;
  padding: 16px;
  border-radius: 16px;
  background: var(--be-white);
  font-size: 14px;
}

.be-sm-join__sum div {
  display: flex;
  justify-content: space-between;
}

.be-sm-join__sum div[hidden] {
  display: none;
}

.be-sm-join__sum dt {
  color: var(--be-ink-soft);
}

.be-sm-join__sum .is-total {
  padding-top: 8px;
  border-top: 1px dashed var(--be-line);
  font-weight: 700;
}

.be-sm-join__lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--be-ink);
}

.be-sm-join__step[data-join-step="pay"] .be-btn {
  margin-top: 16px;
}

.be-sm-join__wait {
  margin-top: 12px;
  font-size: 13px;
  color: var(--be-ink-soft);
}

.be-sm-join__back {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
}

.be-sm-join__done {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.be-sm-join__done[hidden] {
  display: none;
}

.be-sm-join__badge {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--be-color-status-success, #dce8cf);
  color: var(--be-color-text-success, #2a8e7d);
}

/* ---------- Tablet-width desktop layout ---------- */
@media (max-width: 1180px) {
  .be-d .be-sc-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .be-d .be-sc-tile { aspect-ratio: 4 / 3; }
  .be-d .be-sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .be-d .be-sc-article__layout,
  .be-d .be-sc-video__layout { grid-template-columns: minmax(0, 1fr); }
  .be-d .be-sc-related { position: static; }
  .be-d .be-sc-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .be-d .be-sm-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .be-d .be-sm-value__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .be-d .be-sm-trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .be-d .be-sm-hero__title { font-size: 64px; line-height: 66px; }
}

@media (max-width: 960px) {
  .be-d .be-sc-feed { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .be-d .be-sc-ask { grid-template-columns: 280px minmax(0, 1fr); }
  .be-d .be-sc-article__top { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone ---------- */
.be-m .be-sc,
.be-m .be-sm {
  padding-bottom: 32px;
}

.be-m .be-sc-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.be-m .be-sc-tile {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}

.be-m .be-sc-tile__body {
  inset: auto 6px 10px;
}

.be-m .be-sc-tile__label {
  font-size: 11px;
  line-height: 14px;
}

.be-m .be-sc-tile__hint {
  display: none;
}

.be-m .be-sc-grow {
  margin-top: 28px;
}

.be-m .be-sc-grow__title {
  text-align: left;
  font-size: 18px;
}

.be-m .be-sc-tabs {
  display: flex;
  width: 100%;
  margin: 12px 0 16px;
}

.be-m .be-sc-tabs a {
  flex: 1;
  min-width: 0;
  padding: 0 8px;
  font-size: 13px;
}

.be-m .be-sc-feed {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.be-m .be-sc-side {
  position: static;
  padding: 0;
  border: 0;
  background: none;
}

.be-m .be-sc-side__group {
  padding: 8px 0 0;
  border: 0;
}

.be-m .be-sc-side__title {
  display: none;
}

.be-m .be-sc-side .be-sc-chips {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.be-m .be-sc-search {
  height: 40px;
}

.be-m .be-sc-list {
  gap: 14px;
}

.be-m .be-sc-post {
  margin: 0 calc(-1 * var(--be-m-pad, 24px) + 8px);
  padding: 14px 14px 12px;
  border-radius: 18px;
}

.be-m .be-sc-post__media.is-multi img {
  height: 240px;
}

.be-m .be-sc-post__media img {
  max-height: 380px;
}

.be-m .be-sc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.be-m .be-sc-grid--video {
  grid-template-columns: minmax(0, 1fr);
}

.be-m .be-sc-acard__body {
  padding: 10px 12px 12px;
}

.be-m .be-sc-acard__title {
  font-size: 14px;
  line-height: 19px;
}

.be-m .be-sc-acard__excerpt {
  display: none;
}

.be-m .be-sc-sheet {
  width: 100%;
  max-width: 100%;
  max-height: 92%;
  margin: auto 0 0;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-radius: 28px 28px 0 0;
}

.be-m .be-sc-sheet .be-sc-compose {
  padding: 0;
  border: 0;
  background: none;
}

.be-m .be-sc-compose__bar,
.be-m .be-sc-compose__preview {
  margin-left: 0;
}

.be-m .be-sc-compose__hint {
  display: none;
}

.be-m .be-sc-article__top {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 0;
}

.be-m .be-sc-article__hero {
  margin: 0 calc(-1 * var(--be-m-pad, 24px) + 8px);
  border-radius: 24px;
}

.be-m .be-sc-article__title {
  font-size: 26px;
  line-height: 34px;
}

.be-m .be-sc-article__layout,
.be-m .be-sc-video__layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.be-m .be-sc-related {
  position: static;
}

.be-m .be-sc-related__list {
  display: flex;
  gap: 12px;
  margin: 0 calc(-1 * var(--be-m-pad, 24px));
  padding: 0 var(--be-m-pad, 24px) 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.be-m .be-sc-related__list > * {
  flex: 0 0 220px;
}

.be-m .be-sc-prose {
  font-size: 15px;
  line-height: 25px;
}

.be-m .be-sc-cta {
  padding: 18px;
}

.be-m .be-sc-player {
  margin: 0 calc(-1 * var(--be-m-pad, 24px) + 8px);
  border-radius: 18px;
}

.be-m .be-sc-video__title {
  font-size: 22px;
  line-height: 30px;
}

.be-m .be-sc-ask-intro {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  border-radius: 24px;
}

.be-m .be-sc-ask-intro img {
  aspect-ratio: 4 / 3;
}

.be-m .be-sc-ask-intro__title {
  font-size: 24px;
  line-height: 32px;
}

.be-m .be-sc-ask {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.be-m .be-sc-threads {
  padding: 0;
  border: 0;
  background: none;
}

.be-m .be-sc-threads__list {
  max-height: none;
}

.be-m .be-sc-askform {
  padding: 18px;
}

.be-m .be-sc-chat {
  min-height: calc(100vh - 220px);
  margin: 0 calc(-1 * var(--be-m-pad, 24px) + 8px);
  border-radius: 20px;
}

.be-m .be-sc-chat__list {
  max-height: none;
  padding: 16px 12px;
}

.be-m .be-sc-msg {
  max-width: 88%;
}

.be-m .be-sc-chat__form {
  position: sticky;
  bottom: 0;
  background: var(--be-white);
  border-radius: 0 0 20px 20px;
}

.be-m .be-sm-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  min-height: 0;
  padding: 8px 0 32px;
}

.be-m .be-sm-hero__title {
  font-size: 52px;
  line-height: 54px;
}

.be-m .be-sm-hero__text {
  font-size: 15px;
}

.be-m .be-sm-hero__ctas .be-btn {
  flex: 1 1 100%;
}

.be-m .be-sm-hero__art {
  max-width: 300px;
}

.be-m .be-sm-float {
  padding: 6px 10px;
  font-size: 10px;
}

.be-m .be-sm-ticker {
  margin: 0 calc(-1 * var(--be-m-pad, 24px));
}

.be-m .be-sm-subnav {
  top: 0;
  width: auto;
  margin: 16px calc(-1 * var(--be-m-pad, 24px) + 8px) 0;
  justify-content: flex-start;
}

.be-m .be-sm-h2 {
  font-size: 30px;
  line-height: 38px;
}

.be-m .be-sm-intro,
.be-m .be-sm-journey,
.be-m .be-sm-plans,
.be-m .be-sm-faq {
  padding-top: 48px;
}

.be-m .be-sm-orbit li {
  width: 92px;
}

.be-m .be-sm-features {
  padding-top: 48px;
}

.be-m .be-sm-feature {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
}

.be-m .be-sm-feature.is-flip .be-sm-feature__copy {
  order: 0;
}

.be-m .be-sm-feature__art {
  aspect-ratio: 16 / 9;
  border-radius: 28px;
}

.be-m .be-sm-feature__title {
  font-size: 24px;
  line-height: 32px;
}

.be-m .be-sm-stages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.be-m .be-sm-value,
.be-m .be-sm-trust {
  margin: 48px calc(-1 * var(--be-m-pad, 24px)) 0;
  padding: 40px var(--be-m-pad, 24px);
}

.be-m .be-sm-value__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.be-m .be-sm-trust__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.be-m .be-sm-plans__grid {
  grid-template-columns: minmax(0, 1fr);
}
