:root { --acc: #c2185b; --accd: #9d1149; --accbg: #fcf0f5 }
.app { height: 100vh; height: 100dvh } #vStart { overflow: auto } #vWork { overflow: hidden }
.col { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0 }
.bar { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel) } .bar .sp { flex: 1 }
.stage { flex: 1; position: relative; overflow: hidden; cursor: grab; touch-action: none } .stage:active { cursor: grabbing } .stage canvas { position: absolute; inset: 0 }
.foot { display: flex; justify-content: space-between; gap: 12px; padding: 5px 12px; font-size: 11.5px; color: var(--tx3); background: var(--panel); border-top: 1px solid var(--line); font-family: var(--mono) }
.ly { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line2); font-size: 13px; cursor: pointer }
.ly i { width: 12px; height: 12px; flex: none } .ly span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .ly em { font-style: normal; color: var(--tx3); font-family: var(--mono); font-size: 12px }
#lays { max-height: 210px; overflow: auto }
.none { font-size: 13px; color: var(--tx3) } .fn { font-weight: 700; margin-bottom: 6px; word-break: break-word }
#info table { width: 100%; border-collapse: collapse; font-size: 12.5px } #info th { text-align: left; color: var(--tx2); font-weight: 600; padding: 4px 8px 4px 0; vertical-align: top; width: 38%; word-break: break-word } #info td { padding: 4px 0; word-break: break-word; border-bottom: 1px solid var(--line2) }
#info { max-height: 260px; overflow: auto }
.seg.v { flex-direction: column } .seg.v button { border-right: 0; border-bottom: 1px solid var(--line); text-align: left } .seg.v button:last-child { border-bottom: 0 }
.hint { font-size: 12px; color: var(--tx3); margin: 8px 0 0; line-height: 1.45 }
.go .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px } .go .row2 .btn { width: auto }
.th { display: flex; gap: 8px; align-items: center; width: 100%; border: 0; border-bottom: 1px solid var(--line2); background: none; padding: 6px 0; font: inherit; font-size: 13px; text-align: left; cursor: pointer; color: var(--tx) }
.th i { width: 18px; height: 18px; flex: none; border: 1px solid rgba(0,0,0,.15) } .th span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .th em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--tx3) }
.th.off { opacity: .4 } .th.off i { background-image: linear-gradient(45deg, transparent 45%, #000 45%, #000 55%, transparent 55%) }
#thr { max-height: 240px; overflow: auto }
#facts { width: 100%; border-collapse: collapse; font-size: 12.5px } #facts th { text-align: left; color: var(--tx2); font-weight: 600; padding: 4px 8px 4px 0; width: 40%; vertical-align: top } #facts td { padding: 4px 0; border-bottom: 1px solid var(--line2) }
.play { display: flex; gap: 10px; align-items: center; padding: 8px 14px; background: var(--panel); border-top: 1px solid var(--line) } .play input { flex: 1; accent-color: var(--acc) } .play span { font-size: 12px; color: var(--tx2); font-family: var(--mono); min-width: 150px; text-align: right }
#files { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--panel) } #files button { border: 0; border-right: 1px solid var(--line); background: none; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; color: var(--tx2); cursor: pointer; white-space: nowrap } #files button.on { color: var(--accd); box-shadow: inset 0 -2px 0 var(--acc) }
.chk { display: flex; gap: 8px; align-items: center; font-size: 13px }
input[type=range] { -webkit-appearance: none; appearance: none; height: 4px; background: var(--line); border-radius: 0; outline: none }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 20px; background: var(--acc); border: 0; border-radius: 0; cursor: pointer }
input[type=range]::-moz-range-thumb { width: 12px; height: 20px; background: var(--acc); border: 0; border-radius: 0; cursor: pointer }
