.editor-page{background:#f4f6f9;overflow-x:hidden}.editor-header{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 23px;background:white;border-bottom:1px solid var(--line)}.editor-header .brand{font-size:24px}.editor-header .brand img{width:28px;height:28px}.editor-brand{display:flex;align-items:center;gap:16px;min-width:0}.editor-divider{width:1px;height:25px;background:var(--line)}#project-name{border:1px solid transparent;border-radius:5px;width:185px;min-width:0;padding:7px 9px;background:transparent;color:var(--ink);font-size:12px;font-weight:500}#project-name:focus,#project-name:hover{border-color:var(--line);outline-color:var(--blue)}.save-indicator{color:var(--muted);font-size:9px;white-space:nowrap}.editor-actions{display:flex;align-items:center;gap:12px}.editor-actions .language{margin-right:8px}.studio{display:grid;grid-template-columns:220px minmax(320px,1fr) 266px;grid-template-rows:minmax(350px,1fr) 260px;grid-template-areas:'library preview inspector' 'library timeline inspector';height:calc(100dvh - 103px);min-height:675px;background:#f5f7fb}.media-panel{grid-area:library;border-right:1px solid var(--line);background:#fff;padding:24px 15px;overflow:auto;min-width:0}.inspector{grid-area:inspector;background:#fff;border-left:1px solid var(--line);overflow:auto;padding:0 18px 22px;min-width:0}.preview-panel{grid-area:preview;display:flex;flex-direction:column;min-width:0;min-height:0;padding:0 27px 15px;background:radial-gradient(#eef2f8,#f5f7fb)}.timeline-panel{grid-area:timeline;min-width:0;background:#fff;border-top:1px solid var(--line)}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.panel-heading h1{font-size:13px;letter-spacing:-.2px;line-height:1.5;margin:0}.panel-mark{color:#95a4ba;font-size:18px}.media-panel .btn{font-size:11px;min-height:39px;padding:10px;gap:8px}.import-note{font-size:9px;color:#7b889d;text-align:center;line-height:1.8;margin:11px 0 22px}.library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.library-empty{grid-column:1/-1;padding:24px 11px;border:1px dashed #c8d3e6;border-radius:6px;text-align:center;line-height:1.8;color:#62718c;font-size:11px}.library-empty strong{font-weight:500}.library-empty p{font-size:9px;margin:10px 0 0}.empty-symbol{font-size:27px;display:block;color:var(--blue);margin-bottom:10px}.media-card{min-width:0;border:1px solid var(--line);border-radius:5px;overflow:hidden;position:relative;background:#fff}.media-thumb{width:100%;height:62px;object-fit:cover;display:grid;place-items:center;font-size:22px;background:#e9effb;color:#7a9bdc}.media-card-name{font-size:9px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:7px 6px 3px}.media-type{font-size:8px;color:var(--muted);margin:0 6px 6px}.media-add{position:absolute;right:4px;top:39px;background:#fff;color:var(--blue);border:1px solid #cad9f5;border-radius:4px;font-size:18px;line-height:1;width:22px;height:22px;padding:0}.sample-button{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #dce5f7;background:#f6f9ff;border-radius:6px;width:100%;margin-top:22px;font-size:9px;text-align:left;line-height:1.5}.sample-button img{width:44px;height:32px;object-fit:cover;border-radius:3px}.sample-button>span:last-child{margin-left:auto;font-size:17px;color:var(--blue)}.browser-note{font-size:9px;color:var(--muted);line-height:1.9;margin-top:23px}.preview-bar{display:flex;justify-content:space-between;align-items:center;min-height:56px;gap:15px}.preview-label{font-size:8px;letter-spacing:1.7px;color:#7889a3;white-space:nowrap}.preview-bar select{max-width:145px;border:1px solid #d9e1ee;background:#fff;padding:6px 8px;border-radius:5px;font-size:10px;color:#556580}.canvas-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;padding:3px;overflow:hidden}#preview{max-width:100%;max-height:100%;width:auto;height:auto;aspect-ratio:16/9;object-fit:contain;background:#162530;box-shadow:0 4px 22px #26395d14}.canvas-empty{position:absolute;inset:3px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #ccd7ea;border-radius:8px;padding:24px;text-align:center}.canvas-empty img{width:45px;height:45px;margin-bottom:22px;border-radius:12px;box-shadow:0 9px 20px #1555ff20}.canvas-empty h2{font-size:23px;letter-spacing:-.7px;line-height:1.25;margin-bottom:12px}.canvas-empty p{font-size:11px;color:var(--muted);max-width:270px;margin-bottom:22px}.canvas-empty .btn{font-size:11px;min-height:38px;padding:10px 16px}.player-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:15px}.player-time{font-size:10px;font-variant-numeric:tabular-nums;display:flex;gap:6px;color:var(--muted)}#current-time{color:var(--ink);font-weight:550}.play-buttons{display:flex;align-items:center;gap:8px}.icon-button,.play-button{display:grid;place-items:center;padding:0;border:0;width:28px;height:28px;background:transparent;font-size:15px}.play-button{background:var(--blue);color:#fff;border-radius:7px;width:34px;height:30px;font-size:11px}.privacy-chip{display:flex;gap:5px;align-items:center;font-size:8px;color:#6e829e}.privacy-chip>span:first-child{font-size:13px;color:var(--blue)}.seek-bar{width:100%;height:3px;accent-color:var(--blue);margin:15px 0 0}.inspector-tabs{display:flex;border-bottom:1px solid var(--line);height:56px;gap:18px;margin-bottom:19px}.inspector-tabs button{border:0;border-bottom:2px solid transparent;flex:1;background:transparent;color:var(--muted);font-size:11px;font-weight:500;padding:0 3px}.inspector-tabs button[aria-selected=true]{border-color:var(--blue);color:var(--blue)}#selection-empty{color:var(--muted);font-size:11px;line-height:1.8;padding:10px 0}fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.4}legend{font-size:10px;font-weight:500;max-width:215px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 0 5px}.field-group{border-bottom:1px solid var(--line);padding:15px 0}.field-group h2{font-size:11px;letter-spacing:0;font-weight:550;margin-bottom:12px}.field-group label,#export-options label{font-size:10px;display:block;color:var(--muted);margin:8px 0 6px;font-weight:400}.field-group input:not([type=range]),.field-group select,.field-group textarea,#export-options select{border:1px solid #d7e0ed;border-radius:5px;padding:8px;font-size:11px;background:#fff;color:var(--ink);width:100%}.field-group textarea{resize:vertical;line-height:1.6}.field-group input[type=range]{width:100%;accent-color:var(--blue)}.field-group input[type=color]{padding:3px;height:33px}.trim-fields,.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field-note{color:#8390a4;font-size:9px;line-height:1.8;margin:12px 0}.subtle-button{border:0;background:none;padding:8px 0;font-size:10px;color:var(--blue);text-decoration:underline}.danger{color:#b34250}.field-group .btn{font-size:10px;min-height:35px;margin-top:9px;padding:9px}.field-group:last-child{border:0}#clip-volume-value{float:right;font-weight:400}#music-name{font-size:10px;overflow-wrap:anywhere}.timeline-toolbar{height:48px;display:flex;align-items:center;gap:14px;padding:0 18px;border-bottom:1px solid var(--line)}.timeline-toolbar h2{margin:0;font-size:11px;letter-spacing:0;font-weight:550;min-width:65px}.timeline-tools{display:flex;align-items:center;gap:2px}.tool-button{border:1px solid transparent;border-radius:5px;background:transparent;display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 6px;min-width:27px;height:28px;font-size:16px}.tool-button:hover{background:#edf3ff;border-color:#dce5f9}.tool-button span+span{font-size:10px}.tool-divider{height:17px;width:1px;background:var(--line);margin:0 5px}.zoom-control{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:12px;color:var(--muted)}.zoom-control input{width:65px;accent-color:var(--blue)}.timeline-scroll{overflow:auto;position:relative;height:175px;padding:0 18px}.timeline-scroll::-webkit-scrollbar{height:6px}.timeline-scroll::-webkit-scrollbar-thumb{background:#c5d5ef;border-radius:4px}#timeline-content{position:relative;min-width:100%;height:165px;padding-top:32px}.ruler{position:absolute;left:0;top:0;right:0;height:28px;border-bottom:1px solid #e3e9f3;cursor:crosshair}.ruler-tick{position:absolute;bottom:0;width:1px;height:5px;background:#c6d3e7}.ruler-tick.major{height:8px}.ruler-tick span{position:absolute;left:3px;bottom:9px;color:#8595ad;font-size:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.clip-track{display:flex;align-items:stretch;gap:0;min-width:100%;height:56px;background:#f2f5fa;border-radius:4px}.timeline-clip{flex-shrink:0;min-width:3px;height:56px;position:relative;overflow:hidden;border:2px solid #99b6f1;border-radius:4px;background:#c6d8fb;text-align:left;padding:0;background-position:center;background-size:cover;cursor:pointer}.timeline-clip.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);z-index:2}.timeline-clip:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 10%,#142c4caa)}.clip-title{position:absolute;left:7px;right:7px;bottom:5px;font-size:9px;color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:1}.clip-duration{position:absolute;top:4px;right:5px;background:#fffE;color:#344569;font-size:8px;padding:1px 4px;border-radius:3px;z-index:1}.caption-track{position:relative;height:23px;min-width:100%;margin-top:7px;background:#f1f5ff;border-radius:4px}.caption-block{position:absolute;top:0;height:23px;border:1px solid #b9cef8;background:#e1eaff;color:#4566a5;padding:4px 8px;border-radius:4px;font-size:9px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.music-track{height:25px;min-width:100%;position:relative;border-radius:4px;background:#f0f6f4;margin-top:6px;color:#5a8c7c}.music-block{height:25px;border:1px solid #abcec1;background:repeating-linear-gradient(90deg,#d7ebe3 0 3px,#bfded1 3px 5px);border-radius:4px;font-size:9px;padding:5px 8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.track-empty{padding:6px 9px;font-size:9px;display:block;color:#8b9bae}.playhead{position:absolute;top:25px;z-index:4;height:138px;width:1.5px;background:var(--blue);pointer-events:none}.playhead>span{position:absolute;left:-4px;top:-5px;width:10px;height:10px;clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%);background:var(--blue)}.studio-status{display:flex;justify-content:space-between;align-items:start;gap:15px;border-top:1px solid var(--line);padding:8px 18px;font-size:8px;line-height:1.6;color:var(--muted);min-height:35px}#status{overflow-wrap:anywhere}.keyboard-note{white-space:nowrap;color:#90a0b7}.studio-footer{display:flex;align-items:center;justify-content:center;gap:24px;height:31px;border-top:1px solid var(--line);font-size:9px;color:#8291a8;background:#fff}.studio-footer a:hover{color:var(--blue)}#drop-overlay{position:absolute;inset:0;background:#e8efffed;border:2px dashed var(--blue);display:grid;place-items:center;font-size:21px;color:var(--blue);border-radius:8px;z-index:10}.export-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:10px;background:var(--pale);color:var(--blue);font-size:28px;margin-bottom:25px}#export-dialog{width:465px;padding:34px}#export-title{font-size:28px;letter-spacing:-.9px;line-height:1.15;padding-right:8px}#export-dialog>p{font-size:12px}#export-options{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px;margin:25px 0}#export-options .field-note{grid-column:1/-1;margin:4px 0 0}#export-progress{width:100%;accent-color:var(--blue);height:10px;margin-top:22px}#export-progress-text{font-size:12px;font-variant-numeric:tabular-nums;color:var(--blue)}#export-error{color:#ba3f56;font-size:12px}.exporting .studio,.exporting .editor-header{pointer-events:none;user-select:none;opacity:.6}html[lang=ja] .panel-heading h1{font-size:13px}html[lang=ja] .canvas-empty h2{font-size:23px}html[lang=ja] .timeline-toolbar h2{font-size:11px}html[lang=ja] .field-group h2{font-size:11px}html[lang=ja] #export-title{font-size:26px}
@media(max-width:1200px){.studio{grid-template-columns:185px minmax(300px,1fr) 230px}.save-indicator{display:none}.editor-brand{gap:12px}.preview-panel{padding-inline:18px}.privacy-chip{display:none}.timeline-toolbar{gap:7px;padding-inline:12px}.timeline-toolbar h2{min-width:0}.tool-button{min-width:25px;padding-inline:4px}.zoom-control input{width:45px}.keyboard-note{display:none}.inspector{padding-inline:14px}.editor-header{padding-inline:18px}#project-name{width:165px}.timeline-tools{gap:0}}
@media(max-width:900px){.studio{grid-template-columns:165px minmax(260px,1fr) 205px}.editor-header .brand{font-size:21px}.editor-header .brand img{width:25px;height:25px}.editor-header{padding-inline:14px;height:65px}.editor-actions{gap:7px}.editor-actions .language{margin-right:2px;font-size:10px}.editor-actions .btn{font-size:10px;padding:8px 11px;min-height:35px}.editor-brand{gap:8px}#project-name{width:135px;font-size:10px}.media-panel{padding:19px 10px}.library{grid-template-columns:1fr 1fr;gap:6px}.media-thumb{height:50px}.media-add{top:28px}.sample-button{flex-wrap:wrap;gap:6px}.sample-button img{width:33px;height:25px}.preview-label{letter-spacing:.7px;font-size:7px}.preview-bar select{font-size:9px;width:108px}.preview-panel{padding-inline:12px}.zoom-control{display:none}.timeline-toolbar h2{display:none}.timeline-tools{justify-content:space-between;width:100%}.inspector{padding-inline:12px}.studio{height:calc(100dvh - 96px)}}
@media(max-width:700px){.editor-header{height:auto;min-height:106px;flex-wrap:wrap;gap:9px;padding:12px 15px}.editor-brand{width:100%;gap:12px}.editor-header .brand{font-size:22px}.editor-header .brand img{width:26px;height:26px}#project-name{flex:1;width:100%;font-size:11px}.editor-actions{width:100%;justify-content:flex-end;gap:9px}.editor-actions .language{margin-right:auto;font-size:11px}.editor-actions .btn{font-size:10px;min-height:33px}.studio{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:'preview' 'timeline' 'library' 'inspector'}.preview-panel{height:380px;padding:0 17px 15px}.preview-bar{min-height:45px}.preview-label{font-size:8px;letter-spacing:1px}.preview-bar select{width:auto;max-width:150px;font-size:10px}.canvas-empty h2{font-size:23px}.canvas-empty img{width:38px;height:38px;margin-bottom:16px}.canvas-empty .btn{min-height:33px;padding:8px 14px}.canvas-empty p{margin-bottom:16px}.timeline-panel{min-height:239px}.timeline-toolbar{height:45px;padding-inline:15px}.timeline-toolbar h2{display:block;font-size:10px}.timeline-tools{width:auto;margin-left:auto;gap:1px}.tool-button{min-width:25px;padding:4px;font-size:16px}.tool-button span+span{font-size:9px}.tool-divider{margin-inline:3px}.timeline-scroll{height:168px;padding-inline:16px}.studio-status{padding:7px 16px;font-size:9px}.media-panel{border:0;border-top:1px solid var(--line);padding:23px 18px;display:grid;grid-template-columns:1fr 1fr;gap:12px 15px;overflow:visible}.panel-heading{grid-column:1/-1;margin:0 0 4px}.media-panel .btn{font-size:11px}.import-note{font-size:9px;text-align:left;margin:0}.library{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:6px;gap:10px}.library-empty{padding:16px}.library-empty .empty-symbol{display:none}.media-thumb{height:65px}.media-add{top:42px}.sample-button{margin-top:4px;flex-wrap:nowrap;width:100%}.sample-button img{width:36px;height:26px}.browser-note{margin:6px 0 0;font-size:9px}.inspector{border:0;border-top:1px solid var(--line);padding:0 18px 25px;overflow:visible}.inspector-tabs{height:48px}.field-group{padding:14px 0}.field-group label{font-size:11px}.field-group input:not([type=range]),.field-group select,.field-group textarea{font-size:14px;min-height:39px}.field-group input[type=color]{height:39px}.field-note{font-size:11px}.field-group h2{font-size:12px}.subtle-button{font-size:11px}.studio-footer{gap:15px;font-size:8px;height:40px}.preview-panel:has(#preview[style*="406 / 720"]){height:470px}.canvas-empty{padding:20px}#export-dialog{padding:28px}#export-title{font-size:26px}.studio .btn{border-radius:5px}html[lang=ja] .canvas-empty h2{font-size:22px}html[lang=ja] .field-group h2{font-size:12px}}
