/* Pixel Marduk News: dark arcade newsroom. Mobile first. */
:root {
  --void: #070203; --panel: #120607; --panel2: #1b0a0c; --line: #3a1418;
  --red: #ff1a1a; --red-d: #a3000c; --ice: #7fb2e6; --bone: #f4ece8; --text: #e6dcd8; --dim: #9a7c7e;
  --f-px: 'Press Start 2P', 'Courier New', monospace;
  --f-head: 'Pixelify Sans', 'Chakra Petch', system-ui, sans-serif;
  --f-body: 'Chakra Petch', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'VT323', 'Courier New', monospace;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body.pm {
  margin: 0; min-height: 100vh; background: var(--void); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.7; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
::selection { background: var(--red); color: #000; }

/* ── space background: pixel stars drifting at three depths ── */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(40% 30% at 15% 20%, rgba(255,26,26,.16), transparent 70%),
    radial-gradient(36% 32% at 85% 70%, rgba(60,90,210,.15), transparent 70%),
    radial-gradient(26% 20% at 60% 10%, rgba(120,40,160,.12), transparent 70%);
}
.sky i { position: absolute; inset: -100% 0 0; display: block; animation: fall linear infinite; }
.sky i:nth-child(1) { background-image: radial-gradient(#f4ece8 1px, transparent 1.5px); background-size: 97px 113px; opacity: .5; animation-duration: 120s; }
.sky i:nth-child(2) { background-image: radial-gradient(#f4ece8 1.4px, transparent 2px), radial-gradient(#ff1a1a 1.4px, transparent 2px); background-size: 173px 151px, 211px 239px; background-position: 0 0, 60px 90px; opacity: .55; animation-duration: 70s; }
.sky i:nth-child(3) { background-image: radial-gradient(#fff 2px, transparent 2.5px); background-size: 331px 293px; opacity: .7; animation-duration: 40s; }
@keyframes fall { to { transform: translateY(50%); } }
body.pm::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.7) 100%);
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #000; padding: 8px 12px; font-family: var(--f-px); font-size: 10px; }
.skip:focus { left: 16px; }

/* ── top bar ── */
body.pm::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: rgba(7,2,3,.92); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(7,2,3,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 2px 0 #000, 0 10px 30px rgba(0,0,0,.4);
}
.top-in { max-width: 1180px; margin: 0 auto; padding: 10px var(--gut-r) 10px var(--gut-l); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; flex: none; filter: drop-shadow(0 0 3px rgba(255,40,40,.75)) drop-shadow(0 0 12px rgba(255,26,26,.35)); animation: bob 3.6s ease-in-out infinite; transform-origin: 50% 80%; }
.brand span { font-family: var(--f-px); font-size: 11px; letter-spacing: .06em; color: var(--bone); white-space: nowrap; }
.brand b { color: var(--red); font-weight: 400; margin-left: .5em; }
@keyframes bob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-2px); } }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { font-family: var(--f-px); font-size: 9px; letter-spacing: .08em; color: var(--dim); text-decoration: none; padding: 10px 8px; }
.nav a:hover, .nav a.on { color: var(--bone); }
.nav a.on { box-shadow: inset 0 -3px 0 var(--red); }
.nav .nav-yt { color: #000; background: var(--red); padding: 10px 12px; box-shadow: 3px 3px 0 #000; }
.nav .nav-yt:hover { color: #000; background: #ff4040; }
.nav .nav-yt:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #000; }
@media (max-width: 560px) {
  .top .brand span { display: none; }
  .nav a { padding: 10px 6px; font-size: 8px; }
  .nav .nav-yt { padding: 10px 10px; }
}

/* ── page frame ── */
.page { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 28px var(--gut-r) 64px var(--gut-l); display: flex; flex-direction: column; gap: 28px; }

/* ── list intro ── */
.intro { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.kicker { margin: 0; font-family: var(--f-px); font-size: 10px; letter-spacing: .14em; color: var(--red); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro h1 {
  margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(40px, 10vw, 92px); color: var(--bone); text-wrap: balance;
  text-shadow: 4px 4px 0 var(--red-d), 0 0 40px rgba(255,26,26,.35);
  animation: jitter 6s steps(1) infinite;
}
@keyframes jitter {
  0%, 92%, 100% { text-shadow: 4px 4px 0 var(--red-d), 0 0 40px rgba(255,26,26,.35); transform: none; }
  93% { text-shadow: -4px 0 0 var(--red), 4px 0 0 var(--ice); transform: translateX(2px); }
  95% { text-shadow: 4px 0 0 var(--red), -4px 0 0 var(--ice); transform: translateX(-2px) skewX(-4deg); }
  97% { text-shadow: 4px 4px 0 var(--red-d); transform: none; }
}
.intro > p:last-child { margin: 0; max-width: 62ch; color: var(--dim); font-size: 17px; }

/* ── breaking ticker ── */
.ticker { display: flex; align-items: stretch; border: 2px solid var(--red); background: rgba(18,6,7,.85); box-shadow: 4px 4px 0 #000, 0 0 24px rgba(255,26,26,.18); overflow: hidden; }
.ticker-tag { flex-shrink: 0; display: flex; align-items: center; background: var(--red); color: #000; font-family: var(--f-px); font-size: 9px; letter-spacing: .08em; padding: 0 12px; }
.ticker-win { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-run { display: inline-flex; gap: 40px; padding: 10px 0; white-space: nowrap; animation: run 60s linear infinite; }
.ticker-run .dup { display: inline-flex; gap: 40px; }
.ticker-run a, .ticker-run .dup > span { font-family: var(--f-mono); font-size: 22px; color: var(--bone); text-decoration: none; }
.ticker-run a:hover { color: var(--red); }
.ticker-run b { color: var(--red); font-weight: 400; margin-right: 6px; }
.ticker:hover .ticker-run { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* ── game chips ── */
.chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; scrollbar-color: var(--red-d) transparent; }
.chip-l { flex-shrink: 0; scroll-snap-align: start; font-family: var(--f-mono); font-size: 20px; line-height: 1; padding: 9px 12px 8px; text-decoration: none; color: var(--bone); background: var(--panel); border: 2px solid var(--line); white-space: nowrap; }
.chip-l b { color: var(--red); font-weight: 400; }
.chip-l:hover { border-color: var(--red); }
.chip-l.on { background: var(--red); border-color: var(--red); color: #000; }
.chip-l.on b { color: #000; }

/* ── cards ── */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card, .hero-card {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(27,10,12,.92), rgba(18,6,7,.92));
  border: 2px solid var(--line); box-shadow: 4px 4px 0 #000;
  transition: transform .12s steps(2), box-shadow .12s steps(2), border-color .12s;
}
.card:hover, .hero-card:hover { transform: translate(-3px,-3px); border-color: var(--red); box-shadow: 7px 7px 0 var(--red-d), 0 0 30px rgba(255,26,26,.25); }
.card-img { position: relative; display: block; overflow: hidden; aspect-ratio: 1200 / 630; background: #000; max-width: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .4s steps(4); }
.card:hover .card-img img, .hero-card:hover .card-img img { transform: scale(1.06); }
.card-img::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); pointer-events: none; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; min-width: 0; }
.card-meta, .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: 19px; line-height: 1; color: var(--dim); }
.chip { display: inline-block; font-family: var(--f-mono); font-size: 18px; line-height: 1; padding: 5px 8px 4px; color: #000; background: var(--red); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.chip:hover { background: var(--bone); }
.card-title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 21px; line-height: 1.22; color: var(--bone); text-wrap: balance; overflow-wrap: anywhere; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:hover { color: #fff; }
.card-ex { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card { grid-column: 1 / -1; border-color: var(--red); box-shadow: 6px 6px 0 #000, 0 0 40px rgba(255,26,26,.18); }
.hero-card .card-title { font-size: clamp(24px, 5.4vw, 40px); line-height: 1.12; }
.hero-card .card-ex { -webkit-line-clamp: 4; font-size: 16px; }
.hero-card .card-body { padding: 20px; gap: 14px; }
.hero-card::before { content: "MANSET"; position: absolute; z-index: 2; top: 12px; right: 12px; font-family: var(--f-px); font-size: 9px; padding: 7px 9px; background: var(--red); color: #000; box-shadow: 3px 3px 0 #000; }
@media (min-width: 860px) {
  .hero-card { flex-direction: row; }
  .hero-card .card-img { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
  .hero-card .card-body { justify-content: center; padding: 28px; }
}
.empty { font-family: var(--f-mono); font-size: 24px; color: var(--dim); grid-column: 1 / -1; text-align: center; padding: 60px 0; }

.pager { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 22px; color: var(--dim); }
.pager a { font-family: var(--f-px); font-size: 10px; text-decoration: none; color: var(--bone); padding: 12px 14px; border: 2px solid var(--red); background: var(--panel); box-shadow: 3px 3px 0 #000; }
.pager a:hover { background: var(--red); color: #000; }

/* ── article ── */
.progress { position: fixed; z-index: 45; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); box-shadow: 0 0 12px var(--red); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .progress { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-family: var(--f-mono); font-size: 19px; color: var(--dim); min-width: 0; }
.crumbs a { text-decoration: none; color: var(--bone); }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; min-width: 0; flex: 1 1 140px; }
.post { width: 100%; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.post-head { display: flex; flex-direction: column; gap: 16px; }
.post h1 {
  margin: 0; font-family: var(--f-head); font-weight: 700; color: var(--bone);
  font-size: clamp(30px, 7vw, 54px); line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere;
  text-shadow: 3px 3px 0 var(--red-d);
}
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--bone); border-left: 4px solid var(--red); padding-left: 14px; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 14px; color: var(--dim); padding: 12px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.byline img { width: 40px; height: 40px; object-fit: contain; flex: none; filter: drop-shadow(0 0 6px rgba(255,26,26,.6)); }
.byline b { color: var(--bone); }
.byline .src { margin-left: auto; font-family: var(--f-mono); font-size: 18px; }
.crt { position: relative; margin: 0; border: 3px solid #000; outline: 2px solid var(--red); box-shadow: 8px 8px 0 #000, 0 0 50px rgba(255,26,26,.25); background: #000; overflow: hidden; max-width: 100%; }
.crt img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; image-rendering: pixelated; }
.crt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.55)); animation: flick 5s steps(1) infinite; }
@keyframes flick { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .6; } 98% { opacity: .9; } }

.prose { font-size: 18px; line-height: 1.8; color: var(--text); min-width: 0; overflow-wrap: break-word; }
.prose > * { margin: 0 0 1.1em; max-width: 68ch; }
.prose h2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 4.6vw, 31px); line-height: 1.2; color: var(--bone); margin: 1.7em 0 .6em; padding-bottom: 10px; border-bottom: 2px dashed var(--line); display: flex; gap: 12px; align-items: baseline; text-wrap: balance; }
.prose h2::before { content: ""; flex-shrink: 0; width: 12px; height: 12px; background: var(--red); box-shadow: 0 0 12px var(--red); transform: translateY(-3px); }
.prose h3 { font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--bone); margin: 1.4em 0 .5em; }
.prose strong { color: #fff; font-weight: 700; background: linear-gradient(transparent 62%, rgba(255,26,26,.35) 62%); }
.prose em { color: var(--ice); }
.prose ul, .prose ol { padding: 18px 18px 18px 44px; background: rgba(18,6,7,.75); border: 2px solid var(--line); box-shadow: 4px 4px 0 #000; }
.prose li { margin: 0 0 .5em; padding-left: 4px; }
.prose li:last-child { margin-bottom: 0; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -22px; top: .68em; width: 8px; height: 8px; background: var(--red); }
.prose ol li::marker { font-family: var(--f-px); font-size: 11px; color: var(--red); }
.prose blockquote { position: relative; margin-left: 0; padding: 18px 20px 18px 56px; background: rgba(27,10,12,.85); border-left: 4px solid var(--red); font-size: 19px; color: var(--bone); font-style: italic; }
.prose blockquote::before { content: "“"; position: absolute; left: 14px; top: 2px; font-family: var(--f-px); font-size: 34px; color: var(--red); font-style: normal; }
.prose blockquote p { margin: 0; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq h2 { margin: 0 0 6px; font-family: var(--f-px); font-size: 13px; letter-spacing: .06em; color: var(--red); line-height: 1.6; }
.faq details { background: rgba(18,6,7,.85); border: 2px solid var(--line); box-shadow: 4px 4px 0 #000; }
.faq details[open] { border-color: var(--red); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--bone); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-family: var(--f-px); font-size: 14px; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--text); font-size: 16px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--f-mono); font-size: 19px; color: var(--dim); border: 2px solid var(--line); padding: 4px 9px 3px; }

/* ── channel CTA: the only recommendation at the end of every article ── */
.cta {
  position: relative; width: 100%; max-width: 780px; margin: 6px auto 0;
  background:
    linear-gradient(135deg, rgba(255,26,26,.16), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 2px, transparent 2px 4px),
    var(--panel);
  border: 3px solid var(--red);
  box-shadow: 0 0 0 3px #000, 10px 10px 0 3px #000, 0 0 60px rgba(255,26,26,.35);
  animation: glow 2.6s ease-in-out infinite;
}
@keyframes glow { 50% { box-shadow: 0 0 0 3px #000, 10px 10px 0 3px #000, 0 0 90px rgba(255,26,26,.55); } }
.cta::before, .cta::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--bone); }
.cta::before { top: -7px; left: -7px; }
.cta::after { bottom: -7px; right: -7px; }
.cta-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--red); color: #000; font-family: var(--f-px); font-size: 11px; letter-spacing: .08em; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: #000; animation: blink 1s steps(1) infinite; }
.cta-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 18px; }
@media (min-width: 680px) { .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 22px; } }
.cta-tv { position: relative; display: block; border: 3px solid #000; outline: 2px solid var(--line); background: #000; overflow: hidden; text-decoration: none; max-width: 100%; }
.cta-tv img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.cta-tv::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px), linear-gradient(transparent 50%, rgba(0,0,0,.85)); pointer-events: none; }
.cta-tv:hover img { transform: scale(1.05); }
.cta-play { position: absolute; z-index: 2; left: 50%; top: 42%; width: 64px; height: 64px; transform: translate(-50%, -50%); background: var(--red); box-shadow: 4px 4px 0 #000, 0 0 30px rgba(255,26,26,.8); clip-path: polygon(0 0, 0 100%, 100% 50%); }
.cta-tv:hover .cta-play { background: var(--bone); }
.cta-vt { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 8px; font-family: var(--f-mono); font-size: 19px; line-height: 1.1; color: var(--bone); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cta-txt { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cta-txt p { margin: 0; font-size: 16px; color: var(--text); }
.cta-txt .cta-big { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.15; color: var(--bone); text-shadow: 2px 2px 0 var(--red-d); }
.cta-sub {
  position: relative; overflow: hidden; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--f-px); font-size: 13px; letter-spacing: .06em; color: #000;
  background: var(--red); padding: 16px 20px; box-shadow: 5px 5px 0 #000;
  transition: transform .06s, box-shadow .06s;
}
.cta-sub::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; left: -60px; background: rgba(255,255,255,.55); transform: skewX(-20deg); animation: shine 2.8s steps(14) infinite; }
@keyframes shine { 60%, 100% { left: 120%; } }
.cta-sub:hover { background: #ff4040; }
.cta-sub:active { transform: translate(4px,4px); box-shadow: 1px 1px 0 #000; }
.cta-ch { font-family: var(--f-mono); font-size: 20px; color: var(--dim); text-decoration: none; }
.cta-ch:hover { color: var(--bone); }
@media (max-width: 420px) { .cta-sub { align-self: stretch; justify-content: center; } }

.more { display: flex; flex-direction: column; gap: 16px; }
.sec-t { margin: 0; font-family: var(--f-px); font-size: 13px; letter-spacing: .08em; color: var(--red); display: flex; align-items: center; gap: 12px; line-height: 1.6; }
.sec-t::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 12px); }

/* ── footer ── */
.foot { position: relative; z-index: 1; border-top: 2px solid var(--line); background: rgba(7,2,3,.85); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 28px var(--gut-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gut-l); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot .brand img { width: 56px; height: 56px; }
.foot p { margin: 0; font-family: var(--f-mono); font-size: 20px; color: var(--dim); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot nav a { font-family: var(--f-mono); font-size: 20px; color: var(--bone); text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--red); }
.foot small { font-family: var(--f-mono); font-size: 18px; color: var(--dim); }

/* ── setup page ── */
.setup { max-width: 560px; margin: 40px auto; display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 2px solid var(--red); box-shadow: 8px 8px 0 #000; padding: 22px; }
.setup h1 { margin: 0; font-family: var(--f-head); font-size: 30px; color: var(--bone); }
.setup p { margin: 0; color: var(--text); }
.setup ol { margin: 0; padding-left: 22px; }
.setup form { display: flex; flex-direction: column; gap: 12px; }
.setup input { width: 100%; font: 18px var(--f-mono); padding: 14px 12px; background: #000; color: var(--bone); border: 2px solid var(--line); }
.setup input:focus { border-color: var(--red); outline: none; }
.setup button { font-family: var(--f-px); font-size: 12px; padding: 16px; background: var(--red); color: #000; border: 0; box-shadow: 4px 4px 0 #000; cursor: pointer; }
.setup .msg { padding: 12px; border: 2px solid var(--red); color: var(--bone); }
.setup .ok { border-color: #3ddc84; }
.setup a { color: var(--red); }

/* calmer sky behind long reads */
body:has(.post) .sky i { opacity: .22; }
@media (max-width: 560px) {
  .ticker-tag { font-size: 8px; padding: 0 8px; }
  .ticker-run a, .ticker-run .dup > span { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .sky i { animation: fall 400s linear infinite !important; }
  .ticker-run { animation: run 200s linear infinite !important; }
  .progress { animation-duration: auto !important; }
}
