body.le-open{overflow:hidden}
.le-back{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:24px}
.le-back[hidden]{display:none}
.le-box{width:100%;max-width:1120px;height:100%;max-height:900px;display:flex;flex-direction:column;background:#313233;border:2px solid #1e1e1f;color:#fff;font:14px/1.4 "Noto Sans",system-ui,sans-serif}
.le-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 16px 16px;background:#3c8527;border-bottom:2px solid #1e1e1f;box-shadow:inset 0 -6px 0 #1d4d13}
.le-title{font-family:"Minecraft Ten",var(--pixel,"Noto Sans"),sans-serif;font-weight:400;font-size:19px;letter-spacing:.6px;line-height:1.1;word-break:break-word}
.le-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:12px;padding:14px 16px 16px}
.le-body>*{flex:0 0 auto}

.le-ib{--oe:#000;--f:#d0d1d4;--r:#e3e3e5;--l:#58585a;--hf:#b1b2b5;--hr:#e0e0e1;--pf:#b1b2b5;--pr:#c1c1c4;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:42px;height:42px;padding:0 9px;margin:2px 2px 8px;color:#1e1e1f;font:inherit;font-weight:700;font-size:14px;line-height:1;background:var(--f);border:0;border-top:2px solid var(--r);border-bottom:6px solid var(--l);border-radius:0;box-shadow:inset 2px 0 0 var(--r),inset -2px 0 0 var(--r),inset 0 -2px 0 var(--r),0 0 0 2px var(--oe);cursor:pointer;flex:0 0 auto;white-space:nowrap;box-sizing:border-box}
.le-ib:hover{--f:var(--hf);--r:var(--hr)}
.le-ib:active:not(:disabled){--f:var(--pf);--r:var(--pr);border-bottom-width:3px;transform:translateY(3px);margin-bottom:8px}
.le-ib svg{width:20px;height:20px;fill:currentColor;pointer-events:none}
.le-ib svg.st{fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.le-ib svg *{pointer-events:none}
.le-ib.le-txt{padding:0 16px;font-size:15px}
.le-ib.le-playbtn{--oe:#1e1e1f;--f:#3c8527;--r:#639d52;--l:#1d4d13;--hf:#2a641c;--hr:#7fa277;--pf:#1d4d13;--pr:#4a7142;color:#fff;min-width:54px}
.le-ib.le-playbtn svg{width:24px;height:24px}
.le-head .le-ib.le-done{--oe:#1e1e1f;margin:2px 2px 6px;min-width:90px}
.le-ib.le-del{--oe:#1e1e1f;--f:#ca3636;--r:#d55e5e;--l:#ad1d1d;--hf:#c02d2d;--hr:#d98181;--pf:#ad1d1d;--pr:#bd4a4a;color:#fff}
.le-ib:disabled{--f:#8c8d90;--r:#a1a3a5;--l:#58585a;--oe:#1e1e1f;color:#48494a;cursor:default;transform:none}
.le-ib:disabled:hover{--f:#8c8d90;--r:#a1a3a5}

.le-note{padding:10px 14px;background:#48494a;border:2px solid #1e1e1f;border-left:6px solid #f2c94c;color:#e6e8eb;font-size:13px;line-height:1.45}
.le-note b{color:#fff}
.le-preview{padding:18px 14px;text-align:center;background:#1e1e1f;border:2px solid #1e1e1f}
.le-pline{font-size:26px;font-weight:700;line-height:1.3;color:#6d6e70;min-height:34px}
.le-pline .sung{color:#8fd47c}
.le-pline .now{color:#fff}
.le-pline .wait{color:#48494a}

.le-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.le-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.le-time{margin-left:6px;font-variant-numeric:tabular-nums;color:#b1b2b5;font-size:15px}
.le-time b{color:#fff}

.le-track{position:relative;overflow-x:auto;overflow-y:hidden;background:#1e1e1f;border:2px solid #1e1e1f;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.le-lane{position:relative;height:96px;min-width:100%;user-select:none;-webkit-user-select:none}
.le-ruler{position:absolute;left:0;right:0;top:0;height:22px;background:#262627;border-bottom:2px solid #313233;cursor:pointer;touch-action:pan-y}
.le-ruler span{position:absolute;top:3px;font-size:11px;color:#8a8b8d;padding-left:4px;border-left:1px solid #48494a;height:17px;font-variant-numeric:tabular-nums}
.le-wave{position:absolute;top:24px;height:70px;pointer-events:none}
.le-blocks{position:absolute;left:0;right:0;top:40px;height:40px}
.le-block{position:absolute;top:0;height:40px;background:#3c8527;border:2px solid #1e1e1f;overflow:hidden;cursor:grab;display:flex;align-items:stretch;touch-action:none;box-sizing:border-box}
.le-block span{flex:1;min-width:0;padding:0 6px;font-size:12px;font-weight:700;line-height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.le-block.gap{background:#48494a;color:#d0d1d4}
.le-block.cur{background:#52a535}
.le-block.gap.cur{background:#5a5b5c}
.le-block.sel{border-color:#fff}
.le-edge{flex:0 0 10px;cursor:ew-resize;background:rgba(0,0,0,.25)}
.le-block.sel .le-edge{background:#fff}
.le-head-line{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#ff5a5a;z-index:3;cursor:ew-resize;touch-action:none}
.le-head-line::before{content:"";position:absolute;top:0;bottom:0;left:-11px;width:24px}
.le-head-line i{position:absolute;top:0;left:-9px;width:20px;height:16px;background:#ff5a5a;clip-path:polygon(0 0,100% 0,50% 100%)}

.le-insp{padding:12px 14px;background:#48494a;border:2px solid #1e1e1f}
.le-tip{margin:0;color:#b1b2b5;font-size:13px}
.le-card{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.le-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#d0d1d4;font-weight:700}
.le-field.le-wide{flex:1 1 260px}
.le-tin,.le-text{font:inherit;font-weight:400;font-size:15px;color:#fff;background:#1a1a1b;border:2px solid #000;padding:8px 10px;border-radius:2px;width:100%;height:44px}
.le-tin{width:80px;text-align:center;font-variant-numeric:tabular-nums}
.le-tin:focus,.le-text:focus{outline:none;border-color:#8a8a8b}
.le-brk{flex:1 1 260px;display:flex;flex-direction:column;gap:2px}
.le-brk b{font-size:15px}
.le-brk span{color:#b1b2b5;font-size:13px}
.le-cardbtns{display:flex;gap:8px}

.le-lines{flex:1 1 auto;overflow:auto;min-height:80px;padding:8px;background:#262627;border:2px solid #1e1e1f;display:flex;flex-direction:column;gap:6px}
.le-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;font:inherit;font-size:15px;color:#fff;background:#48494a;border:2px solid #1e1e1f;padding:9px 12px;cursor:pointer;flex:0 0 auto}
.le-row:hover{background:#5a5b5c}
.le-row.gap{background:#313233;color:#b1b2b5;font-style:italic}
.le-row.cur{background:#3c8527}
.le-row.sel{border-color:#fff}
.le-rt{flex:0 0 42px;color:#d0d1d4;font-variant-numeric:tabular-nums;font-size:13px;font-style:normal}
.le-rx{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.le-empty{color:#8a8b8d;text-align:center;padding:20px}

@media(max-width:640px){
  .le-back{padding:8px}
  .le-body{padding:10px;gap:10px}
  .le-pline{font-size:19px}
  .le-preview{padding:12px 10px}
  .le-bar{justify-content:center}
  .le-time{width:100%;text-align:center;margin:2px 0 0;order:9}
  .le-edge{flex-basis:14px}
  .le-cardbtns{width:100%;justify-content:space-between}
}
.le-insp[hidden]{display:none}
.le-box{border:3px solid #000;box-shadow:inset 0 0 0 9px #e6e8eb,inset 0 -3px 0 9px #b1b2b5,inset 0 0 0 11px #1e1e1f,0 8px 0 #0f0f10,0 24px 60px rgba(0,0,0,.65)}
.le-head{margin:11px 11px 0}
.le-body{margin:0 11px 11px;border-top:0}
.le-row{cursor:default;padding:4px 6px 4px 4px}
.le-row:hover{background:#48494a}
.le-rt{font:inherit;font-size:13px;font-variant-numeric:tabular-nums;color:#d0d1d4;background:#3a3b3c;border:2px solid #1e1e1f;padding:6px 8px;cursor:pointer;flex:0 0 auto;min-width:54px;text-align:center}
.le-rt:hover{background:#5a5b5c;color:#fff}
.le-rowtext{flex:1;min-width:0;font:inherit;font-size:15px;color:#fff;background:transparent;border:2px solid transparent;border-radius:2px;padding:6px 8px}
.le-rowtext:hover{border-color:#5a5b5c}
.le-rowtext:focus{outline:none;background:#1a1a1b;border-color:#3c8527}
.le-row.cur .le-rowtext:not(:focus){color:#fff}
.le-row{gap:8px}
.le-row .le-tin{width:64px;height:36px;padding:4px 6px;font-size:13px;flex:0 0 auto}
.le-row .le-rowtext{height:36px}
.le-row .le-ib.le-sm{min-width:34px;width:34px;height:34px;padding:0;margin:0 0 4px}
.le-row .le-ib.le-sm svg{width:16px;height:16px}
.le-row .le-rx{flex:1;min-width:0;color:#b1b2b5;font-style:italic;padding:0 8px}
@media(max-width:640px){.le-row{flex-wrap:wrap}.le-row .le-rowtext,.le-row .le-rx{flex-basis:100%;order:5}}
.le-row{padding:2px 4px}
.le-row .le-rowtext{height:38px;font-size:15px}
.le-row .le-rx{padding:9px 10px}
.le-lines{position:relative}
.le-row.cur{background:#3c8527}
.le-row.cur .le-rowtext{color:#fff;font-weight:700}
