/* Ujjain Market — YouTuber tools part B (shorts, subtitles) extra styles. Uses /studio/studio.css base. */
body[data-mk="yt-shorts"] { --c1: #e11d48; --c2: #ff6b8b; --c3: #881337; }
body[data-mk="yt-subs"]   { --c1: #2563eb; --c2: #60a5fa; --c3: #1e3a8a; }
.tl { position: relative; height: 56px; border-radius: 12px; overflow: hidden; background: #1b1026; touch-action: none; user-select: none; margin: 4px 0 8px; }
.tl canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl__sel { position: absolute; top: 0; bottom: 0; border: 3px solid #ffd34d; border-radius: 10px; background: rgba(255,211,77,.15); box-sizing: border-box; }
.tl__h { position: absolute; top: 0; bottom: 0; width: 22px; margin-left: -11px; cursor: ew-resize; display: flex; align-items: center; justify-content: center; }
.tl__h::after { content: ""; width: 8px; height: 30px; border-radius: 4px; background: #ffd34d; box-shadow: 0 0 0 2px #7a4b00; }
.tl__ph { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; pointer-events: none; }
.tlinfo { display: flex; justify-content: space-between; gap: 6px; font-weight: 800; font-size: .9rem; flex-wrap: wrap; }
.pv canvas.drag { cursor: grab; touch-action: none; }
.cues { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; overflow-x: hidden; }
.cue { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 40px 40px; gap: 6px; padding: 8px; border-radius: 12px; background: #f3f6ff; box-shadow: inset 0 0 0 1px #d8e1ff; }
.cue.now { background: #fff6cc; box-shadow: inset 0 0 0 2px #ffb21a; }
.cue input { font: inherit; font-size: .9rem; min-width: 0; width: 100%; padding: 6px 8px; border-radius: 9px; border: 1px solid #cfd6ea; background: #fff; }
.cue input.t { grid-column: 1 / -1; font-weight: 700; }
.cue button { font-size: 1.05rem; border: 0; border-radius: 10px; cursor: pointer; background: linear-gradient(#fff, #e9eefc); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.tapbig { min-height: 72px; font-size: 1.2rem; }
.warnbox { background: #fff4d6; color: #6b4300; border-radius: 12px; padding: 10px 12px; font-size: .86rem; margin: 0 0 10px; }
.warnbox b { color: #8a3b00; }
.live { min-height: 1.4em; font-size: .95rem; font-weight: 700; color: var(--c3); background: #eef4ff; border-radius: 10px; padding: 6px 10px; margin: 6px 0; word-break: break-word; }
.vidwrap { position: relative; }
.vidwrap video { display: block; width: 100%; max-height: 50vh; border-radius: 14px; background: #000; }
