/* Written by hud-src/build.mjs from hud-src/ad-slot.css: the HUD sponsor-slot sheet with its .ad classes renamed to .hx,
   because ad blockers hide the original names. Do not edit; the markup and sizes are documented in the source. */

.hx { --ad-night: 11, 13, 15; --ad-bone: #ECEAE4; --ad-muted: #A0A7B0; --ad-orange: #FF6A1A;
  --ad-display: "Oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif; --ad-mono: "JetBrains Mono", Menlo, monospace;
  box-sizing: border-box; color: var(--ad-bone); font-family: var(--ad-display); text-align: left; }
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
.hx-logo { flex: none; object-fit: contain; background: var(--ad-bone); }
.hx-text { min-width: 0; flex: 1; }
.hx-label { display: block; font: 600 16px/1 var(--ad-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ad-muted); }
.hx-brand { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.1; }
.hx-line { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.hx-line:empty { display: none; }

/* Partner card: 290 wide, at most 152 tall, resting on y 564 on every scene (box [50, 412, 290, 152] at its tallest; a shorter card keeps its bottom edge there). */
.hx-partner { width: 290px; padding: 8px 14px 10px; background: rgba(var(--ad-night), 0.75); border-top: 4px solid var(--ad-orange);
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.hx-partner .hx-logo { width: 64px; height: 64px; padding: 7px; }
.hx-partner .hx-text { display: contents; }
.hx-partner .hx-label { grid-row: 1; grid-column: 2; align-self: end; font-size: 18px; }
.hx-partner .hx-brand { grid-row: 2; grid-column: 2; align-self: start; margin-top: 6px; font-size: 34px; font-weight: 800; }
.hx-partner:not(:has(.hx-logo)) { column-gap: 0; }
.hx-partner .hx-line { grid-row: 3; grid-column: 1 / -1; margin-top: 8px; max-height: 49px; font-size: 21px; font-weight: 600; line-height: 1.15; }
.hx-partner .hx-logo { grid-row: 1 / span 2; grid-column: 1; }

/* Title block: a slanted panel at the right end of the bar or of the lower third. Draw it over the bar or plate
   (Night at 96%); the panel's own fill is Bone at 9%. */
.hx-title { display: flex; align-items: center; background: rgba(236, 234, 228, 0.09); }
.hx-title .hx-brand { font-weight: 800; }
.hx-title .hx-line { color: var(--ad-muted); font-weight: 600; line-height: 1.15; }
/* on the bar: [630, 568, 400, 112] on CODM Live, Desktop and iPad Portrait */
.hx-title--bar { width: 400px; height: 112px; gap: 14px; padding: 0 20px 0 38px; clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%); }
.hx-title--bar .hx-logo { width: 88px; height: 88px; padding: 9px; }
.hx-title--bar .hx-brand { margin: 5px 0 4px; font-size: 34px; }
.hx-title--bar .hx-line { font-size: 19px; }
.hx-title--bar.hx--long .hx-line { -webkit-line-clamp: 1; }
/* on the Just Chatting lower third: [560, 1314, 470, 142] */
.hx-title--third { width: 470px; height: 142px; gap: 16px; padding: 0 34px 0 44px; clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
.hx-title--third .hx-logo { width: 104px; height: 104px; padding: 11px; }
.hx-title--third .hx-brand { margin: 6px 0; font-size: 40px; font-weight: 700; }
.hx-title--third .hx-line { font-size: 20px; }

/* Board footer: [750, 1840, 280, 60], inside the leaderboard panel (solid Night; 75% on Just Chatting). Logo and
   brand of the title sponsor; no line. */
.hx-board { display: flex; align-items: center; gap: 12px; width: 280px; height: 60px; padding: 0 12px; border-top: 1px solid rgba(236, 234, 228, 0.3); }
.hx-board .hx-logo { width: 44px; height: 44px; padding: 5px; }
.hx-board .hx-brand { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.hx-board .hx-line { display: none; }
