/* Unwind cards — a private feed of swipeable note cards.
   Slides are always black and monochrome (the brand), whatever the theme. */

.c-card { margin: 0 0 40px; }
.c-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: 10px;
}
.c-act {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 10px; font-size: 12px; font-family: inherit; cursor: pointer;
  color: var(--text-tertiary); transition: border-color 0.2s, color 0.2s;
}
.c-act:hover { border-color: var(--text-tertiary); color: var(--text-primary); }

.c-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  border-radius: 12px; border: 1px solid #1c1c1c; background: #000; outline: none;
}
.c-track::-webkit-scrollbar { display: none; }
.c-track:focus-visible { border-color: #555; }

.c-slide {
  position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; max-width: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: #000; color: #f2f2f2; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 9% 10% 14%;
}
.c-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.c-head {
  font-size: clamp(22px, 6.4vw, 34px); line-height: 1.35; font-weight: 500;
  letter-spacing: 0.01em; text-wrap: balance; color: #f2f2f2;
}
.c-head.small { font-size: clamp(17px, 4.6vw, 22px); }
.c-body { font-size: clamp(14px, 3.9vw, 17px); line-height: 1.85; color: #a8a8a8; }
.c-num, .c-label {
  font-size: 12px; letter-spacing: 0.18em; color: #6a6a6a; font-variant-numeric: tabular-nums;
}
.c-source a { font-size: 13px; color: #a8a8a8; text-underline-offset: 3px; }
.c-action .c-head { color: #fff; }
.c-action { background: #0b0b0b; }

.c-foot {
  position: absolute; left: 10%; right: 10%; bottom: 6%;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.14em; color: #555; font-variant-numeric: tabular-nums;
}

/* Cover: a field of point dust gathering into a sphere, behind the hook. */
.c-cover { justify-content: flex-end; }
.c-dust {
  position: absolute; width: 78%; aspect-ratio: 1; top: 8%; left: 11%;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(242,242,242,0.55) 0.9px, transparent 1.3px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(circle at 42% 38%, #000 0%, rgba(0,0,0,0.55) 45%, transparent 70%);
          mask-image: radial-gradient(circle at 42% 38%, #000 0%, rgba(0,0,0,0.55) 45%, transparent 70%);
  opacity: 0.8;
}

.c-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.c-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--border); transition: background 0.2s; }
.c-dots i.on { background: var(--text-secondary); }
.c-card.read .c-meta span:first-child::after { content: ' · 看過'; }

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