/* =================================================================
   Deutscher-Chat Feed — Corporate Identity
   Light-Mode mit lila getönten Surfaces, lila→magenta CTA-Gradient,
   Inter aus lokalen Fonts (keine externen Requests).
   ================================================================= */

/* ---------------- Local Fonts ---------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-v51-latin-regular.woff2') format('woff2');
}

/* ---------------- Design Tokens ---------------- */
:root {
  /* CI-Farben */
  --brand-purple: #5b2d8b;
  --brand-pink: #e43bb8;
  --brand-gradient: linear-gradient(135deg, #5b2d8b 0%, #e43bb8 100%);

  /* Status */
  --success: #42b992;

  /* Surfaces — immer leicht lila getönt */
  --surface-page: #f7f5fb;
  /* Seitenfarbe */
  --surface-card: #ffffff;
  /* Cards, Inputs */
  --surface-alt: #f1ecf7;
  /* sekundäre Zonen (Code-Blocks, Quotes) */
  --surface-hover: #ece5f6;

  /* Textfarben (dunkel-lila, kein reines Schwarz) */
  --text-strong: #251f30;
  --text-body: #403a52;
  --text-muted: #6b6378;
  --text-faint: #9b94a8;

  /* Borders — sanft lila */
  --border: rgba(91, 45, 139, 0.10);
  --border-2: rgba(91, 45, 139, 0.18);

  /* Schatten — lila getönt */
  --shadow-sm: 0 1px 2px rgba(91, 45, 139, 0.06);
  --shadow-md: 0 6px 20px -8px rgba(91, 45, 139, 0.14);
  --shadow-lg: 0 20px 50px -18px rgba(91, 45, 139, 0.25);
  --shadow-glow: 0 10px 40px -12px rgba(228, 59, 184, 0.35);

  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'DM Sans', 'Inter', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Radien */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
}

/* ---------------- Reset ---------------- */
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a {
  color: var(--brand-purple);
  text-decoration: none;
}

a:hover {
  color: var(--brand-pink);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: color-mix(in srgb, var(--brand-pink) 25%, transparent);
  color: var(--text-strong);
}

/* =================================================================
   Atmosphere — subtile lila/pink Glows, hell
   ================================================================= */
.dc-atmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .45;
}

.dc-glow--a {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -140px;
  background: #d9c6f0;
}

.dc-glow--b {
  width: 720px;
  height: 720px;
  top: 25%;
  right: -260px;
  background: #f9cce9;
}

.dc-glow--c {
  width: 520px;
  height: 520px;
  bottom: -220px;
  left: 20%;
  background: #e8d9f4;
  opacity: .35;
}

.dc-grain {
  display: none;
}

/* =================================================================
   Header
   ================================================================= */
.dc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(247, 245, 251, 0.78);
  border-bottom: 1px solid var(--border);
}

.dc-header__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
}

.dc-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-glow);
}

.dc-brand__meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.dc-brand__name {
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.dc-brand__sub {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
}

.dc-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.dc-nav__link {
  font-size: 14px;
  color: var(--text-body);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.dc-nav__link:hover {
  color: var(--brand-purple);
  border-bottom-color: var(--brand-pink);
}

.dc-nav__link--muted {
  color: var(--text-muted);
}

/* =================================================================
   Main layout
   ================================================================= */
.dc-main {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}

/* =================================================================
   Hero
   ================================================================= */
.dc-hero {
  margin-bottom: 56px;
  animation: dcFadeUp .7s cubic-bezier(.2, .8, .2, 1);
}

.dc-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface-card);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.dc-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 0 0 rgba(228, 59, 184, .55);
  animation: dcPulse 2s infinite;
}

@keyframes dcPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(228, 59, 184, .5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(228, 59, 184, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(228, 59, 184, 0);
  }
}

.dc-hero__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(32px, 5.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 0 0 22px;
  max-width: 18ch;
}

.dc-hero__word {
  display: inline;
}

.dc-hero__word--serif {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  padding: 0 2px;
}

.dc-hero__lede {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 55ch;
  line-height: 1.7;
}

@keyframes dcFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================================================
   Category chips
   ================================================================= */
.dc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--border-2);
}

.dc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-2);
  background: var(--surface-card);
  color: var(--text-body);
  border-radius: 999px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 400;
  cursor: pointer;
  transition: all .18s;
}

.dc-chip:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
  background: var(--surface-alt);
}

.dc-chip--active {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.dc-chip--active:hover {
  color: #fff;
  background: var(--brand-gradient);
}

.dc-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
}

.dc-chip--active .dc-chip__dot {
  background: #fff;
}

/* =================================================================
   Timeline
   ================================================================= */
.dc-timeline {
  position: relative;
}

.dc-timeline__rail {
  position: absolute;
  left: 13px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom,
      transparent 0,
      var(--border-2) 40px,
      var(--border-2) calc(100% - 40px),
      transparent 100%);
}

.dc-timeline__posts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dc-post {
  position: relative;
  padding-left: 50px;
  animation: dcFadeUp .5s cubic-bezier(.2, .8, .2, 1);
}

.dc-post__node {
  position: absolute;
  left: 0;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-card);
  border: 2px solid var(--cat-color, var(--brand-purple));
  font-size: 13px;
  z-index: 1;
  transition: all .25s;
  box-shadow: var(--shadow-sm);
}

.dc-post:hover .dc-post__node {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--cat-color, var(--brand-purple)) 12%, transparent);
}

.dc-post__card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cat-color, var(--brand-purple));
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.dc-post:hover .dc-post__card {
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.dc-post--pinned .dc-post__card {
  border: 2px solid transparent;
  border-left: 3px solid var(--brand-pink);
  background:
    linear-gradient(var(--surface-card), var(--surface-card)) padding-box,
    var(--brand-gradient) border-box;
  position: relative;
}

.dc-post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--cat-color, var(--brand-purple)) 12%, transparent);
  color: var(--cat-color, var(--brand-purple));
  border: 1px solid color-mix(in srgb, var(--cat-color, var(--brand-purple)) 22%, transparent);
}

.dc-post__date {
  font-size: 12.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.dc-post__pinned {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dc-post__title {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-strong);
  margin: 0 0 14px;
}

.dc-post__body {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.dc-post__body p {
  margin: 0 0 12px;
}

.dc-post__body p:last-child {
  margin-bottom: 0;
}

.dc-post__body .dc-h {
  font-family: var(--font-body);
  color: var(--text-strong);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 18px 0 8px;
}

.dc-post__body h2.dc-h {
  font-size: 18px;
}

.dc-post__body h3.dc-h {
  font-size: 16px;
}

.dc-post__body h4.dc-h {
  font-size: 15px;
  color: var(--text-body);
}

.dc-post__body a {
  color: var(--brand-purple);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-purple) 35%, transparent);
  transition: all .15s;
}

.dc-post__body a:hover {
  color: var(--brand-pink);
  border-bottom-color: var(--brand-pink);
}

.dc-post__body .dc-inline-code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 6px;
  background: var(--surface-alt);
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--brand-purple);
}

.dc-post__body .dc-code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-purple);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 12px 0;
  color: var(--text-strong);
}

.dc-post__body .dc-quote {
  border-left: 3px solid var(--brand-pink);
  padding: 8px 0 8px 14px;
  margin: 12px 0;
  color: var(--text-muted);
  font-style: italic;
  background: linear-gradient(to right, color-mix(in srgb, var(--brand-pink) 6%, transparent), transparent);
}

.dc-post__body .dc-ul,
.dc-post__body .dc-ol {
  padding-left: 22px;
  margin: 8px 0;
}

.dc-post__body .dc-ul li,
.dc-post__body .dc-ol li {
  margin: 4px 0;
}

.dc-post__body .dc-ul li::marker {
  color: var(--brand-pink);
}

.dc-post__body .dc-hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.dc-post__body .dc-md-img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  border: 1px solid var(--border);
}

/* =================================================================
   Hero image (single image, shown full-width above the title)
   ================================================================= */
.dc-post__hero {
  margin: -22px -24px 18px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  overflow: hidden;
  line-height: 0;
}

.dc-post__hero img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  border-radius: 0;
  cursor: zoom-in;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.dc-post__hero img:hover {
  transform: scale(1.02);
}

/* =================================================================
   Grid images (2+ images)
   ================================================================= */
.dc-post__images {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.dc-post__images img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .3s, box-shadow .3s;
}

.dc-post__images img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}

/* =================================================================
   Body clamp / read-more
   ================================================================= */
.dc-post__body--clamp {
  max-height: 230px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.dc-post__body--expanded {
  max-height: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.dc-expand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  margin-bottom: 4px;
  padding: 5px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand-purple);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.dc-expand:hover {
  background: var(--surface-hover);
  color: var(--brand-pink);
}

/* =================================================================
   Reactions — compact picker style
   ================================================================= */
.dc-reactions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.dc-reactions__strip {
  display: contents; /* renders children directly into the flex row */
}

.dc-reactions__ctrl {
  position: relative;
  flex-shrink: 0;
}

/* Tags — sekundäre Kategorisierung als Hashtag-Chips */
.dc-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.dc-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--brand-purple);
  opacity: 0.75;
  transition: opacity .15s, color .15s;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.dc-tag::before {
  content: '#';
  color: var(--brand-pink);
  margin-right: 1px;
  opacity: 0.8;
}

.dc-tag:hover {
  opacity: 1;
  color: var(--brand-pink);
}

.dc-react {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  color: var(--text-body);
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  user-select: none;
}

.dc-react:hover {
  transform: translateY(-1px) scale(1.05);
  border-color: var(--brand-purple);
  background: var(--surface-hover);
}

.dc-react__count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--text-muted);
}

.dc-react--mine {
  background: color-mix(in srgb, var(--brand-pink) 12%, var(--surface-card));
  border-color: color-mix(in srgb, var(--brand-pink) 40%, transparent);
  color: var(--text-strong);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-pink) 10%, transparent);
}

.dc-react--mine .dc-react__count {
  color: var(--brand-pink);
}

/* Pop-in animation for newly added reaction buttons */
@keyframes dcReactPop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.dc-react--pop {
  animation: dcReactPop .2s cubic-bezier(.2,.8,.2,1);
}

/* Fade-out when count drops to 0 */
@keyframes dcReactFade {
  to { opacity: 0; transform: scale(0.7); }
}

.dc-react--fade {
  animation: dcReactFade .18s forwards;
}

/* "+ Reagieren" trigger button */
.dc-reactions__add {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  background: transparent;
  border: 1px dashed var(--border-2);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  color: var(--text-muted);
  transition: all .15s;
  user-select: none;
}

.dc-reactions__add:hover {
  color: var(--brand-purple);
  border-color: var(--brand-purple);
  background: color-mix(in srgb, var(--brand-purple) 6%, transparent);
}

/* Floating emoji picker */
.dc-react-picker {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 8px 10px;
  display: flex;
  gap: 2px;
  box-shadow: var(--shadow-lg);
  z-index: 30;
  white-space: nowrap;
  animation: dcFadeIn .15s;
}

.dc-react-picker[hidden] {
  display: none !important;
}

/* Small arrow below picker */
.dc-react-picker::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border-2);
}

.dc-react-pick {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, transform .12s, border-color .12s;
}

.dc-react-pick:hover {
  background: var(--surface-alt);
  transform: scale(1.25);
}

.dc-react-pick--mine {
  background: color-mix(in srgb, var(--brand-pink) 12%, var(--surface-card));
  border-color: color-mix(in srgb, var(--brand-pink) 35%, transparent);
}

/* =================================================================
   Empty / error states
   ================================================================= */
.dc-empty,
.dc-error {
  padding: 48px 0 60px;
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  margin-left: 50px;
}

.dc-error {
  color: var(--brand-pink);
}

/* =================================================================
   Skeleton
   ================================================================= */
.dc-skeleton {
  height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface-card) 0%, var(--surface-alt) 50%, var(--surface-card) 100%);
  background-size: 200% 100%;
  animation: dcShimmer 1.6s infinite;
  margin-left: 50px;
  border: 1px solid var(--border);
}

@keyframes dcShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* =================================================================
   Buttons
   ================================================================= */
.dc-loadmore {
  text-align: center;
  margin-top: 40px;
}

.dc-btn {
  font: inherit;
  font-weight: 500;
  padding: 11px 26px;
  background: var(--brand-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-glow);
}

.dc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 45px -12px rgba(228, 59, 184, 0.5);
}

.dc-end {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

/* =================================================================
   Footer
   ================================================================= */
.dc-foot {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.dc-foot__dot {
  opacity: .4;
}

.dc-foot a {
  color: var(--text-body);
}

.dc-foot a:hover {
  color: var(--brand-pink);
}

/* =================================================================
   Lightbox
   ================================================================= */
.dc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(37, 31, 48, 0.88);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 40px;
  animation: dcFadeIn .2s;
}

.dc-lightbox[hidden] {
  display: none;
}

@keyframes dcFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.dc-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.dc-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}

.dc-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* =================================================================
   Mobile
   ================================================================= */
@media (max-width: 640px) {
  .dc-main {
    padding: 40px 18px 80px;
  }

  .dc-header__inner {
    padding: 14px 18px;
  }

  .dc-post {
    padding-left: 42px;
  }

  .dc-post__card {
    padding: 18px 18px;
  }

  .dc-post__hero {
    margin: -18px -18px 16px;
  }

  .dc-post__node {
    left: 0;
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .dc-timeline__rail {
    left: 12px;
  }

  .dc-skeleton {
    margin-left: 42px;
  }

  .dc-hero__title {
    font-size: 32px;
  }

  .dc-react-picker {
    /* On mobile: anchor left, don't exceed screen */
    left: 0;
    transform: none;
    right: auto;
  }

  .dc-react-picker::after {
    left: 22px;
    transform: none;
  }

  .dc-empty,
  .dc-error {
    margin-left: 42px;
  }
}
