/* IROJ v5 — state transmission system */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-jp);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

[lang="en"] {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: white;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  min-height: var(--control-target);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  transform: translateY(-160%);
  border: 1px solid white;
  background: var(--ink);
  color: white;
  font: 600 12px/1.2 var(--font-mono);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.network-masthead {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--masthead-height);
  border-bottom: 1px solid var(--white-line);
  background: rgb(9 11 15 / 97%);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 65%);
}

.masthead-frame {
  width: min(100%, 1680px);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--masthead-inline);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
}

.network-lockup {
  min-width: max-content;
  min-height: var(--control-target);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.network-lockup img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / 15%));
}

.network-lockup span,
.network-lockup strong,
.network-lockup small {
  display: block;
}

.network-lockup strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.network-lockup small {
  margin-top: 3px;
  color: var(--on-dark-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.network-nav {
  height: 100%;
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.network-nav a {
  position: relative;
  min-width: 116px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-muted);
  text-align: center;
  text-decoration: none;
}

.network-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--red);
  content: "";
  transition: transform 140ms var(--ease-mechanical);
}

.network-nav a:hover,
.network-nav a[aria-current="page"] {
  background: #ffffff08;
  color: var(--warm-white);
}

.network-nav a:hover::after,
.network-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.network-nav span {
  font-size: 12px;
}

.network-nav small {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.x-slot:empty {
  display: none;
}

.x-broadcast-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--white-line);
  font: 600 12px var(--font-mono);
  text-decoration: none;
}

.packet-cta {
  min-width: 132px;
  min-height: 46px;
  padding: 7px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ed6c75;
  background: var(--red);
  color: white;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 20%);
}

.packet-cta span {
  font-size: 12px;
  line-height: 1;
}

.packet-cta small {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.packet-cta:hover {
  background: #da2634;
}

.mobile-network-menu {
  position: relative;
  display: none;
}

.mobile-network-menu summary {
  min-width: 60px;
  min-height: var(--control-target);
  padding-inline: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-line);
  cursor: pointer;
  list-style: none;
}

.mobile-network-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-network-menu summary span {
  font-size: 11px;
}

.mobile-network-menu summary small {
  margin-top: 3px;
  font: 11px var(--font-mono);
  letter-spacing: 0.06em;
}

.mobile-network-menu[open] summary {
  border-color: var(--red);
  background: var(--red);
}

.mobile-network-menu nav {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: min(320px, calc(100vw - 28px));
  border: 1px solid var(--white-line);
  border-top: 4px solid var(--red);
  background: var(--ink);
  box-shadow: 8px 8px 0 rgb(0 0 0 / 40%);
}

.mobile-network-menu nav a {
  min-height: 58px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--white-line-soft);
  text-decoration: none;
}

.mobile-network-menu nav a:last-child {
  border-bottom: 0;
}

.mobile-network-menu nav a[aria-current="page"] {
  border-left: 4px solid var(--red);
  background: #ffffff09;
}

.mobile-network-menu nav span {
  font-size: 14px;
}

.mobile-network-menu nav small {
  color: var(--on-dark-muted);
  font: 11px var(--font-mono);
}

/* State TV */
.broadcast-hero {
  position: relative;
  min-height: calc(100svh - var(--masthead-height));
  overflow: hidden;
  isolation: isolate;
  background: #201e1c;
}

.hero-poster,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
}

.hero-video {
  z-index: 1;
  opacity: 0;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-poster {
  z-index: 0;
}

.hero-shade {
  z-index: 2;
  background: rgb(3 5 9 / 16%);
  pointer-events: none;
}

.broadcast-top-left,
.broadcast-top-right,
.broadcast-lower-third,
.hero-action-rail,
.news-ticker {
  position: absolute;
  z-index: 3;
}

.broadcast-top-left {
  top: clamp(18px, 3vw, 42px);
  left: var(--pad);
  min-width: 190px;
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--navy);
  box-shadow: 5px 5px 0 rgb(0 0 0 / 25%);
}

.broadcast-top-left strong,
.broadcast-top-left span,
.broadcast-top-left time {
  padding: 7px 12px;
}

.broadcast-top-left strong {
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.broadcast-top-left span {
  border-top: 1px solid rgb(255 255 255 / 20%);
  background: var(--navy-bright);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.broadcast-top-left time {
  border-top: 1px solid rgb(255 255 255 / 20%);
  border-left: 1px solid rgb(255 255 255 / 20%);
  font: 600 11px var(--font-mono);
}

.broadcast-top-right {
  top: clamp(18px, 3vw, 42px);
  right: var(--pad);
  display: grid;
  grid-template-columns: auto auto;
  border: 1px solid rgb(255 255 255 / 35%);
  background: white;
  color: var(--navy);
  box-shadow: 5px 5px 0 rgb(0 0 0 / 25%);
}

.broadcast-top-right strong,
.broadcast-top-right span,
.broadcast-top-right b {
  padding: 6px 10px;
}

.broadcast-top-right strong {
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.broadcast-top-right span {
  background: var(--red);
  color: white;
  font-size: 11px;
}

.broadcast-top-right b {
  grid-column: 1 / -1;
  border-top: 1px solid #c5c6c8;
  font: 600 13px var(--font-mono);
  letter-spacing: 0.12em;
  text-align: center;
}

.broadcast-lower-third {
  right: var(--pad);
  bottom: 100px;
  left: var(--pad);
  display: grid;
  grid-template-columns: minmax(170px, 250px) minmax(0, 1fr) 100px;
  border: 1px solid rgb(255 255 255 / 45%);
  background: rgb(247 246 242 / 96%);
  color: var(--ink);
  box-shadow: 7px 7px 0 rgb(0 0 0 / 32%);
}

.station-block {
  padding: clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: white;
  text-align: right;
}

.station-block span {
  font-size: 13px;
}

.station-block strong {
  margin-block: 5px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
}

.station-block small {
  color: #cbd6f4;
  font: 11px var(--font-mono);
  letter-spacing: 0.1em;
}

.hero-headline {
  min-width: 0;
  padding: clamp(12px, 1.8vw, 22px) clamp(16px, 2.4vw, 34px);
}

.hero-desk {
  margin: 0 0 7px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #55575d;
  font: 600 11px var(--font-mono);
  letter-spacing: 0.08em;
}

.broadcast-lower-third h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(23px, 3.35vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.english-headline {
  margin: 8px 0 0;
  font: 600 clamp(11px, 1.05vw, 15px)/1.25 var(--font-mono);
  letter-spacing: 0.03em;
}

.hero-ruling {
  margin: 11px 0 0;
  padding-top: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--black-line);
  color: #303036;
  font-size: clamp(11px, 0.92vw, 14px);
  line-height: 1.45;
}

.hero-ruling span {
  font-size: max(11px, 0.88em);
  line-height: 1.42;
}

.broadcast-clock {
  display: grid;
  grid-template-rows: 1fr auto;
  border-left: 1px solid var(--black-line);
  background: #eceae4;
}

.broadcast-clock time {
  display: grid;
  place-items: center;
  font: 400 clamp(22px, 2.4vw, 36px) var(--font-display);
}

.broadcast-clock strong {
  padding: 9px;
  background: var(--navy);
  color: white;
  font: 600 14px var(--font-mono);
  letter-spacing: 0.12em;
  text-align: center;
}

.hero-action-rail {
  right: var(--pad);
  bottom: 46px;
  display: flex;
  gap: 8px;
}

.hero-packet-link,
.video-toggle {
  min-height: 46px;
  padding: 7px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  border-radius: 0;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.hero-packet-link {
  min-width: 154px;
  border-color: #f17880;
  background: var(--red);
}

.video-toggle {
  min-width: 94px;
  background: rgb(9 11 15 / 86%);
}

.hero-packet-link span,
.video-toggle span {
  font-size: 12px;
}

.hero-packet-link small,
.video-toggle small {
  margin-top: 3px;
  font: 11px var(--font-mono);
  letter-spacing: 0.08em;
}

.control-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.news-ticker {
  right: 0;
  bottom: 0;
  left: 0;
  height: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  border-top: 1px solid rgb(255 255 255 / 38%);
  background: var(--navy);
  overflow: hidden;
}

.news-ticker > strong {
  z-index: 1;
  padding: 0 clamp(15px, 2.4vw, 34px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.news-ticker strong span {
  font-size: 11px;
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
}

.ticker-window p {
  width: max-content;
  margin: 0;
  padding-left: 100%;
  font: 600 11px/36px var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}

.ticker-window i {
  margin-inline: 18px;
  color: var(--red);
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

.transmission-index {
  position: relative;
  padding: clamp(70px, 9vw, 132px) var(--pad) clamp(88px, 11vw, 160px);
  background: var(--paper);
  color: var(--on-paper);
}

.transmission-index::before,
.archive-paper::before {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgb(9 11 15 / 7%) 3px 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 7px,
      rgb(9 11 15 / 4%) 7px 8px
    );
  content: "";
  pointer-events: none;
}

.section-title-row {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto 38px;
  padding-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 4px solid var(--ink);
}

.section-title-row > div {
  display: flex;
  flex-direction: column;
}

.section-code {
  order: -1;
  margin: 0 0 12px;
  color: var(--olive);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.1em;
}

.section-title-row h2,
.media-header h1,
.reserve-section > header h2,
.contraband-section > header h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-title-row h2 span,
.media-header h1 span,
.reserve-section > header h2 span,
.contraband-section > header h2 span {
  display: block;
  margin-top: 8px;
  font: 400 clamp(28px, 4vw, 62px)/0.95 var(--font-display);
  letter-spacing: 0.025em;
}

.section-title-row > time {
  padding: 8px 10px;
  border: 1px solid var(--black-line);
  font: 600 11px var(--font-mono);
  white-space: nowrap;
}

.transmission-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.5vw, 22px);
}

.transmission-card {
  min-width: 0;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--black-line);
  border-top: 5px solid var(--navy);
  background: var(--warm-white);
  box-shadow: 5px 5px 0 rgb(9 11 15 / 12%);
}

.transmission-card--lead,
.transmission-card--wide {
  grid-column: span 8;
}

.transmission-card--tall figure {
  aspect-ratio: 4 / 5;
}

.transmission-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--black-line);
  background: #cbc7bd;
}

.transmission-card figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 28%);
  content: "";
  pointer-events: none;
}

.transmission-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transmission-body {
  padding: clamp(18px, 2.2vw, 30px);
  display: flex;
  flex: 1;
  flex-direction: column;
}

.record-line {
  margin: 0 0 18px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--black-line-soft);
  color: var(--on-paper-muted);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.04em;
}

.record-line time {
  flex: none;
}

.transmission-card h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.38;
}

.transmission-card--lead h3 {
  max-width: 850px;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.2;
}

.card-english {
  margin: 9px 0 0;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  line-height: 1.4;
}

.transmission-card blockquote {
  margin: 24px 0;
  padding: 15px 0 0 18px;
  border-top: 1px solid var(--black-line-soft);
  border-left: 4px solid var(--red);
  color: #474842;
  font-size: 13px;
  line-height: 1.65;
}

.packet-link {
  min-height: 48px;
  margin-top: auto;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.packet-link::after {
  content: "→";
  font: 18px var(--font-mono);
}

.packet-link span {
  font-size: 12px;
}

.packet-link small {
  margin-left: auto;
  font: 11px var(--font-mono);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Archive */
.archive-page {
  background: var(--paper);
}

.archive-shell {
  position: relative;
  width: min(100%, 1600px);
  min-height: calc(100vh - var(--masthead-height));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  background: var(--paper);
  color: var(--on-paper);
}

.archive-rail {
  padding: 58px 26px;
  background: var(--navy);
  color: white;
}

.archive-rail > img {
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}

.archive-rail > p {
  margin: 0 0 48px;
  font-size: 15px;
  line-height: 1.5;
}

.archive-rail > p span {
  display: block;
  margin-top: 7px;
  color: #c6d0e8;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.archive-rail dl {
  margin: 0;
  display: grid;
}

.archive-rail dl div {
  padding: 14px 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.archive-rail dt {
  color: #aeb9d4;
  font: 11px var(--font-mono);
}

.archive-rail dd {
  margin: 5px 0 0;
  font: 600 12px var(--font-mono);
}

.archive-paper {
  position: relative;
  padding: clamp(44px, 7vw, 104px) clamp(24px, 7vw, 112px)
    clamp(90px, 12vw, 170px);
  overflow: hidden;
}

.archive-paper > * {
  position: relative;
  z-index: 1;
}

.archive-header {
  position: relative;
  padding-bottom: 30px;
  border-bottom: 5px solid var(--ink);
}

.document-kicker {
  margin: 0 0 18px;
  color: var(--olive);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.12em;
}

.archive-header h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(40px, 6.5vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.archive-header h1 span {
  display: block;
  margin-top: 10px;
  font: 400 clamp(36px, 5.4vw, 78px)/0.9 var(--font-display);
  letter-spacing: 0.02em;
}

.archive-stamp {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 94px;
  height: 94px;
  display: grid;
  place-content: center;
  transform: rotate(-4deg);
  border: 3px double var(--red);
  color: var(--red);
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

.archive-stamp span {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.docket-index {
  margin: 42px 0 80px;
  padding: 0;
  border-top: 1px solid var(--black-line);
  list-style: none;
}

.docket-index a {
  min-height: 50px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--black-line);
  text-decoration: none;
}

.docket-index a:hover {
  padding-inline: 10px;
  background: rgb(7 27 79 / 7%);
}

.docket-index b,
.docket-index time {
  font: 600 11px var(--font-mono);
}

.docket-index span {
  font-size: 13px;
}

.docket-ledger {
  display: grid;
  gap: 90px;
}

.docket {
  scroll-margin-top: calc(var(--masthead-height) + 24px);
  padding-top: 18px;
  border-top: 8px solid var(--navy);
}

.docket > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--on-paper-muted);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.07em;
}

.docket-number {
  color: var(--red);
}

.docket h2 {
  max-width: 1000px;
  margin: 26px 0 0;
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -0.03em;
}

.docket-english {
  max-width: 950px;
  margin: 12px 0 26px;
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.docket-meta {
  margin: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border: 1px solid var(--black-line);
}

.docket-meta div {
  min-width: 0;
  padding: 15px;
  border-right: 1px solid var(--black-line);
}

.docket-meta div:last-child {
  border-right: 0;
}

.docket-meta dt {
  margin-bottom: 7px;
  color: var(--olive);
  font: 600 11px var(--font-mono);
}

.docket-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  font: 11px/1.5 var(--font-mono);
}

.receipt {
  margin: 0;
  padding: 26px 0 24px;
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--black-line);
  color: #34353a;
  font-size: 13px;
  line-height: 1.7;
}

.receipt b {
  font: 600 11px/1.5 var(--font-mono);
  letter-spacing: 0.05em;
}

.receipt span {
  font-size: 11px;
  line-height: 1.6;
}

.docket-status {
  margin: 0;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: var(--navy);
  color: white;
  font-size: 11px;
}

.docket-status span {
  font-size: 11px;
}

.docket blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 6px solid var(--red);
  background: #e3dfd5;
  font-size: clamp(15px, 1.7vw, 22px);
  line-height: 1.65;
}

.docket blockquote span {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--black-line);
  font-size: max(11px, 0.62em);
  font-weight: 600;
  line-height: 1.5;
}

.primary-source {
  min-height: 48px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--ink);
  background: var(--warm-white);
  font-size: 12px;
  text-decoration: none;
}

.primary-source::after {
  content: "↗";
  font: 16px var(--font-mono);
}

.source-record,
.source-record small,
.source-record b,
.source-record code,
.source-open,
.source-open small {
  display: block;
  min-width: 0;
}

.source-record small,
.source-open small {
  font-size: 11px;
}

.source-record > small {
  margin-bottom: 7px;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.source-record b {
  font: 600 13px/1.45 var(--font-mono);
}

.source-record code {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--on-paper-muted);
  font: 11px/1.45 var(--font-mono);
}

.source-open {
  min-width: 150px;
  font-weight: 600;
  text-align: right;
}

.source-open small {
  margin-top: 4px;
  color: var(--on-paper-muted);
}

/* Media Arsenal */
.media-shell {
  width: min(100%, 1560px);
  margin-inline: auto;
  padding: clamp(54px, 8vw, 118px) var(--pad) clamp(100px, 13vw, 180px);
}

.media-header {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(26px, 5vw, 76px);
  padding-bottom: 30px;
  border-bottom: 5px solid var(--warm-white);
}

.media-header-copy > p:last-child {
  max-width: 820px;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.7;
}

.media-header-copy > p:last-child span {
  font-size: 11px;
  line-height: 1.6;
}

.arsenal-lead-art {
  position: relative;
  min-width: 0;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-top: 7px solid var(--red);
  background: var(--navy);
  color: white;
  text-decoration: none;
  box-shadow: 10px 10px 0 rgb(0 0 0 / 35%);
}

.arsenal-lead-art img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
}

.arsenal-lead-art picture {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: block;
  overflow: hidden;
}

.arsenal-lead-art span {
  position: absolute;
  inset: auto 0 0;
  min-height: 52px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgb(255 255 255 / 24%);
  background: rgb(7 27 79 / 94%);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.06em;
}

.arsenal-lead-art small {
  color: var(--on-dark-muted);
  text-align: right;
}

.arsenal-lead-art:hover,
.arsenal-lead-art:focus-visible {
  border-color: var(--red);
}

.packet-directory {
  scroll-margin-top: calc(var(--masthead-height) + 18px);
  margin: 28px 0 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.packet-directory a {
  min-height: 64px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  text-decoration: none;
}

.packet-directory a:hover {
  background: var(--navy);
}

.packet-directory b {
  color: #ff5a66;
  font: 600 11px var(--font-mono);
}

.packet-directory span {
  font: 11px/1.4 var(--font-mono);
  letter-spacing: 0.05em;
}

.packet-manifest {
  display: grid;
  gap: clamp(58px, 8vw, 110px);
}

.media-packet {
  scroll-margin-top: calc(var(--masthead-height) + 22px);
  content-visibility: auto;
  contain-intrinsic-block-size: auto 1560px;
  border: 1px solid var(--white-line);
  border-top: 8px solid var(--red);
  background: var(--paper);
  color: var(--on-paper);
  box-shadow: 10px 10px 0 rgb(0 0 0 / 32%);
}

.media-packet > header {
  min-height: 46px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--black-line);
  background: var(--navy);
  color: white;
  font: 600 11px var(--font-mono);
  letter-spacing: 0.07em;
}

.packet-title {
  padding: clamp(22px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: 34px;
  align-items: end;
}

.packet-title h2 {
  margin: 0;
  font-size: clamp(26px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.packet-title p {
  margin: 0;
  padding-left: 20px;
  border-left: 4px solid var(--red);
  font-size: clamp(12px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.45;
}

.packet-assets {
  padding: 0 clamp(18px, 3vw, 46px) clamp(26px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(150px, 0.72fr) minmax(
      120px,
      0.55fr
    );
  gap: clamp(10px, 1.5vw, 20px);
}

.packet-assets figure {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--black-line);
  background: #d8d3c8;
}

.packet-assets img,
.packet-assets video {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  background: #bdb9b0;
}

.deferred-packet-media {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  display: flex;
  flex: 1 1 auto;
  background: #bdb9b0;
}

.deferred-packet-media img {
  width: 100%;
  height: 100%;
  flex: none;
}

.packet-landscape .deferred-packet-media {
  aspect-ratio: 16 / 9;
}

.packet-vertical .deferred-packet-media {
  aspect-ratio: 9 / 16;
}

.packet-reaction .deferred-packet-media {
  aspect-ratio: 2 / 3;
}

.packet-landscape img,
.packet-landscape video {
  aspect-ratio: 16 / 9;
}

@media (scripting: none) {
  .packet-landscape video[data-deferred-poster] {
    background-image: var(--deferred-poster);
    background-position: center;
    background-size: cover;
  }
}

.packet-vertical img {
  aspect-ratio: 9 / 16;
  object-position: 50% 42%;
}

.packet-reaction img {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: center bottom;
  background: #191919;
}

.packet-assets figcaption {
  min-height: 34px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--warm-white);
  font-size: 11px;
}

.packet-assets figcaption span {
  font-size: 11px;
}

.packet-copy {
  padding: clamp(24px, 4vw, 50px);
  border-top: 1px solid var(--black-line);
  background: var(--warm-white);
}

.packet-copy blockquote {
  margin: 0 0 28px;
  padding-left: 22px;
  border-left: 6px solid var(--red);
  font-size: clamp(17px, 2.3vw, 30px);
  line-height: 1.55;
}

.suggested-captions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--black-line);
}

.suggested-captions p {
  margin: 0;
  padding: 18px;
  font-size: 12px;
  line-height: 1.6;
}

.suggested-captions p + p {
  border-left: 1px solid var(--black-line);
  font-size: 11px;
}

.suggested-captions b {
  display: block;
  margin-bottom: 8px;
  color: var(--on-paper-muted);
  font: 600 11px var(--font-mono);
}

.packet-controls {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.packet-controls a,
.packet-controls button {
  min-height: 46px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  text-decoration: none;
}

.packet-controls .archive-link {
  margin-right: auto;
  background: var(--ink);
  color: white;
}

.packet-controls span {
  font-size: 11px;
}

.copy-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--on-paper-muted);
  font: 11px var(--font-mono);
}

.reserve-section,
.contraband-section {
  margin-top: clamp(100px, 14vw, 190px);
  content-visibility: auto;
}

.reserve-section {
  contain-intrinsic-block-size: auto 690px;
}

.contraband-section {
  contain-intrinsic-block-size: auto 370px;
}

.reserve-section > header,
.contraband-section > header {
  padding-bottom: 24px;
  border-bottom: 4px solid var(--warm-white);
}

.reserve-note {
  position: relative;
  width: min(100%, 1050px);
  min-height: 420px;
  margin: 42px auto 0;
  padding: clamp(25px, 5vw, 70px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  overflow: hidden;
  border: 10px double #362d20;
  background:
    repeating-linear-gradient(
      45deg,
      rgb(173 137 80 / 10%) 0 1px,
      transparent 1px 8px
    ),
    var(--paper);
  color: #17130e;
  box-shadow: 12px 14px 0 rgb(0 0 0 / 36%);
}

.reserve-note::before,
.reserve-note::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgb(173 137 80 / 45%);
  border-radius: 50%;
  content: "";
}

.reserve-note::before {
  top: -90px;
  right: -70px;
}
.reserve-note::after {
  bottom: -100px;
  left: -60px;
}

.note-seal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.note-seal img {
  width: 76px;
  height: 76px;
}

.note-seal span {
  font-size: 14px;
  line-height: 1.5;
}

.note-seal small {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.note-denomination {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--brass);
  font: 400 clamp(90px, 15vw, 190px)/0.7 var(--font-display);
  letter-spacing: -0.02em;
}

.note-denomination span {
  font-size: 0.45em;
  vertical-align: top;
}

.note-ruling {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0;
  align-self: end;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.45;
}

.note-serial {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 7px;
  font: 11px var(--font-mono);
  text-align: right;
}

.note-serial b {
  color: var(--red-dark);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.contraband-drawer {
  margin-top: 42px;
  border: 1px solid var(--white-line);
  background: #111216;
}

.contraband-drawer > summary {
  position: relative;
  min-height: 88px;
  padding: 18px clamp(20px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border: 3px solid var(--red);
  background: repeating-linear-gradient(
    -45deg,
    #c8202d 0 18px,
    #92141e 18px 36px
  );
  color: white;
  cursor: pointer;
  list-style: none;
}

.contraband-drawer > summary::-webkit-details-marker {
  display: none;
}

.contraband-drawer > summary::before,
.contraband-drawer > summary::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  background: var(--paper);
  content: "";
}

.contraband-drawer > summary::before {
  left: 13%;
  transform: skewX(-8deg);
}
.contraband-drawer > summary::after {
  right: 17%;
  transform: skewX(6deg);
}

.contraband-drawer > summary span,
.contraband-drawer > summary small {
  position: relative;
  z-index: 1;
  padding: 6px 9px;
  background: var(--ink);
}

.contraband-drawer > summary span {
  font-size: 17px;
}

.contraband-drawer > summary small {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.08em;
}

.contraband-drawer[open] > summary {
  border-color: #5c5d61;
  background: #202126;
}

.contraband-drawer[open] > summary::before,
.contraband-drawer[open] > summary::after {
  opacity: 0.1;
}

.contraband-inner {
  position: relative;
  padding: clamp(20px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      transparent 0 49.7%,
      rgb(255 0 53 / 13%) 49.8% 50.2%,
      transparent 50.3%
    ),
    repeating-linear-gradient(
      0deg,
      rgb(255 255 255 / 3%) 0 1px,
      transparent 1px 4px
    ),
    #161310;
}

.contraband-inner::before {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background: repeating-radial-gradient(
    circle at 17% 33%,
    transparent 0 2px,
    #ffffff10 3px 4px
  );
  content: "";
  pointer-events: none;
}

.contraband-strip {
  position: relative;
  z-index: 1;
  min-height: 38px;
  margin-bottom: 28px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #e9e3d5;
  color: #191613;
  font: 600 11px var(--font-mono);
  box-shadow: 3px 4px 0 #000;
}

.contraband-strip b {
  color: var(--red-dark);
}

.contraband-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(9px, 1.4vw, 18px);
}

.drawer-loading {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-content: center;
  font-size: 15px;
  text-align: center;
}

.drawer-loading span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
}

.contraband-tile {
  position: relative;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 310px;
  min-width: 0;
  margin: 0;
  padding: 7px;
  transform: rotate(var(--tile-rotation, 0deg));
  border: 1px solid #ffffff2b;
  background: #ded5c5;
  color: #171412;
  box-shadow: 4px 5px 0 #00000072;
}

.contraband-tile:nth-child(5n + 2) {
  --tile-rotation: -1.2deg;
  background: #b9b6aa;
}
.contraband-tile:nth-child(7n + 3) {
  --tile-rotation: 0.9deg;
  background: #eadfcb;
}
.contraband-tile:nth-child(11n + 4) {
  --tile-rotation: -0.6deg;
  background: #c9c0b1;
}

.contraband-tile::before {
  position: absolute;
  z-index: 2;
  top: -7px;
  left: 30%;
  width: 42%;
  height: 14px;
  transform: rotate(-2deg);
  background: rgb(219 201 151 / 70%);
  content: "";
}

.contraband-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}

.contraband-tile figcaption {
  padding: 9px 3px 3px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  font: 600 11px/1.35 var(--font-mono);
}

.contraband-tile figcaption b {
  color: var(--red-dark);
}

.contraband-tile figcaption small {
  display: block;
  margin-top: 3px;
  color: #575048;
  font: 11px/1.3 var(--font-mono);
}

/* Foreign Affairs dossier */
.dossier-page {
  background: #d8d3c8;
}

.dossier-shell {
  position: relative;
  width: min(100%, 1520px);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 80px) var(--pad) clamp(100px, 14vw, 190px);
  color: var(--on-paper);
}

.personnel-dossier {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  border: 1px solid var(--black-line);
  background: var(--paper);
  box-shadow: 12px 14px 0 rgb(9 11 15 / 18%);
}

.dossier-portrait {
  min-height: 840px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-right: 1px solid var(--black-line);
  background: #e1dacf;
}

.dossier-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.9) contrast(1.02);
}

.dossier-portrait > p {
  margin: 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--black-line);
  background: var(--navy);
  color: white;
  font-size: 11px;
}

.dossier-portrait b {
  font: 600 11px var(--font-mono);
}

.dossier-document {
  min-width: 0;
  padding: clamp(28px, 4vw, 64px);
}

.dossier-document > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 5px solid var(--ink);
}

.dossier-document > header p {
  margin: 0 0 14px;
  color: var(--olive);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.1em;
}

.dossier-document h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.dossier-document h1 span {
  display: block;
  margin-top: 10px;
  font: 400 0.68em/.8 var(--font-display);
  letter-spacing: 0.04em;
}

.clearance-mark {
  width: 88px;
  height: 88px;
  flex: none;
  display: grid;
  place-content: center;
  transform: rotate(3deg);
  border: 3px double var(--red);
  color: var(--red);
  font-size: 19px;
  line-height: 1.1;
  text-align: center;
}

.clearance-mark small {
  font-size: 11px;
  letter-spacing: 0.06em;
}

.identity-grid {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--black-line);
  border-left: 1px solid var(--black-line);
}

.identity-grid div {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--black-line);
  border-bottom: 1px solid var(--black-line);
}

.identity-grid dt {
  margin-bottom: 7px;
  color: var(--olive);
  font: 600 11px var(--font-mono);
}

.identity-grid dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.identity-grid dd span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}

.uniform-order {
  margin-top: 34px;
}

.uniform-order h2 {
  margin: 0 0 13px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
}

.uniform-order h2 span {
  color: var(--olive);
  font-size: 11px;
}

.uniform-order ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--black-line);
  list-style: none;
}

.uniform-order li {
  min-height: 42px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--black-line);
  font-size: 11px;
}

.uniform-order li > span {
  color: var(--red);
  font: 600 11px var(--font-mono);
}

.uniform-order li small {
  color: var(--on-paper-muted);
  font-size: 11px;
}

.minister-quote {
  margin: 36px 0;
  padding: 22px 24px;
  border-left: 6px solid var(--red);
  background: #e2ddd3;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.55;
}

.minister-quote span {
  display: block;
  margin-top: 12px;
  font-size: max(11px, 0.52em);
  font-weight: 600;
}

.dossier-model-strip {
  margin: 0;
  border: 1px solid var(--black-line);
}

.dossier-model-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--warm-white);
}

.dossier-model-strip figcaption {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--black-line);
  font-size: 11px;
}

.dossier-document > footer {
  margin-top: 26px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--black-line);
  font: 600 11px var(--font-mono);
}

/* Foreign Affairs live portrait dossier */
.mikazuki-live-dossier {
  --live-crimson: #b3122f;
  --live-brass: #c3a96c;
  position: relative;
  margin-top: clamp(80px, 11vw, 160px);
  border: 1px solid #46413b;
  background: #0c0d0f;
  color: #eee8dc;
  box-shadow: 14px 17px 0 rgb(9 11 15 / 24%);
  isolation: isolate;
  scroll-margin-top: calc(var(--masthead-height) + 18px);
}

.mikazuki-live-dossier::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 49.8%, rgb(195 169 108 / 8%) 50%, transparent 50.2%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 2%) 0 1px, transparent 1px 5px);
  content: "";
  pointer-events: none;
}

.mikazuki-live-heading {
  padding: clamp(20px, 3vw, 42px);
  display: grid;
  grid-template-columns: minmax(170px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  border-bottom: 1px solid #46413b;
}

.mikazuki-live-heading .section-code {
  align-self: start;
  color: var(--live-brass);
}

.mikazuki-live-heading h2 {
  margin: 0;
  font: 400 clamp(36px, 6.3vw, 88px)/0.88 var(--font-display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.mikazuki-live-heading h2 span {
  display: block;
  margin-top: 14px;
  color: #bdb5a6;
  font: 600 clamp(10px, 1.1vw, 14px)/1.1 var(--font-mono);
  letter-spacing: 0.16em;
}

.mikazuki-live-heading > div > p {
  max-width: 64ch;
  margin: 24px 0 0;
  color: #a9a194;
  font-size: 13px;
  line-height: 1.7;
}

.mikazuki-live-frame {
  position: relative;
  min-height: clamp(680px, 73vw, 1040px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgb(179 18 47 / 16%), transparent 43%),
    linear-gradient(90deg, #0b0c0e, #161519 50%, #090a0c);
}

.mikazuki-live-frame::before,
.mikazuki-live-frame::after {
  position: absolute;
  top: 28px;
  z-index: 5;
  color: var(--live-brass);
  font: 600 10px/1 var(--font-mono);
  letter-spacing: 0.12em;
  pointer-events: none;
}

.mikazuki-live-frame::before {
  left: 30px;
  content: "LIVE PORTRAIT / MFA-MZK-001";
}

.mikazuki-live-frame::after {
  right: 30px;
  content: "LOCAL PROCESS / NO UPLINK";
}

.mikazuki-live-static,
.mikazuki-live-mount {
  position: absolute;
  inset: 0;
  margin: 0;
}

.mikazuki-live-static {
  display: grid;
  place-items: start center;
  transition: opacity 420ms var(--ease-mechanical);
}

.mikazuki-live-static img {
  width: min(76%, 820px);
  height: 100%;
  object-fit: contain;
  object-position: 50% 0;
  filter: saturate(0.86) contrast(1.04);
}

.mikazuki-live-static figcaption {
  position: absolute;
  right: 24px;
  bottom: 78px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #bdb5a6;
  font: 600 10px/1.35 var(--font-mono);
  letter-spacing: 0.06em;
}

.mikazuki-live-static figcaption b {
  color: var(--live-brass);
}

.mikazuki-live-mount {
  z-index: 2;
  opacity: 0;
  transition: opacity 420ms var(--ease-mechanical);
}

.mikazuki-live-dossier.is-live .mikazuki-live-mount {
  opacity: 1;
}

.mikazuki-live-dossier.is-live .mikazuki-live-static {
  opacity: 0;
  pointer-events: none;
}

.mikazuki-live-runtime {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.mikazuki-live-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 22px solid transparent;
  border-image: linear-gradient(135deg, rgb(195 169 108 / 34%), transparent 22%, transparent 78%, rgb(179 18 47 / 48%)) 1;
  pointer-events: none;
}

.mikazuki-live-status {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 5;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #efe9de;
  font-size: 11px;
}

.mikazuki-live-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #817a70;
}

.mikazuki-live-status b {
  color: #918a7e;
  font: 600 10px var(--font-mono);
  letter-spacing: 0.08em;
}

.mikazuki-live-dossier[data-live-state="loading"] .mikazuki-live-status i {
  background: var(--live-brass);
  box-shadow: 0 0 14px rgb(195 169 108 / 80%);
}

.mikazuki-live-dossier[data-live-state="live"] .mikazuki-live-status i {
  background: #6bb88b;
  box-shadow: 0 0 14px rgb(107 184 139 / 80%);
}

.mikazuki-live-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #46413b;
}

.mikazuki-live-ledger span {
  min-width: 0;
  padding: 18px clamp(14px, 2vw, 26px);
  border-right: 1px solid #46413b;
  font-size: 11px;
}

.mikazuki-live-ledger span:last-child {
  border-right: 0;
}

.mikazuki-live-ledger small {
  display: block;
  margin-bottom: 7px;
  color: var(--live-brass);
  font: 600 9px var(--font-mono);
  letter-spacing: 0.11em;
}

.mikazuki-live-noscript {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid #46413b;
  color: #bdb5a6;
  font-size: 11px;
}

.mikazuki-live-noscript span {
  display: block;
  margin-top: 4px;
  font: 600 9px var(--font-mono);
}

@media (max-width: 900px) {
  .mikazuki-live-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mikazuki-live-heading .section-code {
    margin-bottom: 0;
  }

  .mikazuki-live-frame {
    min-height: min(126vw, 900px);
  }

  .mikazuki-live-ledger {
    grid-template-columns: 1fr 1fr;
  }

  .mikazuki-live-ledger span:nth-child(2) {
    border-right: 0;
  }

  .mikazuki-live-ledger span:nth-child(-n + 2) {
    border-bottom: 1px solid #46413b;
  }
}

@media (max-width: 620px) {
  .mikazuki-live-dossier {
    margin-inline: calc(var(--pad) * -0.5);
    box-shadow: 7px 9px 0 rgb(9 11 15 / 24%);
  }

  .mikazuki-live-heading h2 {
    font-size: clamp(36px, 13vw, 58px);
  }

  .mikazuki-live-heading > div > p {
    margin-top: 18px;
  }

  .mikazuki-live-frame {
    min-height: 142vw;
  }

  .mikazuki-live-frame::before,
  .mikazuki-live-frame::after {
    top: 17px;
    font-size: 8px;
  }

  .mikazuki-live-frame::before {
    left: 16px;
  }

  .mikazuki-live-frame::after {
    right: 16px;
    content: "LOCAL / NO UPLINK";
  }

  .mikazuki-live-static img {
    width: 100%;
  }

  .mikazuki-live-static figcaption {
    right: 14px;
    bottom: 76px;
    left: 14px;
    display: grid;
    gap: 4px;
  }

  .mikazuki-live-status {
    right: 14px;
    bottom: 18px;
    left: 14px;
    flex-wrap: wrap;
  }

  .mikazuki-live-status b {
    width: 100%;
    padding-left: 17px;
  }

  .mikazuki-live-scan {
    border-width: 12px;
  }

  .mikazuki-live-ledger {
    grid-template-columns: 1fr;
  }

  .mikazuki-live-ledger span,
  .mikazuki-live-ledger span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #46413b;
  }

  .mikazuki-live-ledger span:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mikazuki-live-mount,
  .mikazuki-live-scan {
    display: none;
  }

  .mikazuki-live-static {
    opacity: 1 !important;
  }
}

.misfiled-leak {
  position: relative;
  margin: clamp(90px, 12vw, 170px) 4% 0;
  padding: clamp(24px, 5vw, 72px);
  border: 1px solid #5b564e;
  background:
    repeating-linear-gradient(
      0deg,
      rgb(255 255 255 / 2%) 0 1px,
      transparent 1px 4px
    ),
    #141312;
  color: #efe9dd;
  box-shadow: 9px 11px 0 rgb(0 0 0 / 35%);
}

.leak-tab {
  position: absolute;
  top: -34px;
  left: 18px;
  min-height: 34px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #c6bcaa;
  color: #191713;
  font-size: 11px;
}

.leak-tab b {
  color: var(--red-dark);
  font: 600 11px var(--font-mono);
}

.misfiled-leak > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e4ded1;
}

.misfiled-leak > header p {
  margin: 0;
  color: #8f8a81;
  font: 600 11px var(--font-mono);
  letter-spacing: 0.08em;
}

.misfiled-leak > header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.misfiled-leak > header h2 span {
  display: block;
  margin-top: 8px;
  color: #aca69c;
  font: 400 0.65em var(--font-display);
  letter-spacing: 0.04em;
}

.leak-audio {
  scroll-margin-top: calc(var(--masthead-height) + 22px);
  margin-top: 36px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.8fr);
  align-items: center;
  gap: 30px;
  border: 1px solid #5d584f;
  background: #0d0d0d;
}

.leak-audio span {
  color: var(--red);
  font: 600 11px var(--font-mono);
}

.leak-audio h3 {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 500;
}

.leak-audio p {
  margin: 6px 0 0;
  color: #98938b;
  font-size: 11px;
}

.leak-audio audio {
  width: 100%;
  min-height: 44px;
}

.voice-fragment {
  max-width: 680px;
  margin: 48px 0;
  padding: 18px 22px;
  border-left: 4px solid #7f796f;
  background: #1d1b19;
  font-size: 15px;
  line-height: 1.7;
}

.voice-fragment > span,
.voice-fragment small {
  display: block;
  font: 11px var(--font-mono);
}

.voice-fragment > span {
  margin-bottom: 7px;
  color: var(--red);
}

.voice-fragment small {
  margin-top: 7px;
  color: #9f9a91;
}

.expression-strip {
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  overflow: hidden;
  border: 1px solid #565149;
  background: black;
}

.expression-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #4d4841;
  background: #0b0b0b;
  filter: saturate(0.88) contrast(1.06);
}

.human-crack {
  margin: 54px 0 0 auto;
  max-width: 430px;
  padding-top: 16px;
  border-top: 1px solid #5d584f;
  color: #c9c2b7;
  font-family: var(--font-editorial);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  text-align: right;
}

.human-crack span {
  display: block;
  margin-top: 8px;
  color: #8f8a81;
  font-size: 11px;
  font-style: normal;
}

/* Shared footer and error */
.network-footer {
  min-height: 72px;
  padding: 22px var(--pad);
  display: grid;
  place-items: center;
  border-top: 1px solid var(--white-line-soft);
  background: var(--ink);
  color: var(--olive);
  text-align: center;
}

.network-footer p {
  margin: 0;
  font: 11px/1.5 var(--font-mono);
}

.network-footer--paper {
  border-top-color: var(--black-line);
  background: var(--paper);
  color: var(--on-paper-muted);
}

@media (min-width: 900px) {
  .hero-shade {
    background: rgb(3 5 9 / 7%);
  }

  .broadcast-top-left {
    top: 30px;
    left: 36px;
    width: 330px;
    min-width: 330px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) 72px;
    background: var(--navy);
  }

  .broadcast-lower-third {
    height: 154px;
    min-height: 154px;
  }

  .station-block {
    padding: 14px 20px;
  }

  .station-block span {
    font-size: 11px;
  }

  .station-block strong {
    margin-block: 3px;
    font-size: clamp(20px, 1.65vw, 27px);
  }

  .hero-headline {
    padding: 10px 24px 9px;
  }

  .hero-desk {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .broadcast-lower-third h1 {
    max-width: none;
    overflow: visible;
    font-family:
      "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: clamp(26px, 2.25vw, 42px);
    font-stretch: condensed;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.075em;
    white-space: nowrap;
  }

  .english-headline {
    margin-top: 4px;
    font-size: clamp(11px, 0.78vw, 12px);
    line-height: 1.15;
  }

  .hero-ruling {
    margin-top: 5px;
    padding-top: 5px;
    gap: 14px;
    font-size: clamp(11px, 0.8vw, 13px);
    line-height: 1.28;
  }

  .hero-ruling span {
    font-size: max(11px, 0.86em);
    line-height: 1.24;
  }

  .broadcast-clock time {
    font-size: clamp(22px, 2vw, 32px);
  }
}

.error-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.error-page main {
  width: min(100% - 36px, 980px);
  margin: auto;
  padding-block: 70px;
}

.error-code {
  margin: 0 0 22px;
  color: var(--red);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.1em;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.15;
}

.error-page h1 span {
  display: block;
  margin-top: 16px;
  color: var(--on-dark-muted);
  font: 400 0.45em/1.3 var(--font-mono);
}

.error-page nav {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.error-page nav a {
  min-height: 60px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  text-decoration: none;
}

.error-page nav span {
  color: var(--on-dark-muted);
  font-size: 11px;
}

/* v6 broadcast hijack */
.broadcast-top-left,
.broadcast-top-right,
.broadcast-lower-third,
.hero-action-rail,
.news-ticker {
  z-index: 7;
}

.hijack-layer {
  position: absolute;
  inset: 76px 18px 27%;
  z-index: 5;
  pointer-events: none;
}

.hijack-window {
  position: absolute;
  border: 2px solid #0b0c0e;
  background: #c8c5bd;
  color: #111318;
  box-shadow: 4px 4px 0 rgb(0 0 0 / 62%);
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateY(12px);
}

.broadcast-hero.is-hijacked .hijack-window {
  pointer-events: auto;
  animation: hijack-window-in 180ms var(--p-ease-mechanical) forwards;
}

.broadcast-hero.is-hijacked .hijack-window--error {
  animation-delay: 0ms;
}
.broadcast-hero.is-hijacked .hijack-window--terminal {
  animation-delay: 420ms;
}
.broadcast-hero.is-hijacked .hijack-window--bbs {
  animation-delay: 900ms;
}
.broadcast-hero.is-hijacked .hijack-window--draft {
  animation-delay: 1380ms;
}

@keyframes hijack-window-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hijack-titlebar {
  min-height: 26px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--navy);
  color: white;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.hijack-titlebar span:last-child {
  white-space: nowrap;
}

.hijack-window p {
  margin: 0;
}

.hijack-window--error {
  top: 0;
  left: 0;
  width: min(29vw, 430px);
}

.hijack-error-body {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(54px, auto) 1fr;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  line-height: 1.45;
}

.hijack-error-body strong {
  min-height: 34px;
  padding: 5px 7px;
  display: grid;
  place-items: center;
  border: 1px solid #650c14;
  background: var(--red);
  color: white;
  font-size: 9px;
  line-height: 1.15;
  text-align: center;
}

.hijack-window--terminal {
  top: 11%;
  right: 0;
  width: min(33vw, 520px);
  background: #060907;
  color: #80ca62;
}

.hijack-terminal-body {
  padding: 11px 13px;
  font-size: 11px;
  line-height: 1.5;
}

.hijack-terminal-body b {
  color: #f0f1e6;
  font-weight: 400;
}

.hijack-window--bbs {
  bottom: 0;
  left: 0;
  width: min(28vw, 420px);
}

.hijack-bbs-body {
  padding: 9px 11px;
  display: grid;
  gap: 7px;
  font-size: 11px;
  line-height: 1.35;
}

.hijack-bbs-body span {
  color: #174f16;
}

.hijack-bbs-body a {
  min-height: 44px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #5d080f;
  background: var(--red);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.hijack-bbs-body a span {
  color: inherit;
}

.hijack-window--draft {
  right: 0;
  bottom: 0;
  width: min(32vw, 510px);
}

.hijack-draft-body {
  padding: 12px 14px;
  background: #e4e0d6;
}

.hijack-draft-body strong {
  display: block;
  color: #941b24;
  font-family: var(--font-jp);
  font-size: clamp(16px, 1.65vw, 24px);
  font-weight: 600;
  line-height: 1.2;
}

.hijack-draft-body p {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.42;
}

/* Archive −1 */
.archive-one-page {
  min-width: 0;
  background: #06101f;
  color: #f4f0e6;
  font-family: var(--font-jp);
}

.a1-commandbar {
  min-height: 64px;
  padding: 7px 18px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #26354b;
  background: #050c16;
  color: white;
}

.a1-lockup,
.a1-return,
.a1-commandbar nav a {
  color: inherit;
  text-decoration: none;
}

.a1-lockup {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.a1-lockup img {
  flex: 0 0 auto;
}

.a1-lockup span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.a1-lockup strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a1-lockup small,
.a1-return small,
.a1-commandbar nav small {
  color: #aeb8c6;
  font: 10px var(--font-mono);
  letter-spacing: 0.12em;
}

.a1-commandbar nav {
  display: flex;
  align-items: stretch;
}

.a1-commandbar nav a {
  min-height: 48px;
  padding: 5px 16px;
  display: grid;
  place-content: center;
  gap: 3px;
  border-left: 1px solid #26354b;
  text-align: center;
}

.a1-commandbar nav span,
.a1-return span {
  font-size: 12px;
}

.a1-return {
  min-height: 48px;
  padding: 6px 16px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid #7f858c;
  text-align: center;
}

.a1-desktop {
  position: relative;
  min-height: 860px;
  height: calc(100svh - 64px);
  padding: 10px 10px 48px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(14, minmax(0, 1fr));
  gap: 6px;
  isolation: isolate;
  overflow: hidden;
  background-color: #071328;
  background-image: none;
}

.a1-wallpaper {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 35%;
  overflow: hidden;
  border-left: 1px solid #31425a;
  background: #171c24;
}

.a1-wallpaper::after {
  position: absolute;
  inset: 0;
  background: rgb(5 12 22 / 30%);
  content: "";
}

.a1-wallpaper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 36%;
  filter: saturate(0.78) contrast(1.06);
}

.a1-wallpaper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.a1-authorship {
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: 10;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #6d7886;
  background: rgb(5 12 22 / 88%);
  font: 14px/1.35 var(--font-mono);
  letter-spacing: 0.04em;
}

.a1-authorship strong {
  margin-right: 8px;
  color: #ff6c76;
}

.os-window {
  min-width: 0;
  min-height: 0;
  border: 2px solid #0b0c0e;
  outline: 1px solid #d8d6cf;
  background: #c8c5bd;
  color: #121318;
  box-shadow: 4px 4px 0 rgb(0 0 0 / 58%);
  font-family: var(--font-mono);
  overflow: hidden;
}

.os-window[hidden] {
  display: none !important;
}

.os-window--bbs {
  z-index: 4;
  grid-column: 1 / 5;
  grid-row: 1 / 9;
}
.os-window--files {
  z-index: 5;
  grid-column: 5 / 9;
  grid-row: 1 / 7;
  margin-left: -4px;
}
.os-window--terminal {
  z-index: 3;
  grid-column: 1 / 5;
  grid-row: 9 / 15;
  margin-top: -4px;
}
.os-window--map {
  z-index: 4;
  grid-column: 5 / 9;
  grid-row: 7 / 15;
  margin: -4px 0 0 -4px;
}
.os-window--audio {
  z-index: 5;
  grid-column: 11 / 13;
  grid-row: 1 / 6;
  margin: 54px 0 0 -4px;
}
.os-window--notice {
  z-index: 6;
  grid-column: 9 / 13;
  grid-row: 10 / 14;
  margin-left: -4px;
}
.os-window--deleted,
.os-window--private {
  position: absolute;
  z-index: 12;
  right: 8%;
  bottom: 88px;
  width: min(540px, 84vw);
  max-height: 62vh;
}

.os-titlebar {
  min-height: 44px;
  padding: 0 4px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #111318;
  background: #061a54;
  color: white;
}

.os-titlebar--danger {
  background: #8e111d;
}

.os-titlebar h1,
.os-titlebar h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font: 600 12px/1.2 var(--font-mono);
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.os-titlebar h1 span {
  font-size: 10px;
  font-weight: 400;
}

.os-window-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.18em;
}

.os-window-controls .os-close {
  margin-right: -1px;
}

.os-close {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #e1dfd8;
  border-right-color: #15171b;
  border-bottom-color: #15171b;
  border-radius: 0;
  background: #c8c5bd;
  color: #111318;
  font: 700 16px var(--font-mono);
  cursor: pointer;
}

.os-menubar {
  min-height: 25px;
  padding: 3px 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #65645f;
  background: #d4d1c9;
  color: #1f2024;
  font-size: 11px;
}

.os-statusbar {
  min-height: 24px;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #75736d;
  background: #bcb9b2;
  font-size: 11px;
}

.bbs-thread-title {
  margin: 0;
  padding: 7px 9px;
  border-bottom: 1px solid #77746d;
  background: #d9d6ce;
  font: 600 14px/1.4 var(--font-jp);
}

.bbs-posts {
  height: calc(100% - 128px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #77746d #d1cec6;
}

.bbs-post {
  padding: 8px 10px;
  border-bottom: 1px solid #89867f;
  background: #d7d4cc;
}

.bbs-post:target,
.bbs-post.is-referenced {
  outline: 3px solid var(--red);
  outline-offset: -3px;
  background: #eee6d5;
}

.bbs-post header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 7px;
  font-size: 11px;
}

.bbs-post header span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #286d24;
}

.bbs-post header time {
  grid-column: 2;
  color: #4f504c;
}

.bbs-post p {
  margin: 5px 0 2px 22px;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.45;
}

.bbs-post small {
  margin-left: 22px;
  display: block;
  color: #565752;
  font: 14px/1.42 var(--font-mono);
}

.bbs-command {
  color: #a51f29;
  font-size: 15px !important;
  font-weight: 600;
}

.bbs-reply {
  margin: 5px 0 0 22px;
  display: inline-flex;
  align-items: center;
  color: #162fa1;
  min-height: 44px;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 700;
}

.os-address {
  margin: 0;
  padding: 4px 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #77746d;
  font-size: 11px;
}

.os-address code {
  padding: 3px 6px;
  border: 1px inset #aaa79f;
  background: #eeeae0;
}

.file-table {
  height: calc(100% - 120px);
  padding: 4px;
  overflow: auto;
  background: #e1ded6;
}

.file-table button {
  width: 100%;
  min-height: 44px;
  padding: 4px 5px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 64px 92px;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #15161a;
  font: 11px var(--font-mono);
  text-align: left;
  cursor: pointer;
}

.file-table button:hover,
.file-table button:focus-visible {
  background: #0b2d7c;
  color: white;
}

.file-table b {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-body {
  height: calc(100% - 44px);
  padding: 12px;
  overflow: auto;
  background: #030805;
  color: #83d064;
  font: 14px/1.5 var(--font-mono);
}

.terminal-body > p {
  margin: 0 0 12px;
}

.terminal-body > p span {
  color: #f0f3dd;
}

.terminal-body form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
}

.terminal-body input {
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #83d064;
  border-radius: 0;
  background: #071109;
  color: #f5f1df;
  font: 14px var(--font-mono);
}

.terminal-body button,
.private-log button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #83d064;
  border-radius: 0;
  background: #102a13;
  color: #f5f1df;
  font: 12px var(--font-mono);
  cursor: pointer;
}

.terminal-hint {
  margin-top: 12px !important;
  color: #d6c65d;
}

.terminal-output {
  color: #f1727c;
}

.terminal-output.is-success {
  color: #9ee780;
}

.a1-map {
  height: calc(100% - 44px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #ded9ce;
}

.a1-map img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #d7d1c5;
  filter: saturate(0.55) sepia(0.15) contrast(1.08);
}

.a1-map figcaption {
  padding: 7px 9px;
  display: grid;
  gap: 3px;
  border-top: 1px solid #6d6b65;
  font-size: 14px;
  line-height: 1.42;
}

.a1-map figcaption strong {
  color: #941b24;
  font-family: var(--font-jp);
  font-size: 15px;
}

.a1-map figcaption small {
  color: #51524f;
  font-size: 14px;
}

.a1-audio {
  height: calc(100% - 44px);
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: #d0cdc5;
}

.a1-audio p {
  margin: 0;
  padding: 9px;
  border: 3px inset #9d9a93;
  background: #020705;
  color: #83d064;
  font-size: 14px;
  line-height: 1.5;
}

.a1-audio audio {
  width: 100%;
  min-height: 44px;
}

.a1-audio small {
  color: #454642;
  font-size: 14px;
}

.a1-notice {
  height: calc(100% - 44px);
  padding: 15px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  overflow: auto;
  background: #ddd9d0;
}

.a1-notice > strong {
  min-height: 54px;
  padding: 8px 5px;
  display: grid;
  place-items: center;
  background: #a91622;
  color: white;
  font: 700 11px/1.15 var(--font-mono);
  text-align: center;
}

.a1-notice p {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.5;
}

.a1-notice em {
  color: #a91622;
  font-style: normal;
}

.a1-notice code {
  display: block;
  margin-top: 7px;
  font-size: 11px;
}

.deleted-body,
.private-log {
  padding: 18px;
  overflow: auto;
  background: #ddd9d0;
  color: #121318;
}

.private-log p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
}

.private-log [lang="en"] {
  color: #961a25;
  font-family: var(--font-mono);
  font-weight: 600;
}

.private-log button {
  border-color: #111318;
  background: #921b25;
}

.a1-chibi-icon {
  position: absolute;
  right: 24px;
  bottom: 76px;
  z-index: 3;
  width: 94px;
  min-height: 128px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: white;
  font: 11px/1.25 var(--font-mono);
  cursor: pointer;
}

.a1-chibi-icon:hover,
.a1-chibi-icon:focus-visible {
  border-color: white;
  background: rgb(6 16 31 / 74%);
}

.a1-chibi-icon img {
  width: 68px;
  height: 96px;
  margin: 0 auto 4px;
  object-fit: contain;
}

.a1-taskbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  min-height: 42px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-top: 2px outset #e5e2d9;
  background: #bbb8b0;
}

.a1-taskbar button {
  min-height: 44px;
  padding: 5px 10px;
  border: 2px outset #e5e2d9;
  border-radius: 0;
  background: #c9c6be;
  color: #111318;
  font: 11px var(--font-mono);
  cursor: pointer;
}

.a1-taskbar time {
  margin-left: auto;
  color: #111318;
  font: 11px var(--font-mono);
}

.archive-one-page .network-footer {
  border-top-color: #37465b;
  background: #050c16;
}

@media (max-width: 1180px) {
  .network-nav {
    display: none;
  }
  .mobile-network-menu {
    display: block;
    margin-left: auto;
  }
  .broadcast-lower-third {
    grid-template-columns: 180px minmax(0, 1fr) 82px;
  }
  .hero-ruling {
    grid-template-columns: 1fr;
  }
  .hero-ruling span {
    display: none;
  }
  .personnel-dossier {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  }
  .dossier-portrait {
    min-height: 720px;
  }
}

@media (max-width: 900px) {
  .broadcast-lower-third {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr 76px;
  }
  .station-block {
    display: none;
  }
  .broadcast-top-left {
    left: 18px;
  }
  .broadcast-top-right {
    right: 18px;
  }
  .hero-action-rail {
    right: 18px;
  }
  .transmission-card,
  .transmission-card--lead,
  .transmission-card--wide {
    grid-column: span 6;
  }
  .archive-shell {
    grid-template-columns: 1fr;
  }
  .archive-rail {
    padding: 24px var(--pad);
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .archive-rail > img {
    width: 50px;
    height: 50px;
    margin: 0;
  }
  .archive-rail > p {
    margin: 0;
  }
  .archive-rail dl {
    margin-left: auto;
    grid-template-columns: repeat(4, auto);
    gap: 18px;
  }
  .archive-rail dl div {
    padding: 0;
    border: 0;
  }
  .archive-rail dl div:nth-child(n + 3) {
    display: none;
  }
  .packet-assets {
    grid-template-columns: minmax(0, 1.7fr) minmax(130px, 0.65fr);
  }
  .packet-reaction {
    grid-column: 1 / -1;
  }
  .packet-reaction img,
  .packet-reaction .deferred-packet-media {
    max-height: 300px;
  }
  .reserve-note {
    min-height: 360px;
  }
  .contraband-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .personnel-dossier {
    grid-template-columns: 1fr;
  }
  .dossier-portrait {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--black-line);
  }
  .dossier-portrait > img {
    height: min(86vw, 760px);
    object-position: 50% 35%;
  }
}

@media (max-width: 700px) {
  :root {
    --masthead-height: 62px;
    --masthead-inline: 10px;
    --pad: 16px;
  }
  .masthead-frame {
    gap: 7px;
  }
  .network-lockup {
    gap: 7px;
  }
  .network-lockup img {
    width: 32px;
    height: 32px;
  }
  .network-lockup strong {
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .network-lockup small {
    display: none;
  }
  .packet-cta {
    min-width: 94px;
    min-height: 44px;
    padding-inline: 8px;
  }
  .packet-cta span {
    font-size: 11px;
  }
  .packet-cta small {
    font-size: 11px;
  }
  .mobile-network-menu summary {
    min-width: 52px;
    min-height: var(--control-target);
    padding-inline: 6px;
  }
  .broadcast-hero {
    min-height: max(680px, calc(100svh - var(--masthead-height)));
  }
  .hero-poster img,
  .hero-video {
    object-position: 50% 35%;
  }
  .broadcast-top-left {
    top: 15px;
    min-width: 152px;
  }
  .broadcast-top-left strong {
    padding: 6px 9px;
    font-size: 11px;
  }
  .broadcast-top-left span,
  .broadcast-top-left time {
    padding: 5px 8px;
    font-size: 11px;
  }
  .broadcast-top-right {
    top: 15px;
  }
  .broadcast-top-right strong,
  .broadcast-top-right span,
  .broadcast-top-right b {
    padding: 5px 7px;
  }
  .broadcast-top-right strong {
    display: none;
  }
  .broadcast-top-right b {
    font-size: 11px;
  }
  .broadcast-lower-third {
    bottom: 94px;
    left: 10px;
    right: 10px;
    grid-template-columns: 1fr 56px;
  }
  .hero-headline {
    padding: 11px 13px;
  }
  .hero-desk {
    margin-bottom: 5px;
    font-size: 11px;
  }
  .broadcast-lower-third h1 {
    font-size: clamp(20px, 7.1vw, 29px);
    line-height: 1.15;
  }
  .english-headline {
    margin-top: 6px;
    font-size: 11px;
  }
  .hero-ruling {
    margin-top: 7px;
    padding-top: 6px;
    font-size: 11px;
    line-height: 1.4;
  }
  .broadcast-clock time {
    font-size: 20px;
    writing-mode: vertical-rl;
  }
  .broadcast-clock strong {
    padding: 7px 3px;
    font-size: 11px;
  }
  .hero-action-rail {
    right: 10px;
    bottom: 40px;
    gap: 5px;
  }
  .hero-packet-link,
  .video-toggle {
    min-height: 44px;
    padding: 6px 10px;
  }
  .hero-packet-link {
    min-width: 125px;
  }
  .video-toggle {
    min-width: 76px;
  }
  .news-ticker {
    height: 32px;
  }
  .news-ticker > strong {
    padding-inline: 12px;
    font-size: 11px;
  }
  .news-ticker strong span {
    display: none;
  }
  .ticker-window p {
    font-size: 11px;
    line-height: 32px;
  }
  .section-title-row {
    align-items: start;
    flex-direction: column;
  }
  .transmission-grid {
    grid-template-columns: 1fr;
  }
  .transmission-card,
  .transmission-card--lead,
  .transmission-card--wide {
    grid-column: 1;
  }
  .transmission-card--lead figure {
    aspect-ratio: 3 / 2;
  }
  .transmission-card--tall figure {
    aspect-ratio: 4 / 5;
  }
  .transmission-card--wide figure {
    aspect-ratio: 2 / 1;
  }
  .record-line {
    align-items: start;
    flex-direction: column;
  }
  .archive-rail dl {
    display: none;
  }
  .archive-paper {
    padding-inline: 18px;
  }
  .archive-stamp {
    position: static;
    width: 80px;
    height: 80px;
    margin-top: 24px;
  }
  .docket-index a {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .docket-index time {
    display: none;
  }
  .docket > header {
    align-items: start;
    flex-direction: column;
  }
  .docket-meta {
    grid-template-columns: 1fr;
  }
  .docket-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--black-line);
  }
  .docket-meta div:last-child {
    border-bottom: 0;
  }
  .receipt {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .docket-status {
    align-items: start;
    flex-direction: column;
  }
  .primary-source {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .source-open {
    min-width: 0;
    text-align: left;
  }
  .media-header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .media-header-copy > p:last-child {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .arsenal-lead-art,
  .arsenal-lead-art img {
    min-height: 220px;
  }
  .packet-directory {
    grid-template-columns: 1fr 1fr;
  }
  .packet-manifest {
    padding-top: var(--p-space-16);
  }
  .packet-title {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .packet-title p {
    padding: 14px 0 0;
    border-top: 1px solid var(--black-line);
    border-left: 0;
  }
  .packet-assets {
    grid-template-columns: minmax(0, 1.35fr) minmax(100px, 0.65fr);
  }
  .packet-assets figcaption {
    align-items: start;
    flex-direction: column;
  }
  .packet-reaction {
    grid-column: 1 / -1;
  }
  .suggested-captions {
    grid-template-columns: 1fr;
  }
  .suggested-captions p + p {
    border-top: 1px solid var(--black-line);
    border-left: 0;
  }
  .packet-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .packet-controls .archive-link {
    margin-right: 0;
  }
  .reserve-note {
    min-height: 470px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .note-denomination {
    font-size: clamp(92px, 31vw, 150px);
  }
  .note-serial {
    text-align: left;
  }
  .contraband-drawer > summary {
    padding-inline: 12px;
  }
  .contraband-drawer > summary small {
    font-size: 11px;
  }
  .contraband-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dossier-document {
    padding-inline: 18px;
  }
  .dossier-document > header {
    align-items: start;
    flex-direction: column-reverse;
  }
  .clearance-mark {
    width: 72px;
    height: 72px;
  }
  .identity-grid {
    grid-template-columns: 1fr;
  }
  .uniform-order li {
    grid-template-columns: 26px 1fr;
  }
  .uniform-order li small {
    grid-column: 2;
  }
  .misfiled-leak {
    margin-inline: 0;
  }
  .misfiled-leak > header {
    align-items: start;
    flex-direction: column;
  }
  .misfiled-leak > header h2 {
    text-align: left;
  }
  .leak-audio {
    grid-template-columns: 1fr;
  }
  .expression-strip {
    gap: 4px;
    padding: 4px;
  }
  .human-crack {
    font-size: 16px;
  }
  .error-page nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .network-lockup strong {
    max-width: 108px;
    font-size: 11px;
  }
  .packet-cta {
    min-width: 72px;
    padding-inline: 5px;
  }
  .packet-cta small {
    display: block;
    font-size: 11px;
    letter-spacing: 0;
  }
  .mobile-network-menu summary {
    min-width: 46px;
  }
  .broadcast-top-right span {
    font-size: 11px;
  }
  .hero-ruling {
    max-height: none;
    overflow: visible;
  }
  .packet-directory {
    grid-template-columns: 1fr;
  }
  .packet-assets {
    grid-template-columns: 1fr;
  }
  .packet-vertical img,
  .packet-vertical .deferred-packet-media {
    max-height: 420px;
  }
  .packet-reaction {
    grid-column: auto;
  }
  .contraband-grid {
    gap: 7px;
  }
}

@media (max-width: 1180px) {
  .hijack-window--error,
  .hijack-window--bbs {
    width: min(31vw, 360px);
  }
  .hijack-window--terminal,
  .hijack-window--draft {
    width: min(33vw, 390px);
  }

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

  .a1-commandbar nav {
    display: none;
  }

  .a1-desktop {
    height: auto;
    min-height: 1120px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(15, minmax(58px, 1fr));
  }

  .os-window--bbs {
    grid-column: 1 / 5;
    grid-row: 1 / 9;
  }
  .os-window--files {
    grid-column: 5 / 9;
    grid-row: 1 / 7;
  }
  .os-window--terminal {
    grid-column: 1 / 5;
    grid-row: 9 / 13;
  }
  .os-window--map {
    grid-column: 5 / 9;
    grid-row: 7 / 13;
  }
  .os-window--audio {
    grid-column: 1 / 5;
    grid-row: 13 / 16;
    margin-top: 0;
  }
  .os-window--notice {
    grid-column: 5 / 9;
    grid-row: 13 / 16;
  }
  .a1-chibi-icon {
    bottom: 310px;
  }
}

@media (max-width: 700px) {
  .hijack-layer {
    inset: clamp(220px, 38svh, 330px) 10px auto;
  }

  .hijack-window--error,
  .hijack-window--terminal,
  .hijack-window--draft {
    display: none;
  }

  .hijack-window--bbs {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .hijack-bbs-body {
    padding: 6px 7px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    line-height: 1.22;
  }

  .hijack-bbs-body p:nth-of-type(n + 2) {
    display: none;
  }

  .hijack-bbs-body a {
    grid-column: 2;
    grid-row: 1;
    min-width: 124px;
    padding: 6px 8px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    line-height: 1.18;
  }

  .a1-commandbar {
    min-height: 70px;
    padding: 8px 10px;
    gap: 8px;
  }

  .a1-lockup {
    gap: 7px;
  }

  .a1-lockup img {
    width: 30px;
    height: 30px;
  }

  .a1-lockup strong {
    font-size: 10px;
  }

  .a1-lockup small {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .a1-return {
    min-height: 48px;
    padding-inline: 8px;
  }

  .a1-return span {
    font-size: 10px;
  }

  .a1-desktop {
    min-height: 0;
    padding: 46px 10px 54px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
  }

  .a1-wallpaper {
    top: 42px;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 0;
    width: 34%;
    height: 640px;
    border-right: 1px solid #31425a;
    border-left: 0;
  }

  .a1-authorship {
    top: 8px;
    right: 10px;
    left: 10px;
    text-align: center;
  }

  .os-window {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
  }

  .os-window--bbs {
    width: 82%;
    height: 640px;
    margin-left: 18%;
    order: 1;
  }

  .os-window--files {
    height: 430px;
    order: 2;
  }
  .os-window--terminal {
    height: 380px;
    order: 3;
  }
  .os-window--audio {
    height: 280px;
    order: 4;
  }
  .os-window--map {
    height: 500px;
    order: 5;
  }
  .os-window--notice {
    height: 300px;
    order: 6;
  }
  .os-window--private {
    order: 7;
    max-height: none;
  }
  .os-window--deleted {
    order: 8;
    max-height: none;
  }

  .os-titlebar {
    min-height: 38px;
  }

  .os-titlebar h1,
  .os-titlebar h2 {
    font-size: 11px;
  }

  .os-titlebar h1 span {
    display: none;
  }

  .os-close {
    width: 44px;
    min-height: 44px;
  }

  .bbs-post p {
    margin-left: 12px;
    font-size: 14px;
  }

  .bbs-post small,
  .bbs-reply {
    margin-left: 12px;
  }

  .bbs-reply {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .file-table button {
    min-height: 44px;
    grid-template-columns: 38px minmax(0, 1fr) 58px;
  }

  .file-table button time {
    display: none;
  }

  .terminal-body form {
    grid-template-columns: 1fr auto;
  }

  .terminal-body form label {
    grid-column: 1 / -1;
  }

  .terminal-body button,
  .private-log button {
    min-height: 44px;
  }

  .a1-chibi-icon {
    top: 500px;
    right: auto;
    bottom: auto;
    left: 6px;
    z-index: 4;
    width: 82px;
  }

  .a1-taskbar {
    position: fixed;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
  }

  .a1-taskbar button {
    min-width: 44px;
    min-height: 44px;
    padding-inline: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .a1-taskbar button:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 350px) {
  .hijack-layer {
    top: 220px;
    bottom: auto;
  }
  .hijack-titlebar {
    font-size: 10px;
  }
  .hijack-bbs-body {
    padding: 7px;
  }
  .hijack-bbs-body a {
    min-width: 106px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .a1-commandbar {
    grid-template-columns: 1fr auto;
  }

  .a1-lockup strong {
    max-width: 150px;
  }

  .a1-return span {
    display: none;
  }

  .a1-wallpaper {
    display: none;
  }

  .os-window--bbs {
    width: 100%;
    margin-left: 0;
  }

  .a1-chibi-icon {
    display: none;
  }

  .file-table button {
    grid-template-columns: 36px minmax(0, 1fr) 52px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-window p {
    width: auto;
    padding: 0 14px;
    transform: none;
    animation: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .broadcast-hero.is-hijacked .hijack-window {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

@supports (padding: max(0px)) {
  .skip-link {
    left: max(8px, env(safe-area-inset-left));
  }

  .masthead-frame {
    padding-left: max(var(--masthead-inline), env(safe-area-inset-left));
    padding-right: max(var(--masthead-inline), env(safe-area-inset-right));
  }

  .network-footer {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
}

/* ---------- State Exchange Facility ---------- */
.exchange-shell {
  width: min(100%, 1560px);
  margin-inline: auto;
  padding: clamp(54px, 8vw, 118px) var(--pad) clamp(100px, 13vw, 180px);
}

.exchange-header {
  padding-bottom: 30px;
  border-bottom: 5px solid var(--warm-white);
}

.exchange-header h1 {
  margin: 0;
  font: 400 clamp(46px, 8vw, 108px)/0.92 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.exchange-header h1 span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-jp);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
}

.exchange-sub {
  max-width: 860px;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.exchange-sub span {
  color: var(--on-dark-muted);
  font-size: 12px;
}

.exchange-ca-section,
.exchange-doctrine,
.exchange-protocol,
.exchange-risk {
  margin-top: clamp(70px, 9vw, 130px);
}

.exchange-ca-section > header,
.exchange-doctrine > header,
.exchange-protocol > header,
.exchange-risk > header {
  padding-bottom: 20px;
  border-bottom: 4px solid var(--warm-white);
}

.exchange-ca-section h2,
.exchange-doctrine h2,
.exchange-protocol h2,
.exchange-risk h2 {
  margin: 0;
  font: 400 clamp(30px, 4.4vw, 64px)/1 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.exchange-ca-section h2 span,
.exchange-doctrine h2 span,
.exchange-protocol h2 span,
.exchange-risk h2 span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.exchange-ca-panel {
  margin-top: 34px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--white-line);
  border-top: 7px solid var(--red);
  background: var(--ink-raised);
  box-shadow: 10px 10px 0 rgb(0 0 0 / 35%);
}

.exchange-chain-badge {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--white-line);
  font: 600 12px var(--font-mono);
  letter-spacing: 0.1em;
}

.exchange-chain-badge b {
  color: var(--red);
}

.exchange-ca-pending {
  max-width: 900px;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.exchange-ca-pending b {
  font: 600 15px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--red);
}

.exchange-ca-pending span {
  color: var(--on-dark-muted);
  font-size: 12px;
}

.exchange-ca {
  display: block;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px dashed var(--white-line);
  font: 600 clamp(13px, 1.8vw, 18px) var(--font-mono);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.exchange-controls {
  margin-top: 20px;
}

.exchange-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.exchange-doctrine-body {
  max-width: 900px;
  margin-top: 26px;
  display: grid;
  gap: 16px;
  font-size: 17px;
  line-height: 1.75;
}

.exchange-doctrine-body p[lang="ja"] {
  color: var(--on-dark-muted);
  font-size: 13px;
}

.exchange-steps {
  max-width: 900px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.exchange-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--white-line-soft);
  background: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.exchange-steps li b {
  font: 600 14px var(--font-mono);
  color: var(--red);
}

.exchange-risk blockquote {
  max-width: 900px;
  margin: 30px 0 0;
  padding: 26px 30px;
  border-left: 7px solid var(--red);
  background: var(--ink-raised);
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 680px) {
  .exchange-links {
    flex-direction: column;
  }

  .exchange-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.contraband-actions {
  display: flex;
  gap: 8px;
  padding: 8px 10px 10px;
}

.contraband-actions a,
.contraband-actions button {
  min-height: 34px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--white-line);
  background: transparent;
  color: var(--on-dark);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--c-control-time) var(--ease-mechanical);
}

.contraband-actions a:hover,
.contraband-actions button:hover {
  border-color: var(--red);
  color: var(--red);
}

.contraband-actions span {
  color: inherit;
}

.exchange-shell [hidden] {
  display: none !important;
}

.exchange-page .reserve-section > header h2 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.exchange-page .reserve-section > header h2 span {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.exchange-risk-ja {
  max-width: 900px;
  margin: 14px 0 0;
  color: var(--on-dark-muted);
  font-size: 12px;
  line-height: 1.8;
}

.media-header h1[lang="en"] {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.media-header h1[lang="en"] span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.broadcast-lower-third h1[lang="en"] {
  font-family: var(--font-editorial);
  font-weight: 640;
  letter-spacing: -0.02em;
}

.broadcast-lower-third h1[lang="en"] {
  font-size: clamp(19px, 2.35vw, 38px);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (min-width: 981px) {
  .broadcast-lower-third {
    bottom: 132px;
    height: auto;
    min-height: 154px;
  }
}

.contraband-grid--static {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contraband-section h2[lang="en"] {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contraband-section h2[lang="en"] span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.exchange-steps li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.exchange-jump {
  margin: 22px 0 0;
  font: 600 13px var(--font-mono);
  letter-spacing: 0.06em;
}

.exchange-jump a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.exchange-jump span {
  margin-left: 10px;
  color: var(--on-dark-muted);
  font-size: 11px;
}

.exchange-page .exchange-shell {
  padding-top: clamp(28px, 4vw, 56px);
}

.exchange-page .reserve-section {
  margin-top: clamp(40px, 6vw, 80px);
}

@media (min-width: 981px) {
  .hijack-window--error {
    top: 120px;
    left: 200px;
  }
}

@media (max-width: 360px) {
  .hijack-layer {
    inset: 160px 8px auto;
  }

  .broadcast-lower-third h1[lang="en"] {
    font-size: 17px;
  }
}

.exchange-page .exchange-header h1 {
  font-size: clamp(40px, 6.2vw, 86px);
}

.exchange-page .exchange-header {
  padding-bottom: 18px;
}

.exchange-page .exchange-sub {
  margin-top: 14px;
  font-size: 15px;
}

.exchange-page .reserve-section {
  margin-top: 30px;
}

.exchange-page .reserve-section > header {
  padding-bottom: 14px;
}

.exchange-page .reserve-note {
  margin-top: 22px;
}

/* ---------- v7 cinematic layer ---------- */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: vt-channel-out 140ms steps(2) both;
  }

  ::view-transition-new(root) {
    animation: vt-channel-in 260ms var(--ease-mechanical) both;
  }
}

@keyframes vt-channel-out {
  60% {
    opacity: 1;
    filter: brightness(1.8) saturate(0.2) contrast(1.3);
    transform: scaleY(0.995);
  }

  to {
    opacity: 0;
    filter: brightness(0.2) saturate(0);
    transform: scaleY(0.99);
  }
}

@keyframes vt-channel-in {
  from {
    opacity: 0.4;
    filter: brightness(1.9) contrast(1.5) saturate(0.4);
  }

  30% {
    opacity: 1;
    filter: brightness(1.15) contrast(1.1);
  }

  to {
    opacity: 1;
    filter: none;
  }
}

body::after {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.archive-page body::after,
body.archive-page::after,
body.dossier-page::after {
  mix-blend-mode: multiply;
  opacity: 0.04;
}

@media (prefers-reduced-motion: no-preference) {
  body::after {
    animation: v7-grain 0.9s steps(9) infinite;
  }
}

@keyframes v7-grain {
  10% { transform: translate(-4%, -6%); }
  30% { transform: translate(3%, -3%); }
  50% { transform: translate(-5%, 4%); }
  70% { transform: translate(5%, 6%); }
  90% { transform: translate(-2%, 3%); }
}

@media (prefers-reduced-motion: no-preference) {
  .broadcast-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgb(255 255 255 / 14%) 48%,
      rgb(200 32 45 / 10%) 52%,
      transparent 100%
    );
    background-size: 100% 220%;
    background-repeat: no-repeat;
    animation: v7-signal-sweep 780ms var(--ease-mechanical) 200ms both;
  }
}

@keyframes v7-signal-sweep {
  from { background-position: 0 -120%; opacity: 1; }
  85% { opacity: 1; }
  to { background-position: 0 130%; opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .broadcast-hero.is-hijacked .hijack-layer {
    animation: v7-rgb-flicker 120ms steps(2) 2;
  }
}

@keyframes v7-rgb-flicker {
  50% {
    filter: drop-shadow(1px 0 0 rgb(255 0 60 / 55%))
      drop-shadow(-1px 0 0 rgb(0 220 255 / 45%));
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 480ms var(--ease-mechanical) var(--reveal-delay, 0ms),
    transform 560ms var(--ease-mechanical) var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.network-nav a span,
.mobile-network-menu nav a span {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 220ms var(--ease-mechanical);
}

.network-nav a:hover span,
.network-nav a[aria-current="page"] span {
  background-size: 100% 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .transmission-card,
  .media-packet,
  .docket,
  .contraband-tile {
    transition:
      transform 240ms var(--ease-mechanical),
      box-shadow 240ms var(--ease-mechanical);
  }

  .transmission-card:hover,
  .media-packet:hover,
  .docket:hover {
    transform: translateY(-4px);
    box-shadow: 12px 14px 0 rgb(9 11 15 / 30%);
  }

  .contraband-tile {
    overflow: hidden;
  }

  .contraband-tile:hover {
    transform: translateY(-3px) rotate(-0.4deg);
  }

  .contraband-tile img {
    transition: transform 340ms var(--ease-mechanical);
  }

  .contraband-tile:hover img {
    transform: scale(1.035);
  }

  .packet-cta,
  .hero-packet-link,
  .video-toggle {
    transition:
      transform 160ms var(--ease-mechanical),
      box-shadow 160ms var(--ease-mechanical);
  }

  .packet-cta:hover,
  .hero-packet-link:hover {
    transform: translate(-1px, -2px);
    box-shadow: 4px 5px 0 rgb(9 11 15 / 45%);
  }

  .hero-poster img,
  .transmission-card figure img {
    will-change: transform;
  }
}

.broadcast-clock time {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  body::after {
    animation: none;
    opacity: 0.04;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-poster img {
    animation: v7-kenburns 26s var(--ease-mechanical) alternate infinite;
  }
}

@keyframes v7-kenburns {
  from { transform: translateY(0) scale(1.06); }
  to { transform: translateY(-14px) scale(1.12); }
}

.dossier-leak-photo {
  margin: 34px 0 0;
  border: 1px solid var(--black-line);
  background: #0e0c0b;
  box-shadow: var(--hard-shadow);
  transform: rotate(-0.6deg);
}

.dossier-leak-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.dossier-leak-photo figcaption {
  padding: 12px 16px;
  display: grid;
  gap: 6px;
  background: var(--paper);
  color: var(--on-paper);
  font-size: 12px;
  line-height: 1.6;
}

.dossier-leak-photo figcaption b {
  font: 600 11px var(--font-mono);
  color: var(--red);
}

.dossier-leak-photo figcaption span[lang="en"] {
  font: 600 10px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--on-paper-muted);
}

.exchange-vault {
  margin: clamp(70px, 9vw, 130px) 0 0;
  border: 1px solid var(--white-line);
  border-top: 7px solid var(--red);
  background: var(--ink-raised);
  box-shadow: 10px 10px 0 rgb(0 0 0 / 35%);
}

.exchange-vault img {
  width: 100%;
  height: auto;
  display: block;
}

.exchange-vault figcaption {
  padding: 16px 22px;
  display: grid;
  gap: 8px;
  font: 600 clamp(13px, 1.4vw, 16px) var(--font-mono);
  letter-spacing: 0.05em;
}

.exchange-vault figcaption span[lang="ja"] {
  font: 500 12px var(--font-jp);
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
}

.archive-custodian {
  margin: 26px 0 34px;
  border: 1px solid var(--black-line);
  background: var(--ink);
  box-shadow: var(--p-shadow-inset-dark);
}

.archive-custodian img {
  width: 100%;
  height: auto;
  display: block;
}

.archive-custodian figcaption {
  padding: 12px 16px;
  display: grid;
  gap: 5px;
  background: var(--s-archive-sheet);
  color: var(--on-paper);
  border-top: 3px solid var(--red);
  font-size: 13px;
  line-height: 1.6;
}

.archive-custodian figcaption span[lang="en"] {
  font: 600 10.5px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--on-paper-muted);
}

/* ---------- v7 waifu layer ---------- */
.dossier-leak-video {
  margin: 34px auto 0;
  max-width: 460px;
  border: 1px solid var(--black-line);
  background: #0e0c0b;
  box-shadow: var(--hard-shadow);
  transform: rotate(0.5deg);
}

.dossier-leak-video video {
  width: 100%;
  height: auto;
  display: block;
}

.dossier-leak-video figcaption {
  padding: 12px 16px;
  display: grid;
  gap: 6px;
  background: var(--paper);
  color: var(--on-paper);
  font-size: 12px;
  line-height: 1.6;
}

.dossier-leak-video figcaption b {
  font: 600 11px var(--font-mono);
  color: var(--red);
}

.dossier-leak-video figcaption span[lang="en"] {
  font: 600 10px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--on-paper-muted);
}

.broadcast-interstitial {
  position: relative;
  margin: clamp(90px, 12vw, 160px) auto 0;
  width: min(100%, 1560px);
  padding-inline: var(--pad);
}

.broadcast-interstitial img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--white-line);
  border-top: 7px solid var(--red);
  box-shadow: 10px 10px 0 rgb(0 0 0 / 35%);
}

.broadcast-interstitial figcaption {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font: 600 clamp(13px, 1.5vw, 17px) var(--font-mono);
  letter-spacing: 0.05em;
}

.broadcast-interstitial figcaption span[lang="ja"] {
  font: 500 12px var(--font-jp);
  letter-spacing: 0.12em;
  color: var(--on-dark-muted);
}

.programming-block {
  margin: clamp(90px, 12vw, 160px) auto 0;
  width: min(100%, 1560px);
  padding-inline: var(--pad);
}

.programming-block .section-title-row {
  border-bottom: 4px solid var(--warm-white);
  padding-bottom: 18px;
}

.programming-block h2 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.programming-block h2 span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.programming-grid {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--white-line-soft);
  border: 1px solid var(--white-line-soft);
}

.programming-grid li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--ink-soft);
}

.programming-grid b {
  font: 600 16px var(--font-mono);
  color: var(--red);
}

.programming-grid span {
  display: grid;
  gap: 3px;
  font: 600 14px var(--font-mono);
  letter-spacing: 0.05em;
}

.programming-grid span small {
  font: 500 11px var(--font-jp);
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
}

.prog-state {
  padding: 7px 12px;
  border: 1px solid var(--white-line);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--on-dark);
  font-style: normal;
  text-decoration: none;
}

a.prog-state:hover {
  border-color: var(--red);
  color: var(--red);
}

.prog-state--live {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.prog-state--leak {
  border-style: dashed;
  color: var(--red);
}

.site-custodian {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  width: 74px;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-decoration: none;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 45%));
}

.site-custodian img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--ink-raised);
}

.site-custodian .custodian-alt {
  display: none;
}

.site-custodian:hover img {
  display: none;
}

.site-custodian:hover .custodian-alt {
  display: block;
}

.site-custodian span {
  padding: 2px 6px;
  background: var(--ink-raised);
  border: 1px solid var(--white-line-soft);
  font: 600 8px var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  opacity: 0;
  transition: opacity 180ms var(--ease-mechanical);
}

.site-custodian:hover span {
  opacity: 1;
}

@media (max-width: 700px) {
  .site-custodian {
    width: 56px;
    right: 10px;
    bottom: 10px;
  }

  .site-custodian img {
    width: 56px;
    height: 56px;
  }

  .programming-grid li {
    grid-template-columns: 64px 1fr;
  }

  .programming-grid .prog-state {
    grid-column: 2;
    justify-self: start;
  }
}

.broadcast-page .site-custodian {
  bottom: 122px;
}

.portraiture-hall {
  margin-top: clamp(80px, 10vw, 140px);
}

.portraiture-hall > header {
  padding-bottom: 20px;
  border-bottom: 4px solid var(--ink);
}

.portraiture-hall h2 {
  margin: 0;
  font: 400 clamp(34px, 4.8vw, 68px)/1 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--on-paper);
}

.portraiture-hall h2 span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-paper-muted);
}

.hall-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
}

.hall-work {
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--black-line);
  box-shadow: var(--hard-shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .hall-work {
    transition:
      transform 240ms var(--ease-mechanical),
      box-shadow 240ms var(--ease-mechanical);
  }

  .hall-work:hover {
    transform: translateY(-5px);
    box-shadow: 14px 16px 0 rgb(9 11 15 / 26%);
  }
}

.hall-work img {
  width: 100%;
  height: auto;
  display: block;
}

.hall-work figcaption {
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  background: var(--s-archive-sheet);
  border-top: 3px solid var(--red);
}

.hall-work figcaption b {
  font: 500 14px var(--font-jp);
  letter-spacing: 0.08em;
  color: var(--on-paper);
}

.hall-work figcaption span {
  font: 600 10px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--on-paper-muted);
}

@media (max-width: 980px) {
  .hall-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .hall-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- v7 mobile layer ---------- */
.mobile-tabbar {
  display: none;
}

@media (max-width: 700px) {
  /* video-first hero: full-bleed stage, broadcast card below */
  .broadcast-hero {
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .hero-poster {
    position: relative;
    inset: auto;
    display: block;
    height: 76svh;
  }

  .hero-video,
  .hero-shade {
    height: 76svh;
    bottom: auto;
  }

  .hijack-layer {
    display: none;
  }

  .news-ticker {
    top: calc(76svh - 38px);
    bottom: auto;
    left: 0;
    right: 0;
  }

  .broadcast-lower-third {
    position: static;
    margin: 0;
    height: auto;
    min-height: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
  }

  .broadcast-lower-third h1[lang="en"] {
    font-size: 21px;
    line-height: 1.14;
  }

  .hero-ruling {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-action-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 10px 14px;
    background: var(--ink-soft);
  }

  .hero-action-rail .hero-packet-link,
  .hero-action-rail .video-toggle {
    width: 100%;
  }

  .hero-action-rail .control-status {
    grid-column: 1 / -1;
    text-align: center;
  }

  /* luxury single-column rhythm */
  .transmission-index,
  .programming-block,
  .broadcast-interstitial {
    margin-top: 104px;
  }

  .english-headline,
  .card-english,
  .exchange-sub span,
  .exchange-header h1 span {
    font-size: 12.5px;
    line-height: 1.6;
  }

  .transmission-grid {
    gap: 44px;
  }

  /* tab bar */
  .js .mobile-network-menu {
    display: none;
  }

  .js .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: color-mix(in srgb, var(--p-ink-900) 92%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--white-line-soft);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .js .mobile-tabbar a {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 9px 2px 8px;
    text-decoration: none;
    color: var(--on-dark-muted);
  }

  .js .mobile-tabbar a span {
    font: 500 15px var(--font-jp);
    line-height: 1;
  }

  .js .mobile-tabbar a small {
    font: 600 8px var(--font-mono);
    letter-spacing: 0.06em;
  }

  .js .mobile-tabbar a[aria-current="page"] {
    color: var(--warm-white);
    box-shadow: inset 0 3px 0 var(--red);
  }

  .js body:not(.archive-one-page) {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  /* custodian smart dock */
  .site-custodian {
    width: 48px;
    right: 10px;
    bottom: calc(68px + env(safe-area-inset-bottom));
    transition: transform 260ms var(--ease-mechanical);
  }

  .site-custodian img {
    width: 48px;
    height: 48px;
  }

  .site-custodian span {
    display: none;
  }

  .site-custodian.is-tucked {
    transform: translateY(180%);
  }

  .broadcast-page .site-custodian {
    bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .broadcast-lower-third .hero-headline {
    padding-top: 16px;
  }
}

.contraband-tile img {
  height: auto;
}

.machines-strip {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.machine-card {
  display: grid;
  gap: 6px;
  padding: 22px 20px;
  border: 1px solid var(--white-line);
  border-top: 6px solid var(--red);
  background: var(--ink-soft);
  text-decoration: none;
  color: var(--on-dark);
  box-shadow: 8px 8px 0 rgb(0 0 0 / 30%);
}

@media (prefers-reduced-motion: no-preference) {
  .machine-card {
    transition: transform 200ms var(--ease-mechanical), box-shadow 200ms var(--ease-mechanical);
  }

  .machine-card:hover {
    transform: translate(-1px, -3px);
    box-shadow: 11px 12px 0 rgb(0 0 0 / 34%);
  }
}

.machine-card b {
  font: 400 clamp(22px, 2.4vw, 34px)/1 var(--font-display);
  letter-spacing: 0.03em;
}

.machine-card span {
  font: 500 13px var(--font-jp);
  letter-spacing: 0.16em;
  color: var(--on-dark-muted);
}

.machine-card small {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}

@media (max-width: 700px) {
  .machines-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .js .mobile-tabbar {
    grid-template-columns: repeat(7, 1fr);
  }

  .js .mobile-tabbar a {
    padding: 8px 1px 7px;
  }

  .js .mobile-tabbar a span {
    font-size: 13px;
  }

  .js .mobile-tabbar a small {
    font-size: 7px;
    letter-spacing: 0.02em;
  }
}

.home-machines,
.home-seizure {
  margin: clamp(90px, 12vw, 160px) auto 0;
  width: min(100%, 1560px);
  padding-inline: var(--pad);
}

.home-machines .section-title-row,
.home-seizure .section-title-row {
  border-bottom: 4px solid var(--warm-white);
  padding-bottom: 18px;
}

.home-machines h2,
.home-seizure h2 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-machines h2 span,
.home-seizure h2 span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.home-machines .machines-strip {
  margin-top: 26px;
}

.seizure-teaser {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.seizure-teaser a {
  display: block;
  border: 1px solid var(--white-line);
  background: var(--ink-soft);
  box-shadow: 8px 8px 0 rgb(0 0 0 / 30%);
  overflow: hidden;
}

.seizure-teaser img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .seizure-teaser a {
    transition: transform 200ms var(--ease-mechanical);
  }

  .seizure-teaser a:hover {
    transform: translateY(-4px) rotate(-0.5deg);
  }
}

.seizure-more {
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  text-decoration: none;
  color: var(--on-dark);
  border-top: 6px solid var(--red) !important;
}

.seizure-more b {
  font: 400 clamp(40px, 4.5vw, 64px)/1 var(--font-display);
  color: var(--red);
}

.seizure-more span {
  font: 600 11px var(--font-mono);
  letter-spacing: 0.1em;
}

.seizure-more small {
  font: 500 11px var(--font-jp);
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
}

@media (max-width: 700px) {
  .seizure-teaser {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- v9 broadcast monitor wall (home transmissions) ---------- */
.broadcast-page .transmission-grid {
  counter-reset: channel 70;
}

.broadcast-page .transmission-card {
  counter-increment: channel;
  position: relative;
  background: var(--ink-raised);
  border: 1px solid var(--white-line-soft);
  border-top: 4px solid #2a2f3a;
  box-shadow: 0 0 0 4px #14171d, 10px 12px 0 rgb(0 0 0 / 45%);
}

.broadcast-page .transmission-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.broadcast-page .transmission-card figure::before {
  content: "CH 0" counter(channel);
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 3;
  padding: 3px 8px;
  background: rgb(9 11 15 / 78%);
  border: 1px solid var(--white-line-soft);
  color: var(--warm-white);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.12em;
}

.broadcast-page .transmission-card--lead figure::after {
  content: "● REC";
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  padding: 3px 8px;
  background: rgb(9 11 15 / 78%);
  border: 1px solid rgb(200 32 45 / 60%);
  color: var(--red);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.12em;
}

@media (prefers-reduced-motion: no-preference) {
  .broadcast-page .transmission-card--lead figure::after {
    animation: v9-rec-blink 1.4s steps(2) infinite;
  }
}

@keyframes v9-rec-blink {
  50% { color: rgb(200 32 45 / 35%); }
}

.broadcast-page .transmission-card figure img {
  filter: saturate(0.96) contrast(1.05);
}

@media (prefers-reduced-motion: no-preference) {
  .broadcast-page .transmission-card figure::marker { content: none; }

  .broadcast-page .transmission-card:hover figure img {
    filter: saturate(1.05) contrast(1.1);
  }

  .broadcast-page .transmission-card .scan-sheen,
  .broadcast-page .transmission-card:hover figure {
    position: relative;
  }

  .broadcast-page .transmission-card:hover figure::before {
    border-color: var(--red);
  }
}

.broadcast-page .transmission-body {
  background: var(--ink-raised);
  color: var(--on-dark);
}

.broadcast-page .transmission-body h3 {
  color: var(--warm-white);
}

.broadcast-page .transmission-body .record-line {
  color: var(--on-dark-muted);
}

.broadcast-page .transmission-body .record-line time {
  border-color: var(--white-line-soft);
}

.broadcast-page .transmission-body .card-english {
  color: var(--on-dark-muted);
}

.broadcast-page .transmission-body blockquote {
  color: var(--on-dark-muted);
  border-left: 4px solid var(--red);
  background: rgb(9 11 15 / 45%);
}

.broadcast-page .transmission-body .packet-link {
  color: var(--warm-white);
  border-color: var(--white-line-soft);
}

.broadcast-page .transmission-body .packet-link:hover {
  color: var(--red);
}

@media (max-width: 1600px) {
  .network-masthead .packet-cta {
    display: none;
  }
}

.seizure-teaser a.seizure-more {
  display: grid;
}

.broadcast-page .transmission-card--lead figure::after {
  inset: auto;
  top: 10px;
  right: 12px;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
}

/* ---------- state gravure ---------- */
.gravure-shell {
  width: min(100%, 1560px);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(100px, 13vw, 180px);
}

.gravure-header {
  padding-bottom: 24px;
  border-bottom: 5px solid var(--warm-white);
}

.gravure-header h1 {
  margin: 0;
  font: 400 clamp(40px, 6.4vw, 92px)/0.94 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gravure-header h1 span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-jp);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--on-dark-muted);
}

.gravure-sub {
  max-width: 820px;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
}

.gravure-sub span {
  color: var(--on-dark-muted);
  font-size: 12px;
}

.grav-issue {
  margin-top: clamp(80px, 10vw, 140px);
}

.grav-issue-head {
  padding-bottom: 18px;
  border-bottom: 4px solid var(--warm-white);
}

.grav-issue-head h2 {
  margin: 0;
  font: 400 clamp(32px, 4.6vw, 66px)/1 var(--font-display);
  letter-spacing: 0.02em;
}

.grav-issue-head h2 span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-dark-muted);
}

.grav-cover-row {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
}

.grav-cover img,
.grav-spread img,
.grav-page img {
  width: 100%;
  height: auto;
  display: block;
}

.grav-cover,
.grav-spread,
.grav-page {
  margin: 0;
  background: var(--ink-raised);
  border: 1px solid var(--white-line-soft);
  box-shadow: 10px 12px 0 rgb(0 0 0 / 40%);
}

.grav-cover figcaption,
.grav-spread figcaption,
.grav-page figcaption {
  padding: 12px 16px;
  border-top: 3px solid var(--red);
  background: var(--s-archive-sheet);
  color: var(--on-paper);
  font: 500 13px var(--font-editorial);
  font-style: italic;
  line-height: 1.5;
}

.grav-grid {
  margin-top: clamp(16px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
}

.grav-page--land {
  grid-column: span 2;
}

@media (prefers-reduced-motion: no-preference) {
  .grav-cover,
  .grav-spread,
  .grav-page {
    transition: transform 240ms var(--ease-mechanical), box-shadow 240ms var(--ease-mechanical);
  }

  .grav-cover:hover,
  .grav-spread:hover,
  .grav-page:hover {
    transform: translateY(-5px);
    box-shadow: 14px 16px 0 rgb(0 0 0 / 45%);
  }
}

@media (max-width: 980px) {
  .grav-cover-row {
    grid-template-columns: 1fr;
  }

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

  .grav-page--land {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .grav-grid {
    grid-template-columns: 1fr;
  }

  .grav-page--land {
    grid-column: auto;
  }
}

.hall-gravure-link {
  margin: 10px 0 0;
  font: 600 12px var(--font-mono);
  letter-spacing: 0.06em;
}

.hall-gravure-link a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.hall-gravure-link span {
  margin-left: 10px;
  color: var(--on-paper-muted);
  font-size: 11px;
}

@media (max-width: 1700px) {
  .network-nav {
    gap: 10px;
  }

  .network-nav a small {
    font-size: 8.5px;
    letter-spacing: 0.04em;
  }

  .network-nav a span {
    font-size: 13px;
  }
}

@media (max-width: 1500px) {
  .network-lockup small {
    display: none;
  }

  .network-nav {
    gap: 8px;
  }

  .network-nav a span {
    font-size: 12px;
  }
}

@media (max-width: 1300px) {
  .network-lockup span {
    display: none;
  }
}
