/* MERIDIAN website: CRT phosphor on ship-black, matching the game HUD. */
:root {
  --bg: #050605; --bg2: #0a110c; --panel: rgba(8, 16, 11, 0.86); --line: #1f3a28; --line2: #2c5238;
  --fg: #b8f5c4; --dim: #6f9c79; --phos: #7dff9b; --amber: #ffb547; --red: #ff5a4a; --cream: #e9e2cc;
  --mono: 'VT323', 'Share Tech Mono', ui-monospace, 'Courier New', monospace;
  --ui: 'Share Tech Mono', ui-monospace, 'Courier New', monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.6 var(--ui); min-height: 100vh; overflow-x: hidden; }
body::before { /* scanlines */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
}
body::after { /* vignette */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 99; box-shadow: inset 0 0 180px rgba(0,0,0,.85);
}
a { color: var(--phos); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--mono); font-weight: 400; letter-spacing: .06em; line-height: 1.1; margin: 0 0 .4em; color: var(--cream); }
h1 { font-size: clamp(54px, 11vw, 120px); color: var(--phos); text-shadow: 0 0 18px rgba(125,255,155,.45), 0 0 2px #fff; }
h2 { font-size: clamp(32px, 5vw, 46px); }
h3 { font-size: 28px; color: var(--amber); }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(5,6,5,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(4px); }
.nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 60px; flex-wrap: nowrap; width: min(1400px, 100% - 32px); }
.brand { font-family: var(--mono); font-size: 30px; line-height: 1.15; padding: 4px 0; color: var(--phos); letter-spacing: .12em; text-shadow: 0 0 10px rgba(125,255,155,.4); white-space: nowrap; flex: none; }
.brand:hover { text-decoration: none; }
.nav .links { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; flex-wrap: nowrap; }
.nav .links a, .nav .more summary { color: #9cc8a6; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav .links a:hover, .nav .links a.on { color: var(--fg); border-bottom-color: var(--phos); text-decoration: none; }
.nav .who { margin-left: auto; font-size: 14px; color: var(--dim); white-space: nowrap; display: flex; align-items: center; gap: 14px; }
.nav .btn.dl { font-size: 20px; padding: 6px 18px; flex: none; }
.nav .more { position: relative; } .nav .more summary { list-style: none; cursor: pointer; } .nav .more summary::-webkit-details-marker { display: none; }
.nav .more summary::after { content: ' \25BE'; font-size: 11px; } .nav .more.on summary, .nav .more summary:hover { color: var(--fg); border-bottom-color: var(--phos); }
.nav .menu { position: absolute; top: calc(100% + 10px); left: -14px; min-width: 220px; background: #07100a; border: 1px solid var(--line2); box-shadow: 0 12px 30px rgba(0,0,0,.6); padding: 6px 0; display: grid; z-index: 60; }
.nav .menu a { padding: 9px 16px !important; border: 0 !important; font-size: 14px; } .nav .menu a:hover, .nav .menu a.on { background: rgba(125,255,155,.08); color: var(--fg); text-decoration: none; }
.nav .acct { position: relative; } .nav .acct > button { font: 14px var(--ui); letter-spacing: .08em; color: var(--amber); background: rgba(255,181,71,.06); border: 1px solid rgba(255,181,71,.35); padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.nav .acct > button::after { content: ' \25BE'; font-size: 11px; } .nav .acct .menu { left: auto; right: 0; } .nav .acct .menu[hidden] { display: none; }
.nav .who a.login { color: var(--fg); text-transform: uppercase; letter-spacing: .1em; }
.burger { display: none; margin-left: auto; width: 42px; height: 38px; background: none; border: 1px solid var(--line2); cursor: pointer; padding: 9px 9px; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 2px; background: var(--phos); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--phos); color: var(--bg); padding: 6px 12px; } .skip:focus { left: 8px; }
@media (max-width: 1180px) {
  .nav .wrap { flex-wrap: wrap; gap: 0 10px; } .burger { display: flex; order: 2; margin-left: 0; } .nav .btn.dl { order: 1; margin-left: auto; }
  .nav .links { order: 3; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 14px; }
  .nav.open .links { display: flex; } .nav .links a, .nav .more summary { font-size: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
  .nav .more summary::after { content: ''; } .nav .more summary { display: none; } .nav .more .menu { position: static; display: grid; box-shadow: none; border: 0; background: none; padding: 0; min-width: 0; }
  .nav .more .menu a { padding: 11px 2px !important; border-bottom: 1px solid var(--line) !important; font-size: 16px; }
  .nav .who { margin: 12px 0 0; flex-wrap: wrap; } .nav .acct .menu { right: auto; left: 0; }
}
@media (max-width: 480px) { .brand { font-size: 22px; letter-spacing: .08em; } .nav .btn.dl { font-size: 16px; padding: 4px 10px; } .burger { width: 38px; height: 34px; padding: 8px; } }
.nav .who b { color: var(--amber); font-weight: 400; }

/* buttons */
.btn { display: inline-block; font: 22px var(--mono); letter-spacing: .1em; padding: 8px 22px; border: 1px solid var(--phos); color: var(--bg); background: var(--phos);
  cursor: pointer; box-shadow: 0 0 18px rgba(125,255,155,.25); transition: transform .1s, box-shadow .2s; text-transform: uppercase; }
.btn:hover { text-decoration: none; box-shadow: 0 0 28px rgba(125,255,155,.5); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--phos); }
.btn.amber { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 18px rgba(255,181,71,.25); }
.btn:disabled { opacity: .5; cursor: wait; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }

/* hero */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url(img/hero.jpg?v=0.25.16) center/cover; opacity: .38; filter: saturate(.8); }   /* (bump ?v= when hero.jpg changes: the page fingerprint covers site.css, not the picture) */
.hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(5,6,5,.7) 55%, rgba(5,6,5,.2) 100%), linear-gradient(0deg, var(--bg), transparent 40%); }
.hero .wrap { position: relative; padding: clamp(56px, 12vw, 130px) 0 clamp(48px, 8vw, 90px); }
.tag { font-family: var(--mono); font-size: clamp(24px, 3.4vw, 34px); color: var(--amber); margin-bottom: 14px; }
.lede { max-width: 620px; font-size: 17px; color: var(--fg); }
.stat { display: flex; gap: 26px; flex-wrap: wrap; color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.stat b { display: block; font: 34px var(--mono); color: var(--cream); letter-spacing: .04em; }

/* sections */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
figure { margin: 0; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 20px; box-shadow: inset 0 0 24px rgba(125,255,155,.04); }
.card p:last-child { margin: 0; }
.card.org { border-color: #4a2420; } .card.org h3 { color: var(--red); }
.card.agent { border-color: #4a3a1c; }
.shot { border: 1px solid var(--line2); background: #000; margin-left: auto; margin-right: auto; }   /* (0.20.46: a figure narrower than the column sits centred) */
.shot img { width: 100%; height: auto; aspect-ratio: auto 16 / 9; }   /* (0.24.9: room kept before the picture loads - the page jumped as each arrived) */
.shot figcaption { font-size: 12px; color: var(--dim); padding: 8px 10px; letter-spacing: .08em; text-transform: uppercase; }
.term { font: 20px/1.35 var(--mono); color: var(--phos); background: #020803; border: 1px solid var(--line2); padding: 16px 18px; white-space: pre-wrap; text-shadow: 0 0 6px rgba(125,255,155,.4); overflow-x: auto; }
.term .a { color: var(--amber); }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
td:first-child { color: var(--amber); white-space: nowrap; font-family: var(--mono); font-size: 20px; }
kbd { font: 18px var(--mono); border: 1px solid var(--line2); border-bottom-width: 2px; padding: 0 6px; color: var(--cream); background: #0b130d; }
ul.list { padding-left: 1.2em; margin: 0 0 1em; } ul.list li { margin: .25em 0; }
ul.list li::marker { color: var(--phos); }
.toc { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 18px 0 0; }

/* forms */
.auth { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
input { font: 22px var(--mono); color: var(--cream); background: #020803; border: 1px solid var(--line2); padding: 6px 10px; outline: none; width: 100%; }
input:focus { border-color: var(--phos); box-shadow: 0 0 0 2px rgba(125,255,155,.15); }
.msg { min-height: 1.4em; font-size: 14px; } .msg.err { color: var(--red); } .msg.ok { color: var(--phos); }
.hint { font-size: 12px; color: var(--dim); }

footer { padding: 40px 0 56px; color: var(--dim); font-size: 14px; background: #040504; }
footer .fcols { display: grid; gap: 26px 32px; grid-template-columns: 2fr repeat(4, 1fr); }
footer .fcols > div { display: grid; gap: 7px; align-content: start; } footer h4 { margin: 0 0 4px; font: 12px var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--amber); font-weight: 400; }
footer .fbrand > b { font: 28px var(--mono); color: var(--phos); letter-spacing: .1em; font-weight: 400; } footer .fbrand span b { color: var(--fg); font-weight: 400; }
footer a { color: #9cc8a6; } @media (max-width: 760px) { footer .fcols { grid-template-columns: 1fr 1fr; } footer .fbrand { grid-column: 1 / -1; } }
/* home: three steps */
.start { background: linear-gradient(180deg, rgba(125,255,155,.05), transparent 70%); }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); counter-reset: s; }
.steps li { display: flex; gap: 16px; background: var(--panel); border: 1px solid var(--line); padding: 18px; }
.steps li > b { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font: 34px var(--mono); color: var(--bg); background: var(--phos); }
.steps h3 { font-size: 28px; color: var(--cream); margin-bottom: 4px; } .steps p { font-size: 15px; } .steps .btn.sm { margin-top: 2px; }

@media (max-width: 600px) {
  body { font-size: 14px; }
  section { padding: 44px 0; }
  .nav .who { width: 100%; padding-bottom: 8px; }
  td:first-child { white-space: normal; font-size: 18px; }
  .hide-sm { display: none; }
}
/* floating KE/EP/ER terminal drawer (log in, lore, leaderboards without leaving the page) */
.term-tab { position: fixed; right: 18px; bottom: 18px; z-index: 60; font: 21px/1 'VT323', monospace; letter-spacing: 2px; color: #b8f5c4; background: #0a120c; border: 1px solid #2e6a3c; padding: 10px 16px 8px; cursor: pointer; box-shadow: 0 0 0 1px #000, 0 6px 24px rgba(0,0,0,.6), 0 0 18px rgba(80,255,140,.15); text-shadow: 0 0 6px rgba(120,255,160,.6); }
.term-tab:hover, .term-tab:focus-visible { background: #11201a; outline: none; }
body.dr-open .term-tab { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(760px, 100vw); display: flex; flex-direction: column; background: #050605; border-left: 1px solid #2e6a3c; box-shadow: -18px 0 50px rgba(0,0,0,.7); transform: translateX(105%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.drawer[hidden] { display: flex; visibility: hidden; }
body.dr-open .drawer { transform: none; visibility: visible; }
.dr-head { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #262822; background: linear-gradient(#181a16, #0e100d); font: 18px 'VT323', monospace; color: #9aa89a; letter-spacing: 1px; }
.dr-head img { height: 20px; } .dr-head span { flex: 1; }
.dr-head .dr-full { color: #8a9a7a; font-size: 16px; text-decoration: none; border: 1px solid #333; padding: 2px 8px; }
.dr-head button { font: 22px 'VT323', monospace; background: none; border: 1px solid #444; color: #ccc; cursor: pointer; padding: 0 9px; }
.drawer iframe { flex: 1; width: 100%; border: 0; background: #000; }
.dr-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s; }
body.dr-open .dr-scrim { opacity: 1; pointer-events: auto; }
@media (max-width: 640px) { .term-tab { right: 12px; bottom: 12px; font-size: 18px; padding: 8px 12px 6px; } .dr-head .dr-full { display: none; } }
/* v0.12: map cards, feature grid, lore, map bands, control tabs, gallery + lightbox */
.mapcard > a img, .feat img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line2); margin-bottom: 14px; background: #000; }
.mapcard h3 { font-size: 34px; color: var(--phos); }
.mapcard .kicker { margin-bottom: 4px; }
.grid.feats { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.feat h3 { font-size: 25px; }
.feat p { font-size: 14px; }
.lore-list { margin: 0; }
.lore-list dt { font: 26px var(--mono); color: var(--amber); letter-spacing: .06em; margin-top: 14px; }
.lore-list dt:first-child { margin-top: 0; }
.lore-list dd { margin: 2px 0 0; color: var(--fg); }
.band { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(125,255,155,.10), rgba(125,255,155,.02) 60%, transparent); padding: 26px 0 22px; scroll-margin-top: 56px; }
.band .wrap { font: clamp(34px, 6vw, 60px)/1 var(--mono); color: var(--phos); letter-spacing: .08em; text-shadow: 0 0 14px rgba(125,255,155,.4); }
.band span { display: block; font: 12px var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; text-shadow: none; }
.band.amber { background: linear-gradient(90deg, rgba(255,181,71,.12), rgba(255,181,71,.02) 60%, transparent); }
.band.amber .wrap { color: var(--amber); text-shadow: 0 0 14px rgba(255,181,71,.4); }
.band.dim .wrap { color: var(--cream); text-shadow: none; font-size: clamp(28px, 4.4vw, 44px); }
section[id], .card[id] { scroll-margin-top: 64px; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp td:first-child { color: var(--dim); font: 12px var(--ui); text-transform: uppercase; letter-spacing: .12em; padding-top: 12px; }
table.cmp td + td { color: var(--fg); }
table.keys td:first-child { width: 1%; }
.ctabs { display: none; gap: 6px; flex-wrap: wrap; margin: 18px 0 14px; }
html.js .ctabs { display: flex; }
.ctabs button { font: 20px var(--mono); letter-spacing: .08em; color: var(--dim); background: transparent; border: 1px solid var(--line2); padding: 6px 16px; cursor: pointer; text-transform: uppercase; }
.ctabs button:hover { color: var(--fg); border-color: var(--phos); }
.ctabs button[aria-selected="true"] { color: var(--bg); background: var(--phos); border-color: var(--phos); }
.cpanel { margin-top: 18px; }
.cpanel > h3 { font-size: 24px; }
html.js .cpanel:not(.on) { display: none; }
html.js .cpanel > h3 { display: none; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #000; }
.shot a.lb { display: block; cursor: zoom-in; }
.shot a.lb:hover img { filter: brightness(1.12); }
.shot.map figcaption { text-transform: none; letter-spacing: .02em; font-size: 14px; color: var(--fg); }
.lbx { position: fixed; inset: 0; z-index: 90; background: rgba(2,4,3,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.lbx[hidden] { display: none; }
.lbx img { max-width: min(1280px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; border: 1px solid var(--line2); box-shadow: 0 0 40px rgba(0,0,0,.8); }
.lbx .cap { color: var(--fg); font-size: 14px; letter-spacing: .06em; text-align: center; max-width: 900px; }
.lbx button { position: absolute; font: 30px var(--mono); color: var(--fg); background: rgba(10,18,12,.85); border: 1px solid var(--line2); cursor: pointer; padding: 2px 14px; }
.lbx .x { top: 14px; right: 14px; } .lbx .pv { left: 12px; top: 50%; } .lbx .nx { right: 12px; top: 50%; }
@media (max-width: 600px) {
  .band { padding: 20px 0 16px; }
  table.keys td:first-child { width: auto; min-width: 92px; }
  .lbx .pv, .lbx .nx { top: auto; bottom: 14px; }
  .mapcard h3 { font-size: 28px; }
}
.feat.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 22px; align-items: center; }
.feat.wide img { margin-bottom: 0; }
.feat.wide p { font-size: 15px; }
@media (max-width: 700px) { .feat.wide { display: block; } .feat.wide img { margin-bottom: 14px; } }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

/* CRT title glitch: every "THE MERIDIAN" title (class crt-title, data-text = the title). The title is drawn by two
   layers split at a horizontal line (top half / bottom half). Mostly they line up exactly; now and then the picture
   tears - the split jumps, one half slides sideways with an RGB fringe - and the whole title skips in the scan. */
.crt-title { position: relative; -webkit-text-fill-color: transparent; animation: crt-jit 8.3s infinite steps(1, end); }
.crt-title::before, .crt-title::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-text-fill-color: currentColor; text-shadow: none; white-space: inherit; }
.crt-title::before { clip-path: inset(0 0 50% 0); animation: crt-top 7.3s infinite steps(1, end); }
.crt-title::after { clip-path: inset(50% 0 0 0); animation: crt-bot 7.3s infinite steps(1, end); }
@keyframes crt-top {
  0%, 37%, 38.8%, 86.4%, 88.2%, 100% { clip-path: inset(0 0 50% 0); transform: none; text-shadow: none; }
  37.4% { clip-path: inset(0 0 70% 0); transform: none; text-shadow: -2px 0 rgba(255,46,70,.7), 2px 0 rgba(60,210,255,.7); }
  38.1% { clip-path: inset(0 0 38% 0); transform: translateX(-7px); text-shadow: -3px 0 rgba(255,46,70,.85), 3px 0 rgba(60,210,255,.85); }
  86.8% { clip-path: inset(0 0 55% 0); transform: none; text-shadow: -2px 0 rgba(255,46,70,.6), 2px 0 rgba(60,210,255,.6); }
  87.3% { clip-path: inset(0 0 80% 0); transform: translateX(6px); text-shadow: -3px 0 rgba(255,46,70,.85), 3px 0 rgba(60,210,255,.85); }
  87.8% { clip-path: inset(0 0 25% 0); transform: translateX(-3px); text-shadow: none; } }
@keyframes crt-bot {
  0%, 37%, 38.8%, 86.4%, 88.2%, 100% { clip-path: inset(50% 0 0 0); transform: none; text-shadow: none; }
  37.4% { clip-path: inset(30% 0 0 0); transform: translateX(11px); text-shadow: 3px 0 rgba(60,210,255,.85), -3px 0 rgba(255,46,70,.85); }
  38.1% { clip-path: inset(62% 0 0 0); transform: none; text-shadow: none; }
  86.8% { clip-path: inset(45% 0 0 0); transform: translateX(-15px) skewX(-7deg); text-shadow: 4px 0 rgba(60,210,255,.9), -4px 0 rgba(255,46,70,.9); }
  87.3% { clip-path: inset(20% 0 0 0); transform: none; text-shadow: none; }
  87.8% { clip-path: inset(75% 0 0 0); transform: translateX(9px); text-shadow: 3px 0 rgba(60,210,255,.8), -3px 0 rgba(255,46,70,.8); } }
@keyframes crt-jit {
  0%, 74%, 100% { transform: none; opacity: 1; filter: none; }
  74.4% { transform: translate(2px, -1px) skewX(-3deg); opacity: .78; filter: brightness(1.6); }
  74.8% { transform: translate(-3px, 1px); opacity: 1; filter: none; }
  75.2% { transform: none; opacity: .9; }
  75.5% { transform: translateY(2px) scaleY(.96); opacity: 1; }
  75.8% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .crt-title, .crt-title::before, .crt-title::after { animation: none; } }

.love { position: relative; overflow: hidden; display: grid; gap: 4px; justify-items: center; margin: 22px 0 26px; padding: 26px 12px 30px; text-align: center; border: 1px solid rgba(255,120,140,.22); border-radius: 6px; background: radial-gradient(ellipse at 50% 60%, rgba(255,84,112,.10), transparent 70%); }
.love span { font-size: 12px; letter-spacing: .4em; color: #c9a3aa; } .love b { font-size: clamp(26px, 4vw, 38px); letter-spacing: .3em; color: #ffd7dd; } .love small { font-style: italic; color: #e9a5b0; font-size: 15px; }
.love i { font-style: normal; color: #ff5470; display: inline-block; animation: loveBeat 1.4s ease-in-out infinite; } .love b i:last-of-type { animation-delay: -.7s; }
.love em { position: absolute; bottom: -24px; font-style: normal; color: rgba(255,84,112,.55); font-size: 16px; animation: loveFloat 4.8s linear infinite; pointer-events: none; }
@keyframes loveBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@keyframes loveFloat { 0% { transform: translateY(0) rotate(-10deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-150px) rotate(14deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .love i, .love em, .mkc-love i { animation: none; } .love em { display: none; } }
.cred { width: 100%; border-collapse: collapse; font-size: 14px; } .cred th { text-align: left; color: var(--dim, #7d8a80); font-weight: normal; letter-spacing: .12em; font-size: 11px; text-transform: uppercase; padding: 4px 8px; border-bottom: 1px solid rgba(125,255,155,.2); } .cred td { padding: 5px 8px; border-bottom: 1px solid rgba(125,255,155,.08); }

/* ---- shop, leaderboards, operator files, password recovery (0.16) */
.shopbar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 18px 0 4px; padding: 12px 18px; border: 1px solid #4a3a1c; background: rgba(30,20,0,.45); }
.shopbar b { display: block; font: 40px var(--mono); color: var(--amber); letter-spacing: .06em; line-height: 1; }
.shopgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.sitem { background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.sitem.own { border-color: var(--line2); }
.sitem .sn { font: 30px var(--mono); color: var(--cream); letter-spacing: .05em; line-height: 1; }
.sitem p { margin: 0; font-size: 14px; min-height: 3em; }
.pips { display: flex; gap: 5px; } .pips span { font-size: 11px; letter-spacing: .12em; padding: 1px 8px; border: 1px solid var(--line2); color: var(--dim); }
.pips span.on { color: var(--bg); background: var(--phos); border-color: var(--phos); }
.sitem.org .pips span.on { background: var(--red); border-color: var(--red); }
.btn.sm { font-size: 18px; padding: 5px 14px; justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--phos); color: var(--phos); padding: 2px 9px; }
.chip.org { border-color: var(--red); color: #ff9a88; }
.lbfilters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 18px 0; }
.lbfilters select { font: 20px var(--mono); color: var(--cream); background: #020803; border: 1px solid var(--line2); padding: 5px 8px; min-width: 190px; }
.lbfilters .chk { display: flex; gap: 8px; align-items: center; } .lbfilters .chk input { width: auto; }
table.lbt td.v { color: var(--amber); font: 22px var(--mono); }
table.lbt tr.top td:first-child { color: var(--amber); }
.clean { color: var(--phos); }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-top: 6px; }
.tiles .tile { border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; }
.tiles .tile b { display: block; font: 38px var(--mono); color: var(--phos); line-height: 1; }
.tiles .tile span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.tiles.sm .tile b { font-size: 28px; }
.rate { display: inline-block; width: 60px; height: 6px; background: #12301c; vertical-align: middle; } .rate i { display: block; height: 100%; background: var(--phos); }
.badges { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.bdg { border: 1px dashed var(--line2); padding: 8px 10px; opacity: .55; } .bdg b { display: block; font: 20px var(--mono); color: var(--dim); letter-spacing: .06em; }
.bdg span { font-size: 12px; color: var(--dim); } .bdg.ach.got { border-color: #ffc830; background: rgba(60,44,0,.45); } .bdg.ach.got b { color: #ffd870; } .bdg span i { color: var(--green, #7dff9b); font-style: normal; } .bdg.got { opacity: 1; border: 1px solid var(--amber); background: rgba(40,28,0,.4); } .bdg.got b { color: var(--amber); }
td.ok { color: var(--phos); } td.no { color: var(--dim); }
details.forgot { margin-top: 16px; } details.forgot summary { cursor: pointer; color: var(--dim); font-size: 13px; letter-spacing: .1em; } details.forgot summary:hover { color: var(--fg); }
details.forgot form { margin-top: 10px; display: grid; gap: 10px; }
/* 0.25.20: the download card - the installer first; the zip folds away under it (alone, without a summary, when there is no installer) */
details.dlzip > summary { display: none; }
details.dlzip.alt { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
details.dlzip.alt > summary { display: list-item; cursor: pointer; color: var(--dim); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
details.dlzip.alt > summary:hover { color: var(--fg); } details.dlzip.alt[open] > summary { margin-bottom: 10px; }
.tw { overflow-x: auto; } .tw table { min-width: 560px; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .tw table { min-width: 520px; } .lbfilters label, .lbfilters select { width: 100%; } .shopbar b { font-size: 32px; } }
.card.contracts { margin: 18px 0; border-color: #4a3a1c; }
.cgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.ctc { border: 1px solid var(--line); background: rgba(8,16,11,.7); padding: 12px; display: grid; gap: 6px; }
.ctc.org { border-left: 3px solid var(--red); } .ctc.done { border-color: var(--amber); }
.ctc .sn { font: 24px var(--mono); color: var(--cream); line-height: 1; } .ctc p { margin: 0; font-size: 14px; }
.cbar { position: relative; height: 20px; background: #0d1a12; border: 1px solid var(--line2); }
.cbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #2f7a48, #7dff9b); opacity: .55; }
.ctc.done .cbar i { background: linear-gradient(90deg, #8a5a10, #ffb547); }
.cbar em { position: relative; font-style: normal; font-size: 12px; padding-left: 8px; line-height: 20px; }

/* 0.20.0 account page: friends */
.fr-add-site { grid-template-columns: 1fr auto; align-items: end; } .fr-add-site .msg { grid-column: 1 / -1; }
.frl h4 { margin: 16px 0 6px; font: 12px var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); font-weight: 400; }
.frr { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px dashed var(--line); } .frr b { font: 22px var(--mono); font-weight: 400; color: var(--cream); letter-spacing: .06em; }

/* 0.20.10 MEET THE CREW: Tessaron personnel files */
.crewjump { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.crewjump a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 8px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); text-decoration: none; font-size: 13px; letter-spacing: .14em; }
.crewjump a:hover, .crewjump a:focus-visible { border-color: var(--amber); color: var(--amber); }
.crewjump img { width: 72px; height: 96px; object-fit: cover; image-rendering: pixelated; background: #0b0f0c; }
.dossier { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 28px; margin: 34px 0; padding: 22px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(10,17,12,.92), rgba(5,8,6,.92)); position: relative; scroll-margin-top: 70px; }
.dossier::before { content: 'CONFIDENTIAL'; position: absolute; top: 14px; right: 18px; font: 12px var(--ui); letter-spacing: .3em; color: var(--red); border: 1px solid rgba(255,90,74,.5); padding: 3px 8px; transform: rotate(3deg); }
.d-photo { position: relative; align-self: start; border: 1px solid var(--line2); background: #080b09; }
.d-photo img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.d-tag { position: absolute; left: 0; bottom: 0; right: 0; padding: 5px 8px; font: 12px var(--ui); letter-spacing: .2em; color: var(--dim); background: rgba(0,0,0,.65); }
.d-head h2 { margin: 2px 0 4px; }
.d-title { color: var(--amber); font-size: 18px; } .d-spec { display: block; margin-top: 4px; color: var(--phos); font-size: 14px; }
.d-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 16px 0 6px; padding: 12px 14px; border: 1px dashed var(--line2); font-size: 14px; }
.d-facts dt { color: var(--dim); letter-spacing: .14em; font-size: 12px; padding-top: 2px; } .d-facts dd { margin: 0; color: var(--cream); }
.dossier h4 { margin: 18px 0 6px; font: 13px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.dossier p { margin: 0; line-height: 1.6; }
.d-stamp { margin-left: 8px; color: var(--red); border: 1px solid rgba(255,90,74,.5); padding: 1px 6px; letter-spacing: .2em; font-size: 11px; }
.d-rec { list-style: none; margin: 0; padding: 0; } .d-rec li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(125,255,155,.08); font-size: 15px; } .d-rec b { color: var(--red); font-weight: 400; }
.d-hr { margin-top: 18px; padding: 4px 14px 14px; border-left: 3px solid var(--amber); background: rgba(255,181,71,.04); } .d-hr p { font-family: var(--ui); font-size: 14px; color: #e8d6ae; }
.dossier blockquote { margin: 20px 0 0; font: 26px/1.2 var(--mono); color: var(--phos); }
@media (max-width: 760px) { .dossier { grid-template-columns: 1fr; padding: 16px; } .d-photo { max-width: 260px; } .dossier::before { position: static; justify-self: start; transform: none; } .d-facts { grid-template-columns: 1fr; } .d-facts dd { margin-bottom: 6px; } }
/* 0.20.13: bug report button (every page's header) + the /bugs form */
.nav .bugbtn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--dim); border: 1px solid var(--line2); background: rgba(125,255,155,.03); }
.nav .bugbtn:hover, .nav .bugbtn.on { color: var(--amber); border-color: rgba(255,181,71,.55); text-decoration: none; box-shadow: 0 0 12px rgba(255,181,71,.18); }
@media (max-width: 1180px) { .nav .bugbtn { order: 1; margin-left: auto; } .nav .bugbtn + .btn.dl { margin-left: 0; } }
@media (max-width: 480px) { .nav .bugbtn { width: 32px; height: 32px; } .nav .bugbtn svg { width: 17px; height: 17px; } .nav .wrap { column-gap: 6px; } }
@media (max-width: 420px) { .brand { font-size: 18px; letter-spacing: .04em; } .nav .btn.dl { font-size: 14px; padding: 5px 8px; } .nav .bugbtn { width: 30px; height: 30px; } }   /* (brand, bug, download and the menu button stay on one row down to 360 px) */
.bugform { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.bugform form { gap: 14px; }
.bugrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; } .bugrow.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bugform select, .bugform textarea { font: 19px var(--mono); color: var(--cream); background: #020803; border: 1px solid var(--line2); padding: 6px 10px; outline: none; width: 100%; }
.bugform textarea { resize: vertical; min-height: 80px; line-height: 1.25; }
.bugform select:focus, .bugform textarea:focus { border-color: var(--phos); box-shadow: 0 0 0 2px rgba(125,255,155,.15); }
.bugform input[type=file] { font-size: 15px; padding: 6px; }
.bugform .btn { justify-self: start; }
.bugenv summary { cursor: pointer; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bugenv table { margin-top: 6px; font-size: 13px; } .bugenv td { padding: 2px 10px 2px 0; vertical-align: top; word-break: break-word; } .bugenv td:first-child { font-size: 13px; }
@media (max-width: 860px) { .bugform { grid-template-columns: 1fr; } .bugrow, .bugrow.two { grid-template-columns: 1fr; } }

/* 0.20.20 mature content / photosensitivity notice (home, download, footer) */
.mature { display: flex; flex-direction: column; gap: 4px; max-width: 760px; margin: 18px 0; padding: 12px 16px; border: 1px solid #b8452c; border-left-width: 5px; background: rgba(40, 10, 6, .55); color: #e8d8c0; font-size: 15px; line-height: 1.45; }
.mature b:first-child { color: #ff7a4a; letter-spacing: 3px; font-family: 'Share Tech Mono', ui-monospace, monospace; }
footer .fmature { color: #d86a4a; letter-spacing: 1px; }
.wrap.narrow { max-width: 860px; }
.mature a { color: #ffb547; }
footer a.fmature { color: #d86a4a; }
/* 0.20.26 privacy + terms pages */
.legal h2 { margin-top: 34px; } .legal h3 { margin: 20px 0 6px; color: var(--amber); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; line-height: 1.55; } .legal p { line-height: 1.6; }
/* 0.20.28 sign-up: agree to the terms + privacy policy */
.auth label.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; margin: 4px 0 10px; text-transform: none; letter-spacing: .02em; cursor: pointer; }
.auth label.agree input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--green, #5cff7a); }

/* 0.20.30 find a player */
.pfind { margin: 0 0 18px; } .pfind form { display: flex; gap: 10px; flex-wrap: wrap; } .pfind input { flex: 1; min-width: 200px; } .pfind #p-res { margin-top: 12px; }
.sitem .skimg { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto 8px; background: radial-gradient(ellipse at 50% 60%, rgba(120,160,140,.14), transparent 70%); }

/* 0.20.34 server status page */
.stbanner{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;margin:18px 0;border:1px solid var(--line,#2a3a30);background:rgba(10,20,14,.7);font-size:22px}
.stbanner .dot{width:14px;height:14px;border-radius:50%;background:#888;box-shadow:0 0 12px currentColor}
.stbanner[data-s=up]{border-color:#2f7a45}.stbanner[data-s=up] .dot{background:#7dff9b;color:#7dff9b}
.stbanner[data-s=degraded],.stbanner[data-s=maintenance]{border-color:#8a6a20}.stbanner[data-s=degraded] .dot,.stbanner[data-s=maintenance] .dot{background:#ffb547;color:#ffb547}
.stbanner[data-s=down]{border-color:#8a2a20}.stbanner[data-s=down] .dot{background:#ff5a4a;color:#ff5a4a}
.stgame{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:18px}
.stgame .k{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.7}.stgame b{font-size:26px}.stgame b.ok{color:#7dff9b}.stgame b.bad{color:#ff5a4a}
.stlist{display:flex;flex-direction:column;gap:12px}
.strow{display:grid;grid-template-columns:minmax(170px,270px) 1fr 110px;gap:14px;align-items:center}
.stn{display:grid;grid-template-columns:10px 1fr;column-gap:8px;align-items:center}.stn .hint{grid-column:2;font-size:12px}
.sdot{width:10px;height:10px;border-radius:50%;background:#666}.sdot.s1{background:#7dff9b}.sdot.s0{background:#ff5a4a}.sdot.s2{background:#ffb547}.sdot.s3{background:#5fb0ff}
.stbars{display:flex;gap:2px;height:28px;min-width:0;overflow:hidden}.stbars i,.stkey i{flex:1;min-width:2px;border-radius:2px;background:#2a332d}
.stbars i.b1,.stkey i.b1{background:#3fcf6a}.stbars i.b0,.stkey i.b0{background:#e5483a}.stbars i.b2,.stkey i.b2{background:#e3a033}.stbars i.b3,.stkey i.b3{background:#4a90d9}
.stkey i{display:inline-block;width:10px;height:10px;vertical-align:-1px;margin:0 4px 0 10px}
.stnum{text-align:right}.stnum b{display:block;font-size:20px}.stnum .hint{font-size:12px}
.stinc{border-left:4px solid #ffb547;background:rgba(40,30,8,.6);padding:10px 14px;margin-bottom:14px}.stinc.danger{border-color:#ff5a4a;background:rgba(40,8,6,.6)}.stinc.info,.stinc.primary{border-color:#5fb0ff;background:rgba(8,20,40,.6)}.stinc p{margin:6px 0}
@media (max-width:720px){.strow{grid-template-columns:1fr}.stnum{text-align:left}}
/* 0.20.41: long headings (operator display names, LEADERBOARDS) wrap on a phone instead of being cut off */
h1 { overflow-wrap: anywhere; }
@media (max-width: 480px) { h1 { font-size: clamp(34px, 11vw, 54px) !important; } }

/* 0.20.46 scrollbars in the station's colours: a thin phosphor-green thumb on a dark track, no arrow buttons */
* { scrollbar-width: thin; scrollbar-color: #2c5238 #07100a; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #07100a; border-left: 1px solid #12261a; }
::-webkit-scrollbar-thumb { background: #2c5238; border: 2px solid #07100a; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #4a8a5c; } ::-webkit-scrollbar-thumb:active { background: #7dff9b; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; } ::-webkit-scrollbar-corner { background: #07100a; }

/* 0.20.55 evolution: /evolve page + home band */
.evhero .tag { color: var(--red); }
.evhero h1 { color: #ff6a58; text-shadow: 0 0 18px rgba(255,90,74,.5), 0 0 2px #fff; }
.evpath { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 20px; font-size: 13px; letter-spacing: .14em; }
.evpath span { border: 1px solid #5a2a24; padding: 5px 10px; color: var(--cream); background: rgba(40,8,6,.6); }
.evpath span.c { border-color: #4a8a1c; color: #9fe04a; background: rgba(40,80,10,.18); }
.evpath i { color: var(--red); font-style: normal; }
.evgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.evc { background: linear-gradient(180deg, rgba(40,8,6,.92), rgba(12,4,4,.95)); border: 1px solid #5a2420; display: flex; flex-direction: column; }
.evc.wide { flex-direction: row; flex-wrap: wrap; } .evc.wide .por { flex: 0 0 min(380px, 100%); } .evc.wide .evb { flex: 1 1 320px; }
.evc .por { display: block; background: #0b0c10; border-bottom: 1px solid #3a1a16; }
.evc .por img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.evb { padding: 16px 18px 18px; }
.evh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.evh h3 { color: #fff; margin: 0; font-size: 30px; letter-spacing: .12em; }
.evt { font-size: 11px; letter-spacing: .22em; color: #ff9a8c; }
.evs { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; align-items: center; font-size: 11px; letter-spacing: .12em; color: #c9b8b0; margin-bottom: 12px; }
.evs .bar { height: 7px; background: #2a0e0c; position: relative; display: block; }
.evs .bar b { position: absolute; inset: 0 auto 0 0; background: var(--red); }
.evs .bar b.up { background: var(--phos); } .evs .bar b.dn { background: #8a3a32; }
.eva { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed #4a1e18; display: grid; gap: 9px; }
.eva li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: start; }
.eva kbd { display: flex; align-items: center; justify-content: center; min-height: 34px; border: 1px solid #7a3a30; color: var(--amber); font-size: 13px; background: rgba(0,0,0,.3); }
.eva kbd.pas { font-size: 9px; letter-spacing: .08em; color: #ff9a8c; }
.eva b { display: block; color: #fff; letter-spacing: .1em; font-weight: 400; }
.eva span { display: block; font-size: 13px; color: #c9b8b0; line-height: 1.4; }
.evc .carry { margin: 10px 0 0; font-size: 12px; color: var(--amber); letter-spacing: .08em; }
.evtracks { width: 100%; border-collapse: collapse; }
.evtracks th, .evtracks td { border: 1px solid #4a1e18; padding: 10px 12px; vertical-align: top; }
.evtracks thead th { color: var(--red); letter-spacing: .14em; }
.evtracks tbody th { color: var(--red); letter-spacing: .14em; text-align: left; white-space: nowrap; }
.evtracks td b { display: block; color: var(--amber); font-weight: 400; letter-spacing: .12em; font-size: 15px; }
.evtracks td span { font-size: 13px; color: #c9b8b0; }
.evband { background: radial-gradient(ellipse at 50% 0%, rgba(90,14,8,.35), transparent 70%); border-top: 1px solid #3a1a16; border-bottom: 1px solid #3a1a16; }
.evband h2 { color: #ff6a58; }
.evline { width: 100%; height: auto; border: 1px solid #4a1e18; margin: 8px 0 14px; }
.evchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 12px; letter-spacing: .14em; }
.evchips span { border: 1px solid #5a2a24; padding: 4px 9px; color: var(--cream); }
.evchips span.n { border-color: var(--amber); color: var(--amber); }
.evchips b { color: var(--red); font-weight: 400; }
.steps.evsteps { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
/* 0.24.5 news: the bulletins page and the home page's latest-bulletin card */
.newsbar { padding: 26px 0 6px; }
.newslatest { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: center; border: 1px solid var(--line, #1f3a28); background: rgba(10, 22, 14, .55); padding: 18px; }
.newslatest img { display: block; width: 100%; height: auto; border: 1px solid var(--line, #1f3a28); }
.newslatest h3 { margin: 6px 0 10px; }
.newslatest p { margin: 0 0 10px; }
.bulletin { max-width: 920px; margin: 0 0 64px; }
.bulletin h2 { margin: 6px 0 14px; }
.bulletin p { margin: 0 0 14px; }
.bulletin .shot { margin: 18px 0 22px; }
.bulletin .shot img { display: block; width: 100%; height: auto; aspect-ratio: auto 16 / 9; }
.bulletin .list { margin: 0 0 16px; }
@media (max-width: 800px) { .newslatest { grid-template-columns: 1fr; } }
/* 0.24.5 NEWS joined the nav: a little tighter between the burger breakpoint and wide screens (nothing overlaps the bug icon) */
@media (min-width: 1181px) and (max-width: 1440px) { .nav .wrap { gap: 16px; } .nav .links { gap: 14px; } .nav .links a, .nav .more summary, .nav .who a.login { letter-spacing: .06em; font-size: 13px; } }
.bulletin h3 { margin: 26px 0 8px; color: var(--amber, #ffb547); letter-spacing: .08em; }
/* 0.24.8 DONATE: a hot rose button that stands out from the green/amber terminal palette, with a slow heartbeat glow */
.btn.donate { --dn: #ff4d79; background: linear-gradient(180deg, #ff6a8e, #e0244f); border-color: #ff8aa6; color: #fff; text-shadow: 0 1px 0 rgba(80,0,20,.6);
  box-shadow: 0 0 0 1px rgba(255,77,121,.35), 0 0 22px rgba(255,60,110,.55); animation: dnbeat 2.4s ease-in-out infinite; white-space: nowrap; }
.btn.donate:hover { box-shadow: 0 0 0 1px rgba(255,140,170,.6), 0 0 34px rgba(255,70,120,.85); }
.btn.donate i { font-style: normal; display: inline-block; animation: dnheart 2.4s ease-in-out infinite; }
.btn.donate.sm { font-size: 16px; padding: 4px 14px; justify-self: start; }
.btn.donate.big { font-size: 30px; padding: 14px 40px; }
.btn.donate:disabled { animation: none; filter: saturate(.4); }
.nav .btn.donate { font-size: 20px; padding: 6px 16px; flex: none; margin-right: 8px; }
.nav .btn.donate.on { outline: 2px solid #ffd0dc; outline-offset: 2px; }
@keyframes dnbeat { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,77,121,.35), 0 0 18px rgba(255,60,110,.45); } 12% { box-shadow: 0 0 0 1px rgba(255,140,170,.7), 0 0 34px rgba(255,60,110,.9); } 24% { box-shadow: 0 0 0 1px rgba(255,77,121,.4), 0 0 20px rgba(255,60,110,.5); } 36% { box-shadow: 0 0 0 1px rgba(255,140,170,.6), 0 0 30px rgba(255,60,110,.8); } }
@keyframes dnheart { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.3); } 24% { transform: scale(1); } 36% { transform: scale(1.2); } }
@media (max-width: 480px) { .nav .btn.donate { font-size: 16px; padding: 4px 10px; margin-right: 4px; } }
@media (prefers-reduced-motion: reduce) { .btn.donate, .btn.donate i { animation: none; } }
.donate-pg .d-cta { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; border-color: #5a2232; background: linear-gradient(135deg, rgba(255,60,110,.08), rgba(0,0,0,0) 60%), var(--panel); }
.donate-pg .d-go { display: grid; gap: 8px; justify-items: center; text-align: center; }
.donate-pg .d-cs { font: 34px var(--mono); color: var(--cream); letter-spacing: .06em; }
.donate-pg .d-bar { height: 10px; border: 1px solid #5a2232; background: #12070a; margin: 8px 0; } .donate-pg .d-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff4d79, #ffb547); box-shadow: 0 0 10px rgba(255,77,121,.6); }
.d-ladder { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); counter-reset: none; }
.d-ladder li { background: var(--panel); border: 1px solid var(--line); padding: 12px; display: grid; gap: 6px; justify-items: center; text-align: center; position: relative; }
.d-ladder li.own { border-color: #ff8aa6; box-shadow: inset 0 0 0 1px rgba(255,138,166,.25), 0 0 16px rgba(255,77,121,.18); }
.d-ladder li img { width: 150px; height: 175px; object-fit: contain; }
.d-ladder .d-step { display: flex; gap: 6px; align-items: baseline; } .d-ladder .d-step b { font: 30px var(--mono); color: #ff8aa6; } .d-ladder .d-step span { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.d-ladder .sn { font: 24px var(--mono); color: var(--cream); letter-spacing: .05em; }
.d-ladder .tag { display: inline-block; margin-top: 4px; font-size: 12px; letter-spacing: .1em; color: #ffd0dc; border: 1px solid #ff8aa6; padding: 1px 8px; }
@media (max-width: 640px) { .donate-pg .d-cta { grid-template-columns: 1fr; } .btn.donate.big { font-size: 24px; padding: 12px 26px; } }
.shopgrid .dhead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; padding: 14px 18px; border: 1px solid #5a2232; background: linear-gradient(135deg, rgba(255,60,110,.1), rgba(0,0,0,0) 70%), var(--panel); }
.shopgrid .dhead h3 { margin: 0; color: #ff8aa6; grid-column: 1; } .shopgrid .dhead p { margin: 0; font-size: 14px; grid-column: 1; } .shopgrid .dhead .btn { grid-column: 2; grid-row: 1 / span 2; }
.sitem.dskin { border-color: #4a1e2a; } .sitem.dskin.own { border-color: #ff8aa6; } .sitem.dskin .pips span { color: #ff8aa6; border-color: #5a2232; }
@media (max-width: 640px) { .shopgrid .dhead { grid-template-columns: 1fr; } .shopgrid .dhead .btn { grid-column: 1; grid-row: auto; justify-self: start; } }
.card.donors { margin-top: 18px; border-color: #5a2232; } .card.donors h3 { color: #ff8aa6; } .card.donors h3 i { font-style: normal; }
.dnames { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 10px; } .dnames li { font: 18px var(--mono); color: var(--cream); letter-spacing: .05em; padding: 2px 10px; border: 1px solid #3a1820; background: rgba(255,77,121,.05); }
.d-perks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; } .d-perks li { padding-left: 18px; position: relative; } .d-perks li::before { content: '\25B8'; position: absolute; left: 0; color: #ff8aa6; }
.dn-tag { display: inline-block; font: 12px var(--mono); letter-spacing: .12em; color: #ffd0dc; background: rgba(255,60,110,.18); border: 1px solid rgba(255,120,160,.55); padding: 1px 6px; white-space: nowrap; }
@media (max-width: 1500px) and (min-width: 901px) { .nav .btn.donate { font-size: 17px; padding: 5px 12px; margin-right: 6px; } .nav .btn.dl { font-size: 17px; padding: 5px 14px; } }
/* 0.25.15 SIGN UP FOR BETA (ADMIN > SITE > SIGN-UP BUTTON) */
.nav .who a.su-beta { margin-left: 14px; color: var(--amber); }
.card.su-beta { margin: 0 0 18px; border-color: rgba(255,181,71,.45); } .card.su-beta h3 { color: var(--amber); } .card.su-beta p { margin: 0 0 14px; }
a.su-closed, .btn.su-closed { opacity: .55; pointer-events: none; cursor: default; }
/* 0.25.16 the BETA SIGNUP banner (news: [beta-signup]) and the strip under the nav */
.beta-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 18px 0; padding: 18px 22px; border: 1px solid rgba(255,181,71,.6); border-left-width: 6px; background: linear-gradient(90deg, rgba(255,181,71,.16), rgba(125,255,155,.06)); }
.beta-banner b { display: block; font: 22px/1.2 var(--mono, monospace); letter-spacing: .16em; color: var(--amber); } .beta-banner span { color: var(--fg); }
.beta-banner .btn { white-space: nowrap; }
.betastrip { border-bottom: 1px solid rgba(255,181,71,.45); background: linear-gradient(90deg, rgba(255,181,71,.18), rgba(255,181,71,.04)); } .betastrip[hidden] { display: none; }
.betastrip .wrap { display: flex; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; } .betastrip b { color: var(--amber); letter-spacing: .18em; font-weight: 400; } .betastrip span { color: var(--fg); font-size: 14px; } .betastrip .btn { margin-left: auto; }

/* 0.25.18 pop-up mode (/join?popup=1): the Shardforge Studios beta form's small account window - only the sign-up and log-in
   forms, no site chrome; the server sets class="popup" on <html> so nothing flashes first */
.pop-only { display: none; }
html.popup .nav, html.popup footer, html.popup .betastrip, html.popup .skip, html.popup #cs-banner, html.popup .pop-hide { display: none !important; }
html.popup .pop-only:not([hidden]) { display: block; }
html.popup section { padding: 18px 0 26px; border-bottom: 0; }
html.popup .wrap { width: min(760px, 100% - 28px); }
html.popup .pop-brand { font: 22px/1 var(--mono); letter-spacing: .14em; color: var(--phos); text-shadow: 0 0 12px rgba(125,255,155,.4); margin-bottom: 14px; }
html.popup .pop-brand span { color: var(--dim); font-size: 14px; letter-spacing: .2em; text-shadow: none; }
html.popup .pop-head h1 { font-size: clamp(30px, 8vw, 44px); margin-bottom: .25em; }
html.popup .pop-head .lede { font-size: 15px; margin: 0 0 16px; }
html.popup .auth { gap: 14px; }
html.popup .auth .card { padding: 16px; }
.pop-ready { text-align: center; padding: 34px 20px 30px; margin-top: 8px; }
.pop-ready .pop-tick { width: 64px; height: 64px; margin: 0 auto 14px; border: 2px solid var(--phos); border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--phos); text-shadow: 0 0 12px rgba(125,255,155,.6); box-shadow: 0 0 22px rgba(125,255,155,.18); }
.pop-ready h2 { color: var(--phos); font-size: clamp(30px, 8vw, 42px); }
.pop-ready p { margin: .5em 0; }
.pop-ready .pop-close { color: var(--dim); font-size: 14px; letter-spacing: .08em; }
/* 0.25.32 (requested: "make the bug report, profile dropdown and download button all the same height"): the account menu, the bug
   button, DOWNLOAD (and DONATE) share one height and centre their text - they were 29, 38 and 34 px tall */
.nav { --navb: 36px; }
.nav .acct > button, .nav .bugbtn, .nav .btn.dl, .nav .btn.donate { height: var(--navb); box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; line-height: 1; padding-top: 0; padding-bottom: 0; }
.nav .bugbtn { width: var(--navb); }
@media (max-width: 480px) { .nav { --navb: 32px; } }
@media (max-width: 420px) { .nav { --navb: 30px; } }
/* (and below 1180 px the bug button and DOWNLOAD sat apart: the hidden DONATE link between them broke "bug + download" - they keep together now) */
@media (max-width: 1180px) { .nav .bugbtn ~ .btn.dl, .nav .bugbtn ~ .btn.donate { margin-left: 8px; } }
@media (max-width: 480px) { .nav .bugbtn ~ .btn.dl, .nav .bugbtn ~ .btn.donate { margin-left: 6px; } }
