/* ghillie.wiki — the press kit ("subject dossier", dossier.html) only.
   Shared rules (body colors, banner, fade-in, footer) live in base.css. */

a {
  color: hotpink;
}

/* the artist handle, same as everywhere else on the site (see .handle in
   app.css for why it's 20px with no line-height) */
.handle {
  font-family: "RuneScape Large", "Times New Roman", serif;
  font-size: 20px;
  line-height: 0;
  white-space: nowrap;
}

/* hover (or tab to) a blacked-out phrase to read it, like on sightings */
.redacted {
  white-space: nowrap;
  background-color: #eee;
  color: #eee;
  cursor: pointer;
  transition: 0.2s ease;
}

.redacted:hover,
.redacted:focus {
  background-color: transparent;
  color: inherit;
  outline: none;
}

.dossier {
  width: 92%;
  max-width: 620px;
  margin: 28px auto 0;
  font-size: 12px;
  line-height: 1.6;
}

/* ⊂λ,ｍ⊙ in the small line at the very top: sized down to match it */
.dossier-org .camo {
  font-size: 16px;
}

.dossier-org {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #999;
}

/* 32px: this font is drawn on a 32-per-em pixel grid, so it's sharpest here */
.dossier-title {
  margin: 8px 0 4px;
  font-family: "RuneScape Large", "Times New Roman", serif;
  font-size: 32px;
  font-weight: normal;
  line-height: 1;
  color: #b9ff00;
}

.dossier-ref {
  margin: 0 0 22px;
  font-size: 10px;
  color: #999;
}

/* the file itself */
.dossier-file {
  text-align: left;
  border: 1px solid white;
  padding: 20px 22px 8px;
}

/* label / value pairs at the top of the file */
.dossier-fields {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 0 0 6px;
}

.dossier-fields dt {
  color: #999;
}

.dossier-fields dd {
  margin: 0;
}

/* section headings: the pixel font, lime, with a dashed rule under them
   (same look as the transmission log's headings) */
.dossier h3 {
  margin: 24px 0 10px;
  padding-bottom: 3px;
  border-bottom: 1px dashed #444;
  font-family: "RuneScape Large", "Times New Roman", serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 1px;
  color: #b9ff00;
}

.dossier-file p {
  margin: 0 0 10px;
}

.dossier-releases {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dossier-releases li {
  margin: 0 0 12px;
}

.dossier-file .dossier-release-line {
  margin: 0;
}

.dossier-date {
  color: #999;
  margin-right: 8px;
}

.dossier-release-title {
  font-family: "RuneScape Large", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
  margin-right: 8px;
}

.dossier-kind {
  color: #888;
  font-style: italic;
}

.dossier-file .dossier-links {
  margin: 2px 0 0;
  font-size: 11px;
  color: #666;
}

/* artwork and photos, two across (one across on phones) */
.dossier-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 6px;
}

.dossier-evidence figure {
  margin: 0;
}

.dossier-evidence img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #333;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* the covers are download links too: a teal glow on hover, the same
   glow the streaming icons get on the song pages */
.dossier-evidence-link {
  display: block;
}

.dossier-evidence-link:hover img,
.dossier-evidence-link:focus-visible img {
  border-color: #0494aa;
  box-shadow: 0 6px 16px rgba(4, 148, 170, 0.55);
}

/* blinking teal light next to "status: active", the same light as the
   transmission log's */
.dossier-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #0494aa;
  box-shadow: 0 0 5px #0494aa;
  vertical-align: middle;
  animation: dossier-blink 1.8s ease-in-out infinite;
}

@keyframes dossier-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dossier-live {
    animation: none;
  }
}

.dossier-evidence figcaption {
  margin-top: 6px;
  font-size: 10px;
  color: #999;
}

/* the wordmark gets the whole row, on a plain dark plate */
.dossier-wordmark {
  grid-column: 1 / -1;
}

.dossier-evidence .dossier-wordmark img {
  box-sizing: border-box;
  padding: 28px 14%;
  background: #0b0b0b;
  image-rendering: pixelated;
}

.dossier-pending {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px dashed #555;
  color: #666;
  font-size: 10px;
  text-align: center;
}

/* the plain-language version, set apart below the file */
.dossier-plain {
  text-align: left;
  margin: 28px 0 0;
  padding: 4px 22px 8px;
  border: 1px dashed #555;
}

.dossier-plain h3 {
  margin-top: 16px;
  margin-bottom: 2px;
}

.dossier-plain p {
  margin: 0 0 10px;
}

.dossier-plain .dossier-plain-note {
  font-size: 10px;
  color: #999;
}

@media (max-width: 520px) {
  .dossier-file,
  .dossier-plain {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dossier-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dossier-fields dd {
    margin-bottom: 6px;
  }

  .dossier-evidence {
    grid-template-columns: 1fr;
  }
}
