/* Cinematic TV surface. Kept local to the standalone studio. */
.page .tv-chat-page { --tv-gold: #e6c59a; padding: 22px clamp(16px, 3vw, 52px) 88px; background: radial-gradient(ellipse at 80% 0%, #6d51351a, transparent 55%), #0b1018; }
.tv-chat-page .tv-chat-header { border-color: #e6c59a20; padding-bottom: 18px; }
.tv-chat-page .tv-chat-brand > span { color: #f1d5b0; background: linear-gradient(145deg,#d9b38325,#d9b38306); border-color: #e6c59a40; box-shadow: inset 0 1px #fff1; }
.tv-chat-page .tv-chat-brand b { font-weight: 500; letter-spacing: .08em; }
.tv-chat-page .tv-chat-welcome { margin: 24px auto 0; }
.tv-cinema-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px clamp(24px, 5vw, 88px) 28px; border: 1px solid #d6c3a92b; border-radius: 24px; background: #111820; box-shadow: 0 28px 65px #0003, inset 0 1px #ffffff0d; }
.tv-cinema-backdrop { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; opacity: .75; animation: tv-cinema-reveal 1.4s ease-out both; }
.tv-cinema-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,#080e18eb 0%,#080e1899 42%,#080e1820 100%),linear-gradient(0deg,#0b111afc 0%,#0b111a88 32%,transparent 85%); pointer-events: none; }
.tv-cinema-hero::after { content: ''; position: absolute; z-index: -1; inset: 12px; border: 1px solid #fff1; border-radius: 15px; pointer-events: none; }
.tv-cinema-light { position: absolute; z-index: -1; top: -40%; right: -10%; width: 70%; height: 130%; background: radial-gradient(ellipse,#f0b36524,transparent 65%); pointer-events: none; }
.tv-cinema-caption { display: flex; justify-content: space-between; gap: 12px; position: absolute; top: 26px; left: 30px; right: 30px; color: #e5d7c0a6; font: 9px/1.5 monospace; letter-spacing: .18em; }
.tv-cinema-intro { position: relative; max-width: 760px; margin-bottom: 28px; }
.tv-cinema-intro .tv-chat-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #e6c59a; font-size: 10px; letter-spacing: .22em; }
.tv-cinema-intro .tv-chat-eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.tv-chat-page .tv-cinema-intro h1 { margin: 19px 0 18px; font-size: clamp(32px, 3.6vw, 62px); line-height: 1.28; letter-spacing: -.045em; font-weight: 550; color: #f8f4ee; }
.tv-cinema-intro h1 em { font-style: normal; color: #e6c59a; }
.tv-cinema-intro p { color: #c3c7cd; font-size: 13px; line-height: 1.9; margin: 0; }
.tv-chat-page .tv-chat-start { position: relative; max-width: 860px; padding: 20px 24px; border-radius: 16px; border: 1px solid #d9c6ae45; background: linear-gradient(120deg,#171f2aeb,#101721e6); backdrop-filter: blur(20px); box-shadow: 0 16px 45px #0004,inset 0 1px #fff1; transition: border-color .25s, box-shadow .25s; }
.tv-chat-page .tv-chat-start:focus-within { border-color: #e6c59a9c; box-shadow: 0 16px 45px #0004,0 0 0 3px #e6c59a0c; }
.tv-composer-label { display: flex; align-items: center; gap: 8px; color: #d9dce2; font-size: 11px; margin-bottom: 18px; }
.tv-composer-spark { color: #e6c59a; font-size: 18px; }
.tv-composer-mode { margin-left: auto; padding: 4px 8px; border: 1px solid #e6c59a24; border-radius: 5px; color: #c1ae94; font-size: 10px; }
.tv-chat-page .tv-chat-start textarea { min-height: 72px; font-size: 14px; line-height: 1.8; color: #f1f1f4; }
.tv-chat-page .tv-chat-start textarea::placeholder { color: #9aa4b3; }
.tv-chat-page .tv-chat-start footer { padding-top: 14px; border-top: 1px solid #ffffff0d; }
.tv-chat-page .tv-chat-start button.btn-grad { padding: 10px 22px; border-color: #f6dec096; border-radius: 9px; background: linear-gradient(120deg,#f0d6af,#cba273); color: #282019 !important; box-shadow: 0 4px 22px #d6ae7026,inset 0 1px #fff7; transition: filter .2s,transform .2s; }
.tv-chat-page .tv-chat-start button.btn-grad:enabled:hover { filter: brightness(1.12); transform: translateY(-1px); }
.tv-chat-page .tv-chat-start button.btn-grad:disabled { opacity: .45; }
.tv-cinema-process { display: flex; align-items: center; max-width: 500px; gap: 15px; margin-top: 24px; color: #b9bec7; font-size: 11px; }
.tv-cinema-process span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tv-cinema-process small { color: #c9a87e; font: 9px monospace; }
.tv-cinema-process i { height: 1px; flex: 1; background: linear-gradient(90deg,#d3b48b50,#d3b48b0a); }
.tv-chat-page .tv-inspiration-heading { margin-top: 32px; margin-bottom: 16px; }
.tv-chat-page .tv-inspiration-heading h2 { font-size: 17px; color: #e9e7e1; }
.tv-chat-page .tv-inspiration-heading > span { margin-left: auto; color: #9aa6b7; }
.tv-chat-page .tv-chat-inspiration { gap: 18px; }
.tv-chat-page .tv-chat-inspiration button { position: relative; isolation: isolate; flex-direction: column; justify-content: flex-end; min-height: clamp(230px,20vw,340px); border-radius: 16px; border-color: #d1c2ad30; background: #121821; box-shadow: 0 10px 25px #0002; transition: transform .3s,border-color .3s,box-shadow .3s; }
.tv-chat-page .tv-chat-inspiration button::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#080e18fa,#080e18b3 35%,#080e1800 80%); pointer-events: none; }
.tv-chat-page .tv-chat-inspiration img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.tv-chat-page .tv-chat-inspiration button:hover { transform: translateY(-5px); border-color: #e6c59a8a; background: #121821; box-shadow: 0 18px 38px #0005; }
.tv-chat-page .tv-chat-inspiration button:hover img { transform: scale(1.045); }
.tv-chat-page .tv-starter-copy { flex: none; gap: 9px; padding: 23px; box-sizing: border-box; }
.tv-chat-page .tv-starter-copy b { color: #fff6e9; font-size: 20px; letter-spacing: .03em; }
.tv-chat-page .tv-starter-copy > span { color: #c4cbd5; font-size: 12px; line-height: 1.75; }
.tv-chat-page .tv-starter-copy small { color: #e6c59a; font-size: 11px; }
.tv-chat-page .tv-chat-recent { margin-top: 32px; border-color: #e6c59a24; }
.tv-chat-page .tv-chat-recent a { background: linear-gradient(120deg,#17202b,#111821); border-color: #d5c5ab26; padding: 18px; transition: border-color .2s; }
.tv-chat-page .tv-chat-recent a:hover { border-color: #e6c59a70; }
.tv-chat-page .tv-chat-tabs { margin-top: 8px; }
.tv-chat-page .tv-chat-tabs button[aria-pressed=true] { background: #e6c59a12; border-color: #e6c59a40; color: #edd5b6; }
.tv-chat-page .tv-chat-stage { border-color: #d5c5ab30; box-shadow: 0 20px 60px #0003; }
.page .tv-chat-page :focus-visible { outline-color: #e6c59a; }
@keyframes tv-cinema-reveal { from { opacity: .25; transform: scale(1.025); } to { opacity: .75; transform: scale(1); } }
@media (min-width: 1800px) { .tv-cinema-hero { padding-top: 78px; padding-bottom: 34px; } }
@media (max-width: 900px) { .tv-cinema-hero { padding: 60px 26px 26px; } .tv-chat-page .tv-starter-copy { padding: 18px; } .tv-chat-page .tv-starter-copy b { font-size: 17px; } }
@media (max-width: 600px) {
  .page .tv-chat-page { padding: 16px 12px 90px; }
  .tv-chat-page .tv-chat-welcome { margin-top: 16px; }
  .tv-cinema-hero { border-radius: 18px; padding: 54px 16px 23px; }
  .tv-cinema-caption { left: 22px; right: 22px; top: 22px; font-size: 8px; }
  .tv-cinema-caption span:last-child { display: none; }
  .tv-cinema-backdrop { object-position: 60% center; }
  .tv-chat-page .tv-cinema-intro h1 { font-size: clamp(27px,6.6vw,38px); }
  .tv-cinema-intro p { font-size: 12px; }
  .tv-chat-page .tv-chat-start { padding: 15px; }
  .tv-composer-label { flex-wrap: wrap; font-size: 10px; }
  .tv-composer-mode { font-size: 9px; }
  .tv-chat-page .tv-chat-start textarea { min-height: 106px; font-size: 13px; }
  .tv-chat-page .tv-chat-start footer { flex-wrap: wrap; }
  .tv-chat-page .tv-chat-start footer > span { max-width: none; font-size: 10px; }
  .tv-chat-page .tv-chat-start button.btn-grad { margin-left: auto; padding: 9px 14px; }
  .tv-cinema-process { gap: 7px; font-size: 10px; }
  .tv-cinema-process span { gap: 4px; }
  .tv-chat-page .tv-inspiration-heading > span { margin-left: 0; }
  .tv-chat-page .tv-chat-inspiration { grid-template-columns: 1fr; gap: 14px; }
  .tv-chat-page .tv-chat-inspiration button { min-height: 245px; }
  .tv-chat-page .tv-starter-copy { padding: 22px; }
  .tv-chat-page .tv-starter-copy b { font-size: 21px; }
}
/* The composer is the focal point; all light converges on its center. */
@property --tv-energy-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.tv-cinema-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 640px; padding: 48px clamp(24px,5vw,88px) 36px; background: #080d19; }
.tv-cinema-hero::before { background: radial-gradient(ellipse at 50% 54%,#11132944 0%,#080d19b8 58%,#080d19ed 100%),linear-gradient(0deg,#080d19,#080d1933 80%); }
.tv-cinema-backdrop { filter: saturate(.55); }
.tv-cinema-light { top: 6%; right: 5%; width: 90%; height: 90%; background: radial-gradient(ellipse at 35% 55%,#54dfff24,transparent 48%),radial-gradient(ellipse at 70% 45%,#a66aff33,transparent 55%); animation: tv-nebula 10s ease-in-out infinite alternate; }
.tv-cinema-intro { width: 100%; max-width: 860px; text-align: center; margin: 0 auto 32px; }
.tv-chat-page .tv-cinema-intro h1 { font-size: clamp(30px,3.2vw,48px); margin: 16px 0 14px; }
.tv-cinema-intro h1 em { color: #e3d6ff; background: linear-gradient(100deg,#9beaff,#e6d7ff 50%,#e6c59a); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tv-cinema-intro .tv-chat-eyebrow { color: #b1c4f6; }
.tv-cinema-intro .tv-chat-eyebrow::after { content: ''; width: 24px; height: 1px; background: currentColor; }
.tv-chat-page .tv-chat-start { --pointer-x: 50%; --pointer-y: 45%; isolation: isolate; width: 100%; max-width: 900px; box-sizing: border-box; margin-inline: auto; padding: 26px 30px; border: 1px solid #b8beff70; border-radius: 22px; background: radial-gradient(ellipse at var(--pointer-x) var(--pointer-y),#334c723d,transparent 65%),linear-gradient(125deg,#151e33f5,#101524f5 60%,#1c1730f5); box-shadow: 0 25px 75px #0009,0 0 65px #7879ff26,inset 0 1px #ffffff20; transition: box-shadow .4s,border-color .4s; }
.tv-chat-start::before,.tv-chat-start::after { content: ''; position: absolute; pointer-events: none; border-radius: inherit; }
.tv-chat-start::before { inset: 0; padding: 2px; background: conic-gradient(from var(--tv-energy-angle),#65e6ff10,#65e6ff,#b291ff20 24%,#b291ff10 42%,#c5a1ff,#e6c59a88 65%,#65e6ff10 82%); mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite: xor; animation: tv-energy-spin 7s linear infinite; }
.tv-chat-start::after { z-index: -1; inset: 0; border-radius: 22px; background: radial-gradient(ellipse at 15% 45%,#49dfff28,transparent 45%),radial-gradient(ellipse at 85% 60%,#a675ff35,transparent 45%); filter: blur(18px); opacity: .6; transition: opacity .4s; }
.tv-chat-page .tv-chat-start:focus-within { border-color: #b2dfff; box-shadow: 0 28px 80px #000a,0 0 90px #797bff40,0 0 32px #59dcff24,inset 0 1px #ffffff30; }
.tv-chat-start:focus-within::after { opacity: 1; }
.tv-chat-start:focus-within::before { animation-duration: 3s; }
.tv-chat-page .tv-chat-start textarea { min-height: 116px; font-size: 16px; line-height: 1.9; }
.tv-composer-label { font-size: 12px; margin-bottom: 20px; }
.tv-composer-spark { display: inline-block; font-size: 23px; color: #a9edff; filter: drop-shadow(0 0 9px #76dfff); animation: tv-spark-breathe 3s ease-in-out infinite; }
.tv-composer-mode { border-color: #a6baff38; color: #c2c9ed; background: #a6baff08; }
.tv-composer-mode::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #9fe3ff; box-shadow: 0 0 7px #9fe3ff; margin-right: 6px; vertical-align: middle; }
.tv-chat-page .tv-chat-start button.btn-grad { background: linear-gradient(115deg,#b9eeff,#c9c2ff 55%,#e6c9ef); color: #1a203b !important; border-color: #ebefffaa; box-shadow: 0 0 24px #8da8ff30,inset 0 1px #fff9; }
.tv-chat-page .tv-chat-start.tv-has-idea button.btn-grad { box-shadow: 0 0 30px #91b9ff65,0 4px 16px #0004,inset 0 1px #fff9; }
.tv-chat-start.tv-has-idea .tv-composer-spark { color: #fff; filter: drop-shadow(0 0 12px #76dfff); }
.tv-cinema-process { width: min(100%,500px); margin: 30px auto 0; }
.tv-energy-field { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.tv-energy-orbit { position: absolute; left: 50%; top: 58%; width: 92%; height: 46%; border: 1px solid #85dfff30; border-radius: 50%; box-shadow: 0 -2px 14px #65dbff18,inset 0 1px 12px #65dbff0d; transform: translate(-50%,-50%) rotate(-14deg); animation: tv-orbit-drift 12s ease-in-out infinite alternate; }
.tv-energy-orbit-secondary { width: 85%; height: 68%; border-color: #c39bff26; transform: translate(-50%,-50%) rotate(18deg); animation-name: tv-orbit-counter; animation-duration: 16s; }
.tv-energy-field i { position: absolute; left: calc(6% + var(--particle)*5.8%); top: calc(35% + mod(var(--particle),4)*14%); width: 3px; height: 3px; border-radius: 50%; background: #c8dfff; box-shadow: 0 0 8px 2px #8cafff80; opacity: 0; animation: tv-particle-rise 7s ease-in-out infinite; animation-delay: calc(var(--particle)*-.65s); }
.tv-energy-field i:nth-child(3n) { width: 2px; height: 2px; background: #eed1ff; box-shadow: 0 0 9px #c19aff; }
.tv-effects-paused *, .tv-effects-paused *::before { animation-play-state: paused !important; }
@keyframes tv-energy-spin { to { --tv-energy-angle: 360deg; } }
@keyframes tv-nebula { to { transform: translateY(-18px) scale(1.08); opacity: .65; } }
@keyframes tv-spark-breathe { 50% { transform: scale(.86) rotate(15deg); opacity: .65; } }
@keyframes tv-orbit-drift { to { transform: translate(-50%,-50%) rotate(-6deg) scale(1.04); } }
@keyframes tv-orbit-counter { to { transform: translate(-50%,-50%) rotate(9deg) scale(.95); } }
@keyframes tv-particle-rise { 0%,100% { opacity: 0; transform: translate3d(0,30px,0); } 25%,65% { opacity: .65; } 90% { opacity: 0; transform: translate3d(15px,-100px,0); } }
@media (max-width: 600px) {
  .tv-cinema-hero { min-height: 0; padding: 56px 16px 28px; }
  .tv-cinema-intro { margin-bottom: 27px; }
  .tv-chat-page .tv-cinema-intro h1 { font-size: clamp(26px,6.5vw,36px); }
  .tv-cinema-intro p { max-width: 290px; margin-inline: auto; }
  .tv-chat-page .tv-chat-start { padding: 18px 15px; border-radius: 17px; }
  .tv-chat-page .tv-chat-start textarea { min-height: 130px; font-size: 14px; }
  .tv-composer-label { font-size: 10px; gap: 6px; }
  .tv-composer-spark { font-size: 19px; }
  .tv-cinema-process { margin-top: 26px; }
  .tv-energy-orbit { width: 140%; }
  .tv-energy-field i:nth-child(2n) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tv-chat-page *, .tv-chat-page *::before, .tv-chat-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .tv-energy-field i { opacity: .35; } }
