/* Outside screen: today's programme, readable from the aisle.
   Minimum text size on the 1080 stage is 22px; titles 30px+. */

.o-head {
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 156px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hair);
}
.o-mark { height: 92px; display: flex; align-items: center; }
.o-where { margin-left: 44px; padding-left: 44px; border-left: 2px solid var(--hair); }
.o-name { font-size: 38px; font-weight: 600; }
.o-loc { font-size: 26px; color: var(--muted); margin-top: 4px; }
.o-clock { margin-left: auto; text-align: right; }
.o-date { font-size: 28px; color: var(--muted); }
.o-time { font-size: 64px; font-weight: 600; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }

.o-notice {
  position: absolute;
  left: 0; right: 0; top: 156px;
  height: 72px;
  padding: 0 64px;
  background: var(--orange);
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  line-height: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o-body { position: absolute; left: 0; right: 0; top: 156px; bottom: 150px; }
.with-notice .o-body { top: 228px; }

/* ---------------------------------------------------------------- feature */

.o-feature {
  position: absolute;
  left: 64px; top: 44px; bottom: 44px;
  width: 1100px;
  border-radius: 0 56px 0 0;
  overflow: hidden;
  background: var(--navy-2);
}
.o-feature .sky { left: 0; top: 0; right: 0; bottom: 0; opacity: 0.38; }
.o-feature-in { position: absolute; left: 56px; top: 48px; right: 56px; bottom: 44px; display: flex; flex-direction: column; }

.f-top { display: flex; align-items: center; }
.f-top > * { margin-right: 16px; }
.f-label { font-size: 26px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); white-space: nowrap; }
.f-top .chip { max-width: 470px; overflow: hidden; text-overflow: ellipsis; }
.f-when { white-space: nowrap; }
.f-when { font-size: 32px; font-weight: 600; margin-left: auto; margin-right: 0; font-variant-numeric: tabular-nums; }

.f-title { font-size: 58px; line-height: 1.08; font-weight: 600; margin: 30px 0 0; letter-spacing: -0.01em; }
.f-title.long { font-size: 48px; }
.f-org { font-size: 28px; color: var(--muted); margin-top: 18px; }

.f-progress { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.18); margin-top: 30px; overflow: hidden; }
.f-progress i { display: block; height: 100%; background: var(--orange); border-radius: 4px; }

.f-people { margin-top: auto; display: flex; flex-wrap: wrap; }
.f-person { display: flex; align-items: center; width: 50%; padding-right: 24px; margin-top: 26px; }
.f-person .avatar { margin-right: 22px; }
.f-person b { display: block; font-size: 30px; font-weight: 600; line-height: 1.15; }
.f-person span { display: block; font-size: 23px; color: var(--muted); line-height: 1.25; margin-top: 3px; }
.f-person em { display: inline-block; font-style: normal; font-size: 19px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.f-people.many .f-person { width: 33.33%; }
.f-people.many .f-person b { font-size: 26px; }
.f-people.many .f-person span { font-size: 20px; }

.f-empty { margin-top: auto; font-size: 34px; color: var(--muted); }

/* ---------------------------------------------------------------- list */

.o-list {
  position: absolute;
  left: 1228px; top: 0; right: 0; bottom: 0;
  background: var(--ice);
  color: var(--navy);
  padding: 44px 56px 0 48px;
  overflow: hidden;
}
.o-list-head { font-size: 26px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.row { display: flex; padding: 15px 0 15px 22px; border-left: 6px solid var(--sky); margin-bottom: 8px; background: #fff; }
.row .t { width: 112px; flex: none; font-size: 27px; font-weight: 600; font-variant-numeric: tabular-nums; }
.row .x { flex: 1; padding-right: 20px; }
.row .x b { display: block; font-size: 26px; font-weight: 500; line-height: 1.22; }
.row .x small { display: block; font-size: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; color: #5a6b8c; }
.row.past { opacity: 0.5; background: transparent; padding-top: 8px; padding-bottom: 8px; }
.row.past .x b { -webkit-line-clamp: 1; font-size: 23px; }
.row.past .t { font-size: 23px; }
.row.past .x small { display: none; }
.row.live { background: var(--navy); color: #fff; }
.row.live .x small { color: var(--orange); }
.row.next .x small { color: var(--teal); }
.row.cancelled .x b { text-decoration: line-through; }

/* Density steps (out.js fitDensity): every session stays on screen. */
.o-list.dens-1 .row { padding-top: 11px; padding-bottom: 11px; margin-bottom: 6px; }
.o-list.dens-2 .row { padding-top: 8px; padding-bottom: 8px; margin-bottom: 5px; }
.o-list.dens-2 .row .x b { -webkit-line-clamp: 1; font-size: 24px; }
.o-list.dens-2 .row .t { font-size: 24px; }
.o-list.dens-3 .row { padding-top: 6px; padding-bottom: 6px; margin-bottom: 4px; }
.o-list.dens-3 .row .x b { -webkit-line-clamp: 1; font-size: 22px; }
.o-list.dens-3 .row .x small { font-size: 17px; margin-top: 2px; }
.o-list.dens-3 .row .t { font-size: 22px; width: 96px; }
.o-list.dens-3 .row.past .x b { font-size: 20px; }

/* ---------------------------------------------------------------- modes */

.mode-live .o-prog { display: none; }
.mode-prog .o-feature, .mode-prog .o-list { display: none; }

/* ---------------------------------------------------------------- programme (between panels) */

.o-prog {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--ice);
  color: var(--navy);
  padding: 34px 64px 0;
  overflow: hidden;
}
.p-head { display: flex; align-items: baseline; margin-bottom: 20px; }
.p-title { font-size: 30px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.p-next { margin-left: auto; font-size: 32px; color: var(--navy); }
.p-next b { font-weight: 700; }
.p-rows { display: flex; flex-direction: column; }
.p-row { display: flex; align-items: center; background: #fff; margin-bottom: 10px; padding: 18px 28px 18px 0; }
.p-time { width: 220px; flex: none; padding-left: 28px; font-size: 40px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.05; }
.p-time span { display: block; font-size: 22px; font-weight: 500; color: #5a6b8c; margin-top: 4px; }
.p-bar { width: 8px; align-self: stretch; flex: none; margin-right: 28px; border-radius: 4px; }
.p-main { flex: 1; min-width: 0; padding-right: 24px; }
.p-main b { font-size: 36px; font-weight: 600; line-height: 1.15; }
.p-meta { font-size: 23px; color: #4a5b7c; margin-top: 6px; }
.p-side { flex: none; width: 300px; text-align: right; }
.p-status { display: block; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.p-track { display: block; font-size: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5a6b8c; margin-top: 4px; }
.p-row.next { background: var(--navy); color: #fff; box-shadow: 0 0 0 4px var(--orange) inset; }
.p-row.next .p-time span, .p-row.next .p-meta, .p-row.next .p-track { color: rgba(255,255,255,0.75); }
.p-row.next .p-status { color: var(--orange); }
.p-row.live { background: var(--navy); color: #fff; }
.p-row.live .p-status { color: var(--orange); }
.p-row.past { opacity: 0.45; background: transparent; padding-top: 8px; padding-bottom: 8px; }
.p-row.past .p-time { font-size: 28px; }
.p-row.past .p-time span, .p-row.past .p-meta { display: none; }
.p-row.past .p-main b { font-size: 26px; -webkit-line-clamp: 1; }
.p-row.cancelled .p-main b { text-decoration: line-through; }
.p-empty { font-size: 54px; font-weight: 600; margin-top: 120px; }
.p-empty small { display: block; font-size: 32px; font-weight: 400; color: #4a5b7c; margin-top: 18px; }

.o-prog.dens-1 .p-row { padding-top: 13px; padding-bottom: 13px; margin-bottom: 8px; }
.o-prog.dens-1 .p-main b { font-size: 32px; }
.o-prog.dens-1 .p-time { font-size: 34px; }
.o-prog.dens-2 .p-row { padding-top: 10px; padding-bottom: 10px; margin-bottom: 6px; }
.o-prog.dens-2 .p-main b { font-size: 30px; -webkit-line-clamp: 1; }
.o-prog.dens-2 .p-time { font-size: 30px; }
.o-prog.dens-2 .p-time span { font-size: 19px; }
.o-prog.dens-2 .p-meta { font-size: 21px; margin-top: 3px; }
.o-prog.dens-3 .p-row { padding-top: 7px; padding-bottom: 7px; margin-bottom: 5px; }
.o-prog.dens-3 .p-main b { font-size: 26px; -webkit-line-clamp: 1; }
.o-prog.dens-3 .p-time { font-size: 26px; width: 190px; }
.o-prog.dens-3 .p-time span { display: inline; font-size: 18px; margin: 0 0 0 6px; }
.o-prog.dens-3 .p-meta { font-size: 19px; margin-top: 2px; }
.o-prog.dens-3 .p-status { font-size: 20px; }
/* Last resort for a very full day: two columns. */
.o-prog.dens-4 .p-rows { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
.o-prog.dens-4 .p-row { width: 49.3%; padding-top: 7px; padding-bottom: 7px; margin-bottom: 6px; }
.o-prog.dens-4 .p-main b { font-size: 24px; -webkit-line-clamp: 1; }
.o-prog.dens-4 .p-time { font-size: 24px; width: 130px; padding-left: 18px; }
.o-prog.dens-4 .p-time span, .o-prog.dens-4 .p-meta, .o-prog.dens-4 .p-track { display: none; }
.o-prog.dens-4 .p-side { width: 170px; }
.o-prog.dens-4 .p-status { font-size: 17px; }

/* ---------------------------------------------------------------- footer */

.o-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 150px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--hair);
}
.o-msg { flex: 1; font-size: 40px; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-msg .hl { color: var(--orange); }
.o-host { margin: 0 48px; display: flex; align-items: center; font-size: 22px; color: var(--muted); }
.o-host img { height: 60px; margin-left: 18px; }
.o-host b { margin-left: 14px; color: var(--white); font-size: 26px; font-weight: 600; }
.o-qr { display: flex; align-items: center; }
.o-qr-label { font-size: 22px; color: var(--muted); text-align: right; margin-right: 22px; max-width: 220px; line-height: 1.25; }
.o-qr-code { width: 118px; height: 118px; border-radius: 10px; overflow: hidden; background: #fff; }
.o-qr-code svg { display: block; }

/* Never squeeze the title: the people block gives way instead (the card
   clips it), and with a notice bar the type steps down to keep it in. */
.o-feature-in > * { flex-shrink: 0; }
.o-feature-in > .f-people { flex-shrink: 1; overflow: hidden; }
.with-notice .f-title { font-size: 50px; margin-top: 22px; }
.with-notice .f-title.long { font-size: 42px; }
.with-notice .f-person { margin-top: 16px; }
.with-notice .f-progress { margin-top: 20px; }
