:root{font-family:system-ui,sans-serif}body{margin:0;padding:16px}.wrap{max-width:1400px;margin:0 auto;display:grid;gap:12px}.stage{position:relative;width:100%;border:1px solid #ccc;border-radius:10px;overflow:hidden}#score{display:block;width:100%;height:auto}#overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:auto}.region{fill:#ff00002e;stroke:#ff00008c;stroke-width:2;pointer-events:all;cursor:pointer}.region.active{stroke-width:4;fill:#0000ff2e}.topbar{display:flex;align-items:center;gap:10px}.topbar a{text-decoration:none}.small{font-size:12px;opacity:.75}.list a{font-size:18px}.list .item{padding:10px 0;border-top:1px solid #ddd}.card{padding:12px;border:1px solid #ddd;border-radius:10px}button{padding:8px 10px;border-radius:10px;border:1px solid #ccc;background:#fff;cursor:pointer}button:active{transform:translateY(1px)}input{padding:8px;border-radius:10px;border:1px solid #ccc}code{background:#0000000f;padding:1px 6px;border-radius:8px}.divider{height:1px;background:#ddd;margin:10px 0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width: 900px){.grid2{grid-template-columns:1fr}}.pageList{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.pageItem{border:1px solid #ddd;border-radius:10px;padding:6px;cursor:pointer}.pageItem.active{outline:2px solid rgba(0,0,0,.35)}.thumb{width:100%;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#0000000a;display:flex;align-items:center;justify-content:center}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.marker{fill:#8c5014bf;stroke:#50280af2;stroke-width:2;cursor:pointer}.marker.selected{stroke-width:4}.modMarker{fill:#dc282826;stroke:#dc2828f2;stroke-width:3;cursor:pointer}.modMarker.selected{stroke-width:5}.modMarker.active{fill:#dc282847}.marker.active{stroke-width:4;filter:drop-shadow(0 0 2px rgba(0,0,0,.35))}.tuningBar{display:block;padding:10px 0 0;border-top:1px solid #ddd}.tuneSet{margin-top:10px}.tuneSetName{font-size:12px;opacity:.75;margin-bottom:6px}.tuneSetBtns{display:flex;gap:8px;flex-wrap:wrap}.tuneCol{display:flex;flex-direction:column;gap:8px}.tuneBtnSq{width:64px;height:64px;border-radius:12px;border:1px solid #ccc;background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px}.tuneBtnSq:active{transform:translateY(1px)}.tuneText{writing-mode:vertical-rl;text-orientation:upright;display:flex;align-items:center;gap:6px}.tuneAlt .tuneText{gap:6px}.tuneStr,.tuneNote{margin:0;padding:0;line-height:1}.tuneStr{font-weight:900;font-size:18px;line-height:1}.tuneBtnSq:not(.tuneAlt) .tuneStr{color:#8c5014}.tuneAlt .tuneStr,.tuneAlt .tuneNote{color:#666;opacity:.9}.tuneNote{font-size:13px;opacity:.9;line-height:1;writing-mode:horizontal-tb;text-orientation:mixed;white-space:nowrap;letter-spacing:0}.tuneAlt .tuneNote{transform:translateY(-6px)}.tuneAlt .tuneStr{transform:translate(-1px) translateY(2px)}.btnMini{padding:6px 9px;border-radius:10px}.btnMini.active{outline:2px solid rgba(255,255,255,.35)}.tuningNote{margin-top:10px;padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;font-size:13px;line-height:1.4}.tuneSetNote{font-size:12px;opacity:.9;margin:6px 0}.badgeMemo{display:inline-block;padding:0 6px;border-radius:999px;font-size:11px;line-height:18px;border:1px solid rgba(255,255,255,.25);opacity:.85}.songLine{display:flex;align-items:baseline;gap:10px;text-decoration:none}.songTitle{font-weight:800}.songComposer{font-size:12px;opacity:.8}.alphaHead{margin-top:14px;padding:6px 10px;border-radius:12px;font-weight:900;font-size:14px;background:#ffffff0f;border:1px solid rgba(255,255,255,.1)}
