.highlights-panel {
  width: min(100%, 62rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
}

@media (max-width: 1099px) {
  .site-view--highlights .panel-heading { min-height: 52px; display: grid; place-items: center; border-bottom: 1px solid var(--border); }
  .site-view--highlights .panel-heading .eyebrow, .site-view--highlights .highlights-summary { display: none; }
  .highlights-list { padding-top: 10px; gap: 7px; }
  .highlight-card__open { padding: 10px; }
}

.highlights-list {
  display: grid;
  gap: 10px;
}

.highlight-card {
  overflow: hidden;
  border: 1px solid var(--border, rgba(2, 48, 89, 0.20));
  border-left: 4px solid var(--accent, #0c65a4);
  border-radius: 14px;
  color: var(--text, inherit);
  background: var(--activity-card, var(--panel, #fff));
  box-shadow: var(--shadow-soft, 0 2px 8px rgba(15, 23, 42, 0.07));
}

.highlight-card__open {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  display: block;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.highlight-card__open:hover {
  background: var(--activity-card-hover, var(--panel-soft, #f4f7f9));
}

.highlight-card__open:active {
  opacity: 0.76;
}

.highlight-card__open:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent, #0c65a4) 62%, transparent);
  outline-offset: -3px;
}

.highlight-card__main,
.highlight-card__meta,
.highlight-detail__identity,
.highlight-detail__meta {
  min-width: 0;
  display: flex;
  align-items: center;
}

.highlight-card__main {
  gap: 11px;
}

.highlight-card h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  flex: 1 1 auto;
  color: var(--text, inherit);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.highlight-card__detail {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border, rgba(2, 48, 89, 0.20));
  border-radius: 11px;
  color: var(--text-soft, var(--text-muted, #52636d));
  background: var(--panel-soft, #f4f7f9);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
}

.highlight-artwork-slot {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
}

.highlight-artwork-slot--detail {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
}

.highlight-artwork-placeholder,
.highlight-card__agency-artwork,
.highlight-detail__agency-artwork {
  grid-area: 1 / 1;
}

.highlight-artwork-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border, rgba(2, 48, 89, 0.20));
  border-radius: 12px;
  color: var(--accent, #0c65a4);
  background: var(--now-bg, var(--panel-soft, #f4f7f9));
  font-size: 1.35rem;
}

.highlight-artwork-slot--detail .highlight-artwork-placeholder {
  border-radius: 16px;
  font-size: 1.6rem;
}

.highlight-card__agency-artwork {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  background: var(--activity-card, var(--panel, #fff));
}

.highlight-detail__agency-artwork {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  background: var(--panel-soft, #f4f7f9);
}

.highlight-artwork-slot:has(.agency-artwork[data-loaded="true"])
  .highlight-artwork-placeholder {
  opacity: 0;
}

.highlight-card__meta,
.highlight-detail__meta {
  justify-content: space-between;
  gap: 12px;
}

.highlight-card__meta {
  margin-top: 8px;
}

.highlight-card__agency,
.highlight-detail__agency {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
  color: var(--accent, #0c65a4);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight-card time,
.highlight-detail time {
  flex: 0 0 auto;
  color: var(--text-muted, #52636d);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 11px;
  background: var(--panel-soft, #f4f7f9);
}

.highlight-card .content-image--preview {
  width: 100%;
  max-height: 13rem;
  margin: 10px 0 0;
  object-fit: contain;
}

.highlight-detail {
  padding: 14px;
  border: 1px solid var(--border, rgba(2, 48, 89, 0.20));
  border-left: 4px solid var(--accent, #0c65a4);
  border-radius: 16px;
  color: var(--text, inherit);
  background: var(--panel-soft, #f4f7f9);
}

.highlight-detail__identity {
  gap: 12px;
}

.highlight-detail__title {
  min-width: 0;
  margin: 0;
  flex: 1 1 auto;
  color: var(--text, inherit);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.highlight-detail__meta {
  margin-top: 9px;
}

.highlight-detail__body {
  margin-top: 14px;
  color: var(--text, inherit);
  font-size: 1.02rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.highlight-detail__listen {
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--accent, #0c65a4);
  border-radius: 12px;
  color: #fff;
  background: var(--ean-blue, #023059);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.highlight-detail__listen-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
}

.highlight-detail__listen-copy {
  min-width: 0;
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
}

.highlight-detail__listen-copy strong {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight-detail__listen-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.highlight-detail__listen-chevron {
  flex: 0 0 auto;
  font-size: 1.7rem;
  line-height: 1;
}

.highlight-audio-section {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--border, rgba(2, 48, 89, 0.20));
}

/* Highlight detail audio layout is shared with Alert detail in navigation.css. */

.highlight-audio-status {
  min-height: 1.2em;
  margin: 6px 0 0 56px;
  color: var(--text-soft, var(--text-muted, #52636d));
  font-size: 0.7rem;
  font-weight: 650;
}

.highlight-audio-pending {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent, #0c65a4) 72%, var(--border));
  border-radius: 10px;
  color: var(--text, inherit);
  background: color-mix(in srgb, var(--accent, #0c65a4) 10%, transparent);
  font-size: 0.76rem;
  font-weight: 800;
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.highlight-location {
  padding: 0.75rem;
  color: var(--text-soft, var(--text, inherit));
  background: color-mix(in srgb, var(--accent, #023059) 9%, var(--panel, #fff));
  border-radius: 8px;
}

.public-location-map {
  margin: 0.75rem 0 1rem;
}

.public-location-map__viewport {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #dfe7eb;
}

.public-location-map__canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 300;
}

.public-location-map__radius {
  fill: rgba(2, 48, 89, 0.20);
  stroke: rgba(2, 48, 89, 0.92);
  stroke-width: 3;
}

.public-location-map__marker-outer { fill: #fff; }
.public-location-map__marker-inner { fill: #b42318; }

.public-location-map figcaption {
  margin-top: 0.4rem;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.public-location-map figcaption a { color: inherit; }

@media (max-width: 680px) {
  .highlights-panel {
    padding: 0.75rem;
  }

  .highlight-card__open {
    padding: 11px;
  }

  .highlight-detail {
    padding: 12px;
  }

  .highlight-artwork-slot--detail,
  .highlight-detail__agency-artwork {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .publication-actions .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-card__open,
  .highlight-detail__listen {
    transition: none;
  }
}

#highlights-retry[hidden] {
  display: none !important;
}
/* FINAL NATIVE HIGHLIGHTS AUTHORITY — 2026-10-30 */
@media (max-width: 1099px) {
  .site-view--highlights {
    padding-right: 0;
    padding-left: 0;
  }

  .site-view--highlights > .highlights-panel,
  .highlights-panel {
    width: 100%;
    padding: 0;
  }

  .site-view--highlights .panel-heading {
    box-sizing: border-box;
    min-height: 52px;
    margin: 0;
    padding: 0 14px;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

  .site-view--highlights .panel-heading h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.025em;
  }

  .site-view--highlights .panel-heading .eyebrow,
  .site-view--highlights .highlights-summary {
    display: none;
  }

  .site-view--highlights .highlights-list {
    box-sizing: border-box;
    gap: 10px;
    padding: 12px 12px var(--mobile-shell-bottom-reserve);
  }

  .site-view--highlights .highlight-card {
    box-sizing: border-box;
    min-height: 92px;
    border-radius: 16px;
  }

  .site-view--highlights .highlight-card__open {
    min-height: 92px;
    padding: 12px;
  }

  .site-view--highlights .highlight-card__artwork {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .site-view--highlights .highlight-card h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
  }

  .site-view--highlights .highlight-card__detail {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
  }

  .site-view--highlights .highlight-card__meta {
    margin-top: 8px;
  }

  .site-view--highlights .highlight-card__identity {
    font-size: 12px;
    font-weight: 800;
  }

  .site-view--highlights .highlight-card__time {
    font-size: 11px;
    font-weight: 700;
  }
}
