/* ============================================================
   PocketChampion.de — German Industrial / Mechanical Blueprint
   Brutalism grid · steel grey · warning yellow #C8A400
   Display: Oswald · Body: IBM Plex Mono
   No rounded cards · no red pokeball · no purple gradients
   ============================================================ */
:root {
  --paper: #dde0e2;            /* blueprint paper */
  --paper2: #e8eaec;           /* nav / footer field */
  --panel: #f2f3f4;            /* raised panel */
  --ink: #1f2429;              /* steel ink */
  --ink2: #4b525a;             /* secondary ink */
  --steel: #5c646d;
  --steel2: #8b939c;
  --yellow: #C8A400;           /* warning yellow */
  --yellow2: #a88700;
  --line: #b6bcc3;
  --grid: rgba(31, 36, 41, 0.08);
  --font-display: 'Oswald', 'Arial Narrow', 'Arial', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
}

* { box-sizing: border-box; border-radius: 0 !important; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.wrap { width: min(1200px, 92vw); margin: auto; }

/* ---------- technical labels / panel numbers / dimensions ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow2);
}
.label::before {
  content: '';
  width: 18px;
  height: 3px;
  background: var(--yellow);
}
.dim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}
.dim::before { content: '⌀ '; color: var(--yellow2); }
.dim::after {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--steel2);
}
.pn {
  display: inline-block;
  background: var(--ink);
  color: var(--panel);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  text-transform: uppercase;
}
.pn.alt { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* ---------- hazard stripes ---------- */
.stripes {
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);
  height: 14px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.stripes.thin { height: 8px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper2);
  border-bottom: 3px solid var(--ink);
}
.navin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand img { width: 38px; height: 38px; border: 2px solid var(--ink); background: var(--panel); padding: 2px; }
.navright { display: flex; align-items: center; gap: 12px; }
.links { display: flex; align-items: center; gap: 2px; }
.links a {
  position: relative;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink2);
  padding: 10px 11px;
  border: 2px solid transparent;
}
.links a:hover { color: var(--ink); border-color: var(--ink); background: var(--panel); }
.links a.active { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.links a.active::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -8px;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 6px, var(--yellow) 6px 12px);
}
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--panel);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
}
.download:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.lang select {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: var(--panel);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 10px 8px;
  cursor: pointer;
  min-height: 44px;
}
.burger {
  display: none;
  background: var(--panel);
  border: 2px solid var(--ink);
  padding: 10px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.burger span { display: block; width: 20px; height: 3px; background: var(--ink); margin: 3px 0; }
.mobile-links {
  display: none;
  border-top: 3px solid var(--ink);
  background: var(--paper2);
}
.mobile-links.open { display: block; }
.mobile-links a {
  display: block;
  padding: 14px 4vw;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.mobile-links a.active { background: var(--yellow); color: var(--ink); }
.mobile-links .download { margin: 12px 4vw; width: 92vw; }
.mobile-links select { width: 92vw; margin: 12px 4vw; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--steel);
}
.hero::before {
  content: '+';
  position: absolute;
  top: 10px;
  left: 14px;
  color: var(--steel2);
  font-weight: 700;
  z-index: 3;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(0.55) contrast(1.1) brightness(0.62);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(221, 224, 226, 0.98) 0%, rgba(221, 224, 226, 0.9) 40%, rgba(221, 224, 226, 0.3) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 70px 0 80px; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 78px);
  line-height: 0.98;
  margin: 14px 0 16px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 .mark {
  color: var(--yellow2);
  position: relative;
  white-space: nowrap;
}
.lead {
  font-size: clamp(15px, 1.9vw, 19px);
  max-width: 700px;
  color: var(--ink2);
  font-weight: 500;
}
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }
.ctas.center { justify-content: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 44px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  padding: 14px 22px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.btn.secondary { background: var(--panel); color: var(--ink); }
.btn.secondary:hover { background: var(--yellow); color: var(--ink); }

/* ---------- SECTIONS ---------- */
section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1;
  margin: 10px 0 0;
  text-transform: uppercase;
  font-weight: 600;
}
.section-head p { color: var(--ink2); max-width: 480px; }
h2, h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; }

/* ---------- GRIDS ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- CARDS (blueprint panels) ---------- */
.card {
  background: var(--panel);
  border: 3px solid var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card::before {
  content: '+';
  position: absolute;
  top: -9px;
  left: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  background: var(--paper);
  padding: 0 4px;
  z-index: 2;
}
.card::after {
  content: '+';
  position: absolute;
  bottom: -9px;
  right: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  background: var(--paper);
  padding: 0 4px;
  z-index: 2;
}
.card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 3px solid var(--ink); }
.card .pad { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card .tag {
  display: inline-block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow2);
  margin-bottom: 8px;
}
.card h3 { font-size: 20px; line-height: 1.15; margin: 0 0 10px; }
.card p, .muted { color: var(--ink2); }

/* ---------- FEATURE BLOCKS ---------- */
.feature {
  background: var(--panel);
  border: 3px solid var(--ink);
  padding: 22px;
  position: relative;
}
.feature .pn { font-size: 30px; padding: 2px 10px; margin-bottom: 10px; }
.feature h3 { font-size: 20px; margin: 8px 0; }
.feature p { color: var(--ink2); }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border: 3px solid var(--ink); background: var(--panel); position: relative; }
.gallery img { height: 220px; width: 100%; object-fit: cover; }
.gallery figcaption {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 14px;
  border-top: 3px solid var(--ink);
  color: var(--ink2);
}

/* ---------- SEARCH LINKS ---------- */
.searches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 3px solid var(--ink); background: var(--panel); }
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.search:nth-child(3n) { border-right: 0; }
.search:nth-last-child(-n+3) { border-bottom: 0; }
.search .s { font-weight: 700; color: var(--yellow2); }
.search:hover { background: var(--ink); color: var(--panel); }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 860px; border: 3px solid var(--ink); background: var(--panel); }
.stat { padding: 16px 18px; border-right: 2px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; color: var(--yellow2); font-weight: 700; font-family: var(--font-display); }
.stat span { font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--panel);
  text-align: center;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
}
.cta::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);
  border-bottom: 2px solid var(--ink);
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1;
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.cta .lead { color: var(--steel2); margin: auto; }
.cta .btn { background: var(--yellow); border-color: var(--yellow); }
.cta .btn.secondary { background: transparent; color: var(--panel); border-color: var(--panel); }

/* ---------- DISCORD ---------- */
.discord-section { background: var(--panel); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.discord-section h2 { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 40px); line-height: 1; margin: 0 0 14px; }
.discord-section p { color: var(--ink2); font-size: 15px; max-width: 520px; }
.discord-section iframe { max-width: 100%; border: 3px solid var(--ink); }
.discord-grid { display: grid; grid-template-columns: 1fr 350px; gap: 32px; align-items: center; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px 0 0;
  background: var(--paper2);
  border-top: 3px solid var(--ink);
  color: var(--ink2);
}
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 24px; padding-bottom: 32px; }
.footer h3 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--ink); margin-top: 0; }
.footer a { display: block; margin: 8px 0; font-weight: 500; font-size: 13px; }
.footer a:hover { color: var(--yellow2); }
.copy { border-top: 3px solid var(--ink); padding: 16px 0; font-size: 12px; }

/* ---------- GUIDES / ARTICLE DETAIL LAYOUT ---------- */
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 22px; }
.layout.index { grid-template-columns: 280px 1fr; }
.page-main { padding: 56px 0; }
.side, .prose, .guide { background: var(--panel); border: 3px solid var(--ink); padding: 22px; }
.side { position: sticky; top: 90px; height: max-content; }
.side .pn { margin-bottom: 12px; }
.side a {
  display: block;
  color: var(--ink2);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 11px 0;
  border-bottom: 2px solid var(--ink);
}
.side a:hover { color: var(--yellow2); }
.guide { margin-bottom: 16px; }
.guide h2 { font-size: 24px; margin: 8px 0 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.step { background: var(--paper); border: 2px solid var(--ink); padding: 16px; font-size: 13px; }
.step b { color: var(--yellow2); font-size: 18px; font-weight: 700; font-family: var(--font-display); }

/* ---------- ARTICLE PROSE ---------- */
.prose { padding: 30px; line-height: 1.75; }
.prose h2 { font-size: 24px; margin: 26px 0 10px; }
.prose h2:first-of-type { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip {
  border: 2px solid var(--ink);
  padding: 6px 12px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow2);
  background: var(--paper);
}
.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 4px 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 2px 6px 2px 0;
}
.prose code {
  font-weight: 600;
  background: var(--ink);
  color: var(--panel);
  border: 2px solid var(--ink);
  padding: 3px 10px;
  letter-spacing: 0.06em;
  font-size: 14px;
}

/* ---------- CODES PAGE ---------- */
.codes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.code {
  background: var(--panel);
  border: 3px solid var(--ink);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.code.active { border-color: var(--yellow); box-shadow: 6px 6px 0 var(--yellow); }
.code.expired { opacity: 0.55; filter: grayscale(0.6); }
.status {
  display: inline-block;
  align-self: flex-start;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 2px solid var(--ink);
}
.status.aktiv { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.status.abgelaufen { background: var(--paper); color: var(--steel); border-color: var(--line); }
.code h3 { font-weight: 600; font-size: 18px; text-transform: uppercase; margin: 14px 0 6px; }
.code code {
  display: block;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  border: 2px dashed var(--ink);
  background: var(--paper);
  margin: 8px 0 14px;
  word-break: break-all;
}
.code.active code { border-style: solid; border-color: var(--yellow); background: #fffdf0; color: var(--ink); }
.meta { display: grid; gap: 6px; font-size: 13px; color: var(--ink2); }
.meta b { color: var(--ink); font-weight: 700; }
.rewards { margin-top: 12px; border-top: 2px solid var(--ink); padding-top: 12px; font-size: 13px; }
.rewards b { color: var(--yellow2); }
.panel { background: var(--panel); border: 3px solid var(--ink); padding: 26px; margin-top: 26px; }
.panel h2 { font-size: 24px; text-transform: uppercase; margin: 0 0 18px; }
.panel .steps { grid-template-columns: repeat(5, 1fr); }
.panel p { color: var(--ink2); }

/* ---------- ARTICLES LISTING ---------- */
.article-card {
  background: var(--panel);
  border: 3px solid var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.article-card::before {
  content: '+';
  position: absolute;
  top: -9px;
  left: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  background: var(--paper);
  padding: 0 4px;
  z-index: 2;
}
.article-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--ink); }
.article-card .pad { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article-card h2 { font-weight: 600; font-size: 20px; line-height: 1.15; margin: 12px 0; }
.meta-tags { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow2); }
.read { display: inline-block; margin-top: auto; padding-top: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--ink); }
.read::after { content: ' →'; color: var(--yellow2); }
.read:hover { color: var(--yellow2); }
.note { background: var(--panel); border: 3px solid var(--ink); padding: 20px 22px; margin-top: 26px; }
.note b { color: var(--yellow2); }

/* ---------- POKEMON PAGE ---------- */
.controls {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 18px;
  background: var(--panel);
  border: 3px solid var(--ink);
}
.controls input, .controls select {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 12px 14px;
  min-height: 48px;
}
.controls input { flex: 1; min-width: 220px; }
.controls select { min-width: 170px; }
.pk-status { font-size: 12px; color: var(--steel); margin-bottom: 14px; letter-spacing: 0.06em; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.pk-card {
  background: var(--panel);
  border: 3px solid var(--ink);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pk-card:hover { background: var(--yellow); }
.pk-card .pk-num {
  position: absolute;
  top: 8px;
  left: 10px;
  font-weight: 700;
  font-size: 11px;
  color: var(--steel);
}
.pk-card img { width: 96px; height: 96px; object-fit: contain; margin: 8px auto 0; image-rendering: pixelated; }
.pk-card h3 { font-size: 14px; margin: 0; text-transform: uppercase; font-weight: 600; }
.pk-types { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pk-types span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}
/* flat type colours (no gradients) */
.t-normal { background: #8a8d91 !important; color: #fff !important; }
.t-fire { background: #d84a24 !important; color: #fff !important; }
.t-water { background: #3f6fd8 !important; color: #fff !important; }
.t-electric { background: #c8a400 !important; color: #fff !important; }
.t-grass { background: #4a9e4f !important; color: #fff !important; }
.t-ice { background: #7fd4e0 !important; color: #1f2429 !important; }
.t-fighting { background: #b04a34 !important; color: #fff !important; }
.t-poison { background: #9a4fae !important; color: #fff !important; }
.t-ground { background: #c9a05c !important; color: #1f2429 !important; }
.t-flying { background: #8fa6c9 !important; color: #fff !important; }
.t-psychic { background: #e05a8f !important; color: #fff !important; }
.t-bug { background: #8fa03c !important; color: #fff !important; }
.t-rock { background: #a8946b !important; color: #fff !important; }
.t-ghost { background: #5f5a99 !important; color: #fff !important; }
.t-dragon { background: #6b57c9 !important; color: #fff !important; }
.t-dark { background: #4f4a48 !important; color: #fff !important; }
.t-steel { background: #7d8c99 !important; color: #fff !important; }
.t-fairy { background: #e28ab4 !important; color: #fff !important; }

/* detail modal */
.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 36, 41, 0.72);
  z-index: 210;
  display: none;
}
.detail-overlay.open { display: block; }
.detail-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 220;
  width: min(560px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel);
  border: 3px solid var(--ink);
  padding: 28px;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.detail-panel.open { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--panel);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
  text-transform: uppercase;
}
.detail-close:hover { background: var(--yellow); color: var(--ink); }
.detail-panel img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 16px; image-rendering: pixelated; }
.detail-panel h2 { font-size: 26px; margin: 0 0 8px; }
.detail-panel h3 { font-size: 15px; margin: 20px 0 8px; letter-spacing: 0.06em; }
.detail-panel .pk-id { color: var(--steel); font-weight: 700; margin-bottom: 14px; }
.detail-panel .stat { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-panel .stat b { color: var(--yellow2); font-weight: 700; }
.detail-panel .flavor { color: var(--ink2); font-size: 13px; margin-top: 8px; line-height: 1.7; }
.ab-list { margin: 0; padding-left: 20px; }
.ab-list li { margin-bottom: 4px; font-size: 13px; }

/* ---------- MOBILE DOWNLOAD BAR ---------- */
.mobile-dl {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--ink);
  border-top: 3px solid var(--yellow);
  padding: 12px 4vw;
}
.mobile-dl a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 44px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  width: 100%;
}
.mobile-dl a:hover { background: var(--panel); }

/* ---------- UTILITY ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid3, .grid4, .gallery, .searches, .codes-grid, .grid { grid-template-columns: repeat(2, 1fr); }
  .search:nth-child(3n) { border-right: 1px solid var(--line); }
  .search:nth-child(2n) { border-right: 0; }
  .search:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .search:last-child, .search:nth-last-child(2) { border-bottom: 0; }
  .panel .steps { grid-template-columns: repeat(3, 1fr); }
  .discord-grid { grid-template-columns: 1fr; }
  .discord-grid iframe { width: 100% !important; }
}

@media (max-width: 860px) {
  .links, .navright .lang { display: none; }
  .burger { display: block; }
  .grid3, .grid4, .gallery, .searches, .codes-grid, .grid, .footgrid, .layout, .layout.index, .steps, .panel .steps, .grid2 { grid-template-columns: 1fr; }
  .side { position: static; }
  .section-head { display: block; }
  .hero .wrap { padding: 56px 0 64px; }
  .btn, .download { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .search, .search:nth-child(3n), .search:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .search:last-child { border-bottom: 0; }
  h1 .mark { white-space: normal; }
}

@media (max-width: 768px) {
  .mobile-dl { display: block; }
  body { padding-bottom: 78px; }
  .pk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid3, .grid4, .gallery, .searches, .codes-grid, .grid, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 2px solid var(--ink); }
  .stat:last-child { border-bottom: 0; }
  h1 { font-size: clamp(30px, 10vw, 46px); }
  .pk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pk-card { padding: 12px; }
  .pk-card img { width: 72px; height: 72px; }
}
