:root {
  --bg: #070707;
  --ink: #F6F0F2;
  --pink: #FF3D8A;
  --red: #FF1A3C;
  --muted: #B8A0A8;
  --rule: #FF3D8A;
  --narrow: "PT Sans Narrow", "Arial Narrow", sans-serif;
  --serif: "PT Serif", "Times New Roman", serif;
  --display: "Unbounded", "PT Sans Narrow", sans-serif;
  --pixel: "Press Start 2P", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  min-height: 100vh;
}

a { color: var(--pink); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
img { display: block; max-width: 100%; }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 48px;
}

.px-rule {
  height: 8px;
  background:
    repeating-linear-gradient(90deg,
      var(--pink) 0 6px,
      transparent 6px 10px,
      var(--red) 10px 16px,
      transparent 16px 20px);
  margin: 6px 0;
}
.px-rule.thin { height: 2px; background: var(--pink); }
.px-rule.double {
  height: auto;
  background: none;
  border-top: 3px solid var(--pink);
  border-bottom: 1px solid var(--pink);
  padding-top: 3px;
}

.ears {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-family: var(--pixel);
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--pink);
}
.ears .c { text-align: center; color: var(--red); }
.ears .r { text-align: right; }

.lang-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #12060a; color: var(--pink); font-family: var(--pixel, monospace);
  font-size: 11px; letter-spacing: 0.04em; padding: 6px 10px; border-bottom: 2px solid var(--pink);
}
.lang-banner a { color: #fff; text-decoration: underline; }
.lang-banner-x {
  background: transparent; border: 1px solid var(--pink); color: var(--pink);
  width: 22px; height: 22px; line-height: 18px; cursor: pointer; font-size: 14px; padding: 0;
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 4px;
  font-family: var(--pixel, monospace); font-size: 11px; letter-spacing: 0.08em;
}
.lang-switch a { color: var(--muted); text-decoration: none; padding: 2px 4px; border: 1px solid transparent; }
.lang-switch a.is-on { color: var(--pink); border-color: var(--pink); }
.lang-switch a:hover { color: var(--ink); }
.admin-lang-tabs { display: flex; gap: 0; margin: 0 0 14px; border-bottom: 2px solid var(--border, #30363d); }
.admin-lang-tabs button {
  font-family: var(--pixel, monospace); font-size: 12px; letter-spacing: 0.06em;
  background: transparent; border: 1px solid transparent; border-bottom: none;
  color: var(--muted, #8b949e); padding: 8px 14px; cursor: pointer;
}
.admin-lang-tabs button.is-on {
  color: var(--pink, #ff4d8d); border-color: var(--border, #30363d);
  border-bottom-color: var(--bg, #0d1117); margin-bottom: -2px; background: var(--bg, #0d1117);
}
.admin-lang-pane { display: none; }
.admin-lang-pane.is-on { display: block; }
.mast { text-align: center; padding: 6px 0 2px; }
.mast .brand {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: clamp(42px, 11vw, 118px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--pink);
  text-transform: uppercase;
}
.mast .brand a { color: inherit; }
.mast .tag {
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin: 8px 0 6px;
  line-height: 1.8;
}

.dateline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
}
.dateline span:nth-child(2) { color: var(--red); }

nav.paper-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--pink);
}
nav.paper-nav a { color: var(--ink); }
nav.paper-nav a:hover { color: var(--pink); }

.front {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 0 18px;
  padding-top: 16px;
}
.col-left, .col-right {
  border-right: 1px solid #4a2030;
  padding-right: 16px;
}
.col-right {
  border-right: 0;
  border-left: 1px solid #4a2030;
  padding-right: 0;
  padding-left: 16px;
}

.box {
  border: 2px solid var(--pink);
  padding: 10px 12px 12px;
  margin-bottom: 16px;
}
.box h2, .idx h2, .side h2, .back h2, .inside-h, .section-h {
  font-family: var(--pixel);
  font-size: 8px;
  line-height: 1.8;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.idx ol { list-style: none; font-family: var(--narrow); font-size: 15px; font-weight: 700; }
.idx li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dotted #5a3040;
  padding: 4px 0;
}
.idx li span { color: var(--pink); font-family: var(--pixel); font-size: 7px; line-height: 2; }
.idx .empty, .empty-note { color: var(--muted); font-family: var(--serif); font-weight: 400; font-size: 14px; }

.count-box { background: #12060a; text-align: center; }
.count-box .when {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
}
.count-box .teaser { margin: 6px 0; font-size: 13px; color: var(--muted); }
.count-box .nums { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.count-box .n strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--red);
  line-height: 1;
}
.count-box .n span {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--muted);
  line-height: 2;
}

.kicker {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--red);
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-bottom: 6px;
}
.lead-title, .entry-title, .issue-title {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.lead-title em { font-style: normal; color: var(--pink); }
.byline, .entry-meta {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.lead-frame {
  display: grid;
  grid-template-columns: minmax(150px, 200px) 1fr;
  gap: 16px;
  align-items: start;
}
.media,
.frame-9x16, figure.frame-9x16,
.frame-3x4, figure.frame-3x4,
.frame-1x1, figure.frame-1x1 {
  position: relative;
  overflow: hidden;
  background: #111;
  width: 100%;
  margin: 0;
}
.frame-9x16, figure.frame-9x16 { aspect-ratio: 9 / 16; outline: 2px solid var(--red); }
.frame-3x4, figure.frame-3x4 { aspect-ratio: 3 / 4; outline: 1px solid #4a2030; }
.frame-1x1, figure.frame-1x1 { aspect-ratio: 1 / 1; outline: 1px solid #4a2030; }
.frame-9x16.soft,
.frame-3x4.soft,
.frame-1x1.soft { outline-color: var(--pink); outline-width: 1px; }
.media img,
.frame-9x16 img,
.frame-3x4 img,
.frame-1x1 img,
figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.frame-placeholder {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
  padding: 12px;
}
.cap {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 6px;
}

.cols {
  column-count: 2;
  column-gap: 16px;
  text-align: justify;
  hyphens: auto;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.cols.cols-single { column-count: 1; }
.cols p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
}
.cols p + p { margin-top: 8px; }
.lead-empty {
  color: var(--muted);
  font-size: 14px;
}
.pull {
  border-left: 4px solid var(--red);
  padding: 2px 0 2px 12px;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--pink);
  margin: 10px 0 12px;
  break-inside: avoid;
}

.side article { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #4a2030; }
.side figure { aspect-ratio: 9/16; overflow: hidden; outline: 1px solid var(--pink); margin-bottom: 8px; background: #111; }
.side figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side h3 {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 22px;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.side p { font-size: 13.5px; color: var(--muted); }

.inside-h, .section-h {
  margin: 22px 0 12px;
  padding-top: 10px;
  border-top: 3px solid var(--pink);
}
.inside {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.inside article { min-width: 0; }
.inside figure {
  aspect-ratio: 9/16;
  overflow: hidden;
  outline: 2px solid #4a2030;
  margin-bottom: 8px;
  background: #111;
}
.inside figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inside h3 {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}
.inside .k { font-family: var(--pixel); font-size: 7px; color: var(--red); line-height: 1.8; margin-bottom: 4px; }

.back {
  margin-top: 22px;
  border: 2px solid var(--pink);
  padding: 12px 14px 16px;
}
.issues {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 16px;
  font-family: var(--narrow);
  font-size: 15px;
}
.issues a {
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dotted #6a3040;
  padding: 4px 0;
}
.issues a:hover { color: var(--pink); }
.issues b { color: var(--red); font-weight: 700; }

.entry-header { margin: 18px 0 20px; }
.entry-body { max-width: 720px; }
.entry-body .prose p { margin: 0 0 12px; }
.entry-body h2, .entry-body h3 {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  margin: 18px 0 10px;
  line-height: 1;
}
.entry-body ul, .entry-body ol { margin: 0 0 14px 1.2em; }
.entry-body .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pink);
  margin: 14px 0;
}
.entry-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.entry-body th, .entry-body td {
  border-bottom: 1px solid #4a2030;
  padding: 8px 10px;
  text-align: left;
}
.entry-body figure { margin: 14px 0; max-width: 280px; }
.entry-body figcaption { margin-top: 6px; }
.entry-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--pink);
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.issue-toc { margin: 16px 0 24px; }
.issue-toc li {
  font-family: var(--narrow);
  font-weight: 700;
  border-bottom: 1px dotted #5a3040;
  padding: 6px 0;
  list-style: none;
}
.issue-toc a { color: var(--ink); }
.issue-toc a:hover { color: var(--pink); }

footer.site-foot {
  margin-top: 18px;
  border-top: 3px solid var(--pink);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--narrow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 960px) {
  .front { grid-template-columns: 1fr 1fr; }
  .col-left { grid-column: 1 / -1; border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .col-right { border: 0; padding: 0; }
  .lead-frame { grid-template-columns: 180px 1fr; }
}
@media (max-width: 700px) {
  .front { grid-template-columns: 1fr; }
  .col-left { grid-template-columns: 1fr; }
  .lead-frame { grid-template-columns: 1fr; }
  .lead-frame > div:first-child { max-width: 280px; }
  .cols { column-count: 1; }
  .inside { grid-template-columns: 1fr 1fr; }
  .issues { grid-template-columns: 1fr 1fr; }
  .ears { grid-template-columns: 1fr; text-align: center; }
  .ears .r, .ears .c { text-align: center; }
  .dateline { justify-content: center; text-align: center; }
}

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

/* —— Enhanced strip blocks (Part A) —— */
.tt-b { max-width: 100%; }
.tt-cols-12 { width: 100%; }
.tt-cols-8 { width: 66.666%; }
.tt-cols-6 { width: 50%; }
.tt-cols-4 { width: 33.333%; }
@media (max-width: 720px) {
  .tt-cols-8, .tt-cols-6, .tt-cols-4 { width: 100%; }
  .tt-hide-phone { display: none !important; }
}
.tt-align-left { text-align: left; }
.tt-align-center { text-align: center; }
.tt-align-right { text-align: right; }
.tt-size-sm { font-size: 0.92em; }
.tt-size-md { font-size: 1em; }
.tt-size-lg { font-size: 1.15em; }
.tt-color-ink { color: var(--ink); }
.tt-color-muted { color: var(--muted); }
.tt-color-pink { color: var(--pink); }
.tt-color-red { color: var(--red); }
.tt-sb-none { margin-top: 0; }
.tt-sb-sm { margin-top: 8px; }
.tt-sb-md { margin-top: 18px; }
.tt-sb-lg { margin-top: 32px; }
.tt-sa-none { margin-bottom: 0; }
.tt-sa-sm { margin-bottom: 8px; }
.tt-sa-md { margin-bottom: 18px; }
.tt-sa-lg { margin-bottom: 32px; }
.tt-spacer-sm { height: 12px; }
.tt-spacer-md { height: 28px; }
.tt-spacer-lg { height: 48px; }
.tt-column-rail {
  border-left: 2px solid var(--pink);
  padding-left: 12px;
}
.tt-column-box {
  border: 1px solid var(--pink);
  padding: 12px;
}
.quote-mark {
  border-left: 3px solid var(--red);
  padding-left: 12px;
  font-family: var(--serif);
  font-style: italic;
}
.quote-plain { font-family: var(--serif); }
.frame-ratio {
  overflow: hidden;
  background: #111;
  outline: 2px solid var(--red);
  display: grid;
  place-items: center;
}
.frame-ratio img { width: 100%; height: 100%; object-fit: cover; }
.frame-9x16, .frame-ratio.frame-9x16 { aspect-ratio: 9/16; }
.frame-ratio.frame-4x5 { aspect-ratio: 4/5; }
.frame-ratio.frame-1x1 { aspect-ratio: 1/1; }
.frame-ratio.frame-3x4 { aspect-ratio: 3/4; }
.frame-ratio.frame-16x9 { aspect-ratio: 16/9; }
.frame-ratio.frame-orig { aspect-ratio: auto; outline-width: 1px; outline-color: var(--pink); }
.frame-ratio.frame-orig img { height: auto; object-fit: contain; }
.credit { font-family: var(--pixel); font-size: 7px; color: var(--muted); line-height: 1.8; }
.tt-gallery { display: grid; gap: 12px; margin: 14px 0; }
.tt-gallery-pair { grid-template-columns: 1fr 1fr; }
.tt-gallery-triple { grid-template-columns: 1fr 1fr 1fr; }
.tt-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.tt-gallery-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.tt-gallery-carousel > figure {
  flex: 0 0 min(70%, 280px);
  scroll-snap-align: start;
}
.tt-table.is-striped tbody tr:nth-child(even) td { background: rgba(255,61,138,0.06); }
.entry-body .table-wrap { -webkit-overflow-scrolling: touch; }
.models-block { display: grid; gap: 14px; margin: 18px 0; }
.models-block-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.models-block-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
}
.model-card {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}
.model-card-name {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}
.model-card-info {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--muted);
  line-height: 1.8;
}
.models-rail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.models-rail .model-card {
  scroll-snap-align: start;
  flex: 0 0 160px;
  max-width: 160px;
  width: 160px;
}

.models-home { margin: 28px 0; }
.models-home-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.models-home-head h2 {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  font-size: 16px;
}
.models-home-head a { color: var(--pink); font-family: var(--narrow); font-weight: 700; text-transform: uppercase; font-size: 13px; }
@media (min-width: 701px) {
  .models-home .models-rail {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    scroll-snap-type: none;
  }
  .models-home .models-rail .model-card {
    flex: 0 0 calc((100% - 80px) / 6);
    width: calc((100% - 80px) / 6);
    max-width: 160px;
  }
}
.model-profile-grid {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 24px;
  margin: 18px 0 28px;
}
.model-params { margin-top: 14px; }
.model-params div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 1px dotted #6a3040; padding: 6px 0; }
.model-params dt { color: var(--muted); font-family: var(--pixel); font-size: 7px; line-height: 1.8; }
.model-params dd { color: var(--ink); }
.model-social { list-style: none; margin-top: 12px; }
.model-social a { color: var(--pink); }
.model-appearances { margin-top: 28px; }
.model-appearances h2 {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.entry-models { margin: 28px 0 12px; }
.entry-models-title {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  font-size: 14px;
  margin-bottom: 10px;
}
@media (max-width: 720px) {
  .model-profile-grid { grid-template-columns: 1fr; }
  .model-profile-photo .frame-3x4,
  .model-profile-photo .frame-9x16 { max-width: 280px; margin: 0 auto; }
  .tt-gallery-pair,
  .tt-gallery-triple { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tt-gallery-grid { grid-template-columns: 1fr 1fr; }
  .models-rail .model-card { flex: 0 0 140px; }
  .models-block-grid { grid-template-columns: 1fr 1fr; }
  .entry-body .table-wrap {
    margin-left: -8px;
    margin-right: -8px;
    padding: 0 8px;
    max-width: calc(100% + 16px);
  }
  .entry-body table { min-width: 480px; }
}

@media (max-width: 400px) {
  .page { width: min(100%, calc(100% - 20px)); }
  .mast .brand { font-size: clamp(36px, 14vw, 64px); }
  .models-rail {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .models-rail .model-card { flex: 0 0 128px; }
  .tt-gallery-carousel > figure { flex: 0 0 78%; }
  .model-params div { grid-template-columns: 1fr; gap: 2px; }
  .inside { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ===== Stage: public pixel design (bg-final) ===== */
:root {
  --heart-cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='21' height='18' shape-rendering='crispEdges'><rect x='3' y='0' width='3' height='3' fill='%23FF3D8A'/><rect x='6' y='0' width='3' height='3' fill='%23FF3D8A'/><rect x='12' y='0' width='3' height='3' fill='%23FF3D8A'/><rect x='15' y='0' width='3' height='3' fill='%23FF3D8A'/><rect x='0' y='3' width='3' height='3' fill='%23FF3D8A'/><rect x='3' y='3' width='3' height='3' fill='%23FFB3D1'/><rect x='6' y='3' width='3' height='3' fill='%23FFB3D1'/><rect x='9' y='3' width='3' height='3' fill='%23FF3D8A'/><rect x='12' y='3' width='3' height='3' fill='%23FF3D8A'/><rect x='15' y='3' width='3' height='3' fill='%23FF3D8A'/><rect x='18' y='3' width='3' height='3' fill='%23FF3D8A'/><rect x='0' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='3' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='6' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='9' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='12' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='15' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='18' y='6' width='3' height='3' fill='%23FF3D8A'/><rect x='3' y='9' width='3' height='3' fill='%23FF3D8A'/><rect x='6' y='9' width='3' height='3' fill='%23FF3D8A'/><rect x='9' y='9' width='3' height='3' fill='%23FF3D8A'/><rect x='12' y='9' width='3' height='3' fill='%23FF3D8A'/><rect x='15' y='9' width='3' height='3' fill='%23FF3D8A'/><rect x='6' y='12' width='3' height='3' fill='%23FF3D8A'/><rect x='9' y='12' width='3' height='3' fill='%23FF3D8A'/><rect x='12' y='12' width='3' height='3' fill='%23FF3D8A'/><rect x='9' y='15' width='3' height='3' fill='%23FF3D8A'/></svg>") 10 9, pointer;
}

html { background: #070707; }
body {
  background: #070707 url("../img/pattern-silhouettes.svg") repeat;
  background-size: 1400px auto;
  cursor: var(--heart-cursor);
}
@media (max-width: 768px) {
  body { background-size: 980px auto; }
}

.page { position: relative; z-index: 1; }
.box, .count-box, .back, .side article, .entry-body, .entry-header, .issue-body, .model-profile,
.model-page, .models-index, .lead-frame .cols, .prose, .scaffold-note {
  background: #070707;
}

/* 8-bit corners */
.px8, .box, .count-box, .back, .lead-frame figure, .side figure, .inside figure, .models figure, .model-card figure, .frame-9x16, .frame-3x4 {
  --c: var(--pink);
  border: 0;
  outline: none;
  box-shadow: 0 -3px 0 var(--c), 0 3px 0 var(--c), -3px 0 0 var(--c), 3px 0 0 var(--c);
  margin: 3px 3px 16px;
}
.box { padding: 10px 12px 12px; }
.count-box { --c: var(--pink); }
.back { --c: var(--pink); margin-top: 22px; padding: 12px 14px 16px; }
.lead-frame figure, .frame-9x16 { --c: var(--red); }
.side figure, .inside figure, .model-card figure, .frame-3x4 { --c: #4a2030; }
.card:hover figure, .model-card:hover figure { --c: var(--pink); }

nav.paper-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
nav.paper-nav .ni { fill: currentColor; shape-rendering: crispEdges; flex: none; color: var(--pink); }
nav.paper-nav a:nth-child(2) .ni,
nav.paper-nav a:nth-child(5) .ni { color: var(--red); }
nav.paper-nav a:hover .ni { animation: hop .5s steps(2) infinite; }
@keyframes hop { 50% { transform: translateY(-3px); } }

/* Arcade countdown */
.count-box .score {
  margin-top: 8px;
  padding: 6px;
  background: #050203;
  box-shadow: 0 -2px 0 #3a1420, 0 2px 0 #3a1420, -2px 0 0 #3a1420, 2px 0 0 #3a1420;
}
.count-box .sb-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--pink);
  margin-bottom: 6px;
  line-height: 1.6;
}
.count-box .blink { color: var(--red); animation: bl 1s steps(1) infinite; }
@keyframes bl { 50% { opacity: 0; } }
.count-box .sb-row { display: flex; justify-content: center; gap: 7px; }
.count-box .sb-row .g { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.count-box .sb-row i {
  font-style: normal;
  font-family: var(--pixel);
  font-size: 5px;
  color: var(--muted);
  line-height: 1.4;
}
.count-box .digits { display: flex; gap: 2px; }
.count-box .d {
  position: relative;
  display: block;
  width: 17px;
  height: 26px;
  background: #1d0911;
  font-family: var(--pixel);
  font-size: 15px;
  line-height: 26px;
  color: var(--red);
  text-shadow: 0 0 6px rgba(255,26,60,.55);
  box-shadow: inset 0 -2px 0 #0a0306, inset 0 2px 0 #2c0f19;
  text-align: center;
}
.count-box .d::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px; margin-top: -1px;
  background: #050203;
}
.count-box .d.flip { animation: flip .36s steps(4); }
@keyframes flip {
  0% { transform: rotateX(0); }
  45% { transform: rotateX(88deg); }
  55% { transform: rotateX(-88deg); }
  100% { transform: rotateX(0); }
}
/* Arcade score is primary; legacy nums stay as no-JS / print fallback */
.count-box .nums { display: none; }
.count-box.no-score .nums { display: flex; }
.count-box.no-score .score { display: none; }

/* Scanlines + pixel reveal */
figure { position: relative; overflow: hidden; }
figure.cover::after,
figure.frame-9x16::after,
figure.frame-3x4::after,
.side figure::after,
.inside figure::after,
.model-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.30) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  z-index: 2;
}
figure.cover::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 22%;
  top: -25%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,61,138,.13), transparent);
  animation: roll 6s linear infinite;
}
@keyframes roll { to { top: 110%; } }
.pxr {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  z-index: 4;
  transition: opacity .3s steps(3);
  pointer-events: none;
}

/* Sparkles near titles / cards */
.card, .spark-host {
  position: relative;
  cursor: var(--heart-cursor);
}
.card::before, .card::after, .spark-host::before, .spark-host::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 3px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.card::before, .spark-host::before {
  box-shadow:
    14px 26px 0 #FF3D8A, 17px 26px 0 #FF3D8A, 11px 26px 0 #FF3D8A, 14px 29px 0 #FF3D8A, 14px 23px 0 #FF3D8A,
    158px 52px 0 #F6F0F2, 161px 52px 0 #F6F0F2, 155px 52px 0 #F6F0F2, 158px 55px 0 #F6F0F2, 158px 49px 0 #F6F0F2;
}
.card::after, .spark-host::after {
  box-shadow:
    120px 16px 0 #FF1A3C, 123px 16px 0 #FF1A3C, 117px 16px 0 #FF1A3C, 120px 19px 0 #FF1A3C, 120px 13px 0 #FF1A3C,
    30px 90px 0 #F6F0F2, 33px 90px 0 #F6F0F2, 27px 90px 0 #F6F0F2, 30px 93px 0 #F6F0F2, 30px 87px 0 #F6F0F2;
}
.card:hover::before, .card:hover::after,
.spark-host:hover::before, .spark-host:hover::after {
  opacity: 1;
  animation: tw .7s steps(1) infinite;
}
.card:hover::after, .spark-host:hover::after { animation-delay: .35s; }
@keyframes tw {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: .15; transform: translateY(-3px); }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  figure.cover::before { display: none; }
  .pxr { display: none !important; }
}
