/* Fair E Cards / cinematic interface. No external fonts, images or animation libraries. */
:root{--bg:#060b12;--panel:#101a27;--line:#2d4053;--text:#f1f6fc;--muted:#b4c5d6;--blue:#66d3ff;--cinema-edge:#324b60;--cinema-surface:#0c1520;--cinema-radius:20px;color-scheme:dark}
body{background:radial-gradient(ellipse at 82% 5%,#15334b 0,transparent 34%),radial-gradient(ellipse at 0 48%,#0c2338 0,transparent 34%),var(--bg);min-height:100vh;line-height:1.6}header{background:#080f19f2;border-bottom:1px solid #344a5b;box-shadow:0 8px 30px #0003;z-index:25}header .brand{gap:12px}header .brand img{max-width:210px}header nav{gap:clamp(12px,1.6vw,24px)}header nav a{white-space:nowrap}header nav a:hover{color:var(--blue);text-decoration:none}main{max-width:1440px;padding-top:clamp(24px,4vw,60px)}h1,h2,h3{color:var(--text);text-wrap:balance}h1{letter-spacing:-.045em;font-weight:760;line-height:1.07}h2{letter-spacing:-.028em;line-height:1.2}p{overflow-wrap:anywhere}.eyebrow,.cinema-kicker{font-size:.72rem;letter-spacing:.15em;font-weight:750;color:var(--blue);text-transform:uppercase}.lead,.muted,small{color:var(--muted)}.actions{gap:12px}button,a.primary,a.secondary{border-radius:10px;min-height:44px;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}button:not(:disabled):hover,a.primary:hover,a.secondary:hover{border-color:#75d8ff;transform:translateY(-1px);filter:none}button:not(:disabled):active,a.primary:active,a.secondary:active{transform:translateY(0)}button[aria-pressed=true]{border-color:#66d3ff;background:#19374b;color:#e5f8ff}.primary{background:linear-gradient(120deg,#9ce6ff,#32b7ef 60%,#2a9fdf);color:#04131e!important;box-shadow:0 6px 24px #1eb5f226}.secondary,button{background:#142333;color:var(--text)}.navbutton{background:transparent}.navcta{background:#19344b}.skip-link:focus{top:8px}.panel,.tile,.viewer-box{border:1px solid var(--cinema-edge);border-radius:var(--cinema-radius);background:linear-gradient(145deg,#132233,#0d1723);box-shadow:0 12px 30px #0003}.panel{padding:clamp(16px,2.8vw,32px)}.studio-hero{position:relative;isolation:isolate;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);padding:clamp(14px,3vw,46px) 0 48px}.studio-hero h1{font-size:clamp(3rem,6.6vw,6.5rem);letter-spacing:-.066em;line-height:.99;margin-bottom:26px}.studio-hero h1 em{color:#92dfff}.studio-hero>div:first-child{animation:cinema-enter .65s cubic-bezier(.2,.75,.2,1) both}.studio-hero .hero-stage{animation:cinema-enter .8s .1s cubic-bezier(.2,.75,.2,1) both}.hero-stage{position:relative;isolation:isolate;background:radial-gradient(ellipse at 52% 42%,#295372,#0b1827 67%);border:1px solid #476881;border-radius:24px;box-shadow:0 25px 70px #0007;overflow:hidden}.hero-stage:before{content:"";position:absolute;inset:48px 0 60px;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0 59px,#9bdcff0c 60px),repeating-linear-gradient(0deg,transparent 0 59px,#9bdcff0c 60px);mask-image:radial-gradient(ellipse,#000,transparent 75%);pointer-events:none}.hero-stage model-viewer{display:block;width:100%;height:clamp(320px,39vw,530px);--poster-color:transparent}.stage-top,.stage-bottom{position:relative;background:#0b1521;gap:10px;flex-wrap:wrap}.stage-bottom button{font-size:.8rem;min-height:36px;padding:6px 10px}.cinema-live:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#7edfff;box-shadow:0 0 12px #67cfff;margin-right:8px}.studio-metrics{margin:8px 0 55px;background:linear-gradient(120deg,#142535,#0a1521);border-color:var(--cinema-edge);overflow:hidden}.studio-metrics div{padding:clamp(15px,2vw,28px);min-width:0}.studio-metrics strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em}.studio-section{margin:clamp(36px,5vw,72px) 0}.studio-tools{gap:18px}.studio-tools a{position:relative;min-height:210px;border:1px solid var(--cinema-edge);border-radius:18px;background:linear-gradient(145deg,#16273a,#0c1521);padding:26px;overflow:hidden;transition:transform .2s,border-color .2s}.studio-tools a:after{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#72d5ff,transparent);opacity:.65;pointer-events:none}.studio-tools a:hover{transform:translateY(-4px);text-decoration:none}.studio-tools h3{font-size:1.35rem}.tiles{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:20px}.tile{max-width:none;transition:transform .22s,border-color .22s;min-width:0}.tile:hover{transform:translateY(-3px);border-color:#5ba9d0}.tile a:hover{text-decoration:none}.tile img{height:250px;padding:14px;object-fit:contain;background:radial-gradient(ellipse,#1b344a,#0a1420 75%);transition:transform .3s}.tile:hover img{transform:scale(1.025)}.tile-body{padding:20px}.tile-body h3{overflow-wrap:anywhere}.tile-body .eyebrow{display:block;margin-bottom:8px}.library-toolbar{padding:18px;border:1px solid var(--cinema-edge);border-radius:14px;background:#0d1825;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto}.library-toolbar p{grid-column:1/3;align-self:center}.cinema-density{grid-column:3;display:flex;gap:6px}.cinema-density button{min-height:36px;padding:5px 12px;font-size:.82rem}.tiles.cinema-list{grid-template-columns:1fr}.cinema-list .tile a{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center}.cinema-list .tile img{height:125px}.cinema-list .tile-body{padding:16px}.empty{border-style:dashed;padding:45px 20px}.narrow{max-width:490px;margin:clamp(16px,6vh,70px) auto}.narrow h1{font-size:clamp(2rem,4vw,3rem)}.notice{border-color:#4485a6;background:#102b3e}.form-grid,.form-grid.three{gap:18px}label{font-size:.9rem;line-height:1.45}input:not([type=checkbox]),select{min-height:44px;border:1px solid #405b73;border-radius:10px;background:#091421;color:#f0f6fc;padding:10px 12px}input[type=range]{padding:0;min-height:34px;accent-color:#70d7ff}input::placeholder{color:#91a7bb}input[type=file]{font-size:.8rem;padding:8px;max-width:100%}input[type=file]::file-selector-button{background:#213e56;color:#f0f7ff;border:0;border-radius:6px;padding:6px 9px;margin-right:8px;cursor:pointer}input:focus,select:focus{border-color:#68cfff}.check{gap:12px}.check input{flex:0 0 auto}.cinema-workflow{display:flex;gap:8px;margin:24px 0;flex-wrap:wrap}.cinema-workflow a{display:flex;align-items:center;gap:10px;background:#111e2d;border:1px solid #334b61;border-radius:10px;padding:9px 15px;color:#e5f2fc;font-size:.88rem}.cinema-workflow b{color:var(--blue);font-variant-numeric:tabular-nums}.create-form h2,.create-form .check{scroll-margin-top:110px}.create-form{max-width:1120px}.uploads{gap:14px}.upload{min-width:0;background:linear-gradient(140deg,#112638,#0a1623);border:1px dashed #56758c;border-radius:13px;padding:15px;transition:border-color .2s,background .2s}.upload:focus-within,.upload.has-photo{border-color:#65cfff;border-style:solid;background:#102c40}.upload img{border-radius:8px;height:155px;background:#07121e}.cinema-upload-summary{margin-bottom:18px;border:1px solid #30475d;border-radius:12px;padding:13px 16px;background:#0b1724}.cinema-upload-summary>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.85rem}.cinema-upload-summary span{color:var(--muted)}progress{display:block;width:100%;height:6px;margin:8px 0 0;accent-color:#62cbff;border:0;border-radius:8px;overflow:hidden;background:#213448}progress::-webkit-progress-bar{background:#213448}progress::-webkit-progress-value{background:linear-gradient(90deg,#269fd8,#9ae8ff)}progress::-moz-progress-bar{background:#63d1ff}.pro-capture{background:#0a1624;border-color:#45627a}.pro-capture canvas{border-radius:10px;max-width:100%;height:auto}.pro-capture details{border-top:1px solid #30465a;padding-top:12px}summary{cursor:pointer}.viewer-box{background:radial-gradient(ellipse at 50% 40%,#234661,#07121f 72%);isolation:isolate;overflow:hidden}.viewer-box.theme-white{background:#eaf0f6}.viewer-box.theme-black{background:#000}.viewer-box.theme-blue{background:#075b9e}.cinema-stage-head{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#0a1420;padding:14px 20px;border-bottom:1px solid #344c61}.cinema-stage-head>div{display:grid;gap:2px}.cinema-stage-head strong{font-size:.95rem;color:#eaf5ff}.cinema-stage-head button{font-size:.82rem;min-height:36px;padding:6px 12px}.viewer-box model-viewer{height:clamp(380px,48vw,690px);width:100%}.viewer-status{background:#0a1420;color:#c3d6e5;padding:12px 20px}.cinema-progress{background:#0a1420;padding:0 20px 10px}.cinema-progress progress{margin:0}.cinema-director{background:#0e1b29;border-top:1px solid #30475d;padding:18px 20px;display:grid;gap:14px}.cinema-director-copy{display:grid;gap:2px}.cinema-director-copy strong{font-size:1.1rem}.cinema-director-copy .muted{font-size:.85rem}.cinema-shots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cinema-shots button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:13px;font-size:.75rem;color:#a9dfff;background:#15283a;min-height:72px}.cinema-shots button span{font-size:.92rem;color:#f0f7ff;text-align:left}.cinema-shots button[aria-pressed=true]{background:#1a3d54;border-color:#7edbff}.cinema-director-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.cinema-director-actions span{font-size:.82rem;color:var(--muted)}.controls,.control-row,.pro-controls{background:#101d2b;border-top:1px solid #30475c;padding:14px 20px}.controls{gap:8px}.controls button{min-height:40px;background:#172b3d}.control-row label{min-width:140px}.pro-controls summary{font-weight:750;color:#e4f4ff;padding:6px 0}.pro-control-inner{padding-top:16px}.pro-controls [data-pro-status]{color:#b8d7e9;font-size:.86rem}.pro-controls [data-pro-action=play],.cinema-director [data-shot-play]{background:#68cfff;color:#041420;border-color:#9ae7ff}.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:12px}.photos a{width:auto;background:#0d1c2b;border:1px solid #314b62;padding:10px;border-radius:12px}.photos img{height:140px}.photos span{font-size:.85rem;margin-top:5px}.viewer-box.cinema-focus .cinema-director,.viewer-box.cinema-focus .controls,.viewer-box.cinema-focus .control-row,.viewer-box.cinema-focus .pro-controls{display:none}.viewer-box.cinema-focus model-viewer{height:clamp(420px,68vh,850px)}.viewer-box:fullscreen{background:#08121e;overflow:auto;display:block}.viewer-box:fullscreen model-viewer{height:72vh}.studio-page-embed .viewer-box model-viewer{height:clamp(280px,52vh,500px)}.studio-page-embed .viewer-box.cinema-focus model-viewer{height:clamp(300px,70vh,650px)}footer{background:#080f18;border-color:#2d4053;padding-block:26px}.cinema-reveal{animation:cinema-enter .55s cubic-bezier(.2,.75,.2,1) both}@keyframes cinema-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}[hidden]{display:none!important}
@media(max-width:1050px){header nav{gap:12px}.studio-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-tools a{padding:19px}.library-toolbar{grid-template-columns:1fr 1fr}.library-toolbar p{grid-column:1}.cinema-density{grid-column:2;justify-content:flex-end}}
@media(max-width:850px){header{position:relative}.studio-hero{grid-template-columns:1fr;gap:25px}.studio-hero h1{font-size:clamp(3.2rem,9vw,5.5rem)}.studio-tools{grid-template-columns:1fr}.studio-tools a{min-height:0}.studio-metrics{margin-bottom:40px}.cinema-shots{grid-template-columns:repeat(2,minmax(0,1fr))}.viewer-box model-viewer{height:clamp(330px,55vw,490px)}.create-form h2,.create-form .check{scroll-margin-top:20px}}
@media(max-width:540px){main{padding-inline:14px}header{gap:12px;padding:12px 14px}header .brand img{width:145px}.brand span{font-size:.65rem;padding-left:10px}.studio-hero h1{font-size:clamp(2.7rem,11vw,4rem)}.hero-stage model-viewer{height:320px}.hero-stage{border-radius:16px}.stage-top,.stage-bottom{padding:12px}.studio-metrics div{padding:15px}.studio-metrics strong{font-size:1.7rem}.studio-metrics span{font-size:.77rem}.library-toolbar{grid-template-columns:1fr}.library-toolbar p,.cinema-density{grid-column:1}.cinema-density{justify-content:flex-start}.cinema-list .tile a{grid-template-columns:105px minmax(0,1fr)}.cinema-list .tile img{height:110px}.cinema-list .tile-body{padding:12px}.uploads{grid-template-columns:1fr 1fr;gap:8px}.upload{padding:10px}.upload span{flex-wrap:wrap}.upload img{height:100px}.upload input{font-size:.7rem}.cinema-stage-head,.cinema-director,.controls,.control-row,.pro-controls{padding:12px}.cinema-stage-head strong{font-size:.82rem}.cinema-kicker{font-size:.61rem}.cinema-stage-head button{padding:6px 8px}.viewer-box model-viewer{height:340px}.cinema-shots button{padding:10px}.cinema-shots button span{font-size:.82rem}.controls button{flex:1 1 auto}.photos img{height:100px}.viewer-box.cinema-focus model-viewer{height:60vh}.cinema-workflow a{padding:8px 10px}.cinema-workflow{gap:6px}.actions a,.actions button{max-width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep creation workflow visible despite V1.2 mobile nav rule. */
.js-ready nav.cinema-workflow{display:flex;width:auto}.cinema-workflow a:hover{text-decoration:none;border-color:#66d3ff}
