/* The public proof page. Follows the device's appearance; the video stage is dark always. */
:root {
  --bg: #ffffff; --text: #0b0b0c; --soft: #5c5c63; --line: #e3e3e8; --card: #f5f5f7;
  --ok: #17803d; --no: #8a8a92; --accent: #0b0b0c; --on-accent: #ffffff; --bad: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --text: #f5f5f7; --soft: #a1a1a8; --line: #2a2a2e; --card: #151517;
    --ok: #4cd97b; --no: #7a7a82; --accent: #ffffff; --on-accent: #000000; --bad: #ff6b60;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.mark { font-weight: 800; font-size: 22px; letter-spacing: 0.04em; }
.tag { color: var(--soft); font-size: 13px; }
.stage {
  background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 78vh;
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; position: relative;
}
.stage video, .stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.stage .note {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 14px; text-align: center;
}
h1 { font-size: 24px; line-height: 1.2; margin: 0 0 12px; letter-spacing: 0.02em; overflow-wrap: anywhere; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); margin: 24px 0 8px; }
dl { margin: 0; background: var(--card); border-radius: 14px; padding: 4px 14px; }
dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
dl div:first-child { border-top: 0; }
dt { color: var(--soft); flex: none; }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
ul.checks { list-style: none; margin: 0; padding: 4px 14px; background: var(--card); border-radius: 14px; }
ul.checks li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
ul.checks li:first-child { border-top: 0; }
ul.checks li::before { position: absolute; left: 2px; top: 10px; font-weight: 700; }
ul.checks li.ok::before { content: "\2713"; color: var(--ok); }
ul.checks li.no::before { content: "\2013"; color: var(--no); }
ul.checks li.bad::before { content: "\00d7"; color: var(--bad); }
/* The file's line: the one that opens. The chevron turns; proof.js lets the box grow. */
ul.checks details.moving { overflow: hidden; }
ul.checks summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
ul.checks summary::-webkit-details-marker { display: none; }
ul.checks summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px 3px 0;
  border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg);
}
ul.checks details[open]:not(.closing) summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
@media (prefers-reduced-motion: no-preference) {
  ul.checks summary::after { transition: transform 0.22s ease, margin 0.22s ease; }
}
ul.checks details .hint { margin: 8px 0 0; }
.copy {
  display: inline-block; margin: 8px 0 2px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 600;
}
.copy[hidden] { display: none; }
.under { font-size: 14px; color: var(--soft); margin: 10px 0 0; }
.how h3 { font-size: 15px; margin: 14px 0 2px; }
.how p { margin: 0; color: var(--soft); font-size: 14px; }
code { font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; color: var(--soft); display: block; margin-top: 4px; }
p { margin: 12px 0; }
.badge { margin: 0 0 8px; }
.badge a {
  display: inline-block; padding: 6px 12px 6px 30px; border-radius: 999px; position: relative;
  background: var(--card); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px;
}
.badge a::before { content: "\2713"; position: absolute; left: 12px; color: var(--ok); font-weight: 700; }
.long { color: var(--soft); font-size: 14px; margin: 0 0 14px; }
.meaning, .hint { color: var(--soft); font-size: 14px; }
a { color: inherit; }
.button {
  display: block; text-align: center; padding: 13px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--text); margin-top: 10px;
}
.button.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.result { min-height: 22px; font-weight: 600; }
.result.match { color: var(--ok); }
.result.differs { color: var(--bad); }
nav { margin-top: 28px; }
nav .report { display: block; text-align: center; margin-top: 18px; color: var(--soft); font-size: 14px; }
.message { padding: 56px 0 24px; text-align: center; }
.message h1 { font-size: 20px; }
.gap { margin-top: 20px; }
ul.checks li .hint { display: block; margin-top: 4px; }
.private { color: var(--soft); font-size: 14px; margin: -4px 0 12px; }
/* EYS-1.1: the creator's text, a covered (sensitive) video, the grids of the start page and a profile, the report form. */
.sensitive { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--card); color: var(--soft); font-size: 13px; font-weight: 600; }
.creator-text { margin: 0 0 14px; }
.creator-text h2 { margin: 0 0 6px; }
.layer-title { margin: 0; font-size: 15px; line-height: 19px; font-weight: 600; overflow-wrap: anywhere; }
.layer-line { margin: 3px 0 0; font-size: 13px; line-height: 17px; overflow-wrap: anywhere; }
.stage.covered { flex-direction: column; gap: 10px; padding: 24px 20px; color: #fff; text-align: center; aspect-ratio: auto; min-height: 280px; }
.cover-title { margin: 0; font-size: 18px; font-weight: 700; }
.cover-note { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.stage.covered .button { align-self: stretch; margin-top: 14px; background: #fff; color: #000; border-color: #fff; }
.about { margin: 0 0 16px; color: var(--soft); font-size: 15px; line-height: 1.35; }
ul.grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 14px; overflow: hidden; }
.tile { display: block; position: relative; aspect-ratio: 9 / 16; background: #111; color: #fff; text-decoration: none; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .where {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 6px; font-size: 11px; line-height: 1.25;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)); overflow-wrap: anywhere;
}
.tile .cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 6px; text-align: center; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.profile { text-align: center; padding: 8px 0 4px; }
.profile h1 { margin: 12px 0 2px; font-size: 22px; }
.profile .handle { margin: 0; color: var(--soft); font-size: 15px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--card); color: var(--soft); font-size: 34px; font-weight: 700; }
button.button { width: 100%; font: inherit; font-weight: 600; }
.eys-id { font-weight: 700; letter-spacing: 0.02em; overflow-wrap: anywhere; }
form { margin: 20px 0 8px; }
