/* SINGLE landing page template (G5, 8 Oct 2026): the /weapons smart-link layout, in the site's green screen language.
   One template for every single: singles/single.js renders it from singles/<slug>.js. The cover is the only print object
   (a real shadow, no scanlines); everything else is screen: phosphor, scanlines, convergence bleed.
   FORMER GLORY rules (from the home page): green highlights, the blackletter title is FG only, yellow is the tag. */
@font-face { font-family: "Space Mono"; src: url("/fonts/SpaceMono-Regular.ttf"); }
@font-face { font-family: "Space Mono"; src: url("/fonts/SpaceMono-Bold.ttf"); font-weight: 700; }
@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/BigShouldersDisplay-Black.woff") format("woff"); font-weight: 900; }
@font-face { font-family: "Unifraktur"; src: url("/fonts/UnifrakturMaguntia-Book.ttf"); }
:root { --bg:#090c09; --line:#1d2a1d; --hot:#b6f5a0; --pale:#b9e6a2; --dim:#6f8a70; --tag:#f2d45a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--pale); }
body { font: 15px/1.5 "Space Mono", ui-monospace, monospace; min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.screen { position: relative; } .screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.phos { color: var(--hot); text-shadow: 0 0 6px rgba(47,138,76,.9), 0 0 18px rgba(47,138,76,.4), -1.5px 0 rgba(143,107,255,.3), 1.5px 0 rgba(242,212,90,.25); }

main { max-width: 460px; margin: 0 auto; padding: 34px 18px 40px; }
.top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .2em; margin-bottom: 18px; }
.top a { text-decoration: none; }
.stari { position: relative; display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; } .stari::before { content: "✦"; position: absolute; left: 50%; top: -.95em; transform: translateX(-50%); font-size: .7em; }

/* the cover: a printed object (real shadow, above the scanlines). No artwork yet: the FG teaser loop stands in */
.cover { position: relative; z-index: 5; display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.todo { display: inline-block; font-size: 10px; letter-spacing: .2em; color: var(--tag); border: 1px solid var(--tag); padding: 1px 6px; }
.cover-wrap { position: relative; } .cover-wrap .todo { position: absolute; z-index: 6; left: 10px; top: 10px; background: rgba(9,12,9,.8); }

.head { margin: 22px 0 6px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--tag); border: 1px solid var(--tag); padding: 3px 9px; box-shadow: 0 0 10px rgba(242,212,90,.35); }
.tag.out { color: #0d0c04; background: var(--tag); animation: blink 1.2s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: .55; } }
h1.fgt { font: 400 76px/1 "Unifraktur", serif; color: #cfe8d2; filter: drop-shadow(0 0 5px rgba(47,138,76,.6)); margin: 14px 0 8px; }
.by { margin-top: 6px; font-size: 13px; letter-spacing: .18em; }

.links { display: grid; gap: 10px; margin-top: 24px; }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border: 1px solid rgba(182,245,160,.45); background: #0c110c; text-decoration: none; font-size: 14px; letter-spacing: .1em; transition: background .12s, border-color .12s; }
.links a .go { font-size: 11px; letter-spacing: .2em; border: 1px solid currentColor; padding: 2px 10px; white-space: nowrap; }
.links a:hover { background: #122012; border-color: var(--hot); } .links a:hover .go { background: var(--hot); color: var(--bg); text-shadow: none; }
.links a.missing { opacity: .55; pointer-events: none; } .links a.missing .go { color: var(--tag); }
.links svg { width: 18px; height: 18px; margin-right: 12px; vertical-align: -3px; }

.more { margin-top: 26px; font-size: 12px; letter-spacing: .12em; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.more a { text-decoration: none; border-bottom: 1px solid rgba(182,245,160,.35); }
/* 4i RECORDS in CRT: the white mono logo used as a mask over vertical phosphor lines + glow + bleed (as on /weapons) */
.label { display: grid; justify-items: center; gap: 8px; margin: 46px auto 0; text-decoration: none; width: max-content; }
.label .crt { width: 120px; aspect-ratio: 1.91; background: repeating-linear-gradient(90deg, #b6f5a0 0 2px, rgba(182,245,160,.55) 2px 3px, transparent 3px 5px);
  -webkit-mask: url("/assets/cw/4i-records-mono-white.svg") center / contain no-repeat; mask: url("/assets/cw/4i-records-mono-white.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(47,138,76,.9)) drop-shadow(-2px 0 0 rgba(143,107,255,.4)) drop-shadow(2px 0 0 rgba(242,212,90,.3)); animation: flick 4s steps(1, end) infinite; }
@keyframes flick { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .6; } 98% { opacity: .95; } }
/* wordmark: lowercase gra★ce, CRT line type (same as the site nav) */
.brand { font-family: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif; font-weight: 900; letter-spacing: .08em; font-size: 28px; line-height: 1; text-decoration: none;
  background: repeating-linear-gradient(90deg, #b6f5a0 0 2px, rgba(182,245,160,.55) 2px 3px, transparent 3px 4px); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 5px rgba(47,138,76,.95)) drop-shadow(-1.5px 0 0 rgba(143,107,255,.45)) drop-shadow(1.5px 0 0 rgba(242,212,90,.35)); }
.brand .stari::before { top: -.62em; left: 62%; font-size: .5em; color: #b6f5a0; -webkit-text-fill-color: #b6f5a0; text-shadow: 0 0 6px rgba(47,138,76,.95); }
.preview { margin-top: 30px; font-size: 10px; letter-spacing: .2em; color: var(--dim); text-align: center; }
@media (max-width: 380px) { h1.fgt { font-size: 60px; } }
