/* Artificial Intimacy — local watch site (dark cinematic YouTube-style) */

:root {
  --bg: #0f0f0f;
  --bg-elevated: #1a1a1a;
  --bg-soft: #212121;
  --border: #303030;
  --text: #f1f1f1;
  --muted: #aaaaaa;
  --accent: #3ea6ff;
  --accent-strong: #065fd4;
  --danger: #ff4e45;
  --success: #2ba640;
  --gold: #f5c518;
  --radius: 12px;
  --header-h: 56px;
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  height: var(--header-h);
  background: rgba(15, 15, 15, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #065fd4, #9b5cff 60%, #ff4e8a);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.site-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.logo-studio {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 10px;
  margin-left: 2px;
}

@media (min-width: 900px) {
  .logo-studio {
    display: inline;
  }
}

.nav-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.chip:hover,
.chip.active {
  background: #fff;
  color: #0f0f0f;
  border-color: #fff;
}

a.chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

a.chip:hover {
  text-decoration: none;
}

.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  margin-left: auto;
}

.search-bar input {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 20px 0 0 20px;
  outline: none;
}

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

.search-bar button {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-left: none;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  border-radius: 0 20px 20px 0;
}

.lifetime-badge {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(43, 166, 64, 0.15);
  color: #7dffa0;
  border: 1px solid rgba(43, 166, 64, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.lifetime-badge.visible {
  display: inline-flex;
}

/* Layout */
.watch-page-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  gap: 24px;
  max-width: 1800px;
  margin: 0 auto;
}

.video-column {
  flex: 1;
  max-width: 1280px;
  min-width: 0;
}

.sidebar-column {
  width: 400px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 12px);
  height: calc(100vh - var(--header-h) - 24px);
}

/* Player */
.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 10;
  border: 1px solid var(--border);
}

.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  position: relative;
  z-index: 1;
}

/* Circuit-heart watermark on main player (transparent PNG) */
.video-logo-overlay {
  position: absolute;
  right: 2.5%;
  bottom: 11%;
  width: clamp(72px, 16%, 160px);
  height: auto;
  max-height: 32%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

.video-details-container {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.video-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.video-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.video-description {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

/* Channel + CTAs */
.channel-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 12px;
}

.channel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  border: 1px solid var(--border);
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}

.channel-name {
  font-weight: 700;
}

.channel-meta {
  color: var(--muted);
  font-size: 13px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.btn {
  border: none;
  border-radius: 18px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

a.btn {
  text-decoration: none;
  color: inherit;
}

a.btn:hover {
  text-decoration: none;
}

a.logo {
  text-decoration: none;
  color: inherit;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #2a2a2a;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border);
}

/* Cards / sections */
.panel {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.panel h2,
.panel h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.panel-header h2,
.panel-header h3 {
  margin: 0;
}

.panel-sub {
  color: var(--muted);
  font-size: 13px;
  margin: -4px 0 14px;
}

/* Offer grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.offer-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card.featured {
  border-color: rgba(62, 166, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(62, 166, 255, 0.15);
}

.offer-card h4 {
  margin: 0;
  font-size: 14px;
}

.offer-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.book-card-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.book-cover {
  width: 72px;
  height: 108px;
  object-fit: cover;
  border-radius: 6px;
  background: #333;
  flex-shrink: 0;
}

/* Poll */
.poll-form .field {
  margin-bottom: 16px;
}

.poll-form label.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}

.option-btn:hover {
  border-color: var(--accent);
}

.option-btn.selected {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.chip-select.selected {
  background: rgba(62, 166, 255, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.poll-form textarea,
.poll-form select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.poll-form textarea:focus,
.poll-form select:focus {
  border-color: var(--accent);
}

.poll-form textarea {
  min-height: 72px;
  resize: vertical;
}

.poll-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.poll-thanks {
  display: none;
  text-align: center;
  padding: 24px 12px;
}

.poll-thanks.visible {
  display: block;
}

.poll-form.hidden {
  display: none;
}

.results-box {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.results-box.visible {
  display: block;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

.stat .n {
  font-size: 1.25rem;
  font-weight: 700;
}

.stat .l {
  color: var(--muted);
  font-size: 12px;
}

.tag-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tag-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 8px;
  align-items: center;
}

.tag-bar-track {
  height: 8px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
}

.tag-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  width: 0;
}

/* Comments */
.comments-section {
  margin-top: 24px;
}

.comments-section > h3 {
  font-size: 16px;
  margin: 0 0 16px;
}

.add-comment {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #444;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  color: #ddd;
}

.comment-input-container {
  flex-grow: 1;
}

.add-comment-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 14px;
  padding: 5px 0;
  outline: none;
  color: var(--text);
  resize: vertical;
  min-height: 28px;
  font-family: inherit;
}

.comment-buttons {
  display: none;
  text-align: right;
  margin-top: 10px;
  gap: 8px;
  justify-content: flex-end;
}

.comment-buttons.visible {
  display: flex;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.comment-item {
  display: flex;
  gap: 15px;
}

.comment-author {
  font-size: 13px;
  margin: 0 0 4px;
}

.comment-author strong {
  color: var(--text);
}

.comment-author span {
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
}

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

/* Sidebar playlist */
.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow-y: auto;
  padding-right: 6px;
}

.recommendation-list::-webkit-scrollbar {
  width: 8px;
}
.recommendation-list::-webkit-scrollbar-track {
  background: transparent;
}
.recommendation-list::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.playlist-header {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
}

.recommendation-item {
  display: flex;
  gap: 12px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.recommendation-item:hover {
  background: var(--bg-elevated);
}

.recommendation-item.active {
  background: var(--bg-elevated);
  border-color: var(--accent);
}

.recommendation-item.locked {
  opacity: 0.85;
}

.thumb {
  width: 168px;
  height: 94px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, #1c2430, #2a1a30);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
}

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

.thumb .lock {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  z-index: 1;
}

.thumb.trailer-thumb {
  background: linear-gradient(145deg, #0d3a6e, #4a1a6b);
}

.video-meta h3 {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 4px;
  line-height: 1.3;
  color: var(--text);
}

.video-meta p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.modal .modal-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}

.modal ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 14px;
}

.modal li {
  margin-bottom: 6px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.modal-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 10px 0 6px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.mock-checkout {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.mock-checkout .price {
  font-size: 1.75rem;
  font-weight: 800;
}

.mock-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  color: #111;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* —— Site footer (yourmoviestudio.com) —— */
.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  background: #0a0a0a;
  padding: 28px 16px 40px;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer-brand strong {
  display: block;
  font-size: 15px;
}

.site-footer-brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
}

.site-footer-nav a {
  color: var(--muted);
}

.site-footer-nav a:hover {
  color: var(--text);
}

.site-footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.site-footer-copy a {
  color: var(--muted);
}

/* —— Soundtrack store (indexmusic.html) —— */
.music-page .music-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.music-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.music-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.music-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.music-hero-text p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
}

.music-hero-text .panel-sub {
  color: var(--muted);
}

.music-price-line {
  font-weight: 600;
  color: var(--accent) !important;
}

.music-stats {
  font-size: 13px;
  color: var(--muted) !important;
}

.music-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}

.music-hero-art {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}

.music-hero-art img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(155, 92, 255, 0.45));
}

.music-hero-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.25), transparent 70%);
  z-index: 0;
}

.ost-badge {
  margin-left: auto;
}

.now-playing .now-playing-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.now-playing-label {
  font-weight: 700;
  font-size: 15px;
}

.now-playing-mode {
  font-size: 12px;
  color: var(--muted);
}

.now-playing-time {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}

.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.track-row:hover {
  border-color: #444;
  background: var(--bg-soft);
}

.track-row.is-playing {
  border-color: rgba(62, 166, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(62, 166, 255, 0.25);
}

.track-row.is-unlocked .track-lock {
  color: #7dffa0;
}

.track-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.track-play:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.track-meta {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 8px;
  row-gap: 2px;
  min-width: 0;
}

.track-num {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.track-title {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-lock {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.track-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-owned {
  font-size: 12px;
  font-weight: 600;
  color: #7dffa0;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.music-faq ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  color: var(--muted);
}

.music-faq li {
  margin-bottom: 8px;
}

.music-faq strong {
  color: var(--text);
}

.music-faq code {
  font-size: 12px;
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 700px) {
  .music-hero {
    grid-template-columns: 1fr;
  }

  .music-hero-art {
    order: -1;
    margin: 0 auto;
  }

  .track-row {
    grid-template-columns: 40px 1fr;
  }

  .track-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

/* —— Personal film packages (indexfilm.html) —— */
.film-page .film-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.film-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.film-subhead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px !important;
}

.film-hook {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 10px;
}

.film-hero-copy p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.film-hero-copy #film-blurb {
  color: var(--text);
}

.founding-slots {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(245, 197, 24, 0.45);
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.12), rgba(155, 92, 255, 0.1));
  font-size: 14px;
  color: var(--text);
}

.founding-slots.is-full {
  border-color: rgba(255, 78, 69, 0.45);
  background: rgba(255, 78, 69, 0.08);
}

.film-hero-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.example-stage-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.example-stage-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.example-stage-title {
  margin: 0;
  font-size: 1rem;
}

.example-stage-caption {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.example-stage-badges {
  margin-bottom: 4px;
}

.example-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
}

.example-badge.is-market {
  background: rgba(62, 166, 255, 0.15);
  border-color: rgba(62, 166, 255, 0.45);
  color: #9fd0ff;
}

.example-badge.is-fund {
  background: rgba(245, 197, 24, 0.15);
  border-color: rgba(245, 197, 24, 0.5);
  color: var(--gold);
}

.example-badge.is-book {
  background: rgba(155, 92, 255, 0.15);
  border-color: rgba(155, 92, 255, 0.45);
  color: #c9a8ff;
}

.example-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.example-meta-row span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.example-meta-row p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.example-meta-contrast p {
  color: #d8d8d8;
}

.example-thumb-kind.is-market {
  color: #9fd0ff;
}

.example-thumb-kind.is-fund {
  color: var(--gold);
}

.example-thumb-kind.is-book {
  color: #c9a8ff;
}

.buyer-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.buyer-path-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.buyer-path-card.is-active {
  border-color: rgba(62, 166, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(62, 166, 255, 0.2);
}

.buyer-path-card[data-path-id="fund"].is-active {
  border-color: rgba(245, 197, 24, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.2);
}

.buyer-path-label {
  margin: 0;
  font-size: 1.05rem;
}

.buyer-path-who {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.buyer-path-problem,
.buyer-path-we {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.buyer-path-problem span,
.buyer-path-we span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--muted);
}

.buyer-path-problem span {
  color: #ff8a84;
}

.buyer-path-we span {
  color: #7dffa0;
}

.buyer-path-proof {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  flex: 1;
}

.buyer-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .buyer-path-grid {
    grid-template-columns: 1fr;
  }
}

.film-example-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 9;
  min-height: 180px;
}

.film-example-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.film-example-still-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film-example-still-wrap {
  margin: 0;
}

.film-example-still {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
}

.film-example-caption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.example-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.example-thumb {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.example-thumb:hover,
.example-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(62, 166, 255, 0.35);
}

.example-thumb-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}

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

.example-thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  color: #fff;
}

.example-thumb-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.example-thumb-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.example-thumb-kind {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.example-thumb-title {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.film-book-stage {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #141418, #1c1524 50%, #121212);
  box-sizing: border-box;
}

.film-book-link {
  flex-shrink: 0;
}

.film-book-cover-lg {
  width: 120px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.film-book-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.film-book-title {
  font-weight: 800;
  font-size: 1.1rem;
}

.film-book-author {
  font-size: 12px;
  color: var(--muted);
}

.film-book-blurb {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.film-package.is-trailer {
  border-color: rgba(62, 166, 255, 0.55);
}

.film-package-ribbon-trailer {
  background: var(--accent);
  color: #fff;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.film-package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}

.film-package.is-featured {
  border-color: rgba(62, 166, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(62, 166, 255, 0.15);
}

.film-package.is-founding {
  border-color: rgba(245, 197, 24, 0.55);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.08), var(--bg) 40%);
}

.film-package.is-sold-out {
  opacity: 0.65;
}

.film-package-ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  transform: rotate(35deg);
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 36px;
}

.film-package-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.film-package.is-founding .film-package-price {
  color: var(--gold);
}

.film-package-name {
  margin: 0;
  font-size: 1.05rem;
}

.film-package-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.film-package-duration {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.film-package-includes {
  margin: 4px 0 0;
  padding-left: 1.15em;
  font-size: 13px;
  color: var(--text);
  flex: 1;
}

.film-package-includes li {
  margin-bottom: 5px;
}

.film-package-best {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.film-package-best span {
  font-weight: 700;
  color: var(--text);
}

.film-package-note {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.film-package .btn {
  margin-top: 6px;
  justify-content: center;
  width: 100%;
}

.film-compare ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  color: var(--muted);
}

.film-compare li {
  margin-bottom: 8px;
}

.film-compare strong {
  color: var(--text);
}

.modal-wide {
  max-width: 560px;
}

@media (max-width: 900px) {
  .film-hero {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .watch-page-container {
    flex-direction: column;
    padding: 0 0 24px;
  }

  .video-player,
  .sidebar-column {
    position: static;
    height: auto;
  }

  .video-details-container,
  .sidebar-column {
    padding: 0 12px;
  }

  .video-player {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .recommendation-list {
    max-height: none;
    overflow-y: visible;
  }

  .search-bar {
    display: none;
  }

  .nav-chips {
    display: none;
  }

  .cta-row {
    margin-left: 0;
    width: 100%;
  }

  .channel-info {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .thumb {
    width: 140px;
    height: 78px;
  }

  .logo span.full {
    display: none;
  }
}

/* —— Sales associate (xAI Voice) —— */
.sales-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.sales-fab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: transparent;
}

.sales-fab:hover {
  border-color: var(--accent);
}

.sales-widget {
  position: fixed;
  right: 20px;
  bottom: 76px;
  width: min(360px, calc(100vw - 24px));
  z-index: 160;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  display: none;
}

.sales-widget.is-open {
  display: block;
}

.sales-widget.is-live {
  border-color: rgba(43, 166, 64, 0.55);
}

.sales-widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sales-avatar {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent;
  border-radius: 10px;
}

.sales-name {
  font-weight: 800;
  font-size: 15px;
}

.sales-title {
  font-size: 12px;
  color: var(--muted);
}

.sales-close {
  margin-left: auto;
  padding: 4px 8px;
}

.sales-tagline {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.sales-blurb {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.sales-agent-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.sales-agent-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.sales-agent-chip:hover:not(:disabled) {
  border-color: var(--accent);
}

.sales-agent-chip.is-active {
  border-color: var(--accent);
  background: rgba(62, 166, 255, 0.12);
}

.sales-agent-chip.is-unconfigured {
  opacity: 0.75;
}

.sales-agent-chip:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.sales-agent-step {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.sales-agent-chip.is-active .sales-agent-step {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.sales-agent-chip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sales-agent-chip-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.sales-agent-chip-role {
  font-size: 11px;
  color: var(--muted);
}

.sales-chain-hint {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.sales-phone-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.sales-phone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.sales-phone-display {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  word-break: break-all;
}

.sales-phone-display.is-placeholder {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.sales-phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sales-phone-actions .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.sales-browser-block {
  margin-bottom: 10px;
}

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

.sales-talk.is-live {
  background: rgba(43, 166, 64, 0.2);
  border-color: rgba(43, 166, 64, 0.5);
  color: #9dffb5;
}

.sales-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.sales-hint code {
  font-size: 10px;
  color: #cde;
}

.sales-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.sales-status[data-kind="live"] {
  color: #7dffa0;
}

.sales-status[data-kind="error"] {
  color: #ff8a84;
}

.sales-topics {
  margin: 0;
  padding-left: 1.1em;
  font-size: 12px;
  color: var(--muted);
}

.sales-topics li {
  margin-bottom: 4px;
}
