/* Home page */
.rn-home-page{
  background: var(--rn-page-bg);
}

.rn-home-page .rn-shell{
  max-width: 72rem;
  padding-top: 0.9rem;
  padding-bottom: 1.4rem;
}

.rn-home-continue,
.rn-home-hero,
.rn-home-stats,
.rn-home-section,
.rn-home-guest{
  border: 1px solid color-mix(in srgb, var(--rn-border) 90%, transparent);
  background: color-mix(in srgb, var(--rn-surface-strong) 96%, white 4%);
  box-shadow: var(--rn-shadow-xs);
}

.rn-home-continue{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1.05rem;
}

.rn-home-continue__copy{
  color: var(--rn-text-soft);
  font-size: 0.86rem;
}

.rn-home-continue__copy strong{
  color: var(--rn-text);
}

.rn-home-continue__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rn-home-continue__actions .rn-btn{
  min-height: 2.15rem;
  padding-inline: 0.9rem;
  font-size: 0.8rem;
}

.rn-home-hero{
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 1.35rem;
}

.rn-home-hero__eyebrow,
.rn-home-section-kicker,
.rn-home-guest__eyebrow{
  color: var(--rn-brand-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rn-home-hero__title,
.rn-home-guest__title{
  margin: 0.2rem 0 0;
  color: var(--rn-text);
  font-size: clamp(1.9rem, 5.5vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.rn-home-hero__subtitle,
.rn-home-guest__copy{
  max-width: 36rem;
  margin: 0.45rem 0 0;
  color: var(--rn-text-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.rn-home-hero__actions{
  display: grid;
  gap: 0.45rem;
}

.rn-home-action-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rn-home-action-row .rn-btn,
.rn-home-guest__actions .rn-btn{
  min-height: 2.6rem;
  padding-inline: 1rem;
  box-shadow: none !important;
}

.rn-home-action-row__primary{
  min-width: 8rem;
}

.rn-home-stats{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
  padding: 0.9rem;
  border-radius: 1.2rem;
}

.rn-home-stat{
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--rn-border) 88%, transparent);
  background: color-mix(in srgb, var(--rn-surface-soft) 92%, white 8%);
}

.rn-home-stat__value{
  color: var(--rn-text);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.rn-home-stat__label{
  margin-top: 0.22rem;
  color: var(--rn-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.rn-home-stat--forest .rn-home-stat__value{ color: #1f6b43; }
.rn-home-stat--warm .rn-home-stat__value{ color: #9a5c0c; }
.rn-home-stat--ink .rn-home-stat__value{ color: #244160; }

.rn-home-section{
  margin-top: 0.8rem;
  padding: 1rem;
  border-radius: 1.3rem;
}

.rn-home-section--compact{
  margin-top: 0;
}

.rn-home-section-grid{
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.rn-home-section__header{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rn-home-section__title{
  margin: 0.18rem 0 0;
  color: var(--rn-text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rn-home-section__link{
  color: var(--rn-brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.rn-home-log-list,
.rn-home-guide-list{
  display: grid;
  gap: 0.7rem;
}

.rn-home-log-card,
.rn-home-guide-card{
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.72rem;
  padding: 0.72rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--rn-border) 90%, transparent);
  background: color-mix(in srgb, var(--rn-surface-soft) 94%, white 6%);
  text-decoration: none;
}

.rn-home-log-card__media,
.rn-home-guide-card__media{
  position: relative;
  overflow: hidden;
  border-radius: 0.82rem;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(135, 163, 48, 0.18), rgba(36, 48, 16, 0.1));
}

.rn-home-log-card__image,
.rn-home-guide-card__image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rn-home-log-card__fallback,
.rn-home-guide-card__fallback{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--rn-text-soft);
}

.rn-home-log-card__fallback svg,
.rn-home-guide-card__fallback svg,
.rn-home-community-card__fallback svg{
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-home-log-card__stacked{
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 1.72rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.72);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.rn-home-log-card__stacked svg{
  width: 0.88rem;
  height: 0.88rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-home-log-card__body,
.rn-home-guide-card__body{
  min-width: 0;
}

.rn-home-log-card__topline,
.rn-home-guide-card__topline{
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  color: var(--rn-text-muted);
  font-size: 0.72rem;
}

.rn-home-log-card__title,
.rn-home-guide-card__title{
  margin: 0.26rem 0 0;
  color: var(--rn-text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
}

.rn-home-log-card__meta,
.rn-home-guide-card__copy{
  margin: 0.3rem 0 0;
  color: var(--rn-text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.rn-home-card-note{
  margin: 0.28rem 0 0;
  color: var(--rn-text-muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

.rn-home-log-card__chip{
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0 0.48rem;
  border-radius: 999px;
  font-weight: 700;
}

.rn-home-log-card__chip--public{
  background: rgba(223, 247, 214, 0.94);
  color: #1f6b43;
}

.rn-home-log-card__chip--private{
  background: rgba(226, 232, 240, 0.92);
  color: #475569;
}

.rn-home-log-card__chip--easy{
  background: rgba(223, 247, 214, 0.94);
  color: #1f6b43;
}

.rn-home-log-card__chip--moderate{
  background: rgba(255, 239, 199, 0.92);
  color: #9a5c0c;
}

.rn-home-log-card__chip--hard,
.rn-home-log-card__chip--expert{
  background: rgba(254, 226, 226, 0.92);
  color: #b91c1c;
}

.rn-home-log-card__chip--draft{
  background: rgba(226, 232, 240, 0.92);
  color: #475569;
}

.rn-home-log-card__chip--published{
  background: rgba(223, 247, 214, 0.94);
  color: #1f6b43;
}

.rn-home-achievement-grid{
  display: grid;
  gap: 0.7rem;
}

.rn-home-achievement{
  padding: 0.9rem;
  border-radius: 1.05rem;
  border: 1px solid color-mix(in srgb, var(--rn-border) 90%, transparent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 247, 242, 0.98));
}

.rn-home-achievement__topline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.rn-home-achievement__icon{
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 800;
}

.rn-home-achievement__status{
  color: var(--rn-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.rn-home-achievement__title{
  margin: 0.62rem 0 0;
  color: var(--rn-text);
  font-size: 0.97rem;
  font-weight: 800;
}

.rn-home-achievement__copy{
  margin: 0.26rem 0 0;
  color: var(--rn-text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.rn-home-achievement__progressline{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.rn-home-achievement__progressline strong{
  color: var(--rn-text);
  font-size: 0.84rem;
}

.rn-home-achievement__progressline span{
  color: var(--rn-text-muted);
  font-size: 0.72rem;
}

.rn-home-achievement__bar{
  margin-top: 0.48rem;
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.rn-home-achievement__bar span{
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7e9d29, #9fc443);
}

.rn-home-achievement--guide .rn-home-achievement__bar span{
  background: linear-gradient(90deg, #5a88c9, #7cb3ff);
}

.rn-home-achievement--streak .rn-home-achievement__bar span{
  background: linear-gradient(90deg, #ec8d24, #ffb14d);
}

.rn-home-empty{
  padding: 0.95rem;
  border-radius: 1rem;
  border: 1px dashed color-mix(in srgb, var(--rn-border) 90%, transparent);
  background: color-mix(in srgb, var(--rn-surface-soft) 92%, white 8%);
}

.rn-home-empty__title{
  margin: 0;
  color: var(--rn-text);
  font-size: 0.92rem;
  font-weight: 800;
}

.rn-home-empty__copy{
  margin: 0.26rem 0 0;
  color: var(--rn-text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.rn-home-inline-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.rn-home-inline-actions .rn-btn{
  min-height: 2.35rem;
  padding-inline: 0.95rem;
}

.rn-home-guest{
  padding: 1rem;
  border-radius: 1.35rem;
}

.rn-home-guest__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.rn-home-guest__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.75rem;
  color: var(--rn-text-muted);
  font-size: 0.82rem;
}

.rn-home-guest__meta a{
  color: var(--rn-brand-strong);
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 600px){
  .rn-home-stats{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 840px){
  .rn-home-hero{
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    align-items: end;
  }

  .rn-home-section-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-home-log-list,
  .rn-home-guide-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rn-home-log-card,
  .rn-home-guide-card{
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-home-log-card__media,
  .rn-home-guide-card__media{
    aspect-ratio: 1.35 / 1;
  }

  .rn-home-section-grid .rn-home-log-list,
  .rn-home-section-grid .rn-home-guide-list{
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-home-section-grid .rn-home-log-card,
  .rn-home-section-grid .rn-home-guide-card{
    grid-template-columns: 5.25rem minmax(0, 1fr);
  }

  .rn-home-section-grid .rn-home-log-card__media,
  .rn-home-section-grid .rn-home-guide-card__media{
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 599px){
  .rn-home-page .rn-shell{
    padding-top: 0.7rem;
    padding-bottom: 1rem;
  }

  .rn-home-continue{
    align-items: flex-start;
    flex-direction: column;
  }

  .rn-home-continue__actions{
    width: 100%;
  }

  .rn-home-continue__actions .rn-btn{
    flex: 1 1 0;
    justify-content: center;
  }
}

/* Visual polish pass: hero artwork, denser dashboard rhythm, collectible achievements. */
.rn-home-page{
  --home-ink: #101827;
  --home-muted: #536072;
  --home-line: rgba(31, 42, 29, 0.1);
  --home-forest: #628318;
  --home-forest-deep: #48620f;
  --home-soft: #f8faf5;
  background: var(--rn-page-bg);
}

.rn-home-page .rn-shell{
  max-width: 68rem;
  padding-top: 1rem;
}

.rn-home-continue,
.rn-home-hero,
.rn-home-stats,
.rn-home-section,
.rn-home-guest{
  border-color: rgba(31, 42, 29, 0.09);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.06);
}

.rn-home-hero{
  position: relative;
  isolation: isolate;
  min-height: 18.5rem;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.56) 100%),
    #ffffff;
}

.rn-home-hero::after{
  content: "";
  position: absolute;
  inset: auto -8% -34% 18%;
  z-index: -1;
  height: 13rem;
  background: radial-gradient(closest-side, rgba(246, 249, 240, 0.9), transparent 72%);
  pointer-events: none;
}

.rn-home-hero__copy{
  position: relative;
  z-index: 2;
  max-width: 31rem;
}

.rn-home-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.78rem;
  border-radius: 999px;
  background: #f1f6e8;
  color: var(--home-forest-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.rn-home-hero__title,
.rn-home-guest__title{
  margin-top: 0.9rem;
  max-width: 27rem;
  color: var(--home-ink);
  font-size: 2.42rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.rn-home-hero__title span{
  color: var(--home-forest);
}

.rn-home-hero__subtitle{
  max-width: 25rem;
  margin-top: 0.72rem;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.rn-home-hero__visual{
  position: absolute;
  right: -5.5rem;
  bottom: -2.5rem;
  z-index: 1;
  width: min(61%, 34rem);
  pointer-events: none;
}

.rn-home-hero__image{
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.95) contrast(1.02);
}

.rn-home-hero__image--light {
  display: block;
  mix-blend-mode: multiply;
}

.rn-home-hero__image--dark {
  display: none;
  mix-blend-mode: normal;
}

html[data-theme="dark"] .rn-home-hero__image--light {
  display: none;
}

html[data-theme="dark"] .rn-home-hero__image--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .rn-home-hero__image--light {
    display: none;
  }
  html[data-theme="auto"] .rn-home-hero__image--dark {
    display: block;
  }
}

.rn-home-action-row{
  margin-top: 1.28rem;
  gap: 0.7rem;
}

.rn-home-action-row .rn-btn,
.rn-home-guest__actions .rn-btn{
  min-height: 2.72rem;
  border-radius: 0.82rem;
  padding-inline: 1.12rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.rn-home-action-row .rn-btn--secondary{
  border-color: rgba(98, 131, 24, 0.45);
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-forest-deep);
}

.rn-home-stats{
  gap: 0;
  margin-top: 0.78rem;
  padding: 0.62rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
}

.rn-home-stat{
  position: relative;
  display: grid;
  align-content: center;
  min-height: 4.25rem;
  padding: 0.58rem 0.85rem;
  border: 0;
  border-radius: 0.78rem;
  background: transparent;
}

.rn-home-stat + .rn-home-stat::before{
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--home-line);
}

.rn-home-stat__value{
  color: var(--home-ink);
  font-size: 1.42rem;
}

.rn-home-stat__label{
  color: var(--home-muted);
  font-size: 0.78rem;
}

.rn-home-section{
  margin-top: 0.82rem;
  padding: 0.98rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
}

.rn-home-section__header{
  margin-bottom: 0.78rem;
}

.rn-home-section-kicker,
.rn-home-guest__eyebrow{
  color: var(--home-forest-deep);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.rn-home-section__title{
  color: var(--home-ink);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.rn-home-section__link{
  color: var(--home-forest-deep);
}

.rn-home-log-card,
.rn-home-guide-card{
  border-color: rgba(31, 42, 29, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(16, 24, 39, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.rn-home-log-card:hover,
.rn-home-guide-card:hover,
.rn-home-log-card:focus-visible,
.rn-home-guide-card:focus-visible{
  border-color: rgba(98, 131, 24, 0.24);
  box-shadow: none;
  transform: translateY(-1px);
}

.rn-home-log-card__media,
.rn-home-guide-card__media{
  border-radius: 0.72rem;
}

.rn-home-achievement-grid{
  gap: 0.82rem;
}

.rn-home-achievement{
  position: relative;
  overflow: hidden;
  min-height: 11.2rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 0.3px solid var(--rn-border);
  box-shadow: none;
}

.rn-home-achievement::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(10rem 6rem at 50% -8%, rgba(255, 255, 255, 0.72), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.18));
}

.rn-home-achievement > *{
  position: relative;
  z-index: 1;
}

.rn-home-achievement--summit{
  border-color: rgba(130, 164, 46, 0.24);
  background: linear-gradient(145deg, #fbfdf6 0%, #eef6df 100%);
}

.rn-home-achievement--guide{
  border-color: rgba(76, 135, 193, 0.22);
  background: linear-gradient(145deg, #f7fbff 0%, #eaf4ff 100%);
}

.rn-home-achievement--streak{
  border-color: rgba(235, 136, 43, 0.24);
  background: linear-gradient(145deg, #fffaf4 0%, #fff0de 100%);
}

.rn-home-achievement__topline{
  align-items: flex-start;
}

.rn-home-achievement__icon{
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.66);
  color: var(--home-forest);
  font-size: 0;
  box-shadow: inset 0 0 0 1px currentColor, 0 10px 22px rgba(16, 24, 39, 0.08);
}

.rn-home-achievement__icon::before{
  content: "";
  position: absolute;
  inset: -0.35rem;
  border: 2px solid currentColor;
  border-radius: 1.28rem;
  opacity: 0.28;
  transform: rotate(30deg);
}

.rn-home-achievement__icon::after{
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  background: currentColor;
}

.rn-home-achievement__icon svg{
  display: none;
}

.rn-home-achievement--summit .rn-home-achievement__icon::after{
  clip-path: polygon(50% 4%, 97% 92%, 62% 92%, 50% 66%, 38% 92%, 3% 92%);
}

.rn-home-achievement--guide .rn-home-achievement__icon{
  color: #4f88c6;
}

.rn-home-achievement--guide .rn-home-achievement__icon::after{
  width: 1.5rem;
  height: 1.65rem;
  border-radius: 0.18rem;
  clip-path: polygon(15% 0, 75% 0, 100% 25%, 100% 100%, 15% 100%);
}

.rn-home-achievement--streak .rn-home-achievement__icon{
  color: #e98024;
}

.rn-home-achievement--streak .rn-home-achievement__icon::after{
  clip-path: polygon(50% 0, 70% 30%, 62% 45%, 86% 42%, 63% 100%, 34% 100%, 16% 58%, 35% 63%, 28% 33%);
}

.rn-home-achievement__status{
  min-height: 1.45rem;
  padding: 0.18rem 0.54rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #697366;
  font-size: 0.7rem;
}

.rn-home-achievement__title{
  margin-top: 1rem;
  color: var(--home-ink);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.rn-home-achievement__copy{
  color: var(--home-muted);
  font-size: 0.81rem;
}

.rn-home-achievement__progressline{
  margin-top: 0.85rem;
}

.rn-home-achievement__progressline strong{
  font-size: 0.88rem;
}

.rn-home-achievement__bar{
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 39, 0.04);
}

@media (min-width: 600px){
  .rn-home-stats{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 840px){
  .rn-home-hero{
    min-height: 19.5rem;
    grid-template-columns: minmax(0, 1fr);
    padding: 1.45rem 1.55rem;
  }

  .rn-home-hero__title{
    font-size: 3.35rem;
    max-width: 31rem;
  }

  .rn-home-hero__visual{
    right: -4.4rem;
    bottom: -3.2rem;
    width: min(58%, 38rem);
  }
}

@media (min-width: 1120px){
  .rn-home-hero{
    min-height: 20.5rem;
  }

  .rn-home-hero__visual{
    right: -2.8rem;
    width: 36.5rem;
  }
}

@media (max-width: 839px){
  .rn-home-hero{
    padding-bottom: 8.6rem;
  }

  .rn-home-hero__visual{
    right: -5.8rem;
    bottom: -5rem;
    width: min(30rem, 92%);
    opacity: 0.9;
  }
}

@media (max-width: 599px){
  .rn-home-hero{
    min-height: 20rem;
    padding: 1rem 1rem 8.2rem;
  }

  .rn-home-hero__title{
    max-width: 18rem;
    font-size: 2.22rem;
  }

  .rn-home-hero__subtitle{
    max-width: 18.2rem;
    font-size: 0.92rem;
  }

  .rn-home-action-row .rn-btn{
    flex: 1 1 100%;
    justify-content: center;
  }

  .rn-home-stats{
    gap: 0.24rem;
  }

  .rn-home-stat + .rn-home-stat::before{
    display: none;
  }
}

/* Mockup alignment pass. */
.rn-home-page .rn-shell{
  max-width: 62.5rem;
  padding-top: 0.65rem;
}

.rn-home-hero{
  min-height: 23.2rem;
  padding: 1.5rem 1.25rem 1.2rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.rn-home-hero::after{
  display: none;
}

.rn-home-hero__copy{
  max-width: 32rem;
}

.rn-home-hero__eyebrow{
  min-height: 2rem;
  padding-inline: 1rem;
  background: color-mix(in srgb, var(--rn-brand-soft) 72%, var(--rn-surface-soft));
  color: var(--rn-brand-strong);
  font-size: 0.82rem;
}

.rn-home-hero__title{
  max-width: 31rem;
  margin-top: 0.8rem;
  font-size: 3.6rem;
  font-weight: 850;
  line-height: 1.02;
}

.rn-home-hero__subtitle{
  max-width: 25rem;
  margin-top: 0.82rem;
  font-size: 1.08rem;
  line-height: 1.55;
}

.rn-home-hero__visual{
  top: 1.15rem;
  right: -0.9rem;
  bottom: auto;
  width: min(48%, 31rem);
}

.rn-home-hero__image{
  opacity: 0.96;
}

.rn-home-action-row{
  width: min(100%, 46rem);
  margin-top: 1.55rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.1rem;
}

.rn-home-action-row .rn-btn{
  min-height: 3.35rem;
  justify-content: center;
  border-radius: 0.55rem;
  font-size: 1.02rem;
}

.rn-home-action-row__primary{
  min-width: 0;
  box-shadow: none;
}

.rn-home-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  padding: 0.85rem 0.75rem;
  border-radius: 0.85rem;
  background: var(--rn-surface-strong);
  box-shadow: 0 10px 28px rgba(16, 24, 39, 0.07);
}

.rn-home-stat{
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.5rem 0.65rem;
}

.rn-home-stat__icon{
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  color: #6d8c22;
}

.rn-home-stat__icon::before,
.rn-home-stat__icon::after{
  content: "";
  position: absolute;
  inset: 0;
  border: 0.16rem solid currentColor;
}

.rn-home-stat--ridge .rn-home-stat__icon::before{
  border-radius: 0.2rem;
  border-right-width: 0.38rem;
}

.rn-home-stat--ridge .rn-home-stat__icon::after{
  inset: 0.45rem 0.55rem;
  border-width: 0.1rem 0 0;
  box-shadow: 0 0.45rem 0 currentColor, 0 0.9rem 0 currentColor;
}

.rn-home-stat--forest .rn-home-stat__icon{
  color: #566173;
}

.rn-home-stat--forest .rn-home-stat__icon::before{
  border-radius: 999px;
}

.rn-home-stat--forest .rn-home-stat__icon::after{
  inset: 0.58rem;
  border-width: 0.14rem;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.rn-home-stat--warm .rn-home-stat__icon{
  color: #566173;
}

.rn-home-stat--warm .rn-home-stat__icon::before{
  border-radius: 999px;
  transform: rotate(-8deg);
}

.rn-home-stat--warm .rn-home-stat__icon::after{
  inset: 0.6rem 0.76rem 0.5rem;
  border-width: 0;
  border-radius: 999px 999px 0.4rem 0.4rem;
  background: currentColor;
  transform: rotate(45deg);
}

.rn-home-stat--ink .rn-home-stat__icon{
  color: #c05b1d;
}

.rn-home-stat--ink .rn-home-stat__icon::before{
  inset: 0.18rem 0.54rem 0.1rem;
  border: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 70% 32%, 62% 46%, 88% 42%, 65% 100%, 35% 100%, 12% 58%, 34% 64%, 28% 32%);
}

.rn-home-stat--ink .rn-home-stat__icon::after{
  display: none;
}

.rn-home-stat__copy{
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.rn-home-stat__value{
  font-size: 1.42rem;
  line-height: 1;
}

.rn-home-stat__label{
  margin: 0;
  font-size: 0.82rem;
}

.rn-home-section{
  border-radius: 0.95rem;
}

.rn-home-achievement-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.rn-home-achievement{
  min-height: 10.2rem;
  padding: 1rem 0.95rem 0.95rem;
  display: grid;
  justify-items: center;
  text-align: center;
}

.rn-home-achievement__topline{
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.rn-home-achievement__icon{
  width: 3.85rem;
  height: 3.85rem;
  border-radius: 0.95rem;
}

.rn-home-achievement__icon::before{
  inset: -0.34rem;
  border-radius: 1.15rem;
}

.rn-home-achievement__status{
  min-height: 1.25rem;
  padding: 0.12rem 0.5rem;
  font-size: 0.66rem;
}

.rn-home-achievement__title{
  margin-top: 0.68rem;
  font-size: 1rem;
}

.rn-home-achievement__copy{
  max-width: 11.5rem;
  margin-inline: auto;
  font-size: 0.78rem;
  line-height: 1.35;
}

.rn-home-achievement__progressline{
  width: 100%;
  margin-top: 0.62rem;
  align-items: center;
}

.rn-home-achievement__progressline strong{
  font-size: 0.8rem;
}

.rn-home-achievement__progressline span{
  font-size: 0.68rem;
}

.rn-home-achievement__bar{
  width: 100%;
  height: 0.38rem;
}

@media (max-width: 839px){
  .rn-home-page .rn-shell{
    padding-inline: 1rem;
  }

  .rn-home-hero{
    min-height: 21.1rem;
    padding: 1.28rem 1.25rem 1.05rem;
  }

  .rn-home-hero__title{
    max-width: 19rem;
    font-size: 2.95rem;
  }

  .rn-home-hero__subtitle{
    max-width: 19.5rem;
    font-size: 1rem;
  }

  .rn-home-hero__visual{
    top: 1.1rem;
    right: -8.6rem;
    width: 28rem;
  }

  .rn-home-action-row{
    max-width: 34rem;
    gap: 0.82rem;
  }
}

@media (max-width: 620px){
  .rn-home-hero{
    min-height: 20.2rem;
    padding-right: 0.95rem;
  }

  .rn-home-hero__title{
    max-width: 17rem;
    font-size: 2.55rem;
  }

  .rn-home-hero__visual{
    top: 8.7rem;
    right: -5.2rem;
    width: 20rem;
  }

  .rn-home-action-row{
    width: 100%;
    max-width: 100%;
    margin-top: 1.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .rn-home-action-row .rn-btn{
    min-height: 3rem;
    padding-inline: 0.72rem;
    font-size: 0.9rem;
  }

  .rn-home-stats{
    padding: 0.68rem 0.55rem;
  }

  .rn-home-stat{
    min-height: 3.9rem;
    gap: 0.46rem;
    padding-inline: 0.35rem;
  }

  .rn-home-stat__icon{
    width: 1.55rem;
    height: 1.55rem;
  }

  .rn-home-stat__value{
    font-size: 1.22rem;
  }

  .rn-home-stat__label{
    font-size: 0.7rem;
  }

  .rn-home-achievement-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .rn-home-achievement{
    min-height: 8.85rem;
    padding: 0.82rem 0.55rem 0.65rem;
  }

  .rn-home-achievement__icon{
    width: 2.8rem;
    height: 2.8rem;
  }

  .rn-home-achievement__icon::after{
    width: 1.16rem;
    height: 1.16rem;
  }

  .rn-home-achievement__status{
    display: none;
  }

  .rn-home-achievement__title{
    margin-top: 0.54rem;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .rn-home-achievement__copy{
    font-size: 0.66rem;
    line-height: 1.28;
  }

  .rn-home-achievement__progressline{
    margin-top: 0.42rem;
  }

  .rn-home-achievement__progressline strong,
  .rn-home-achievement__progressline span{
    font-size: 0.62rem;
  }
}

@media (max-width: 430px){
  .rn-home-hero{
    min-height: 23rem;
  }

  .rn-home-action-row{
    grid-template-columns: minmax(0, 1fr);
  }

  .rn-home-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rn-home-stat:nth-child(odd)::before{
    display: none;
  }

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

  .rn-home-achievement{
    min-height: 9rem;
    justify-items: start;
    text-align: left;
  }

  .rn-home-achievement__topline{
    display: flex;
    justify-content: space-between;
  }

  .rn-home-achievement__status{
    display: inline-flex;
  }

  .rn-home-achievement__copy{
    margin-inline: 0;
  }
}

/* Icon refinement pass. */
.rn-home-stat__icon{
  display: inline-grid;
  place-items: center;
}

.rn-home-stat__icon::before,
.rn-home-stat__icon::after{
  display: none;
}

.rn-home-stat__icon svg{
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-home-stat--ridge .rn-home-stat__icon{
  color: #6f9024;
}

.rn-home-stat--forest .rn-home-stat__icon,
.rn-home-stat--warm .rn-home-stat__icon,
.rn-home-stat--ink .rn-home-stat__icon{
  color: #5b667a;
}

.rn-home-stat--ink .rn-home-stat__icon svg{
  stroke-width: 1.8;
}

.rn-home-achievement__icon{
  box-shadow:
    inset 0 0 0 1px currentColor,
    0 0 0 0.45rem rgba(255, 255, 255, 0.46),
    0 12px 24px rgba(16, 24, 39, 0.08);
}

.rn-home-achievement__icon::before{
  inset: -0.42rem;
  border-width: 1.6px;
  opacity: 0.34;
}

.rn-home-achievement--guide .rn-home-achievement__icon::after{
  clip-path: polygon(20% 0, 72% 0, 88% 16%, 88% 100%, 20% 100%);
}

.rn-home-achievement--guide .rn-home-achievement__icon::before{
  transform: rotate(-26deg);
}

.rn-home-achievement--streak .rn-home-achievement__icon::after{
  clip-path: polygon(50% 0, 67% 30%, 59% 44%, 77% 42%, 61% 100%, 39% 100%, 22% 57%, 39% 62%, 34% 35%);
}

.rn-home-achievement--streak .rn-home-achievement__icon::before{
  transform: rotate(30deg);
}

.rn-home-community-feed{
  display: grid;
  gap: 0.85rem;
}

.rn-home-community-load-more{
  display: flex;
  justify-content: center;
  padding: 0.85rem 0 0.2rem;
}

.rn-home-community-load-more__btn{
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(132, 159, 52, 0.28);
  background: linear-gradient(180deg, rgba(246, 250, 235, 0.98), rgba(235, 243, 214, 0.98));
  color: #7f9f24;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rn-home-community-load-more__btn.is-loading{
  color: #64748b;
}

.rn-home-community-section{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rn-border);
}

.rn-home-community-section__header{
  margin-bottom: 0.75rem;
  padding-inline: 0.15rem;
}

.rn-home-community-empty{
  width: 100%;
  padding: 1.5rem 1rem 1.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0.95rem;
  border: 1px dashed var(--rn-border);
  background: var(--rn-surface-soft);
}

.rn-home-community-empty__icon{
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 0.7rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.78rem;
  border: 1px solid var(--rn-border);
  background: transparent;
  color: var(--rn-text-muted);
  flex-shrink: 0;
}

.rn-home-community-empty__icon svg{
  width: 1.5rem;
  height: 1.5rem;
}

.rn-home-community-empty .rn-home-empty__title{
  font-size: 0.88rem;
}

.rn-home-community-empty .rn-home-empty__copy{
  max-width: 22rem;
}


.rn-home-community-card{
  overflow: hidden;
  border: 1px solid rgba(218, 222, 211, 0.92);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(16, 24, 39, 0.045);
}

.rn-home-community-card__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.9rem;
}

.rn-home-community-card__author{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.rn-home-community-card__author-copy{
  min-width: 0;
}

.rn-home-community-card__name-row{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.rn-home-community-card__avatar{
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf3dc, #f8faf1);
  color: #5f7d18;
  font-size: 0.86rem;
  font-weight: 900;
  border: 1px solid rgba(132, 159, 52, 0.18);
  text-decoration: none;
}

.rn-home-community-card__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.rn-home-community-card__name{
  display: inline-flex;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.rn-home-community-card__badge{
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 1.34rem;
  padding: 0 0.46rem;
  border-radius: 999px;
  background: #f5ebc6;
  color: #9f7f1f;
  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1;
}

.rn-home-community-card__badge-icon{
  width: 0.76rem;
  height: 0.76rem;
}

.rn-home-community-card__meta{
  margin-top: 0.16rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
}

.rn-home-community-card__meta-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #838980;
  flex: 0 0 auto;
}

.rn-home-community-card__meta-svg{
  width: 0.84rem;
  height: 0.84rem;
}

.rn-home-community-card__type{
  flex: 0 0 auto;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  background: #f1f6e6;
  color: #5d781a;
  font-size: 0.68rem;
  font-weight: 850;
}

.rn-home-community-card--guide .rn-home-community-card__type{
  background: #eef5ff;
  color: #2d6fb2;
}

.rn-home-community-card__media{
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, rgba(135, 163, 48, 0.13), rgba(36, 48, 16, 0.08));
  text-decoration: none;
}

.rn-home-community-card--log .rn-home-community-card__media{
  aspect-ratio: auto;
}

.rn-home-community-card--guide .rn-home-community-card__media{
  aspect-ratio: 2.45 / 1;
}

.rn-home-community-card__media-link{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.rn-home-community-card__media-link--fallback{
  color: inherit;
}

.rn-home-community-card__image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rn-home-community-gallery{
  position: relative;
  width: 100%;
  height: 100%;
}

.rn-home-community-gallery .rn-social-gallery__frame{
  --rn-gallery-ratio: 1 / 1;
  width: 100%;
  aspect-ratio: var(--rn-gallery-ratio);
  overflow: hidden;
  transition: aspect-ratio 180ms ease;
}

.rn-home-community-gallery .rn-social-gallery__track{
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.rn-home-community-gallery .rn-social-gallery__track::-webkit-scrollbar{
  display: none;
}

.rn-home-community-gallery .rn-social-gallery__slide{
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

.rn-home-community-gallery .rn-social-gallery__image,
.rn-home-community-gallery .rn-social-gallery__video,
.rn-home-community-gallery .rn-social-gallery__slide--fallback{
  width: 100%;
  height: 100%;
}

.rn-home-community-gallery .rn-social-gallery__image{
  display: block;
  object-fit: cover;
}

.rn-home-community-gallery .rn-social-gallery__video{
  display: block;
  object-fit: contain;
  background: #111827;
}

.rn-home-community-gallery .rn-social-gallery__slide--fallback{
  display: grid;
  place-items: center;
}

.rn-home-community-gallery .rn-social-gallery__hud{
  position: absolute;
  inset: auto 0.72rem 0.72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
  pointer-events: none;
}

.rn-home-community-gallery .rn-social-gallery__dots{
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rn-home-community-gallery .rn-social-gallery__dot{
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.rn-home-community-gallery .rn-social-gallery__dot.is-active{
  background: #ffffff;
}

.rn-home-community-gallery .rn-social-gallery__count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.9rem;
  min-height: 1.9rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.56);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.rn-home-community-card__fallback{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #6f8928;
}

.rn-home-community-card__media-badge{
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.6rem;
  padding: 0.16rem 0.54rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.rn-home-community-card__actions{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.68rem 0.9rem 0;
}

.rn-home-community-action{
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rn-text-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
}

.rn-home-community-action:disabled{
  cursor: default;
}

.rn-home-community-action:hover:not(:disabled),
.rn-home-community-action:focus-visible:not(:disabled){
  color: var(--rn-brand) !important;
}

.rn-home-community-action svg{
  width: 1.16rem;
  height: 1.16rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-home-community-action[data-like-button][aria-pressed="true"]{
  color: var(--rn-brand) !important;
}

.rn-home-community-action[data-like-button][aria-pressed="true"] svg{
  fill: currentColor !important;
  stroke: currentColor !important;
}

.rn-home-community-action--save{
  margin-left: auto;
}

.rn-home-community-card__body{
  padding: 0.68rem 0.9rem 0.9rem;
}

.rn-home-community-card__title{
  display: inline-block;
  color: var(--rn-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
}

.rn-home-community-card__guide-title-link{
  color: var(--rn-text) !important;
  text-decoration: none;
}

.rn-home-community-card__guide-title-link:hover{
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.rn-home-community-card__guide-body-link{
  display: block;
  color: inherit;
  text-decoration: none;
}

.rn-home-community-card__guide-body-link:hover .rn-home-community-card__copy strong,
.rn-home-community-card__guide-body-link:focus-visible .rn-home-community-card__copy strong{
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.rn-home-community-card__copy{
  margin: 0.35rem 0 0;
  color: var(--rn-text-soft);
  font-size: 0.84rem;
  line-height: 1.42;
}

.rn-home-community-trip{
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.62rem;
  padding: 0.56rem;
  border-radius: 0.78rem;
  background: var(--rn-surface-soft);
}

.rn-home-community-trip__chips > span{
  display: inline-flex;
  min-height: 1.7rem;
  align-items: center;
  padding-inline: 0.56rem;
  border: 1px solid rgba(190, 196, 206, 0.78);
  border-radius: 999px;
  background: var(--rn-surface-strong);
  color: var(--rn-text);
  font-size: 0.72rem;
  font-weight: 800;
}

.rn-home-community-card__date{
  margin-top: 0.52rem;
  color: var(--rn-text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

@media (min-width: 840px){
  .rn-home-community-feed{
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .rn-home-community-card__media{
    aspect-ratio: 16 / 9;
  }

  .rn-home-community-card--guide .rn-home-community-card__media{
    aspect-ratio: 2.45 / 1;
  }
}

@media (max-width: 430px){
  .rn-home-community-card__header,
  .rn-home-community-card__body{
    padding-inline: 0.78rem;
  }

  .rn-home-community-card__actions{
    padding-inline: 0.78rem;
  }

  .rn-home-community-card__copy{
    font-size: 0.8rem;
  }
}

/* Feed preview closer to the full Feed surface. */
.rn-home-community-feed{
  gap: 0;
  margin-inline: calc(var(--rn-page-x, 1rem) * -1);
  background: var(--rn-surface-strong);
  border-top: 1px solid var(--rn-border);
  border-bottom: 1px solid var(--rn-border);
}

.rn-home-community-load-more{
  padding-top: 0.75rem;
}

.rn-home-community-card{
  border: 0;
  border-radius: 0;
  background: var(--rn-surface-strong);
  box-shadow: none;
}

.rn-home-community-card + .rn-home-community-card{
  border-top: 1px solid var(--rn-border);
}

.rn-home-community-card__header{
  gap: 0.8rem;
  padding: 0.78rem 0.9rem 0.58rem;
}

.rn-home-community-card__author{
  gap: 0.72rem;
}

.rn-home-community-card__avatar{
  width: 2.65rem;
  height: 2.65rem;
  font-size: 0.92rem;
}

.rn-home-community-card__name{
  color: #182217;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.rn-home-community-card__handle{
  color: #64748b;
  font-size: 0.82em;
  font-weight: 700;
  line-height: inherit;
  display: inline-block;
  transform: translateY(0.01em);
}

.rn-home-community-card__name-row{
  gap: 0.42rem;
}

.rn-home-community-card__badge{
  min-height: 1.38rem;
  padding-inline: 0.48rem;
  font-size: 0.72rem;
}

.rn-home-community-card__meta{
  margin-top: 0.12rem;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.rn-home-community-card__meta-svg{
  width: 0.86rem;
  height: 0.86rem;
}

.rn-home-community-card__more{
  width: 1.9rem;
  height: 1.9rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  list-style: none;
}

.rn-home-community-card__more::-webkit-details-marker{
  display: none;
}

.rn-home-community-card__menu{
  position: relative;
  margin-left: auto;
}

.rn-home-community-card__menu-card{
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 12;
  min-width: 9.25rem;
  display: none;
  padding: 0.32rem;
  border: 1px solid var(--rn-border);
  border-radius: 0.72rem;
  background: var(--rn-surface-strong);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.rn-home-community-card__menu[open] .rn-home-community-card__menu-card{
  display: grid;
}

.rn-home-community-card__menu-item{
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.58rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--rn-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

.rn-home-community-card__menu-item:hover,
.rn-home-community-card__menu-item:focus-visible{
  background: var(--rn-surface-soft);
}

.rn-home-community-card__menu-item--danger{
  color: var(--rn-danger);
}

.rn-home-community-card__type{
  display: none;
}

.rn-home-community-card--log .rn-home-community-card__media{
  aspect-ratio: auto;
  border-radius: 0;
}

.rn-home-community-card--guide .rn-home-community-card__media{
  aspect-ratio: 1 / 1;
}

.rn-home-community-card__actions{
  gap: 0.72rem;
  padding: 0.54rem 0.88rem 0.16rem;
}

.rn-home-community-action{
  gap: 0.14rem;
  color: #111827;
  font-size: 0.84rem;
}

.rn-home-community-action svg{
  width: 1.4rem;
  height: 1.4rem;
}

.rn-home-community-card__body{
  padding: 0 0.9rem 0.56rem;
}

.rn-home-community-card__title{
  margin-top: 0.46rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.rn-home-community-card__copy{
  margin: 0.08rem 0 0;
  color: #1f291d;
  font-size: 0.88rem;
  line-height: 1.6;
}

.rn-home-community-card__guide-label{
  display: inline-flex;
  margin-bottom: 0.18rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: #eef5ff;
  color: #2d6fb2;
  font-size: 0.58rem;
  font-weight: 900;
}

.rn-home-community-trip{
  display: grid;
  gap: 0.48rem;
  margin-top: 0.08rem;
  padding: 0.88rem 0.96rem;
  border-radius: 1.24rem;
  background: var(--rn-surface-soft);
}

.rn-home-community-trip__title{
  color: var(--rn-text);
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.2;
}

.rn-home-community-trip__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.rn-home-community-trip__chips span{
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(24, 34, 23, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1f291d;
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1;
}

.rn-home-community-trip__chips span svg{
  width: 1rem;
  height: 1rem;
  margin-right: 0.34rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-home-community-comments-link{
  display: inline-flex;
  margin-top: 0.16rem;
  color: #384134;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  border-bottom: 0;
  box-shadow: none;
}

.rn-home-community-comments-link:hover,
.rn-home-community-comments-link:focus-visible{
  color: #2f3a2d;
  text-decoration: none;
  border-bottom: 0;
  box-shadow: none;
}

.rn-home-community-card__date{
  margin-top: 0.18rem;
  font-size: 0.78rem;
}

@media (min-width: 840px){
  .rn-home-community-card--log .rn-home-community-card__media{
    aspect-ratio: auto;
  }

  .rn-home-community-card--guide .rn-home-community-card__media{
    aspect-ratio: 1 / 1;
  }
}

/* Top viewport refinement pass. */
.rn-home-page{
  background: var(--rn-page-bg);
}

.rn-home-page .rn-shell{
  max-width: 61rem;
  padding-top: 0.5rem;
}

.rn-home-hero{
  position: relative;
  min-height: 18.9rem;
  display: grid;
  grid-template-columns: minmax(23rem, 1.22fr) minmax(14rem, 0.78fr);
  align-items: center;
  column-gap: 0.25rem;
  padding: 1.2rem 1.15rem 0;
  overflow: clip;
}

.rn-home-hero__copy{
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.rn-home-hero__eyebrow{
  min-height: 1.9rem;
  padding-inline: 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(252, 253, 248, 0.98), rgba(246, 249, 238, 0.96));
  border: 1px solid rgba(231, 236, 219, 0.95);
  color: #5d781a;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 1px 0 rgba(255, 255, 255, 0.42);
}

.rn-home-hero__title{
  max-width: 13.8ch;
  margin-top: 0.9rem;
  font-size: clamp(2.5rem, 5.8vw, 3.85rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.rn-home-hero__title-line{
  display: block;
  color: #111c34;
}

.rn-home-hero__title-line:last-child{
  white-space: nowrap;
}

.rn-home-hero__title-line:last-child span{
  color: #7c9d24;
}

.rn-home-hero__subtitle{
  width: max-content;
  max-width: 100%;
  margin-top: 0.8rem;
  font-size: 0.84rem;
  line-height: 1.46;
  color: #5f6f87;
}

.rn-home-action-row{
  width: min(100%, 30rem);
  margin-top: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.rn-home-action-row .rn-btn{
  min-height: 2.9rem;
  padding-inline: 1rem;
  border-radius: 0.82rem;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.rn-home-action-row__primary{
  background: linear-gradient(180deg, #92b22c 0%, #87a330 100%);
  border-color: #87a330;
  color: #ffffff;
  box-shadow: none;
}

.rn-home-action-row__primary:hover{
  background: linear-gradient(180deg, #89aa28 0%, #7e9a2b 100%);
}

.rn-home-action-row .rn-btn--secondary{
  border: 1.5px solid rgba(139, 166, 56, 0.72);
  background: rgba(255, 255, 255, 0.9);
  color: #7a9826;
}

.rn-home-action-row .rn-btn--secondary:hover{
  background: rgba(249, 251, 242, 0.98);
  border-color: rgba(131, 157, 49, 0.9);
}

.rn-home-hero__visual{
  position: relative;
  top: auto;
  right: auto;
  width: 30.6rem;
  max-width: none;
  justify-self: end;
  align-self: start;
  margin-right: -5rem;
  margin-top: 2.8rem;
  opacity: 1;
  pointer-events: none;
}

.rn-home-hero__image{
  opacity: 0.95;
}

.rn-home-stats{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -0.15rem;
  padding: 0.6rem 0.5rem;
  border: 1px solid rgba(213, 217, 204, 0.78);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(16, 24, 39, 0.05);
}

.rn-home-stat{
  position: relative;
  min-height: 4.2rem;
  gap: 0.62rem;
  padding: 0.45rem 0.55rem;
  border: 0;
  background: transparent;
}

.rn-home-stat + .rn-home-stat::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(190, 196, 206, 0.82), transparent);
}

.rn-home-stat__icon{
  width: 1.82rem;
  height: 1.82rem;
}

.rn-home-stat__icon svg{
  stroke-width: 1.8;
}

.rn-home-stat__copy{
  gap: 0.1rem;
}

.rn-home-stat__value{
  font-size: 1.18rem;
}

.rn-home-stat__label{
  font-size: 0.78rem;
  color: #5b667a;
}

@media (max-width: 839px){
  .rn-home-page .rn-shell{
    padding-inline: 1rem;
  }

  .rn-home-hero{
    min-height: 18.1rem;
    grid-template-columns: minmax(21rem, 1.18fr) minmax(12rem, 0.82fr);
    padding: 1.05rem 1rem 0;
  }

  .rn-home-hero__copy{
    max-width: 32rem;
  }

  .rn-home-hero__title{
    max-width: 11.5ch;
    font-size: clamp(2.2rem, 6.8vw, 3.2rem);
  }

  .rn-home-hero__subtitle{
    max-width: 100%;
    font-size: 0.82rem;
  }

  .rn-home-hero__visual{
    width: 20.25rem;
    max-width: none;
    margin-right: -4.6rem;
    margin-top: 2.55rem;
  }

  .rn-home-action-row{
    width: min(100%, 27rem);
    margin-top: 1rem;
    gap: 0.65rem;
  }

  .rn-home-action-row .rn-btn{
    min-height: 2.76rem;
    font-size: 0.85rem;
  }

  .rn-home-stats{
    padding-inline: 0.35rem;
  }

  .rn-home-stat{
    gap: 0.45rem;
    padding-inline: 0.3rem;
  }
}

@media (max-width: 620px){
  .rn-home-hero{
    min-height: 17.5rem;
    grid-template-columns: minmax(18rem, 1.2fr) minmax(9rem, 0.8fr);
    padding: 0.98rem 0.95rem 0;
  }

  .rn-home-hero__copy{
    max-width: 28rem;
  }

  .rn-home-hero__title{
    max-width: 10.6ch;
    font-size: clamp(2rem, 7vw, 2.7rem);
  }

  .rn-home-hero__subtitle{
    max-width: 100%;
    margin-top: 0.72rem;
    font-size: 0.8rem;
  }

  .rn-home-hero__visual{
    width: 17.1rem;
    max-width: none;
    margin-right: -4.4rem;
    margin-top: 3.65rem;
  }

  .rn-home-action-row{
    width: min(100%, 24rem);
    margin-top: 0.96rem;
  }

  .rn-home-action-row .rn-btn{
    min-height: 2.68rem;
    padding-inline: 0.62rem;
    border-radius: 0.7rem;
    font-size: 0.8rem;
  }

  .rn-home-stats{
    padding-block: 0.52rem;
  }

  .rn-home-stat{
    min-height: 3.65rem;
  }

  .rn-home-stat__icon{
    width: 1.6rem;
    height: 1.6rem;
  }

  .rn-home-stat__value{
    font-size: 1.08rem;
  }

  .rn-home-stat__label{
    font-size: 0.72rem;
  }
}

@media (max-width: 430px){
  .rn-home-hero{
    min-height: 18.65rem;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.9rem 0.82rem 0.85rem;
  }

  .rn-home-hero__copy{
    max-width: 100%;
  }

  .rn-home-hero__title{
    max-width: 9.2ch;
    font-size: 2.06rem;
  }

  .rn-home-hero__subtitle{
    width: auto;
    max-width: 100%;
    font-size: 0.78rem;
  }

  .rn-home-hero__visual{
    position: absolute;
    right: 0.5rem;
    bottom: 4.45rem;
    width: clamp(10.2rem, 42vw, 12.5rem);
    max-width: none;
    margin-right: 0;
    margin-top: 0;
    opacity: 0.72;
  }

  .rn-home-action-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 100%);
    gap: 0.46rem;
  }

  .rn-home-action-row .rn-btn{
    min-height: 2.56rem;
    padding-inline: 0.48rem;
    font-size: 0.72rem;
  }

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

  .rn-home-stat{
    min-height: 3.45rem;
    flex-direction: column;
    gap: 0.18rem;
    padding-block: 0.35rem;
  }

  .rn-home-stat + .rn-home-stat::before{
    top: 0.45rem;
    bottom: 0.45rem;
  }

  .rn-home-stat__copy{
    justify-items: center;
    text-align: center;
  }

  .rn-home-stat__value{
    font-size: 1rem;
  }

  .rn-home-stat__label{
    font-size: 0.66rem;
  }
}

.rn-home-page{
  background: var(--rn-page-bg);
}

.rn-home-stat--streak .rn-home-stat__value{
  color: #a65f0b;
}

.rn-home-stat--streak .rn-home-stat__icon{
  color: #b75d1a;
}

.rn-home-hero__visual{
  margin-right: -1.95rem;
  margin-top: 1.27rem;
}

@media (max-width: 839px){
  .rn-home-hero__visual{
    margin-right: -2.58rem;
    margin-top: 1.54rem;
  }
}

@media (max-width: 620px){
  .rn-home-hero__visual{
    margin-right: -2.7rem;
    margin-top: 2.8rem;
  }
}

@media (max-width: 430px){
  .rn-home-hero__visual{
    right: 0.5rem;
    bottom: 4.45rem;
    margin-right: 0;
    margin-top: 0;
  }
}

.rn-home-desktop-sidebar,
.rn-home-desktop-topbar,
.rn-home-community-rail{
  display: none;
}

.rn-home-desktop-main{
  min-width: 0;
}

@media (min-width: 1024px){
  body:has(.rn-home-page--authenticated){
    --rn-main-pt: 0px;
  }

  body:has(.rn-home-page--authenticated) #rn-top-nav{
    display: none;
  }

  .rn-home-page--authenticated{
    min-height: 100dvh;
    background: var(--rn-page-bg);
  }

  .rn-home-page--authenticated .rn-shell.rn-home-shell--authenticated{
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    max-width: none;
    min-height: 100dvh;
    padding: 0;
  }

  .rn-home-desktop-sidebar{
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    height: 100dvh;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 0.9rem 1rem;
    box-sizing: border-box;
    border-right: 1px solid var(--rn-border);
    background: var(--rn-surface-strong);
  }

  .rn-home-desktop-brand{
    gap: 0.55rem;
    padding: 0.25rem 0.25rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: -0.035em;
  }

  .rn-home-desktop-brand__wordmark{
    color: var(--rn-text);
  }

  .rn-home-desktop-brand__mark{
    display: inline-grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    color: #7fa126;
  }

  .rn-home-desktop-brand__mark svg,
  .rn-home-desktop-nav__item svg,
  .rn-home-desktop-sidebar__cta svg,
  .rn-home-desktop-settings svg,
  .rn-home-desktop-topbar svg{
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .rn-home-desktop-brand__mark svg{
    width: 1.55rem;
    height: 1.55rem;
  }

  .rn-home-desktop-nav__item svg.rn-home-desktop-nav__icon--filled{
    fill: currentColor;
    stroke: none;
  }

  .rn-home-desktop-nav{
    display: grid;
    gap: 0.35rem;
  }

  .rn-home-desktop-sidebar__footer{
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(24, 34, 23, 0.08);
  }

  .rn-home-desktop-sidebar__footer--guest{
    border-top-color: var(--rn-border);
  }

  .rn-home-sidebar-theme{
    display: grid;
    gap: 0.45rem;
  }

  .rn-home-sidebar-theme__label{
    padding-inline: 0.2rem;
    color: var(--rn-text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .rn-theme-switch--sidebar{
    width: 100%;
  }

  .rn-theme-switch--sidebar .rn-theme-switch__option{
    flex: 1 1 0;
  }

  .rn-home-desktop-nav__item,
  .rn-home-desktop-sidebar__cta,
  .rn-home-desktop-settings{
    display: flex;
    align-items: center;
    gap: 0.72rem;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: 0.55rem;
    color: var(--rn-text-soft);
    font-size: 0.88rem;
    font-weight: 760;
    text-decoration: none;
  }

  .rn-home-desktop-nav__item:hover,
  .rn-home-desktop-settings:hover{
    background: var(--rn-hover);
    color: var(--rn-text);
  }

  .rn-home-desktop-nav__item.is-active{
    background: var(--rn-brand-soft);
    color: var(--rn-brand-strong);
  }

  .rn-home-desktop-sidebar__cta{
    justify-content: center;
    border: 1px solid rgba(127, 161, 38, 0.72);
    color: var(--rn-brand-strong);
    background: var(--rn-surface-strong);
  }

  .rn-home-desktop-settings{
    border: 1px solid var(--rn-border);
    background: var(--rn-surface-strong);
  }

  .rn-home-desktop-main{
    width: min(100%, 78rem);
    margin: 0 auto;
    padding: 1.45rem 1.55rem 2rem;
  }

  .rn-home-desktop-topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.5rem;
    margin-bottom: 1.05rem;
  }

  .rn-home-desktop-topbar p{
    margin: 0;
    color: #476114;
    font-size: 0.8rem;
    font-weight: 780;
  }

  .rn-home-desktop-topbar__actions{
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .rn-home-desktop-topbar__actions > a:not(.rn-home-desktop-user),
  .rn-home-desktop-topbar__actions > button{
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    color: #374151;
    background: transparent;
  }

  .rn-home-desktop-topbar__actions .rn-notification__trigger{
    width: 2rem;
    height: 2rem;
  }

  .rn-home-desktop-topbar__actions .rn-notification__panel{
    z-index: 30;
  }

  .rn-home-desktop-topbar__actions > a:not(.rn-home-desktop-user):hover,
  .rn-home-desktop-topbar__actions > button:hover,
  .rn-home-desktop-topbar__actions .rn-notification__trigger:hover{
    background: #f4f6f0;
  }

  .rn-home-desktop-user{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #26301f;
    font-size: 0.78rem;
    font-weight: 760;
    text-decoration: none;
  }

  .rn-home-desktop-user__avatar{
    display: grid;
    width: 1.85rem;
    height: 1.85rem;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #edf3df;
    color: #64831e;
    font-size: 0.76rem;
    font-weight: 850;
  }

  .rn-home-desktop-user__avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rn-home-continue{
    margin-bottom: 0.85rem;
  }

  .rn-home-hero{
    min-height: 12.8rem;
    grid-template-columns: minmax(18rem, 0.92fr) minmax(28rem, 1.08fr);
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    padding: 1.55rem 1.9rem;
    border-radius: 0.72rem;
    background: #fbfcf7;
    box-shadow: none;
  }

  .rn-home-hero__eyebrow{
    display: none;
  }

  .rn-home-hero__title{
    max-width: none;
    margin: 0;
    color: #224314;
    font-size: clamp(1.7rem, 2.1vw, 2.15rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .rn-home-hero__title-line{
    display: inline;
  }

  .rn-home-hero__title-line span{
    color: inherit;
  }

  .rn-home-hero__subtitle{
    max-width: 23rem;
    margin-top: 0.65rem;
    color: #5b667a;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .rn-home-hero__subtitle br{
    display: none;
  }

  .rn-home-action-row{
    width: min(100%, 19.5rem);
    grid-template-columns: 1fr 0.9fr;
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .rn-home-action-row .rn-btn{
    min-height: 2.45rem;
    border-radius: 0.42rem;
    font-size: 0.78rem;
  }

  .rn-home-hero__visual{
    width: 43rem;
    margin: 0 -8rem -0.7rem 0;
    justify-self: end;
    align-self: stretch;
  }

  .rn-home-hero__image{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    opacity: 0.9;
  }

  .rn-home-stats{
    margin-top: 0.85rem;
    min-height: 4.4rem;
    padding: 0.5rem;
    border-radius: 0.58rem;
    background: var(--rn-surface-strong);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  }

  .rn-home-stat{
    min-height: 3.25rem;
    justify-content: center;
    gap: 0.78rem;
    padding: 0.35rem 0.65rem;
  }

  .rn-home-stat__icon{
    width: 1.32rem;
    height: 1.32rem;
  }

  .rn-home-stat__value{
    font-size: 1.02rem;
  }

  .rn-home-stat__label{
    font-size: 0.72rem;
  }

  .rn-home-section{
    margin-top: 0.9rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .rn-home-section__header{
    margin-bottom: 0.55rem;
  }

  .rn-home-section-kicker{
    display: none;
  }

  .rn-home-section__title{
    font-size: 1rem;
    letter-spacing: -0.025em;
  }

  .rn-home-section__link{
    color: #4c5b34;
    font-size: 0.78rem;
  }

  .rn-home-section--recent .rn-home-log-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .rn-home-section--recent .rn-home-log-card{
    position: relative;
    min-height: 12.2rem;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 1rem;
    border: 0;
    border-radius: 0.78rem;
    background: #142033;
    box-shadow: none;
  }

  .rn-home-section--recent .rn-home-log-card__media{
    position: absolute;
    inset: 0;
    border-radius: inherit;
    aspect-ratio: auto;
  }

  .rn-home-section--recent .rn-home-log-card__media::after{
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.76));
  }

  .rn-home-section--recent .rn-home-log-card__body{
    position: relative;
    z-index: 1;
    color: #ffffff;
  }

  .rn-home-section--recent .rn-home-log-card__topline{
    order: 2;
    color: rgba(255, 255, 255, 0.88);
  }

  .rn-home-section--recent .rn-home-log-card__chip{
    position: absolute;
    top: -8.8rem;
    right: -0.2rem;
    background: #e9f7d8;
    color: #55751b;
  }

  .rn-home-section--recent .rn-home-log-card__title{
    color: #ffffff;
    font-size: 1.08rem;
  }

  .rn-home-section--recent .rn-home-log-card__meta{
    display: none;
  }

  .rn-home-section-grid{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }

  .rn-home-section-grid .rn-home-section{
    padding: 0.9rem;
    border: 1px solid var(--rn-border);
    border-radius: 0.72rem;
    background: var(--rn-surface-strong);
  }

  .rn-home-section-grid .rn-home-log-list,
  .rn-home-section-grid .rn-home-guide-list{
    gap: 0.45rem;
  }

  .rn-home-section-grid .rn-home-log-card,
  .rn-home-section-grid .rn-home-guide-card{
    grid-template-columns: 4rem minmax(0, 1fr);
    padding: 0.45rem;
    border: 0;
    border-bottom: 1px solid rgba(24, 34, 23, 0.08);
    border-radius: 0;
    background: transparent;
  }

  .rn-home-section-grid .rn-home-guide-card__fallback,
  .rn-home-rail-guide__media{
    background:
      radial-gradient(circle at 50% 35%, rgba(135, 163, 48, 0.18), transparent 46%),
      linear-gradient(180deg, #f1f5e8, #e9ece4);
    color: #5f7818;
  }

  .rn-home-section-grid .rn-home-guide-card__fallback svg{
    width: 1.65rem;
    height: 1.65rem;
  }

  .rn-home-section-grid .rn-home-log-card:last-child,
  .rn-home-section-grid .rn-home-guide-card:last-child{
    border-bottom: 0;
  }

  .rn-home-achievement-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .rn-home-achievement{
    min-height: 8.5rem;
    padding: 0.8rem;
    border-radius: 0.72rem;
  }

  .rn-home-achievement__copy{
    font-size: 0.72rem;
  }

  .rn-home-community-section{
    margin-top: 1.3rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(24, 34, 23, 0.12);
  }

  .rn-home-community-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1.5rem;
    align-items: start;
  }

  .rn-home-community-main{
    min-width: 0;
  }

  .rn-home-community-feed{
    gap: 0.8rem;
  }

  .rn-home-community-card{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18.5rem);
    grid-template-areas:
      "header media"
      "body media"
      "actions media";
    gap: 0.75rem 1rem;
    padding: 0.9rem;
    border: 1px solid var(--rn-border);
    border-radius: 0.72rem;
    background: var(--rn-surface-strong);
  }

  .rn-home-community-card__header{
    grid-area: header;
    padding: 0;
  }

  .rn-home-community-card__media{
    grid-area: media;
    min-height: 10.8rem;
    border-radius: 0.62rem;
  }

  .rn-home-community-card--log .rn-home-community-card__media{
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .rn-home-community-card--log .rn-home-community-gallery{
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
  }

  .rn-home-community-card--guide .rn-home-community-card__media{
    aspect-ratio: 1 / 1;
  }

  .rn-home-community-card__actions{
    grid-area: actions;
    padding: 0.1rem 0 0;
    border-top: 1px solid rgba(24, 34, 23, 0.08);
  }

  .rn-home-community-card__body{
    grid-area: body;
    padding: 0;
  }

  .rn-home-community-card__copy{
    max-width: 27rem;
    font-size: 0.88rem;
  }

  .rn-home-community-rail{
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.8rem;
  }

  .rn-home-rail-card{
    padding: 0.9rem;
    border: 1px solid var(--rn-border);
    border-radius: 0.72rem;
    background: var(--rn-surface-strong);
  }

  .rn-home-rail-card__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.68rem;
  }

  .rn-home-rail-card__header h3{
    margin: 0;
    color: #121827;
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: -0.025em;
  }

  .rn-home-rail-card__header a{
    color: #5b667a;
    font-size: 0.76rem;
    font-weight: 760;
    text-decoration: none;
  }

  .rn-home-trending-list,
  .rn-home-rail-guides{
    display: grid;
    gap: 0.55rem;
  }

  .rn-home-trending-item,
  .rn-home-rail-guide{
    display: grid;
    grid-template-columns: 1rem 2.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    color: #172016;
    text-decoration: none;
  }

  .rn-home-rail-guide{
    grid-template-columns: 2.45rem minmax(0, 1fr) auto;
  }

  .rn-home-trending-item__rank{
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 800;
  }

  .rn-home-trending-item__media,
  .rn-home-rail-guide__media{
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    overflow: hidden;
    border-radius: 0.42rem;
    background: #edf3df;
    color: #64831e;
    font-size: 0.65rem;
    font-weight: 850;
  }

  .rn-home-rail-guide__media{
    width: 2.45rem;
    height: 2.45rem;
  }

  .rn-home-trending-item__media img,
  .rn-home-rail-guide__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rn-home-trending-item__copy,
  .rn-home-rail-guide__copy{
    display: grid;
    min-width: 0;
  }

  .rn-home-trending-item__copy strong,
  .rn-home-rail-guide__copy strong{
    overflow: hidden;
    color: #172016;
    font-size: 0.8rem;
    font-weight: 820;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rn-home-trending-item__copy small,
  .rn-home-rail-guide__copy small{
    overflow: hidden;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rn-home-trending-item__score,
  .rn-home-rail-guide__meta{
    color: #6f8f1f;
    font-size: 0.72rem;
    font-weight: 850;
  }

  .rn-home-connected-strip{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .rn-home-connected-chip{
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #edf3df;
    color: #64831e;
    font-size: 0.72rem;
    font-weight: 850;
    text-decoration: none;
  }

  .rn-home-connected-chip img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rn-home-connected-empty{
    display: grid;
    gap: 0.35rem;
  }

  .rn-home-connected-empty strong{
    color: #172016;
    font-size: 0.8rem;
    font-weight: 820;
    line-height: 1.2;
  }

  .rn-home-connected-empty p{
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .rn-home-connected-empty a{
    color: #6f8f1f;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
  }

  .rn-home-network-card{
    display: grid;
    gap: 0.7rem;
    overflow: hidden;
  }

  .rn-home-network-stage{
    position: relative;
    display: grid;
    grid-template-columns: 4.1rem minmax(0, 1fr) 4.1rem;
    align-items: center;
    gap: 0;
    padding: 0 0.35rem 0.15rem;
  }

  .rn-home-network-stage,
  .rn-home-network-stage *{
    backface-visibility: hidden;
  }

  .rn-home-network-preview{
    display: grid;
    place-items: center;
    position: relative;
    width: 4.85rem;
    min-height: 7.55rem;
    padding: 0.5rem 0.35rem;
    border: 1px solid rgba(24, 34, 23, 0.07);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(244, 248, 239, 0.96), rgba(236, 241, 230, 0.92));
    cursor: pointer;
    opacity: 0.92;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, filter 160ms ease;
    z-index: 1;
  }

  .rn-home-network-preview[data-network-prev]{
    justify-self: end;
    margin-right: -1.35rem;
  }

  .rn-home-network-preview[data-network-next]{
    justify-self: start;
    margin-left: -1.35rem;
  }

  .rn-home-network-preview:hover{
    opacity: 1;
    transform: translateY(-1px);
    filter: saturate(1.02);
  }

  .rn-home-network-preview::before,
  .rn-home-network-preview::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(111, 143, 31, 0.16);
  }

  .rn-home-network-preview::before{
    bottom: 1.9rem;
    width: 1.95rem;
    height: 0.26rem;
  }

  .rn-home-network-preview::after{
    bottom: 1.4rem;
    width: 1.35rem;
    height: 0.2rem;
  }

  .rn-home-network-preview.is-empty{
    opacity: 0;
    background: transparent;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
  }

  .rn-home-network-preview.is-empty::before,
  .rn-home-network-preview.is-empty::after{
    display: none;
  }

  .rn-home-network-preview__avatar{
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(24, 34, 23, 0.08);
    border-radius: 999px;
    background: #f4f7ed;
    color: #6f8f1f;
    font-size: 0.74rem;
    font-weight: 850;
  }

  .rn-home-network-preview__avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rn-home-network-center{
    display: grid;
    gap: 0.72rem;
    justify-items: center;
    min-height: 8.45rem;
    padding: 1rem 0.95rem 1.05rem;
    border: 1px solid var(--rn-border);
    border-radius: 1.35rem;
    background: var(--rn-surface-strong);
    box-shadow: 0 14px 32px rgba(20, 31, 17, 0.08);
    text-align: center;
    z-index: 2;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.22,.61,.36,1), box-shadow 180ms ease;
  }

  .rn-home-network-center__avatar{
    display: grid;
    width: 3.85rem;
    height: 3.85rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--rn-border);
    border-radius: 999px;
    background: var(--rn-brand-soft);
    color: var(--rn-brand-strong);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 850;
  }

  .rn-home-network-center__avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rn-home-network-center__copy{
    display: grid;
    gap: 0.36rem;
    width: 100%;
  }

  .rn-home-network-center__name{
    color: var(--rn-text);
    font-size: 0.96rem;
    font-weight: 840;
    line-height: 1.15;
    text-decoration: none;
  }

  .rn-home-network-center__reason{
    color: var(--rn-text-muted);
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .rn-home-network-center__follow{
    min-width: 6.7rem;
    min-height: 2.2rem;
    padding: 0.42rem 1rem;
    border: 1px solid rgba(111, 143, 31, 0.5);
    border-radius: 999px;
    background: var(--rn-surface-strong);
    color: var(--rn-brand-strong);
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1;
  }

  .rn-home-network-center__follow.is-following{
    border-color: rgba(24, 34, 23, 0.08);
    color: #64748b;
  }

  .rn-home-network-stage.is-animating-forward .rn-home-network-center{
    opacity: 0.2;
    transform: translateX(-0.95rem) scale(0.975);
    box-shadow: 0 8px 18px rgba(20, 31, 17, 0.04);
  }

  .rn-home-network-stage.is-animating-backward .rn-home-network-center{
    opacity: 0.2;
    transform: translateX(0.95rem) scale(0.975);
    box-shadow: 0 8px 18px rgba(20, 31, 17, 0.04);
  }

  .rn-home-network-stage.is-animating-forward .rn-home-network-preview[data-network-next]{
    transform: translateX(0.25rem) scale(0.985);
  }

  .rn-home-network-stage.is-animating-forward .rn-home-network-preview[data-network-prev]{
    transform: translateX(-0.2rem);
  }

  .rn-home-network-stage.is-animating-backward .rn-home-network-preview[data-network-prev]{
    transform: translateX(-0.25rem) scale(0.985);
  }

  .rn-home-network-stage.is-animating-backward .rn-home-network-preview[data-network-next]{
    transform: translateX(0.2rem);
  }

}

@media (min-width: 1024px) and (max-width: 1180px){
  .rn-home-page--authenticated .rn-shell.rn-home-shell--authenticated{
    grid-template-columns: 13.5rem minmax(0, 1fr);
  }

  .rn-home-desktop-main{
    padding-inline: 1.05rem;
  }

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

  .rn-home-community-rail{
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .rn-home-desktop-main{
    width: min(100%, 78rem);
    padding: 1.05rem 1.45rem 1.8rem;
  }

  .rn-home-desktop-topbar{
    min-height: 2rem;
    margin-bottom: 0.72rem;
  }

  .rn-home-hero{
    min-height: 17.2rem;
    padding: 1.45rem 2rem;
    align-content: center;
  }

  .rn-home-hero__copy{
    align-self: center;
    max-width: 32rem;
  }

  .rn-home-hero__title{
    font-size: clamp(1.75rem, 2.15vw, 2.25rem);
    line-height: 1.02;
  }

  .rn-home-hero__subtitle{
    max-width: 28rem;
    margin-top: 0.6rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .rn-home-action-row{
    margin-top: 1rem;
  }

  .rn-home-hero__visual{
    width: 34rem;
    margin: 0 -3.5rem -1.2rem 0;
    align-self: end;
  }

  .rn-home-stats{
    min-height: 3.95rem;
    margin-top: 0.72rem;
    padding: 0.42rem;
  }

  .rn-home-stat{
    min-height: 3rem;
  }

  .rn-home-section{
    margin-top: 0.78rem;
  }

  .rn-home-section--recent .rn-home-log-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .rn-home-section--recent .rn-home-log-card{
    min-height: 15.25rem;
    padding: 1rem;
    border-radius: 0.92rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  }

  .rn-home-section--recent .rn-home-log-card__media::after{
    inset: 42% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 28, 0.34) 35%, rgba(6, 10, 20, 0.82) 100%);
  }

  .rn-home-section--recent .rn-home-log-card__fallback{
    position: relative;
    z-index: 1;
    color: rgba(233, 247, 216, 0.92);
    background:
      radial-gradient(circle at 50% 38%, rgba(135, 163, 48, 0.22), transparent 34%),
      linear-gradient(135deg, #25362f 0%, #101827 100%);
  }

  .rn-home-section--recent .rn-home-log-card__fallback svg{
    width: 4.8rem;
    height: 4.8rem;
    opacity: 0.72;
  }

  .rn-home-section--recent .rn-home-log-card__image{
    transform: none;
  }

  .rn-home-section--recent .rn-home-log-card__body{
    display: grid;
    gap: 0.28rem;
    align-content: end;
  }

  .rn-home-section--recent .rn-home-log-card__title{
    margin: 0;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  }

  .rn-home-section--recent .rn-home-log-card__topline{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.78rem;
    font-weight: 780;
  }

  .rn-home-section--recent .rn-home-log-card__topline > span:first-child::before{
    content: "";
    display: inline-block;
    width: 0.78rem;
    height: 0.78rem;
    margin-right: 0.26rem;
    vertical-align: -0.12rem;
    border: 1.7px solid currentColor;
    border-radius: 0.18rem;
    box-shadow: inset 0 0.22rem 0 currentColor;
  }

  .rn-home-section--recent .rn-home-log-card__topline > span:first-child::after{
    content: "•";
    margin-left: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .rn-home-section--recent .rn-home-log-card__chip{
    position: static;
    top: auto;
    right: auto;
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font-size: inherit;
  }

  .rn-home-section-grid{
    margin-top: 0.82rem;
  }

  .rn-home-community-section{
    margin-top: 1rem;
    padding-top: 0.95rem;
  }
}

@media (min-width: 1024px){
  .rn-home-hero{
    min-height: 12.8rem;
    padding-block: 1.05rem 0.65rem;
  }

  .rn-home-action-row{
    margin-top: 0.72rem;
  }

  .rn-home-hero__visual{
    width: 31rem;
    margin-bottom: -0.9rem;
  }

  .rn-home-stats{
    margin-top: 0.42rem;
  }

  .rn-home-section--recent .rn-home-log-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .rn-home-section--recent .rn-home-log-card{
    min-height: auto;
    aspect-ratio: 1 / 1;
    padding: 1rem;
  }
}

@media (min-width: 1440px){
  .rn-home-desktop-main{
    width: min(100%, 82rem);
  }

  .rn-home-hero{
    min-height: 12.4rem;
  }

  .rn-home-section--recent .rn-home-log-card{
    min-height: auto;
    aspect-ratio: 1 / 1;
  }
}

.rn-home-guest__copywrap{
  position: relative;
  z-index: 1;
  max-width: 32rem;
}

.rn-home-guest__eyebrow{
  display: inline-flex;
}

.rn-home-guest__title{
  max-width: none;
}

.rn-home-guest__copy{
  max-width: 25rem;
}

.rn-home-guest__actions{
  width: min(100%, 20.5rem);
}

.rn-home-guest__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.75rem;
  color: var(--rn-text-muted);
  font-size: 0.82rem;
}

.rn-home-community-section--guest{
  margin-top: 1rem;
}

@media (max-width: 599px){
  .rn-home-guest__title{
    max-width: 15.5rem;
  }
}

@media (min-width: 840px){
  .rn-home-hero--guest{
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    align-items: end;
  }
}

@media (min-width: 1024px){
  body:has(.rn-home-page--guest){
    --rn-main-pt: 0px;
  }

  body:has(.rn-home-page--guest) #rn-top-nav{
    display: none;
  }

  .rn-home-page--guest{
    background: var(--rn-page-bg);
  }

  .rn-home-page--guest .rn-shell{
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    max-width: none;
    min-height: 100dvh;
    padding: 0;
  }

  .rn-home-page--guest .rn-home-desktop-sidebar__footer{
    display: grid;
  }

  .rn-home-guest__title{
    max-width: none;
  }

  .rn-home-guest__copy{
    max-width: 24rem;
  }

  .rn-home-guest__actions{
    margin-top: 1rem;
  }

  .rn-home-guest__meta{
    margin-top: 0.6rem;
    font-size: 0.76rem;
  }

  .rn-home-hero--guest{
    min-height: 12.8rem;
    padding-block: 1.05rem 0.65rem;
  }

  .rn-home-community-section--guest{
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(24, 34, 23, 0.12);
  }
}

@media (min-width: 1024px) and (max-width: 1180px){
  .rn-home-page--guest .rn-shell{
    grid-template-columns: 13.5rem minmax(0, 1fr);
  }
}

/* Home polish final: compact badge journey + square recent logs with add-log fillers. */
.rn-home-section--recent .rn-home-recent-log-list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.6vw, 1rem);
  align-items: stretch;
}

.rn-home-section--recent .rn-home-log-card,
.rn-home-section--recent .rn-home-log-card--placeholder{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 1.05rem;
  text-decoration: none;
}

.rn-home-section--recent .rn-home-log-card__media{
  position: absolute;
  inset: 0;
  aspect-ratio: auto !important;
  border-radius: inherit;
}

.rn-home-section--recent .rn-home-log-card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 15, 27, 0.02) 30%, rgba(9, 15, 27, 0.84) 100%);
}

.rn-home-section--recent .rn-home-log-card__image{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-home-section--recent .rn-home-log-card__body{
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 0.3rem;
  padding: clamp(0.58rem, 1.35vw, 0.95rem);
  min-width: 0;
}

.rn-home-section--recent .rn-home-log-card__title{
  order: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(0.86rem, 1.8vw, 1.22rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.26);
}

.rn-home-section--recent .rn-home-log-card__topline{
  order: 2;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.62rem, 1.15vw, 0.82rem);
  font-weight: 800;
}

.rn-home-section--recent .rn-home-log-card__topline > span:first-child{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-home-section--recent .rn-home-log-card__topline > span:first-child::before{
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.2rem;
}

.rn-home-section--recent .rn-home-log-card__topline > span:first-child::after{
  content: "•";
  margin-left: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
}

.rn-home-section--recent .rn-home-log-card__chip{
  flex: 0 0 auto;
  min-height: 1.28rem;
  padding: 0 0.48rem;
  border: 0;
  background: rgba(223, 247, 214, 0.92) !important;
  color: #214d10 !important;
  font-size: inherit;
  line-height: 1;
}

.rn-home-section--recent .rn-home-log-card__meta{
  order: 3;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.62rem, 1.08vw, 0.78rem);
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rn-home-section--recent .rn-home-log-card--placeholder{
  border: 1.5px dashed rgba(98, 131, 24, 0.58);
  background: rgba(255, 255, 255, 0.64);
  color: var(--home-forest-deep, #48620f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 14px 28px rgba(16,24,39,.04);
}

.rn-home-log-card__placeholder-content{
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 0.8rem;
}

.rn-home-log-card__plus{
  display: grid;
  place-items: center;
  width: clamp(2.4rem, 6vw, 4rem);
  height: clamp(2.4rem, 6vw, 4rem);
  border-radius: 999px;
  background: rgba(98, 131, 24, 0.12);
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
}

.rn-home-log-card__placeholder-label{
  color: var(--home-forest-deep, #48620f);
  font-size: clamp(0.72rem, 1.3vw, 0.95rem);
  font-weight: 850;
  text-align: center;
}

.rn-home-achievement-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.52rem, 1.35vw, 0.95rem);
}

.rn-home-achievement{
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  align-content: start;
  aspect-ratio: 1 / 1;
  min-width: 0;
  overflow: hidden;
  padding: clamp(0.52rem, 1.2vw, 0.86rem) !important;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.82);
}

.rn-home-achievement__topline{
  display: grid !important;
  justify-items: center;
  gap: 0.36rem;
}

.rn-home-achievement__icon{
  width: clamp(2.9rem, 7vw, 4.65rem) !important;
  height: clamp(2.9rem, 7vw, 4.65rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rn-home-achievement__icon::before,
.rn-home-achievement__icon::after{
  display: none !important;
}

.rn-home-achievement__art{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(16,24,39,.12));
}

.rn-home-achievement.is-done .rn-home-achievement__art{
  filter: grayscale(1) opacity(.62) drop-shadow(0 8px 12px rgba(16,24,39,.08));
}

.rn-home-achievement__status{
  justify-self: center;
  padding: 0.24rem 0.54rem;
  border-radius: 999px;
  background: rgba(223, 247, 214, 0.86);
  color: var(--home-forest-deep, #48620f) !important;
  font-size: clamp(0.58rem, 1.05vw, 0.72rem) !important;
  font-weight: 850 !important;
  line-height: 1;
}

.rn-home-achievement.is-done .rn-home-achievement__status{
  background: rgba(226, 232, 240, 0.82);
  color: #64748b !important;
}

.rn-home-achievement__title{
  margin: 0.44rem 0 0 !important;
  color: var(--home-ink, #101827);
  font-size: clamp(0.78rem, 1.3vw, 1rem) !important;
  font-weight: 900 !important;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.04em;
}

.rn-home-achievement__copy{
  margin: 0.28rem 0 0 !important;
  color: var(--home-muted, #536072);
  font-size: clamp(0.58rem, 1vw, 0.72rem) !important;
  line-height: 1.25 !important;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rn-home-achievement__progressline{
  margin-top: auto !important;
  padding-top: 0.42rem;
  gap: 0.3rem !important;
}

.rn-home-achievement__progressline strong{
  font-size: clamp(0.68rem, 1.1vw, 0.86rem) !important;
  font-weight: 900;
}

.rn-home-achievement__progressline span{
  max-width: 58%;
  overflow: hidden;
  color: var(--home-muted, #536072);
  font-size: clamp(0.5rem, .9vw, 0.66rem) !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rn-home-achievement__bar{
  height: 0.34rem !important;
  margin-top: 0.36rem !important;
}

@media (min-width: 1024px){
  .rn-home-achievement-grid{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 599px){
  .rn-home-section--recent,
  .rn-home-section:has(.rn-home-achievement-grid){
    padding-inline: 0.9rem;
  }

  .rn-home-section__header{
    align-items: end;
  }

  .rn-home-section-kicker{
    display: none;
  }

  .rn-home-section--recent .rn-home-recent-log-list{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.48rem;
  }

  .rn-home-section--recent .rn-home-log-card{
    border-radius: 0.9rem;
  }

  .rn-home-section--recent .rn-home-log-card__body{
    padding: 0.48rem;
  }

  .rn-home-section--recent .rn-home-log-card__title{
    font-size: 0.7rem;
    line-height: 1.04;
  }

  .rn-home-section--recent .rn-home-log-card__topline{
    font-size: 0.52rem;
    gap: 0.18rem;
  }

  .rn-home-section--recent .rn-home-log-card__topline > span:first-child::before,
  .rn-home-section--recent .rn-home-log-card__topline > span:first-child::after,
  .rn-home-section--recent .rn-home-log-card__meta{
    display: none;
  }

  .rn-home-section--recent .rn-home-log-card__chip{
    min-height: 1rem;
    padding: 0 0.34rem;
  }

  .rn-home-log-card__plus{
    width: 2rem;
    height: 2rem;
    font-size: 1.45rem;
  }

  .rn-home-log-card__placeholder-label{
    font-size: 0.58rem;
  }

  .rn-home-achievement-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.48rem;
  }

  .rn-home-achievement-grid .rn-home-achievement:nth-child(n+4){
    display: none;
  }

  .rn-home-achievement{
    border-radius: 0.9rem;
    padding: 0.48rem !important;
  }

  .rn-home-achievement__icon{
    width: 2.55rem !important;
    height: 2.55rem !important;
  }

  .rn-home-achievement__status{
    padding: 0.2rem 0.36rem;
    font-size: 0.5rem !important;
  }

  .rn-home-achievement__title{
    margin-top: 0.3rem !important;
    font-size: 0.68rem !important;
  }

  .rn-home-achievement__copy{
    display: -webkit-box !important;
    margin-top: 0.22rem !important;
    font-size: 0.56rem !important;
    line-height: 1.22 !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .rn-home-achievement__progressline{
    padding-top: 0.22rem;
  }

  .rn-home-achievement__progressline strong{
    font-size: 0.62rem !important;
  }

  .rn-home-achievement__progressline span{
    display: none;
  }

  .rn-home-achievement__bar{
    height: 0.28rem !important;
    margin-top: 0.26rem !important;
  }
}

/* Home refinement: centered achievement tiles + image-only mobile recent logs. */
.rn-home-section--achievements .rn-home-achievement-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: stretch;
  align-items: stretch;
  gap: clamp(0.56rem, 1vw, 0.8rem);
}

.rn-home-section--achievements .rn-home-achievement{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: clamp(0.26rem, 0.55vw, 0.42rem);
  min-height: 11.4rem;
  padding: clamp(0.62rem, 0.9vw, 0.82rem) !important;
  padding-top: clamp(0.68rem, 1vw, 0.9rem) !important;
  padding-bottom: clamp(0.74rem, 1vw, 0.95rem) !important;
}

.rn-home-section--achievements .rn-home-achievement__topline{
  width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.28rem, 0.7vw, 0.42rem);
}

.rn-home-section--achievements .rn-home-achievement__title{
  width: 100%;
  max-width: 100%;
  margin-top: 0 !important;
  min-height: 1.9em;
  display: grid;
  place-items: center;
  text-wrap: balance;
}

.rn-home-section--achievements .rn-home-achievement__copy{
  display: -webkit-box !important;
  min-height: 2.7em;
  margin-top: 0 !important;
  color: var(--home-muted, #536072);
  font-size: clamp(0.56rem, 0.82vw, 0.69rem) !important;
  line-height: 1.24 !important;
  text-wrap: pretty;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rn-home-section--achievements .rn-home-achievement__progressline span{
  display: none !important;
}

.rn-home-section--achievements .rn-home-achievement__progressline{
  width: 100%;
  margin-top: auto !important;
  padding-top: 0 !important;
  transform: translateY(-0.62rem);
  justify-content: flex-start !important;
}

.rn-home-section--achievements .rn-home-achievement__bar{
  width: 100%;
  flex: 0 0 auto;
  height: 0.38rem !important;
  min-height: 0.38rem;
  margin-top: 0 !important;
  transform: translateY(-0.58rem);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
}

@media (min-width: 840px){
  .rn-home-section--achievements .rn-home-achievement-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .rn-home-section--achievements .rn-home-achievement{
    min-height: 10.8rem;
    padding: clamp(0.54rem, 0.8vw, 0.72rem) !important;
    padding-top: clamp(0.62rem, 0.95vw, 0.82rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement__icon{
    width: clamp(2.8rem, 3.2vw, 3.35rem) !important;
    height: clamp(2.8rem, 3.2vw, 3.35rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement__status{
    font-size: clamp(0.5rem, 0.7vw, 0.62rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement__title{
    font-size: clamp(0.7rem, 1vw, 0.86rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement__copy{
    min-height: 2.55em;
  }

  .rn-home-section--achievements .rn-home-achievement__progressline strong{
    font-size: clamp(0.62rem, 0.82vw, 0.74rem) !important;
  }
}

@media (min-width: 1440px){
  .rn-home-section--achievements .rn-home-achievement-grid{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 840px){
  .rn-home-section--recent,
  .rn-home-section--achievements{
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .rn-home-section--recent .rn-home-section__header,
  .rn-home-section--achievements .rn-home-section__header{
    padding-inline: 0 !important;
  }

  .rn-home-section--achievements .rn-home-achievement-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(0.42rem, 1.8vw, 0.62rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement-grid .rn-home-achievement:nth-child(n+4){
    display: none !important;
  }

  .rn-home-section--achievements .rn-home-achievement{
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    padding: clamp(0.42rem, 1.8vw, 0.62rem) !important;
    border-radius: clamp(0.78rem, 2.4vw, 0.98rem);
  }

  .rn-home-section--achievements .rn-home-achievement__icon{
    width: clamp(2.35rem, 11vw, 3.15rem) !important;
    height: clamp(2.35rem, 11vw, 3.15rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement__status{
    display: none !important;
  }

  .rn-home-section--achievements .rn-home-achievement__title{
    min-height: 2.1em;
    font-size: clamp(0.62rem, 2.5vw, 0.78rem) !important;
    line-height: 1.05;
  }

  .rn-home-section--achievements .rn-home-achievement__progressline strong{
    font-size: clamp(0.58rem, 2.4vw, 0.72rem) !important;
  }

  .rn-home-section--achievements .rn-home-achievement__bar{
    height: 0.27rem !important;
    margin-top: 0.18rem !important;
  }

  .rn-home-section--recent .rn-home-recent-log-list{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(0.42rem, 1.8vw, 0.62rem) !important;
  }

  .rn-home-section--recent .rn-home-log-card,
  .rn-home-section--recent .rn-home-log-card--placeholder{
    border-radius: clamp(0.78rem, 2.4vw, 0.98rem) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055) !important;
  }

  .rn-home-section--recent .rn-home-log-card__media::after,
  .rn-home-section--recent .rn-home-log-card__body{
    display: none !important;
  }

  .rn-home-section--recent .rn-home-log-card__stacked{
    top: 0.42rem;
    right: 0.42rem;
    min-height: 1.45rem;
    padding: 0 0.48rem;
    font-size: 0.7rem;
    background: rgba(31, 41, 55, 0.78);
  }

  .rn-home-section--recent .rn-home-log-card__stacked svg{
    width: 0.78rem;
    height: 0.78rem;
  }

  .rn-home-section--recent .rn-home-log-card--placeholder{
    background: rgba(255, 255, 255, 0.56) !important;
    box-shadow: none !important;
  }

  .rn-home-section--recent .rn-home-log-card--placeholder .rn-home-log-card__placeholder-label{
    display: none !important;
  }
}

@media (max-width: 430px){
  .rn-home-section--achievements .rn-home-achievement-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .rn-home-section--achievements .rn-home-achievement{
    justify-items: center !important;
    text-align: center !important;
  }

  .rn-home-section--achievements .rn-home-achievement__topline{
    display: flex !important;
    justify-content: center !important;
  }
}

/* Dashboard surface tone pass. */
.rn-home-stats{
  background: var(--rn-surface-strong) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rn-home-section{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rn-home-log-card,
.rn-home-guide-card{
  background: var(--rn-surface-strong) !important;
  border: 0.3px solid color-mix(in srgb, var(--rn-border) 82%, transparent) !important;
  box-shadow: none !important;
}

.rn-home-achievement{
  background: var(--rn-surface-strong) !important;
  border: 0.3px solid color-mix(in srgb, var(--rn-border) 82%, transparent) !important;
  box-shadow: none !important;
}

.rn-home-achievement--locked{
  background: color-mix(in srgb, var(--rn-surface-strong) 92%, var(--rn-page-bg-soft) 8%) !important;
}

@media (max-width: 840px){
  .rn-home-section--recent,
  .rn-home-section--achievements{
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .rn-home-section--recent .rn-home-section__header,
  .rn-home-section--achievements .rn-home-section__header{
    padding-inline: 0 !important;
  }

  .rn-home-section--achievements .rn-home-achievement{
    background: var(--rn-surface-strong) !important;
    border-width: 0.3px !important;
    border-color: color-mix(in srgb, var(--rn-border) 82%, transparent) !important;
    box-shadow: none !important;
  }
}

/* Custom variables for unified stroke style */
:root {
  --rn-custom-stroke-color: rgba(100, 116, 139, 0.48);
  --rn-custom-border-width: 0.4px;
}
html[data-theme="dark"] {
  --rn-custom-stroke-color: color-mix(in srgb, var(--rn-brand) 32%, var(--rn-border));
}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --rn-custom-stroke-color: color-mix(in srgb, var(--rn-brand) 32%, var(--rn-border));
  }
}

/* Keep the home canvas aligned with shared page tokens. */
.rn-home-page,
.rn-home-page--authenticated,
.rn-home-page--guest{
  background: var(--rn-page-bg) !important;
}

/* Dark-mode surface contract: override older home polish passes without changing layout density. */
.rn-home-page{
  --home-ink: var(--rn-text);
  --home-muted: var(--rn-text-soft);
  --home-line: var(--rn-border);
  --home-forest: var(--rn-brand);
  --home-forest-deep: var(--rn-brand-strong);
  --home-soft: var(--rn-surface-soft);
}

.rn-home-continue,
.rn-home-guest,
.rn-home-community-card,
.rn-home-community-empty{
  border: var(--rn-custom-border-width) solid var(--rn-custom-stroke-color) !important;
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
  box-shadow: none !important;
}

.rn-home-community-empty__icon{
  border-color: var(--rn-custom-stroke-color) !important;
  background: transparent !important;
}


.rn-home-stats{
  border: 0 !important;
  background: var(--rn-surface-strong) !important;
  box-shadow: none !important;
}

.rn-home-hero{
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
}

.rn-home-section,
.rn-home-community-section,
.rn-home-community-section--guest{
  background: transparent !important;
}

.rn-home-log-card,
.rn-home-guide-card,
.rn-home-achievement,
.rn-home-community-trip,
.rn-home-community-trip__chips span{
  border: var(--rn-custom-border-width) solid var(--rn-custom-stroke-color) !important;
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
  box-shadow: none !important;
}

.rn-home-log-card--placeholder,
.rn-home-section--recent .rn-home-log-card--placeholder{
  border: var(--rn-custom-border-width) solid color-mix(in srgb, var(--rn-brand) 64%, var(--rn-border-strong)) !important;
  background: var(--rn-surface-soft) !important;
  color: var(--rn-brand-strong) !important;
}

.rn-home-achievement--locked,
.rn-home-achievement.is-done{
  background: color-mix(in srgb, var(--rn-surface-strong) 92%, var(--rn-page-bg-soft) 8%) !important;
}

.rn-home-hero__eyebrow,
.rn-home-log-card__plus,
.rn-home-achievement__status,
.rn-home-community-card__type,
.rn-home-community-card__badge,
.rn-home-community-load-more__btn{
  background: var(--rn-brand-soft) !important;
  color: var(--rn-brand-strong) !important;
}

.rn-home-achievement.is-done .rn-home-achievement__status,
.rn-home-log-card__chip--private,
.rn-home-log-card__chip--draft{
  background: var(--rn-surface-soft) !important;
  color: var(--rn-text-muted) !important;
}

/* Eyebrow dark-mode reset: remove white border and box-shadow glow */
html[data-theme="dark"] .rn-home-hero__eyebrow {
  border: none !important;
  box-shadow: none !important;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .rn-home-hero__eyebrow {
    border: none !important;
    box-shadow: none !important;
  }
}

.rn-home-hero__title,
.rn-home-guest__title,
.rn-home-section__title,
.rn-home-achievement__title,
.rn-home-community-card__name,
.rn-home-community-card__title,
.rn-home-community-card__more,
.rn-home-community-action{
  color: var(--rn-text) !important;
}

.rn-home-hero__subtitle,
.rn-home-guest__copy,
.rn-home-achievement__copy,
.rn-home-achievement__progressline span,
.rn-home-community-card__meta,
.rn-home-community-card__copy,
.rn-home-community-card__date{
  color: var(--rn-text-soft) !important;
}

.rn-home-community-load-more__btn:hover,
.rn-home-community-load-more__btn:focus-visible{
  background: color-mix(in srgb, var(--rn-brand) 16%, var(--rn-surface-soft)) !important;
  color: var(--rn-brand-strong) !important;
}

/* Home/feed parity pass: bottom edge, centering, and load-more motion. */
.rn-home-community-load-more{
  width: min(100%, 38rem);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  padding:
    max(1.2rem, calc(var(--rn-bottombar-actual-h) * 0.5))
    0
    max(var(--rn-bottombar-actual-h), calc(var(--rn-safe-bottom) + 0.9rem));
}

.rn-home-community-load-more__btn{
  display: inline-grid;
  place-items: center;
  width: 2.46rem;
  height: 2.46rem;
  border: 1px solid rgba(135, 163, 48, 0.28);
  border-radius: 999px;
  background: #edf4df;
  color: #637a21;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.07);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 220ms var(--rn-ease),
    filter 220ms var(--rn-ease),
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms var(--rn-ease),
    outline-color 180ms var(--rn-ease);
}

.rn-home-community-load-more__btn:hover,
.rn-home-community-load-more__btn:focus-visible{
  background: #e3edcf;
  color: #425815;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
}

.rn-home-community-load-more__btn:active{
  transform: translateY(0) scale(0.96);
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.06);
}

.rn-home-community-load-more__btn[disabled]{
  opacity: 0.7;
}

.rn-home-community-load-more__btn span{
  display: inline-block;
}

.rn-home-community-load-more__btn.is-loading{
  pointer-events: none;
  transform: scale(0.94);
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.06);
}

.rn-home-community-load-more__btn.is-loading span{
  animation: rn-stream-more-spin 0.8s linear infinite;
}

@media (max-width: 839px){
  .rn-home-community-main{
    width: min(100%, 38rem);
    margin-inline: auto;
  }

  .rn-home-community-main:has(.rn-home-community-empty){
    width: 100%;
    max-width: none;
  }

  .rn-home-community-feed{
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 767px){
  .rn-home-community-section,
  .rn-home-community-section--guest{
    margin-inline: calc(var(--rn-page-x, 1rem) * -1);
  }

  .rn-home-community-section__header{
    padding-inline: 0.5rem;
  }

  .rn-home-community-main{
    width: 100%;
  }

  .rn-home-community-feed{
    margin-inline: 0;
  }

  .rn-home-community-card__header{
    padding-inline: 0.72rem;
  }

  .rn-home-community-card__actions{
    padding-inline: 0.72rem;
  }

  .rn-home-community-card__body{
    padding-inline: 0.72rem;
  }

  .rn-home-community-empty{
    padding-inline: 0.5rem;
  }
}

/* Final dark-mode guard after legacy home/feed parity rules. */
.rn-home-community-load-more__btn,
.rn-home-community-load-more__btn:hover,
.rn-home-community-load-more__btn:focus-visible{
  border-color: color-mix(in srgb, var(--rn-brand) 34%, var(--rn-border)) !important;
  background: var(--rn-brand-soft) !important;
  color: var(--rn-brand-strong) !important;
}

.rn-home-community-card__avatar{
  border-color: var(--rn-border) !important;
}

html[data-theme="dark"] .rn-home-community-card__avatar {
  background: var(--rn-surface-soft) !important;
  color: var(--rn-text) !important;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .rn-home-community-card__avatar {
    background: var(--rn-surface-soft) !important;
    color: var(--rn-text) !important;
  }
}

/* Home dark-mode contrast guard: rail/sidebar/community text that legacy desktop rules set too dark. */
.rn-home-desktop-topbar p,
.rn-home-desktop-user,
.rn-home-desktop-user span,
.rn-home-section__link,
.rn-home-rail-card__header a,
.rn-home-community-comments-link,
.rn-home-community-comments-link:hover,
.rn-home-community-comments-link:focus-visible,
.rn-home-connected-empty a,
.rn-home-network-center__follow,
.rn-home-desktop-sidebar__cta{
  color: var(--rn-brand-strong) !important;
}

.rn-home-desktop-topbar__actions > a:not(.rn-home-desktop-user),
.rn-home-desktop-topbar__actions > button,
.rn-home-desktop-topbar__actions .rn-notification__trigger{
  color: var(--rn-text-soft) !important;
}

.rn-home-desktop-topbar__actions > a:not(.rn-home-desktop-user):hover,
.rn-home-desktop-topbar__actions > button:hover,
.rn-home-desktop-topbar__actions .rn-notification__trigger:hover{
  background: var(--rn-hover) !important;
  color: var(--rn-text) !important;
}

.rn-home-rail-card,
.rn-home-network-center,
.rn-home-connected-empty,
.rn-home-community-rail .rn-home-rail-card{
  border-color: color-mix(in srgb, var(--rn-border) 86%, transparent) !important;
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
}

.rn-home-rail-card__header h3,
.rn-home-trending-item__copy strong,
.rn-home-rail-guide__copy strong,
.rn-home-network-center__name,
.rn-home-connected-empty strong,
.rn-home-community-trip__title{
  color: var(--rn-text) !important;
}

.rn-home-trending-item__rank,
.rn-home-trending-item__copy small,
.rn-home-rail-guide__copy small,
.rn-home-network-center__reason,
.rn-home-connected-empty p{
  color: var(--rn-text-muted) !important;
}

.rn-home-trending-item,
.rn-home-rail-guide{
  color: var(--rn-text) !important;
}

.rn-home-trending-item:hover,
.rn-home-trending-item:focus-visible,
.rn-home-rail-guide:hover,
.rn-home-rail-guide:focus-visible{
  background: var(--rn-hover) !important;
}

.rn-home-trending-item__score,
.rn-home-rail-guide__meta,
.rn-home-stat__value,
.rn-home-stat--forest .rn-home-stat__value,
.rn-home-stat--warm .rn-home-stat__value,
.rn-home-stat--ink .rn-home-stat__value{
  color: var(--rn-brand-strong) !important;
}

.rn-home-stat__label{
  color: var(--rn-text-muted) !important;
}

/* Achievement cards dark-mode guard: remove legacy grey collector-card washout. */
.rn-home-section--achievements .rn-home-achievement,
.rn-home-achievement{
  border-width: var(--rn-custom-border-width) !important;
  border-color: var(--rn-custom-stroke-color) !important;
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
  box-shadow: none !important;
}

.rn-home-section--achievements .rn-home-achievement::before,
.rn-home-achievement::before{
  background: none !important;
  opacity: 0 !important;
}

.rn-home-section--achievements .rn-home-achievement__title,
.rn-home-achievement__title,
.rn-home-section--achievements .rn-home-achievement__progressline strong,
.rn-home-achievement__progressline strong{
  color: var(--rn-text) !important;
}

.rn-home-section--achievements .rn-home-achievement__copy,
.rn-home-achievement__copy,
.rn-home-section--achievements .rn-home-achievement__progressline span,
.rn-home-achievement__progressline span{
  color: var(--rn-text-soft) !important;
}

.rn-home-section--achievements .rn-home-achievement__status,
.rn-home-achievement__status{
  background: var(--rn-brand-soft) !important;
  color: var(--rn-brand-strong) !important;
}

.rn-home-section--achievements .rn-home-achievement__bar,
.rn-home-achievement__bar{
  background: color-mix(in srgb, var(--rn-border) 72%, transparent) !important;
}

.rn-home-section--achievements .rn-home-achievement__bar span,
.rn-home-achievement__bar span{
  background: var(--rn-brand) !important;
}

/* Network rail dark-mode guard: keep suggestion cards legible instead of pale legacy panels. */
.rn-home-network-card{
  background: var(--rn-surface-strong) !important;
}

.rn-home-network-stage{
  color: var(--rn-text) !important;
}

.rn-home-network-center{
  border-color: color-mix(in srgb, var(--rn-border) 88%, transparent) !important;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--rn-surface-strong) 94%, var(--rn-brand) 6%),
      var(--rn-surface-strong)
    ) !important;
  color: var(--rn-text) !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--rn-shadow) 45%, transparent) !important;
}

.rn-home-network-preview{
  border-color: color-mix(in srgb, var(--rn-border) 82%, transparent) !important;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--rn-surface-soft) 88%, var(--rn-brand) 12%),
      color-mix(in srgb, var(--rn-surface-soft) 92%, var(--rn-page-bg) 8%)
    ) !important;
  opacity: 0.9 !important;
}

.rn-home-network-preview::before,
.rn-home-network-preview::after{
  background: color-mix(in srgb, var(--rn-brand) 18%, var(--rn-border)) !important;
}

.rn-home-network-preview__avatar{
  border-color: color-mix(in srgb, var(--rn-border) 80%, transparent) !important;
  background: var(--rn-surface-strong) !important;
}

.rn-home-network-preview.is-empty{
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: default !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rn-home-network-preview.is-empty::before,
.rn-home-network-preview.is-empty::after{
  display: none !important;
}

.rn-home-network-center__name{
  color: var(--rn-text) !important;
}

.rn-home-network-center__reason{
  color: var(--rn-text-soft) !important;
}

.rn-home-network-center__follow{
  border-color: color-mix(in srgb, var(--rn-brand) 48%, var(--rn-border)) !important;
  background: color-mix(in srgb, var(--rn-brand-soft) 84%, transparent) !important;
  color: var(--rn-brand-strong) !important;
}

.rn-home-network-center__follow:hover,
.rn-home-network-center__follow:focus-visible{
  background: var(--rn-brand) !important;
  color: var(--rn-brand-contrast) !important;
}

/* Community overflow/action guard: keep menus closed until tapped and above card media. */
.rn-home-community-card{
  overflow: visible !important;
}

.rn-home-community-card__menu{
  position: relative !important;
  z-index: 8 !important;
}

.rn-home-community-card__more{
  list-style: none !important;
  cursor: pointer !important;
}

.rn-home-community-card__more::-webkit-details-marker{
  display: none !important;
}

.rn-home-community-card__menu-card{
  position: absolute !important;
  top: calc(100% + 0.35rem) !important;
  right: 0 !important;
  z-index: 30 !important;
  min-width: 10.25rem !important;
  display: none !important;
  gap: 0.12rem !important;
  padding: 0.34rem !important;
  border: 1px solid var(--rn-border) !important;
  border-radius: 0.72rem !important;
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
  box-shadow: 0 18px 38px color-mix(in srgb, var(--rn-shadow) 38%, transparent) !important;
}

.rn-home-community-card__menu[open] .rn-home-community-card__menu-card{
  display: grid !important;
}

.rn-home-community-card__menu-item{
  width: 100% !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
}

.rn-home-community-card__menu-form{
  margin: 0 !important;
}

.rn-home-community-card__menu-form .rn-home-community-card__menu-item{
  width: 100% !important;
}

.rn-home-community-action[data-save-button][aria-pressed="true"]{
  color: var(--rn-brand) !important;
}

.rn-home-community-action[data-save-button][aria-pressed="true"] svg{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Home feed parity: match the Feed stream surface instead of using the older preview bleed. */
.rn-home-community-section,
.rn-home-community-main{
  background: var(--rn-bg) !important;
}

.rn-home-community-feed{
  width: min(100%, 38rem) !important;
  margin-inline: auto !important;
  gap: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--rn-border) !important;
  background: var(--rn-surface-strong) !important;
}

.rn-home-community-card{
  display: block !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--rn-surface-strong) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.rn-home-community-card__header,
.rn-home-community-card__media,
.rn-home-community-card__actions,
.rn-home-community-card__body{
  grid-area: auto !important;
}

.rn-home-community-card__media{
  min-height: 0 !important;
}

.rn-home-community-card + .rn-home-community-card{
  border-top: 1px solid var(--rn-border) !important;
}

.rn-home-community-card__more,
.rn-home-community-action{
  color: var(--rn-text) !important;
}

.rn-home-community-card__copy,
.rn-home-community-card__meta,
.rn-home-community-card__date{
  color: var(--rn-text-soft) !important;
}

.rn-home-community-trip{
  background: var(--rn-surface-soft) !important;
}

.rn-home-community-trip__chips span{
  border-color: color-mix(in srgb, var(--rn-border) 88%, transparent) !important;
  background: var(--rn-surface-strong) !important;
  color: var(--rn-text) !important;
}

.rn-home-community-comments-link,
.rn-home-community-comments-link:hover,
.rn-home-community-comments-link:focus-visible{
  color: var(--rn-brand-strong) !important;
}

@media (max-width: 1199px){
  .rn-home-community-card__actions{
    gap: 0.72rem !important;
    padding: 0.54rem 0.88rem 0.16rem !important;
  }

  .rn-home-community-action{
    gap: 0.34rem !important;
    min-height: 2.18rem !important;
    color: var(--rn-text) !important;
    line-height: 1 !important;
  }

  .rn-home-community-action--countable{
    gap: 0.14rem !important;
  }

  .rn-home-community-action--save{
    margin-left: auto !important;
  }

  .rn-home-community-action[data-like-button][aria-pressed="true"]{
    color: var(--rn-brand) !important;
  }

  .rn-home-community-action[data-like-button][aria-pressed="true"] svg{
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  .rn-home-community-action svg{
    width: 1.4rem !important;
    height: 1.4rem !important;
  }

  .rn-home-community-card__body{
    padding: 0 0.9rem 0.56rem !important;
  }

  .rn-home-community-card__title{
    display: inline-flex !important;
    margin-top: 0.46rem !important;
    color: var(--rn-text) !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
  }

  .rn-home-community-card__copy{
    margin-top: 0.08rem !important;
    color: var(--rn-text) !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
  }

  .rn-home-community-trip{
    display: grid !important;
    gap: 0.56rem !important;
    margin-top: 0.08rem !important;
    padding: 0.88rem 0.96rem !important;
    border-radius: 1.24rem !important;
    background: var(--rn-surface-soft) !important;
    color: var(--rn-text) !important;
  }

  .rn-home-community-trip__title{
    color: var(--rn-text) !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  .rn-home-community-trip__chips{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.48rem !important;
  }

  .rn-home-community-trip__chips span{
    gap: 0.34rem !important;
    min-height: 2rem !important;
    padding: 0 0.72rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .rn-home-community-trip__chips svg{
    width: 1rem !important;
    height: 1rem !important;
  }

  .rn-home-community-comments-link{
    margin-top: 0.16rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
  }

  .rn-home-community-card__date{
    margin-top: 0.18rem !important;
    color: var(--rn-text-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 599px){
  .rn-home-community-card__actions{
    padding-inline: 0.72rem !important;
  }

  .rn-home-community-card__body{
    padding-inline: 0.84rem !important;
  }
}

@media (max-width: 767px){
  .rn-home-community-section,
  .rn-home-community-section--guest{
    margin-inline: calc(var(--rn-page-x, 1rem) * -1) !important;
  }

  .rn-home-community-feed{
    width: auto !important;
    margin-inline: 0 !important;
  }
}

@media (min-width: 1200px){
  .rn-home-community-feed{
    width: 100% !important;
    gap: 0.8rem !important;
    border-bottom: 0 !important;
    background: transparent !important;
  }

  .rn-home-community-card{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(13.5rem, 17.75rem) !important;
    grid-template-areas:
      "header media"
      "body media"
      "actions media" !important;
    gap: 0.72rem 1rem !important;
    padding: 0.9rem !important;
    border: 1px solid var(--rn-border) !important;
    border-radius: 0.72rem !important;
    overflow: visible !important;
  }

  .rn-home-community-card + .rn-home-community-card{
    border-top: 1px solid var(--rn-border) !important;
  }

  .rn-home-community-card__header{
    grid-area: header !important;
    padding: 0 !important;
  }

  .rn-home-community-card__media{
    grid-area: media !important;
    min-height: 0 !important;
    border-radius: 0.62rem !important;
  }

  .rn-home-community-card--log .rn-home-community-card__media{
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .rn-home-community-card--log .rn-home-community-gallery{
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
  }

  .rn-home-community-card__body{
    grid-area: body !important;
    padding: 0 !important;
  }

  .rn-home-community-card__actions{
    grid-area: actions !important;
    padding: 0.1rem 0 0 !important;
    border-top: 1px solid color-mix(in srgb, var(--rn-border) 72%, transparent);
  }

  .rn-home-community-card__copy{
    max-width: 27rem;
  }
}

/* ── Community empty-state: full-width + invisible against page ── */
.rn-home-community-layout:has(.rn-home-community-empty){
  display: block !important;
}

.rn-home-community-layout:has(.rn-home-community-empty) .rn-home-community-rail{
  display: none !important;
}

.rn-home-community-main:has(.rn-home-community-empty){
  width: 100% !important;
  max-width: none !important;
}

.rn-home-community-section:has(.rn-home-community-empty){
  border-top: 0 !important;
}

.rn-home-community-empty{
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rn-home-community-empty__icon{
  background: transparent !important;
  border: 0 !important;
}
