:root {
  --paper: #e9e6dc;
  --paper-deep: #d8d3c6;
  --paper-light: #f4f1e8;
  --ink: #17201d;
  --ink-soft: #45504b;
  --muted: #6d746f;
  --line: #c5c0b3;
  --line-dark: #959a91;
  --green: #173f39;
  --green-bright: #28695d;
  --green-pale: #dce7df;
  --red: #a3382a;
  --red-dark: #79271f;
  --amber: #c58a3c;
  --yellow: #e2ba62;
  --white: #fffdf6;
  --black: #090d0c;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --mono: "Cascadia Mono", "SFMono-Regular", "Consolas", monospace;
  --wrap: 1280px;
  --shadow: 0 20px 55px rgba(10, 18, 15, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    repeating-linear-gradient(0deg, rgba(27, 45, 39, 0.018) 0, rgba(27, 45, 39, 0.018) 1px, transparent 1px, transparent 4px),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  position: relative;
  z-index: 100;
  padding: 12px 24px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.site-stripe {
  height: 5px;
  background: var(--green);
}

.gov-strip {
  background: #f4f1e7;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.gov-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  gap: 16px;
}

.gov-strip__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.gov-strip__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43815e;
  box-shadow: 0 0 0 3px rgba(67, 129, 94, 0.14);
}

.site-header {
  position: relative;
  z-index: 5;
  background: rgba(244, 241, 231, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand__seal {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-2deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.header-meta {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.hero {
  position: relative;
  min-height: 690px;
  isolation: isolate;
  overflow: hidden;
  background: #0f1e1a;
  color: var(--white);
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(0.82);
}

.hero__veil {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 15, 0.98) 0%, rgba(8, 18, 15, 0.88) 34%, rgba(8, 18, 15, 0.3) 69%, rgba(8, 18, 15, 0.46) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.025) 3px, rgba(255, 255, 255, 0.025) 4px);
}

.hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 18, 15, 0.88), transparent 36%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 70px;
  min-height: 650px;
  padding-top: 72px;
  padding-bottom: 105px;
}

.hero__copy {
  max-width: 710px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  color: #c5cec8;
}

.eyebrow span {
  padding: 3px 7px;
  background: var(--red);
  color: var(--white);
}

.hero h1 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(66px, 10.6vw, 150px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.22);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-left: clamp(35px, 8vw, 120px);
  color: #e0b762;
  font-style: normal;
}

.hero__lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: #d6ddd9;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--signal {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 34px rgba(163, 56, 42, 0.3);
}

.button--signal:hover {
  background: #b84232;
}

.button--dark {
  background: var(--green);
  color: var(--white);
}

.button--dark:hover {
  background: #0f302b;
}

.text-button {
  position: relative;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #d7ddd9;
  font-size: 13px;
  cursor: pointer;
}

.text-button:hover {
  color: var(--white);
}

.text-button--light {
  color: var(--paper);
}

.hero__footnote {
  margin-top: 22px;
  margin-bottom: 0;
  color: #919f99;
  font-size: 11px;
}

.hero__timestamp {
  align-self: end;
  justify-self: end;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  min-width: 280px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 58px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero__timestamp b {
  padding-inline: 8px;
  color: var(--yellow);
  font-weight: 400;
  animation: blink 2.5s steps(1) infinite;
}

.hero__timestamp small {
  grid-column: 1 / -1;
  margin-top: 12px;
  color: #aab5b0;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: #c5cec8;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.scroll-cue i {
  width: 1px;
  height: 26px;
  background: currentColor;
}

.system-shell {
  background: var(--paper-light);
}

.case-ticker {
  background: var(--green);
  color: var(--white);
}

.case-ticker__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 50px;
}

.case-ticker__label {
  padding: 3px 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.case-ticker p {
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-ticker__time {
  color: #b9c9c4;
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.app-shell {
  padding: 64px 0 94px;
}

.app-shell__inner {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.app-sidebar {
  position: sticky;
  top: 24px;
}

.case-id {
  display: flex;
  flex-direction: column;
  padding: 21px 20px 20px;
  border-top: 4px solid var(--green);
  background: var(--green);
  color: var(--white);
}

.case-id span {
  color: #aec3bc;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.case-id strong {
  margin: 6px 0 12px;
  font-family: var(--mono);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.case-id small {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #dfb665;
  font-size: 11px;
}

.tabs {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.tab {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 53px;
  padding: 8px 10px 8px 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.tab::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -10px;
  width: 3px;
  background: transparent;
}

.tab:hover {
  background: rgba(23, 63, 57, 0.05);
}

.tab.is-active {
  color: var(--green);
  font-weight: 700;
}

.tab.is-active::before {
  background: var(--red);
}

.tab__num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.tab__count,
.tab__lock {
  padding: 1px 5px;
  background: var(--paper-deep);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.tab__lock.is-open {
  background: var(--green-pale);
  color: var(--green);
}

.sidebar-progress {
  margin-top: 24px;
}

.sidebar-progress__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
}

.sidebar-progress__label strong {
  color: var(--ink);
  font-family: var(--mono);
}

.progress-track {
  height: 5px;
  background: var(--paper-deep);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 420ms ease;
}

.sidebar-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.hint-button {
  margin-top: 13px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: var(--red);
  font-size: 10px;
  cursor: pointer;
}

.hint-button:hover {
  border-color: var(--red);
}

.app-main {
  min-width: 0;
}

.screen {
  animation: screen-in 260ms ease both;
}

.screen[hidden] {
  display: none;
}

.screen-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  padding-bottom: 29px;
  border-bottom: 1px solid var(--line);
}

.screen-heading--compact {
  align-items: end;
}

.section-kicker {
  margin-bottom: 13px;
  color: var(--red);
}

.section-kicker--light {
  color: var(--yellow);
}

.screen-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.screen-heading--compact h2 {
  font-size: clamp(28px, 3.2vw, 43px);
}

.screen-heading__note {
  max-width: 230px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.stamp {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 2px solid var(--red);
  color: var(--red);
  transform: rotate(2deg);
}

.stamp span {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.stamp small {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.case-brief {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.35fr);
  gap: 50px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.case-brief__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line);
}

.case-brief__facts > div {
  min-height: 95px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-brief__facts span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
}

.case-brief__facts strong {
  font-size: 14px;
  line-height: 1.5;
}

.case-brief__copy {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}

.case-brief__copy p {
  margin-bottom: 17px;
}

.case-brief__question {
  padding-left: 18px;
  border-left: 3px solid var(--red);
  color: var(--green);
  font-weight: 700;
}

.access-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 37px, rgba(23, 63, 57, 0.035) 37px, rgba(23, 63, 57, 0.035) 38px),
    #ede9dd;
}

.access-form::before {
  content: "SECURE";
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 1px 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.access-form__copy span {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

.access-form__copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.code-field {
  display: flex;
  gap: 8px;
}

.code-field input {
  width: 126px;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.3em;
  text-align: center;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: -11px 0 0 0;
  color: var(--red);
  font-size: 11px;
}

.form-message.is-success {
  color: var(--green-bright);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.status-panel {
  min-height: 178px;
  padding: 21px;
  background: var(--paper-light);
}

.status-panel__label {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.status-panel strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 20px;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.status-panel blockquote {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
}

.status-panel small {
  color: var(--muted);
  font-size: 9px;
}

.status-panel--alert {
  background: #eee3d4;
}

.status-panel--alert strong {
  color: var(--red-dark);
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
}

.record-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 146px;
  gap: 0 17px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-light);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.record-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 65px;
  height: 65px;
  border: 1px solid var(--line);
  transform: rotate(45deg);
}

.record-card:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--white);
  transform: translateY(-2px);
}

.record-card:disabled {
  opacity: 0.55;
}

.record-card__index {
  grid-column: 1;
  grid-row: 1 / span 3;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
}

.record-card__type {
  grid-column: 2;
  grid-row: 1;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.record-card strong {
  grid-column: 2;
  grid-row: 2;
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.record-card small {
  grid-column: 2;
  grid-row: 3;
  color: var(--muted);
  font-size: 9px;
}

.record-card__mark {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  padding: 2px 6px;
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 8px;
}

.record-card.is-read .record-card__mark {
  border-color: var(--green);
  background: var(--green-pale);
  color: var(--green);
}

.record-card.is-read .record-card__mark::after {
  content: "已读";
}

.record-card.is-read .record-card__mark {
  font-size: 0;
}

.record-card.is-read .record-card__mark::after {
  font-size: 8px;
}

.archive-hint {
  display: block;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--amber);
  background: #eee6d5;
}

.archive-hint summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  list-style: none;
  cursor: pointer;
}

.archive-hint summary::-webkit-details-marker {
  display: none;
}

.archive-hint summary::before {
  content: "+";
  color: var(--amber);
  font-family: var(--mono);
  font-size: 13px;
}

.archive-hint[open] summary::before {
  content: "-";
}

.archive-hint p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.access-source-hint {
  margin-top: 14px;
  padding: 12px 14px;
}

.verify-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(23, 63, 57, 0.035) 39px, rgba(23, 63, 57, 0.035) 40px),
    #e8e2d5;
}

.verify-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.verify-panel__head span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.verify-panel__head strong {
  font-family: var(--serif);
  font-size: 19px;
}

.verify-panel > p:not(.form-message) {
  margin: 13px 0 16px;
  color: var(--muted);
  font-size: 10px;
}

.verify-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.verify-options button {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--paper-light);
  text-align: left;
  cursor: pointer;
}

.verify-options button span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
}

.verify-options button:hover:not(:disabled) {
  border-color: var(--green);
}

.verify-options button:disabled {
  opacity: 0.45;
}

.verify-options button.is-wrong {
  border-color: var(--red);
  background: #ead8d3;
}

.verify-options button.is-correct {
  border-color: var(--green);
  background: var(--green-pale);
}

.verify-panel .form-message {
  margin: 13px 0 0;
}

.audio-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-dark);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.audio-toggle__icon {
  color: var(--green-bright);
  animation: pulse 1.7s ease-in-out infinite;
}

.audio-toggle[aria-pressed="false"] .audio-toggle__icon {
  color: var(--muted);
  animation: none;
}

.signal-console {
  margin-top: 28px;
  border: 1px solid #31423d;
  background: #111a17;
  color: #d6dfdc;
  box-shadow: var(--shadow);
}

.frequency-display {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 18px 24px;
  border-bottom: 1px solid #34453f;
}

.frequency-display span {
  margin-right: auto;
  color: #899a94;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.frequency-display output {
  color: #e9c46f;
  font-family: var(--mono);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  text-shadow: 0 0 22px rgba(233, 196, 111, 0.28);
}

.frequency-display small {
  color: #8d9e98;
  font-family: var(--mono);
  font-size: 10px;
}

.signal-scope {
  position: relative;
  height: 270px;
  overflow: hidden;
  border-bottom: 1px solid #34453f;
  background: #0b1411;
}

.signal-scope canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.scope-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 26px, rgba(174, 210, 194, 0.09) 26px, rgba(174, 210, 194, 0.09) 27px),
    repeating-linear-gradient(90deg, transparent 0, transparent 59px, rgba(174, 210, 194, 0.07) 59px, rgba(174, 210, 194, 0.07) 60px);
}

.scope-label {
  position: absolute;
  z-index: 3;
  bottom: 8px;
  color: #697b74;
  font-family: var(--mono);
  font-size: 8px;
}

.scope-label--left {
  left: 16px;
}

.scope-label--middle {
  left: 50%;
  transform: translateX(-50%);
}

.scope-label--right {
  right: 16px;
}

.scope-status {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 16px;
  padding: 4px 7px;
  border: 1px solid #5f776d;
  color: #aac0b7;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.scope-status.is-locked {
  border-color: #d6ad5e;
  background: rgba(214, 173, 94, 0.12);
  color: #f2cc7e;
}

.scope-hotspot {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 16%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.scope-hotspot::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(163, 56, 42, 0.12);
}

.scope-hotspot span {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 4px 6px;
  border: 1px solid rgba(226, 186, 98, 0.6);
  background: rgba(10, 20, 17, 0.94);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  opacity: 0;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: opacity 140ms ease;
}

.signal-scope.is-locked .scope-hotspot {
  opacity: 1;
  pointer-events: auto;
}

.scope-hotspot:hover span,
.scope-hotspot:focus-visible span {
  opacity: 1;
}

.scope-hotspot.is-read::before {
  background: var(--yellow);
}

.scope-hotspot.is-read span {
  border-color: rgba(226, 186, 98, 0.9);
  color: #f3ddb0;
}

.scope-hotspot--first {
  left: 7.5%;
}

.scope-hotspot--second {
  left: 42%;
}

.scope-hotspot--third {
  left: 77.5%;
}

.tuner {
  padding: 24px 24px 14px;
}

.tuner__labels {
  display: flex;
  justify-content: space-between;
  padding: 0 3px;
  color: #7a8b85;
  font-family: var(--mono);
  font-size: 8px;
}

.tuner input[type="range"] {
  width: 100%;
  height: 32px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.tuner input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border: 1px solid #56665f;
  background: #1c2925;
}

.tuner input[type="range"]::-moz-range-track {
  height: 4px;
  border: 1px solid #56665f;
  background: #1c2925;
}

.tuner input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 34px;
  margin-top: -15px;
  appearance: none;
  border: 1px solid #ead39a;
  border-radius: 0;
  background: #d1a855;
  box-shadow: 0 0 18px rgba(209, 168, 85, 0.28);
}

.tuner input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 32px;
  border: 1px solid #ead39a;
  border-radius: 0;
  background: #d1a855;
}

.tuner__marks {
  height: 13px;
  background: repeating-linear-gradient(90deg, #6a7b74 0, #6a7b74 1px, transparent 1px, transparent 3%);
  opacity: 0.45;
}

.frequency-help {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 24px;
  border-top: 1px solid #34453f;
  background: #17221e;
}

.frequency-help span {
  color: #7f918a;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.frequency-help p {
  margin: 0;
  color: #c6d0cc;
  font-size: 10px;
  text-align: right;
}

.wave-extract {
  margin-top: 24px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #e6e1d5;
}

.wave-extract__heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.wave-extract__heading span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.wave-extract__heading strong {
  font-size: 12px;
}

.glitch-strips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.glitch-strip {
  position: relative;
  min-height: 74px;
  overflow: hidden;
  border: 1px solid #73817a;
  background:
    linear-gradient(90deg, transparent 0%, transparent 10%, rgba(255, 255, 255, 0.55) 11%, transparent 12%, transparent 34%, rgba(255, 255, 255, 0.45) 35%, transparent 36%, transparent 64%, rgba(255, 255, 255, 0.35) 65%, transparent 66%)
    , #273d37;
  color: var(--white);
  cursor: pointer;
}

.glitch-strip::before,
.glitch-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  opacity: 0.7;
}

.glitch-strip::before {
  top: 26%;
  transform: skewX(-32deg) scaleX(0.7);
}

.glitch-strip::after {
  top: 67%;
  transform: skewX(18deg) scaleX(0.52);
}

.glitch-strip span {
  position: absolute;
  right: 7px;
  bottom: 5px;
  color: #c0cec8;
  font-family: var(--mono);
  font-size: 8px;
}

.glitch-strip:hover,
.glitch-strip.is-read {
  border-color: var(--yellow);
}

.glitch-strip.is-read {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 8px, rgba(255, 255, 255, 0.06) 8px, rgba(255, 255, 255, 0.06) 9px),
    #38534b;
}

.glitch-strip.is-read::before,
.glitch-strip.is-read::after {
  background: var(--yellow);
}

.transcript-lines {
  display: grid;
  gap: 1px;
  margin-top: 14px;
  background: var(--line);
}

.audio-arrange {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  background: #ded9cc;
}

.audio-arrange__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.audio-arrange__head span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.audio-arrange__head strong {
  font-size: 12px;
}

.audio-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.audio-slots label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-dark);
  background: var(--paper-light);
}

.audio-slots label > span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
}

.audio-slots select {
  min-width: 0;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
}

.audio-arrange .button {
  margin-top: 14px;
}

.audio-arrange .form-message {
  min-height: 0;
  margin: 8px 0 0;
}

.pager-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #41544e;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.025) 3px, rgba(255, 255, 255, 0.025) 4px),
    #15221e;
  color: #d0d9d5;
}

.pager-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid #40524b;
}

.pager-panel__head span {
  color: #8fa39b;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.pager-panel__head strong {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 26px;
  letter-spacing: 0.25em;
}

.pager-panel > p {
  max-width: 620px;
  margin: 15px 0;
  color: #b9c8c2;
  font-size: 11px;
  line-height: 1.8;
}

.pager-field {
  display: flex;
  gap: 8px;
}

.pager-field input {
  width: 130px;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid #8ea39b;
  border-radius: 0;
  background: #0d1714;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.3em;
  text-align: center;
}

.pager-panel .form-message {
  margin: 8px 0 0;
  color: #e5b7ac;
}

.hint-body {
  max-width: 670px;
  margin: 0 auto;
}

.hint-body__stage {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.hint-body h2 {
  margin: 12px 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
}

.hint-body > p {
  color: var(--muted);
  font-size: 11px;
}

.hint-levels {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.hint-level {
  padding: 12px 14px;
  border-left: 3px solid var(--amber);
  background: #e7e1d4;
  font-size: 12px;
  line-height: 1.7;
  animation: line-in 220ms ease both;
}

.hint-level span {
  display: block;
  margin-bottom: 3px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
}

.transcript-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  padding: 14px 15px;
  background: var(--paper-light);
  animation: line-in 300ms ease both;
}

.transcript-line time {
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
}

.transcript-line p {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
}

.transcript-line strong {
  color: var(--green);
}

.transcript-continue {
  margin-top: 18px;
  margin-left: auto;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 18px;
  margin-top: 28px;
}

.city-map {
  border: 1px solid var(--line);
  background: #dfdcd1;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: var(--white);
  font-size: 10px;
}

.map-toolbar small {
  color: #b5c7c1;
  font-family: var(--mono);
  font-size: 8px;
}

.map-canvas {
  position: relative;
  overflow: hidden;
  background: #d6d4c9;
}

.map-canvas::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(207, 174, 83, 0.17) 0, rgba(207, 174, 83, 0.17) 48%, transparent 48%),
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(31, 50, 43, 0.025) 3px, rgba(31, 50, 43, 0.025) 4px);
  mix-blend-mode: multiply;
}

.map-canvas img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  filter: sepia(0.22) saturate(0.78) contrast(1.12) brightness(0.98);
}

.map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(163, 56, 42, 0.5);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.map-pin:nth-of-type(1) {
  left: 27%;
  top: 62%;
}

.map-pin:nth-of-type(2) {
  left: 71%;
  top: 74%;
}

.map-pin:nth-of-type(3) {
  left: 55%;
  top: 22%;
}

.map-pin span {
  position: absolute;
  left: 16px;
  top: -8px;
  padding: 2px 5px;
  border: 1px solid rgba(23, 32, 29, 0.45);
  background: rgba(244, 241, 232, 0.94);
  color: var(--ink);
  font-size: 9px;
  white-space: nowrap;
}

.map-pin:hover:not(:disabled) {
  z-index: 4;
  background: var(--green);
  transform: scale(1.25);
}

.map-pin:disabled {
  background: #8b8f87;
  box-shadow: none;
}

.map-pin.is-correct {
  background: var(--green);
  animation: pin-pulse 1.2s ease infinite;
}

.map-coordinate {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 9px;
  padding: 3px 5px;
  background: rgba(244, 241, 232, 0.84);
  font-family: var(--mono);
  font-size: 7px;
}

.map-message {
  min-height: 40px;
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.evidence-rail {
  position: relative;
  overflow: hidden;
  border: 1px solid #756b5d;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 34px, rgba(65, 48, 31, 0.04) 34px, rgba(65, 48, 31, 0.04) 35px),
    #c9baa4;
}

.evidence-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  border-bottom: 1px solid #9c8c76;
  color: #3f3329;
  font-size: 10px;
}

.evidence-rail__head strong {
  font-family: var(--mono);
}

.evidence-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.evidence-item {
  position: relative;
  min-height: 60px;
  padding: 9px 10px 9px 23px;
  background: #f0eadc;
  box-shadow: 1px 2px 4px rgba(48, 34, 22, 0.17);
  transform: rotate(0.5deg);
  transition: opacity 300ms ease, transform 300ms ease;
}

.evidence-item:nth-child(even) {
  transform: rotate(-0.9deg);
}

.evidence-item.is-empty {
  opacity: 0.24;
  filter: grayscale(1);
}

.evidence-item__pin {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
}

.evidence-item small {
  display: block;
  color: #796c5d;
  font-size: 8px;
}

.evidence-item strong {
  display: block;
  margin-top: 4px;
  color: #30271f;
  font-family: var(--serif);
  font-size: 14px;
}

.red-string {
  position: absolute;
  z-index: 1;
  top: 65px;
  bottom: 48px;
  left: 28px;
  width: 1px;
  background: rgba(137, 37, 30, 0.62);
  transform: rotate(4deg);
  transform-origin: top;
}

.afterword {
  padding: 74px 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.025) 3px, rgba(255, 255, 255, 0.025) 4px),
    var(--green);
  color: var(--white);
}

.afterword__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 80px;
  align-items: start;
}

.afterword h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.28;
}

.afterword__copy {
  padding-top: 28px;
}

.afterword__copy p {
  margin-bottom: 17px;
  color: #c0cec9;
  font-size: 12px;
  line-height: 1.9;
}

.site-footer {
  padding: 22px 0;
  background: #0f211d;
  color: #869992;
  font-size: 9px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.site-footer button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #586c65;
  background: transparent;
  color: #a5b4ae;
  font-size: 9px;
  cursor: pointer;
}

.modal {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid #7f8178;
  border-radius: 0;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.45);
}

.modal[open] {
  animation: modal-in 220ms ease both;
}

.modal::backdrop {
  background: rgba(6, 13, 11, 0.82);
  backdrop-filter: blur(3px);
}

.modal__bar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 8px 12px 8px 18px;
  border-bottom: 1px solid #68746e;
  background: var(--green);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.modal__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal__body {
  padding: clamp(22px, 5vw, 52px);
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #e5e1d6;
}

.modal__footer span {
  color: var(--muted);
  font-size: 9px;
}

.document {
  max-width: 700px;
  margin: 0 auto;
}

.document__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
}

.document__header span {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.document__header small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.document__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 32px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.document h3 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(23px, 3.2vw, 31px);
  line-height: 1.45;
  text-align: center;
}

.document > p {
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.1;
  text-indent: 2em;
}

.document__annotations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.annotation {
  position: relative;
  min-height: 135px;
  padding: 18px;
  border: 1px solid #9e9483;
  background: #e6decd;
  color: #473c30;
  transform: rotate(-1deg);
}

.annotation--right {
  background: #eee8d9;
  transform: rotate(1deg);
}

.annotation span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.annotation p {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
}

.annotation strong {
  padding: 1px 3px;
  background: rgba(197, 138, 60, 0.3);
  font-family: var(--mono);
}

.document__signature {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 12px;
}

.document--evidence .document__header,
.document--telegram .document__header {
  border-color: var(--green);
}

.cassette-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.85fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #ded9cb;
}

.cassette-visual img {
  width: 100%;
  border: 1px solid #8d8b80;
}

.cassette-visual__label {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.cassette-visual p {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.8;
}

.document__rows {
  border-top: 1px solid var(--line);
}

.document__rows p {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.document__rows span {
  color: var(--muted);
}

.document__quote {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
}

.interview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 15px 0 28px;
  padding: 11px 13px;
  background: #e4dfd2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.interview-block {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.interview-block > span {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 700;
}

.interview-block p {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
}

.interview-block--redacted {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.redaction {
  position: relative;
  padding: 22px;
  overflow: hidden;
  background: #242a27;
  color: #d5d8d5;
}

.redaction::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 8px, transparent 8px, transparent 16px);
}

.redaction span,
.redaction small {
  position: relative;
  z-index: 1;
  display: block;
}

.redaction span {
  font-family: var(--serif);
  font-size: 18px;
}

.redaction small {
  margin-top: 12px;
  color: #aeb7b3;
  font-size: 9px;
}

.telegram-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1px;
  margin: 22px 0;
  padding: 1px;
  background: #8d958e;
}

.telegram-grid span,
.telegram-grid strong {
  padding: 9px 11px;
  background: #ebe8dc;
  font-size: 10px;
}

.telegram-grid span {
  color: var(--muted);
}

.telegram-grid strong {
  font-family: var(--mono);
  font-weight: 500;
}

.telegram-note {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
  text-indent: 2em;
}

.telegram-stamp {
  width: max-content;
  margin: 22px 0 0 auto;
  padding: 8px 12px;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  transform: rotate(-3deg);
}

.notice-body {
  max-width: 720px;
}

.notice-body__date {
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.notice-body h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 35px);
  line-height: 1.45;
  text-align: center;
}

.notice-body > p:not(.notice-body__date) {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.1;
  text-indent: 2em;
}

.notice-sign {
  margin-top: 36px;
  text-align: right;
}

.notice-sign span,
.notice-sign small {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
}

.notice-sign small {
  color: var(--muted);
}

.secret-body {
  max-width: 660px;
  margin: 0 auto;
}

.secret-body h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 36px);
}

.secret-body > p {
  color: var(--muted);
  font-size: 11px;
}

.secret-field {
  display: flex;
  gap: 8px;
  margin-top: 25px;
}

.secret-field > span {
  display: none;
}

.secret-field input {
  width: min(250px, 55vw);
  height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  font-family: var(--mono);
  font-size: 19px;
  letter-spacing: 0.22em;
}

.secret-note {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #968b75;
  background: #e3dac5;
  transform: rotate(-0.4deg);
}

.secret-note > span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.secret-note p {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
}

.secret-note__code {
  color: var(--green);
  font-family: var(--sans) !important;
  font-size: 10px !important;
}

.modal--decision {
  width: min(920px, calc(100% - 32px));
}

.decision-body h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(29px, 4.5vw, 47px);
  line-height: 1.3;
}

.decision-body > p:not(.section-kicker, .decision-warning) {
  max-width: 710px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}

.decision-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.decision-options button {
  display: grid;
  align-content: start;
  min-height: 176px;
  padding: 17px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: #e8e4d8;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.decision-options button:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--white);
  transform: translateY(-2px);
}

.decision-options button:disabled {
  opacity: 0.42;
}

.decision-options span {
  margin-bottom: auto;
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
}

.decision-options strong {
  margin: 20px 0 7px;
  font-family: var(--serif);
  font-size: 18px;
}

.decision-options small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.decision-warning {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.modal--ending {
  width: min(960px, calc(100% - 24px));
  border: 0;
  background: #101a17;
}

.ending-screen {
  position: relative;
  min-height: min(650px, calc(100dvh - 40px));
  padding: clamp(38px, 8vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(197, 138, 60, 0.17), transparent 24%),
    #101a17;
  color: var(--white);
}

.ending-screen::before {
  content: "19";
  position: absolute;
  right: 2%;
  bottom: -15%;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: min(50vw, 500px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.ending-screen__noise {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(255, 255, 255, 0.02) 4px, rgba(255, 255, 255, 0.02) 5px),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  pointer-events: none;
}

.ending-screen__case {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 30px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.ending-screen h2 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 94px);
  line-height: 1.08;
}

.ending-screen__body {
  position: relative;
  z-index: 1;
  max-width: 610px;
  color: #c7d1cd;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}

.ending-screen__body p {
  margin-bottom: 15px;
}

.ending-screen__code {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ending-screen__code span {
  color: #929f9a;
  font-size: 8px;
}

.ending-screen__code strong {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ending-screen__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100% - 44px));
  padding: 11px 15px;
  border-left: 3px solid var(--yellow);
  background: #1d2b27;
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes line-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes blink {
  0%, 88% { opacity: 1; }
  89%, 94% { opacity: 0.18; }
  95%, 100% { opacity: 1; }
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(23, 63, 57, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(23, 63, 57, 0.08); }
}

@media (max-width: 1020px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero__timestamp {
    display: none;
  }

  .app-shell__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .app-sidebar {
    position: static;
  }

  .case-id {
    display: none;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 0;
    border: 1px solid var(--line);
    background: var(--line);
  }

  .tab {
    grid-template-columns: 1fr auto;
    min-height: 62px;
    padding: 10px 12px;
    border: 0;
    background: var(--paper-light);
  }

  .tab::before {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 3px;
  }

  .tab__num {
    display: none;
  }

  .sidebar-progress {
    margin-top: 13px;
  }

  .sidebar-note {
    display: none;
  }

  .board-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .evidence-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-item {
    min-height: 70px;
  }

  .red-string {
    display: none;
  }

  .status-grid {
    grid-template-columns: 1fr 1fr;
  }

  .status-panel--alert {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .afterword__inner {
    gap: 45px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 30px), var(--wrap));
  }

  .gov-strip__inner {
    justify-content: center;
  }

  .gov-strip__inner > span:first-child {
    display: none;
  }

  .site-header__inner {
    min-height: 78px;
  }

  .brand__seal {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .brand__text small {
    display: none;
  }

  .header-meta {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero__image {
    object-position: 67% center;
    opacity: 0.75;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(8, 18, 15, 0.94), rgba(8, 18, 15, 0.7));
  }

  .hero__inner {
    min-height: 650px;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(60px, 20vw, 100px);
  }

  .hero h1 em {
    margin-left: 16px;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-ticker__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .case-ticker__time {
    display: none;
  }

  .app-shell {
    padding: 38px 0 65px;
  }

  .tabs {
    grid-template-columns: 1fr 1fr;
  }

  .screen-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .screen-heading h2 {
    font-size: clamp(31px, 10vw, 46px);
  }

  .screen-heading__note {
    max-width: none;
    margin-bottom: 0;
    text-align: left;
  }

  .stamp {
    display: none;
  }

  .case-brief {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-brief__facts {
    grid-template-columns: 1fr 1fr;
  }

  .access-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .code-field {
    width: 100%;
  }

  .code-field input {
    flex: 1;
    width: auto;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-panel--alert {
    grid-column: auto;
  }

  .archive-list {
    grid-template-columns: 1fr;
  }

  .verify-panel {
    padding: 17px;
  }

  .verify-panel__head,
  .audio-arrange__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .verify-options {
    grid-template-columns: 1fr;
  }

  .audio-slots {
    grid-template-columns: 1fr;
  }

  .record-card {
    min-height: 134px;
  }

  .audio-toggle {
    justify-self: start;
  }

  .signal-scope {
    height: 220px;
  }

  .frequency-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .frequency-help p {
    text-align: left;
  }

  .wave-extract {
    padding: 17px;
  }

  .wave-extract__heading {
    flex-direction: column;
    gap: 4px;
  }

  .transcript-line {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    padding: 11px;
  }

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

  .evidence-item:last-child {
    grid-column: 1 / -1;
  }

  .afterword {
    padding: 58px 0;
  }

  .afterword__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .afterword__copy {
    padding-top: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .modal {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .modal__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal__footer .button {
    width: 100%;
  }

  .document__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .document__header span {
    font-size: 18px;
  }

  .document__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .document__annotations {
    grid-template-columns: 1fr;
  }

  .cassette-visual {
    grid-template-columns: 1fr;
  }

  .document__rows p {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .telegram-grid {
    grid-template-columns: 1fr 1fr;
  }

  .decision-options {
    grid-template-columns: 1fr;
  }

  .decision-options button {
    min-height: 130px;
  }

  .ending-screen {
    min-height: calc(100dvh - 16px);
    padding: 45px 24px;
  }

  .ending-screen h2 {
    font-size: clamp(44px, 16vw, 72px);
  }

  .ending-screen__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 62px;
  }

  .case-brief__facts {
    grid-template-columns: 1fr;
  }

  .case-brief__facts > div {
    min-height: auto;
  }

  .code-field {
    flex-direction: column;
  }

  .code-field input {
    width: 100%;
  }

  .glitch-strips {
    gap: 5px;
  }

  .glitch-strip {
    min-height: 60px;
  }

  .map-pin span {
    top: 14px;
    left: -15px;
  }

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

  .evidence-item:last-child {
    grid-column: auto;
  }

  .secret-field {
    flex-direction: column;
  }

  .secret-field input {
    width: 100%;
  }

  .pager-field {
    flex-direction: column;
  }

  .pager-field input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
