/* Geerho Live sponsorships (M370, 2026-11-20): the sponsor card on the player, Go Live's Sponsor control,
   sponsorships.html and sponsor.html. Uses hub.css's tokens, so light and dark follow the site. */

/* The card on the player: a dark translucent capsule under the LIVE row, readable on any video. */
.live-overlay-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; pointer-events: none; }
.live-overlay-head > * { pointer-events: auto; }
.sp-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 11px; border-radius: 999px;
  color: #fff; background: rgba(0, 0, 0, .55); text-decoration: none; font-size: .8rem; font-weight: 600; line-height: 1.25;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sp-chip > span:not([aria-hidden]) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.sp-chip:hover, a.sp-chip:focus-visible { color: #fff; background: rgba(0, 0, 0, .72); }
.sp-icon { width: 15px; height: 15px; flex: none; }

/* Pages */
main.sp-page { max-width: var(--narrow); }
.sp-facts { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.sp-facts li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-deal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.sp-deal-head h2 { overflow-wrap: anywhere; }
.sp-agreement { max-height: 360px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; margin: 8px 0 14px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); font-size: .9rem; line-height: 1.55; }
.sp-agreement:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sp-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--tint); color: var(--text); }
.sp-status.good { background: var(--good-bg); color: var(--good); }
.sp-status.warn { background: var(--bad-bg); color: var(--bad); }
.sp-status.done { background: var(--surface); color: var(--muted); border: 1px solid var(--rule); }
.sp-list { display: grid; gap: 8px; margin-top: 12px; }
.sp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--rule); background: var(--raised); color: var(--text); text-decoration: none; }
.sp-row:hover { border-color: var(--accent); }
.sp-row-main { display: grid; gap: 2px; min-width: 0; }
.sp-link { margin: 14px 0; padding: 14px; border-radius: 14px; border: 1px solid var(--rule); background: var(--raised); }
.sp-link-url { display: block; overflow-wrap: anywhere; font-size: .85rem; }
.sp-form, .sp-sign { display: grid; gap: 4px; }
.sp-form button[type=submit], .sp-sign button[type=submit] { justify-self: start; }
.sp-form input, .sp-form textarea, .sp-sign input:not([type=checkbox]), .sp-picker input:not([type=radio]), .sp-picker select {
  width: 100%; margin: 2px 0; padding: 10px; border-radius: 10px; border: 1px solid var(--rule); background: var(--bg); color: var(--text); font: inherit; min-width: 0; }
.sp-form textarea { resize: vertical; }
.sp-breakdown { padding: 10px 12px; border-radius: 10px; background: var(--tint); }
.sp-kinds { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.sp-picker-fields { display: grid; gap: 4px; }
.sp-picker-fields[hidden] { display: none; }
