:root{--cream:#fbf1db;--paper:#fff9ec;--ink:#10100e;--pink:#dc0059;--muted:#746c5e;--line:#d6cbb6;--heading:'Barlow Condensed',Impact,sans-serif;--body:'Roboto Condensed',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px var(--body)}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button,a{transition:background .15s,color .15s}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #f23783;outline-offset:3px}a{color:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:9px}button:hover:not(:disabled){filter:brightness(.94)}[hidden]{display:none!important}main{min-height:calc(100vh - 160px)}.hero{height:330px;position:relative;overflow:hidden;border-bottom:5px solid var(--ink);background:var(--ink)}.hero-art{position:absolute;inset:0 0 0 39%;background:url('/art/hero-montage.webp') center 43%/cover;clip-path:polygon(9% 0,100% 0,100% 100%,0 100%)}.hero-copy{width:48%;height:100%;padding:31px 38px;background:var(--cream);clip-path:polygon(0 0,100% 0,85% 100%,0 100%);position:relative}.hero-copy:before{content:'';position:absolute;inset:0;background:url('/palms.svg') 60% 20%/350px no-repeat;opacity:.04;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:var(--muted)}.hero .eyebrow{color:var(--pink);margin-bottom:12px}.hero h1{font:900 italic clamp(48px,4.6vw,74px)/.88 var(--heading);letter-spacing:-1.5px;margin:0 0 15px}.hero p{font-size:16px;line-height:1.4;max-width:350px;margin:0 0 20px;color:#575042}.hero-actions{display:flex;gap:10px}.primary,.secondary,.small-button{border:2px solid var(--ink);padding:10px 18px;font:700 19px/1.1 var(--heading);min-height:43px;text-decoration:none;border-radius:3px;color:var(--ink);background:transparent;white-space:nowrap}.primary{background:var(--pink);border-color:var(--pink);color:#fff}.primary b{font:400 24px/.7 Arial}.secondary{background:var(--paper)}.small-button{padding:6px 10px;min-height:32px;font-size:15px;border-width:1px}.hero-tag{position:absolute;right:25px;bottom:20px;color:var(--cream);background:var(--ink);padding:8px 11px;font:600 12px var(--heading);letter-spacing:1.4px;transform:rotate(-2deg);border:1px solid #f1e6d080}.content{max-width:1600px;margin:auto;padding:29px 38px 40px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.section-heading h2{font:800 33px/1 var(--heading);margin:0;letter-spacing:-.3px}.section-heading p{color:var(--muted);font-size:13px;margin:7px 0 0}.section-heading .eyebrow{margin-bottom:8px}.text-button{background:none;border:0;padding:6px 0;font-weight:600;font-size:13px;border-bottom:1px solid}.start-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.dropzone{background:#fff8e9;border:1.5px dashed #aaa08b;min-height:190px;display:flex;align-items:center;justify-content:center;gap:24px;padding:24px;border-radius:3px;position:relative}.dropzone.dragging{background:#fbd3df;border-color:var(--pink)}.upload-icon{width:62px;height:62px;border:2px solid var(--ink);background:var(--cream);display:grid;place-items:center;box-shadow:4px 4px var(--ink);font:500 36px var(--heading);flex:none}.dropzone h3{font:700 25px var(--heading);margin:0 0 6px}.dropzone p{font-size:13px;color:var(--muted);margin:0 0 16px}.dropzone small{font-size:11px;color:var(--muted)}.dropzone .primary{font-size:17px;min-height:35px;padding:7px 15px;margin-right:11px}.demo-card{display:flex;overflow:hidden;background:var(--ink);color:var(--cream);border:3px solid var(--ink);border-radius:3px;min-height:190px}.demo-art{width:46%;background:url('/art/campaign-triptych.webp') 0 50%/300% auto;position:relative}.demo-art span{position:absolute;left:10px;bottom:11px;background:var(--cream);color:var(--ink);padding:4px 6px;font:700 10px var(--body);letter-spacing:.5px}.demo-copy{padding:20px;flex:1}.demo-copy .eyebrow{color:#f598be;font-size:9px}.demo-copy h3{font:800 italic 31px/.95 var(--heading);margin:11px 0}.demo-copy p{font-size:12px;line-height:1.4;color:#c5bda9;margin:0 0 11px}.demo-copy button{background:var(--cream);border:0;padding:7px 12px;font:700 17px var(--heading);border-radius:2px}.workflow{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0 33px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.workflow>div{display:flex;gap:15px;padding:17px 20px;border-right:1px solid var(--line)}.workflow>div:first-child{padding-left:0}.workflow>div:last-child{border:0}.step-number{font:700 29px var(--heading);color:var(--pink)}.workflow h3{margin:1px 0 3px;font:700 17px var(--heading)}.workflow p{font-size:12px;color:var(--muted);margin:0;line-height:1.4}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{background:var(--paper);border:1.5px solid var(--ink);border-radius:3px;overflow:hidden;text-align:left;display:block;padding:0;width:100%}.project-thumbnail{height:140px;background:var(--ink);position:relative;overflow:hidden}.project-thumbnail img,.project-thumbnail video{width:100%;height:100%;object-fit:cover}.project-thumbnail span{position:absolute;bottom:9px;right:9px;background:#10100ee8;color:white;padding:4px 6px;font-size:11px}.project-info{padding:15px}.project-info h3{font:700 24px var(--heading);margin:0 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-info p{font-size:12px;margin:0;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.empty-line{padding:27px 0;color:var(--muted);border-top:1px solid var(--line);font-size:14px}.page-intro{display:flex;justify-content:space-between;align-items:end;margin:13px 0 30px}.page-intro h1{font:900 italic 62px/.95 var(--heading);margin:10px 0}.page-intro p{color:var(--muted);line-height:1.5}.search{border:1px solid #a99f89;background:var(--paper);padding:10px 13px;width:240px;border-radius:3px}.editor{padding:22px 30px 35px;max-width:1700px;margin:auto}.editor-heading{display:flex;align-items:center;gap:20px;margin:6px 0 21px}.editor-heading input{font:800 33px var(--heading);background:none;border:0;border-bottom:1px solid transparent;min-width:0;flex:1;padding:0}.editor-heading input:focus{border-bottom-color:var(--ink)}.save-state{font-size:11px;color:var(--muted)}.editor-columns{display:grid;grid-template-columns:280px minmax(300px,1fr) 310px;gap:19px;align-items:start}.panel{border:1.5px solid var(--ink);background:var(--paper);border-radius:3px;overflow:hidden}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-bottom:1px solid var(--line)}.panel-title h2{font:700 19px var(--heading);margin:0}.panel-title>span{font-size:10px;color:var(--muted)}.panel-body{padding:16px}.source-thumb{width:100%;aspect-ratio:16/9;object-fit:contain;background:#171716;display:block}.source-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);padding:11px 14px;line-height:1.5}.source-label b{display:block;color:var(--ink);font-weight:600;overflow-wrap:anywhere}.field-label{font:700 11px var(--body);letter-spacing:.5px;text-transform:uppercase;display:block;margin:0 0 8px}.field{margin-bottom:18px}.field:last-child{margin-bottom:0}.row-fields{display:flex;gap:10px}.row-fields>label{flex:1;min-width:0}.row-fields input{width:100%}input[type=number],input[type=url],input[type=text],textarea,select{border:1px solid #b9ae99;background:#fffdf5;color:var(--ink);border-radius:3px;padding:9px 10px;width:100%;font-size:13px}input[type=range]{accent-color:var(--pink);width:100%;cursor:pointer}.range-note{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:4px}.segments{display:flex;gap:5px}.segments button{flex:1;border:1px solid #bcaf95;background:var(--paper);padding:9px 3px;font-size:12px;border-radius:3px;flex-direction:column;gap:6px}.segments button.selected{background:var(--ink);border-color:var(--ink);color:var(--cream)}.aspect-icon{width:14px;height:22px;border:1.5px solid currentColor;border-radius:2px}.aspect-icon.square{width:20px;height:20px}.aspect-icon.landscape{width:25px;height:15px;margin:3px 0 4px}.subpanel{border-top:1px solid var(--line);padding:17px 16px}.preview-panel{background:#ded5c3;padding:19px 20px;border:1.5px solid var(--ink);border-radius:3px}.preview-top{display:flex;justify-content:space-between;font-size:10px;color:#655e52;margin-bottom:16px;letter-spacing:1px}.preview-stage{height:485px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(#bfb5a3 .75px,transparent .75px);background-size:7px 7px}.output-frame{background:#101010;position:relative;height:100%;max-width:100%;aspect-ratio:9/16;box-shadow:5px 5px #10100e24;overflow:hidden}.output-frame.square{aspect-ratio:1;height:auto;width:100%;max-height:100%}.output-frame.landscape{aspect-ratio:16/9;height:auto;width:100%}.output-frame video{width:100%;height:100%;display:block;object-fit:contain;position:absolute;inset:0}.caption-overlay{position:absolute;bottom:13%;left:6%;right:6%;text-align:center;pointer-events:none;font-family:Arial,sans-serif;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.caption-overlay span{background:var(--pink);color:white;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:3px 6px;border-radius:2px}.caption-overlay.classic span{background:none;text-shadow:1px 1px 2px #000,-1px -1px 2px #000,1px -1px 2px #000,-1px 1px 2px #000}.play-controls{display:flex;align-items:center;justify-content:center;gap:15px;margin:15px 0}.play-button{width:39px;height:39px;border:0;background:var(--ink);color:var(--cream);border-radius:50%;font-size:16px}.play-time{font-size:12px;font-variant-numeric:tabular-nums}.preview-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);border-top:1px solid #b8ae9a;padding-top:12px}.timeline{padding:17px;background:var(--paper);border:1.5px solid var(--ink);margin-top:14px;border-radius:3px}.timeline-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.timeline-head strong{font:700 17px var(--heading)}.timeline-head span{font-size:10px;color:var(--muted)}.filmstrip{height:35px;background:repeating-linear-gradient(90deg,#292821 0,#292821 4px,#3e3c32 4px,#3e3c32 6px);border:3px solid var(--ink);position:relative;margin:8px 0;overflow:hidden}.selection-region{height:100%;position:absolute;background:#dc00596b;border-left:3px solid #f95999;border-right:3px solid #f95999;pointer-events:none}.playhead{position:absolute;top:0;bottom:0;width:2px;background:#fff9ec;pointer-events:none}.filmstrip input{position:absolute;inset:0;opacity:0;cursor:ew-resize;margin:0;width:100%;height:100%}.cut-actions{display:flex;gap:7px;margin-top:12px}.cut-actions button{flex:1;font-size:13px;background:var(--paper);border:1px solid #bbae93;min-height:32px;border-radius:2px}.captions-toolbar{padding:12px 14px;display:flex;gap:7px;border-bottom:1px solid var(--line)}.captions-toolbar button{flex:1}.caption-list{max-height:400px;overflow-y:auto;padding:12px}.caption-item{padding:11px;background:var(--cream);border:1px solid #d2c7b0;border-radius:3px;margin-bottom:9px}.caption-item.active{border-color:var(--pink);box-shadow:inset 3px 0 var(--pink)}.caption-times{display:flex;gap:6px;align-items:center;margin-bottom:8px}.caption-times input{width:70px;min-width:0;font-size:10px;padding:5px}.caption-times span{font-size:10px;color:var(--muted)}.caption-times button{margin-left:auto;border:0;background:none;font-size:17px;padding:0 4px;color:var(--muted)}.caption-item textarea{font-size:12px;line-height:1.4;resize:vertical;min-height:55px}.caption-empty{padding:24px 15px;text-align:center;color:var(--muted);line-height:1.6;font-size:12px}.style-choices{display:flex;gap:8px}.style-choices button{flex:1;border:1px solid #b8ad97;background:#201f1b;padding:13px 5px;border-radius:3px}.style-choices button.selected{outline:2px solid var(--pink);outline-offset:1px}.style-choices span{font:bold 12px Arial;color:white}.style-choices .pink span{background:var(--pink);padding:3px}.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;margin-top:14px}.check input{accent-color:var(--pink);margin:3px 0 0;flex:none}.credit-panel{margin-top:16px}.credit-panel summary{padding:14px 16px;font:700 17px var(--heading);cursor:pointer}.credit-panel .panel-body{padding-top:0}.notice{background:#f8dbdf;border-left:3px solid var(--pink);padding:12px 15px;font-size:12px;line-height:1.5;margin:14px 0}.export-list{display:grid;gap:14px}.export-card{display:flex;align-items:center;gap:23px;background:var(--paper);border:1.5px solid var(--ink);padding:18px;border-radius:3px}.export-poster{width:90px;height:112px;flex:none;background:#171715;object-fit:contain}.export-info{flex:1;min-width:0}.export-info h3{font:700 26px var(--heading);margin:0 0 6px}.export-info p{font-size:12px;color:var(--muted);margin:0 0 13px}.export-links{display:flex;gap:10px;flex-wrap:wrap}.export-status{font-size:10px;letter-spacing:1px;display:inline-block;padding:5px 7px;background:#e0e9cb;margin-bottom:8px;font-weight:700}.export-status.failed{background:#fbd5de}.export-status.rendering,.export-status.queued{background:#f7e6b1}.empty-state{padding:55px 25px;text-align:center;border:1.5px dashed #b8ad96;background:var(--paper)}.empty-state h2{font:800 35px var(--heading);margin:0 0 10px}.empty-state p{color:var(--muted);margin-bottom:22px}.loading{padding:80px;text-align:center;color:var(--muted)}footer{display:flex;gap:20px;align-items:center;margin:0 38px;padding:20px 0;border-top:1px solid var(--ink);font-size:11px;color:var(--muted)}.footer-wordmark{font:800 italic 21px var(--heading);color:var(--ink)}.footer-end{margin-left:auto;font-size:10px}dialog{border:3px solid var(--ink);border-radius:4px;background:var(--cream);width:min(460px,calc(100% - 36px));padding:30px;box-shadow:8px 8px #0004}dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}dialog h2{font:900 italic 40px var(--heading);margin:9px 0 20px}dialog p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}progress{accent-color:var(--pink);width:100%;height:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--cream);border:1px solid #ed5491;padding:14px 22px;z-index:20;font-size:13px;max-width:90vw;box-shadow:4px 4px #0003}.error-text{color:#a90042}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1600px){.hero-copy{padding-left:max(38px,calc((100vw - 1524px)/2))}.hero{height:370px}.hero h1{font-size:80px}.preview-stage{height:580px}}
@media(max-width:1150px){.content{padding:25px}.hero-copy{width:51%;padding:30px 25px}.hero-art{left:41%}.hero h1{font-size:57px}.editor{padding:20px}.editor-columns{grid-template-columns:240px minmax(250px,1fr) 270px;gap:12px}.preview-panel{padding:15px 12px}.preview-stage{height:440px}.panel-body{padding:13px}.hero p{max-width:300px}.demo-copy{padding:17px}.demo-copy h3{font-size:28px}}
@media(max-width:920px){.editor-columns{grid-template-columns:230px minmax(250px,1fr)}.captions-column{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:15px}.credit-panel{margin-top:0;height:fit-content}.caption-list{max-height:260px}.hero-copy{width:56%}.hero-art{left:45%}.hero h1{font-size:55px}.hero-tag{font-size:10px;right:15px}.dropzone{gap:15px;padding:20px}.upload-icon{width:46px;height:46px}.dropzone h3{font-size:23px}.dropzone small{display:block;margin-top:10px}.demo-art{width:35%}.projects{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow>div{padding:15px 12px;gap:10px}.footer-end{display:none}}
@media(max-width:640px){.hero{height:auto;display:flex;flex-direction:column}.hero-copy{width:100%;clip-path:none;padding:25px 20px}.hero h1{font-size:57px}.hero p{max-width:100%;font-size:14px}.hero-art{position:relative;inset:auto;height:180px;clip-path:none;order:2;border-top:4px solid var(--ink);background-position:center 40%}.hero-tag{z-index:1;bottom:13px}.hero-actions button{font-size:18px}.content{padding:24px 18px}.section-heading h2{font-size:29px}.start-grid{grid-template-columns:1fr;gap:15px}.dropzone{justify-content:flex-start;min-height:175px}.demo-card{min-height:170px}.demo-art{width:43%}.demo-copy{padding:18px}.workflow{grid-template-columns:1fr;margin:23px 0}.workflow>div{padding:14px 0;border-right:0;border-bottom:1px solid var(--line)}.workflow>div:last-child{border-bottom:0}.workflow p{font-size:12px}.projects{grid-template-columns:1fr}.project-thumbnail{height:165px}.page-intro{display:block}.page-intro h1{font-size:53px}.search{width:100%;margin-top:10px}.editor{padding:19px 14px}.editor-heading{gap:12px;flex-wrap:wrap;margin-bottom:16px}.editor-heading input{font-size:28px;flex:1 1 60%}.save-state{font-size:10px}.editor-heading .primary{font-size:18px;margin-left:auto}.editor-columns{display:flex;flex-direction:column}.editor-columns>div{width:100%}.preview-column{order:0}.settings-column{order:1;display:grid;grid-template-columns:1fr}.captions-column{order:2;display:block}.preview-stage{height:440px}.source-thumb{max-height:190px}.credit-panel{margin-top:14px}.caption-list{max-height:350px}.export-card{align-items:start;gap:13px;padding:14px}.export-poster{width:65px;height:100px}.export-info h3{font-size:23px}.export-links .primary{font-size:16px;padding:8px 10px}.export-links{gap:6px}footer{margin:0 18px;gap:12px;flex-wrap:wrap;font-size:10px}.preview-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.mark-overlay{position:absolute;left:5%;z-index:2;font:italic 900 1em/1 var(--heading);color:#fffdf3;opacity:.92;-webkit-text-stroke:.07em rgba(5,5,5,.85);paint-order:stroke fill;text-shadow:0 .04em .14em rgba(0,0,0,.6);pointer-events:none;white-space:nowrap}.mark-overlay[hidden]{display:none}.mark-overlay::after{content:'';position:absolute;left:39%;width:60%;bottom:-.05em;height:.085em;border-radius:.05em;background:#f34690;transform:rotate(-4deg)}
.submit-link{display:inline-block;margin-top:.75rem;color:var(--ink);font-weight:700}

.campaign-context{padding:24px 5%;background:#f9e5b9;border-bottom:3px solid #111}.campaign-context h2{font:800 32px var(--heading);margin:8px 0}.campaign-context p{max-width:900px;line-height:1.5}.campaign-context a{display:inline-flex;margin:6px 10px 6px 0}

/* Header: matches Clip City's topbar, wordmark and nav. */
.topbar{background:#050505;color:#fffdf3;display:flex;align-items:center;gap:24px;padding:0 26px;min-height:67px;border-bottom:5px solid #050505;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:20px;text-decoration:none;flex:none;min-height:44px}.wordmark{font-family:var(--heading);font-weight:900;font-style:italic;font-size:clamp(33px,3.3vw,57px);letter-spacing:-1.5px;line-height:.9;position:relative;white-space:nowrap}.wordmark:after{content:'';height:5px;background:#f34690;position:absolute;bottom:-9px;right:4px;left:39%;border-radius:70% 20% 50% 50%;transform:rotate(-4deg)}.brand-caption{border-left:1px solid #a8a397;padding-left:14px;font:800 clamp(13px,1.1vw,19px)/1 var(--heading)}nav{display:flex;align-self:stretch;gap:16px;flex:1;justify-content:space-around}nav button{position:relative;padding:12px 0;border:0;background:transparent;color:inherit;font:700 clamp(15px,1.3vw,22px) var(--heading);white-space:nowrap;gap:9px;min-height:44px;min-width:44px}nav button.active:after{content:'';position:absolute;height:4px;bottom:6px;left:0;right:0;background:#eb3c8a;border-radius:3px}nav b{font:600 12px var(--body);border:1px solid #665e53;padding:2px 6px;border-radius:3px;color:#d5cbb9}.topbar svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.account-controls{border-left:1px solid #d3cbb8;padding-left:25px;display:flex;align-items:center;gap:24px;flex:none}.device-status{display:flex;align-items:center;gap:8px;font:700 clamp(13px,1vw,16px) var(--heading);letter-spacing:.6px;color:#d5cbb9;white-space:nowrap}.device-status i{width:8px;height:8px;background:#a3d28a;border-radius:50%}.campaigns-link{border:1.5px solid #e6e1d5;border-radius:5px;padding:7px 11px;min-height:44px;display:inline-flex;align-items:center;gap:9px;font:700 clamp(14px,1.2vw,20px) var(--heading);text-decoration:none;white-space:nowrap}.campaigns-link:hover{background:#fffdf3;color:#050505}.topbar .campaigns-link svg{width:22px;height:22px}
@media(max-width:1390px){.topbar{gap:16px;padding:0 18px}.brand{gap:14px}.brand-caption{font-size:13px;padding-left:10px}.wordmark{font-size:42px}nav{gap:15px}nav button{font-size:17px;gap:6px}.topbar svg{width:22px;height:22px}.account-controls{gap:15px;padding-left:16px}.campaigns-link{font-size:16px;padding:6px 10px}}
@media(max-width:1150px){.brand-caption,.device-status{display:none}.topbar{gap:20px}.wordmark{font-size:40px}nav{gap:12px}nav button{font-size:16px}}
@media(max-width:850px){.topbar{flex-wrap:wrap;gap:15px;padding:16px 18px 0}.brand{margin-right:auto}.account-controls{border:0;padding:0}nav{flex:1 0 100%;order:3;justify-content:space-between;gap:20px;padding-bottom:4px}nav button{font-size:19px;padding:12px 0 16px}nav button.active:after{bottom:4px}}
@media(max-width:580px){.topbar{gap:12px;padding:14px 14px 0}.wordmark{font-size:37px}nav{gap:10px}nav button{font-size:17px;gap:6px;flex:none}.topbar svg{width:20px;height:20px}.campaigns-link{font-size:16px;padding:5px 10px}}
@media(max-width:374px){nav svg{display:none}}

/* Touch targets and the preview transport. */
.icon-button{width:44px;height:44px;border:1.5px solid var(--ink);background:var(--paper);color:var(--ink);border-radius:50%;padding:0}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.play-button{width:48px;height:48px}.sound-toggle{min-height:44px;padding:0 6px}
@media(max-width:920px),(pointer:coarse){.text-button,.small-button,.cut-actions button{min-height:44px}.caption-times button{min-width:44px;min-height:44px;padding:0}.segments button{min-height:52px}.captions-toolbar button{min-height:44px}}

/* Phones: 16px form text so iOS does not zoom on focus. */
@media(max-width:920px),(pointer:coarse){input[type=number],input[type=url],input[type=text],input[type=search],textarea,select,.search{font-size:16px}.caption-times input{width:80px;font-size:16px;padding:7px 8px}.caption-item textarea{font-size:16px}select{min-height:44px}}

/* Phone editor: preview first, controls stacked under it, Export pinned within thumb reach. */
@media(max-width:640px){
.editor{padding:10px 12px 24px}.back-link{display:none}.editor-heading{margin:0 0 10px;gap:4px 10px;flex-wrap:wrap}.editor-heading input{font-size:26px;flex:1 1 0;min-width:0}#duplicate{order:1}.editor-heading .save-state{order:2;flex-basis:100%}
.preview-panel{padding:12px}.preview-top{margin-bottom:10px}.preview-stage{height:min(440px,50svh)}.play-controls{margin:10px 0;gap:12px}
.timeline{padding:14px 12px}.panel-body,.subpanel{padding:14px 12px}.panel-title{padding:12px}.captions-toolbar{padding:12px}.caption-list{padding:10px}
body.editing{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
body.editing #export{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:10;min-height:54px;font-size:21px;margin:0;box-shadow:0 6px 18px #0005}
body.editing #toast{bottom:calc(84px + env(safe-area-inset-bottom))}
#toast{left:12px;right:12px;transform:none;max-width:none}
}
