/* /faceless-channel-ideas/ — a table of channel cards, then the chosen channel: a phone, what is being made, a shelf of five posters.
   Every card and poster takes its colours from one of eight looks (.ch-look-0 … 7: --bg, --ink, --acc). */
.ch-look-0 { --bg: #14110f; --ink: #fff7e8; --acc: #ff4d2e; }
.ch-look-1 { --bg: #f6ecd9; --ink: #1c1917; --acc: #e4572e; }
.ch-look-2 { --bg: #1f3bff; --ink: #ffffff; --acc: #ffd23f; }
.ch-look-3 { --bg: #0f3d2e; --ink: #eaf7e6; --acc: #9be564; }
.ch-look-4 { --bg: #ff5c8a; --ink: #1b0a12; --acc: #fff1a8; }
.ch-look-5 { --bg: #ffd23f; --ink: #1a1300; --acc: #1f3bff; }
.ch-look-6 { --bg: #2a1a5e; --ink: #f4edff; --acc: #ff8fd0; }
.ch-look-7 { --bg: #bfe3ff; --ink: #06243a; --acc: #ff4d2e; }

main.ch > section { padding: 0 20px; }
main.ch [hidden] { display: none !important; }
main.ch.in-room .ch-hero { display: none; }
.ch-hero { text-align: center; padding-top: 44px !important; padding-bottom: 8px !important; }
.ch-hero h1 { font-size: clamp(42px, 6.4vw, 78px); margin-bottom: 16px; }
.ch-hero .lead { margin: 0 auto; max-width: 620px; }
.ch-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--soft); }
.ch-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ch-ping 1.8s infinite; }
@keyframes ch-ping { to { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

/* the table: six cards, dealt */
.ch-table { padding-top: 36px !important; padding-bottom: 72px !important; }
.ch-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.ch-card { --r: 0deg; position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 430px; padding: 20px 20px 18px; border: 0; border-radius: 24px; background: var(--bg); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; overflow: hidden; transform: rotate(var(--r)); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 40px -22px rgba(0,0,0,.45);
  transition: transform .28s cubic-bezier(.2,.9,.3,1.3), box-shadow .28s; animation: ch-deal .7s cubic-bezier(.2,.9,.25,1.1) both; animation-delay: calc(var(--i) * 80ms); }
.ch-card:nth-child(3n+1) { --r: -1.6deg; } .ch-card:nth-child(3n+2) { --r: .9deg; } .ch-card:nth-child(3n) { --r: -.7deg; }
.ch-card:hover, .ch-card:focus-visible { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); outline: 0; z-index: 2; }
.ch-card:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.ch-card.out { animation: ch-out .38s cubic-bezier(.6,0,.9,.4) both; animation-delay: calc(var(--i) * 40ms); pointer-events: none; }
.ch-card.chosen { animation: ch-chosen .45s ease both; }
@keyframes ch-deal { from { opacity: 0; transform: translate3d(0, -70px, 0) rotate(calc(var(--r) + 14deg)) rotateX(50deg) scale(.82); } }
@keyframes ch-out { to { opacity: 0; transform: translate3d(0, 60px, 0) rotate(calc(var(--r) - 10deg)) scale(.85); } }
@keyframes ch-chosen { to { opacity: 0; transform: scale(1.12); } }
.ch-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--acc); opacity: .16; transition: transform .5s; }
.ch-card:hover::after { transform: scale(1.5); }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 1; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.ch-top span:first-child { opacity: .6; }
.ch-top span:last-child { padding: 6px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); }
.ch-pic { width: 84px; height: 84px; position: relative; z-index: 1; filter: drop-shadow(0 10px 12px rgba(0,0,0,.25)); animation: ch-bob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -600ms); }
@keyframes ch-bob { 50% { transform: translateY(-7px) rotate(4deg); } }
.ch-card h3 { margin: 0; font: 400 36px/1 "Instrument Serif", Georgia, serif; letter-spacing: -.01em; position: relative; z-index: 1; }
.ch-card p { font-size: 14.5px; line-height: 1.4; opacity: .85; }
.ch-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; line-height: 1.3; counter-reset: v; }
.ch-list li { counter-increment: v; display: flex; gap: 8px; opacity: .78; }
.ch-list li::before { content: counter(v, decimal-leading-zero); font: 600 10px/1.7 ui-monospace, Menlo, monospace; color: var(--acc); opacity: 1; }
.ch-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--acc); color: var(--bg); font: 700 13.5px Inter, sans-serif; transition: gap .2s; }
.ch-look-4 .ch-go, .ch-look-3 .ch-go, .ch-look-2 .ch-go { color: #111; }
.ch-card:hover .ch-go { gap: 14px; }

.ch-tools { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.ch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 14.5px Inter, sans-serif; padding: 12px 20px; cursor: pointer; text-decoration: none; transition: transform .15s, border-color .15s; }
.ch-btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.ch-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.ch-btn.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ch-btn.small { padding: 8px 14px; font-size: 13px; }
.ch-btn svg { width: 16px; height: 16px; }
.ch-btn.spin svg { animation: ch-spin .7s linear infinite; }
@keyframes ch-spin { to { transform: rotate(360deg); } }
.ch-or { font-size: 13px; color: var(--soft); }
.ch-niche { display: flex; gap: 8px; flex: 0 1 420px; }
.ch-niche input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); border-radius: 999px; padding: 12px 18px; font: 14.5px Inter, sans-serif; }
.ch-niche input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ch-msg { flex-basis: 100%; min-height: 20px; text-align: center; font-size: 13.5px; color: var(--soft); }

/* the chosen channel */
.ch-room { padding-top: 26px !important; padding-bottom: 72px !important; animation: ch-in .5s ease both; }
@keyframes ch-in { from { opacity: 0; transform: translateY(18px); } }
.ch-head { position: relative; display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-radius: 28px; background: var(--bg); color: var(--ink); overflow: hidden; }
.ch-head::after { content: ""; position: absolute; right: -60px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: var(--acc); opacity: .18; }
.ch-ava { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 12%, transparent); box-shadow: 0 0 0 3px var(--acc); position: relative; z-index: 1; }
.ch-ava img { width: 58px; height: 58px; }
.ch-who { min-width: 0; flex: 1; position: relative; z-index: 1; }
.ch-who h2 { margin: 0 0 4px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1; }
.ch-who .at { font: 600 12px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .06em; opacity: .7; }
.ch-who .pitch { margin-top: 8px; font-size: 15.5px; opacity: .9; max-width: 560px; }
.ch-back { position: relative; z-index: 1; align-self: flex-start; flex: none; border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 12.5px Inter, sans-serif; cursor: pointer; }
.ch-back:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }

.ch-stage { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin-top: 34px; }
.ch-phone { width: 300px; aspect-ratio: 9 / 16; border-radius: 36px; padding: 10px; background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06) inset; transform: rotate(-1.5deg); }
.ch-screen { position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #000; }
.ch-screen > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.ch-screen iframe { border: 0; background: #fff; opacity: 0; transition: opacity .7s; pointer-events: none; }
.ch-screen iframe.on { opacity: 1; }
.ch-screen .ch-poster { border-radius: 0; height: 100%; aspect-ratio: auto; }
.ch-veil { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 16px 34px; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.15) 55%, rgba(0,0,0,0)); color: #fff; text-align: center; font: 600 13.5px Inter, sans-serif; transition: opacity .5s; }
.ch-veil.off { opacity: 0; pointer-events: none; }
.ch-veil .ring { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; animation: ch-spin .8s linear infinite; }
.ch-tag { inset: auto 10px 10px auto !important; width: auto !important; height: auto !important; padding: 4px 9px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font: 600 10.5px Inter, sans-serif; }

.ch-now { min-width: 0; }
.ch-now .kicker { margin-bottom: 10px; }
.ch-now h3 { margin: 0 0 8px; font: 400 clamp(28px, 3.4vw, 40px)/1.05 "Instrument Serif", Georgia, serif; }
.ch-now .idea { color: var(--soft); font-size: 15px; max-width: 520px; }
.ch-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; }
.ch-steps li { display: flex; align-items: center; gap: 12px; color: var(--soft); }
.ch-steps li i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font: 700 11px/1 Inter, sans-serif; font-style: normal; }
.ch-steps li.on { color: var(--ink); font-weight: 600; }
.ch-steps li.on i { border-color: var(--accent); border-top-color: transparent; animation: ch-spin .8s linear infinite; }
.ch-steps li.done { color: var(--ink); }
.ch-steps li.done i { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ch-steps li.done i::before { content: "✓"; }
.ch-clock { margin-top: 14px; font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.ch-err { margin-top: 18px; padding: 10px 14px; border-radius: 12px; border: 1px solid #fecaca; background: #fef2f2; color: #b91c1c; font-size: 14px; max-width: 520px; }
.ch-acts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.ch-note { margin-top: 12px; font-size: 13px; color: var(--soft); max-width: 520px; }

.ch-shelf-h { margin: 44px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.ch-shelf-h h3 { margin: 0; font: 400 28px/1 "Instrument Serif", Georgia, serif; }
.ch-shelf-h span { font-size: 13px; color: var(--soft); }
.ch-shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ch-thumb { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ch-thumb .ch-poster { transition: transform .25s cubic-bezier(.2,.9,.3,1.3), box-shadow .25s; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.ch-thumb:hover .ch-poster { transform: translateY(-5px) rotate(-1deg); }
.ch-thumb.active .ch-poster { box-shadow: 0 0 0 3px var(--bg, #fff), 0 0 0 6px var(--accent); }
.ch-thumb b { font: 600 13.5px/1.3 Inter, sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ch-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font: 600 12px Inter, sans-serif; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); }
.ch-pill.gen { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ch-pill.ok { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.ch-pill.busy::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); border-top-color: transparent; animation: ch-spin .8s linear infinite; }

/* a poster: a video's thumbnail before it is made, drawn with type and one picture (five layouts, data-v 0…4) */
.ch-poster { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--bg); color: var(--ink); container-type: inline-size; }
.ch-poster::before { content: ""; position: absolute; border-radius: 50%; background: var(--acc); opacity: .9; width: 70cqw; height: 70cqw; left: 15cqw; top: 22cqw; }
.ch-poster .no { position: absolute; left: 8cqw; top: 7cqw; font: 700 5.2cqw/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; opacity: .7; }
.ch-poster .by { position: absolute; left: 8cqw; right: 8cqw; bottom: 7cqw; font: 600 4.6cqw/1 ui-monospace, Menlo, monospace; letter-spacing: .06em; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-poster img { position: absolute; width: 50cqw; height: 50cqw; left: 25cqw; top: 32cqw; filter: drop-shadow(0 3cqw 4cqw rgba(0,0,0,.28)); }
.ch-poster .t { position: absolute; left: 8cqw; right: 8cqw; bottom: 17cqw; font: 800 11cqw/1.02 Inter, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.ch-poster[data-v="1"]::before { width: 120cqw; height: 120cqw; left: 20cqw; top: 86cqw; border-radius: 50%; }
.ch-poster[data-v="1"] img { width: 66cqw; height: 66cqw; left: 30cqw; top: 96cqw; transform: rotate(-8deg); }
.ch-poster[data-v="1"] .t { top: 22cqw; bottom: auto; font: 400 15cqw/.98 "Instrument Serif", Georgia, serif; letter-spacing: -.01em; }
.ch-poster[data-v="2"]::before { width: 100cqw; height: 34cqw; left: 0; top: 60cqw; border-radius: 0; transform: skewY(-8deg); }
.ch-poster[data-v="2"] img { width: 44cqw; height: 44cqw; left: 46cqw; top: 22cqw; transform: rotate(10deg); }
.ch-poster[data-v="2"] .t { text-transform: uppercase; font-size: 10cqw; bottom: 18cqw; }
.ch-poster[data-v="3"]::before { width: 30cqw; height: 30cqw; left: 62cqw; top: 8cqw; }
.ch-poster[data-v="3"] img { width: 78cqw; height: 78cqw; left: 11cqw; top: 26cqw; }
.ch-poster[data-v="3"] .t { bottom: 16cqw; font: 400 italic 13.5cqw/1 "Instrument Serif", Georgia, serif; letter-spacing: 0; text-align: center; }
.ch-poster[data-v="4"]::before { width: 100cqw; height: 100cqw; left: -40cqw; top: 100cqw; }
.ch-poster[data-v="4"] img { width: 58cqw; height: 58cqw; left: 6cqw; top: 104cqw; }
.ch-poster[data-v="4"] .t { top: 22cqw; bottom: auto; font-size: 12.5cqw; }
.ch-poster.dim img, .ch-poster.dim .t, .ch-poster.dim::before { filter: saturate(.9); }

/* below: how it works, and questions */
.ch-how { padding-top: 24px !important; padding-bottom: 88px !important; max-width: 860px !important; }
.ch-how h2 { text-align: center; }
.ch-how ol { margin: 0 0 56px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.ch-how ol li { counter-increment: s; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); font-size: 14.5px; color: var(--soft); }
.ch-how ol li::before { content: counter(s); display: block; font: 400 38px/1 "Instrument Serif", Georgia, serif; color: var(--accent); margin-bottom: 8px; }
.ch-how ol li b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15.5px; }
.ch-how .ch-sub { text-align: center; color: var(--soft); max-width: 600px; margin: -6px auto 22px; }
.ch-how .pg-cards { margin-bottom: 56px; }
.ch-how details { border-top: 1px solid var(--line); padding: 16px 2px; }
.ch-how details:last-of-type { border-bottom: 1px solid var(--line); }
.ch-how summary { cursor: pointer; font-weight: 600; }
.ch-how details p { margin-top: 8px; color: var(--soft); font-size: 15px; }

@media (max-width: 980px) {
  .ch-deck { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ch-stage { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .ch-now { width: 100%; }
  .ch-shelf { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 150px; overflow-x: auto; padding: 8px 20px 14px; margin: 0 -20px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
  .ch-shelf::-webkit-scrollbar { display: none; }
  .ch-thumb { scroll-snap-align: start; }
}
@media (max-width: 620px) {
  .ch-deck { grid-template-columns: 1fr; }
  .ch-card { min-height: 0; --r: 0deg !important; }
  .ch-head { flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; border-radius: 22px; }
  .ch-ava { width: 64px; height: 64px; } .ch-ava img { width: 40px; height: 40px; }
  .ch-back { position: absolute; right: 16px; top: 16px; }
  .ch-phone { width: min(280px, 76vw); }
  .ch-how ol { grid-template-columns: 1fr; }
  .ch-niche { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ch-card, .ch-pic, .ch-room, .ch-live i { animation: none !important; } }
