/* Signtility slides (see slides.js). 1em = 1% of the frame's height. */
.slbox { position: relative; overflow: hidden; background: #000; container-type: normal; }
.sl { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; line-height: 1.2;
  font-family: Montserrat, "Open Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

/* themes */
.sl-t-navy  { --sl-bg: #232a52; --sl-bg2: #2f3870; --sl-fg: #ffffff; --sl-soft: rgba(255,255,255,.72); --sl-acc: #4d8dff; }
.sl-t-light { --sl-bg: #ffffff; --sl-bg2: #eef2f8; --sl-fg: #1c2033; --sl-soft: #5b6178; --sl-acc: #1d6bf3; }
.sl-t-dark  { --sl-bg: #0d0f14; --sl-bg2: #1a1d26; --sl-fg: #f4f5f8; --sl-soft: rgba(244,245,248,.66); --sl-acc: #4d8dff; }
.sl-t-brand { --sl-bg: #1d6bf3; --sl-bg2: #1559d1; --sl-fg: #ffffff; --sl-soft: rgba(255,255,255,.8); --sl-acc: #ffd166; }
.sl-t-warm  { --sl-bg: #2a1b12; --sl-bg2: #3a261a; --sl-fg: #fbefdc; --sl-soft: rgba(251,239,220,.7); --sl-acc: #f5a623; }
.sl-t-fresh { --sl-bg: #0f3b2e; --sl-bg2: #155240; --sl-fg: #f2f7ef; --sl-soft: rgba(242,247,239,.72); --sl-acc: #9be15d; }
[class*="sl-t-"] { background: radial-gradient(120% 90% at 85% 0%, var(--sl-bg2), var(--sl-bg) 60%); color: var(--sl-fg); }

/* picture / video */
.sl-image, .sl-video { background: #000; align-items: center; justify-content: center; }
.sl-image img, .sl-video video { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.sl-back { position: absolute; inset: -6%; background: center / cover no-repeat; filter: blur(3em) brightness(.55); }

/* announcement */
.sl-text { justify-content: center; padding: 8em 9em; }
.sl-text .sl-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3.2em; }
.sl-text.sl-left .sl-inner { align-items: flex-start; text-align: left; }
.sl-bar { width: 9em; height: 1.1em; border-radius: 1em; background: var(--sl-acc); }
.sl-text .sl-title { margin: 0; font-size: 10.5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.sl-text .sl-body { margin: 0; font-family: "Open Sans", system-ui, sans-serif; font-size: 5em; line-height: 1.38; color: var(--sl-soft);
  white-space: pre-line; max-width: 34em; }
.sl-text.sl-long .sl-title { font-size: 8em; }
.sl-text.sl-long .sl-body { font-size: 3.9em; }
.sl-text.sl-longer .sl-title { font-size: 6.4em; }
.sl-text.sl-longer .sl-body { font-size: 3em; }
.sl-footer { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.6em 9em; font-size: 3.2em; font-weight: 600; color: var(--sl-soft);
  text-align: center; border-top: .08em solid rgba(127,127,127,.25); }
.sl-text .sl-footer { font-size: 3.2em; padding: .8em 2em; }
.sl-tall.sl-text { padding: 8em 6em; }

/* menu board */
.sl-menu { padding: 6em 7em 0; }
.sl-menuhead { display: flex; align-items: baseline; gap: 2em; padding-bottom: 2.4em; border-bottom: .5em solid var(--sl-acc); margin-bottom: 3.4em; }
.sl-menu .sl-title { margin: 0; font-size: 8.4em; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.sl-cols { flex: 1; display: grid; gap: 0 7em; align-content: start; }
.sl-cols.sl-c2 { grid-template-columns: 1fr 1fr; }
.sl-cols.sl-c3 { grid-template-columns: 1fr 1fr 1fr; }
.sl-tall .sl-cols { grid-template-columns: 1fr; }
.sl-sec { margin-bottom: 3.2em; min-width: 0; }
.sl-secname { margin: 0 0 1.1em; font-size: 3.6em; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sl-acc); }
.sl-item { margin-bottom: 1.9em; }
.sl-line { display: flex; align-items: baseline; gap: .6em; font-size: 4.2em; font-weight: 600; }
.sl-name { min-width: 0; overflow-wrap: anywhere; }
.sl-dots { flex: 1; min-width: 1em; border-bottom: .09em dotted var(--sl-soft); transform: translateY(-.25em); opacity: .6; }
.sl-price { font-weight: 700; white-space: nowrap; }
.sl-note { font-family: "Open Sans", system-ui, sans-serif; font-size: 2.9em; color: var(--sl-soft); margin-top: .25em; }
.sl-menu .sl-footer { position: static; margin: auto -7em 0; padding: 1.1em 2em; font-size: 3em; }
.sl-menu.sl-short .sl-line { font-size: 5em; }
.sl-menu.sl-short .sl-note { font-size: 3.6em; }
.sl-menu.sl-short .sl-secname { font-size: 4.4em; }
.sl-menu.sl-short .sl-item { margin-bottom: 3em; }
.sl-menu.sl-long .sl-line { font-size: 3.4em; }
.sl-menu.sl-long .sl-note { font-size: 2.4em; }
.sl-menu.sl-long .sl-item { margin-bottom: 1.3em; }
.sl-menu.sl-longer .sl-line { font-size: 2.8em; }
.sl-menu.sl-longer .sl-note { font-size: 2em; }
.sl-menu.sl-longer .sl-secname { font-size: 2.9em; }
.sl-menu.sl-longer .sl-item { margin-bottom: 1em; }

/* clock */
.sl-clock { align-items: center; justify-content: center; text-align: center; }
.sl-clock .sl-inner { display: flex; flex-direction: column; align-items: center; gap: 2em; }
.sl-label { font-size: 4em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sl-acc); }
.sl-time { font-size: 24em; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sl-date { font-size: 5em; color: var(--sl-soft); font-family: "Open Sans", system-ui, sans-serif; }
.sl-tall .sl-time { font-size: 18em; }

/* web page */
.sl-web { background: #fff; }
.sl-web iframe { border: 0; width: 100%; height: 100%; display: block; background: #fff; }
.sl-web .sl-inner { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 2.4em; }
.sl-globe { width: 22em; height: 22em; border-radius: 50%; border: 1.6em solid var(--sl-acc); position: relative; }
.sl-globe::before { content: ""; position: absolute; inset: 0 26%; border: 1.2em solid var(--sl-acc); border-radius: 50%; }
.sl-globe::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.2em solid var(--sl-acc); transform: translateY(-50%); }
.sl-host { font-size: 6em; font-weight: 600; color: var(--sl-fg); max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* designs */
.sl-design { background: #000; display: block; }
.dz-canvas { position: absolute; left: 50%; top: 50%; transform-origin: center center; overflow: hidden; }
.sl-design .dz-canvas { visibility: hidden; }          /* until fitCanvas has scaled it */
.dz-el { position: absolute; box-sizing: border-box; overflow: hidden; }
.dz-text, .dz-clock, .dz-countdown, .dz-ticker { display: flex; flex-direction: column; }
.dz-tx { white-space: pre-wrap; overflow-wrap: break-word; }
.dz-countdown { font-variant-numeric: tabular-nums; }
.dz-clock { font-variant-numeric: tabular-nums; }
.dz-label { opacity: .85; margin-bottom: .1em; }
.dz-image img, .dz-video video { width: 100%; height: 100%; display: block; }
.dz-line { position: absolute; left: 0; right: 0; top: 50%; height: max(2px, 100%); transform: translateY(-50%); border-radius: inherit; }
.dz-shape.dz-line-host { background: none; }
.dz-ticker { white-space: nowrap; }
.dz-track { display: flex; width: max-content; align-self: flex-start; white-space: nowrap; will-change: transform; }
.dz-track span { flex: none; }
.dz-track.dz-run { animation: dz-tick linear infinite; }
@keyframes dz-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dz-missing { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 20px, rgba(255,255,255,.12) 20px 40px); }

/* entrance animations (player and preview only) */
.dz-in-fade { animation: dz-fade .9s ease both; }
.dz-in-up { animation: dz-up .9s cubic-bezier(.2,.8,.2,1) both; }
.dz-in-down { animation: dz-down .9s cubic-bezier(.2,.8,.2,1) both; }
.dz-in-left { animation: dz-left .9s cubic-bezier(.2,.8,.2,1) both; }
.dz-in-right { animation: dz-right .9s cubic-bezier(.2,.8,.2,1) both; }
.dz-in-zoom { animation: dz-zoom .9s cubic-bezier(.2,.8,.2,1) both; }
.dz-in-pop { animation: dz-pop .7s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes dz-fade { from { opacity: 0; } }
@keyframes dz-up { from { opacity: 0; translate: 0 80px; } }
@keyframes dz-down { from { opacity: 0; translate: 0 -80px; } }
@keyframes dz-left { from { opacity: 0; translate: 120px 0; } }
@keyframes dz-right { from { opacity: 0; translate: -120px 0; } }
@keyframes dz-zoom { from { opacity: 0; scale: .7; } }
@keyframes dz-pop { from { opacity: 0; scale: .3; } }

/* ---------------------------------------------------------------- live data elements (sizes in em of the element's font size) */
.dz-weather, .dz-stocks, .dz-news, .dz-calendar, .dz-qr { display: flex; flex-direction: column; }
.dz-sample::after { content: "Sample"; position: absolute; top: 6px; right: 8px; font: 600 14px/1 Montserrat, sans-serif; color: #fff;
  background: rgba(0, 0, 0, .45); padding: 4px 8px; border-radius: 99px; letter-spacing: .04em; }
.dz-wxi { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* content that scales to fit its box (slides.js fit): an inner box sized by its content, measured, then scaled */
.dz-fitbox { width: 100%; flex: none; display: flex; flex-direction: column; gap: .4em; }
.dz-fit-line { gap: 0; } .dz-fit-line .dz-tx { white-space: nowrap; }
.dz-wx-now { display: flex; align-items: center; gap: .45em; min-width: 0; flex: 0 1 auto; }
.dz-wx-big { display: flex; align-items: center; gap: .2em; flex: none; }
.dz-wx-big .dz-wxi { width: 2em; height: 2em; }
.dz-wx-temp { font-size: 2.3em; font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.dz-wx-words { display: flex; flex-direction: column; gap: .08em; min-width: 0; }
.dz-wx-words > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-wx-place { font-weight: 700; }
.dz-wx-cond { opacity: .85; }
.dz-wx-more { font-size: .55em; opacity: .7; }
.dz-wx-fwrap { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: .3em; }
.dz-wx-fwrap > .dz-wx-place { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-wx-days { flex: 1; min-height: 0; display: flex; gap: .25em; overflow: hidden; align-items: stretch; }
.dz-wx-day { flex: 0 0 3.4em; width: 3.4em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18em;
  padding: .3em 0; border-radius: .35em; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dz-wx-day .dz-wxi { width: 1.35em; height: 1.35em; }
.dz-wx-dn { font-size: .6em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; white-space: nowrap; }
.dz-wx-hl { display: flex; flex-direction: column; align-items: center; line-height: 1.12; font-size: .7em; white-space: nowrap; }
.dz-wx-hl b { font-weight: 700; } .dz-wx-hl span { opacity: .6; }
.dz-wx-both { flex-direction: row; align-items: stretch; gap: .7em; }
.dz-wx-both .dz-wx-now { align-self: center; }
.dz-wx-both .dz-wx-days { justify-content: flex-end; }

.dz-q-list { display: flex; flex-direction: column; gap: .25em; }
.dz-q-row { display: grid; grid-template-columns: auto 1fr auto; gap: .8em; align-items: baseline; padding: .2em 0; border-bottom: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; }
.dz-q-sym { font-weight: 700; white-space: nowrap; } .dz-q-px { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dz-q-ch { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dz-q { display: inline-flex; gap: .45em; align-items: baseline; }
.dz-q .dz-q-ch { min-width: 0; text-align: left; }
.dz-q-note { font-size: .4em; opacity: .55; padding-top: .3em; white-space: nowrap; }
.dz-run-items { display: inline-flex; align-items: baseline; gap: .9em; padding-right: .9em; flex: none; }
.dz-sep { opacity: .45; }

.dz-n-head { font-size: .6em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .75; margin-bottom: .4em; }
.dz-n-list { display: flex; flex-direction: column; gap: .5em; }
.dz-n-row { padding-left: .7em; border-left: .12em solid rgba(255, 255, 255, .4); }
.dz-n-src { font-size: .55em; opacity: .65; margin-top: .15em; }
.dz-n-rot { flex: 1; display: flex; align-items: center; }
.dz-n-one { animation: dz-fadein .6s ease both; }
@keyframes dz-fadein { from { opacity: 0; transform: translateY(.3em); } }

.dz-c-list { display: flex; flex-direction: column; gap: .3em; }
.dz-c-day { font-size: .6em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: .5em; }
.dz-c-day:first-child { margin-top: 0; }
.dz-c-row { display: grid; grid-template-columns: auto 1fr; gap: .6em; align-items: baseline; } .dz-c-time { min-width: 4.6em; }
.dz-c-time { font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dz-c-loc { font-size: .6em; opacity: .65; }
.dz-c-none { opacity: .7; }

.dz-qr > .dz-fitbox { height: 100%; flex: 1; min-height: 0; align-items: center; justify-content: center; text-align: center; gap: .3em; }
.dz-qr-box { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.dz-qr-box img { height: 100%; max-width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: .15em; image-rendering: pixelated; }
.dz-qr-empty { width: 100%; height: 100%; display: grid; place-items: center; border: 2px dashed rgba(255, 255, 255, .4); border-radius: .2em; font-size: .5em; opacity: .7; }
.dz-qr-cap, .dz-qr-pw { width: 100%; white-space: nowrap; overflow: hidden; } .dz-qr-cap { font-weight: 700; } .dz-qr-pw { font-size: .7em; opacity: .85; }

.dz-embed iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.dz-embed-ph { width: 100%; height: 100%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font: 600 28px Montserrat, sans-serif; text-align: center; padding: 1em; }

/* icons and drawn shapes fill their element */
.dz-icon { display: flex; }
.dz-ico, .dz-shp { width: 100%; height: 100%; display: block; overflow: visible; }

/* tickers: the strip is vertically centered, its ends fade so items never look chopped, items sit on one baseline */
.dz-ticking { justify-content: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.dz-ticking > .dz-fitbox { gap: 0; }
.dz-run-items { align-items: baseline; gap: .8em; padding-right: .8em; }
.dz-q { align-items: baseline; gap: .4em; }
.dz-sep { opacity: .4; font-size: .8em; }

/* a design on a screen of another shape: its background fills the space around it (a picture, blurred) */
.sl-design { overflow: hidden; }
.dz-backfill { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.8); }
.sl-design > .dz-canvas { z-index: 1; }

/* ---------------------------------------------------------------- social posts (a hashtag wall) */
.dz-social { display: flex; flex-direction: column; }
.dz-so-wall { flex: 1; min-height: 0; display: grid; gap: .5em; }
.dz-so-rot { flex: 1; min-height: 0; display: flex; }
.dz-sc { display: flex; flex-direction: column; min-height: 0; overflow: hidden; border-radius: .5em; background: rgba(255, 255, 255, .1);
  animation: dz-fadein .6s ease both; }
.dz-sc-img { flex: 1 1 55%; min-height: 0; background: rgba(0, 0, 0, .25) center / cover no-repeat; opacity: 0; transition: opacity .4s; }
.dz-sc-img.on { opacity: 1; }
.dz-sc-body { flex: 1 1 45%; min-height: 0; display: flex; flex-direction: column; gap: .45em; padding: .6em .7em; }
.dz-sc-text { flex: 1; min-height: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; font-size: .62em; line-height: 1.35; }
.dz-sc-who { display: flex; align-items: center; gap: .4em; font-size: .45em; }
.dz-sc-av { width: 2.2em; height: 2.2em; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255, 255, 255, .2) center / cover;
  color: inherit; }
.dz-sc-av.on { color: transparent; }
.dz-sc-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.dz-sc-name b, .dz-sc-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-sc-name small { opacity: .65; }
.dz-sc-src { flex: none; padding: .2em .55em; border-radius: 99px; color: #fff; font-weight: 700; font-size: .85em; }
.dz-sc-big { flex: 1; flex-direction: row; }
.dz-sc-big .dz-sc-img { flex: 0 0 45%; }
.dz-sc-big .dz-sc-body { padding: 1em 1.2em; justify-content: center; }
.dz-sc-big .dz-sc-text { flex: none; font-size: 1em; -webkit-line-clamp: 7; }
.dz-sc-big .dz-sc-who { font-size: .55em; }
