/* HIT HOOT — sponsors (library, control panel, reports, the sponsor's report page). */

.sp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sp-head h3 { margin: 0 !important; }
.sp-empty { color: var(--mut); margin: 0; }
.sp-note { color: var(--mut); font-size: 13.5px; margin: 0 0 12px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.sp-card { background: var(--panel2); }
.sp-logo, .sp-banner { aspect-ratio: 16/7; display: grid; place-items: center; background: repeating-conic-gradient(#1a2130 0 25%, #121824 0 50%) 0 0 / 18px 18px; border-bottom: 1px solid var(--line); }
.sp-logo img { max-width: 70%; max-height: 72%; object-fit: contain; }
.sp-logo span { font-family: var(--hh-head); font-weight: 800; font-size: 40px; color: var(--mut); }
.sp-banner img { width: 100%; height: 100%; object-fit: contain; }
.sp-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.sp-title b { display: block; font-size: 16.5px; }
.sp-title .s { display: block; color: var(--mut); font-size: 13.5px; }
.sp-qrrow { display: flex; gap: 12px; align-items: center; }
.sp-qr { flex: none; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #fff; }
.sp-qr svg { width: 100%; height: 100%; display: block; }
.sp-qrside { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sp-key { padding: 6px 10px; font-size: 12.5px; }
.sp-mini { font-size: 12.5px; color: var(--text); }
.sp-mini span { color: var(--mut); }
.sp-edit summary { cursor: pointer; color: var(--blue); font-weight: 700; font-size: 13.5px; list-style: none; }
.sp-edit summary::-webkit-details-marker { display: none; }
.sp-edit[open] summary { margin-bottom: 10px; }
.sp-edit .hh-field { margin-bottom: 12px; }
.sp-edit form { margin: 0; }
.sp-btns { display: flex; gap: 8px; }
.sp-remove { color: #FF6B62; font-weight: 700; font-size: 13.5px; margin-top: 12px; }

/* control surface panel */
.sp-panel .sp-group { margin-bottom: 14px; }
.sp-gh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 14px; flex-wrap: wrap; }
.sp-gh > span:not(.sp-gr) { color: var(--mut); font-size: 12.5px; }
.sp-gr { margin-left: auto; color: var(--mut); font-size: 12.5px; }
.sp-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.sp-pick { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 11px; background: var(--panel2); border: 1px solid var(--line); cursor: pointer; user-select: none; }
.sp-pick input { position: absolute; top: 10px; left: 10px; width: 18px; height: 18px; accent-color: var(--blue); z-index: 1; }
.sp-pick:has(input:checked) { border-color: var(--blue); background: #0080FF14; }
.sp-pick:has(input:focus-visible) { outline: 2px solid var(--blue); }
.sp-pick:has(input:disabled) { cursor: default; opacity: .7; }
.sp-th { aspect-ratio: 16/9; border-radius: 7px; display: grid; place-items: center; overflow: hidden; background: repeating-conic-gradient(#1a2130 0 25%, #121824 0 50%) 0 0 / 14px 14px; }
.sp-th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-th i { font-style: normal; font-family: var(--hh-head); font-weight: 800; font-size: 22px; color: var(--mut); }
.sp-nm { font-size: 13px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-every { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.sp-every input { width: 84px; background: var(--ink); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; font: inherit; }
.sp-onair { color: var(--mut); font-weight: 500; font-size: 12.5px; }
.sp-onair.staged { color: var(--warn); }

/* reports */
.sp-filters { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: flex-end; margin-bottom: 4px; }
.sp-filters .hh-field { margin-bottom: 0; min-width: 160px; flex: 1; }
.sp-filters .sp-cust { display: none; }
.sp-filters.custom .sp-cust { display: flex; }
.sp-fbtns { display: flex; gap: 8px; padding-top: 12px; }
.sp-chart { width: 100%; height: auto; display: block; }
.sp-chart .g { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sp-chart .yl { fill: var(--mut); font-size: 12px; text-anchor: end; }
.sp-chart .xl { fill: var(--mut); font-size: 12px; text-anchor: middle; }
.sp-chart .b { fill: var(--blue); }
.sp-chart .hit { fill: transparent; }
.sp-chart g:hover .b { fill: #4DA3FF; }
.hh-tbl th.n, .hh-tbl td.n { text-align: right; }
.sp-dead td { color: var(--mut); }
.sp-upgrade p { color: var(--mut); max-width: 60ch; }
.sp-newlink { border-color: var(--blue); }
.sp-newlink .sp-note { margin: 10px 0 0; }

/* the sponsor's own page (/r/…) */
.sp-pubbar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.sp-pubbar img { height: 30px; }
.sp-pubbar span { font-family: var(--hh-head); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); padding-left: 12px; border-left: 1px solid var(--line); }
.sp-pubhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 4px; }
.sp-pubhead h1 { font-size: 40px; }
.sp-publogo { width: 96px; height: 96px; object-fit: contain; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.sp-days { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.sp-foot { color: var(--mut); font-size: 13px; margin-top: 18px; }
@media (max-width: 640px) { .sp-pubhead h1 { font-size: 30px; } .sp-days { margin-left: 0; } }
