/* ==========================================================================
   Home hero
   ========================================================================== */

.home-page {
  padding-top: 22px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  min-height: 316px;
  padding: 38px 42px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 201, 74, 0.23), transparent 33%),
    radial-gradient(circle at 100% 100%, rgba(255, 111, 78, 0.3), transparent 34%),
    radial-gradient(circle at 53% 100%, rgba(28, 155, 131, 0.2), transparent 37%),
    linear-gradient(120deg, #153a32 0%, #1c4b40 48%, #1d3c4b 100%);
  box-shadow: 0 30px 70px rgba(23, 58, 51, 0.18);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.43;
  background-image: radial-gradient(rgba(255, 248, 232, 0.22) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  mask-image: linear-gradient(105deg, transparent 0%, #000 42%, transparent 84%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -170px;
  right: 26%;
  z-index: -1;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(255, 248, 232, 0.12);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-right: 20px;
}

.hero-copy .eyebrow {
  margin-bottom: 15px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(31px, 3.25vw, 46px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.hero-copy h1 span {
  color: #ffd76a;
  background: linear-gradient(100deg, #ffe188, #ffbf55 60%, #ff8d67);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 520px;
  margin-top: 13px;
  color: rgba(255, 248, 232, 0.6);
  font-size: 13px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 248, 232, 0.48);
  font-size: 10px;
  letter-spacing: 0.01em;
}

.hero-meta-row strong {
  margin-right: 2px;
  color: rgba(255, 248, 232, 0.95);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-meta-row i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 248, 232, 0.25);
}

.hero-collage {
  position: relative;
  z-index: 2;
  min-height: 280px;
}

.hero-ring {
  position: absolute;
  top: -30px;
  right: 34px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 248, 232, 0.15);
  border-radius: 50%;
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px dashed rgba(255, 201, 74, 0.2);
  border-radius: 50%;
}

.hero-photo-card {
  position: absolute;
  top: -7px;
  right: 16px;
  width: 288px;
  padding: 7px 7px 0;
  border-radius: 21px;
  background: #fff8e8;
  box-shadow: 0 26px 45px rgba(8, 24, 21, 0.28);
  transform: rotate(5deg);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero:hover .hero-photo-card {
  transform: rotate(2.5deg) translateY(-4px);
}

.hero-photo-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  border-radius: 15px;
}

.hero-photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 7px 10px;
  color: var(--forest);
}

.hero-photo-caption span {
  color: #7b8371;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero-photo-caption strong {
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.hero-note-card {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 186px;
  padding: 18px 18px 15px;
  border-radius: 17px;
  color: var(--ink);
  background: linear-gradient(145deg, #fff7dc, #ffedbd);
  box-shadow: 0 20px 40px rgba(7, 27, 23, 0.22);
  transform: rotate(-7deg);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero:hover .hero-note-card {
  transform: rotate(-4deg) translateY(-3px);
}

.hero-note-card > span {
  color: #9d8344;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-note-card p {
  margin: 9px 0 11px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.hero-note-card i {
  color: #8e7a4b;
  font-family: var(--font-display);
  font-size: 10px;
}

.hero-sticker {
  position: absolute;
  top: 21px;
  left: 28px;
  display: flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sun);
  box-shadow: 0 14px 30px rgba(7, 27, 23, 0.24);
  transform: rotate(-10deg);
}

.hero-sticker strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 0.85;
}

.hero-sticker span {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-people-card {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255, 248, 232, 0.13);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.91);
  box-shadow: 0 16px 32px rgba(7, 27, 23, 0.18);
  backdrop-filter: blur(10px);
  transform: rotate(2deg);
}

.hero-avatar-stack {
  display: flex;
  padding-left: 7px;
}

.hero-avatar-stack .avatar {
  margin-left: -7px;
  border: 2px solid #fffdf8;
}

.hero-people-card > span:last-child {
  color: #6e7970;
  font-size: 8.5px;
  line-height: 1.45;
}

.hero-people-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.hero-watermark {
  position: absolute;
  right: 24px;
  bottom: -84px;
  z-index: 0;
  color: rgba(255, 248, 232, 0.045);
  font-family: var(--font-display);
  font-size: 300px;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   Home three-column layout
   ========================================================================== */

.home-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 306px;
  grid-template-areas: "left feed right";
  align-items: start;
  gap: 22px;
  margin-top: 22px;
}

.sidebar--left {
  grid-area: left;
}

.sidebar--right {
  grid-area: right;
}

.home-grid .feed-column {
  grid-area: feed;
}

.sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.sidebar--left,
.sidebar--right {
  position: relative;
}

/* mini profile */

.mini-profile {
  overflow: hidden;
}

.mini-profile-banner {
  position: relative;
  height: 77px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 40%, rgba(255, 255, 255, 0.25) 0 2px, transparent 3px),
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
  background-size: 16px 16px, 100% 100%;
}

.mini-profile-banner::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -54px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.banner-pi {
  position: absolute;
  right: 24px;
  bottom: -25px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-size: 90px;
  line-height: 0.8;
  transform: rotate(8deg);
}

.banner-orbit {
  position: absolute;
  top: 14px;
  left: 17px;
  width: 42px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.mini-profile-body {
  position: relative;
  padding: 0 16px 16px;
}

.mini-avatar-wrap {
  position: relative;
  width: max-content;
  margin-top: -31px;
  margin-bottom: 10px;
}

.mini-avatar-wrap .avatar {
  border: 3px solid var(--surface);
}

.mini-online {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--mint);
}

.mini-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-name-row h2 {
  overflow: hidden;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-college {
  margin-top: 1px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-bio {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mini-stats a,
.mini-stats > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1px;
  text-align: center;
}

.mini-stats a + a,
.mini-stats > div {
  border-left: 1px solid var(--line);
}

.mini-stats strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mini-stats span {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 600;
}

.mini-profile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
}

.mini-profile-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.mini-profile-link:hover .icon {
  transform: translate(2px, -2px);
}

/* channels */

.side-card {
  padding: 17px;
}

.side-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.side-card-title h2 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.side-card-title > span,
.side-card-title > div > span:not(.kicker):not(.live-chip) {
  color: var(--muted-light);
  font-size: 8.5px;
}

.side-card-title .kicker {
  margin-bottom: 3px;
}

.side-card-title--stacked {
  align-items: center;
}

.channel-card {
  padding: 16px 11px 10px;
}

.channel-card .side-card-title {
  padding: 0 6px 9px;
}

.channel-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 12px;
  transition: color 160ms ease, background-color 160ms ease;
}

.channel-link:hover {
  background: var(--surface-soft);
}

.channel-link.is-active {
  color: var(--cream);
  background: var(--ink);
}

.channel-emoji {
  display: flex;
  width: 27px;
  height: 27px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--channel-color, var(--teal)) 10%, #fffdf8);
  font-size: 13px;
  line-height: 1;
}

.channel-emoji .icon {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.channel-emoji--all {
  background: #f1eee5;
}

.channel-link.is-active .channel-emoji {
  background: rgba(255, 255, 255, 0.12);
}

.channel-label {
  flex: 1;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.channel-link.is-active .channel-label {
  color: var(--cream);
}

.channel-count {
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
}

.channel-link.is-active .channel-count {
  color: rgba(255, 248, 232, 0.5);
}

.community-note {
  position: relative;
  padding: 15px 15px 15px 17px;
  overflow: hidden;
  border: 1px solid rgba(173, 132, 45, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 201, 74, 0.38), transparent 52%),
    linear-gradient(135deg, #fff6d8, #ffead7);
}

.note-star {
  position: absolute;
  top: 10px;
  right: 13px;
  color: rgba(184, 124, 22, 0.26);
  font-size: 22px;
}

.community-note p {
  color: #756541;
  font-size: 10px;
  line-height: 1.8;
}

.community-note strong {
  color: #54482f;
  font-size: 10.5px;
}

/* right sidebar */

.request-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  border-radius: 19px;
  color: #fffdf7;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.24), transparent 37%),
    linear-gradient(130deg, #f87955, #e74d69 70%, #c83c79);
  box-shadow: 0 16px 32px rgba(200, 58, 74, 0.18);
}

.request-banner::after {
  content: "π";
  position: absolute;
  right: 31px;
  bottom: -32px;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--font-display);
  font-size: 85px;
  line-height: 1;
  pointer-events: none;
}

.request-icon {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
}

.request-icon .icon {
  width: 18px;
  height: 18px;
}

.request-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.request-copy small {
  color: rgba(255, 255, 255, 0.57);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.request-copy strong {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-arrow {
  position: relative;
  z-index: 1;
  display: flex;
  width: 24px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  transition: transform 160ms ease;
}

.request-arrow .icon {
  width: 13px;
  height: 13px;
}

.request-banner:hover .request-arrow {
  transform: translateX(2px);
}

.hot-card {
  padding: 17px 17px 7px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(236, 91, 152, 0.16);
  border-radius: var(--radius-pill);
  color: #cc497a;
  background: rgba(242, 95, 155, 0.06);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.live-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
}

.hot-topic-list {
  display: flex;
  flex-direction: column;
  margin-top: 9px;
}

.hot-topic-list li + li {
  border-top: 1px solid rgba(24, 44, 39, 0.055);
}

.hot-topic-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
}

.hot-rank {
  width: 19px;
  flex: none;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
}

.hot-rank--1 { color: var(--coral); font-size: 14px; }
.hot-rank--2 { color: #e59f2d; }
.hot-rank--3 { color: #b9834e; }

.hot-topic-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0;
}

.hot-topic-copy strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-topic-copy small {
  color: var(--muted-light);
  font-size: 9px;
}

.hot-topic-list a:hover .hot-topic-copy strong {
  color: var(--coral-deep);
}

.hot-arrow {
  color: var(--muted-light);
}

.hot-arrow .icon {
  width: 12px;
  height: 12px;
}

.people-card {
  padding: 17px 15px 9px;
}

.people-card .side-card-title {
  padding: 0 2px 7px;
}

.people-list {
  display: flex;
  flex-direction: column;
}

.person-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 1px;
}

.person-row + .person-row {
  border-top: 1px solid rgba(24, 44, 39, 0.055);
}

.person-avatar-link {
  flex: none;
}

.person-meta {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.person-name {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-name:hover {
  color: var(--teal);
}

.person-sub {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-add-button {
  display: flex;
  width: 28px;
  height: 28px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  background: var(--surface);
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.mini-add-button .icon {
  width: 14px;
  height: 14px;
}

.mini-add-button:hover {
  color: var(--cream);
  background: var(--teal);
  transform: rotate(90deg);
}

.mini-add-button:disabled {
  opacity: 0.5;
  transform: none;
}

.mini-status {
  flex: none;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  color: var(--teal);
  background: rgba(28, 155, 131, 0.08);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.mini-status--muted {
  color: var(--muted);
  background: var(--surface-soft);
}

.mini-status--accent {
  color: var(--coral-deep);
  background: rgba(255, 111, 78, 0.08);
}

.event-card {
  overflow: hidden;
  border: 1px solid rgba(24, 44, 39, 0.08);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.event-image {
  position: relative;
  height: 118px;
  overflow: hidden;
}

.event-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 20, 37, 0.42), transparent);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.event-card:hover .event-image img {
  transform: scale(1.035);
}

.event-date {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 1;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 18, 34, 0.4);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.event-body {
  padding: 13px 14px 12px;
  background: #17273b;
  color: var(--cream);
}

.event-kicker {
  color: rgba(255, 201, 74, 0.7);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.event-body h2 {
  margin: 2px 0 5px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.event-body > p {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 248, 232, 0.53);
  font-size: 8.5px;
}

.event-body > p .icon {
  width: 10px;
  height: 10px;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.event-footer span {
  color: rgba(255, 248, 232, 0.32);
  font-size: 7.5px;
}

.event-footer a {
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sun);
}

.event-footer .icon {
  width: 12px;
  height: 12px;
}

.sidebar-footnote {
  padding: 1px 4px;
  color: var(--muted-light);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ==========================================================================
   Feed column & composer
   ========================================================================== */

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

.composer-card {
  padding: 12px 14px 10px;
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(255, 253, 248, 0.95), rgba(255, 249, 236, 0.95));
}

.composer-main {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  padding: 2px 2px 10px;
  text-align: left;
}

.composer-placeholder {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.composer-placeholder strong {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.composer-placeholder small {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-arrow {
  display: flex;
  width: 32px;
  height: 32px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface);
}

.composer-arrow .icon {
  width: 14px;
  height: 14px;
}

.composer-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.composer-bar > button:not(.composer-mini-submit) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  transition: color 150ms ease, background-color 150ms ease;
}

.composer-bar > button:not(.composer-mini-submit):hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.composer-bar .icon {
  width: 13px;
  height: 13px;
}

.composer-bar-caption {
  margin-left: auto;
  color: var(--muted-light);
  font-size: 8px;
}

.composer-mini-submit {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--teal);
  background: rgba(28, 155, 131, 0.07);
  font-size: 9px;
  font-weight: 750;
}

.composer-mini-submit:hover {
  color: var(--cream);
  background: var(--teal);
}

.mobile-feed-search,
.mobile-channels {
  display: none;
}

.feed-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 2px 13px;
}

.feed-heading-copy {
  min-width: 0;
}

.feed-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.feed-heading h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.feed-heading p {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clear-filter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: rgba(255, 253, 248, 0.55);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.clear-filter .icon {
  width: 10px;
  height: 10px;
}

.clear-filter:hover {
  color: var(--ink);
  background: var(--surface);
}

.sort-tabs {
  display: flex;
  flex: none;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.45);
}

.sort-tab {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1.3;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.sort-tab:hover {
  color: var(--ink);
}

.sort-tab.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(28, 45, 38, 0.08);
}

.feed-heading--compact {
  margin-top: 0;
}

/* ==========================================================================
   Post cards
   ========================================================================== */

.post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-card {
  padding: 19px 21px 14px;
  border-radius: 24px;
  background: var(--surface);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.post-card:hover {
  border-color: rgba(24, 44, 39, 0.12);
  box-shadow: 0 18px 40px rgba(30, 51, 43, 0.075);
  transform: translateY(-2px);
}

.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-avatar-link {
  flex: none;
  border-radius: 50%;
}

.post-author-block {
  min-width: 0;
  flex: 1;
}

.post-author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.post-author-name {
  max-width: 240px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.post-author-name:hover {
  color: var(--teal);
}

.author-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 5px;
  color: #9a7629;
  background: rgba(255, 201, 74, 0.13);
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.5;
}

.author-chip--friend {
  color: var(--teal);
  background: rgba(28, 155, 131, 0.08);
}

.author-chip--anon {
  color: #77638d;
  background: rgba(152, 121, 246, 0.1);
}

.post-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  color: var(--muted-light);
  font-size: 9.5px;
  line-height: 1.5;
}

.meta-separator {
  color: rgba(119, 133, 126, 0.4);
}

.post-head-right {
  display: flex;
  flex: none;
  align-items: center;
  gap: 5px;
}

.post-head-right .icon-btn--small {
  color: var(--muted-light);
}

.post-title {
  margin: 13px 0 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.post-title a {
  transition: color 160ms ease;
}

.post-title a:hover {
  color: var(--forest-soft);
}

.post-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: #64726b;
  font-size: 12.5px;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-cover {
  position: relative;
  display: block;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 2.18 / 1;
  background: var(--surface-soft);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 24, 19, 0.17), transparent 35%);
  pointer-events: none;
}

.post-card:hover .post-cover img {
  transform: scale(1.025);
}

.cover-corner {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.93);
  background: rgba(20, 37, 30, 0.35);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.cover-corner .icon {
  width: 10px;
  height: 10px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(24, 44, 39, 0.065);
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 150ms ease, transform 150ms ease;
}

.post-action:hover {
  color: var(--coral-deep);
}

.post-action .action-icon {
  width: 15px;
  height: 15px;
  transition: fill 150ms ease, transform 150ms ease;
}

.like-button.is-liked {
  color: var(--coral);
}

.like-button.is-liked .heart-icon {
  fill: var(--coral);
}

.like-button.just-liked .heart-icon {
  animation: heart-pop 350ms cubic-bezier(0.2, 1.7, 0.5, 1);
}

@keyframes heart-pop {
  0% { transform: scale(0.7); }
  45% { transform: scale(1.3) rotate(-7deg); }
  100% { transform: scale(1); }
}

.post-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.post-views .icon {
  width: 11px;
  height: 11px;
}

.post-card--compact {
  padding: 18px 20px 13px;
}

.feed-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 10px 8px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.feed-end-pi {
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 48px 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.5);
  text-align: center;
}

.empty-symbol {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff2c9, #ffe0cf);
  font-size: 21px;
}

.empty-state h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.empty-state p {
  max-width: 320px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.empty-state .btn {
  margin-top: 7px;
}

/* ==========================================================================
   Shared page section headings
   ========================================================================== */

.section-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px;
}

.section-heading h2 {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.section-heading p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.section-heading .section-note {
  color: var(--muted-light);
  font-size: 10px;
}
