/* GH0ULZ — "SystemSpace"-style theme: pure black, white 1px lines, pixel type,
   red headings, yellow/lime links that invert on hover, CRT static + moving dots. */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #9a9a9a;
  --red: #ff1a1a;
  --red-dark: #7a0000;
  --yellow: #ff0;
  --lime: #00ff37;
  --line: #fff;
  --dim: #333;
  --head: "DotGothic16", "VT323", monospace;
  --mono: "VT323", monospace;
  --body: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #000; scroll-padding-top: 64px; }
body {
  background: transparent;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: #fff; color: #000; }
a { color: inherit; text-decoration: none; }

/* white block scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #fff; }

/* ---------- BACKGROUND LAYERS ---------- */
#bg-dots {
  position: fixed; left: -32px; top: -32px; width: calc(100% + 64px); height: calc(100% + 64px);
  z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px);
  background-size: 16px 16px;
  animation: dots 4s linear infinite;
}
@keyframes dots { to { transform: translate(16px, 16px); } }

#drips { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55; image-rendering: pixelated; }

/* CRT: scanlines with stepped static + vignette */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
  animation: static .8s steps(4) infinite;
  box-shadow: inset 0 0 10em rgba(0,0,0,.6);
}
@keyframes static { to { background-position: 0 4px; } }
.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 999; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .6s steps(3) infinite;
}
@keyframes grain { 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } }

/* ---------- TICKER BAR ---------- */
.headerbar {
  position: fixed; top: 0; left: 0; width: 100%; height: 20px; z-index: 60;
  background: #000; box-shadow: 0 1px #fff, 0 2px #000; overflow: hidden;
}
.news-track {
  display: flex; align-items: center; height: 20px; width: max-content; white-space: nowrap;
  animation: ticker 50s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }
.news-track span, .news-track a {
  font-family: var(--mono); font-size: 18px; line-height: 20px; color: #fff; margin: 0 8px;
}
.news-track a { color: var(--lime); }
.news-track a:hover { background: var(--lime); color: #000; }
.news-track .sep { color: var(--red); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 22px; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .35rem 5vw; height: 40px;
  background: #000; box-shadow: 0 1px #fff;
}
.logo { font-family: var(--head); font-size: 1.4rem; color: #fff; letter-spacing: 1px; }
.logo span { color: var(--red); }
.nav-links { display: flex; gap: .25rem; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 1.25rem; color: var(--yellow); padding: 0 .45rem; text-transform: lowercase;
}
.nav-links a::before { content: "["; color: #fff; }
.nav-links a::after { content: "]"; color: #fff; }
.nav-links a:hover { background: var(--yellow); color: #000; }
.nav-links a:hover::before, .nav-links a:hover::after { color: #000; }
.nav-toggle { display: none; background: none; border: 1px solid #fff; color: #fff; font-size: 1.1rem; width: 30px; height: 26px; cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  position: relative; z-index: 1; min-height: 92vh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 8rem 10vw 6rem;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.4) 40%, rgba(0,0,0,.8) 70%, #000);
}
.kanji-bg {
  position: absolute; right: 4vw; top: 50%; transform: translateY(-50%);
  font-family: var(--head); font-size: clamp(10rem, 34vw, 30rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,26,26,.35); user-select: none;
}
.eye {
  position: relative; width: 150px; height: 70px; margin-bottom: 1.5rem;
  background: #000; border-radius: 50% / 50%; outline: 1px solid #fff; outline-offset: 4px;
  overflow: hidden; animation: blink 6s infinite;
}
.iris {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff6a6a 0%, var(--red) 40%, var(--red-dark) 75%, #200 100%);
  transition: transform .08s linear;
}
.pupil { position: absolute; inset: 18px; border-radius: 50%; background: #000; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.05); } }

.glitch {
  position: relative; font-family: var(--head); font-weight: 400;
  font-size: clamp(4rem, 14vw, 10rem); line-height: 1; letter-spacing: .02em;
  text-shadow: 3px 6px #000, 0 -1px #000, 0 1px #000, -1px 0 #000, 1px 0 #000;
}
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; text-shadow: none; }
.glitch::before { color: var(--red); transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); animation: g1 2.5s infinite steps(2); mix-blend-mode: screen; }
.glitch::after { color: var(--lime); transform: translate(3px, 0); clip-path: inset(55% 0 0 0); animation: g2 3s infinite steps(2); mix-blend-mode: screen; opacity: .6; }
@keyframes g1 { 0%, 90% { clip-path: inset(0 0 60% 0); } 92% { clip-path: inset(20% 0 40% 0); transform: translate(-8px, 2px); } 96% { clip-path: inset(70% 0 5% 0); transform: translate(6px, -2px); } }
@keyframes g2 { 0%, 85% { clip-path: inset(55% 0 0 0); } 88% { clip-path: inset(10% 0 70% 0); transform: translate(8px, 0); } 94% { clip-path: inset(40% 0 30% 0); transform: translate(-6px, 1px); } }

.tagline {
  margin: 1.2rem 0 2rem; font-family: var(--head); font-size: clamp(1.1rem, 2.4vw, 1.8rem); line-height: 1.3;
  text-shadow: 3px 6px #000;
}
.btn {
  display: inline-block; padding: .3rem 1rem; color: #000; background: var(--yellow);
  font-family: var(--mono); font-size: 1.3rem; border: 0; cursor: pointer;
  box-shadow: 4px 4px 0 #fff; transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #fff; }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.scroll-hint { position: absolute; bottom: 2rem; left: 10vw; z-index: 2; font-family: var(--mono); font-size: 1.1rem; color: var(--muted); animation: bob 1s steps(2) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- SECTIONS ---------- */
main { position: relative; z-index: 1; }
.section {
  position: relative; max-width: 1200px; margin: 4rem auto 0; padding: 4rem 6vw 4rem;
  background: #000;
  clip-path: polygon(0 24px, 24px 24px, 24px 0, calc(100% - 24px) 0, calc(100% - 24px) 24px, 100% 24px,
                     100% calc(100% - 24px), calc(100% - 24px) calc(100% - 24px), calc(100% - 24px) 100%,
                     24px 100%, 24px calc(100% - 24px), 0 calc(100% - 24px));
}
.section-title {
  font-family: var(--head); font-weight: 400; color: var(--red);
  font-size: clamp(2rem, 5vw, 3em); line-height: 1.1; margin-bottom: 2rem;
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
}
.section-title::after {
  content: ""; flex-basis: 100%; height: 8px; margin-top: .4rem;
  background: repeating-linear-gradient(90deg, #fff 0 8px, transparent 8px 12px);
  opacity: .9;
}
.section-title .jp { font-family: var(--head); color: #fff; font-size: .5em; border: 1px solid #fff; padding: 0 .35em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s steps(5), transform .5s steps(5); }
.reveal.visible { opacity: 1; transform: none; }

/* boxes: hard white outline, offset shadow on hover */
.fact, .card, .kagune, .faction, .quiz, .stat {
  background: #000; border: 1px solid #fff;
  transition: transform .1s, box-shadow .1s, border-color .1s;
}
.fact:hover, .card:hover, .kagune:hover, .faction:hover {
  transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--yellow); border-color: var(--yellow);
}

/* ---------- WORLD ---------- */
.world-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.1rem; }
.lead strong { color: #000; background: var(--red); padding: 0 .25em; font-weight: 400; }
.stats { display: grid; gap: .8rem; }
.stat { padding: .3rem 1rem; display: flex; align-items: baseline; gap: 1rem; }
.stat .num { font-family: var(--mono); font-size: 2.8rem; color: var(--lime); line-height: 1; min-width: 3.2ch; }
.stat .label { font-family: var(--mono); color: #fff; font-size: 1.2rem; text-transform: lowercase; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 3rem; }
.fact { padding: 1.2rem 1.4rem; }
.fact h3 { font-family: var(--mono); font-weight: 400; color: var(--yellow); font-size: 1.5rem; margin-bottom: .3rem; }
.fact h3::before { content: "> "; color: #fff; }
.fact p { color: #ccc; font-size: .92rem; }

/* ---------- CHARACTERS ---------- */
.filter { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.chip {
  background: none; border: 1px solid #fff; color: #fff; padding: .05rem .8rem; cursor: pointer;
  font-family: var(--mono); font-size: 1.25rem; text-transform: lowercase;
}
.chip:hover { background: #fff; color: #000; }
.chip.active { background: var(--yellow); color: #000; border-color: var(--yellow); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.card { position: relative; padding: 1.3rem; }
.card.hidden { display: none; }
.card .sigil {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: .9rem;
  font-family: var(--head); font-size: 2rem; color: #000; background: var(--red);
}
.card.ccg .sigil { background: #fff; }
.card h3 { font-family: var(--head); font-weight: 400; font-size: 1.35rem; }
.card .alias { font-family: var(--mono); color: var(--red); font-size: 1.2rem; margin-bottom: .6rem; }
.card .alias::before { content: "// "; color: var(--muted); }
.card.ccg .alias { color: var(--lime); }
.card p { color: #ccc; font-size: .88rem; }
.card .meta { margin-top: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.card .meta span { font-family: var(--mono); font-size: 1rem; border: 1px dashed #fff; padding: 0 .5rem; }

/* ---------- KAGUNE ---------- */
.kagune-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.kagune { padding: 1.4rem; }
.k-icon svg { width: 64px; height: 64px; fill: var(--red); stroke: var(--red); transition: transform .2s steps(3); }
.kagune:hover .k-icon svg { transform: scale(1.15) rotate(-6deg); }
.kagune h3 { font-family: var(--head); font-weight: 400; margin-top: .8rem; font-size: 1.5rem; }
.kagune h3 span { color: var(--red); font-size: .9rem; margin-left: .3rem; }
.where { font-family: var(--mono); color: var(--lime); font-size: 1.15rem; margin-bottom: .5rem; }
.where::before { content: "loc: "; color: var(--muted); }
.kagune > p { color: #ccc; font-size: .88rem; }
.bars { margin: 1.1rem 0; display: grid; gap: .45rem; }
.bars div { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: .6rem; font-family: var(--mono); font-size: 1.05rem; color: #fff; text-transform: lowercase; }
.bars i { display: block; height: 10px; border: 1px solid #fff; position: relative; }
.bars i::after {
  content: ""; position: absolute; top: 1px; bottom: 1px; left: 1px; width: 0;
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 8px);
  transition: width 1.2s steps(12);
}
.visible .bars i::after { width: calc(var(--v) - 2px); }
.beats { font-family: var(--mono); font-size: 1.05rem !important; color: var(--muted) !important; }
.beats b { color: var(--yellow); font-weight: 400; }

/* ---------- FACTIONS ---------- */
.factions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.faction { padding: 1.6rem; min-height: 220px; display: flex; flex-direction: column; }
.faction h3 { font-family: var(--head); font-weight: 400; font-size: 2rem; margin-bottom: .6rem; }
.faction p { color: #ccc; flex: 1; }
.faction .tag { margin-top: 1rem; font-family: var(--mono); font-size: 1.1rem; align-self: flex-start; padding: 0 .5rem; background: #fff; color: #000; }
.anteiku h3 { color: var(--yellow); }
.aogiri h3 { color: var(--red); }
.faction.ccg h3 { color: var(--lime); }

/* ---------- QUIZ ---------- */
.quiz { max-width: 720px; padding: 2rem; box-shadow: 6px 6px 0 var(--red); }
.progress { height: 12px; border: 1px solid #fff; margin-bottom: 1.6rem; padding: 1px; }
.progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 8px); transition: width .3s steps(4); }
.q { font-family: var(--head); font-size: 1.4rem; margin-bottom: 1.2rem; }
.answers { display: grid; gap: .5rem; }
.answers button {
  text-align: left; background: none; border: 1px solid #fff; color: #fff;
  padding: .6rem 1rem; font-family: var(--body); font-size: .95rem; cursor: pointer;
}
.answers button::before { content: "> "; color: var(--yellow); }
.answers button:hover { background: var(--yellow); color: #000; border-color: var(--yellow); }
.answers button:hover::before { color: #000; }
.result h3 { font-family: var(--head); font-weight: 400; font-size: 3rem; color: var(--red); margin: .4rem 0; }
.result p { color: #ccc; margin-bottom: 1.4rem; }
.result > p:first-child { font-family: var(--mono); font-size: 1.2rem !important; letter-spacing: 0 !important; text-transform: lowercase !important; }
.answers .result .btn::before { content: none; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative; z-index: 1; text-align: center; padding: 4rem 1rem 3rem; margin-top: 5rem;
  background: #000; box-shadow: 0 -1px #fff; font-family: var(--mono); font-size: 1.15rem; color: var(--muted);
}
.footer .logo { font-family: var(--head); font-size: 2.4rem; color: #fff; margin-bottom: .3rem; }
.secret { margin-top: .8rem; opacity: .5; }
kbd { border: 1px solid #fff; padding: 0 .4rem; font-family: inherit; color: var(--yellow); }

/* ---------- 1000-7 EASTER EGG ---------- */
.countdown {
  position: fixed; inset: 0; z-index: 2000; display: none; place-items: center;
  background: #000; font-family: var(--head); color: var(--red);
  font-size: clamp(4rem, 18vw, 14rem);
}
.countdown.on { display: grid; animation: shake .1s infinite; }
@keyframes shake { 50% { transform: translate(2px, -2px); } }
body.flash { animation: flash .3s steps(2); }
@keyframes flash { 0% { filter: invert(1); } 100% { filter: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #000; max-height: 0; overflow: hidden; transition: max-height .2s steps(4);
  }
  .nav-links.open { max-height: 400px; box-shadow: 0 1px #fff; }
  .nav-links a { display: block; padding: .5rem 5vw; border-top: 1px solid var(--dim); }
  .hero { padding: 7rem 6vw 5rem; }
  .kanji-bg { right: -10vw; opacity: .6; }
  .world-grid { grid-template-columns: 1fr; }
  .section { clip-path: none; }
  .quiz { padding: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   PLAY / ACCOUNT PAGES
   ===================================================================== */
.app .nav { top: 0; }
.nav-links.static { display: flex; }
.app-main {
  position: relative; z-index: 1; min-height: 100vh;
  padding: 96px 5vw 4rem; display: flex; flex-direction: column; align-items: center;
}
.boot { font-family: var(--mono); font-size: 1.5rem; color: var(--lime); margin-top: 20vh; }
.cursor { animation: blinkc 1s steps(2) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }

.panel {
  width: 100%; max-width: 480px; background: #000; border: 1px solid #fff;
  padding: 1.8rem; box-shadow: 6px 6px 0 var(--red);
}
.panel.wide { max-width: 860px; }
.panel[hidden], .form[hidden], [hidden] { display: none !important; }
.panel-title {
  font-family: var(--head); font-weight: 400; color: var(--red);
  font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; margin-bottom: 1.2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
}
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }

.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .25rem; font-family: var(--mono); font-size: 1.2rem; }
.form label small { color: var(--muted); font-size: .9em; }
.form input[type=email], .form input[type=password], .form input[type=text] {
  width: 100%; background: #000; color: #fff; border: 1px solid #fff; border-radius: 0;
  padding: .55rem .7rem; font-family: var(--body); font-size: 1rem; outline: none;
}
.form input:focus { border-color: var(--yellow); box-shadow: 3px 3px 0 var(--yellow); }
.form .btn { align-self: flex-start; }
.btn:disabled { opacity: .5; pointer-events: none; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.msg { margin-top: 1rem; font-family: var(--mono); font-size: 1.2rem; min-height: 1.4em; }
.msg.err { color: var(--red); }
.msg.err::before { content: "! "; }
.msg.ok { color: var(--lime); }
.hint { color: #ccc; margin-bottom: 1rem; }
.hint b, .who { color: #fff; }
.warn { color: var(--red) !important; }
.badge { font-family: var(--mono); font-size: 1.1rem; padding: 0 .5rem; background: #fff; color: #000; }
.badge.ghoul { background: var(--red); }
.badge.ccg { background: var(--lime); }

/* side pick */
.factions-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pick {
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; text-align: left;
  background: #000; color: #fff; border: 1px solid #fff; padding: 1.4rem; cursor: pointer; font: inherit;
  transition: transform .1s, box-shadow .1s;
}
.pick:hover { transform: translate(-4px, -4px); }
.pick.ghoul:hover { box-shadow: 4px 4px 0 var(--red); border-color: var(--red); }
.pick.ccg:hover { box-shadow: 4px 4px 0 var(--lime); border-color: var(--lime); }
.pick-kanji { font-family: var(--head); font-size: 3rem; line-height: 1; }
.pick.ghoul .pick-kanji, .pick.ghoul .pick-name { color: var(--red); }
.pick.ccg .pick-kanji, .pick.ccg .pick-name { color: var(--lime); }
.pick-name { font-family: var(--head); font-size: 1.8rem; }
.pick-desc { color: #ccc; font-size: .9rem; }
.pick-stats { font-family: var(--mono); font-size: 1.1rem; color: var(--yellow); margin-top: .4rem; }

/* identity */
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.lastname .lbl { display: block; font-family: var(--mono); font-size: 1.2rem; margin-bottom: .25rem; }
.lastname .lbl small { color: var(--muted); }
.roll { display: flex; align-items: center; gap: .6rem; border: 1px dashed #fff; padding: .3rem .3rem .3rem .7rem; }
.roll b { flex: 1; font-family: var(--head); font-weight: 400; font-size: 1.2rem; color: var(--yellow); }
.preview { font-family: var(--head); font-size: 1.6rem; }
.preview span { color: var(--red); }
.kagune-pick { border: 1px solid #fff; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.kagune-pick legend { font-family: var(--mono); font-size: 1.2rem; padding: 0 .4rem; }
.kopt { cursor: pointer; }
.kopt input { position: absolute; opacity: 0; pointer-events: none; }
.kopt span { display: flex; flex-direction: column; border: 1px solid var(--dim); padding: .6rem .8rem; height: 100%; }
.kopt b { font-family: var(--head); font-weight: 400; font-size: 1.15rem; }
.kopt em { font-style: normal; font-family: var(--mono); color: var(--lime); font-size: 1.05rem; }
.kopt small { color: var(--muted); font-size: .8rem; }
.kopt:hover span { border-color: #fff; }
.kopt input:checked + span { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.kopt input:checked + span b { color: var(--red); }
.kopt input:focus-visible + span { outline: 1px dashed var(--yellow); outline-offset: 2px; }

/* hub */
.hub-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.hub-box { border: 1px solid #fff; padding: 1.2rem; }
.hub-box .progress { margin: .5rem 0; }
.lv { font-family: var(--mono); font-size: 1.4rem; }
.lv b { font-family: var(--head); font-weight: 400; font-size: 2.2rem; color: var(--red); }
.lv small { color: var(--muted); font-size: 1rem; }
.sub { font-family: var(--mono); font-size: 1.15rem; color: var(--muted); }
.gp { font-family: var(--mono); font-size: 1.4rem; margin-top: .5rem; }
.gp b { font-weight: 400; color: var(--yellow); font-size: 1.8rem; }
#view-hub .bars { margin: 0; }
#view-hub .bars div { grid-template-columns: 120px 1fr; }
.bars .plus { color: var(--lime); }
.gear { margin-top: 1rem; }
.gear-title { font-family: var(--head); font-weight: 400; font-size: 1.4rem; margin-bottom: .6rem; }
.gear-title span { color: var(--yellow); }
.gear .btn { margin: .8rem 0 .4rem; }
.armory { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem; }
.weapon { border: 1px solid var(--dim); padding: .8rem; display: flex; flex-direction: column; gap: .3rem; }
.weapon.equipped { border-color: var(--lime); box-shadow: 3px 3px 0 var(--lime); }
.weapon.locked { opacity: .5; }
.weapon h3 { font-family: var(--head); font-weight: 400; font-size: 1.1rem; }
.weapon p { color: #aaa; font-size: .8rem; }
.weapon .wstats { font-family: var(--mono); font-size: 1.05rem; color: var(--lime); }
.weapon .wprice { font-family: var(--mono); font-size: 1.1rem; color: var(--yellow); }
.weapon .chip { align-self: flex-start; margin-top: .3rem; }
.weapon .chip:disabled { opacity: .5; pointer-events: none; }

@media (max-width: 760px) {
  .nav-links.static { position: static; flex-direction: row; max-height: none; background: none; }
  .nav-links.static a { padding: 0 .3rem; border: 0; }
  .factions-pick, .name-row, .kagune-pick, .hub-grid { grid-template-columns: 1fr; }
  .panel { padding: 1.2rem; }
}
.link { color: var(--yellow); } .link:hover { background: var(--yellow); color: #000; }
/* stop browser autofill turning inputs light blue */
.form input:-webkit-autofill, .form input:-webkit-autofill:hover, .form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff; caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #000 inset; transition: background-color 9999s;
}
