/* The run of show as a timeline: artists are tall and bold, stage changes are thin, speakers and milestones have their own color.
   Loaded with schedule-view.js by Home and Operations. */
:root { --sk-setup: #5A5F70; --sk-milestone: #A0660A; --sk-doors: #2F7A3E; --sk-welcome: #6A6634; --sk-artist: #B23B24; --sk-change: #9A8C75; --sk-speaker: #3F6F7A; --sk-close: #6A3326; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sk-setup: #A9AFBF; --sk-milestone: #E2AA45; --sk-doors: #7CC48A; --sk-welcome: #B9B377; --sk-artist: #E2755D; --sk-change: #7C705E; --sk-speaker: #8FBBC5; --sk-close: #CF917D; } }
:root[data-theme="dark"] { --sk-setup: #A9AFBF; --sk-milestone: #E2AA45; --sk-doors: #7CC48A; --sk-welcome: #B9B377; --sk-artist: #E2755D; --sk-change: #7C705E; --sk-speaker: #8FBBC5; --sk-close: #CF917D; }

.tlv { display: grid; gap: 6px; }
.tlv .slot { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.tlv .when { text-align: right; padding-top: 8px; font-family: var(--display); font-weight: 600; letter-spacing: .03em; line-height: 1.15; }
.tlv .when small { display: block; font-family: var(--body); font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.tlv .card { position: relative; overflow: hidden; border-left: 6px solid var(--k); background: color-mix(in srgb, var(--k) 9%, var(--surface)); padding: 8px 12px; min-height: var(--h, 40px); display: flex; flex-direction: column; justify-content: center; gap: 1px; border-radius: 2px; }
.tlv .card .name { font-weight: 600; }
.tlv .card .sub { font-size: 12px; color: var(--muted); }
.tlv .card .kind { font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--k); }
.tlv .card .len { position: absolute; right: 10px; top: 8px; font-family: var(--display); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.tlv .artist .name { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; padding-right: 54px; }
.tlv .artist { background: color-mix(in srgb, var(--k) 14%, var(--surface)); }
.tlv .change { background: transparent; border-left: 3px dashed var(--k); padding-top: 3px; padding-bottom: 3px; }
.tlv .change .name { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.tlv .banner-slot { background: color-mix(in srgb, var(--k) 12%, var(--surface)); }
.tlv .now { outline: 2px solid var(--ink); outline-offset: -2px; }
.tlv .now .fill { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--ink); }
.tlv .tag-now { position: absolute; right: 10px; bottom: 6px; background: var(--ink); color: var(--bg); font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 1px 7px; border-radius: 3px; }
.tlv .past { opacity: .5; }
.tlv .past .name { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.tlv .edit { border: 0; background: none; color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; align-self: flex-start; margin-top: 2px; }

.dstrip { position: relative; margin: 6px 0 2px; }
.dstrip .track { display: flex; height: 26px; border-radius: 4px; overflow: hidden; background: var(--track); gap: 1px; }
.dstrip .seg { background: var(--k); opacity: .85; min-width: 1px; display: grid; place-items: center; overflow: hidden; font-size: 10px; color: var(--accent-ink); white-space: nowrap; }
.dstrip .seg.change { opacity: .35; }
.dstrip .mark { position: absolute; top: -3px; bottom: -3px; width: 3px; background: var(--ink); border-radius: 2px; }
.dstrip .ticks { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 560px) { .tlv .slot { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; } .tlv .artist .name { font-size: 18px; } .dstrip .seg { font-size: 0; } }
