:root {
  color-scheme: dark;
  --bg: #060607;
  --bg-soft: #0d0f11;
  --surface: #141519;
  --surface-soft: #1b1d21;
  --surface-strong: #23262c;
  --ink: #f7f4ef;
  --ink-soft: #c6c1ba;
  --ink-faint: #8b8780;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --pink: #ff3ea6;
  --cyan: #22d2ff;
  --yellow: #f5ea36;
  --orange: #ff7a00;
  --mint: #69f3c7;
  --danger: #ff7b98;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 62, 166, 0.14), transparent 18%),
    radial-gradient(circle at 86% 14%, rgba(34, 210, 255, 0.12), transparent 18%),
    radial-gradient(circle at 18% 88%, rgba(245, 234, 54, 0.08), transparent 22%),
    linear-gradient(180deg, #080809 0%, #050506 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.4;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.02) 18px 19px
    );
}

body::after {
  background:
    radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.26) 100%);
}

body.scroll-lock {
  overflow: hidden;
}

a,
button,
textarea,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(14px, 2.6vw, 28px) 42px;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.16;
  pointer-events: none;
}

.ambient--one {
  top: -100px;
  right: -40px;
  background: var(--pink);
}

.ambient--two {
  bottom: -120px;
  left: -50px;
  background: var(--cyan);
}

.topbar,
main {
  position: relative;
  z-index: 1;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 4;
  transform-origin: top center;
  transition:
    padding 180ms ease,
    border-radius 180ms ease,
    gap 180ms ease,
    top 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.topbar-left,
.topbar-center {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 16px;
  min-width: 0;
  transition: gap 180ms ease;
}

.topbar-center {
  justify-content: center;
  min-width: 0;
}

.topbar-searchslot {
  display: flex;
  align-items: center;
  flex: 1 1 280px;
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
  transition: gap 180ms ease;
}

.brand-lockup__copy strong,
.brand-wordmark,
.feed-intro h1,
.info-hero h1,
.composer-copy h2,
.post-author strong,
.comment-meta strong,
.sidebar-card h3,
.poster-card h2,
.toolbar-card strong,
.brand-mark__tile,
.suggestion-card span,
.reflection-card strong {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
}

.brand-lockup__copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: font-size 180ms ease;
}

.brand-lockup__copy small {
  display: block;
  max-width: 28ch;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
  transition:
    font-size 180ms ease,
    opacity 180ms ease,
    max-width 180ms ease;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 180ms ease;
}

.brand-mark__tile {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 1rem;
  font-weight: 800;
  color: #090909;
  transform: rotate(var(--tile-tilt, 0deg));
  transition:
    width 180ms ease,
    height 180ms ease,
    border-radius 180ms ease,
    font-size 180ms ease,
    transform 180ms ease;
}

.brand-mark__tile:nth-child(1) {
  background: var(--pink);
}

.brand-mark__tile:nth-child(2) {
  background: var(--cyan);
}

.brand-mark__tile:nth-child(3) {
  background: var(--yellow);
}

.brand-mark__tile:nth-child(4) {
  background: #f7f4ef;
}

.brand-mark--compact .brand-mark__tile {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.82rem;
}

.topnav,
.topbar-meta,
.eyebrow-row,
.composer-head,
.post-head,
.post-actions,
.comment-composer__head,
.comment-composer__footer,
.composer-footer,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topnav {
  flex-wrap: nowrap;
  justify-content: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    min-height 180ms ease,
    padding 180ms ease,
    font-size 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.topnav-link:hover,
.topnav-link.is-active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.topbar-meta {
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  transition: gap 180ms ease;
}

.topbar-status,
.mini-tag,
.hero-pill,
.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  transition:
    min-height 180ms ease,
    padding 180ms ease,
    font-size 180ms ease,
    opacity 180ms ease;
}

body.has-scrolled .topbar {
  top: 8px;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(8, 8, 10, 0.95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

body.has-scrolled .topbar-left {
  gap: 12px;
}

body.has-scrolled .brand-lockup {
  gap: 10px;
}

body.has-scrolled .brand-mark--compact {
  gap: 4px;
}

body.has-scrolled .brand-mark--compact .brand-mark__tile {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  font-size: 0.76rem;
}

body.has-scrolled .brand-lockup__copy strong {
  font-size: 0.9rem;
}

body.has-scrolled .brand-lockup__copy small {
  max-width: 0;
  font-size: 0.68rem;
  opacity: 0;
}

body.has-scrolled .topnav-link {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.84rem;
}

body.has-scrolled .topbar-status,
body.has-scrolled .mini-tag {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.72rem;
}

body.has-scrolled .topbar-status {
  gap: 0;
}

body.has-scrolled .search-shell--header {
  min-height: 40px;
  max-width: 240px;
}

.topbar-status {
  background: rgba(255, 255, 255, 0.04);
}

.topbar-status__text,
.mini-tag--supporting {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  transition:
    max-width 180ms ease,
    opacity 180ms ease,
    padding 180ms ease,
    border-width 180ms ease;
}

body.has-scrolled .topbar-status__text,
body.has-scrolled .mini-tag--supporting {
  max-width: 0;
  opacity: 0;
}

body.has-scrolled .mini-tag--supporting {
  padding-inline: 0;
  border-width: 0;
  min-height: 0;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(105, 243, 199, 0.18);
}

.mini-tag {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.mini-tag--live,
.hero-pill--yellow,
.primary-button {
  color: #090909;
  background: var(--yellow);
  border-color: transparent;
}

.hero-pill--pink {
  color: var(--ink);
  background: rgba(255, 62, 166, 0.14);
  border-color: rgba(255, 62, 166, 0.32);
}

.mini-tag--tone {
  background: color-mix(in srgb, var(--tag-accent, var(--cyan)) 14%, rgba(255, 255, 255, 0.03));
  border-color: color-mix(in srgb, var(--tag-accent, var(--cyan)) 34%, transparent);
}

.hero-pill-row,
.composer-stickers,
.post-tags,
.post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

.text-link,
.back-link,
.toolbar-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.search-shell--header {
  min-width: 180px;
  max-width: 300px;
  flex: 1 1 240px;
  transition:
    min-height 180ms ease,
    max-width 180ms ease,
    padding 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.search-shell__icon {
  color: var(--ink-faint);
}

.search-shell__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-shell__input::placeholder {
  color: var(--ink-faint);
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 24, 28, 0.95), rgba(12, 13, 15, 0.98));
  box-shadow: var(--shadow);
}

.social-layout {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 780px);
  justify-content: center;
  gap: 24px;
  align-items: start;
}

.social-sidebar,
.social-feed,
.feed-stack,
.page-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-sidebar {
  position: sticky;
  top: 96px;
}

.social-feed {
  min-width: 0;
}

.poster-card,
.sidebar-profile,
.sidebar-card,
.composer-card,
.post-card,
.legend-card,
.info-note,
.coach-modal {
  padding: 18px;
}

.poster-card::before,
.story-card::before,
.post-card::before,
.coach-modal::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.poster-card--sidebar::before {
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 52% 48% 64% 36% / 38% 58% 42% 62%;
  background: rgba(255, 62, 166, 0.18);
}

.poster-card h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 0.98;
  max-width: 11ch;
}

.poster-card p,
.sidebar-copy,
.sidebar-principle p,
.feed-intro__text,
.page-lead,
.info-card p,
.info-list,
.vibe-caption,
.inline-review p,
.coach-copy,
.coach-summary,
.suggestion-card p,
.reflection-card p,
.comment-body p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.sidebar-profile__note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.sidebar-menu {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-card h3 {
  margin: 10px 0 4px;
  font-size: 1.16rem;
}

.sidebar-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sidebar-chip-row--stacked {
  margin-top: 6px;
}

.sidebar-metrics {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sidebar-metrics div,
.sidebar-principle + .sidebar-principle {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.sidebar-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-metrics span,
.sidebar-list {
  color: var(--ink-soft);
}

.sidebar-principles {
  display: grid;
  gap: 12px;
}

.sidebar-principle strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.sidebar-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.sidebar-list li {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.vibe-block {
  padding: 16px;
  margin-top: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.vibe-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vibe-selector--compact {
  gap: 8px;
}

.vibe-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 800;
}

.vibe-selector--compact .vibe-pill {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 0.84rem;
}

.vibe-pill__icon {
  color: var(--vibe-accent, var(--cyan));
}

.vibe-pill.is-active {
  border-color: color-mix(in srgb, var(--vibe-accent, var(--cyan)) 42%, transparent);
  background: color-mix(in srgb, var(--vibe-accent, var(--cyan)) 14%, rgba(255, 255, 255, 0.03));
}

.vibe-caption {
  margin-top: 12px;
  font-size: 0.92rem;
}

.feed-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 0;
}

.feed-intro h1 {
  margin: 6px 0 0;
  font-size: 1.55rem;
  line-height: 1.05;
}

.info-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 0.92;
}

.feed-intro__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.feed-intro__poster {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(34, 210, 255, 0.06), rgba(255, 62, 166, 0.08));
}

.feed-intro__poster::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -10px;
  width: 72px;
  height: 72px;
  border-radius: 46% 54% 39% 61% / 58% 41% 59% 42%;
  background: rgba(34, 210, 255, 0.18);
  pointer-events: none;
}

.poster-card__kicker,
.story-card__label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feed-intro__poster strong {
  display: block;
  margin: 12px 0 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  line-height: 1.08;
}

.poster-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.poster-stat {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.poster-stat span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.poster-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
}

.story-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.12), rgba(8, 8, 10, 0.78)),
    color-mix(in srgb, var(--story-accent) 22%, #15171a);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.story-card::before {
  right: -24px;
  top: -24px;
  width: 96px;
  height: 96px;
  border-radius: 46% 54% 61% 39% / 53% 35% 65% 47%;
  background: color-mix(in srgb, var(--story-accent) 60%, transparent);
  opacity: 0.82;
}

.story-card::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 46px;
  height: 12px;
  background: repeating-linear-gradient(135deg, rgba(247, 244, 239, 0.96) 0 5px, transparent 5px 10px);
  opacity: 0.78;
}

.story-card:nth-child(2)::before {
  border-radius: 62% 38% 53% 47% / 42% 67% 33% 58%;
}

.story-card:nth-child(3)::before {
  border-radius: 34% 66% 49% 51% / 54% 37% 63% 46%;
}

.story-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-weight: 800;
}

.story-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  line-height: 1.08;
}

.story-card__mark {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(247, 244, 239, 0.34);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.composer-card,
.post-card {
  border-top: 2px solid var(--panel-accent, var(--cyan));
}

.post-card {
  border-top-color: var(--post-accent, var(--cyan));
}

.composer-card::before {
  display: none;
}

.post-card::before {
  right: -10px;
  bottom: -24px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--post-accent, var(--cyan)) 14%, transparent);
}

.composer-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.composer-user strong,
.comment-composer__head strong,
.comment-meta strong {
  display: block;
}

.composer-user span,
.post-author span,
.comment-meta span,
.comment-composer__head span,
.composer-copy p {
  color: var(--ink-soft);
}

.composer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  margin: 18px 0 16px;
}

.composer-head {
  margin-bottom: 14px;
}

.composer-tools {
  margin-top: 12px;
}

.card-kicker {
  margin: 0;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.composer-copy h2 {
  margin: 10px 0 4px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 0.98;
  max-width: 12ch;
}

.page-lead {
  max-width: 38ch;
}

.sticker {
  border-color: transparent;
  color: #090909;
  background: var(--yellow);
}

.sticker--dark {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.composer-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 5, 6, 0.55);
  padding: 14px 14px 16px;
  color: var(--ink);
  resize: vertical;
  line-height: 1.7;
}

.composer-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--panel-accent, var(--cyan)) 46%, transparent);
  box-shadow: 0 0 0 4px rgba(34, 210, 255, 0.08);
}

.composer-input::placeholder {
  color: var(--ink-faint);
}

.review-slot {
  flex: 1;
}

.inline-review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
}

.inline-review--idle {
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.inline-review--red {
  background: rgba(255, 123, 152, 0.1);
  border-color: rgba(255, 123, 152, 0.18);
}

.inline-review--yellow {
  background: rgba(255, 122, 0, 0.1);
  border-color: rgba(255, 122, 0, 0.18);
}

.inline-review--green,
.inline-review--blue {
  background: rgba(105, 243, 199, 0.1);
  border-color: rgba(105, 243, 199, 0.18);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  margin: 12px 0 10px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
}

.score-pill small {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.score-pill--compact {
  margin: 0;
  padding: 8px 10px;
  gap: 8px;
  font-size: 0.84rem;
}

.score-pill--red {
  color: #ffd7de;
  background: rgba(255, 123, 152, 0.12);
  border-color: rgba(255, 123, 152, 0.22);
}

.score-pill--yellow {
  color: #ffe1bf;
  background: rgba(255, 122, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.22);
}

.score-pill--green {
  color: #d7fff3;
  background: rgba(105, 243, 199, 0.12);
  border-color: rgba(105, 243, 199, 0.22);
}

.score-pill--blue {
  color: #dff6ff;
  background: rgba(34, 210, 255, 0.12);
  border-color: rgba(34, 210, 255, 0.22);
}

.primary-button,
.ghost-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
}

.primary-button--small {
  min-height: 40px;
  padding-inline: 16px;
}

.ghost-button,
.ghost-button--small {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.ghost-button--small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.danger-button {
  color: var(--ink);
  background: rgba(255, 62, 166, 0.18);
  border-color: rgba(255, 62, 166, 0.28);
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-weight: 800;
  color: #090909;
  background: linear-gradient(135deg, var(--avatar-accent), #f7f4ef);
}

.avatar--lg {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1rem;
}

.avatar--md {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-size: 0.92rem;
}

.avatar--sm {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 0.84rem;
}

.post-head,
.post-actions,
.comment-composer__footer,
.composer-footer,
.comment-composer__head {
  justify-content: space-between;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-text {
  margin: 18px 0 16px;
  font-size: 1.04rem;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.post-tags span,
.toolbar-card,
.toolbar-link {
  border: 1px solid var(--line);
}

.post-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.post-actions {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.comment-composer {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.comment-composer__head {
  margin-bottom: 12px;
}

.composer-input--comment {
  min-height: 110px;
}

.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.comment-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.comment-body p {
  margin-top: 6px;
}

.feed-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.toolbar-card,
.toolbar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 82px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.toolbar-label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.toolbar-link {
  justify-content: center;
  text-align: center;
}

.feed-listing__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-main--info {
  max-width: 980px;
  margin: 0 auto;
}

.info-hero {
  gap: 10px;
}

.info-grid,
.legend-list,
.suggestion-grid {
  display: grid;
  gap: 14px;
}

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

.info-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.info-card strong,
.legend-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.legend-item,
.suggestion-card,
.reflection-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.legend-item--red {
  background: rgba(255, 123, 152, 0.08);
}

.legend-item--yellow {
  background: rgba(255, 122, 0, 0.08);
}

.legend-item--green {
  background: rgba(105, 243, 199, 0.08);
}

.legend-item--blue {
  background: rgba(34, 210, 255, 0.08);
}

.info-list {
  margin-top: 14px;
  padding-left: 18px;
}

.info-list li + li {
  margin-top: 10px;
}

.back-link {
  width: fit-content;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(10px);
}

.coach-modal {
  width: min(920px, 100%);
  max-height: min(88vh, 960px);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(24, 25, 28, 0.98), rgba(10, 10, 12, 1)),
    linear-gradient(135deg, rgba(34, 210, 255, 0.06), rgba(255, 62, 166, 0.08));
}

.coach-modal::before {
  right: -40px;
  top: -26px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 210, 255, 0.2) 0%, transparent 72%);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 1.5rem;
}

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

.suggestion-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.suggestion-card:nth-child(1) {
  border-color: rgba(105, 243, 199, 0.26);
}

.suggestion-card:nth-child(2) {
  border-color: rgba(255, 122, 0, 0.26);
}

.suggestion-card:nth-child(3) {
  border-color: rgba(34, 210, 255, 0.26);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar-meta {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
  }

  .social-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-sidebar {
    position: static;
  }

  .story-row,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feed-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar-left,
  .topbar-meta,
  .composer-body,
  .comment-composer__footer,
  .composer-footer,
  .post-head,
  .post-actions,
  .comment-composer__head,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-center {
    justify-content: flex-start;
  }

  .topbar-meta {
    justify-self: stretch;
    justify-content: flex-start;
  }

  .topnav {
    justify-content: flex-start;
  }

  .feed-intro__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-shell--header {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .feed-listing__head {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 720px) {
  .page-shell {
    padding-inline: 12px;
  }

  .story-row,
  .feed-toolbar,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .poster-card,
  .sidebar-profile,
  .sidebar-card,
  .composer-card,
  .post-card,
  .legend-card,
  .info-note,
  .coach-modal,
  .feed-intro {
    padding: 18px;
    border-radius: 24px;
  }

  .brand-mark__tile {
    width: 34px;
    height: 34px;
  }

  .feed-intro h1,
  .info-hero h1 {
    font-size: 2.4rem;
  }
}
