/* ghost.css · Oct 9: the ghosts that fill an empty place (ghost.js). Real things in their own look, faded to white from the top
   down, a touch of tilt, soft shadows, nothing overlapping. --u scales a whole ghost (1px full, .78px in a tile). */
html[data-skin] body .ds-gh { --u: 1px; display: flex; align-items: flex-start; gap: calc(18 * var(--u)); height: calc(128 * var(--u)); max-width: 100%; overflow: hidden; padding: calc(10 * var(--u)) calc(8 * var(--u)) 0; pointer-events: none; user-select: none; opacity: .8;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, .35) 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, .35) 70%, transparent 100%); }
html[data-skin] body .ds-gh.sm { --u: .78px; margin: 2px 0 -6px; }
.ds-gh .gh-pc { flex: none; position: relative; display: block; transform: rotate(var(--r, 0deg)); border-radius: calc(6 * var(--u)) !important; background: #FFFFFF; overflow: hidden; box-shadow: 0 1px 2px rgba(23, 40, 62, .10), 0 12px 26px -14px rgba(23, 40, 62, .34); }
.ds-gh .gh-l { display: block; height: calc(5 * var(--u)); margin-top: calc(6 * var(--u)); border-radius: 3px !important; background: #DCE3ED; }
.ds-gh .gh-l:first-child { margin-top: 0; }
.ds-gh .gh-l.lt { background: #E9EEF5; } .ds-gh .gh-l.wh { background: rgba(255, 255, 255, .82); } .ds-gh .gh-l.dk { background: #9AA9BC; height: calc(6 * var(--u)); }
/* a trailer: 16:9 key art, a play button, its length, the file's name beneath */
.ds-gh .gh-trl { width: calc(152 * var(--u)); }
.ds-gh .gh-art { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #0D1A38 0%, #1F3C78 58%, #3A6CCB 100%); }
.ds-gh .gh-trl .gh-art { aspect-ratio: 16 / 9; }
.ds-gh .gh-play { display: grid; place-items: center; width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50% !important; background: rgba(255, 255, 255, .9); color: #17283E; }
.ds-gh .gh-play svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); margin-left: calc(1 * var(--u)); }
.ds-gh .gh-art em { position: absolute; right: calc(6 * var(--u)); bottom: calc(6 * var(--u)); padding: calc(1 * var(--u)) calc(4 * var(--u)); border-radius: 3px !important; background: rgba(0, 0, 0, .6); color: #FFFFFF; font: 600 calc(9 * var(--u)) / 1.3 var(--ds-f, sans-serif); font-style: normal; font-variant-numeric: tabular-nums; }
.ds-gh .gh-foot { display: block; padding: calc(9 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u)); }
/* a vertical cut: 9:16, dark, captions burned in at the foot */
.ds-gh .gh-vert { width: calc(64 * var(--u)); }
.ds-gh .gh-vert .gh-art { aspect-ratio: 9 / 16; background: linear-gradient(180deg, #121826 0%, #2A2346 62%, #3B2547 100%); }
.ds-gh .gh-cap { position: absolute; left: calc(8 * var(--u)); right: calc(8 * var(--u)); bottom: calc(10 * var(--u)); display: block; }
.ds-gh .gh-cap .gh-l { height: calc(4 * var(--u)); margin: calc(4 * var(--u)) auto 0; }
/* a logline: a page with the quote mark the library uses */
.ds-gh .gh-doc { width: calc(104 * var(--u)); height: calc(124 * var(--u)); padding: calc(10 * var(--u)) calc(11 * var(--u)); border: 1px solid #E3E8F0; box-sizing: border-box; }
.ds-gh .gh-q { display: block; height: calc(20 * var(--u)); font: 500 calc(30 * var(--u)) / 1 'Newsreader', Georgia, serif; color: #5A45D6; }
/* a flight plan: the button to launch it, one bar per platform in the platform's own colour */
.ds-gh .gh-plan { width: calc(196 * var(--u)); padding: calc(11 * var(--u)) calc(12 * var(--u)) calc(14 * var(--u)); border: 1px solid #E3E8F0; box-sizing: border-box; }
.ds-gh .gh-plan-h { display: flex; align-items: center; justify-content: space-between; gap: calc(10 * var(--u)); margin-bottom: calc(4 * var(--u)); }
.ds-gh .gh-plan-h .gh-l { margin: 0; }
.ds-gh .gh-btn { width: calc(30 * var(--u)); height: calc(11 * var(--u)); border-radius: 3px !important; background: #245DC8; }
.ds-gh .gh-row { display: flex; align-items: center; gap: calc(8 * var(--u)); margin-top: calc(9 * var(--u)); }
.ds-gh .gh-pf { flex: none; width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 3px !important; }
.ds-gh .gh-bar { display: block; height: calc(7 * var(--u)); border-radius: 4px !important; }
.ds-gh .tt { background: #111318; } .ds-gh .yt { background: #FF0033; } .ds-gh .ig { background: #E1306C; } .ds-gh .fb { background: #1877F2; }
.ds-gh .gh-bar.tt, .ds-gh .gh-bar.yt, .ds-gh .gh-bar.ig, .ds-gh .gh-bar.fb { opacity: .85; }
/* the number a campaign is judged on, with its run */
.ds-gh .gh-num { width: calc(98 * var(--u)); padding: calc(11 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)); border: 1px solid #E3E8F0; box-sizing: border-box; }
.ds-gh .gh-num b { display: block; font: 700 calc(22 * var(--u)) / 1.05 var(--ds-f, sans-serif); letter-spacing: -.03em; color: #08777C; margin-bottom: calc(6 * var(--u)); }
.ds-gh .gh-spark, .ds-gh .gh-chart { display: flex; align-items: flex-end; gap: calc(4 * var(--u)); height: calc(28 * var(--u)); margin-top: calc(10 * var(--u)); }
.ds-gh .gh-spark i { flex: 1; border-radius: 2px !important; background: #8FD3CE; }
/* a report: its cover with the key-art band, and a page with a chart */
.ds-gh .gh-cover, .ds-gh .gh-page { width: calc(104 * var(--u)); height: calc(128 * var(--u)); border: 1px solid #E3E8F0; box-sizing: border-box; }
.ds-gh .gh-cover > .gh-l { margin-left: calc(10 * var(--u)); margin-right: calc(10 * var(--u)); }
.ds-gh .gh-band { display: block; height: calc(54 * var(--u)); padding: calc(18 * var(--u)) calc(10 * var(--u)) 0; margin-bottom: calc(10 * var(--u)); background: linear-gradient(135deg, #0A1630 0%, #1E3C7A 70%, #2E5BB4 100%); }
.ds-gh .gh-page { padding: calc(11 * var(--u)) calc(10 * var(--u)); }
.ds-gh .gh-page.sm { width: calc(92 * var(--u)); height: calc(116 * var(--u)); }
.ds-gh .gh-chart i { flex: 1; border-radius: 2px !important; background: #245DC8; }
.ds-gh .gh-chart i:nth-child(2n) { background: #8FB0F0; }
.ds-gh .gh-chart + .gh-l { margin-top: calc(10 * var(--u)); }
/* where they sit */
html[data-skin] body .ds-ov-tile .ds-gh { margin-top: -2px; }
html[data-skin] body .ds-sheet > .ds-gh { margin: 4px 0 8px; }
@media (max-width: 720px) { html[data-skin] body .ds-gh:not(.sm) { --u: .86px; } }
