/* BreachBug overview — the ship's shared space.
   Loaded only by index.html; archive.css remains the shared design system. */
.page-overview .main { background-image: radial-gradient(#34503c36 .65px, transparent .65px); }
.breachbug-hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 3vw, 42px); }
.ship-intro { padding: 9px 0 14px; min-width: 0; }
.ship-intro > .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.ship-title { color: var(--green); font-size: clamp(46px, 5.4vw, 86px); line-height: 1; font-weight: 800; letter-spacing: -.065em; margin: 0 0 19px; }
.ship-pairing { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text); font: 12px/1.7 var(--mono); letter-spacing: .015em; }
.ship-pairing .pairing-cross { color: var(--green); font-size: 17px; }
.ship-intro .hero-rule { margin: 22px 0; }
.ship-intro h2 { font-size: 24px; font-weight: 400; line-height: 1.35; letter-spacing: -.03em; margin-bottom: 13px; }
.ship-intro .ship-welcome { max-width: 430px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.ship-intro .actions { margin-top: 23px; }
.ship-intro .button { gap: 14px; }
.ship-art { border-color: var(--line-bright); position: relative; }
.ship-art::before, .ship-art::after { content: ''; position: absolute; width: 11px; height: 11px; color: var(--green); pointer-events: none; z-index: 2; }
.ship-art::before { left: -2px; top: -2px; border-top: 3px solid; border-left: 3px solid; }
.ship-art::after { bottom: -2px; right: -2px; border-bottom: 3px solid; border-right: 3px solid; }
.ship-art .ship-art-link { display: block; overflow: hidden; background: #080e0b; }
.ship-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.ship-art figcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; border-top: 1px solid var(--line); color: var(--muted); font: 8px/1.6 var(--mono); letter-spacing: .04em; }
.ship-art figcaption span:last-child { color: var(--green); }
.media-section { scroll-margin-top: 18px; }
.media-section > .section-heading { margin-top: 30px; }
.ship-media-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(285px, .85fr); gap: 20px; align-items: start; }
.edit-panel, .playlist-panel { min-width: 0; }
.edit-panel > .panel-head span:last-child, .playlist-panel > .panel-head span:last-child { white-space: nowrap; }
.edit-stage { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: #030906; overflow: hidden; border-bottom: 1px solid var(--line); }
.edit-stage video { display: block; width: 100%; height: 100%; max-height: 100%; position: absolute; inset: 0; object-fit: contain; background: #030705; }
.video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; background: radial-gradient(ellipse at center, #25422a55, transparent 72%), linear-gradient(#477c4b15 1px, transparent 1px), linear-gradient(90deg, #477c4b15 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.video-empty::before { content: ''; position: absolute; inset: 14px; border: 1px solid #34513b; pointer-events: none; }
.video-mark { width: 61px; height: 61px; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--green); margin-bottom: 17px; }
.video-mark svg { width: 28px; height: 28px; }
.video-empty h3 { font-size: 18px; font-weight: 400; line-height: 1.35; letter-spacing: -.015em; color: var(--text); }
.video-empty p { margin-top: 6px; color: var(--muted); font: 9px/1.7 var(--mono); }
.edit-info { padding: 18px 19px; }
.edit-title-line { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.edit-title { font-size: 18px; font-weight: 400; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.edit-current { white-space: nowrap; color: var(--muted); font: 9px/1.6 var(--mono); padding-top: 4px; }
.edit-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 5px; }
.media-status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 11px 16px; color: var(--muted); font: 8px/1.6 var(--mono); letter-spacing: .04em; min-height: 44px; }
.media-status-row .status-caption { display: flex; align-items: center; gap: 8px; }
.standby-light { display: inline-block; width: 5px; height: 5px; border: 1px solid var(--dim); border-radius: 50%; flex: 0 0 5px; }
.edit-navigation { display: flex; align-items: center; gap: 7px; }
.edit-navigation button { color: var(--green); font: 14px/1 var(--mono); background: transparent; border: 1px solid var(--line); min-width: 36px; min-height: 34px; padding: 5px 10px; }
.edit-navigation button:hover { background: #17301c; border-color: var(--green); }
.edit-list { list-style: none; display: grid; gap: 7px; margin: 0; padding: 0 17px 16px; }
.edit-list:empty { display: none; }
.edit-list li { min-width: 0; }
.edit-list button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: baseline; background: #07110b; border: 1px solid var(--line); color: var(--muted); padding: 10px 13px; min-height: 39px; font: 10px/1.5 var(--mono); overflow-wrap: anywhere; }
.edit-list button:hover { border-color: var(--line-bright); color: var(--green); }
.edit-list button[aria-current='true'] { background: #172b1a; color: var(--green); border-color: var(--line-bright); box-shadow: inset 2px 0 var(--green); }
.video-error { padding: 12px 18px; margin: 0; background: #241e12; color: var(--amber); font-size: 12px; line-height: 1.7; border-bottom: 1px solid #5d4b2e; }
.playlist-slot { min-height: 352px; position: relative; background: #06100a; }
.playlist-slot iframe { display: block; width: 100%; height: 352px; border: 0; background: #07110c; }
.playlist-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 352px; padding: 28px 21px; text-align: center; background: radial-gradient(circle at 50% 29%, #243d274d, transparent 58%); }
.playlist-empty h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; font-weight: 400; margin: 18px 0 11px; }
.playlist-empty .playlist-caption { font: 9px/1.7 var(--mono); color: var(--muted); }
.playlist-empty p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.audio-diagram { width: 100%; max-width: 210px; height: 72px; color: var(--green); }
.audio-diagram .audio-guide { opacity: .2; }
.audio-diagram .audio-wave { opacity: .75; }
.playlist-external { color: var(--green); font: 8px/1.5 var(--mono); text-transform: uppercase; white-space: nowrap; }
.playlist-external:hover { color: var(--text); }
.playlist-note { padding: 16px 19px; font-size: 12px; line-height: 1.75; color: var(--muted); border-top: 1px solid var(--line); }
.overview-directory .section-heading { margin-top: 31px; }
.overview-directory .directory-info h3 { font-size: 23px; }
.shared-record-strip { display: grid; grid-template-columns: 1.1fr 1fr 1fr; margin-top: 20px; background: #09150eed; border: 1px solid var(--line); }
.shared-record-strip > * { padding: 19px; min-width: 0; }
.shared-record-strip > * + * { border-left: 1px solid var(--line); }
.shared-record-strip h2 { font: 10px/1.5 var(--mono); color: var(--green); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.shared-record-strip p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.shared-record-strip a:hover { background: #11251a; }
.shared-record-strip .strip-link { color: var(--green); font: 9px/1.5 var(--mono); display: block; margin-top: 8px; }
.media-noscript { font-size: 12px; color: var(--muted); padding: 14px 0; }
@media (max-width: 1190px) {
  .breachbug-hero { gap: 25px; }
  .ship-title { font-size: clamp(45px, 5.3vw, 66px); }
  .ship-pairing { font-size: 11px; gap: 9px; }
  .ship-intro h2 { font-size: 22px; }
  .ship-media-grid { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .85fr); gap: 16px; }
  .edit-title { font-size: 17px; }
  .video-mark { width: 49px; height: 49px; margin-bottom: 11px; }
  .video-empty h3 { font-size: 17px; }
}
@media (max-width: 960px) {
  .ship-title { font-size: clamp(47px, 7vw, 72px); }
  .ship-pairing { font-size: 11px; }
  .ship-art figcaption { font-size: 7px; }
}
@media (max-width: 760px) {
  .ship-media-grid { grid-template-columns: 1fr; gap: 18px; }
  .playlist-empty { min-height: 310px; }
  .playlist-slot { min-height: 310px; }
  .video-mark { width: 62px; height: 62px; margin-bottom: 16px; }
  .video-empty h3 { font-size: 20px; }
  .media-status-row { min-height: 45px; }
}
@media (max-width: 720px) {
  .breachbug-hero { grid-template-columns: 1fr; gap: 23px; }
  .ship-title { font-size: clamp(49px, 11vw, 76px); margin-bottom: 17px; }
  .ship-pairing { font-size: 12px; gap: 10px; }
  .ship-intro { padding: 2px 0 0; }
  .ship-intro h2 { font-size: 24px; }
  .ship-intro .ship-welcome { max-width: 100%; }
  .ship-intro .hero-rule { margin: 20px 0; }
  .ship-art { max-width: 100%; }
  .ship-art figcaption { font-size: 8px; }
  .shared-record-strip { grid-template-columns: 1fr; }
  .shared-record-strip > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .shared-record-strip > * { padding: 16px 19px; }
}
@media (max-width: 440px) {
  .ship-title { font-size: clamp(46px, 12.9vw, 57px); }
  .ship-pairing { font-size: 10px; gap: 8px; }
  .ship-intro h2 { font-size: 22px; }
  .ship-art .panel-head { font-size: 8px; }
  .ship-art figcaption { font-size: 7px; padding: 10px; }
  .video-empty { padding: 17px; }
  .video-empty::before { inset: 10px; }
  .video-mark { width: 44px; height: 44px; margin-bottom: 10px; }
  .video-mark svg { width: 21px; height: 21px; }
  .video-empty h3 { font-size: 17px; }
  .video-empty p { font-size: 8px; }
  .edit-info { padding: 15px; }
  .edit-title { font-size: 16px; }
  .edit-description { font-size: 11px; }
  .media-status-row { padding: 10px 13px; font-size: 7px; }
  .playlist-empty h3 { font-size: 25px; }
  .overview-directory .directory-info h3 { font-size: 21px; }
}
.edit-choice-index { color: var(--dim); flex: 0 0 auto; }
.edit-choice-copy { display: grid; gap: 3px; min-width: 0; }
.edit-choice-title { color: inherit; }
.edit-choice-description { color: var(--muted); font-size: 9px; line-height: 1.6; }
.edit-choice[aria-current='true'] .edit-choice-index { color: var(--green); }

.edit-panel {
  width: 100%;
  max-width: 600px;
  justify-self: center;
}

.edit-stage {
  aspect-ratio: 1 / 1;
}


/* ==========================================
   BREACHBUG — SHIP FLAG
   ========================================== */

.ship-flag-panel {
  margin-top: 20px;
  width: 100%;
  overflow: hidden;
}

.ship-flag-content {
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 15, 8, 0.65);
}

.ship-flag-content a {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

.ship-flag-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(158, 255, 125, 0.2);
  transition: filter 0.25s ease;
}

.ship-flag-image:hover {
  filter: brightness(1.15);
}

.ship-flag-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(158, 255, 125, 0.2);
  color: #a6f58c;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .ship-flag-content {
    padding: 8px;
  }

  .ship-flag-footer {
    font-size: 9px;
  }
}
/* ==========================================
   PLAYLIST + SHIP FLAG COLUMN
   ========================================== */

.playlist-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  align-self: start;
}

.playlist-stack .playlist-panel,
.playlist-stack .ship-flag-panel {
  width: 100%;
  margin: 0;
}