:root {
  --ink: #120b0a;
  --ink-soft: #1c100e;
  --panel: #24110e;
  --orange: #e04a1d;
  --amber: #ffb33a;
  --cream: #fff0cc;
  --muted: #c9af91;
  --green: #7fd54a;
  --line: rgba(255, 179, 58, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 12px 16px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.hero {
  min-height: 900px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #110a09;
  background-image: url("kpahmod-hero-bg.png");
  background-image: image-set(url("kpahmod-hero-bg.webp") type("image/webp"), url("kpahmod-hero-bg.png") type("image/png"));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 7, 7, .96) 0%, rgba(13, 7, 7, .82) 35%, rgba(13, 7, 7, .2) 64%, rgba(13, 7, 7, .12)),
    linear-gradient(0deg, #110908 0%, transparent 30%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.nav {
  height: 106px;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.nav::after { content:""; position:absolute; bottom:-3px; left:0; right:0; height:1px; background:rgba(224,74,29,.25); }
.brand { display:flex; align-items:center; gap:14px; }
.brand-mark {
  width: 50px; height: 50px; display:grid; place-items:center;
  color: var(--cream); font: 900 28px/1 Georgia, serif;
  background: linear-gradient(135deg, #ff8a24, #9e2517);
  clip-path: polygon(50% 0, 94% 24%, 82% 78%, 50% 100%, 18% 78%, 6% 24%);
  filter: drop-shadow(0 0 14px rgba(224,74,29,.45));
}
.brand strong { display:block; letter-spacing:.08em; font: 900 25px/1 "Courier New", monospace; text-shadow: 2px 2px #7a2018; }
.brand small { display:block; margin-top:6px; color:var(--amber); font-size:10px; letter-spacing:.34em; }
.nav-links { display:flex; align-items:stretch; align-self:stretch; gap:34px; }
.nav-links a { position:relative; display:flex; align-items:center; color:#e8d8c4; font-weight:600; }
.nav-links a::after { content:""; position:absolute; left:50%; right:50%; bottom:0; height:3px; background:var(--orange); box-shadow:0 0 10px var(--orange); transition:left .2s ease, right .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { left:0; right:0; }
.nav-links a.active { color:var(--amber); }
.nav-toggle, .nav-button { display:none; }

.hero-content { position:relative; z-index:2; display:flex; align-items:center; flex:1; padding:64px 0 170px; }
.hero-copy { width:min(650px, 54%); }
.eyebrow {
  display:inline-flex; align-items:center; gap:12px; padding:13px 18px;
  border:1px solid var(--orange); background:rgba(28,13,11,.76);
  color:var(--amber); font-weight:800; letter-spacing:.03em;
  box-shadow:inset 0 0 20px rgba(224,74,29,.08);
}
.eyebrow span { color:var(--orange); } .eyebrow b { color:#805034; }
h1, h2, h3 { margin:0; }
h1 {
  margin-top:30px; font:900 clamp(54px, 5.4vw, 80px)/1.08 "Courier New", monospace;
  letter-spacing:0; text-wrap:balance;
  text-shadow:3px 4px 0 #632015, 0 0 26px rgba(255,179,58,.14);
}
h1 em, h2 em { color:var(--amber); font-style:normal; }
.pixel-divider { display:flex; align-items:center; gap:12px; width:300px; margin:26px 0; color:var(--orange); }
.pixel-divider i { height:1px; flex:1; background:linear-gradient(90deg, var(--orange), transparent); }
.pixel-divider i:last-child { transform:scaleX(-1); }
.hero-copy > p { max-width:610px; margin:0; color:#ead8c3; font-size:20px; line-height:1.7; }
.hero-actions { display:flex; flex-wrap:wrap; gap:20px; margin-top:32px; }
.button {
  min-height:56px; display:inline-flex; align-items:center; justify-content:center; gap:12px;
  padding:0 26px; border:1px solid var(--amber); color:var(--cream);
  font-weight:900; letter-spacing:.02em; transition:transform .2s ease, filter .2s ease, border-color .2s ease;
  clip-path:polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.button:hover { transform:translateY(-2px); filter:brightness(1.12); }
.button-primary { background:linear-gradient(135deg, #c93117, #8e1f13); box-shadow:0 0 22px rgba(224,74,29,.3), inset 0 0 0 3px rgba(18,11,10,.4); }
.button-ghost { background:rgba(13,7,7,.72); }
.button-danger {
  border-color: #ff6b55;
  background: linear-gradient(135deg, #8f1f16, #54120e);
  color: #fff2e7;
}
.stats {
  position:absolute; z-index:3; left:50%; bottom:26px; transform:translateX(-50%);
  display:grid; grid-template-columns:repeat(4, 1fr); gap:16px;
}
.stats article {
  min-height:122px; display:flex; align-items:center; gap:16px; padding:22px;
  background:rgba(22,10,9,.9); border:1px solid rgba(255,179,58,.22);
  box-shadow:inset 0 0 0 3px rgba(86,35,22,.28);
}
.stat-icon { width:60px; height:60px; display:grid; place-items:center; flex:0 0 auto; border:1px solid #835322; color:var(--amber); font-size:25px; }
.stat-icon.online { color:var(--green); font-size:15px; }
.stat-icon.red { color:#f24b32; }.stat-icon.gold { color:#ffc655; }
.stats strong { display:block; color:var(--amber); font:900 27px/1 "Courier New", monospace; }
.stats article:first-child strong { color:var(--green); }
.stats strong i { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--green); animation:pulse 1.8s infinite; }
.stats small { display:block; margin-top:8px; color:#d5bea1; line-height:1.35; }

.ad-section {
  padding: 28px 0;
  background: #100907;
  border-block: 1px solid rgba(255, 179, 58, .12);
}
.ad-card {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: #9b8068;
  background:
    linear-gradient(135deg, rgba(255,179,58,.055), rgba(224,74,29,.025)),
    rgba(18, 11, 10, .86);
  border: 1px dashed rgba(255, 179, 58, .28);
  box-shadow: inset 0 0 0 3px rgba(86, 35, 22, .16);
}
.ad-card span {
  color: var(--amber);
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ad-card p { max-width: 760px; margin: 0; line-height: 1.55; }

.section { padding:120px 0; }
.section[id] { scroll-margin-top: 30px; }
.intro { background:radial-gradient(circle at 50% 0, rgba(124,38,19,.18), transparent 44%), #130c0a; }
.intro,
.mod-section,
.file-hub-section,
.content-section,
.journey,
.faq-section,
.community {
  content-visibility:auto;
  contain-intrinsic-size:1px 760px;
}
.section-heading { max-width:760px; }
.kicker { display:inline-block; color:var(--orange); font:900 13px/1 "Courier New", monospace; letter-spacing:.22em; }
.section-heading h2, .mod-copy h2, .community h2 {
  margin-top:18px; font:900 clamp(38px, 4vw, 58px)/1.14 "Courier New", monospace; letter-spacing:0;
}
.section-heading > p { color:var(--muted); font-size:18px; line-height:1.75; }
.feature-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; margin-top:60px; }
.feature-card {
  position:relative; min-height:340px; padding:34px; overflow:hidden;
  background:linear-gradient(145deg, #211310, #160d0b); border:1px solid var(--line);
  transition:transform .25s ease, border-color .25s ease;
}
.feature-card::after { content:""; position:absolute; top:0; left:0; width:56px; height:3px; background:var(--orange); }
.feature-card:hover { transform:translateY(-6px); border-color:rgba(255,179,58,.5); box-shadow:0 18px 40px rgba(0,0,0,.22); }
.feature-icon { width:58px; height:58px; display:grid; place-items:center; margin-bottom:26px; border:1px solid var(--orange); color:var(--amber); font-size:26px; background:#2d1510; }
.card-tag { color:#c58f63; font:700 11px/1 monospace; letter-spacing:.15em; }
.feature-card h3 { margin-top:12px; font:900 25px/1.2 "Courier New", monospace; }
.feature-card p { color:var(--muted); line-height:1.7; }
.feature-card a { position:absolute; bottom:30px; color:var(--amber); font-weight:800; }
.feature-card a span { margin-left:8px; }

.mod-section { background:#0d0908; border-block:1px solid var(--line); }
.mod-layout { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:center; }
.mod-console { border:1px solid #7d3b24; padding:12px; background:#1b100e; box-shadow:20px 22px 0 rgba(95,34,20,.14); }
.console-top { height:42px; display:flex; align-items:center; gap:8px; padding:0 12px; border-bottom:1px solid #5a2e20; color:#c99a78; font:12px monospace; letter-spacing:.1em; }
.console-top i { width:8px; height:8px; background:#96331f; }.console-top i:nth-child(2){background:#bd682c}.console-top i:nth-child(3){background:#826a2b}
.console-top span { margin-left:auto; }
.console-screen {
  min-height:430px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:
    linear-gradient(rgba(23,9,7,.45), rgba(23,9,7,.45)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 3px 4px),
    radial-gradient(circle, #682310, #170b09 66%);
}
.console-badge { padding:7px 12px; border:1px solid #8d4928; color:#d78640; font:11px monospace; letter-spacing:.18em; }
.pixel-sword { margin:24px 0 12px; font-size:88px; filter:drop-shadow(0 0 18px #df4a1d); }
.console-screen strong { font:900 34px monospace; color:var(--amber); letter-spacing:.08em; }
.console-screen small { margin-top:12px; color:#d5945f; font:12px monospace; }
.loading { width:220px; height:9px; margin-top:30px; padding:2px; border:1px solid #71351f; }.loading i { display:block; width:82%; height:100%; background:linear-gradient(90deg,var(--orange),var(--amber)); }
.mod-copy > p { color:var(--muted); font-size:18px; line-height:1.75; }
.mod-copy ul { list-style:none; padding:0; margin:30px 0; display:grid; gap:20px; }
.mod-copy li { display:flex; gap:16px; }
.mod-copy li > span { width:28px; height:28px; display:grid; place-items:center; flex:0 0 auto; border:1px solid var(--orange); color:var(--amber); }
.mod-copy li strong, .mod-copy li small { display:block; }.mod-copy li small { margin-top:5px; color:#a98f76; line-height:1.5; }

.content-section {
  background: radial-gradient(circle at 15% 10%, rgba(255,179,58,.1), transparent 30%), #120b0a;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}
.ad-card-side {
  position: sticky;
  top: 18px;
  min-height: 300px;
}
.update-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.update-card {
  min-height: 230px;
  padding: 30px;
  background: linear-gradient(145deg, #20120f, #130b09);
  border: 1px solid rgba(255, 179, 58, .18);
}
.update-card h3 {
  margin-top: 14px;
  font: 900 24px/1.25 "Courier New", monospace;
}
.update-card p {
  color: var(--muted);
  line-height: 1.7;
}

.journey { background:linear-gradient(180deg,#160d0b,#110a09); }
.centered { margin-inline:auto; text-align:center; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:72px; }
.steps article { position:relative; text-align:center; padding:0 46px; }
.step-num { width:70px; height:70px; display:grid; place-items:center; margin:auto; border:1px solid var(--orange); background:#22100d; color:var(--amber); font:900 24px monospace; transform:rotate(45deg); }
.step-num::first-line { transform:rotate(-45deg); }
.steps article h3 { margin-top:40px; font:900 22px monospace; }
.steps article p { color:var(--muted); line-height:1.7; }
.step-line { position:absolute; top:34px; left:calc(50% + 58px); width:calc(100% - 116px); border-top:1px dashed #6d3320; }
.steps article:last-child .step-line { display:none; }

.faq-section {
  background: #0f0908;
  border-top: 1px solid rgba(255,179,58,.14);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 18px;
}
.faq-list article {
  padding: 26px;
  background: #1a0f0d;
  border: 1px solid rgba(255, 179, 58, .18);
}
.faq-list h3 {
  color: var(--amber);
  font: 900 21px/1.35 "Courier New", monospace;
}
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.community {
  position:relative; overflow:hidden; padding:120px 0;
  background:radial-gradient(circle at 75% 50%, rgba(216,67,26,.33), transparent 28%), linear-gradient(115deg,#32120d,#130a08 65%);
  border-block:1px solid #6a2b1c;
}
.community::after { content:"V"; position:absolute; right:7%; top:50%; transform:translateY(-50%); color:rgba(255,179,58,.05); font:900 350px/1 Georgia; }
.community-inner { position:relative; z-index:1; }
.community h2 { max-width:800px; }
.community p { max-width:680px; color:#cfb59b; font-size:18px; line-height:1.75; }
.community-actions { display:flex; align-items:center; gap:26px; margin-top:34px; }
.community-note { color:#b9a088; }.community-note i { display:inline-block; width:9px; height:9px; margin-right:8px; background:var(--green); border-radius:50%; animation:pulse 1.8s infinite; }

footer { background:#090605; padding:60px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.1fr 1fr auto; gap:60px; align-items:center; }
.footer-grid p { color:#b59c84; line-height:1.7; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px 30px; color:#cbb295; }
.footer-links a:hover { color:var(--amber); }
.copyright { display:flex; justify-content:space-between; margin-top:46px; padding-top:24px; border-top:1px solid #2e1a15; color:#b59c84; font-size:13px; }
.copyright a:hover { color: var(--amber); }

.page {
  min-height: 100vh;
  background: #120b0a;
}
.page-hero {
  padding: 58px 0 90px;
  background:
    radial-gradient(circle at 82% 22%, rgba(224,74,29,.26), transparent 30%),
    linear-gradient(135deg, #24110e, #0f0908 70%);
  border-bottom: 1px solid rgba(255,179,58,.18);
}
.page-hero .brand { margin-bottom: 70px; }
.page-hero h1 {
  max-width: 860px;
  margin-top: 20px;
  font-size: clamp(42px, 6vw, 72px);
}
.page-hero p {
  max-width: 760px;
  color: #d7bea2;
  font-size: 19px;
  line-height: 1.75;
}
.legal-section {
  padding: 70px 0 110px;
  background: radial-gradient(circle at 20% 0, rgba(255,179,58,.09), transparent 32%), #100907;
}
.legal-card {
  max-width: 900px;
  padding: 44px;
  background: #1a0f0d;
  border: 1px solid rgba(255,179,58,.2);
}
.legal-card h2 {
  margin-top: 34px;
  color: var(--amber);
  font: 900 25px/1.3 "Courier New", monospace;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.download-page,
.upload-page {
  background: #120b0a;
}

.download-top-nav,
.upload-admin-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 70px;
}

.upload-admin-links {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.download-hero,
.upload-hero {
  min-height: 520px;
}

.download-hero .shell,
.upload-hero .shell {
  position: relative;
  z-index: 2;
  padding-top: 36px;
}

.download-hero h1,
.upload-hero h1 {
  max-width: 760px;
}

.download-hero p,
.upload-hero p {
  max-width: 760px;
  color: #ead8c3;
  font-size: 20px;
  line-height: 1.7;
}

.file-list-section,
.upload-admin-section {
  background: radial-gradient(circle at 85% 0, rgba(255,179,58,.1), transparent 30%), #120b0a;
}

.file-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.file-card,
.file-note-card,
.upload-form,
.upload-help,
.upload-table-wrap {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #211310, #160d0b);
  box-shadow: inset 0 0 0 3px rgba(86,35,22,.16);
}

.file-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.file-card.empty {
  grid-column: 1 / -1;
  min-height: 180px;
}

.file-card h3 {
  font: 900 25px/1.2 "Courier New", monospace;
  color: var(--cream);
}

.file-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.file-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
}

.file-card dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.file-card dt {
  color: #c58f63;
  font: 700 11px/1 monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.file-card dd {
  min-width: 0;
  margin: 0;
  color: #ead8c3;
  overflow-wrap: anywhere;
}

.file-card .button {
  margin-top: auto;
  width: fit-content;
}

.download-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 18px;
}

.file-note-card {
  padding: 26px;
}

.file-note-card h2,
.upload-help h2,
.upload-table-wrap h2 {
  margin: 0 0 18px;
  font: 900 24px/1.2 "Courier New", monospace;
}

.file-note-card a {
  display: block;
  padding: 12px 0;
  color: var(--amber);
  border-top: 1px solid rgba(255,179,58,.18);
  font-weight: 800;
}

.upload-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.upload-form,
.upload-help,
.upload-table-wrap {
  padding: 30px;
}

.upload-form {
  display: grid;
  gap: 20px;
}

.blog-builder {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(184, 215, 189, .22);
  background: rgba(10, 18, 14, .58);
}

.blog-builder h2 {
  margin: 0;
  color: #d5f1d9;
  font: 900 22px/1.18 "Courier New", monospace;
}

.upload-form label {
  display: grid;
  gap: 9px;
}

.upload-form label > span {
  color: var(--amber);
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.upload-form input[type="text"],
.upload-form input[type="file"],
.upload-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,179,58,.28);
  background: #100907;
  color: var(--cream);
  font: inherit;
}

.upload-form textarea {
  resize: vertical;
}

.upload-note,
.upload-help p,
.admin-bbcode-help,
.admin-media-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-bbcode-help {
  padding: 12px 14px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 179, 58, .08);
  font-size: 14px;
}

.upload-alert {
  padding: 14px 16px;
  border: 1px solid rgba(255,179,58,.3);
  font-weight: 800;
}

.upload-alert.success {
  color: #baf28c;
  background: rgba(127, 213, 74, .08);
}

.upload-alert.error {
  color: #ffd0c8;
  background: rgba(224, 74, 29, .12);
}

.upload-table-wrap {
  margin-top: 34px;
}

.upload-table {
  overflow-x: auto;
}

.upload-table table {
  width: 100%;
  border-collapse: collapse;
}

.upload-table th,
.upload-table td {
  padding: 15px 12px;
  border-top: 1px solid rgba(255,179,58,.16);
  text-align: left;
  vertical-align: top;
}

.upload-table th {
  color: var(--amber);
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.upload-table small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.upload-table a {
  color: var(--amber);
  font-weight: 900;
}

.admin-seo-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255,179,58,.28);
  color: #fff1d6;
  font: 900 13px/1 "Courier New", monospace;
}

.admin-seo-badge.is-ready {
  border-color: rgba(184,215,189,.44);
  background: rgba(57, 93, 63, .34);
  color: #d5f1d9;
}

.admin-seo-badge.is-thin {
  border-color: rgba(224,74,29,.48);
  background: rgba(224,74,29,.16);
}

.file-manage-form,
.admin-delete-form {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.file-manage-form label {
  display: grid;
  gap: 6px;
}

.file-manage-form span {
  color: #bed6c3;
  font: 800 11px/1 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.file-manage-form input[type="text"],
.file-manage-form input[type="file"],
.file-manage-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(255,179,58,.28);
  background: #120b0a;
  color: var(--cream);
  font: inherit;
}

.file-manage-form textarea {
  resize: vertical;
}

.admin-blog-edit {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(184, 215, 189, .18);
  background: rgba(9, 18, 15, .52);
}

.admin-blog-edit[open] {
  gap: 14px;
}

.admin-blog-edit summary {
  cursor: pointer;
  color: #d5f1d9;
  font-weight: 900;
}

.admin-blog-edit label {
  margin-top: 10px;
}

.admin-check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255,179,58,.18);
  background: rgba(255,179,58,.06);
}

.admin-check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--amber);
}

.admin-check-row span {
  color: var(--cream);
  letter-spacing: 0;
  text-transform: none;
}

.admin-media-status a {
  color: var(--amber);
  font-weight: 900;
}

.admin-save-button,
.admin-delete-form .button {
  width: 100%;
  min-height: 46px;
}

.file-hub-section {
  background: linear-gradient(180deg, #120b0a, #101613 52%, #0d0908);
  border-block: 1px solid rgba(184,215,189,.14);
}

.file-hub-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: end;
}

.home-search-form,
.search-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255,179,58,.22);
  background: rgba(9, 7, 6, .72);
}

.home-search-form label,
.search-form label {
  color: #bed6c3;
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-search-form div,
.search-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.home-search-form input,
.search-form input {
  min-width: 0;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(255,179,58,.28);
  background: #120b0a;
  color: var(--cream);
  font: inherit;
}

.public-file-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.public-file-card,
.public-file-empty {
  min-width: 0;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255,179,58,.2);
  background: linear-gradient(145deg, rgba(31, 18, 15, .96), rgba(13, 10, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.public-file-card h3,
.public-file-empty h3 {
  margin: 12px 0 10px;
  font: 900 23px/1.18 "Courier New", monospace;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.public-file-card h3 a:hover {
  color: var(--amber);
}

.public-file-card p,
.public-file-empty p {
  color: var(--muted);
  line-height: 1.62;
}

.public-file-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: auto 0 16px;
  padding: 0;
  background: rgba(255,179,58,.14);
  border: 1px solid rgba(255,179,58,.18);
}

.public-file-card dl div {
  min-width: 0;
  padding: 12px;
  background: rgba(13, 9, 8, .92);
}

.public-file-card dt {
  color: #bed6c3;
  font: 800 10px/1 "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-file-card dd {
  margin: 8px 0 0;
  color: #fff1d6;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.public-file-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(184,215,189,.38);
  color: #d5f1d9;
  font-weight: 900;
}

.public-file-link:hover {
  border-color: #b8d7bd;
  color: #ffffff;
}

.file-hub-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.search-page {
  background: #120b0a;
}

.search-hero {
  padding: 52px 0 28px;
  background: linear-gradient(180deg, rgba(22,35,30,.76), transparent);
}

.search-hero h1 {
  max-width: 920px;
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: 0;
}

.search-hero p {
  max-width: 780px;
  color: #ead8c3;
  font-size: 18px;
  line-height: 1.65;
}

.search-form {
  max-width: 820px;
  margin-top: 26px;
}

.search-results-section {
  padding-top: 70px;
}

.search-results-head h2 {
  margin: 10px 0;
  font: 900 34px/1.18 "Courier New", monospace;
  overflow-wrap: anywhere;
}

.search-results-head p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.download-landing {
  min-height: 100vh;
  padding-top: 22px;
  background:
    linear-gradient(180deg, rgba(22, 35, 30, .72) 0, transparent 290px),
    linear-gradient(180deg, #111412 0%, #100b0a 42%, #090605 100%);
}

.download-shell {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.download-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.download-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,179,58,.34);
  color: #ffe4b0;
  font-weight: 900;
  background: rgba(13,7,7,.46);
}

.download-home-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.download-adline {
  padding: 18px 0 0;
}

.download-ad-card {
  min-height: 104px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  border: 1px dashed rgba(255,179,58,.28);
  background: rgba(11, 8, 7, .58);
  color: #bda98d;
}

.download-ad-card span {
  color: var(--amber);
  font: 900 12px/1 "Courier New", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.download-ad-card p {
  max-width: 680px;
  margin: 0;
  line-height: 1.55;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
  padding: 24px 0 42px;
}

.download-panel,
.shorts-panel,
.download-helper-card,
.related-file-card {
  border: 1px solid rgba(255,179,58,.22);
  background: linear-gradient(145deg, rgba(30, 19, 16, .96), rgba(13, 10, 9, .98));
  box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
}

.download-video-feature {
  padding: 24px 0 0;
}

.shorts-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.shorts-copy {
  min-width: 0;
}

.shorts-copy h2 {
  margin: 10px 0 12px;
  font: 900 clamp(30px, 4vw, 48px)/1.12 "Courier New", monospace;
  letter-spacing: 0;
}

.shorts-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.download-panel {
  min-width: 0;
  padding: 30px;
}

.download-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.download-status {
  color: #b8d7bd;
  font: 800 12px/1 "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.download-panel h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.download-summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: #e8d7c2;
  font-size: 18px;
  line-height: 1.62;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.download-cta {
  min-width: 220px;
}

.download-actions .button,
.download-helper-card .public-file-link,
.related-file-card .public-file-link {
  min-height: 54px;
}

.download-wait-link.is-waiting {
  border-color: rgba(184,215,189,.32);
  background: linear-gradient(135deg, #344238, #18201c);
  color: #c8dacb;
  cursor: not-allowed;
  filter: none;
  opacity: .92;
}

.download-wait-link.is-waiting:hover {
  transform: none;
}

.download-wait-link.is-ready {
  cursor: pointer;
}

.download-wait-note {
  margin: 14px 0 0;
  color: #b8d7bd;
  font-weight: 800;
  line-height: 1.5;
}

.file-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,179,58,.18);
  background: rgba(255,179,58,.16);
}

.file-meta-strip div {
  min-width: 0;
  padding: 16px;
  background: rgba(13, 9, 8, .9);
}

.file-meta-strip dt {
  color: #bed6c3;
  font: 800 11px/1 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.file-meta-strip dd {
  min-width: 0;
  margin: 9px 0 0;
  color: #fff1d6;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.download-description {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,179,58,.16);
}

.download-description h2,
.shorts-panel h2 {
  margin: 8px 0 10px;
  font: 900 24px/1.2 "Courier New", monospace;
  letter-spacing: 0;
}

.download-description p,
.download-note,
.shorts-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.file-cover {
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,179,58,.22);
  background: #080706;
}

.file-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.file-blog-content {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,179,58,.16);
}

.blog-section {
  display: grid;
  gap: 13px;
}

.blog-section h2,
.blog-section h3,
.bbcode-content h2,
.bbcode-content h3 {
  margin: 0;
  color: #fff1d6;
  font: 900 23px/1.22 "Courier New", monospace;
  letter-spacing: 0;
}

.blog-section h3,
.bbcode-content h3 {
  font-size: 19px;
  color: #d5f1d9;
}

.blog-lead p,
.blog-section p,
.bbcode-content p,
.bbcode-content li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.blog-lead {
  display: grid;
  gap: 12px;
}

.blog-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.blog-list li::marker {
  color: var(--amber);
  font-weight: 900;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.blog-gallery figure,
.blog-inline-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 215, 189, .2);
  background: #080706;
}

.blog-gallery img,
.blog-inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.file-faq-list {
  gap: 10px;
}

.file-faq-item {
  border: 1px solid rgba(255,179,58,.16);
  background: rgba(9, 7, 6, .58);
}

.file-faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #fff1d6;
  font-weight: 900;
}

.file-faq-item p {
  padding: 0 16px 15px;
}

.bbcode-content {
  gap: 14px;
}

.bbcode-content blockquote,
.bbcode-content pre,
.blog-note,
.blog-warning {
  margin: 0;
  padding: 15px 16px;
  border-left: 3px solid var(--amber);
  background: rgba(255,179,58,.08);
  color: #fff1d6;
  line-height: 1.65;
}

.bbcode-content pre {
  overflow-x: auto;
  border-left-color: #b8d7bd;
  background: rgba(184, 215, 189, .08);
}

.bbcode-content code {
  font-family: "Courier New", monospace;
}

.bbcode-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.bbcode-content a {
  color: var(--amber);
  font-weight: 900;
}

.bbcode-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-note {
  border-left-color: #b8d7bd;
  background: rgba(184, 215, 189, .09);
}

.blog-warning {
  border-left-color: #e04a1d;
  background: rgba(224, 74, 29, .12);
}

.blog-youtube {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255,179,58,.24);
  background: #000;
}

.blog-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-download-jump {
  width: max-content;
  max-width: 100%;
}

.download-note {
  margin: 24px 0 0;
}

.download-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 18px;
}

.shorts-panel {
  padding: 20px;
}

.shorts-frame {
  position: relative;
  width: min(100%, 260px);
  margin: 16px auto 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255,179,58,.28);
  background: #080706;
}

.shorts-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.shorts-open-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(184, 215, 189, .38);
  color: #d5f1d9;
  font-weight: 900;
  text-align: center;
}

.shorts-open-link:hover {
  border-color: #b8d7bd;
  color: #ffffff;
}

.download-ad-card-side {
  min-height: 220px;
}

.download-helper-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.download-helper-card h2 {
  margin: 0;
  font: 900 22px/1.18 "Courier New", monospace;
  letter-spacing: 0;
}

.download-helper-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.related-files-section {
  padding: 18px 0 92px;
}

.related-files-head {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.related-files-head h2 {
  margin: 0;
  font: 900 clamp(30px, 4vw, 46px)/1.12 "Courier New", monospace;
  letter-spacing: 0;
}

.related-files-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.related-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.related-file-card {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.related-file-card h3 {
  margin: 12px 0 10px;
  font: 900 22px/1.18 "Courier New", monospace;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.related-file-card h3 a:hover {
  color: var(--amber);
}

.related-file-card p {
  color: var(--muted);
  line-height: 1.6;
}

.related-file-empty .public-file-link {
  margin-top: auto;
}

.related-file-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: auto 0 16px;
  padding: 0;
  background: rgba(255,179,58,.14);
  border: 1px solid rgba(255,179,58,.18);
}

.related-file-card dl div {
  min-width: 0;
  padding: 12px;
  background: rgba(13, 9, 8, .92);
}

.related-file-card dt {
  color: #bed6c3;
  font: 800 10px/1 "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-file-card dd {
  margin: 8px 0 0;
  color: #fff1d6;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.mobile-sticky-download {
  display: none;
}

.stats strong i,
.community-note i {
  will-change: opacity, transform;
}

@keyframes pulse { 50% { opacity:.42; transform:scale(.82); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } * { animation:none !important; transition:none !important; } }

@media (max-width: 980px) {
  .shell { width:min(100% - 40px, 760px); }
  .hero { min-height:980px; background-position:62% top; }
  .nav { height:84px; }
  .nav-button { display:grid; gap:5px; cursor:pointer; }
  .nav-button span { display:block; width:26px; height:2px; background:var(--cream); }
  .nav-links {
    position:absolute; top:84px; left:0; right:0; display:none; height:auto; padding:18px;
    background:#160c0b; border:1px solid #5f281b; flex-direction:column; gap:0;
  }
  .nav-links a { padding:14px; }
  .nav-toggle:checked ~ .nav-links { display:flex; }
  .hero-content { padding:60px 0 390px; align-items:flex-start; }
  .hero-copy { width:100%; max-width:650px; }
  .stats { grid-template-columns:1fr 1fr; bottom:30px; }
  .feature-grid { grid-template-columns:1fr; }
  .mod-layout { grid-template-columns:1fr; gap:70px; }
  .content-layout, .faq-layout { grid-template-columns:1fr; gap:44px; }
  .ad-card-side { position:static; min-height:160px; }
  .update-grid { grid-template-columns:1fr; }
  .file-layout, .upload-admin-grid { grid-template-columns:1fr; }
  .file-hub-header { grid-template-columns:1fr; align-items:start; }
  .public-file-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .shorts-panel.shorts-panel-top { grid-template-columns:minmax(0, 1fr) minmax(220px, 280px); align-items:start; }
  .related-file-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .download-layout { grid-template-columns:1fr; }
  .download-side { position:static; }
  .shorts-panel { display:grid; grid-template-columns:minmax(180px, 1fr) minmax(180px, 260px); gap:20px; align-items:start; }
  .shorts-frame { margin:0; }
  .file-meta-strip { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .download-sidebar { position:static; }
  .file-grid { grid-template-columns:1fr; }
  .steps article { padding-inline:18px; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
}

@media (max-width: 640px) {
  .shell { width:calc(100% - 28px); }
  .brand strong { font-size:18px; }.brand-mark { width:42px; height:42px; }
  .hero { min-height:1120px; background-position:69% top; }
  .hero::before { background:linear-gradient(90deg,rgba(13,7,7,.97),rgba(13,7,7,.65)), linear-gradient(0deg,#110908 0%,transparent 45%); }
  .hero-content { padding-top:46px; padding-bottom:610px; }
  .eyebrow { font-size:12px; padding:10px 12px; }
  h1 { font-size:44px; }
  .hero-copy > p { font-size:17px; }
  .hero-actions { display:grid; }
  .button { width:100%; }
  .stats { grid-template-columns:1fr; gap:8px; bottom:18px; }
  .stats article { min-height:90px; padding:14px 18px; }
  .stat-icon { width:48px; height:48px; }
  .stats strong { font-size:22px; }
  .stats small { margin-top:3px; }
  .section { padding:84px 0; }
  .section-heading h2, .mod-copy h2, .community h2 { font-size:37px; }
  .feature-grid { margin-top:40px; }
  .feature-card { min-height:360px; }
  .console-screen { min-height:340px; }
  .steps { grid-template-columns:1fr; gap:58px; }
  .step-line { display:none; }
  .steps article { padding:0 10px; }
  .community-actions { align-items:flex-start; flex-direction:column; }
  .footer-links { flex-wrap:wrap; }
  .copyright { flex-direction:column; gap:12px; }
  .page-hero { padding:42px 0 64px; }
  .page-hero .brand { margin-bottom:48px; }
  .legal-card { padding:28px; }
  .download-top-nav { align-items:flex-start; flex-direction:column; margin-bottom:48px; }
  .home-search-form div, .search-form div { grid-template-columns:1fr; }
  .home-search-form .button, .search-form .button { width:100%; }
  .public-file-grid { grid-template-columns:1fr; gap:14px; }
  .public-file-card, .public-file-empty { min-height:auto; padding:20px; }
  .public-file-card dl { grid-template-columns:1fr; }
  .search-hero { padding-top:38px; }
  .search-hero h1 { font-size:34px; }
  .download-landing { padding-bottom:94px; }
  .download-shell { width:calc(100% - 28px); }
  .download-topbar { min-height:auto; align-items:flex-start; }
  .download-topbar .brand strong { font-size:18px; }
  .download-topbar .brand small { letter-spacing:.18em; }
  .download-home-link { min-height:40px; padding-inline:13px; }
  .download-adline { padding-top:14px; }
  .download-video-feature { padding-top:18px; }
  .shorts-panel.shorts-panel-top {
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:18px;
  }
  .shorts-panel-top .shorts-frame {
    order:-1;
    width:min(100%, 250px);
    margin-inline:auto;
  }
  .shorts-copy h2 { font-size:30px; }
  .shorts-copy p { font-size:16px; }
  .shorts-open-link { width:100%; }
  .download-layout { padding-top:18px; padding-bottom:44px; }
  .download-panel, .shorts-panel { padding:20px; }
  .download-helper-card { padding:18px; }
  .download-panel h1 { font-size:30px; }
  .download-summary { font-size:16px; }
  .download-actions { display:grid; }
  .download-actions .button { width:100%; }
  .file-cover img { max-height:none; }
  .file-meta-strip { grid-template-columns:1fr; }
  .file-blog-content { gap:20px; margin-top:24px; padding-top:22px; }
  .blog-section h2, .bbcode-content h2 { font-size:22px; }
  .blog-gallery { grid-template-columns:1fr; }
  .blog-youtube { width:100%; }
  .blog-download-jump { width:100%; }
  .shorts-panel { display:block; }
  .shorts-frame { width:min(100%, 245px); margin:16px auto 0; }
  .mobile-sticky-download {
    position:fixed;
    z-index:30;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    border-top:1px solid rgba(255,179,58,.32);
    background:rgba(9,6,5,.96);
    box-shadow:0 -12px 28px rgba(0,0,0,.32);
  }
  .mobile-sticky-download span { color:#b8d7bd; font-weight:900; }
  .mobile-sticky-download a {
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:0 18px;
    background:linear-gradient(135deg, #c93117, #8e1f13);
    color:var(--cream);
    font-weight:900;
    white-space:nowrap;
  }
  .mobile-sticky-download a [data-download-countdown] {
    min-width:1.4ch;
    display:inline-block;
    text-align:center;
  }
  .mobile-sticky-download a.is-waiting {
    background:linear-gradient(135deg, #344238, #18201c);
    color:#c8dacb;
  }
  .related-files-section { padding:12px 0 74px; }
  .related-file-grid { grid-template-columns:1fr; gap:14px; }
  .related-file-card {
    min-height:auto;
    padding:18px;
  }
  .related-file-card dl { grid-template-columns:1fr; }
  .related-file-card .public-file-link { width:100%; }
  .file-card dl div { grid-template-columns:1fr; gap:4px; }
  .file-card .button { width:100%; }
  .upload-form, .upload-help, .upload-table-wrap, .file-card, .file-note-card { padding:22px; }
}

/* Home file hub refresh */
.home-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(184, 215, 189, .14), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(255, 179, 58, .12), transparent 24%),
    linear-gradient(180deg, #0d1110 0%, #120b0a 48%, #090605 100%);
  overflow-x: hidden;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(9, 8, 7, .94);
  border-bottom: 1px solid rgba(184, 215, 189, .16);
  backdrop-filter: blur(14px);
}

.home-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
  color: #d8e8d9;
  font-weight: 800;
}

.home-nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.home-nav-links a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.home-nav-toggle,
.home-nav-button {
  display: none;
}

.home-hub {
  padding: 58px 0 34px;
  background:
    linear-gradient(180deg, rgba(12, 24, 20, .9), rgba(18, 11, 10, .6)),
    radial-gradient(circle at 80% 25%, rgba(224, 74, 29, .16), transparent 30%);
  border-bottom: 1px solid rgba(255, 179, 58, .14);
}

.home-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 30px;
  align-items: stretch;
}

.home-hub-copy,
.home-latest-panel,
.home-value-grid article,
.home-support-cards article,
.home-popular-list,
.home-popular-item {
  border: 1px solid rgba(184, 215, 189, .18);
  background: linear-gradient(145deg, rgba(18, 27, 23, .92), rgba(18, 11, 10, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 48px rgba(0,0,0,.22);
}

.home-hub-copy {
  min-width: 0;
  padding: clamp(28px, 5vw, 54px);
}

.home-hub-copy h1 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.home-hub-copy > p {
  max-width: 780px;
  margin: 22px 0 0;
  color: #d7c8b7;
  font-size: 19px;
  line-height: 1.72;
}

.home-search-main {
  max-width: 840px;
  margin-top: 28px;
  background: rgba(7, 10, 9, .78);
  border-color: rgba(184, 215, 189, .22);
}

.home-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.home-latest-panel {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: 26px;
}

.home-panel-head h2,
.home-section-head h2,
.home-popular-layout h2,
.home-value-grid h3,
.home-support-cards h3 {
  margin-top: 12px;
  font: 900 clamp(28px, 4vw, 46px)/1.12 "Courier New", monospace;
  letter-spacing: 0;
}

.home-mini-list {
  display: grid;
  gap: 10px;
}

.home-mini-file {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 179, 58, .14);
  background: rgba(9, 7, 6, .56);
}

.home-mini-file:hover,
.home-popular-item:hover {
  border-color: rgba(255, 179, 58, .48);
}

.home-mini-file span {
  grid-row: span 2;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #d5f1d9;
  border: 1px solid rgba(184, 215, 189, .28);
  font: 900 12px/1 "Courier New", monospace;
}

.home-mini-file strong,
.home-popular-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-mini-file small,
.home-popular-item small,
.home-empty-note {
  color: #b9cbbd;
  line-height: 1.45;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.home-stats article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 179, 58, .16);
  background: rgba(9, 7, 6, .62);
}

.home-stats span {
  display: block;
  color: #bed6c3;
  font: 800 11px/1 "Courier New", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-stats strong {
  display: block;
  margin-top: 10px;
  color: #fff1d6;
  font: 900 clamp(22px, 3vw, 34px)/1 "Courier New", monospace;
  overflow-wrap: anywhere;
}

.home-section {
  padding: 76px 0;
}

.home-section-head {
  max-width: 860px;
}

.home-section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.home-file-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-file-card {
  min-height: 330px;
}

.home-popular-section,
.home-faq-section {
  background: rgba(7, 9, 8, .54);
  border-block: 1px solid rgba(184, 215, 189, .12);
}

.home-popular-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.home-popular-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.home-popular-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  box-shadow: none;
}

.home-popular-item > span {
  min-height: 54px;
  display: grid;
  place-items: center;
  color: var(--amber);
  border: 1px solid rgba(255, 179, 58, .24);
  font: 900 17px/1 "Courier New", monospace;
}

.home-popular-item small {
  display: block;
  margin-top: 6px;
}

.home-value-grid,
.home-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-value-grid article,
.home-support-cards article {
  min-width: 0;
  padding: 26px;
}

.home-value-grid h3,
.home-support-cards h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.home-value-grid p,
.home-support-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-support-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}

.home-support-cards {
  display: grid;
  gap: 16px;
}

.home-faq-layout {
  grid-template-columns: .75fr 1.25fr;
}

.home-community {
  padding: 90px 0;
}

.home-keyword-section {
  padding: 62px 0;
  background: #0f0908;
  border-top: 1px solid rgba(184, 215, 189, .14);
}

.home-keyword-section h2,
.file-keyword-section h2 {
  margin: 12px 0 10px;
  font: 900 clamp(28px, 4vw, 44px)/1.12 "Courier New", monospace;
  letter-spacing: 0;
}

.home-keyword-section p,
.file-keyword-section p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-tags a,
.keyword-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(184, 215, 189, .26);
  background: rgba(9, 7, 6, .58);
  color: #d5f1d9;
  font-weight: 900;
  line-height: 1.2;
}

.keyword-tags a:hover {
  border-color: var(--amber);
  color: #fff1d6;
}

.hub-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hub-link-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 179, 58, .28);
  background: rgba(9, 7, 6, .58);
  color: #ffe4b0;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.hub-link-row a:hover {
  border-color: var(--amber);
  color: #fff1d6;
}

.search-keyword-tags {
  max-width: 900px;
}

.seo-hub-page {
  overflow-x: hidden;
}

.seo-hub-hero {
  padding: 58px 0 36px;
  background:
    linear-gradient(180deg, rgba(12, 24, 20, .92), rgba(18, 11, 10, .64)),
    radial-gradient(circle at 78% 24%, rgba(224, 74, 29, .16), transparent 30%);
  border-bottom: 1px solid rgba(255, 179, 58, .14);
}

.seo-hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 28px;
  align-items: stretch;
}

.seo-hub-copy,
.seo-hub-side {
  min-width: 0;
  border: 1px solid rgba(184, 215, 189, .18);
  background: linear-gradient(145deg, rgba(18, 27, 23, .92), rgba(18, 11, 10, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 48px rgba(0,0,0,.22);
}

.seo-hub-copy {
  padding: clamp(28px, 5vw, 54px);
}

.seo-hub-copy h1 {
  max-width: 940px;
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.seo-hub-copy > p,
.seo-hub-side p {
  color: #d7c8b7;
  font-size: 18px;
  line-height: 1.72;
}

.seo-hub-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
}

.seo-hub-side h2 {
  margin-top: 10px;
  font: 900 28px/1.14 "Courier New", monospace;
  letter-spacing: 0;
}

.seo-hub-files {
  padding-top: 70px;
}

.seo-hub-guide {
  background: rgba(7, 9, 8, .54);
  border-block: 1px solid rgba(184, 215, 189, .12);
}

.home-support-cards article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.home-support-cards .public-file-link {
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
}

.me-mod-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(184, 215, 189, .12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 179, 58, .10), transparent 24%),
    linear-gradient(180deg, #0d1110 0%, #120b0a 48%, #090605 100%);
  overflow-x: hidden;
}

.me-mod-hero {
  padding: 62px 0 44px;
  background:
    linear-gradient(180deg, rgba(12, 24, 20, .92), rgba(18, 11, 10, .68)),
    radial-gradient(circle at 82% 26%, rgba(224, 74, 29, .18), transparent 32%);
  border-bottom: 1px solid rgba(255, 179, 58, .14);
}

.me-mod-hero-grid,
.me-mod-two-col,
.me-mod-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: stretch;
}

.me-mod-hero-copy,
.me-mod-release-card,
.me-mod-note,
.me-mod-panel,
.me-mod-feature-grid article,
.me-mod-download-grid > div,
.me-mod-limits {
  min-width: 0;
  border: 1px solid rgba(184, 215, 189, .18);
  background: linear-gradient(145deg, rgba(18, 27, 23, .92), rgba(18, 11, 10, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 48px rgba(0,0,0,.22);
}

.me-mod-hero-copy {
  padding: clamp(28px, 5vw, 54px);
}

.me-mod-hero-copy h1 {
  max-width: 940px;
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.me-mod-hero-copy p,
.me-mod-section p,
.me-mod-limits li {
  color: #d7c8b7;
  font-size: 18px;
  line-height: 1.72;
}

.me-mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.me-mod-release-card,
.me-mod-note,
.me-mod-panel {
  padding: 26px;
}

.me-mod-release-card h2,
.me-mod-section h2,
.me-mod-panel h2,
.me-mod-limits h2 {
  margin-top: 12px;
  font: 900 clamp(28px, 4vw, 46px)/1.12 "Courier New", monospace;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.me-mod-release-card dl,
.me-mod-checksum-table,
.me-mod-steps,
.me-mod-limits ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.me-mod-release-card dl div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 179, 58, .14);
  background: rgba(9, 7, 6, .56);
}

.me-mod-release-card dt {
  color: #bed6c3;
  font: 800 11px/1 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.me-mod-release-card dd {
  margin: 0;
  color: #fff1d6;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.me-mod-section {
  padding: 76px 0;
}

.me-mod-feature-section,
.me-mod-faq-section {
  background: rgba(7, 9, 8, .54);
  border-block: 1px solid rgba(184, 215, 189, .12);
}

.me-mod-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.me-mod-feature-grid article {
  padding: 26px;
}

.me-mod-feature-grid h3,
.me-mod-note h3,
.me-mod-checksum-table h3 {
  margin: 0 0 12px;
  color: #fff1d6;
  font: 900 24px/1.2 "Courier New", monospace;
  letter-spacing: 0;
}

.me-mod-panel pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid rgba(184, 215, 189, .18);
  background: rgba(9, 7, 6, .62);
  color: #d5f1d9;
}

.me-mod-panel code,
.me-mod-checksum-table code {
  font-family: "Courier New", monospace;
}

.me-mod-download-section {
  background: linear-gradient(115deg, rgba(50, 18, 13, .72), rgba(13, 17, 16, .92));
}

.me-mod-download-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.me-mod-download-grid > div {
  padding: 28px;
}

.me-mod-checksum-table article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 179, 58, .14);
  background: rgba(9, 7, 6, .56);
}

.me-mod-checksum-table strong {
  color: #fff1d6;
}

.me-mod-checksum-table span {
  color: #bed6c3;
  font-size: 13px;
}

.me-mod-checksum-table code {
  color: #d5f1d9;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.me-mod-limits {
  padding: 30px;
}

.me-mod-limits ul,
.me-mod-steps {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .home-nav {
    min-height: 68px;
    position: relative;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    padding: 12px 0;
  }
  .home-nav-button {
    min-height: 42px;
    display: inline-grid;
    grid-template-columns: auto 18px;
    grid-template-rows: repeat(3, 2px);
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 4px 9px;
    margin-left: auto;
    padding: 0 13px;
    border: 1px solid rgba(184, 215, 189, .28);
    background: rgba(9, 7, 6, .58);
    color: #d5f1d9;
    cursor: pointer;
    font-weight: 900;
  }
  .home-nav-button span {
    grid-row: 1 / 4;
    align-self: center;
  }
  .home-nav-button i {
    grid-column: 2;
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
  }
  .home-nav-button i:nth-of-type(1) { grid-row: 1; }
  .home-nav-button i:nth-of-type(2) { grid-row: 2; }
  .home-nav-button i:nth-of-type(3) { grid-row: 3; }
  .home-nav-links {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(184, 215, 189, .18);
    background: #090807;
    box-shadow: 0 18px 38px rgba(0,0,0,.34);
  }
  .home-nav-toggle:checked ~ .home-nav-links {
    display: grid;
  }
  .home-nav-links a {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(184, 215, 189, .16);
    background: rgba(18, 11, 10, .64);
  }
  .home-hub-grid,
  .seo-hub-hero-grid,
  .home-popular-layout,
  .home-support-grid,
  .home-faq-layout,
  .me-mod-hero-grid,
  .me-mod-two-col,
  .me-mod-download-grid {
    grid-template-columns: 1fr;
  }
  .home-stats,
  .home-file-grid,
  .home-value-grid,
  .me-mod-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hub {
    padding-top: 28px;
  }
  .home-hub-copy,
  .home-latest-panel,
  .seo-hub-copy,
  .seo-hub-side {
    padding: 20px;
  }
  .home-hub-copy h1 {
    font-size: clamp(28px, 7.6vw, 34px);
    line-height: 1.1;
  }
  .seo-hub-copy h1 {
    font-size: clamp(28px, 7.6vw, 34px);
    line-height: 1.1;
  }
  .home-hub-copy > p,
  .seo-hub-copy > p,
  .home-section-head p {
    font-size: 16px;
  }
  .home-primary-actions,
  .home-primary-actions {
    display: grid;
    width: 100%;
  }
  .hub-link-row {
    display: grid;
  }
  .hub-link-row a,
  .home-support-cards .public-file-link {
    width: 100%;
  }
  .home-nav-button span {
    font-size: 14px;
  }
  .home-nav-links {
    grid-template-columns: 1fr;
  }
  .home-nav-links a {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(184, 215, 189, .16);
    background: rgba(9, 7, 6, .42);
  }
  .home-stats,
  .home-file-grid,
  .home-value-grid,
  .me-mod-feature-grid {
    grid-template-columns: 1fr;
  }
  .home-section,
  .me-mod-section {
    padding: 58px 0;
  }
  .me-mod-hero {
    padding: 34px 0 28px;
  }
  .me-mod-hero-copy,
  .me-mod-release-card,
  .me-mod-note,
  .me-mod-panel,
  .me-mod-feature-grid article,
  .me-mod-download-grid > div,
  .me-mod-limits {
    padding: 20px;
  }
  .me-mod-hero-copy h1 {
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.1;
  }
  .me-mod-actions {
    display: grid;
    width: 100%;
  }
  .me-mod-hero-copy p,
  .me-mod-section p,
  .me-mod-limits li {
    font-size: 16px;
  }
  .home-popular-list {
    padding: 12px;
  }
  .home-popular-item,
  .home-mini-file {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 12px;
  }
  .home-popular-item > span,
  .home-mini-file span {
    min-height: 46px;
  }
}
