*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px oklch(85.2% 0.199 91.936 / 0.15);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --blur: blur(12px);

  --primary: oklch(85.2% 0.199 91.936);
  --primary-mid: oklch(89% 0.13 91.936);
  --primary-light: oklch(93% 0.07 91.936);
  --primary-glow: oklch(85.2% 0.199 91.936 / 0.3);

  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-light: rgba(255, 255, 255, 0.5);
}

html {
  height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 56px;
  color: var(--text);
  background: url("/static/background.avif") center / cover no-repeat fixed;
  min-height: 100%;
  line-height: 1.5;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 12px 20px;
  margin-bottom: 24px;
  box-shadow: var(--glass-shadow), var(--glass-inset);
}

.site-title {
  font-weight: 800;
  font-size: 1.1em;
  text-decoration: none;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85em;
  padding: 4px 14px;
  border-radius: 20px;
  background: oklch(85.2% 0.199 91.936 / 0.08);
  border: 1px solid oklch(85.2% 0.199 91.936 / 0.2);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

nav a:hover {
  background: oklch(85.2% 0.199 91.936 / 0.2);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Diary entries */
.diary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

.entry:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px var(--primary-glow),
    var(--glass-inset);
}

.poster {
  width: 60px;
  flex-shrink: 0;
}

.poster img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 2px solid var(--primary-mid);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.entry-body {
  flex: 1;
}

.entry-title {
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}

.year {
  color: var(--text-muted);
  font-weight: 400;
}

.director {
  color: var(--text-muted);
  font-size: 0.88em;
  margin-bottom: 2px;
}

.rating {
  margin-bottom: 4px;
  font-size: 1.15em;
  letter-spacing: 3px;
}

.star.filled {
  color: var(--primary);
  text-shadow:
    0 0 8px var(--primary-glow),
    0 0 2px var(--primary);
}

.star.empty {
  color: rgba(255, 255, 255, 0.2);
}

.comment {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9em;
  margin-bottom: 2px;
}

.watched-at {
  font-size: 0.8em;
  color: var(--text-muted);
}

.empty {
  color: var(--text-muted);
  margin-top: 20px;
}

/* Pagination */
.pagination {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  font-size: 0.9em;
}

.pagination a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  background: oklch(85.2% 0.199 91.936 / 0.08);
  border: 1px solid oklch(85.2% 0.199 91.936 / 0.2);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.pagination a:hover {
  background: oklch(85.2% 0.199 91.936 / 0.2);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Forms */
h1 {
  font-size: 1.4em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

form {
  max-width: 400px;
}

form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text);
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="datetime-local"],
form textarea {
  display: block;
  width: 100%;
  font-family: "Nunito", sans-serif;
  font-size: 1em;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(85.2% 0.199 91.936 / 0.2);
}

form textarea {
  height: 80px;
  resize: vertical;
}

form hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 18px 0;
}

form button[type="submit"] {
  font-family: "Nunito", sans-serif;
  font-size: 1em;
  font-weight: 700;
  padding: 10px 28px;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    var(--primary-mid) 0%,
    var(--primary) 60%,
    oklch(72% 0.199 91.936) 100%
  );
  color: #fff;
  border: none;
  border-radius: 24px;
  box-shadow:
    0 4px 16px var(--primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

form button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 24px var(--primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.delete-form {
  display: inline;
  margin-top: 6px;
}

.delete-form button[type="submit"] {
  background: rgba(200, 60, 60, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 16px;
  padding: 3px 12px;
  font-size: 0.8em;
  font-weight: 600;
  border: 1px solid rgba(220, 80, 80, 0.3);
  box-shadow: none;
  transition: background 0.2s;
}

.delete-form button[type="submit"]::after {
  display: none;
}

.delete-form button[type="submit"]:hover {
  background: rgba(220, 60, 60, 0.85);
  transform: none;
  box-shadow: none;
}

.optional {
  color: var(--text-muted);
  font-size: 0.85em;
  font-weight: 400;
}

/* Errors */
.error,
.form-error {
  color: #e05050;
  background: rgba(220, 50, 50, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(220, 50, 50, 0.2);
  margin-bottom: 16px;
  font-size: 0.9em;
}

/* ---- Activity feed ---- */
.feed-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
.feed-user {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.feed-user:hover {
  text-decoration: underline;
}
.feed-time {
  opacity: 0.6;
}

/* ---- Users list ---- */
.users-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.page-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(74, 158, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.user-info {
  flex: 1;
}
.user-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.user-meta {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.1rem;
}
.btn-secondary {
  color: var(--primary);
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover {
  text-decoration: underline;
}

/* ---- Profile stats header ---- */
.profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stats-header {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
}
.profile-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.stat-tile {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}
.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 0.1rem;
}

/* ---- View tabs ---- */
.view-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.view-tab {
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s;
}
.view-tab:hover {
  background: rgba(255, 255, 255, 0.14);
}
.view-tab.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* ---- History heatmap ---- */
.heatmap-section {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
}
.heatmap-label {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 0.6rem;
}
.heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.heatmap-cell {
  border-radius: 6px;
  padding: 0.4rem 0.2rem;
  text-align: center;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: oklch(85.2% 0.199 91.936 / var(--alpha, 0.05));
}
.heatmap-count {
  font-size: 0.85rem;
  font-weight: 700;
}
.heatmap-month {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 2px;
}

/* ---- History month sections ---- */
.history-month {
  margin-top: 1rem;
}
.month-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.month-count {
  font-size: 0.8rem;
  opacity: 0.5;
  font-weight: 400;
}

/* ---- Trends charts ---- */
.trends-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.chart-block {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
}
.chart-label {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.bar-value {
  font-size: 0.6rem;
  color: var(--primary);
  opacity: 0.9;
  line-height: 1;
}
.bar-fill {
  width: 100%;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  min-height: 3px;
  opacity: 0.8;
}
.bar-month {
  font-size: 0.65rem;
  opacity: 0.5;
}

.director-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.director-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.director-name {
  font-size: 0.85rem;
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.director-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}
.director-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  opacity: 0.8;
}
.director-count {
  font-size: 0.8rem;
  opacity: 0.5;
  width: 20px;
  text-align: right;
}

/* ---- ActivityPub federation ---- */
.remote-badge {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}
.follow-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.follow-section input[type="text"] {
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}
.following-list {
  list-style: none;
  padding: 0;
}
.following-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Pending follow requests */
.pending-followers {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pending-list {
  list-style: none;
  padding: 0;
}

.pending-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.pending-url {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inline-form {
  display: inline;
}

.btn-accept {
  background: rgba(60, 180, 80, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(80, 200, 100, 0.3);
  border-radius: 16px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-accept:hover {
  background: rgba(60, 200, 80, 0.85);
}

.btn-reject {
  background: rgba(200, 60, 60, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(220, 80, 80, 0.3);
  border-radius: 16px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-reject:hover {
  background: rgba(220, 60, 60, 0.85);
}

/* ── Feed filter bar ─────────────────────────────── */
.feed-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  max-width: none; /* override global form { max-width: 400px } */
  background: var(--glass-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.18));
  background: transparent;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  user-select: none;
}

.pill input[type="radio"] {
  display: none;
}

.pill:hover {
  background: var(--glass-bg, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #fff);
}

.pill.active {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
}

.feed-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feed-controls select {
  background: var(--glass-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.18));
  border-radius: 8px;
  color: inherit;
  font-size: 0.875rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  color-scheme: dark;
}

.feed-controls select option {
  background: #1e1a2e;
  color: #fff;
}

.feed-controls input[type="text"] {
  background: var(--glass-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.18));
  border-radius: 8px;
  color: inherit;
  font-size: 0.875rem;
  padding: 0.3rem 0.7rem;
  width: 180px;
}

.feed-controls input[type="text"]::placeholder {
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
}

.btn-search {
  background: var(--glass-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.18));
  border-radius: 8px;
  color: inherit;
  font-size: 0.875rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-search:hover {
  background: var(--glass-bg-hover, rgba(255, 255, 255, 0.14));
}

.clear-filters {
  font-size: 0.8rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s;
}

.clear-filters:hover {
  color: var(--text-primary, #fff);
}

/* ── Users — federated section ───────────────────── */
.federated-title {
  margin-top: 2rem;
}

.federated-avatar {
  opacity: 0.75;
}

.user-meta.muted,
.muted {
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
  font-size: 0.8rem;
}

/* ── Site footer ─────────────────────────────────── */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  font-size: 0.8rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.footer-link {
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--text-primary, #fff);
}

.footer-sep {
  color: var(--text-muted, rgba(255, 255, 255, 0.25));
}

/* ── Responsive: mobile ──────────────────────────── */
@media (max-width: 560px) {
  header {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav {
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }

  nav a {
    font-size: 0.8em;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .feed-filters {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .feed-controls {
    width: 100%;
  }

  .feed-controls select,
  .feed-controls input[type="text"] {
    flex: 1;
    width: auto;
  }

  .pill {
    flex: 1;
    justify-content: center;
  }
}

/* ── Movie detail page ───────────────────────────────────────── */

.stats-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 60px;
}

.stat-box.histogram {
  text-align: left;
  flex: 1;
  min-width: 160px;
}

.stats-bar .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: oklch(85.2% 0.199 91.936);
}

.stats-bar .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.histogram-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 3px;
  font-size: 0.7rem;
}

.hist-label { color: rgba(255, 255, 255, 0.45); width: 1.8rem; text-align: right; }
.hist-bar-wrap { flex: 1; background: rgba(255, 255, 255, 0.06); border-radius: 2px; height: 6px; }
.hist-bar { background: oklch(85.2% 0.199 91.936); border-radius: 2px; height: 100%; min-width: 1px; }
.hist-count { color: rgba(255, 255, 255, 0.45); width: 1.5rem; }

/* ── Movie detail — profile sections ──────────────────────────────────────── */

.movie-meta {
  font-size: 0.82em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.genre-pill {
  font-size: 0.72em;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  background: rgba(229, 192, 52, 0.12);
  border: 1px solid rgba(229, 192, 52, 0.3);
  color: oklch(85.2% 0.199 91.936);
}

.movie-tagline {
  font-size: 0.85em;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.movie-overview {
  font-size: 0.88em;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cast-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}

.cast-card {
  flex-shrink: 0;
  width: 72px;
}

.cast-card img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #2a2a2a;
}

.cast-name {
  font-size: 0.7em;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
  color: var(--text);
}

.cast-char {
  font-size: 0.65em;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1px;
}

.crew-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.85em;
}

.crew-list li {
  padding: 0.2rem 0;
  color: var(--text-muted);
}

.crew-role {
  color: var(--text-light);
  margin-right: 0.4rem;
  font-size: 0.9em;
}

.feed-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.review-card {
  border-radius: 6px;
  padding: 0.1rem 0;
  margin-bottom: 0.2rem;
}

.review-own {
  background: rgba(74, 170, 119, 0.06);
  border-radius: 6px;
  border: 1px solid rgba(74, 170, 119, 0.3);
  padding: 0 0.5rem;
}

.review-federated {
  border-left: 3px solid #4aaa77;
  padding-left: 0.75rem;
}

.btn-small {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  background: rgba(126, 184, 247, 0.12);
  color: #7eb8f7;
  text-decoration: none;
  border: 1px solid rgba(126, 184, 247, 0.25);
  transition: background 0.2s;
}

.btn-small:hover {
  background: rgba(126, 184, 247, 0.22);
}

.movie-title-link {
  color: inherit;
  text-decoration: none;
}

.movie-title-link:hover {
  text-decoration: underline;
}
