:root {
  --bg: #efefef;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f5f5f5;
  --ink: #1f2426;
  --muted: #636b6d;
  --line: #dbdbdb;
  --line-strong: #c8c8c8;
  --accent: #62b36a;
  --accent-dark: #4f9b58;
  --accent-soft: rgba(98, 179, 106, 0.12);
  --success: #4f9b58;
  --danger: #b42318;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'IBM Plex Sans', 'Space Grotesk', sans-serif;
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

body.age-gate-open {
  overflow: hidden;
}

body.post-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .post-overlay,
  .post-layout,
  .detail-panel-concept,
  .detail-close,
  .sister-feed-card,
  .sister-feed-card .card-image,
  .sister-feed-card .card-video {
    transition: none !important;
    animation: none !important;
  }
}

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

button {
  cursor: pointer;
  border: 0;
}

a {
  color: inherit;
}

.shell {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.brand-button,
.nav-link,
.mode-btn,
.inline-link {
  background: transparent;
}

.brand-button {
  padding: 0 12px;
  min-height: 40px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #12666f;
  background: var(--bg-soft);
}

.brand-logo-button {
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  display: block;
  width: 248px;
  height: auto;
}

.nav-strip,
.session-strip,
.session-actions,
.hero-actions,
.detail-actions,
.section-head,
.feed-actions,
.submit-row,
.inline-actions,
.message-head,
.message-head-actions,
.profile-head,
.profile-topline,
.profile-actions,
.field-grid,
.topbar,
.verification-head,
.modal-head,
.account-media,
.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-strip {
  flex: 1;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.nav-link,
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  background: var(--bg-soft);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.user-chip:hover,
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.icon-btn:hover,
.mode-btn:hover,
.social-link:hover,
.card-action:hover,
.conversation-item:hover,
.search-item:hover,
.inline-link:hover {
  transform: translateY(-1px);
}

.nav-link.active,
.user-chip {
  background: rgba(98, 179, 106, 0.08);
  color: var(--accent-dark);
}

.nav-badge {
  min-width: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.panel,
.modal-card,
.post-card,
.conversation-item,
.search-item,
.message-bubble,
.media-card,
.stat-card,
.flash {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel,
.post-card,
.conversation-item,
.search-item,
.message-bubble,
.media-card,
.stat-card {
  border-radius: var(--radius-lg);
}

.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 8px;
  margin-bottom: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-copy h2,
.section-head h3,
.modal-head h3,
.profile-copy h3,
.message-head h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  max-width: none;
  font-size: 1.2rem;
  line-height: 1.25;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note,
.inline-note,
.upload-status,
.field span,
.card-meta,
.detail-meta,
.card-stats,
.verification-head span,
.profile-meta,
.profile-bio,
.message-head p,
.conversation-line,
.search-item p,
.empty-state p,
.author-meta,
.file-meta-block span {
  margin: 0;
  color: var(--muted);
}

.hero-note {
  max-width: none;
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lookup-panel {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  align-content: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line);
  border: 0;
}

.lookup-panel .field {
  min-width: 220px;
  flex: 1;
}

body.landing-mode {
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(98, 179, 106, 0.08), transparent 24%),
    linear-gradient(180deg, #f4f5f2 0%, #efefef 100%);
}

body.landing-mode .shell {
  width: min(1080px, calc(100% - 28px));
  padding: 18px 0 40px;
}

body.landing-mode .flash {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--ink);
}

body.landing-mode .topbar {
  position: relative;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(102, 195, 128, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(117, 165, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 244, 0.92) 100%);
  box-shadow:
    0 22px 48px rgba(31, 36, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

body.landing-mode .topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 42%);
  pointer-events: none;
}

body.landing-mode .brand-logo-button,
body.landing-mode .nav-strip,
body.landing-mode .session-strip {
  position: relative;
  z-index: 1;
}

body.landing-mode .brand-logo-button {
  padding: 8px 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 251, 247, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(21, 33, 46, 0.08);
}

body.landing-mode .brand-logo {
  width: 280px;
  filter: drop-shadow(0 14px 20px rgba(50, 95, 190, 0.12));
}

body.landing-mode .nav-strip {
  gap: 10px;
}

body.landing-mode .nav-link {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border-color: rgba(98, 179, 106, 0.28);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 18px rgba(31, 36, 38, 0.05);
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.landing-mode .nav-link.active {
  border-color: rgba(98, 179, 106, 0.42);
  background: linear-gradient(180deg, rgba(233, 247, 234, 0.96), rgba(219, 242, 222, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 20px rgba(98, 179, 106, 0.12);
}

.world-cta {
  position: relative;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(161, 198, 255, 0.48);
  background: linear-gradient(135deg, #61a0ff 0%, #6788ff 54%, #7d5eff 100%);
  color: #fdfdff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow:
    0 20px 40px rgba(64, 104, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.world-stage {
  position: relative;
  padding: 22px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(135, 86, 255, 0.28);
  background:
    radial-gradient(circle at top, rgba(87, 215, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(5, 8, 18, 0.95) 0%, rgba(2, 4, 12, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.42);
}

.world-stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.world-stage-kicker {
  margin: 0;
  color: #89f4ff;
  letter-spacing: 0.22em;
}

.world-stage-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(131, 232, 255, 0.26);
  background: rgba(10, 16, 30, 0.76);
  box-shadow:
    0 0 0 1px rgba(114, 228, 255, 0.12),
    0 0 28px rgba(89, 222, 255, 0.14);
  color: #f5fbff;
  font-size: 0.92rem;
  font-weight: 600;
}

.world-stage-canvas {
  position: relative;
  min-height: clamp(360px, 54vw, 600px);
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 40px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(130, 91, 255, 0.14);
  background:
    radial-gradient(circle at top, rgba(46, 62, 108, 0.3), transparent 38%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.84) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.world-stage-grid,
.world-stage-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.world-stage-grid {
  background-image:
    linear-gradient(rgba(115, 150, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 150, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 80%);
}

.world-stage-glow {
  background:
    radial-gradient(circle at center, rgba(67, 118, 255, 0.22), transparent 36%),
    radial-gradient(circle at center, rgba(122, 87, 255, 0.14), transparent 52%);
  filter: blur(20px);
}

.world-globe-frame {
  position: relative;
  z-index: 1;
  width: min(560px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.world-globe {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.34), transparent 15%),
    radial-gradient(circle at 38% 30%, rgba(97, 222, 255, 0.18), transparent 28%),
    url('/globe/earth-day-preview.jpg') center / cover no-repeat;
  box-shadow:
    inset -64px -42px 110px rgba(0, 0, 42, 0.58),
    inset 22px 18px 38px rgba(255, 255, 255, 0.18),
    0 0 0 2px rgba(126, 175, 255, 0.14),
    0 0 46px rgba(66, 135, 255, 0.4),
    0 34px 80px rgba(0, 0, 0, 0.44);
  animation: world-spin 42s linear infinite;
}

.world-globe::before,
.world-globe::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.world-globe::before {
  inset: -2.5%;
  border: 1px solid rgba(123, 214, 255, 0.26);
  box-shadow: 0 0 38px rgba(86, 180, 255, 0.22);
}

.world-globe::after {
  inset: 16%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
  filter: blur(4px);
}

.world-globe-orbit {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px solid rgba(125, 230, 255, 0.12);
  pointer-events: none;
}

.world-globe-orbit-a {
  transform: rotate(18deg) scaleX(1.12) scaleY(0.58);
}

.world-globe-orbit-b {
  transform: rotate(-26deg) scaleX(1.18) scaleY(0.74);
}

.world-globe-orbit-c {
  transform: rotate(76deg) scaleX(0.84) scaleY(1.14);
}

.world-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.world-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(var(--distance) * -1))
    rotate(calc(var(--angle) * -1));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.world-marker-idle {
  pointer-events: none;
}

.world-marker-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 999px;
  background:
    radial-gradient(circle, #ffd8ff 0%, hsl(var(--marker-hue), 90%, 72%) 34%, hsl(var(--marker-hue), 90%, 62%) 100%);
  box-shadow:
    0 0 0 5px hsla(var(--marker-hue), 95%, 62%, 0.16),
    0 0 16px hsla(var(--marker-hue), 95%, 62%, 0.55);
  animation: marker-pulse 2.6s ease-in-out infinite;
}

.world-marker-label {
  display: grid;
  gap: 2px;
  min-width: max-content;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(131, 232, 255, 0.16);
  background: rgba(7, 11, 20, 0.84);
  color: #f5fbff;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.world-marker-label strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.world-marker-label span {
  color: #9fb8d9;
  font-size: 0.72rem;
  line-height: 1.2;
}

.world-marker:hover .world-marker-label,
.world-marker:focus-visible .world-marker-label {
  opacity: 1;
  transform: translateY(0);
}

.world-stage-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: #9fb8d9;
  font-size: 0.92rem;
}

.world-stage-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.legacy-home-controls {
  display: none !important;
}

@keyframes world-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes marker-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.88;
  }

  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

.compact-actions {
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.icon-btn,
.mode-btn,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: var(--radius-sm);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}

.primary-btn {
  padding: 0 12px;
  color: var(--accent-dark);
  background: var(--bg-soft);
  border: 1px solid var(--accent);
}

.secondary-btn,
.ghost-btn,
.icon-btn,
.mode-btn,
.card-action {
  padding: 0 10px;
  color: var(--accent-dark);
  background: var(--bg-soft);
  border: 1px solid var(--accent);
}

.ghost-btn {
  background: transparent;
}

body.landing-mode .world-cta {
  min-width: 250px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  color: #ffffff;
  border-color: rgba(68, 112, 255, 0.24);
  background: linear-gradient(135deg, #5b95ff 0%, #5b79ff 58%, #6e5dff 100%);
  box-shadow:
    0 16px 36px rgba(84, 111, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  letter-spacing: 0.05em;
}

body.landing-mode .world-cta:hover {
  color: #ffffff;
  border-color: rgba(68, 112, 255, 0.34);
  background: linear-gradient(135deg, #5f99ff 0%, #617fff 58%, #715fff 100%);
  box-shadow:
    0 20px 42px rgba(84, 111, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.landing-mode .world-link-cta {
  min-width: 250px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  color: #6f2f00;
  border-color: rgba(223, 113, 16, 0.34);
  background: linear-gradient(180deg, rgba(255, 218, 156, 0.98), rgba(255, 168, 63, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 28px rgba(226, 120, 20, 0.18);
  font-weight: 500;
}

body.landing-mode .world-link-cta:hover {
  color: #5d2600;
  border-color: rgba(215, 103, 8, 0.42);
  background: linear-gradient(180deg, rgba(255, 224, 171, 1), rgba(255, 156, 33, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 30px rgba(226, 120, 20, 0.22);
}

body.landing-mode .view[data-view='home'] {
  min-height: 0;
  display: block;
}

body.landing-mode .topbar {
  align-items: center;
}

body.landing-mode .session-strip {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 14px;
}

.wide {
  width: 100%;
  justify-content: center;
}

.view-stack {
  display: grid;
  gap: 12px;
}

.feed-section,
.profile-panel,
.detail-panel,
.detail-comments {
  padding: 14px;
}

.board-feed {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-feed-buffer {
  display: grid;
  gap: 10px;
}

.site-footer {
  margin-top: 28px;
  padding: 24px 0 8px;
  border-top: 1px solid rgba(21, 33, 39, 0.08);
}

.site-footer-inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.site-footer-rta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(21, 33, 39, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 22px rgba(21, 33, 46, 0.05);
}

.site-footer-rta img {
  display: block;
  width: 120px;
  height: auto;
}

.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: #5f6f78;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-links a:hover {
  color: var(--ink);
}

.site-footer-note,
.site-footer-copy {
  margin: 0;
}

.site-footer-note {
  max-width: 42ch;
  color: #53656e;
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer-copy {
  color: #86949c;
  font-size: 0.68rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.legal-page {
  background:
    radial-gradient(circle at top, rgba(32, 124, 245, 0.08), transparent 36%),
    radial-gradient(circle at right, rgba(90, 182, 132, 0.08), transparent 34%),
    var(--bg);
}

.legal-shell {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 42px;
  display: grid;
  gap: 22px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
}

.legal-brand img {
  display: block;
  width: clamp(220px, 24vw, 320px);
  height: auto;
}

.legal-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-main {
  display: grid;
  gap: 18px;
}

.legal-intro {
  display: grid;
  gap: 10px;
  padding: 0 4px;
}

.legal-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.legal-eyebrow {
  margin: 0;
  color: #73818a;
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-intro-meta,
.legal-intro-copy {
  margin: 0;
}

.legal-intro-meta {
  color: #67767f;
  font-size: 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-intro-copy {
  max-width: 64ch;
  color: #485a63;
  line-height: 1.6;
}

.legal-panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(21, 33, 39, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 48px rgba(21, 33, 46, 0.08);
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-section {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(21, 33, 39, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.legal-section h2,
.legal-section h3 {
  margin: 0;
  color: #1a3039;
}

.legal-section h2 {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin-top: 6px;
  font-size: 0.9rem;
}

.legal-section p,
.legal-section li {
  margin: 0;
  color: #455760;
  font-size: 0.93rem;
  line-height: 1.62;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-callout {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(98, 179, 106, 0.24);
  background: rgba(98, 179, 106, 0.12);
}

.legal-callout h2,
.legal-callout p {
  margin: 0;
}

.legal-callout h2 {
  color: #366841;
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-callout p {
  color: #2c5c36;
  line-height: 1.6;
}

#pig-net-disclosure {
  scroll-margin-top: 88px;
}

.feed-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.home-feed-topline {
  display: block;
  margin: 0 0 18px;
}

.feed-filter-control {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.feed-filter-control span {
  padding-left: 4px;
  color: #6d7b84;
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feed-filter-select {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 16px;
  border: 1px solid rgba(21, 33, 39, 0.1);
  border-radius: 18px;
  -webkit-appearance: none;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #6f7d86 50%) calc(100% - 18px) calc(50% - 3px) / 6px 6px no-repeat,
    linear-gradient(135deg, #6f7d86 50%, transparent 50%) calc(100% - 12px) calc(50% - 3px) / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 1px 2px rgba(21, 33, 39, 0.03);
  color: #16303a;
  font-size: 0.98rem;
  font-weight: 500;
  outline: none;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.feed-filter-select:hover {
  border-color: rgba(52, 123, 236, 0.18);
  background:
    linear-gradient(45deg, transparent 50%, #57707c 50%) calc(100% - 18px) calc(50% - 3px) / 6px 6px no-repeat,
    linear-gradient(135deg, #57707c 50%, transparent 50%) calc(100% - 12px) calc(50% - 3px) / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.96);
}

.feed-filter-select:focus {
  border-color: rgba(52, 123, 236, 0.32);
  background:
    linear-gradient(45deg, transparent 50%, #216ee6 50%) calc(100% - 18px) calc(50% - 3px) / 6px 6px no-repeat,
    linear-gradient(135deg, #216ee6 50%, transparent 50%) calc(100% - 12px) calc(50% - 3px) / 6px 6px no-repeat,
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 0 0 4px rgba(52, 123, 236, 0.08);
}

.feed-filter-select:disabled {
  opacity: 0.62;
  cursor: wait;
}

.stream-section {
  padding: 14px;
  margin-bottom: 12px;
}

.stream-section-head,
.stream-section-actions {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stream-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 220px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.stream-rail[data-loading='true']::before {
  content: 'Checking live streams…';
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  width: 100%;
}

.stream-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.stream-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(98, 179, 106, 0.18), transparent 54%),
    linear-gradient(160deg, #dbe8dc 0%, #f4f5f2 100%);
}

.stream-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stream-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stream-live-pill {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 36, 38, 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-live-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.18);
}

.stream-card-body {
  display: grid;
  gap: 4px;
}

.stream-card-title,
.stream-card-user,
.stream-card-meta {
  min-width: 0;
}

.stream-card-title {
  font-weight: 700;
  line-height: 1.25;
}

.stream-card-user {
  color: var(--muted);
  font-size: 0.82rem;
}

.stream-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.74rem;
  font-family: 'IBM Plex Mono', monospace;
}

.section-head {
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.section-head h3,
.profile-copy h3,
.message-head h3 {
  font-size: 1.05rem;
}

.feed-grid {
  column-width: 300px;
  column-gap: 10px;
  min-height: 120px;
}

.feed-grid[data-loading='true']::before {
  content: 'Loading…';
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  width: 100%;
  break-inside: avoid;
}

.post-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  background: rgba(21, 26, 31, 0.18);
  backdrop-filter: blur(0px) saturate(0.96);
  transition:
    opacity 0.22s ease,
    background-color 0.22s ease,
    backdrop-filter 0.22s ease;
}

.post-overlay[data-state='opening'],
.post-overlay[data-state='open'] {
  opacity: 1;
  pointer-events: auto;
  background: rgba(21, 26, 31, 0.42);
  backdrop-filter: blur(8px) saturate(0.92);
}

.post-layout {
  width: min(980px, calc(100vw - 32px));
  margin: 14px auto;
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.post-overlay[data-state='opening'] .post-layout,
.post-overlay[data-state='open'] .post-layout {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.detail-panel-concept {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  grid-template-areas:
    'topbar topbar'
    'stage copy'
    'stage actions';
  align-items: start;
  gap: 14px 18px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(31, 36, 38, 0.08);
  background:
    radial-gradient(circle at top, rgba(98, 179, 106, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fafaf7 100%);
  box-shadow: 0 16px 36px rgba(31, 36, 38, 0.08);
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.post-overlay[data-state='opening'] .detail-panel-concept,
.post-overlay[data-state='open'] .detail-panel-concept {
  box-shadow: 0 22px 54px rgba(31, 36, 38, 0.10);
}

.detail-topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.detail-brand {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: #1d676d;
}

.detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.detail-close:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: rotate(90deg);
}

.detail-stage {
  grid-area: stage;
  min-width: 0;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 18, 20, 0.03), rgba(14, 18, 20, 0.02));
  border: 1px solid rgba(31, 36, 38, 0.06);
}

.detail-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 220px;
}

.detail-media-carousel {
  position: relative;
}

.detail-media-carousel.has-multiple {
  padding: 0 44px;
}

.detail-media-grid[data-loading='true']::before {
  content: 'Loading post…';
  display: flex;
  min-height: clamp(240px, 36vw, 460px);
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.detail-media-item {
  overflow: hidden;
  border-radius: 18px;
  background: #101214;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: clamp(220px, 34vw, 460px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.detail-media-item.solo {
  grid-column: 1 / -1;
}

.detail-media-item img,
.detail-media-item video {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 34vw, 460px);
  object-fit: contain;
  display: block;
  background: #101214;
}

.detail-media-zoom-trigger {
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-media-zoom-trigger img {
  pointer-events: none;
}

.detail-media-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(17, 21, 24, 0.74);
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.detail-media-nav.prev {
  left: 0;
}

.detail-media-nav.next {
  right: 0;
}

.detail-media-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(17, 21, 24, 0.88);
}

.detail-media-nav:disabled {
  opacity: 0.34;
  cursor: default;
}

.detail-media-indicator {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 21, 24, 0.78);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-media-lightbox {
  position: fixed;
  inset: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 13, 16, 0.74);
  backdrop-filter: blur(14px) saturate(0.96);
}

.detail-media-lightbox-frame {
  position: relative;
  max-width: min(1280px, calc(100vw - 80px));
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-media-lightbox-image {
  display: block;
  max-width: min(1280px, calc(100vw - 80px));
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.detail-media-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 16, 20, 0.72);
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.detail-media-lightbox-close:hover {
  background: rgba(12, 16, 20, 0.88);
}

.detail-copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  gap: 8px;
  margin-top: 0;
  min-width: 0;
}

.detail-copy-concept {
  text-align: left;
  justify-items: start;
}

.detail-expiry {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-copy h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.detail-description {
  margin: 0;
  color: var(--ink);
  line-height: 1.48;
  white-space: pre-wrap;
  font-size: 0.92rem;
  max-width: none;
  justify-self: stretch;
}

.detail-inline-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-inline-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 36, 38, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}

.detail-crosspost {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(64, 114, 227, 0.14);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.96), rgba(236, 242, 255, 0.98));
}

.detail-crosspost-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(64, 114, 227, 0.1);
  color: #3556b5;
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-crosspost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(64, 114, 227, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #2948a6;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.detail-crosspost-link:hover {
  transform: translateY(-1px);
  border-color: rgba(64, 114, 227, 0.32);
  box-shadow: 0 10px 20px rgba(64, 114, 227, 0.12);
}

.detail-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-stats {
  margin-top: 2px;
}

.detail-actions {
  justify-content: stretch;
}

.detail-actions-concept {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  align-self: end;
  margin-top: 0;
  gap: 10px;
}

.detail-dropdown {
  position: relative;
  min-width: 0;
}

.detail-action-btn {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 22px rgba(31, 36, 38, 0.08);
}

.secondary-btn.detail-extend-btn {
  border-color: rgba(226, 151, 36, 0.34);
  background: linear-gradient(180deg, #fff0c8 0%, #ffd988 100%);
  color: #884e00;
}

.secondary-btn.detail-share-btn {
  border-color: rgba(82, 114, 232, 0.28);
  background: linear-gradient(180deg, #edf3ff 0%, #d9e4ff 100%);
  color: #2f54c8;
}

.secondary-btn.detail-report-btn {
  min-width: 104px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 15px;
  border-color: rgba(191, 41, 41, 0.34);
  background: linear-gradient(180deg, #eb5f5f 0%, #cf3f3f 100%);
  color: #ffffff;
  font-size: 0.84rem;
  box-shadow: 0 8px 18px rgba(194, 71, 71, 0.18);
}

.secondary-btn.detail-download-btn {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  border-color: rgba(55, 150, 104, 0.28);
  background: linear-gradient(180deg, #e9f8ee 0%, #cbecd8 100%);
  color: #1d744b;
}

.secondary-btn.detail-extend-btn:hover,
.secondary-btn.detail-share-btn:hover,
.secondary-btn.detail-download-btn:hover,
.secondary-btn.detail-report-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn.detail-extend-btn:hover {
  border-color: rgba(214, 139, 24, 0.42);
  background: linear-gradient(180deg, #fff3d5 0%, #ffd06c 100%);
  color: #7a4300;
}

.secondary-btn.detail-share-btn:hover {
  border-color: rgba(68, 102, 226, 0.36);
  background: linear-gradient(180deg, #f3f7ff 0%, #cfdcff 100%);
  color: #284ab1;
}

.secondary-btn.detail-download-btn:hover {
  border-color: rgba(41, 136, 90, 0.36);
  background: linear-gradient(180deg, #eefbf2 0%, #bee6ce 100%);
  color: #145d39;
}

.secondary-btn.detail-report-btn:hover {
  border-color: rgba(174, 29, 29, 0.42);
  background: linear-gradient(180deg, #f06f6f 0%, #c93434 100%);
  color: #ffffff;
}

#detail-viewers-mercy-wrap {
  grid-column: 2;
  grid-row: 1;
}

#detail-share-wrap {
  grid-column: 1;
  grid-row: 1;
}

#detail-report-wrap {
  grid-column: 3;
  grid-row: 2;
  width: auto;
  justify-self: end;
  align-self: start;
}

.detail-dropdown-trigger[data-state='open'] {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(31, 36, 38, 0.12);
}

.detail-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 10;
  display: grid;
  gap: 8px;
  min-width: 240px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(31, 36, 38, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 42px rgba(31, 36, 38, 0.14);
}

.detail-actions .detail-dropdown-menu {
  top: auto;
  bottom: calc(100% + 10px);
}

.detail-report-menu {
  left: auto;
  right: 0;
  gap: 12px;
  min-width: 320px;
  padding: 14px;
}

.detail-report-note {
  padding: 12px 13px;
  border-radius: 15px;
  border: 1px solid rgba(207, 94, 94, 0.18);
  background: linear-gradient(180deg, rgba(255, 241, 240, 0.92) 0%, rgba(255, 233, 229, 0.96) 100%);
  color: #9b4a4a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.detail-report-reasons {
  display: grid;
  gap: 8px;
}

.detail-report-reason {
  width: 100%;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(31, 36, 38, 0.08);
  background: #f6f7f8;
  color: var(--ink);
  text-align: left;
  font-weight: 600;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.detail-report-reason:hover {
  transform: translateY(-1px);
  border-color: rgba(207, 94, 94, 0.24);
  background: rgba(207, 94, 94, 0.08);
}

.detail-report-reason.is-active {
  border-color: rgba(207, 94, 94, 0.38);
  background: rgba(207, 94, 94, 0.12);
  box-shadow: inset 0 0 0 1px rgba(207, 94, 94, 0.12);
  color: #8f3434;
}

.detail-report-field {
  display: grid;
  gap: 8px;
}

.detail-report-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-report-textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(31, 36, 38, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.detail-report-textarea:focus {
  outline: none;
  border-color: rgba(207, 94, 94, 0.34);
  box-shadow: 0 0 0 4px rgba(207, 94, 94, 0.10);
}

.detail-report-footer {
  display: grid;
  gap: 10px;
}

.detail-report-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.detail-report-submit {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(194, 71, 71, 0.28);
  background: linear-gradient(180deg, #e46767 0%, #cc5656 100%);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 24px rgba(194, 71, 71, 0.18);
}

.detail-report-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.detail-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31, 36, 38, 0.06);
  background: #f6f7f8;
  color: var(--ink);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.detail-dropdown-item strong {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.detail-dropdown-item:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 179, 106, 0.28);
  background: rgba(98, 179, 106, 0.08);
}

.detail-dropdown-item.is-default {
  border-color: rgba(98, 179, 106, 0.35);
}

.post-card {
  overflow: hidden;
  background: var(--bg-card);
  break-inside: avoid;
  width: 100%;
  margin: 0 0 10px;
  display: inline-block;
  cursor: pointer;
}

.card-topline,
.card-footer,
.card-actions,
.card-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.board-topline {
  display: none;
}

.card-topline {
  padding: 10px 10px 0;
}

.card-pill,
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--muted);
  font-size: 0.68rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-pill-live {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.card-media {
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f0f1f3;
}

.card-image,
.card-video,
.message-image {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.card-video {
  background: #000;
}

.card-media.fallback,
.preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
}

.card-body {
  padding: 8px 8px 10px;
}

.card-heading h3 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-meta {
  margin-top: 4px;
  line-height: 1.35;
  font-size: 0.8rem;
}

.inline-link {
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.card-stats {
  margin-top: 4px;
  font-size: 0.74rem;
}

.card-footer {
  justify-content: space-between;
  margin-top: 10px;
}

.time-left {
  color: var(--muted);
  font-size: 0.8rem;
}

.card-action {
  min-width: auto;
  text-decoration: none;
}

.board-body {
  text-align: center;
}

.board-heading {
  display: grid;
  gap: 2px;
}

.card-byline {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  text-decoration: none;
}

.board-stats {
  justify-content: center;
}

.sister-feed-card {
  border-radius: 12px;
  border: 1px solid rgba(31, 36, 38, 0.08);
  box-shadow: 0 6px 18px rgba(31, 36, 38, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}

.sister-feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 36, 38, 0.10);
  border-color: rgba(31, 36, 38, 0.12);
}

.sister-feed-card .card-media {
  border-radius: 12px 12px 0 0;
  position: relative;
}

.sister-feed-body {
  padding: 10px 12px 12px;
  text-align: center;
}

.sister-feed-heading {
  display: block;
}

.sister-feed-heading h3 {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.16;
  min-height: 2.35em;
}

.sister-feed-stats {
  margin-top: 6px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink);
}

.card-eye {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-stat-value {
  line-height: 1;
}

.sister-feed-card .card-image,
.sister-feed-card .card-video {
  transition: transform 0.3s ease;
}

.sister-feed-card:hover .card-image,
.sister-feed-card:hover .card-video {
  transform: scale(1.015);
}

.flash {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.pager-row {
  justify-content: center;
  margin-top: 8px;
}

body.landing-mode .pager-row {
  display: none;
}

.flash[data-type='success'] {
  color: var(--success);
  border-color: rgba(31, 112, 68, 0.24);
}

.flash[data-type='error'] {
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.24);
}

.profile-panel {
  overflow: hidden;
}

.profile-banner {
  min-height: 120px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
}

.profile-head {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.profile-copy {
  flex: 1;
  min-width: 220px;
}

.profile-handle {
  margin-top: 6px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
}

.profile-bio {
  margin-top: 10px;
  line-height: 1.5;
  font-size: 0.92rem;
}

.profile-avatar-wrap {
  width: 80px;
  min-width: 80px;
}

.profile-avatar-wrap.large {
  width: 96px;
  min-width: 96px;
}

.avatar-face {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.profile-avatar-wrap.large .avatar-face {
  border-radius: 12px;
}

.avatar-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-row,
.profile-actions {
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.stat-card {
  padding: 12px;
  background: var(--bg-card);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.stat-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.messages-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 12px;
}

.messages-sidebar,
.messages-main {
  padding: 14px;
}

.messages-sidebar {
  align-self: start;
}

.conversation-list,
.search-results {
  display: grid;
  gap: 10px;
}

.search-results {
  margin-top: 10px;
}

.conversation-list {
  margin-top: 10px;
}

.conversation-item,
.search-item {
  padding: 10px;
  display: grid;
  gap: 10px;
  background: var(--bg-card);
}

.conversation-item.active {
  border-color: var(--line-strong);
  background: var(--bg-muted);
}

.conversation-row,
.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.conversation-avatar,
.search-avatar {
  width: 50px;
  min-width: 50px;
}

.conversation-copy,
.search-copy {
  flex: 1;
  min-width: 0;
}

.conversation-copy strong,
.search-copy strong {
  display: block;
  margin-bottom: 3px;
}

.conversation-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.conversation-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.badge.neutral {
  background: var(--bg-muted);
  color: var(--muted);
}

.messages-main {
  min-height: 420px;
}

.message-head {
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.message-thread {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding: 12px 2px 12px 0;
}

.message-bubble {
  padding: 10px 12px;
  max-width: min(76%, 520px);
  background: var(--bg-card);
}

.message-bubble.own {
  margin-left: auto;
  background: var(--bg-muted);
}

.message-author {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
}

.message-text {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.message-media {
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.message-media img {
  display: block;
  max-width: 100%;
}

.message-time {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.message-form {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}

.message-attachment {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-muted);
  color: var(--muted);
}

.empty-state {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
}

.empty-state.compact {
  min-height: 0;
  padding: 18px;
}

.empty-state h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.account-layout .panel {
  padding: 14px;
}

.account-layout {
  align-items: start;
}

.account-media {
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.media-card {
  flex: 1;
  padding: 12px;
  background: var(--bg-card);
}

.banner-card {
  display: grid;
  gap: 10px;
}

.account-banner {
  min-height: 112px;
}

.account-form {
  display: grid;
  gap: 12px;
}

.comment-form,
.field,
.option-card,
.verification-block,
.file-meta-block {
  display: grid;
  gap: 8px;
}

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

.reply-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-muted);
  color: var(--muted);
}

.comment-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.comment-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: grid;
  gap: 14px;
}

.comment-card.reply {
  margin-left: 16px;
}

.comment-head,
.comment-author,
.comment-meta,
.comment-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-author {
  align-items: start;
}

.comment-avatar {
  width: 36px;
  min-width: 36px;
}

.comment-avatar .avatar-face {
  border-radius: 8px;
  font-size: 0.9rem;
}

.comment-meta {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.comment-body,
.comment-replies,
.comment-media-grid {
  display: grid;
  gap: 10px;
}

.comment-text {
  margin: 0;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.9rem;
}

.comment-image {
  width: 100%;
  max-height: 260px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  object-fit: cover;
  display: block;
}

.comment-action.active,
.secondary-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.field span,
.verification-head strong {
  font-size: 0.8rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: #ffffff;
}

.field-grid {
  align-items: stretch;
  flex-wrap: wrap;
}

.field-grid .field {
  flex: 1 1 220px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(4px);
  z-index: 20;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 18, 23, 0.62);
  backdrop-filter: blur(12px);
}

.age-gate-card {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at top left, rgba(102, 195, 128, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(117, 165, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 244, 0.92) 100%);
  box-shadow:
    0 28px 80px rgba(14, 18, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.age-gate-kicker {
  margin: 0;
  color: #5b6f79;
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.age-gate-card h2 {
  margin: 0;
  color: #162b35;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.age-gate-copy {
  margin: 0;
  color: #49606a;
  line-height: 1.65;
}

.age-gate-stack {
  display: grid;
  gap: 10px;
}

.age-gate-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(21, 33, 39, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: #203742;
  line-height: 1.55;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.age-gate-check:hover,
.age-gate-check:focus-within {
  border-color: rgba(52, 123, 236, 0.2);
  box-shadow: 0 10px 22px rgba(21, 33, 46, 0.06);
  transform: translateY(-1px);
}

.age-gate-check.is-checked {
  border-color: rgba(98, 179, 106, 0.38);
  background: rgba(225, 243, 227, 0.88);
  box-shadow: 0 14px 26px rgba(98, 179, 106, 0.12);
}

.age-gate-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent-dark);
}

.age-gate-check span {
  min-width: 0;
}

.age-gate-check a {
  color: #2c63d3;
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.age-gate-actions .primary-btn,
.age-gate-actions .secondary-btn {
  min-height: 46px;
  justify-content: center;
}

.age-gate-actions .primary-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal-card {
  width: min(880px, 100%);
  padding: 16px;
  border-radius: var(--radius-xl);
}

.auth-card {
  width: min(520px, 100%);
}

.modal-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

.auth-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}

.mode-btn.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.simple-upload-card {
  width: min(620px, 100%);
  max-height: calc(100dvh - 40px);
  padding: 24px;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.simple-upload-form {
  display: grid;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.upload-file-field {
  gap: 10px;
}

.upload-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.simple-upload-head {
  text-align: center;
}

.simple-upload-head h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.upload-file-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 9px 11px;
  border: 1px solid rgba(21, 33, 39, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 252, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 12px 24px rgba(21, 33, 46, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.upload-file-shell:hover {
  border-color: rgba(52, 123, 236, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 28px rgba(21, 33, 46, 0.06);
}

.upload-file-shell[data-state='selected'] {
  border-color: rgba(52, 123, 236, 0.2);
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.94), rgba(239, 247, 255, 0.9));
}

.upload-file-trigger {
  min-width: 142px;
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border-color: rgba(52, 123, 236, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #214757;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(52, 123, 236, 0.08);
}

.upload-file-trigger:hover {
  border-color: rgba(52, 123, 236, 0.22);
  background: rgba(255, 255, 255, 1);
  color: #173745;
}

.upload-file-trigger-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(32, 124, 245, 0.14), rgba(90, 182, 132, 0.14));
  color: #216ee6;
  font-size: 0.92rem;
  line-height: 1;
}

.upload-file-summary {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.upload-file-summary strong {
  display: block;
  min-width: 0;
  margin: 0;
  color: #162831;
  font-size: 0.94rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-summary span {
  display: block;
  min-width: 0;
  color: #6a7880;
  font-size: 0.72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-note,
.field-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.upload-file-list {
  display: grid;
  gap: 6px;
  margin-top: -6px;
}

.upload-file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 0.82rem;
  color: var(--ink);
}

.upload-file-chip strong {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file-chip span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
}

.simple-verification {
  padding: 0;
  border: 0;
  background: transparent;
}

.simple-upload-actions {
  display: grid;
  gap: 12px;
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(247, 250, 252, 0) 0%, rgba(247, 250, 252, 0.94) 22%, rgba(247, 250, 252, 0.99) 100%);
}

.simple-upload-actions .upload-status {
  margin: 0;
  min-height: 1.25rem;
  text-align: center;
}

.simple-upload-submit {
  width: min(180px, 100%);
  margin: 0 auto;
}

.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 14px;
}

.upload-preview,
.upload-fields {
  display: grid;
  gap: 10px;
}

.preview-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.preview-frame img,
.preview-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-actions {
  display: flex;
  gap: 12px;
}

.verification-block {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.option-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

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

.option-copy {
  display: grid;
  gap: 4px;
}

.option-copy strong {
  font-size: 0.84rem;
}

.option-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.quick-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-choice-option {
  display: block;
}

.quick-choice-option input[type='radio'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quick-choice-copy {
  display: grid;
  min-height: 54px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.quick-choice-copy strong {
  font-size: 0.84rem;
}

.quick-choice-option input[type='radio']:checked + .quick-choice-copy {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(255, 125, 0, 0.12);
}

.quick-choice-option input[type='radio']:focus-visible + .quick-choice-copy {
  outline: 2px solid rgba(255, 125, 0, 0.28);
  outline-offset: 2px;
}

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

.destination-option {
  display: block;
}

.destination-option input[type='radio'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.destination-copy {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.destination-copy strong {
  font-size: 0.84rem;
}

.destination-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.destination-option input[type='radio']:checked + .destination-copy {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(255, 125, 0, 0.12);
}

.destination-option input[type='radio']:focus-visible + .destination-copy {
  outline: 2px solid rgba(255, 125, 0, 0.28);
  outline-offset: 2px;
}

.verification-head {
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}

.upload-status[data-tone='error'] {
  color: var(--danger);
}

.upload-status[data-tone='success'] {
  color: var(--success);
}

@media (max-width: 1080px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-strip {
    order: 3;
    justify-content: flex-start;
    width: 100%;
  }

  .hero,
  .post-layout,
  .messages-layout,
  .account-layout,
  .upload-layout {
    grid-template-columns: 1fr;
  }

  .profile-head {
    margin-top: 10px;
  }

  .profile-avatar-wrap {
    width: 72px;
    min-width: 72px;
  }

  .world-globe-frame {
    width: min(500px, 78vw);
  }

  .post-overlay {
    padding: 18px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .home-feed-topline {
    margin-bottom: 16px;
  }

  .peer-streams-section {
    width: 100%;
  }

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

  .feed-filter-control:last-child {
    grid-column: 1 / -1;
  }

  .legal-topbar {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100%, calc(100% - 18px));
    padding: 18px 0 42px;
  }

  .topbar,
  .section-head,
  .submit-row,
  .message-head,
  .hero-actions,
  .profile-head,
  .account-media,
  .detail-head {
    align-items: stretch;
  }

  .session-strip,
  .session-actions,
  .hero-actions,
  .inline-actions,
  .profile-actions,
  .message-head-actions,
  .comment-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-link,
  .user-chip,
  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .card-action {
    justify-content: center;
  }

  .hero {
    padding: 0;
  }

  .hero-copy h2 {
    font-size: 1.05rem;
  }

  .feed-section,
  .profile-panel,
  .detail-panel,
  .detail-comments,
  .messages-sidebar,
  .messages-main,
  .account-layout .panel,
  .modal-card {
    padding: 12px;
  }

  #upload-overlay {
    align-items: start;
    padding: 10px;
  }

  .simple-upload-card {
    max-height: calc(100dvh - 20px);
  }

  .simple-upload-form {
    padding-right: 2px;
  }

  .feed-grid {
    column-width: auto;
    columns: 1;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .home-feed-topline {
    margin-bottom: 12px;
  }

  .peer-streams-section {
    gap: 14px;
  }

  .peer-streams-head {
    align-items: start;
    flex-wrap: wrap;
  }

  .peer-streams-list {
    gap: 12px;
  }

  .peer-stream-card {
    min-width: 86px;
    width: 86px;
  }

  .peer-stream-avatar {
    width: 76px;
    height: 76px;
  }

  .peer-stream-live-badge {
    min-width: 54px;
    height: 22px;
    font-size: 0.75rem;
  }

  .feed-filter-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feed-filter-control:last-child {
    grid-column: auto;
  }

  .feed-filter-select {
    height: 48px;
    border-radius: 16px;
  }

  .legal-shell {
    width: min(100%, calc(100% - 20px));
    padding: 14px 0 28px;
    gap: 18px;
  }

  .legal-brand img {
    width: min(260px, 62vw);
  }

  .legal-topbar-actions {
    width: 100%;
  }

  .legal-topbar-actions .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .legal-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .age-gate-overlay {
    padding: 14px;
  }

  .age-gate-card {
    padding: 18px;
    border-radius: 22px;
  }

  .age-gate-actions {
    grid-template-columns: 1fr;
  }

  .legal-section,
  .legal-callout {
    padding: 14px;
    border-radius: 16px;
  }

  .site-footer {
    margin-top: 20px;
    padding-top: 20px;
  }

  .message-bubble {
    max-width: 100%;
  }

  .profile-banner,
  .account-banner {
    min-height: 96px;
  }

  .detail-panel-concept {
    grid-template-columns: 1fr;
    grid-template-areas:
      'topbar'
      'stage'
      'copy'
      'actions';
    gap: 10px;
    padding: 10px;
  }

  .detail-stage {
    padding: 8px;
  }

  .detail-media-grid {
    min-height: 0;
  }

  .detail-media-grid[data-loading='true']::before {
    min-height: 220px;
  }

  .detail-media-item,
  .detail-media-item img,
  .detail-media-item video {
    min-height: min(38svh, 280px);
  }

  .detail-media-lightbox {
    inset: 0;
    padding: 14px;
  }

  .detail-media-lightbox-frame,
  .detail-media-lightbox-image {
    max-width: calc(100vw - 28px);
    max-height: calc(100svh - 28px);
  }

  .detail-media-lightbox-image {
    border-radius: 16px;
  }

  .detail-media-lightbox-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  .detail-copy {
    gap: 7px;
  }

  .detail-copy-concept {
    text-align: center;
    justify-items: center;
  }

  .detail-copy h3 {
    font-size: 1.04rem;
  }

  .detail-description {
    justify-self: center;
    max-width: 42ch;
    font-size: 0.88rem;
  }

  .detail-inline-stats {
    justify-content: center;
  }

  .detail-inline-stat {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.79rem;
  }

  .detail-crosspost {
    justify-items: center;
  }

  .detail-actions.detail-actions-concept {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .detail-actions.detail-actions-concept .detail-dropdown {
    width: 100%;
  }

  .detail-actions.detail-actions-concept .detail-action-btn,
  .detail-actions.detail-actions-concept .detail-download-btn {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.82rem;
    box-shadow: 0 8px 16px rgba(31, 36, 38, 0.07);
  }

  .detail-actions.detail-actions-concept .detail-report-wrap {
    width: auto;
  }

  .detail-actions.detail-actions-concept .detail-report-btn {
    width: auto;
    min-width: 86px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.75rem;
    box-shadow: 0 5px 12px rgba(194, 71, 71, 0.08);
  }

  .detail-actions.detail-actions-concept .detail-dropdown-menu {
    width: min(300px, calc(100vw - 28px));
  }

  .detail-actions.detail-actions-concept .detail-report-menu {
    left: auto;
    right: 0;
    min-width: min(320px, calc(100vw - 28px));
  }

  .comment-card.reply {
    margin-left: 0;
  }

  body.landing-mode .shell {
    width: min(100%, calc(100% - 18px));
  }

  body.landing-mode .topbar {
    padding: 16px;
    border-radius: 22px;
  }

  body.landing-mode .brand-logo {
    width: 220px;
  }

  body.landing-mode .nav-strip {
    order: 2;
    width: 100%;
  }

  .world-cta,
  .world-link-cta {
    width: 100%;
    min-width: 0;
  }

  .post-overlay {
    padding: 10px;
    align-items: flex-start;
  }

  .post-layout {
    width: min(100%, calc(100vw - 20px));
    margin: 10px auto 18px;
  }

  .detail-media-carousel.has-multiple {
    padding: 0 34px;
  }

  .detail-media-nav {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    font-size: 1.6rem;
  }

  .session-strip {
    width: 100%;
    justify-content: flex-start;
  }

  body.landing-mode .world-cta,
  body.landing-mode .world-link-cta {
    min-height: 48px;
    border-radius: 16px;
  }

  .brand-logo {
    width: 190px;
  }
}

:root {
  --bg: #edf3ef;
  --bg-soft: rgba(255, 255, 255, 0.9);
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-muted: #edf4f1;
  --ink: #152127;
  --muted: #65727a;
  --line: rgba(21, 33, 39, 0.08);
  --line-strong: rgba(21, 33, 39, 0.15);
  --accent: #62b36a;
  --accent-dark: #244f5c;
  --accent-soft: rgba(98, 179, 106, 0.12);
  --shadow: 0 18px 40px rgba(21, 33, 46, 0.08);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(99, 164, 255, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(98, 179, 106, 0.12), transparent 26%),
    linear-gradient(180deg, #f7faf8 0%, #edf3ef 100%);
}

.shell {
  width: min(1220px, calc(100% - 40px));
  padding: 20px 0 44px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(288px, 360px) minmax(0, 1fr);
  gap: 18px 32px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0;
  border-bottom: 0;
}

.topbar-main {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.topbar-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-logo {
  width: clamp(288px, 24vw, 340px);
}

.nav-strip {
  flex: 0 1 auto;
  gap: 14px;
}

.session-strip {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.icon-btn,
.mode-btn,
.card-action {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-logo-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 112px;
  padding: 10px 18px 10px 6px;
  overflow: visible;
}

.brand-logo-button::before {
  content: '';
  position: absolute;
  inset: 12px 32px 12px 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 50%, rgba(61, 141, 255, 0.22), transparent 44%),
    radial-gradient(circle at 58% 50%, rgba(98, 179, 106, 0.16), transparent 54%);
  filter: blur(12px);
  pointer-events: none;
}

.brand-logo-button img,
.brand-logo {
  position: relative;
  z-index: 1;
}

.secondary-btn,
.icon-btn,
.mode-btn,
.card-action,
.nav-link,
.user-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: #2a4952;
  box-shadow: none;
}

.ghost-btn {
  color: var(--muted);
}

.nav-link,
.user-chip {
  min-height: 52px;
  padding: 0 24px;
}

.nav-link.active,
.user-chip {
  border-color: rgba(57, 118, 222, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #214761;
}

.topbar .nav-link,
.topbar .world-cta,
.topbar .world-link-cta,
.topbar #open-auth {
  height: 52px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 1;
}

.topbar .nav-link {
  min-width: 214px;
  justify-content: center;
  border-color: rgba(52, 123, 236, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: #28505e;
}

.topbar .world-cta,
.topbar .world-link-cta,
.topbar #open-auth {
  min-width: 214px;
  justify-content: center;
}

.world-cta,
.world-link-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

.world-cta,
body.landing-mode .world-cta {
  min-width: 0;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #207cf5 0%, #3998f4 48%, #5ab684 100%);
  box-shadow: 0 16px 32px rgba(44, 123, 237, 0.24);
  letter-spacing: -0.01em;
  text-transform: none;
}

.world-cta:hover,
body.landing-mode .world-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1f82ff 0%, #41a0f7 50%, #5ebc89 100%);
  box-shadow: 0 18px 36px rgba(44, 123, 237, 0.28);
}

.world-link-cta,
body.landing-mode .world-link-cta {
  min-width: 0;
  color: #6f2f00;
  border: 1px solid rgba(223, 113, 16, 0.34);
  background: linear-gradient(180deg, rgba(255, 218, 156, 0.98), rgba(255, 168, 63, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 28px rgba(226, 120, 20, 0.18);
}

body.landing-mode {
  background:
    radial-gradient(circle at top left, rgba(87, 156, 255, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(98, 179, 106, 0.13), transparent 28%),
    linear-gradient(180deg, #f8fbf8 0%, #edf3ef 100%);
}

body.landing-mode .shell {
  width: min(1220px, calc(100% - 40px));
  padding: 18px 0 44px;
}

body.landing-mode .flash {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
}

body.landing-mode .topbar {
  align-items: center;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

body.landing-mode .topbar::before {
  content: none;
}

body.landing-mode .brand-logo-button {
  min-height: 112px;
  padding: 10px 18px 10px 6px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

body.landing-mode .brand-logo {
  width: clamp(288px, 24vw, 340px);
  filter: drop-shadow(0 18px 26px rgba(45, 127, 249, 0.14));
}

body.landing-mode .topbar-actions,
body.landing-mode .nav-strip,
body.landing-mode .session-strip {
  position: static;
  z-index: auto;
}

body.landing-mode .nav-link {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  border-color: rgba(52, 123, 236, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
  font-weight: 600;
}

body.landing-mode .nav-link.active {
  border-color: rgba(52, 123, 236, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(21, 33, 46, 0.06);
}

body.landing-mode .session-strip {
  margin-left: 0;
  flex-wrap: wrap;
  gap: 14px;
}

body.landing-mode .view-stack {
  gap: 0;
}

.home-meta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #244551;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.home-meta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(52, 123, 236, 0.18);
  background: rgba(255, 255, 255, 0.94);
}

.peer-streams-section {
  display: grid;
  gap: 16px;
  width: 100%;
}

.peer-streams-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.peer-streams-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.peer-streams-eyebrow,
.peer-streams-count {
  margin: 0;
}

.peer-streams-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d946ef;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(217, 70, 239, 0.18);
}

.peer-streams-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d946ef;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.65);
}

.peer-streams-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: #5f6b78;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.peer-streams-list {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(121, 85, 209, 0.38) rgba(31, 52, 61, 0.08);
}

.peer-streams-list::-webkit-scrollbar {
  height: 8px;
}

.peer-streams-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(31, 52, 61, 0.08);
}

.peer-streams-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(179, 89, 255, 0.55), rgba(83, 129, 255, 0.45));
}

.peer-streams-board-link {
  display: none !important;
}

.peer-stream-card {
  display: grid;
  flex: 0 0 auto;
  justify-items: center;
  gap: 10px;
  min-width: 96px;
  width: 96px;
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.peer-stream-card:hover,
.peer-stream-card:focus-visible {
  transform: translateY(-2px);
}

.peer-stream-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
}

.peer-stream-avatar-ring {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d946ef 0%, #9333ea 52%, #d946ef 100%);
  box-shadow:
    0 0 0 3px rgba(16, 18, 27, 0.88),
    0 0 15px rgba(217, 70, 239, 0.34);
}

.peer-stream-avatar-image,
.peer-stream-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: radial-gradient(circle at 30% 20%, #41134d, #110b18 70%);
}

.peer-stream-avatar-fallback {
  display: grid;
  place-items: center;
  color: #f5d5ff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.peer-stream-live-badge {
  position: absolute;
  bottom: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 23px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(10, 10, 10, 0.92);
  background: linear-gradient(180deg, #e635ff, #b81fe0);
  box-shadow: 0 2px 10px rgba(217, 70, 239, 0.42);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.peer-stream-title {
  width: 100%;
  color: #2f3841;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.peer-stream-meta {
  width: 100%;
  color: #77818b;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#home-view .feed-section {
  padding: 0;
}

.home-feed-buffer {
  gap: 14px;
}

.feed-grid {
  column-width: 310px;
  column-gap: 18px;
  min-height: 180px;
}

.feed-grid[data-loading='true']::before {
  min-height: 220px;
  border-radius: 18px;
  border: 1px dashed rgba(21, 33, 39, 0.16);
  background: rgba(255, 255, 255, 0.56);
}

.post-card {
  margin: 0 0 18px;
}

.sister-feed-card {
  overflow: hidden;
  cursor: pointer;
  border-radius: 18px;
  border: 1px solid rgba(21, 33, 39, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 251, 0.98));
  box-shadow:
    0 14px 30px rgba(21, 33, 46, 0.05),
    0 2px 8px rgba(21, 33, 46, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sister-feed-card.is-pinned {
  box-shadow:
    0 16px 34px rgba(21, 33, 46, 0.06),
    0 0 0 1px rgba(235, 160, 24, 0.14);
}

.sister-feed-card.is-crossposted {
  border-color: rgba(68, 122, 235, 0.16);
  box-shadow:
    0 14px 30px rgba(21, 33, 46, 0.05),
    0 0 0 1px rgba(68, 122, 235, 0.08);
}

.sister-feed-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 123, 236, 0.18);
  box-shadow:
    0 22px 42px rgba(21, 33, 46, 0.09),
    0 6px 16px rgba(21, 33, 46, 0.05);
}

.sister-feed-card:active {
  transform: translateY(-1px) scale(0.992);
  box-shadow:
    0 16px 34px rgba(21, 33, 46, 0.08),
    0 4px 12px rgba(21, 33, 46, 0.04);
}

.card-media {
  position: relative;
  background:
    radial-gradient(circle at top, rgba(98, 179, 106, 0.12), transparent 30%),
    linear-gradient(180deg, #eef4f1 0%, #e6eeea 100%);
}

.sister-feed-card .card-media {
  border-radius: 0;
}

.sister-feed-card .card-image,
.sister-feed-card .card-video {
  display: block;
  width: 100%;
  height: auto;
  background: #eef4f1;
  transition: transform 0.28s ease;
}

.sister-feed-card:hover .card-image,
.sister-feed-card:hover .card-video {
  transform: scale(1.02);
}

.card-media-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.card-media-badges-start {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-surface-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(16, 25, 34, 0.62);
  color: #f7fbff;
  font-size: 0.69rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.card-surface-pill.is-count {
  background: rgba(247, 251, 255, 0.86);
  color: #1d4050;
}

.card-surface-pill.is-crosspost {
  background: rgba(68, 122, 235, 0.9);
  color: #f7fbff;
}

.card-media-fallback {
  min-height: 220px;
  display: flex;
  align-items: stretch;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(73, 140, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(98, 179, 106, 0.18), transparent 42%),
    linear-gradient(180deg, #fcfefd 0%, #eef5f1 100%);
}

.card-fallback-copy {
  width: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
}

.card-fallback-kicker,
.card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(28, 73, 93, 0.08);
  color: #335462;
  font-size: 0.68rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-topline-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.card-kicker-pinned {
  border: 1px solid rgba(235, 160, 24, 0.24);
  background: linear-gradient(180deg, rgba(255, 245, 214, 0.98), rgba(255, 233, 179, 0.94));
  color: #8a5a00;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(235, 160, 24, 0.1);
}

.card-fallback-copy h3 {
  margin: 0;
  max-width: 11ch;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: 1.32rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #122229;
}

.card-fallback-copy p,
.card-summary {
  margin: 0;
  color: #5f6e76;
  line-height: 1.52;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-fallback-copy p {
  -webkit-line-clamp: 5;
  font-size: 0.93rem;
}

.card-body {
  padding: 0;
}

.sister-feed-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  text-align: left;
}

.sister-feed-heading {
  display: grid;
  gap: 8px;
}

.card-topline,
.sister-feed-topline {
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-byline {
  margin: 0;
  font-size: 0.74rem;
  color: #6a7880;
}

.sister-feed-heading h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  min-height: 0;
  color: #14252d;
}

.card-summary {
  -webkit-line-clamp: 3;
  font-size: 0.88rem;
}

.sister-feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sister-feed-stats {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(69, 143, 246, 0.22);
  background: linear-gradient(180deg, rgba(230, 242, 255, 0.92), rgba(214, 233, 255, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(69, 143, 246, 0.14);
  font-size: 0.73rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2560a8;
}

.card-time {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(58, 126, 219, 0.18);
  background: linear-gradient(180deg, rgba(242, 247, 255, 0.96), rgba(233, 240, 252, 0.92));
  color: #58666f;
  font-size: 0.76rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 8px 18px rgba(21, 33, 46, 0.06);
}

.card-time[data-tone='fresh'] {
  border-color: rgba(53, 176, 122, 0.26);
  background: linear-gradient(180deg, rgba(234, 252, 242, 0.98), rgba(217, 247, 229, 0.94));
  color: #18784d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(28, 160, 96, 0.12);
}

.card-time[data-tone='normal'] {
  border-color: rgba(247, 177, 67, 0.28);
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(255, 239, 196, 0.92));
  color: #9a6212;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(245, 158, 11, 0.14);
}

.card-time[data-tone='warm'] {
  border-color: rgba(245, 149, 54, 0.28);
  background: linear-gradient(180deg, rgba(255, 241, 227, 0.98), rgba(255, 225, 193, 0.92));
  color: #b15a10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(249, 115, 22, 0.16);
}

.card-time[data-tone='danger'] {
  border-color: rgba(244, 114, 114, 0.3);
  background: linear-gradient(180deg, rgba(255, 236, 236, 0.98), rgba(255, 214, 214, 0.92));
  color: #be3535;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(239, 68, 68, 0.16);
}

.card-time[data-tone='critical'] {
  border-color: rgba(227, 62, 62, 0.34);
  background: linear-gradient(180deg, rgba(255, 229, 229, 0.98), rgba(255, 201, 201, 0.92));
  color: #bb1f1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 24px rgba(220, 38, 38, 0.22);
  animation: card-time-pulse 1.6s ease-in-out infinite;
}

.card-time[data-tone='expired'] {
  border-color: rgba(156, 163, 175, 0.22);
  background: linear-gradient(180deg, rgba(240, 242, 245, 0.98), rgba(229, 232, 236, 0.94));
  color: #5f6973;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 8px 16px rgba(100, 116, 139, 0.08);
}

@keyframes card-time-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 12px 24px rgba(220, 38, 38, 0.18);
  }

  50% {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 14px 28px rgba(220, 38, 38, 0.28);
  }
}

.sister-feed-card.is-text-post .sister-feed-body {
  padding-top: 12px;
}

.empty-state.compact {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.flash {
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pager-row,
body.landing-mode .pager-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pager-controls {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pager-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pager-pages {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pager-action,
.pager-page,
.pager-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-height: 46px;
  border-radius: 16px;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.pager-action,
.pager-page {
  border: 1px solid rgba(21, 33, 39, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.pager-action {
  min-width: 72px;
  padding: 0 16px;
  color: #254b58;
}

.pager-nav {
  min-width: 132px;
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

.pager-refresh {
  min-width: 0;
  padding: 0 14px;
  border-color: rgba(21, 33, 39, 0.06);
  background: transparent;
  box-shadow: none;
  color: #61707a;
}

.pager-action:hover:not(:disabled),
.pager-page:hover:not(:disabled),
.pager-gap:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(52, 123, 236, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 18px rgba(21, 33, 46, 0.06);
}

.pager-action:disabled,
.pager-page:disabled,
.pager-gap:disabled {
  opacity: 0.42;
  cursor: default;
  box-shadow: none;
}

.pager-page {
  min-width: 46px;
  padding: 0 14px;
  color: #244551;
  font-size: 0.84rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.pager-page.is-current {
  opacity: 1;
  border-color: transparent;
  background: linear-gradient(135deg, #207cf5 0%, #3998f4 48%, #5ab684 100%);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(44, 123, 237, 0.2);
}

.pager-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #718089;
  font-size: 1.1rem;
  font-family: 'IBM Plex Mono', monospace;
}

.pager-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pager-jump-range {
  color: #61707a;
  font-size: 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pager-jump-input {
  width: 76px;
  height: 46px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(21, 33, 39, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: #14252d;
  text-align: center;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.pager-jump-input:focus {
  outline: none;
  border-color: rgba(52, 123, 236, 0.34);
  box-shadow: 0 0 0 4px rgba(52, 123, 236, 0.12);
}

.pager-go-btn {
  min-width: 60px;
}

.pager-jump-input::-webkit-outer-spin-button,
.pager-jump-input::-webkit-inner-spin-button {
  margin: 0;
}

@media (max-width: 960px) {
  .shell,
  body.landing-mode .shell {
    width: min(100%, calc(100% - 28px));
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .topbar-main {
    justify-content: center;
  }

  .topbar-actions,
  .nav-strip,
  .session-strip,
  body.landing-mode .topbar-actions,
  body.landing-mode .nav-strip,
  body.landing-mode .session-strip {
    width: 100%;
    justify-content: center;
  }

  .topbar-actions {
    gap: 10px;
  }

  .pager-row,
  body.landing-mode .pager-row {
    justify-content: center;
  }

  .pager-controls {
    width: 100%;
  }

  .pager-pages {
    flex: 0 1 auto;
  }

  .pager-tools {
    width: 100%;
    justify-content: center;
  }

  .feed-grid {
    column-width: 280px;
    column-gap: 16px;
  }
}

@media (max-width: 720px) {
  .shell,
  body.landing-mode .shell {
    width: min(100%, calc(100% - 16px));
    padding: 14px 0 32px;
  }

  .brand-logo,
  body.landing-mode .brand-logo {
    width: min(100%, 248px);
  }

  .brand-logo-button,
  body.landing-mode .brand-logo-button {
    min-height: 92px;
    padding: 8px 12px;
    justify-content: center;
  }

  .brand-logo-button::before {
    inset: 10px 18px;
  }

  .topbar .nav-link,
  .topbar .world-cta,
  .topbar .world-link-cta,
  .topbar #open-auth {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }

  .nav-strip,
  .session-strip,
  body.landing-mode .nav-strip,
  body.landing-mode .session-strip {
    gap: 10px;
  }

  .world-cta,
  .world-link-cta,
  body.landing-mode .world-cta,
  body.landing-mode .world-link-cta {
    width: 100%;
  }

  .peer-streams-list .world-marker {
    padding: 9px 12px;
  }

  .pager-row,
  body.landing-mode .pager-row {
    gap: 10px;
  }

  .pager-controls {
    width: 100%;
    gap: 8px;
  }

  .pager-tools {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .pager-action,
  .pager-page,
  .pager-gap,
  .pager-jump-input {
    height: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .pager-action {
    min-width: 60px;
    padding: 0 13px;
  }

  .pager-nav {
    flex: 1 1 146px;
    min-width: 0;
  }

  .pager-pages {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .pager-jump {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .pager-jump-range {
    font-size: 0.76rem;
  }

  .pager-jump-input {
    width: 68px;
  }

  .pager-go-btn,
  .pager-refresh {
    min-width: 56px;
  }

  .feed-grid {
    column-width: auto;
    columns: 3;
    column-gap: 6px;
  }

  .post-card {
    margin-bottom: 6px;
  }

  .card-media-badges {
    left: 6px;
    right: 6px;
    bottom: 6px;
    gap: 4px;
  }

  .card-media-badges-start {
    gap: 4px;
  }

  .card-surface-pill {
    min-height: 18px;
    padding: 0 6px;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .sister-feed-card.has-media .sister-feed-heading {
    display: none;
  }

  .sister-feed-body {
    gap: 6px;
    padding: 6px;
  }

  .sister-feed-footer {
    gap: 4px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .sister-feed-stats,
  .card-time {
    min-height: 22px;
    padding: 0 6px;
    font-size: 0.54rem;
    letter-spacing: 0.03em;
  }

  .sister-feed-stats {
    gap: 4px;
  }

  .card-eye {
    width: 10px;
    height: 10px;
  }

  .card-media-fallback {
    min-height: 110px;
    padding: 10px;
  }

  .card-fallback-copy {
    gap: 8px;
  }

  .card-fallback-kicker,
  .card-kicker {
    min-height: 18px;
    padding: 0 6px;
    font-size: 0.5rem;
  }

  .card-fallback-copy h3 {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.08;
  }

  .card-fallback-copy p,
  .card-summary {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .card-fallback-copy p {
    -webkit-line-clamp: 3;
  }
}
