/* ==========================================================================
   Avezz Showcase Home Page (css/pages/home.css) — 1:1 UI/home.html Fidelity
   ========================================================================== */

.home-wrap {
  max-width: 1520px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.home-macro-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px 18px;
}

.macro-block {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.macro-block--wide,
.macro-block--span-12 { grid-column: span 12; }
.macro-block--span-8  { grid-column: span 8; }
.macro-block--lg,
.macro-block--span-7  { grid-column: span 7; }
.macro-block--span-6  { grid-column: span 6; }
.macro-block--md,
.macro-block--span-5  { grid-column: span 5; }
.macro-block--span-4  { grid-column: span 4; }

@media (max-width: 1024px) {
  .macro-block,
  .macro-block--lg,
  .macro-block--md,
  .macro-block--span-8,
  .macro-block--span-7,
  .macro-block--span-6,
  .macro-block--span-5,
  .macro-block--span-4 {
    grid-column: span 12;
  }
}

/* Floating Macro Header Bar: [Badge + Title] [Tags...] [GO ->] */
.macro-header {
  height: 34px;
  margin-bottom: 8px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.macro-title-group {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.macro-badge {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--macro-color, var(--accent));
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.macro-badge .icon { width: 13px; height: 13px; }

.macro-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.macro-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
}
.macro-tags::-webkit-scrollbar { display: none; }

.macro-tag-pill {
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.macro-tag-pill:hover {
  background: var(--pill-active-bg);
  border-color: var(--pill-active-bg);
  color: var(--pill-active-text);
  text-decoration: none;
}

.macro-go-btn {
  height: 26px;
  padding: 0 9px 0 11px;
  border-radius: 999px;
  background: var(--pill-active-bg);
  color: var(--pill-active-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.macro-go-btn:hover { opacity: 0.88; transform: translateX(1px); text-decoration: none; }

/* Zero-padding Macro Canvas & Exact-Fill Editorial Bento Sub-grids */
.macro-subgrid {
  flex: 1 1 auto;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(216px, 1fr);
  gap: 8px;
}

/* 1 Card: Full-bleed cinematic hero */
.macro-subgrid[data-bento="solo"] {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(280px, 1fr);
}

/* 2 Cards: Asymmetric splits & vertical stack (fills paired 2-row height) */
.macro-subgrid[data-bento="pair-asymmetric"] {
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: minmax(276px, 1fr);
}
.macro-subgrid[data-bento="pair-asymmetric-rev"] {
  grid-template-columns: 1fr 1.55fr;
  grid-template-rows: minmax(276px, 1fr);
}
.macro-subgrid[data-bento="pair-stack"] {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(228px, 1.2fr) minmax(196px, 1fr);
}

/* 3 Cards: L-Bentos & Hero + Asymmetric Pair */
.macro-subgrid[data-bento="trio-l-left"],
.macro-subgrid[data-bento="trio-l-right"],
.macro-subgrid[data-bento="trio-hero-top"],
.macro-subgrid[data-bento="trio-hero-bottom"],
.macro-subgrid[data-bento="trio-tall-left"] {
  grid-template-rows: repeat(2, minmax(216px, 1fr));
}

.macro-subgrid[data-bento="trio-l-left"] > :nth-child(1) { grid-area: 1 / 1 / 3 / 8; }
.macro-subgrid[data-bento="trio-l-left"] > :nth-child(2) { grid-area: 1 / 8 / 2 / 13; }
.macro-subgrid[data-bento="trio-l-left"] > :nth-child(3) { grid-area: 2 / 8 / 3 / 13; }

.macro-subgrid[data-bento="trio-l-right"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 6; }
.macro-subgrid[data-bento="trio-l-right"] > :nth-child(2) { grid-area: 2 / 1 / 3 / 6; }
.macro-subgrid[data-bento="trio-l-right"] > :nth-child(3) { grid-area: 1 / 6 / 3 / 13; }

.macro-subgrid[data-bento="trio-hero-top"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 13; }
.macro-subgrid[data-bento="trio-hero-top"] > :nth-child(2) { grid-area: 2 / 1 / 3 / 8; }
.macro-subgrid[data-bento="trio-hero-top"] > :nth-child(3) { grid-area: 2 / 8 / 3 / 13; }

.macro-subgrid[data-bento="trio-hero-bottom"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 6; }
.macro-subgrid[data-bento="trio-hero-bottom"] > :nth-child(2) { grid-area: 1 / 6 / 2 / 13; }
.macro-subgrid[data-bento="trio-hero-bottom"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 13; }

.macro-subgrid[data-bento="trio-tall-left"] > :nth-child(1) { grid-area: 1 / 1 / 3 / 7; }
.macro-subgrid[data-bento="trio-tall-left"] > :nth-child(2) { grid-area: 1 / 7 / 2 / 13; }
.macro-subgrid[data-bento="trio-tall-left"] > :nth-child(3) { grid-area: 2 / 7 / 3 / 13; }

/* 4 Cards: Editorial 1+1+2, Interlocking Staggered Brickwork, Spotlight 1+3 */
.macro-subgrid[data-bento="quad-editorial"],
.macro-subgrid[data-bento="quad-editorial-rev"],
.macro-subgrid[data-bento="quad-stagger"],
.macro-subgrid[data-bento="quad-stagger-rev"],
.macro-subgrid[data-bento="quad-spotlight"] {
  grid-template-rows: repeat(2, minmax(216px, 1fr));
}

.macro-subgrid[data-bento="quad-editorial"] > :nth-child(1) { grid-area: 1 / 1 / 3 / 6; }
.macro-subgrid[data-bento="quad-editorial"] > :nth-child(2) { grid-area: 1 / 6 / 2 / 13; }
.macro-subgrid[data-bento="quad-editorial"] > :nth-child(3) { grid-area: 2 / 6 / 3 / 9; }
.macro-subgrid[data-bento="quad-editorial"] > :nth-child(4) { grid-area: 2 / 9 / 3 / 13; }

.macro-subgrid[data-bento="quad-editorial-rev"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 8; }
.macro-subgrid[data-bento="quad-editorial-rev"] > :nth-child(2) { grid-area: 1 / 8 / 3 / 13; }
.macro-subgrid[data-bento="quad-editorial-rev"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 5; }
.macro-subgrid[data-bento="quad-editorial-rev"] > :nth-child(4) { grid-area: 2 / 5 / 3 / 8; }

.macro-subgrid[data-bento="quad-stagger"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 8; }
.macro-subgrid[data-bento="quad-stagger"] > :nth-child(2) { grid-area: 1 / 8 / 2 / 13; }
.macro-subgrid[data-bento="quad-stagger"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 6; }
.macro-subgrid[data-bento="quad-stagger"] > :nth-child(4) { grid-area: 2 / 6 / 3 / 13; }

.macro-subgrid[data-bento="quad-stagger-rev"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 6; }
.macro-subgrid[data-bento="quad-stagger-rev"] > :nth-child(2) { grid-area: 1 / 6 / 2 / 13; }
.macro-subgrid[data-bento="quad-stagger-rev"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 8; }
.macro-subgrid[data-bento="quad-stagger-rev"] > :nth-child(4) { grid-area: 2 / 8 / 3 / 13; }

.macro-subgrid[data-bento="quad-spotlight"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 13; }
.macro-subgrid[data-bento="quad-spotlight"] > :nth-child(2) { grid-area: 2 / 1 / 3 / 5; }
.macro-subgrid[data-bento="quad-spotlight"] > :nth-child(3) { grid-area: 2 / 5 / 3 / 9; }
.macro-subgrid[data-bento="quad-spotlight"] > :nth-child(4) { grid-area: 2 / 9 / 3 / 13; }

/* 5 Cards: Magazine 1+4 Bento & Split 2+3 */
.macro-subgrid[data-bento="quint-magazine"],
.macro-subgrid[data-bento="quint-magazine-rev"],
.macro-subgrid[data-bento="quint-split"] {
  grid-template-rows: repeat(2, minmax(220px, 1fr));
}

.macro-subgrid[data-bento="quint-magazine"] > :nth-child(1) { grid-area: 1 / 1 / 3 / 6; }
.macro-subgrid[data-bento="quint-magazine"] > :nth-child(2) { grid-area: 1 / 6 / 2 / 10; }
.macro-subgrid[data-bento="quint-magazine"] > :nth-child(3) { grid-area: 1 / 10 / 2 / 13; }
.macro-subgrid[data-bento="quint-magazine"] > :nth-child(4) { grid-area: 2 / 6 / 3 / 9; }
.macro-subgrid[data-bento="quint-magazine"] > :nth-child(5) { grid-area: 2 / 9 / 3 / 13; }

.macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 5; }
.macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(2) { grid-area: 1 / 8 / 3 / 13; }
.macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(3) { grid-area: 1 / 5 / 2 / 8; }
.macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(4) { grid-area: 2 / 1 / 3 / 4; }
.macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(5) { grid-area: 2 / 4 / 3 / 8; }

.macro-subgrid[data-bento="quint-split"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 8; }
.macro-subgrid[data-bento="quint-split"] > :nth-child(2) { grid-area: 1 / 8 / 2 / 13; }
.macro-subgrid[data-bento="quint-split"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 5; }
.macro-subgrid[data-bento="quint-split"] > :nth-child(4) { grid-area: 2 / 5 / 3 / 9; }
.macro-subgrid[data-bento="quint-split"] > :nth-child(5) { grid-area: 2 / 9 / 3 / 13; }

/* 6 Cards: Staggered 3+3 Mosaic Brickwork */
.macro-subgrid[data-bento="sext-mosaic"] {
  grid-template-rows: repeat(2, minmax(218px, 1fr));
}
.macro-subgrid[data-bento="sext-mosaic"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 6; }
.macro-subgrid[data-bento="sext-mosaic"] > :nth-child(2) { grid-area: 1 / 6 / 2 / 10; }
.macro-subgrid[data-bento="sext-mosaic"] > :nth-child(3) { grid-area: 1 / 10 / 2 / 13; }
.macro-subgrid[data-bento="sext-mosaic"] > :nth-child(4) { grid-area: 2 / 1 / 3 / 4; }
.macro-subgrid[data-bento="sext-mosaic"] > :nth-child(5) { grid-area: 2 / 4 / 3 / 8; }
.macro-subgrid[data-bento="sext-mosaic"] > :nth-child(6) { grid-area: 2 / 8 / 3 / 13; }

@media (max-width: 820px) {
  .macro-subgrid[data-bento="quint-magazine"] > :nth-child(1),
  .macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(2) {
    grid-area: 1 / 1 / 2 / 13;
  }
  .macro-subgrid[data-bento="quint-magazine"] > :nth-child(2) { grid-area: 2 / 1 / 3 / 8; }
  .macro-subgrid[data-bento="quint-magazine"] > :nth-child(3) { grid-area: 2 / 8 / 3 / 13; }
  .macro-subgrid[data-bento="quint-magazine"] > :nth-child(4) { grid-area: 3 / 1 / 4 / 6; }
  .macro-subgrid[data-bento="quint-magazine"] > :nth-child(5) { grid-area: 3 / 6 / 4 / 13; }

  .macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(1) { grid-area: 2 / 1 / 3 / 8; }
  .macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(3) { grid-area: 2 / 8 / 3 / 13; }
  .macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(4) { grid-area: 3 / 1 / 4 / 6; }
  .macro-subgrid[data-bento="quint-magazine-rev"] > :nth-child(5) { grid-area: 3 / 6 / 4 / 13; }

  .macro-subgrid[data-bento="sext-mosaic"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 8; }
  .macro-subgrid[data-bento="sext-mosaic"] > :nth-child(2) { grid-area: 1 / 8 / 2 / 13; }
  .macro-subgrid[data-bento="sext-mosaic"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 6; }
  .macro-subgrid[data-bento="sext-mosaic"] > :nth-child(4) { grid-area: 2 / 6 / 3 / 13; }
  .macro-subgrid[data-bento="sext-mosaic"] > :nth-child(5) { grid-area: 3 / 1 / 4 / 8; }
  .macro-subgrid[data-bento="sext-mosaic"] > :nth-child(6) { grid-area: 3 / 8 / 4 / 13; }

  .macro-subgrid[data-bento="quad-spotlight"] > :nth-child(1) { grid-area: 1 / 1 / 2 / 8; }
  .macro-subgrid[data-bento="quad-spotlight"] > :nth-child(2) { grid-area: 1 / 8 / 2 / 13; }
  .macro-subgrid[data-bento="quad-spotlight"] > :nth-child(3) { grid-area: 2 / 1 / 3 / 6; }
  .macro-subgrid[data-bento="quad-spotlight"] > :nth-child(4) { grid-area: 2 / 6 / 3 / 13; }
}

@media (max-width: 560px) {
  .macro-subgrid,
  .macro-subgrid[data-bento] {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: minmax(224px, auto);
  }
  .macro-subgrid > * {
    grid-area: auto !important;
  }
}

/* =========================================================================
   1:1 "FLUIDITY IN MOTION" CARD (UI/home.html)
   - Top-left: frosted tags; Top-right: frosted Like & Dislike pills
   - Bottom: Title + 1-2 line desc (12px), NO border-top separator
   - Footer: Avatar + @user left; Comment, Share/Fav, + Pack, ... More right
   ========================================================================= */
.fluid-card {
  position: relative;
  height: 100%;
  min-height: 216px;
  border-radius: 14px;
  overflow: visible;
  background: #16181f;
  isolation: isolate;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.fluid-card--feature {
  min-height: 240px;
}

.fluid-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-popover);
}

/* Text-Only Post Quote Card Style (mirrors Snaps Post Quote Stage) */
.fluid-card--quote .fluid-media-clip {
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--macro-color, #3b82f6) 28%, transparent), transparent 54%),
    radial-gradient(circle at 82% 80%, rgba(168, 85, 247, 0.22), transparent 56%),
    linear-gradient(155deg, #0f172a 0%, #171c2b 52%, #0c0f17 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fluid-card--quote .fluid-scrim {
  background: linear-gradient(
    to top,
    rgba(8, 10, 15, 0.42) 0%,
    transparent 34%,
    transparent 74%,
    rgba(8, 10, 15, 0.28) 100%
  );
}

.fluid-quote-stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 6px 12px 4px;
  min-height: 0;
}

.fluid-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 0.62;
  color: rgba(255, 255, 255, 0.24);
  user-select: none;
}

.fluid-card--feature .fluid-quote-mark {
  font-size: 48px;
}

.fluid-quote-text {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: #f8fafc;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fluid-card--feature .fluid-quote-text {
  font-size: 21px;
  -webkit-line-clamp: 5;
}

.fluid-quote-text--long {
  font-size: 14.5px;
  line-height: 1.44;
  -webkit-line-clamp: 5;
}

.fluid-card--feature .fluid-quote-text--long {
  font-size: 17.5px;
  -webkit-line-clamp: 6;
}

.fluid-quote-sub {
  margin: 2px 0 0;
  max-width: 92%;
  font-size: 11.5px;
  line-height: 1.38;
  color: rgba(248, 250, 252, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fluid-media-clip {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(135deg, var(--macro-color, #1877f2) 0%, #16181f 100%);
}

.fluid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.fluid-card:hover .fluid-bg { transform: scale(1.07); }

.fluid-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 10, 15, 0.94) 0%,
    rgba(8, 10, 15, 0.6) 38%,
    rgba(8, 10, 15, 0.12) 66%,
    rgba(8, 10, 15, 0.44) 100%
  );
  pointer-events: none;
}

.fluid-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 14px;
}

.fluid-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.fluid-inner a,
.fluid-inner button,
.fluid-inner form,
.fluid-inner .card-menu-anchor {
  pointer-events: auto;
}

.fluid-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.fluid-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.fluid-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.15s ease;
}

.fluid-tag:hover { background: rgba(255, 255, 255, 0.32); text-decoration: none; }

.fluid-price {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.28);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #dcfce7;
  font-size: 10.5px;
  font-weight: 800;
}

/* Top-right Like / Dislike frosted pills */
.fluid-votes-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vote-pill {
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.vote-pill .icon-xs { width: 12.5px; height: 12.5px; }
.vote-pill:hover { background: rgba(10, 12, 18, 0.8); color: #ffffff; }
.vote-pill:active { transform: scale(0.93); }
.vote-pill.like.active { background: rgba(59, 130, 246, 0.88); border-color: rgba(147, 197, 253, 0.65); color: #ffffff; }
.vote-pill.deslike.active { background: rgba(239, 68, 68, 0.88); border-color: rgba(252, 165, 165, 0.65); color: #ffffff; }

/* Bottom Block */
.fluid-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.fluid-title {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
}

.fluid-card--feature .fluid-title { font-size: 19px; }

.fluid-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.36;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fluid-card--post .fluid-desc {
  -webkit-line-clamp: 3;
}

.fluid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.fluid-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
}

.fluid-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
  position: relative;
}

.fluid-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fluid-username {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fluid-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.soc-btn {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 5px;
  border-radius: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.14s ease, background 0.14s ease, transform 0.12s ease;
}

.soc-btn .icon-xs { width: 13px; height: 13px; }
.soc-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.18); text-decoration: none; }
.soc-btn:active { transform: scale(0.92); }
.soc-btn.share.active { color: #facc15; }

.home-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}

/* Home System Filter Bar & Quick Search (1:1 UI/home.html) */
.home-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.home-sys-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}
.home-sys-pills::-webkit-scrollbar { display: none; }

.home-sys-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.home-sys-pill:hover { color: var(--text); background: var(--surface-hover); }
.home-sys-pill.active {
  background: var(--pill-active-bg);
  border-color: var(--pill-active-bg);
  color: var(--pill-active-text);
}

.home-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 220px;
  flex-shrink: 0;
}

.home-search-wrap .icon {
  position: absolute;
  left: 11px;
  color: var(--text-muted);
  pointer-events: none;
}

.home-search-input {
  width: 100%;
  height: 32px;
  padding: 0 12px 0 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.home-search-input:focus { border-color: var(--accent); }

/* Slim visible homepage brand bar (bottom of .home-wrap, above footer) */
.home-brand-bar {
  margin-top: 28px;
  padding: 10px 4px 0;
  border-top: 1px solid var(--border);
  min-height: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.home-brand-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.4;
}

.home-brand-desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
