/* Round 2: follows, comments, notifications, search, leaderboards, streaks, Gold.
   Built only from the tokens in base.css, so light / dark themes just work. */

.narrow {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 8px var(--gutter) 40px;
}

.page-head {
  padding: 10px 0 18px;
}
.page-head__title {
  margin: 0;
  font-size: clamp(34px, 7vw, 44px);
  line-height: 1.05;
}
.page-head__title em {
  color: var(--accent);
}
.page-head__sub {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

/* --- Bell, streak chip -------------------------------------------------------------------- */
.bell {
  position: relative;
  display: inline-flex;
}
.bell__dot {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--brand-3);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}

.streak-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px 0 8px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--fire-2) 18%, transparent);
  color: var(--fire-text);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  font-variant-numeric: tabular-nums;
}
.streak-chip svg {
  fill: currentColor;
  fill-opacity: 0.25;
}
.topbar__actions .streak-chip {
  margin-right: 4px;
}
.streak-chip.is-risk,
.streak-count.is-risk {
  animation: streak-pulse 1.8s var(--ease) infinite;
}
.streak-count {
  color: var(--fire-text) !important;
  font-weight: 800 !important;
}
@keyframes streak-pulse {
  50% {
    opacity: 0.55;
  }
}

/* --- Gold avatar ring and mark ---------------------------------------------------------------- */
.avatar--gold::before {
  content: '';
  position: absolute;
  inset: calc((var(--ring-w, 2px) + var(--ring-gap, 2px)) * -1);
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--gold-1), var(--gold-2), var(--gold-3), var(--gold-2), var(--gold-1));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-w, 2px)), #000 calc(100% - var(--ring-w, 2px) + 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-w, 2px)), #000 calc(100% - var(--ring-w, 2px) + 0.5px));
}
.pr-gold {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--gold);
  color: #3b2606;
  vertical-align: middle;
  flex: none;
}

/* --- Feed tabs and card comment link ------------------------------------------------------------ */
.feed-tabs {
  display: flex;
  gap: 4px;
  margin: 4px 0 14px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.feed-tab {
  flex: 1;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease);
}
.feed-tab.is-active {
  background: var(--surface-3);
  color: var(--text);
}
.jc__comments {
  display: block;
  margin: 4px 0 2px;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none !important;
}

/* --- Comments ------------------------------------------------------------------------------------- */
.jd-comments {
  margin-top: 22px;
  scroll-margin-top: calc(var(--topbar-h) + 16px);
}
.jd-comments__n {
  color: var(--text-3);
  font-weight: 650;
}
.comments {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.comments__empty,
.comments__login {
  color: var(--text-3);
  font-size: 14px;
}
.comment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}
.comment__avatar {
  padding-top: 1px;
}
.comment__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.comment__user {
  font-weight: 750;
  color: var(--text);
  margin-right: 2px;
}
.comment__meta {
  display: block;
  margin-top: 3px;
  color: var(--text-3);
  font-size: 12px;
  white-space: normal;
}
.comment__delete {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.comment__delete:hover {
  color: var(--danger);
}
.comment-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--surface);
}
.comment-form .avatar {
  margin-bottom: 6px;
}
.comment-form textarea {
  flex: 1;
  min-height: 36px;
  max-height: 160px;
  padding: 8px 0;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
}
.comment-form__send {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 18px;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.comment-form__send:disabled {
  opacity: 0.5;
}
.comment-form:has(textarea:placeholder-shown) .comment-form__send {
  opacity: 0.45;
}

/* --- People lists -------------------------------------------------------------------------------- */
.people-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 6px 4px;
}
.person .user-link {
  flex: 1;
}
.person .avatar--sm {
  --s: 44px;
}
.follow-btn {
  flex: none;
  min-width: 96px;
}

/* Profile: followers / following / streak line */
.pr-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-2);
}
.pr-social button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.pr-social strong {
  color: var(--text);
  font-weight: 800;
}
.pr-follows-you {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-3);
  font-size: 12px;
  font-weight: 700;
}
.pr-streak {
  height: 26px;
  margin-left: 4px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0;
}
/* Phones: two equal buttons plus the square "more" button on one row. */
.pr-actions:has(> .pr-btn--icon) {
  grid-template-columns: 1fr 1fr auto;
}
.pr-btn--icon {
  width: var(--btn-h);
  padding: 0;
}

/* --- Search ------------------------------------------------------------------------------------------ */
.search-box {
  position: sticky;
  top: calc(var(--topbar-h) + var(--safe-t) + 6px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin: 4px 0 18px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-3);
  box-shadow: 0 0 0 1px var(--line);
}
@media (min-width: 1024px) {
  .search-box {
    top: 14px;
  }
}
.search-box:focus-within {
  box-shadow: 0 0 0 2px var(--accent);
}
.search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.search-hint {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 48px 20px;
  text-align: center;
  color: var(--text-2);
}
.search-hint__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--accent);
}
.search-group + .search-group {
  margin-top: 22px;
}
.search-group__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-place {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-radius: var(--radius-m);
  color: var(--text);
  text-decoration: none !important;
}
.search-place:hover {
  background: var(--surface);
}
.search-place__flag {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 24px;
  flex: none;
}
.search-place__text {
  display: grid;
  flex: 1;
  min-width: 0;
}
.search-place__text small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-size: 13px;
}
.search-place__count {
  color: var(--text-3);
  font-size: 12.5px;
  white-space: nowrap;
}
.search-empty {
  padding: 30px 0;
  text-align: center;
}

/* --- Place page ----------------------------------------------------------------------------------- */
.place-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px 0 26px;
  text-align: center;
}
.place-head__flag {
  font-size: 54px;
  line-height: 1;
}
.place-head__title {
  margin: 6px 0 0;
  font-size: clamp(40px, 9vw, 60px);
  line-height: 1;
}
.place-head__sub {
  margin: 0;
  color: var(--text-2);
}
.place-head__count {
  margin: 4px 0 10px;
  color: var(--ok);
  font-size: 13px;
  font-weight: 700;
}

/* --- Notifications ------------------------------------------------------------------------------------ */
.notes-group + .notes-group {
  margin-top: 18px;
}
.notes-group__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
}
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  border-radius: var(--radius-m);
}
.note.is-unread {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.note__main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  color: var(--text);
  text-decoration: none !important;
}
.note__avatar {
  position: relative;
  flex: none;
}
.note__avatar .avatar--sm {
  --s: 44px;
}
.note__sys {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--accent);
}
.note__kind {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 0 0 2px var(--bg);
}
.note__kind--like {
  background: #e5484d;
  color: #fff;
}
.note__kind--comment {
  background: var(--blue);
  color: #fff;
}
.note__kind--follow {
  background: var(--ok);
  color: #04221f;
}
.note__kind--gold {
  background: var(--gold-2);
  color: #3b2606;
}
.note__text {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.note__text .tick {
  margin-left: 2px;
}
.note__time {
  margin-left: 6px;
  color: var(--text-3);
  font-size: 12.5px;
  white-space: nowrap;
}
.note__thumb {
  flex: none;
}
.note__thumb img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

/* --- Leaderboard ------------------------------------------------------------------------------------------ */
.board-controls {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.segmented {
  display: flex;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.segmented__item {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease);
}
.segmented__item.is-active {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: var(--highlight);
}
[data-board-body] {
  transition: opacity var(--dur-2) var(--ease);
}
[data-board-body].is-loading {
  opacity: 0.5;
}
.podium {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}
.podium:has(> :only-child) {
  grid-template-columns: minmax(0, 220px);
  justify-content: center;
}
.podium__step {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
}
.podium__who {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  text-decoration: none !important;
}
.podium__medal {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(140%, -10%);
  font-size: 24px;
}
.podium__step--1 .podium__medal {
  transform: translate(190%, -10%);
}
.podium__name {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 750;
}
.podium__value {
  color: var(--text-2);
  font-size: 12.5px;
}
.podium__value strong {
  color: var(--text);
  font-size: 15px;
}
.podium__block {
  display: grid;
  place-items: start center;
  width: 100%;
  padding-top: 10px;
  border-radius: 14px 14px 4px 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--text-3);
}
.podium__step--1 .podium__block {
  height: 96px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold-2) 30%, var(--surface-2)), var(--surface-2));
  color: var(--gold-text);
}
.podium__step--2 .podium__block {
  height: 72px;
}
.podium__step--3 .podium__block {
  height: 56px;
}
.podium__step.is-me .podium__block {
  border-color: var(--accent);
}
.board {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  overflow: hidden;
}
.board--me {
  margin-top: 10px;
}
.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.board-row + .board-row {
  border-top: 1px solid var(--line);
}
.board-row.is-me {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.board-row__rank {
  width: 28px;
  color: var(--text-3);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  flex: none;
}
.board-row .user-link {
  flex: 1;
}
.board-row__value {
  color: var(--text-2);
  font-size: 13px;
  white-space: nowrap;
}
.board-row__value strong {
  color: var(--text);
  font-size: 15px;
}
.board-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}
.board-cta svg {
  color: var(--brand-2);
}

/* --- Streaks ------------------------------------------------------------------------------------------- */
.streak-hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 34px 20px 26px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--fire-3) 26%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.streak-hero.is-out {
  background: var(--surface);
}
.streak-flame {
  position: relative;
  display: inline-grid;
  place-items: center;
  color: var(--fire-2);
}
.streak-flame svg {
  fill: currentColor;
  fill-opacity: 0.18;
  filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--fire-3) 60%, transparent));
}
.streak-flame--lg {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--fire-2) 24%, transparent), transparent 70%);
}
.streak-flame--lg svg {
  width: 92px;
  height: 92px;
  fill: currentColor;
  fill-opacity: 1;
  stroke: var(--fire-3);
  animation: flame-flicker 2.4s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.streak-flame--lg .streak-flame__n {
  position: absolute;
  bottom: 30px;
  font-size: 28px;
  font-weight: 800;
  color: var(--on-fire);
  font-variant-numeric: tabular-nums;
}
.streak-flame.is-out {
  color: var(--text-3);
}
.streak-flame.is-out svg {
  animation: none;
  filter: none;
  stroke: currentColor;
  fill-opacity: 0.2;
}
.streak-flame.is-out .streak-flame__n {
  color: var(--text-2);
}
.streak-flame.is-risk svg {
  animation-duration: 1.2s;
}
@keyframes flame-flicker {
  0%,
  100% {
    transform: scale(1) rotate(0);
  }
  30% {
    transform: scale(1.04, 0.98) rotate(-1.5deg);
  }
  60% {
    transform: scale(0.98, 1.04) rotate(1.5deg);
  }
}
.streak-hero__title {
  margin: 4px 0 0;
  font-size: clamp(32px, 7vw, 42px);
  line-height: 1.05;
}
.streak-hero__title em {
  color: var(--fire-text);
}
.streak-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}
.streak-hero.is-risk .streak-hero__status {
  color: var(--warn);
  font-weight: 650;
}
.streak-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 420px;
  margin: 14px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg);
}
.streak-stats div {
  padding: 10px 6px;
}
.streak-stats div + div {
  border-left: 1px solid var(--line);
}
.streak-stats dt {
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.streak-stats dd {
  margin: 2px 0 0;
  font-weight: 800;
}
.streak-how,
.streak-buddies {
  margin-top: 26px;
}
.streak-how h2,
.streak-buddies h2 {
  margin: 0 0 10px;
  font-size: 17px;
}
.streak-how ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.streak-how li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}
.streak-how li svg {
  flex: none;
  margin-top: 1px;
  color: var(--accent);
}
.streak-how strong {
  color: var(--text);
}
.buddies {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}
.buddy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}
.buddy + .buddy {
  border-top: 1px solid var(--line);
}
.buddy .avatar--sm {
  --s: 44px;
}
.buddy__streak {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--fire-text);
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.buddy__streak svg {
  fill: currentColor;
  fill-opacity: 0.25;
}
.buddy.is-risk .buddy__streak {
  animation: streak-pulse 1.8s var(--ease) infinite;
}
.streak-buddies .btn {
  margin-top: 10px;
}

/* --- Gold ------------------------------------------------------------------------------------------------ */
.gold-hero {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 30px 12px 22px;
  text-align: center;
}
.gold-hero__crown {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gold);
  color: #3b2606;
  box-shadow:
    0 18px 40px -14px rgb(242 195 91 / 0.65),
    inset 0 1px 0 rgb(255 255 255 / 0.6);
}
.gold-hero__kicker {
  margin: 10px 0 0;
  color: var(--gold-text);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gold-hero__title {
  margin: 0;
  font-size: clamp(36px, 8vw, 52px);
  line-height: 1.02;
}
.gold-hero__title em {
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-hero__sub {
  max-width: 440px;
  margin: 6px 0 0;
  color: var(--text-2);
}
.gold-perks {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 0 0 24px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}
.gold-perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
}
.gold-perk__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold-2) 16%, transparent);
  color: var(--gold-text);
  flex: none;
}
.gold-perk strong {
  display: block;
  font-size: 15px;
}
.gold-perk small {
  display: block;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.4;
}
.gold-plans {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.gold-plan {
  position: relative;
  display: block;
  cursor: pointer;
}
.gold-plan input {
  position: absolute;
  opacity: 0;
}
.gold-plan__body {
  display: grid;
  gap: 2px;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-l);
  background: var(--surface);
  transition:
    border-color var(--dur-2) var(--ease),
    background-color var(--dur-2) var(--ease);
}
.gold-plan__body::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  box-sizing: border-box;
}
.gold-plan input:checked + .gold-plan__body {
  border-color: var(--gold-2);
  background: color-mix(in srgb, var(--gold-2) 8%, var(--surface));
}
.gold-plan input:checked + .gold-plan__body::before {
  border: 6px solid var(--gold-2);
}
.gold-plan input:focus-visible + .gold-plan__body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.gold-plan__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.gold-plan__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #3b2606;
  font-size: 11px;
  font-weight: 800;
}
.gold-plan__price {
  color: var(--text-2);
}
.gold-plan__price strong {
  color: var(--text);
  font-size: 20px;
}
.gold-plan__note {
  color: var(--text-3);
  font-size: 12.5px;
}
.gold-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--text-2);
  text-align: center;
}
.gold-fine {
  margin: 10px 0 0;
  color: var(--text-3);
  font-size: 12.5px;
  text-align: center;
}

/* --- Post: streak + share card ------------------------------------------------------------------------- */
.pf-streak {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 18px auto 0;
  padding: 12px 12px 12px 14px;
  border-radius: var(--radius-l);
  background: color-mix(in srgb, var(--fire-2) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--fire-2) 30%, transparent);
  text-align: left;
  animation: pf-streak-in 600ms var(--ease-spring) 700ms both;
}
.pf-streak__flame {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fire);
  color: var(--on-fire);
  flex: none;
}
.pf-streak__text {
  display: grid;
  flex: 1;
}
.pf-streak__text small {
  color: var(--text-2);
  font-size: 12.5px;
}
.pf-streak__link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-2);
}
@keyframes pf-streak-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}
.pf-share-card {
  margin-bottom: 10px;
}

/* --- Menu, admin bits ------------------------------------------------------------------------------------- */
.menu-legal {
  margin: 14px 0 4px;
  text-align: center;
}
.ad-heard {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: var(--radius-m);
  background: var(--surface-2);
}
.ad-heard .ad-kicker {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ad-heard__text {
  margin: 4px 0;
  font-style: italic;
  overflow-wrap: anywhere;
}
.ad-heard__note {
  margin: 0;
  color: var(--text-3);
  font-size: 12.5px;
}
.own__pill--gold {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold) !important;
  color: #3b2606 !important;
}

@media (prefers-reduced-motion: reduce) {
  .streak-flame--lg svg,
  .streak-chip.is-risk,
  .streak-count.is-risk,
  .buddy.is-risk .buddy__streak,
  .pf-streak {
    animation: none;
  }
}

/* --- Professional profiles, private accounts, insights ------------------------------------- */
.pr-category {
  margin: 2px 0 0;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 650;
}
.pr-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 650;
}
.pr-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.pr-actions:has(> .pr-btn--icon + .pr-btn--icon) {
  grid-template-columns: 1fr 1fr auto auto;
}
.pr-locked .pr-empty__icon {
  color: var(--text-2);
}
.note__decide {
  display: flex;
  gap: 6px;
  flex: none;
}
.note__done {
  flex: none;
  font-size: 13px;
}
.insights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.insight {
  display: grid;
  gap: 2px;
  padding: 14px;
  border-radius: var(--radius-m);
  background: var(--surface-2);
}
.insight strong {
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.insight span {
  color: var(--text-2);
  font-size: 13px;
}
.insights__total {
  margin: 12px 0 0;
  color: var(--text-2);
  text-align: center;
}
.insights__h {
  margin: 18px 0 6px;
  font-size: 15px;
}
.insights__top {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.insights__top li span {
  display: block;
  color: var(--text-3);
  font-size: 12.5px;
}
@media (min-width: 768px) {
  .pr-links {
    grid-column: 2;
  }
}
