@charset "UTF-8";
:root{color-scheme:light;--bg:#f8f9fb;--ink:#252d3b;--muted:#7e8591;--line:#e8eaf0;--orange:#ec6a46;--orange-dark:#b54728;--peach:#fff3ed;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,a{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #5185c3;outline-offset:5px}[hidden]{display:none!important}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.tiny{font-size:11px}.accent{color:var(--orange)}
.site-header{height:88px;padding:0 5.5%;display:flex;align-items:center;gap:70px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:750;letter-spacing:-1.4px}.brand-dot{color:var(--orange)}.brand-icon{width:34px;height:34px;border-radius:10px;background:var(--orange);display:grid;place-items:center}.brand-icon svg{width:27px;height:27px;stroke:white;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}.brand-icon .play-mark{fill:white;stroke:none}.site-header nav{align-self:stretch;display:flex;align-items:stretch;gap:31px;font-size:12px}.site-header nav>a{display:flex;align-items:center;border-bottom:2px solid var(--orange);padding-top:2px;font-weight:650}.text-button{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:8px;color:#777e89;font-size:12px}.text-button .icon{width:14px;height:14px}.local-badge{margin-left:auto;display:flex;align-items:center;gap:8px;color:#64746d;font-size:11px;background:#f2f7f3;padding:9px 13px;border-radius:30px}.local-badge>span{width:6px;height:6px;background:#6f967a;border-radius:50%}
main{max-width:1180px;margin:0 auto;padding:51px 30px 0}.hero{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:36px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#8b909a;margin:0 0 15px;display:flex;align-items:center;gap:8px}.eyebrow>span{width:17px;height:2px;background:var(--orange)}h1{font-size:37px;line-height:1.5;letter-spacing:-1.5px;margin:0 0 10px;font-weight:750}.mobile-break{display:none}.hero-copy{font-size:13px;color:#7b828d;line-height:1.9;margin:0}.hero-aside{display:flex;gap:13px;align-items:center;padding-bottom:5px}.hero-aside>.icon{width:37px;height:37px;padding:9px;border-radius:12px;background:#edf2ee;color:#6c8875}.hero-aside strong{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.hero-aside span{color:#9197a0;font-size:10px}
.converter{display:grid;grid-template-columns:1.14fr 1fr;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 8px 32px #26304304;overflow:hidden}.source-panel{padding:28px 30px 23px}.settings-panel{padding:28px 30px 23px;border-left:1px solid var(--line);background:#fff}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:10px}h2{margin:0;font-size:15px;letter-spacing:.1px;font-weight:650}.section-heading h2{display:flex;align-items:center;gap:12px}.step{font-size:10px;color:#8a929d;background:#f2f4f7;border:1px solid #eceef3;border-radius:6px;padding:5px 7px;letter-spacing:.5px}.dropzone{background:linear-gradient(140deg,#fcfcfd,#fafbfc);border:1.5px dashed #dbe0e8;border-radius:12px;min-height:325px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;transition:border-color .2s,background .2s}.dropzone.dragging{border-color:var(--orange);background:var(--peach)}.dropzone h3{margin:12px 0 7px;font-size:16px;font-weight:600;letter-spacing:.1px}.dropzone p{margin:0;color:#9197a2;font-size:11px}.choose-button{display:flex;align-items:center;gap:8px;margin-top:22px;background:#fff;border:1px solid #dce0e7;border-radius:7px;padding:10px 19px;font-weight:550;font-size:12px;box-shadow:0 2px 2px #222b3a04}.choose-button:hover{border-color:var(--orange);color:var(--orange-dark)}.choose-button .icon{width:15px;height:15px}.accepted{font-size:10px;color:#a0a6b0;letter-spacing:.5px;margin-top:16px}.file-art{height:91px;width:170px;position:relative;margin-top:6px}.art-file{position:absolute;width:62px;height:79px;top:3px;border-radius:9px;box-shadow:0 6px 14px #33394708;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px}.art-file .icon{width:26px;height:26px}.art-file span{font-size:8px;letter-spacing:1px;font-weight:650}.art-back{left:18px;transform:rotate(-12deg);background:#fff;border:1px solid #dce2eb;color:#9ba6b8}.art-front{right:14px;transform:rotate(10deg);background:#fff3eb;border:1px solid #f2c8b7;color:var(--orange)}.art-arrow{position:absolute;top:33px;left:70px;z-index:1;background:white;border:1px solid #edf0f3;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;color:#9aa4b0}.art-arrow .icon{width:15px;height:15px}.art-dot{position:absolute;width:4px;height:4px;border-radius:50%;background:#e0b89e}.dot-one{left:0;top:35px}.dot-two{right:0;top:8px;background:#ccd4df}
.source-bottom{display:flex;justify-content:space-between;align-items:center;margin:17px 0 22px;font-size:10px;gap:12px}.source-bottom>span{color:#8d96a1;display:flex;align-items:center;gap:5px}.source-bottom .icon{width:12px;height:12px}.sample-button{border:0;background:none;padding:0;font-size:11px;color:#6c7789}.sample-button:hover{text-decoration:underline}.sample-button>span{margin-left:4px;color:#a2aab6}.source-footnote{border-top:1px solid #f0f1f4;padding-top:19px;display:flex;gap:11px;align-items:center;color:#828b98}.source-footnote>.icon{width:28px;height:28px;padding:3px;color:#a5adba}.source-footnote p{font-size:10px;margin:0;line-height:1.9}.source-footnote p span{color:#a0a6b0}
fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}legend{font-size:12px;font-weight:600;padding:0;margin-bottom:12px}.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.format-option{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;border:1px solid #e4e7ed;border-radius:8px;min-height:78px;padding:11px 8px;cursor:pointer;transition:background .2s,border-color .2s}.format-option:has(input:checked){border-color:var(--orange);background:#fff7f2;box-shadow:0 0 0 1px #ec6a460a}.format-option:has(input:focus-visible),.quality-grid label:has(input:focus-visible){outline:3px solid #5185c3;outline-offset:3px}.format-option input,.quality-grid input{position:absolute;opacity:0;width:1px;height:1px}.format-name{font-size:16px;font-weight:650;display:flex;gap:4px;align-items:center;flex-wrap:wrap}.format-name small{font-size:7px;font-weight:500;letter-spacing:-.3px;color:#bc5c3c;position:absolute;top:-7px;right:5px;background:#fff0e6;padding:2px 4px;border-radius:4px}.format-option:has(input:checked) .format-name{color:var(--orange-dark)}.format-caption{font-size:8px;white-space:nowrap;color:#9a9faa;letter-spacing:-.25px}.format-option:has(input:checked) .format-caption{color:#b6826c}.quality-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;background:#f5f6f8;padding:4px;border-radius:9px}.quality-grid label{position:relative;cursor:pointer;border-radius:6px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 2px;border:1px solid transparent}.quality-grid label:has(input:checked){background:#fff;border-color:#e8eaf0;box-shadow:0 2px 4px #30384508}.quality-grid label span{font-size:12px;font-weight:600}.quality-grid small{font-size:9px;color:#959ca6}.quality-description{font-size:10px;color:#9198a2;line-height:1.7;min-height:34px;margin:11px 0 0}.output-summary{margin-top:4px;display:grid;grid-template-columns:1fr auto;gap:10px;border-top:1px solid #edf0f3;padding-top:16px;font-size:10px;color:#929aa6}.output-summary strong{color:#4e5868;font-weight:550;font-size:11px}.output-summary strong span{color:#bdc1c8;padding:0 4px}.output-summary>#codec-label{grid-column:2;text-align:right;font-size:9px;letter-spacing:.4px;margin-top:-4px;color:#a4aab4}.convert-button{margin-top:19px;width:100%;border:0;border-radius:8px;padding:15px 20px;display:flex;align-items:center;justify-content:center;gap:15px;background:var(--orange);color:white;box-shadow:0 4px 8px #ec6a4617;font-size:13px;font-weight:600;transition:background .2s,transform .2s}.convert-button:hover:not(:disabled){background:#df5b36;transform:translateY(-1px)}.convert-button:disabled{background:#f5c9b9;box-shadow:none;color:#fff}.convert-button .icon{width:17px;height:17px}.convert-hint{font-size:9px;text-align:center;margin:11px 0 0;color:#a1a7b1;line-height:1.6}fieldset:disabled label{cursor:not-allowed;opacity:.65}
.selected-file{border:1px solid var(--line);border-radius:12px;overflow:hidden}.preview-wrap{height:254px;background:#17272a;position:relative}.preview-wrap video{width:100%;height:100%;object-fit:contain;display:block}.preview-label{position:absolute;top:12px;left:12px;background:#ffffff20;border:1px solid #ffffff2c;color:#fff;font-size:8px;letter-spacing:1.6px;padding:5px 8px;border-radius:4px;pointer-events:none}.preview-unavailable{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#c0cdcf;font-size:12px}.preview-unavailable .icon{height:36px;width:36px;color:#748c92}.preview-unavailable small{color:#84999e;font-size:10px}.file-info{padding:15px;display:flex;align-items:center;gap:12px}.file-type{font-size:8px;letter-spacing:.4px;font-weight:650;color:#b76a4a;background:#fff0e7;padding:13px 6px;border-radius:6px;max-width:60px;overflow:hidden;text-overflow:ellipsis}.file-description{min-width:0;flex:1}.file-description strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.file-description span{font-size:10px;color:#939aa4;display:block;margin-top:6px}.icon-button{border:0;background:transparent;width:30px;height:30px;display:grid;place-items:center;color:#9ca3ad;border-radius:5px}.icon-button:hover{background:#f4f5f7;color:var(--ink)}.icon-button .icon{width:16px;height:16px}.source-details{font-size:10px;color:#87929e;border-top:1px solid #f2f3f5;padding:10px 15px;margin:0;background:#fafbfc;line-height:1.5}
.error-banner{padding:15px 18px;background:#fff0ed;border:1px solid #f4d2c9;color:#9b412d;border-radius:10px;margin-bottom:20px;font-size:13px;line-height:1.8}.status-card,.result-card{border:1px solid var(--line);border-radius:14px;background:white;padding:24px 30px;margin-top:22px}.status-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.status-top .eyebrow{margin-bottom:9px;font-size:8px}.status-top h2{font-size:15px}.cancel-button{background:white;border:1px solid #e1e5eb;border-radius:6px;font-size:11px;color:#7e8793;padding:8px 14px}.progress-track{height:5px;background:#f2f3f5;border-radius:10px;overflow:hidden;margin:20px 0 12px}.progress-track>div{width:0;height:100%;background:var(--orange);transition:width .3s;border-radius:10px}.progress-track.indeterminate>div{width:30%;animation:loading 1.5s ease-in-out infinite}.progress-info{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#929aa6;line-height:1.6}.progress-info #progress-text{white-space:nowrap}.result-card{border-color:#cbded0}.result-header{display:flex;align-items:center;gap:15px}.success-icon{width:43px;height:43px;background:#edf5ef;color:#5a8866;border-radius:50%;display:grid;place-items:center}.result-header .eyebrow{font-size:8px;color:#7a9783;margin-bottom:6px}.result-header h2{font-size:17px}.result-header p:last-child{font-size:11px;color:#8b949e;margin:8px 0 0;overflow-wrap:anywhere}.download-button{margin-left:auto;display:flex;align-items:center;gap:10px;background:#283d34;color:white;border-radius:7px;padding:13px 18px;font-size:12px;white-space:nowrap}.download-button:hover{background:#345242}.download-button .icon{width:16px;height:16px}#output-preview{display:block;width:100%;max-height:360px;border-radius:8px;margin-top:20px;background:#17272a}.details-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:25px 3px 0}details{font-size:11px;color:#8a929f}summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:4px 0}summary::-webkit-details-marker{display:none}summary:before{content:'+';font-size:15px;color:#9fa7b4}details[open] summary:before{content:'−'}details p{line-height:1.9;color:#8b939e;font-size:11px}footer{max-width:1120px;margin:39px auto 0;border-top:1px solid #e6e9ee;display:flex;align-items:center;gap:16px;padding:24px 0 28px;color:#a0a7b2;font-size:10px}.footer-brand{font-size:17px;font-weight:650;letter-spacing:-1px;color:#78818f}.footer-end{margin-left:auto;font-size:8px;letter-spacing:1px}.version{margin-left:15px;padding:4px 6px;border:1px solid #e1e5eb;border-radius:4px;font-size:7px;color:#a6acb6}dialog{width:min(520px,calc(100% - 32px));border:1px solid #e5e9ef;border-radius:16px;padding:28px;color:var(--ink);box-shadow:0 30px 100px #1f2c4140}dialog::backdrop{background:#17273b55;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-top h2{font-size:19px}dialog p{line-height:1.9;font-size:12px;color:#707c8c}.license-link{display:inline-block;margin-top:10px;color:#a55c3d;font-size:11px;text-decoration:underline}
@keyframes loading{0%{transform:translateX(-100%)}100%{transform:translateX(430%)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.progress-track.indeterminate>div{width:100%;opacity:.4}}
@media(min-width:1400px){main{padding-top:65px}.hero{margin-bottom:43px}.site-header{padding:0 max(5.5%,calc((100% - 1250px)/2))}.converter{min-height:510px}}
@media(max-width:1000px){.site-header{gap:35px;padding:0 30px}.local-badge{font-size:9px}.hero-aside{display:none}.source-panel,.settings-panel{padding:24px 22px}.format-grid{gap:5px}.format-option{padding:10px 6px}.format-caption{font-size:7px}.section-heading>.tiny{font-size:9px}footer{margin:30px 30px 0}.source-bottom{font-size:9px}.source-bottom .sample-button{font-size:10px}}
@media(max-width:760px){.site-header{height:72px;padding:0 22px;gap:24px}.brand{font-size:26px}.brand-icon{width:30px;height:30px}.site-header nav{margin-left:auto;gap:15px}.site-header nav>a{display:none}.text-button{font-size:10px}.local-badge{display:none}main{padding:32px 18px 0}.hero{margin-bottom:25px}h1{font-size:30px;letter-spacing:-1px}.hero-copy{font-size:11px}.eyebrow{font-size:8px;margin-bottom:12px}.converter{grid-template-columns:1fr}.source-panel,.settings-panel{padding:22px}.settings-panel{border-left:0;border-top:1px solid var(--line)}.dropzone{min-height:300px}.source-footnote{display:none}.source-bottom{margin-bottom:0}.format-grid{gap:7px}.format-caption{font-size:8px}.format-option{padding:13px 8px}.format-name{font-size:17px}.format-name small{font-size:8px}.quality-description{min-height:0}.section-heading>.tiny{font-size:10px}.details-row{grid-template-columns:1fr;gap:8px}.status-card,.result-card{padding:20px}.result-header{flex-wrap:wrap;gap:12px}.result-header>div{flex:1;min-width:0}.download-button{width:100%;margin-top:10px;justify-content:center}.result-header p:last-child{font-size:10px}.status-top h2{font-size:13px}.cancel-button{font-size:10px;padding:7px 9px}.progress-info{font-size:9px}footer{margin:26px 20px 0;padding:20px 0;gap:10px;flex-wrap:wrap}.footer-end{width:100%;margin-left:0;margin-top:5px}.source-bottom{font-size:9px}.preview-wrap{height:230px}}
/* Keep supporting copy readable at laptop sizes. */
.format-caption{font-size:9px;color:#717b8a}.format-option:has(input:checked) .format-caption{color:#9a6047}.quality-grid small{font-size:10px;color:#737d8c}.quality-description{color:#747e8d;font-size:11px}.source-bottom>span,.source-footnote p,.source-footnote p span,.hero-copy,.convert-hint,.file-description span,.source-details{color:#75808d}.source-bottom{font-size:11px}.source-footnote p{font-size:11px}.convert-hint{font-size:10px}.preview-label{left:auto;right:12px}.accepted{color:#7b8695}.hero-aside span{color:#7c8792}.format-name small{font-size:8px}@media(max-width:1000px){.format-caption{font-size:8px}}@media(max-width:760px){.format-caption{font-size:9px}}

/* Keep the local-only promise visible before a video is selected, on every screen size. */
.hero{margin-bottom:26px}
.privacy-notice{display:flex;align-items:center;gap:18px;margin-bottom:26px;padding:22px 26px;border:1px solid #bed4c6;border-left:4px solid #4e7b60;border-radius:12px;background:#edf6ef;color:#244d35}
.privacy-notice-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:12px;background:#dcecdf}
.privacy-notice-icon .icon{width:25px;height:25px;stroke-width:1.8}
.privacy-notice h2{font-size:20px;font-weight:700;line-height:1.6;letter-spacing:0}
.privacy-notice p{margin:5px 0 0;font-size:13px;line-height:1.8;color:#466450}
.source-bottom{flex-wrap:wrap}
.source-bottom .source-privacy{padding:8px 10px;border-radius:6px;background:#edf6ef;color:#315e41;font-size:11px;font-weight:600;line-height:1.6}
.source-privacy .icon{width:15px;height:15px}
@media(max-width:760px){.privacy-notice{align-items:flex-start;gap:12px;padding:18px 16px;margin-bottom:20px}.privacy-notice-icon{width:34px;height:34px;border-radius:9px}.privacy-notice-icon .icon{width:20px;height:20px}.privacy-notice h2{font-size:17px;line-height:1.7}.privacy-notice p{font-size:12px;margin-top:7px}.source-bottom{gap:12px}}
