/* /home/hkiugcom/website.airplay/assets/airlog/airlog.css */

/* ── Page wrapper ────────────────────────────────────────────────────────── */
.al-page {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.al-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
  background: rgba(10, 12, 20, 0.5);
  border: 1px solid rgba(43, 50, 71, 0.5);
  border-radius: 12px;
  padding: 10px 14px;
}

.al-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.al-title-row {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}
.al-title-date {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(226, 232, 240, 0.95);
}
.al-title-sub {
  color: rgba(226, 232, 240, 0.35);
}


.al-desc-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 10px;
  color: rgba(148, 163, 184, 0.52);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-wrap: wrap;
}

.al-desc-count {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.90);
}

.al-desc-hint {
  color: rgba(148, 163, 184, 0.52);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.al-row--highlight {
  background: rgba(253, 224, 71, 0.06) !important;
  box-shadow: inset 3px 0 0 rgba(253, 224, 71, 0.45);
}
.al-row--highlight .al-td:not(.al-col-type),
.al-row--highlight .al-track-link {
  color: rgba(226, 232, 240, .92) !important;
}
.al-row--highlight .al-sub {
  color: rgba(226, 232, 240, .60) !important;
}

.al-legend-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.al-types-label {
  font-size: 10px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.al-types-label-text {
  color: rgba(180, 196, 212, 0.84);
}
.al-types-label-count {
  color: rgba(148, 163, 184, 0.52);
}

.al-icon-legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.al-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.al-legend-label {
  font-size: 10px;
  color: rgba(148, 163, 184, 0.52);
  letter-spacing: 0.02em;
}

.al-legend-filter {
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 2px 6px 2px 2px;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .14s, background .14s, border-color .14s;
}
.al-legend-filter:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
}
.al-legend-filter .al-legend-label {
  color: rgba(180, 196, 212, 0.84);
  transition: color .14s;
}
.al-legend-filter.is-off {
  opacity: 0.32;
}
.al-legend-filter.is-off .al-legend-label {
  color: rgba(148, 163, 184, 0.50);
}
.al-legend-filter.is-absent {
  display: none;
}

.al-report-hint-icon {
  display: inline-flex;
  vertical-align: middle;
  margin: 0 1px;
}
.al-report-hint-icon svg {
  width: 11px;
  height: 11px;
}

.al-mode-pills {
  display: flex;
  gap: 4px;
}

.al-mode-btn {
  font-size: 10px;
  padding: 3px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(148, 163, 184, 0.60);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color .12s, border-color .12s, background .12s;
}
.al-mode-btn:hover {
  color: rgba(226, 232, 240, 0.90);
  border-color: rgba(255, 255, 255, 0.20);
}
.al-mode-btn.is-active {
  color: rgba(226, 232, 240, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Table ───────────────────────────────────────────────────────────────── */
.al-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.al-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.88);
}

.al-thead-row {
  background: rgba(21, 25, 38, 0.5);
}

.al-th {
  padding: 5px 10px;
  text-align: left;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.60);
  border-bottom: 1px solid rgba(43, 50, 71, 0.6);
  white-space: nowrap;
}

.al-td {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(43, 50, 71, 0.22);
  white-space: nowrap;
  vertical-align: middle;
}

.al-row {
  cursor: pointer;
}
.al-row:hover .al-td {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Columns ─────────────────────────────────────────────────────────────── */
.al-col-time {
  width: 42px;
  font-variant-numeric: tabular-nums;
}
.al-td.al-col-time { color: rgba(148, 163, 184, 0.55); }
.al-col-type  { width: 46px; text-align: center; }

.al-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  vertical-align: middle;
}
.al-type-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.al-type-icon--mix svg { width: auto; height: 14px; }
.al-type-icon--del   { color: rgba(248, 113, 113, 0.80); }
.al-type-icon--break { color: rgba(253, 224, 71, 0.42); }
.al-type-icon--short { color: rgba(255, 255, 255, 0.35); }
.al-type-icon--long  { color: rgba(255, 255, 255, 0.35); }
.al-type-icon--prod  { color: rgba(248, 113, 113, 0.55); }
.al-type-icon--song   { color: rgba(100, 160, 210, 0.52); }
.al-type-icon--report { color: rgba(253, 224, 71,  0.82); }
.al-col-artist {
  max-width: 175px;
  overflow: hidden;
}
.al-col-title {
  max-width: 175px;
  overflow: hidden;
}
.al-col-dur {
  width: 88px;
  text-align: right;
  color: rgba(148, 163, 184, 0.55);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.al-col-lstn      { width: 60px; text-align: right; font-variant-numeric: tabular-nums; }
.al-td.al-col-lstn { color: rgba(148, 163, 184, 0.55); }
.al-col-drop      { width: 88px; text-align: right; font-variant-numeric: tabular-nums; }
.al-col-ratio     { width: 54px; text-align: right; font-variant-numeric: tabular-nums; }
.al-col-rationorm { width: 54px; text-align: right; font-variant-numeric: tabular-nums; color: rgba(148, 163, 184, 0.70); }
.al-col-trackplayseq { width: 44px; text-align: right; font-variant-numeric: tabular-nums; color: rgba(148, 163, 184, 0.55); }
.al-col-perf2h    { width: 60px; text-align: left; }
.al-col-pop       { width: 70px; text-align: right; font-variant-numeric: tabular-nums; }
.al-col-exitsec   { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.al-col-playid    { width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.al-td.al-col-playid .al-track-link { display: inline; }
.al-col-trackid   { width: 58px; text-align: right; font-variant-numeric: tabular-nums; }
.al-td.al-col-trackid { color: rgba(148, 163, 184, 0.45); }
.al-col-playn     { width: 36px; text-align: right; font-variant-numeric: tabular-nums; color: rgba(148, 163, 184, 0.45); }

/* ── Links ───────────────────────────────────────────────────────────────── */
.al-time-link {
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.al-time-link:hover { color: #fff; }

.al-track-link {
  color: rgba(226, 232, 240, 0.82);
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.al-track-link:hover { color: rgba(250, 204, 21, 0.90); }

.al-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(226, 232, 240, 0.55);
}

/* ── Type badges ─────────────────────────────────────────────────────────── */
.al-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}
.al-badge--show  { background: rgba(139, 92, 246, 0.20); color: rgba(167, 139, 250, 0.90); }
.al-badge--break { background: rgba(59,  130, 246, 0.18); color: rgba(147, 197, 253, 0.90); }
.al-badge--prod  { background: rgba(245, 158,  11, 0.18); color: rgba(252, 211,  77, 0.90); }
.al-badge--del   { background: rgba(239,  68,  68, 0.18); color: rgba(252, 165, 165, 0.90); }
.al-badge--short { background: rgba(148, 163, 184, 0.10); color: rgba(148, 163, 184, 0.55); }
.al-badge--long  { background: rgba(139,  92, 246, 0.14); color: rgba(167, 139, 250, 0.65); }

/* ── Th subtitle (e.g. PP/MIN under RATIO) ───────────────────────────────── */
.al-sub {
  color: rgba(148, 163, 184, 0.55);
  font-size: 10px;
}
.al-th-sub {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.65;
  display: block;
  margin-top: 1px;
  text-transform: uppercase;
}

/* ── Stars (perf2h_class) ────────────────────────────────────────────────── */
.al-stars { font-size: 10px; letter-spacing: -0.5px; white-space: nowrap; }
.al-stars--nil { color: rgba(255, 255, 255, 0.35); }
.al-stars--0   { color: rgba(148, 163, 184, 0.25); }
.al-stars--1   { color: rgba(148, 163, 184, 0.40); }
.al-stars--2   { color: rgba(148, 163, 184, 0.55); }
.al-stars--3   { color: rgba(250, 204,  21, 0.65); }
.al-stars--4   { color: rgba(250, 204,  21, 0.82); }
.al-stars--5   { color: rgba(52,  211, 153, 0.90); }

/* ── Date separator ──────────────────────────────────────────────────────── */
.al-date-row td { border: none !important; }
.al-date-cell {
  padding: 14px 10px 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.35);
  user-select: none;
}

/* ── Gap rows ────────────────────────────────────────────────────────────── */
.al-gap-row td { border: none !important; pointer-events: none; }
.al-gap-cell   { padding: 2px 10px 3px; }
.al-gap-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.22);
  font-family: ui-monospace, monospace;
  white-space: nowrap;
}
.al-gap-label::before,
.al-gap-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.08);
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.al-empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.40);
}
.al-empty-track {
  color: #fff;
}

/* ── Topbar right ────────────────────────────────────────────────────────── */
.al-topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Date display ────────────────────────────────────────────────────────── */
.al-date-display {
  font-size: 13px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.82);
  letter-spacing: 0.01em;
}

.al-today-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 204, 21, 0.70);
  margin-left: 4px;
}

/* ── Date navigation ─────────────────────────────────────────────────────── */
.al-date-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.al-end-marker {
  text-align: center;
  padding: 28px 0 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.28);
  user-select: none;
}

.al-bottom-nav {
  display: flex;
  gap: 6px;
  padding: 0 4px 28px;
}

.al-date-nav-btn {
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(148, 163, 184, 0.65);
  font-size: 10px;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color .12s, border-color .12s, background .12s;
}
.al-date-nav-btn:hover {
  color: rgba(226, 232, 240, 0.90);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
.al-date-nav-btn--today {
  color: rgba(250, 204, 21, 0.70);
  border-color: rgba(250, 204, 21, 0.18);
}
.al-date-nav-btn--today:hover {
  color: rgba(250, 204, 21, 0.95);
  border-color: rgba(250, 204, 21, 0.32);
  background: rgba(250, 204, 21, 0.05);
}

.al-date-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  color: rgba(226, 232, 240, 0.80);
  font-size: 11px;
  padding: 2px 6px;
  font-family: ui-monospace, monospace;
  cursor: pointer;
  outline: none;
  transition: border-color .12s;
}
.al-date-input:hover,
.al-date-input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(226, 232, 240, 0.95);
}
.al-date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}
.al-date-input--static {
  pointer-events: none;
  cursor: default;
}
.al-date-input--static::-webkit-calendar-picker-indicator {
  display: none;
}

/* ── Column header hover tooltip ─────────────────────────────────────────── */
.al-th[data-al-info] {
  cursor: help;
}

#alHoverTip {
  position: fixed;
  z-index: 200;
  background: #151926;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 6px;
  padding: 8px 12px;
  max-width: 260px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease;
  font-family: inherit;
  white-space: normal;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

#alHoverTip.is-on {
  opacity: 1;
  transform: translateY(0);
}

.al-htip-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
  margin-bottom: 5px;
}

.al-htip-body {
  font-size: 11px;
  color: rgba(226, 232, 240, 0.82);
}

/* ── Column header accents ───────────────────────────────────────────────── */
.al-th.al-col-artist,
.al-th.al-col-title,
.al-th.al-col-playid { color: rgba(250, 204, 21, 0.65); }

.al-cap-drop { color: rgba(250, 204, 21, 0.65); cursor: default; }

/* ── Sort indicators ─────────────────────────────────────────────────────── */
.al-th[data-sortable] {
  cursor: pointer;
  transition: color .10s;
}
.al-th[data-sortable]:hover {
  color: rgba(148, 163, 184, 0.72);
}
.al-th.al-sort-asc::after  { content: ' ▲'; font-size: 7px; opacity: 0.75; }
.al-th.al-sort-desc::after { content: ' ▼'; font-size: 7px; opacity: 0.75; }

/* ── Current trend button ────────────────────────────────────────────────── */
.al-trend-btn {
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 5px;
  padding: 2px 8px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.72);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .14s, color .14s;
  margin-left: 4px;
}
.al-trend-btn:hover {
  border-color: rgba(148, 163, 184, 0.50);
  color: rgba(180, 196, 212, 0.95);
}

/* ── FLAGS anomaly view ──────────────────────────────────────────────────── */
.al-flags-view {
  display: none;
}
.al-flags-view.is-visible {
  display: block;
}

.al-flags-btn {
  position: relative;
}
.al-flags-btn.is-on {
  border-color: rgba(251, 191, 36, 0.55);
  color: rgba(251, 191, 36, 0.90);
}
.al-flags-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.18);
  color: rgba(251, 191, 36, 0.90);
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.al-fcol-date   { width: 110px; }
.al-fcol-wd     { width: 36px; color: rgba(148, 163, 184, 0.45); }
.al-fcol-plays  { width: 56px; }
.al-fcol-songs  { width: 100px; }
.al-fcol-avg    { width: 50px; color: rgba(148, 163, 184, 0.45); }
.al-fcol-delta  { width: 100px; font-variant-numeric: tabular-nums; }
.al-fcol-hours  { width: 80px; font-variant-numeric: tabular-nums; }
.al-fcol-tl     { width: 176px; padding-top: 0; padding-bottom: 0; vertical-align: middle; }
.al-ftl-cv      { display: block; border-radius: 2px; }
.al-fcol-type   { width: 82px; }
.al-fcol-type .al-fsvg-item svg { height: 14px; }

.al-fdelta--pos { color: rgba(52, 211, 153, 0.85); }
.al-fdelta--neg { color: rgba(251, 191, 36, 0.85); }

.al-ftype {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.6;
}
.al-ftype--partial {
  background: rgba(148, 163, 184, 0.12);
  color: rgba(148, 163, 184, 0.70);
}
.al-ftype--low {
  background: rgba(251, 191, 36, 0.12);
  color: rgba(251, 191, 36, 0.85);
}
.al-ftype--high {
  background: rgba(52, 211, 153, 0.12);
  color: rgba(52, 211, 153, 0.85);
}

/* ── Flag type SVG icons ─────────────────────────────────────────────────── */
.al-fsvg-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.al-fsvg-item svg {
  height: 9px;
  width: auto;
  flex-shrink: 0;
}
.al-fsvg--high   { color: rgba(52, 211, 153, 0.85); }
.al-fsvg--low    { color: rgba(251, 191, 36, 0.85); }
.al-fsvg--partial { color: rgba(148, 163, 184, 0.70); }
.al-fsvg--high svg g   { fill: rgba(52, 211, 153, 0.85); }
.al-fsvg--low svg g    { fill: rgba(251, 191, 36, 0.85); }
.al-fsvg--partial svg g { fill: rgba(148, 163, 184, 0.70); }
.al-fsvg-desc {
  font-size: 10px;
  letter-spacing: 0.03em;
  color: rgba(180, 196, 212, 0.72);
}

/* ── Back-to-log pill (when moved into shell header) ────────────────────── */
.al-hdr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #23283a;
  background: rgba(21, 25, 38, 0.45);
  color: #e5e7eb;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms, color 150ms;
  margin-left: 0;
}
.al-hdr-pill:hover {
  background: rgba(20, 26, 42, 0.65);
  color: #f3f4f6;
}

/* ── Listener stall label ────────────────────────────────────────────────── */
.al-lstn-stall {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(220, 100, 60, 0.85);
  margin-top: 3px;
  white-space: nowrap;
}
.al-lstn-stall--none {
  color: rgba(248, 113, 113, 0.75);
}
.al-flags-view .al-fcol-hours {
  white-space: normal;
}

/* ── Flags mode ──────────────────────────────────────────────────────────── */
body.al-flags-on #alTopbar { display: none; }
body.al-flags-on .al-end-marker { display: none; }
body.al-flags-on .al-bottom-nav { display: none; }

#alFlagsBtn.is-on {
  border-color: rgba(251, 191, 36, 0.55);
  color: rgba(251, 191, 36, 0.90);
}

#alFlagsHeader {
  display: none;
}
body.al-flags-on #alFlagsHeader {
  display: flex;
}

/* ── Compact column mode ─────────────────────────────────────────────────── */
.al-table.al-compact .al-col-drop,
.al-table.al-compact .al-col-exitsec,
.al-table.al-compact .al-col-trackid,
.al-table.al-compact .al-col-ratio,
.al-table.al-compact .al-col-playn {
  display: none;
}
.al-table.al-compact .al-col-dur .al-sub,
.al-table.al-compact .al-col-ratio .al-sub {
  display: none;
}
#alColumnsBtn {
  margin-left: auto;
}
#alColumnsBtn.is-on,
#listenerTrendDivider.is-on {
  border-color: rgba(99, 179, 237, 0.55);
  color: rgba(99, 179, 237, 0.90);
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .al-col-artist { max-width: 110px; }
  .al-col-title  { max-width: 110px; }
}

/* ── TOP button highlight pulse (from play page) ─────────────────────────── */
@keyframes alTopPulse {
  0%        { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.10); }
  16.67%    { color: rgba(250,204,21,.85); border-color: rgba(250,204,21,.45); }
  33.33%    { color: rgba(250,204,21,.85); border-color: rgba(250,204,21,.45); }
  50%       { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.10); }
  100%      { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.10); }
}
.ap-backtop.is-highlight-pulse {
  animation: alTopPulse 6s ease-in-out infinite;
}

/* ── Song preview hover / play ───────────────────────────────────────────── */
.al-song-preview {
  transition: color .14s;
}
.al-song-preview.has-preview {
  color: rgba(100, 160, 210, 0.88);
  cursor: pointer;
}
.al-song-preview.has-preview:hover svg {
  width: 10px;
  height: 10px;
}
.al-song-preview.is-playing {
  color: rgba(59, 130, 246, 0.94);
}
.al-song-preview.is-playing svg {
  width: 11px;
  height: 11px;
}

/* Legend +audio entry */
.al-legend-audio {
  display: none;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.al-legend-audio.is-on {
  display: inline-flex;
}
.al-legend-audio .al-type-icon {
  color: rgba(100, 160, 210, 0.88);
}
.al-legend-audio .al-legend-label {
  color: rgba(100, 160, 210, 0.72);
}

/* ── Broadcast identity (shared pattern) ── */
.tp-broadcast-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e63535;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(230,53,53,0.4);
  animation: tp-broadcast-pulse 2.4s ease-in-out infinite;
}
@keyframes tp-broadcast-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(230,53,53,0.55); }
  65%  { box-shadow: 0 0 0 6px rgba(230,53,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,53,53,0); }
}
@media (prefers-reduced-motion: reduce) {
  .tp-broadcast-dot { animation: none; }
}
.tp-broadcast-bar {
  display: flex;
  align-items: center;
  gap: 7px;
}
.al-bc-bar {
  margin-bottom: 6px;
}
.tp-broadcast-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230,53,53,0.82);
}
.tp-broadcast-sep {
  font-size: 11px;
  color: rgba(255,255,255,0.14);
}
.tp-broadcast-station {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.50);
}
