:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{color:#f8f5ee;background:#0e0d0b;margin:0;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic,sans-serif}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{max-width:560px;padding:26px 16px calc(50px + env(safe-area-inset-bottom));margin:0 auto}.hero{padding:30px 8px 20px}.hero h1{letter-spacing:-.03em;margin:6px 0 14px;font-size:38px;line-height:1}.hero p{color:#b9b2a4;margin:0;line-height:1.6}.hero .eyebrow{color:#ffb000;letter-spacing:.16em;font-size:12px;font-weight:900}.card{background:#171512;border:1px solid #2e2a23;border-radius:22px;margin-top:14px;padding:20px;box-shadow:0 12px 40px #0000002e}.card h2{margin:0 0 14px;font-size:17px}.spaced{margin-top:24px!important}.upload-box{cursor:pointer;text-align:center;background:#11100e;border:1.5px dashed #5b5245;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:138px;padding:18px;display:flex}.upload-box input{display:none}.upload-box span{font-weight:800}.upload-box small{color:#8f877a}.ok{color:#6ce0a8;margin:12px 0 0;font-size:14px}.choice-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.choice,.pill{color:#eee9df;background:#11100e;border:1px solid #3b362e;border-radius:14px;padding:15px 10px;font-weight:800}.choice.active,.pill.active{color:#ffce66;background:#30250d;border-color:#ffb000}.duration-row{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.field{margin-top:14px;display:block}.field span{color:#aaa193;margin-bottom:7px;font-size:13px;display:block}.field input{color:#fff;background:#0f0e0c;border:1px solid #3b362e;border-radius:13px;outline:none;width:100%;padding:14px}.field input:focus{border-color:#ffb000}.preview-card{overflow:hidden}.player-wrap{background:#000;border-radius:20px;width:min(72%,330px);margin:0 auto;overflow:hidden}.action-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:10;background:#171512eb;position:sticky;bottom:8px}.generate{color:#15110a;background:#ffb000;border:0;border-radius:16px;width:100%;padding:17px;font-size:17px;font-weight:900}.generate:disabled{opacity:.42}.progress{background:#302b24;border-radius:999px;height:7px;margin-top:12px;overflow:hidden}.progress div{background:#ffb000;height:100%;transition:width .25s}.error{color:#ff7d7d;font-size:14px}.done{margin-top:16px}.result-video{background:#000;border-radius:18px;width:66%;margin:10px auto;display:block}.save-link{text-align:center;color:#ffce66;padding:12px;font-weight:800;text-decoration:none;display:block}footer{color:#777064;text-align:center;padding:28px 20px 0;font-size:12px;line-height:1.6}.notice{background:#201a0c;border:1px solid #51431e;border-radius:18px;flex-direction:column;gap:5px;margin:0 0 14px;padding:14px 16px;display:flex}.notice strong{color:#ffce66;font-size:14px}.notice span,.hint{color:#aaa193;font-size:12px;line-height:1.55}.selection-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.text-button{color:#ffce66;background:0 0;border:0;padding:8px;font-weight:800}.cancel-button{color:#ffb0b0;background:#2a1414;border:1px solid #8a3f3f;border-radius:14px;width:100%;margin-top:12px;padding:14px;font-weight:900}.cancel-note{text-align:center;color:#81786c;margin:7px 0 0;font-size:11px}.back-editor-button{color:#f8f5ee;background:#11100e;border:1px solid #5b5245;border-radius:14px;width:100%;margin-top:14px;padding:14px;font-weight:900}.error-box{color:#ffb0b0;background:#241313;border:1px solid #5b2d2d;border-radius:14px;margin-top:14px;padding:14px}.error-box p{margin:7px 0 0;font-size:13px;line-height:1.5}.size{color:#777064;text-align:center;font-size:12px}.style-grid{grid-template-columns:1fr;gap:10px;display:grid}.style-choice{color:#eee9df;text-align:left;background:#11100e;border:1px solid #3b362e;border-radius:16px;flex-direction:column;gap:5px;width:100%;padding:15px 16px;display:flex}.style-choice strong{font-size:15px}.style-choice span{color:#8f877a;font-size:11px;line-height:1.45}.style-choice.active{background:#30250d;border-color:#ffb000;box-shadow:inset 0 0 0 1px #ffb0002e}.style-choice.active strong{color:#ffce66}.style-choice.active span{color:#d4c6aa}.auto-style-note{color:#aaa193;margin:10px 2px 0;font-size:12px;line-height:1.55}.preview-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.preview-heading h2{margin:0}.auto-badge{color:#ffce66;letter-spacing:.08em;background:#2a210c;border:1px solid #6b5319;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.effect-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.effect-choice{color:#eee9df;text-align:left;background:#11100e;border:1px solid #3b362e;border-radius:15px;flex-direction:column;gap:5px;padding:14px 12px;display:flex}.effect-choice strong{font-size:14px}.effect-choice span{color:#8f877a;font-size:10px;line-height:1.4}.effect-choice.active{background:#30250d;border-color:#ffb000}.effect-choice.active strong{color:#ffce66}.effect-choice.flashy.active{box-shadow:inset 0 0 0 1px #ffb00040,0 0 20px #ffb00014}.style-choice.full{background:linear-gradient(135deg,#1b170d,#141210);border-color:#4c3d19}.style-choice.full.active{border-color:#ffb000;box-shadow:inset 0 0 0 1px #ffb0004d,0 8px 26px #ffb00014}.effect-grid{grid-template-columns:repeat(3,1fr)}.effect-choice{min-width:0}.effect-choice.max.active{background:#3a1907;border-color:#ff8a00;box-shadow:inset 0 0 0 1px #ff8a0047,0 0 24px #ff8a001a}.effect-choice.max.active strong{color:#ffba65}.text-style-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.text-style-choice{color:#eee9df;text-align:left;background:#11100e;border:1px solid #3b362e;border-radius:15px;flex-direction:column;gap:4px;min-width:0;padding:13px 12px;display:flex}.text-style-choice strong{font-size:14px}.text-style-choice span{color:#8f877a;font-size:10px;line-height:1.4}.text-style-choice.active{background:#30250d;border-color:#ffb000}.text-style-choice.cute.active{background:#301722;border-color:#ff8db8;box-shadow:0 0 18px #ff8db814}.text-style-choice.cute.active strong{color:#ffc3da}.text-style-choice.flashy.active{background:#321d08;border-color:#ff9b21}.text-style-choice.flashy.active strong{color:#ffc46e}.text-style-choice.chic.active{background:#242019;border-color:#d8c6a5}.text-style-choice.chic.active strong{color:#f2e6d1;letter-spacing:.08em}.text-style-note{color:#8f877a;margin:9px 2px 0;font-size:11px;line-height:1.5}.caption-editor{border:1px solid #3b362e;border-radius:13px;min-width:0;margin:20px 0 0;padding:0 12px 12px}.caption-editor legend{color:#ebe0cc;padding:0 6px}.caption-editor input,.caption-editor select{min-width:0;min-height:46px;font-size:16px}.caption-editor select{color:#fff;background:#0f0e0c;border:1px solid #3b362e;border-radius:13px;width:100%;padding:8px 12px}.caption-timing{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.caption-actions{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px;display:grid}.caption-actions button,.add-caption{color:#fff4dc;background:#27221a;border:1px solid #55452b;border-radius:10px;min-height:44px;padding:8px 4px;font-weight:700}.add-caption{width:100%;min-height:50px;margin-top:16px;font-size:16px}.caption-actions button:disabled,.add-caption:disabled{opacity:.45}
