/* ===========================================================
   Blox Paste — shared site styles
   =========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0f1117;
  --bg-2: #13151b;
  --panel: #1b1e27;
  --card: #1e2230;
  --card-hover: #252a3a;
  --accent: #00b06f;
  --accent-light: #2fe3a4;
  --accent-dim: rgba(0, 176, 111, 0.14);
  --accent-glow: rgba(0, 176, 111, 0.45);
  --text: #f2f3f7;
  --text-sec: #aab0c0;
  --text-dim: #6a7186;
  --border: #272b39;
  --green: #25c26e;
  --gold: #f5b73d;
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.accent-text { color: var(--accent-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: #0f1117;
  box-shadow: 0 6px 20px rgba(0, 176, 111, 0.35);
}
.btn-primary:hover {
  background: #009a60;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 176, 111, 0.5);
}
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--card-hover);
}
.btn-block { width: 100%; padding: 16px; font-size: 1rem; }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
}
.brand img { width: 26px; height: 26px; }
.brand b { color: var(--text); }
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 14px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 9px 18px; font-size: 0.86rem; }

/* ===== Header script search ===== */
.nav-search { position: relative; width: 300px; margin-left: auto; }
.nav-search .ns-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-dim); pointer-events: none; }
.nav-search input {
  width: 100%; padding: 9px 12px 9px 36px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 0.86rem; outline: none; transition: border-color 0.15s ease;
}
.nav-search input:focus { border-color: var(--accent); }
.nav-search input::placeholder { color: var(--text-dim); }
.ns-results {
  position: absolute; top: calc(100% + 7px); left: 0; right: 0; z-index: 60;
  background: var(--card); border: 1px solid var(--border); border-radius: 11px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); max-height: 64vh; overflow-y: auto; display: none;
}
.ns-results.open { display: block; }
.ns-results::-webkit-scrollbar { width: 5px; }
.ns-results::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.ns-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; color: var(--text-sec); font-size: 0.86rem; border-bottom: 1px solid var(--border); }
.ns-item:last-child { border-bottom: none; }
.ns-item:hover, .ns-item.active { background: var(--card-hover); color: var(--text); }
.ns-item .ns-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-item svg { width: 14px; height: 14px; color: var(--accent-light); flex-shrink: 0; }
.ns-empty { padding: 16px; text-align: center; color: var(--text-dim); font-size: 0.83rem; }
.nav-search-mobile { display: none; }

/* ===== Browse Games mega menu (desktop) ===== */
.nav-mega { display: inline-flex; align-items: center; }
.nav-mega > a { display: inline-flex; align-items: center; }
.nav-mega .mega-chev { display: inline-flex; margin-left: 5px; transition: transform 0.2s ease; }
.nav-mega .mega-chev svg { width: 13px; height: 13px; }
.nav-mega.open .mega-chev { transform: rotate(180deg); }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 860px;
  max-width: calc(100vw - 32px);
  background: var(--panel, #1b1e27);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 60;
}
.mega.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-head {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-dim); font-weight: 700; margin: 2px 8px 12px;
}
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mega-grid a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 9px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-sec);
  transition: background 0.13s ease, color 0.13s ease;
}
.mega-grid a:hover { background: var(--card); color: var(--text); }
.mega-em { width: 22px; text-align: center; font-size: 1.05rem; flex-shrink: 0; }
.mega-foot { margin: 12px 8px 2px; padding-top: 12px; border-top: 1px solid var(--border); }
.mega-foot a { font-size: 0.82rem; color: var(--accent-light); font-weight: 600; }
@media (max-width: 900px) { .mega { display: none !important; } }
.menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 176, 111, 0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 176, 111, 0.3);
  color: var(--accent-light);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero h1 {
  font-size: 2.9rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-light), #5ff0c0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 1.05rem;
  color: var(--text-sec);
  margin-bottom: 26px;
  max-width: 480px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.rating-row .rscore { font-weight: 800; }
.rating-row .rcount { color: var(--text-dim); font-size: 0.85rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.trust-line {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line svg { width: 15px; height: 15px; color: var(--green); }

/* ===== Hero showcase image ===== */
.shot-stage {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.shot-frame {
  width: 100%;
  max-width: 360px;
  transform: rotateY(-7deg) rotateX(2deg);
  transition: transform 0.45s ease;
}
.shot-frame:hover { transform: rotateY(0deg) rotateX(0deg); }
.shot-frame img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

/* ===== Sections ===== */
section { position: relative; }
.section-pad { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.section-head h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 12px; }
.section-head p { color: var(--text-sec); font-size: 1rem; }

/* What is */
.about-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.about-grid h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 16px; }
.about-grid p { color: var(--text-sec); margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.stat .num { font-size: 1.9rem; font-weight: 800; color: var(--accent-light); letter-spacing: -1px; }
.stat .lab { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  transition: all 0.18s ease;
}
.feature:hover {
  border-color: rgba(0, 176, 111,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.feature .ic {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 176, 111,0.25);
  border-radius: 11px;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 0.86rem; color: var(--text-sec); }

/* CTA band */
.cta-band { padding: 8px 0 64px; }
.cta-box {
  background: linear-gradient(135deg, rgba(0, 176, 111,0.18), rgba(0, 176, 111,0.05));
  border: 1px solid rgba(0, 176, 111,0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 10px; }
.cta-box p { color: var(--text-sec); margin-bottom: 24px; }

/* Games */
.games-band { background: var(--bg-2); border-top: 1px solid var(--border); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.18s ease;
}
.game-card:hover {
  border-color: rgba(0, 176, 111,0.4);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.game-top { display: flex; align-items: center; gap: 10px; }
.game-emoji {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.game-name { font-weight: 700; font-size: 0.95rem; }
.game-rate { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-dim); }
.game-rate .ministars { display: inline-flex; gap: 1px; color: var(--gold); }
.game-rate .ministars svg { width: 13px; height: 13px; }
.game-rate b { color: var(--text-sec); }
.game-link {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; font-weight: 600; color: var(--accent-light);
  padding-top: 4px;
}
.game-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.game-card:hover .game-link svg { transform: translateX(3px); }
.games-more { text-align: center; margin-top: 30px; color: var(--text-dim); font-size: 0.9rem; }
.games-more a { color: var(--accent-light); font-weight: 600; }

/* Footer */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 54px 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 44px;
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 0.86rem; color: var(--text-dim); max-width: 280px; }
.foot-col h4 {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-dim); margin-bottom: 14px; font-weight: 700;
}
.foot-col a, .foot-col p { display: block; font-size: 0.88rem; color: var(--text-sec); margin-bottom: 9px; }
.foot-col a:hover { color: var(--accent-light); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-dim);
  flex-wrap: wrap; gap: 10px;
}
.foot-bottom .disc { max-width: 720px; }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: absolute;            /* overlay the page instead of pushing content down */
  top: 100%; left: 0; right: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 11px 0; color: var(--text-sec); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-dl {
  margin-top: 12px;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  border-bottom: none;
}
.mobile-menu .mobile-dl:hover { background: #009a60; color: #fff; }

/* ===== Download page ===== */
@keyframes spin { to { transform: rotate(360deg); } }

.dl-hero { padding: 56px 0 36px; position: relative; overflow: hidden; }
.dl-hero::before {
  content: '';
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 820px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(0, 176, 111,0.2), transparent 65%);
  pointer-events: none; z-index: 0;
}
.dl-card {
  position: relative; z-index: 1;
  max-width: 470px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.dl-icon {
  width: 74px; height: 74px; margin: 0 auto 16px;
  border-radius: 18px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 176, 111,0.3);
  display: flex; align-items: center; justify-content: center;
}
.dl-icon img { width: 46px; height: 46px; }
.dl-card h1 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.dl-script { font-size: 0.98rem; font-weight: 700; color: var(--accent-light); margin: -1px 0 8px; }
.dl-sub { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 22px; }
.dl-count {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px;
  font-size: 0.88rem; color: var(--text-sec);
  margin-bottom: 16px;
}
.dl-count #dlNum { font-weight: 800; color: var(--accent-light); }
.dl-count.done { color: var(--green); border-color: rgba(37,194,110,0.3); background: rgba(37,194,110,0.08); }
.dl-count.done svg { width: 18px; height: 18px; }
.dl-spinner {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.dl-manual { font-size: 0.78rem; color: var(--text-dim); margin-top: 14px; }
.dl-manual a { color: var(--accent-light); font-weight: 600; }
.dl-trust {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-dim);
}
.dl-trust span { display: inline-flex; align-items: center; gap: 5px; }
.dl-trust svg { width: 14px; height: 14px; color: var(--green); }

/* Install steps */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.steps { display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.step-num {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: 0.88rem; color: var(--text-sec); }
.step-body p a, .step-body kbd { color: var(--accent-light); font-weight: 600; }

/* SmartScreen callout */
.smartscreen { margin: 0; align-self: center; }
.smartscreen-figure {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.smartscreen-figure img { width: 100%; border-radius: 9px; display: block; }
.smartscreen-cap { font-size: 0.82rem; color: var(--text-dim); margin-top: 13px; text-align: center; line-height: 1.6; }
.smartscreen-cap b { color: var(--text-sec); }

/* ===== Game page ===== */
.breadcrumb { padding: 20px 0 0; font-size: 0.82rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-sec); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

.game-hero { padding: 18px 0 44px; }
.game-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.game-hero .wrap.solo { display: block; }   /* posts with no hero image */
.game-shot { width: 100%; }

/* In-content download CTA on post pages (sits inside the About section) */
.post-dl { margin-top: 26px; max-width: 840px; font-size: 1.02rem; }
.games-more.related-more { margin-top: 22px; }
.game-shot img {
  width: 100%;
  height: auto;            /* keep the image's real aspect ratio — no cropping */
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}
.game-info { min-width: 0; }
.game-info h1 { font-size: 1.95rem; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 10px; }
.game-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.game-rating .stars { display: inline-flex; gap: 2px; color: var(--gold); }
.game-rating .stars svg { width: 17px; height: 17px; }
.game-rating .score { font-weight: 800; }
.game-rating .count { color: var(--text-dim); font-size: 0.85rem; }

.script-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-sec);
  padding: 14px 16px;
  max-width: 100%;
  max-height: 180px;
  overflow: auto;
  margin-bottom: 14px;
  white-space: pre;
  line-height: 1.7;
  tab-size: 2;
}
.script-box::-webkit-scrollbar { width: 6px; height: 6px; }
.script-box::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.script-box .cmt { color: var(--text-dim); }
.script-box .kw { color: var(--accent-light); }
.script-box .str { color: #8fd3a0; }

.script-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-weight: 700; font-size: 0.88rem; font-family: var(--font);
  cursor: pointer; transition: all 0.15s ease;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent-light); background: var(--card-hover); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.copied { color: var(--green); border-color: rgba(37,194,110,0.4); }

.share { display: flex; gap: 8px; align-items: center; margin-left: 4px; }
.share a {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: all 0.15s ease;
}
.share a:hover { border-color: var(--accent); color: var(--accent-light); }
.share svg { width: 15px; height: 15px; }

.content-section { padding: 40px 0; border-top: 1px solid var(--border); }
.content-section > .wrap > h2 {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 18px;
}
.prose { max-width: 840px; color: var(--text-sec); font-size: 1rem; line-height: 1.7; }
.prose p { margin-bottom: 14px; }
.prose strong { color: var(--text); }

/* Long-form SEO article on category pages */
.cat-article h3 { font-size: 1.12rem; font-weight: 700; color: var(--text); margin: 30px 0 10px; }
.cat-article p { color: var(--text-sec); font-size: 1rem; line-height: 1.75; margin-bottom: 15px; max-width: 820px; }
.cat-article p strong { color: var(--text); }
.cat-article p a { color: var(--accent-light); font-weight: 600; }
.cat-article p a:hover { text-decoration: underline; }
.cat-article .cat-lead {
  font-size: 1.12rem; line-height: 1.65; color: var(--text); max-width: 820px;
  margin-bottom: 22px; padding-left: 16px; border-left: 3px solid var(--accent);
}

/* "At a glance" check-list — stacked label + muted description, fixed check icon */
.cat-article .at-glance {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 28px; max-width: 820px; margin: 8px 0 4px;
}
.cat-article .at-glance li { position: relative; padding-left: 30px; line-height: 1.4; }
.cat-article .at-glance li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-dim); color: var(--accent-light); font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.cat-article .at-glance .ag-label { display: block; color: var(--text); font-weight: 700; font-size: 0.95rem; }
.cat-article .at-glance .ag-desc { display: block; color: var(--text-dim); font-size: 0.86rem; margin-top: 1px; }

/* FAQ accordion */
.cat-faq { display: grid; gap: 10px; max-width: 820px; margin-top: 6px; }
.cat-faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 18px; transition: border-color .15s;
}
.cat-faq details[open] { border-color: rgba(0,176,111,0.45); }
.cat-faq summary {
  cursor: pointer; list-style: none; padding: 15px 0; font-weight: 600; color: var(--text);
  font-size: 0.97rem; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.cat-faq summary::-webkit-details-marker { display: none; }
.cat-faq summary::after {
  content: "+"; color: var(--accent-light); font-size: 1.45rem; line-height: 1; font-weight: 400; flex-shrink: 0;
}
.cat-faq details[open] summary::after { content: "\2212"; }
.cat-faq details p { margin: 0; padding: 0 0 16px; color: var(--text-sec); font-size: 0.93rem; line-height: 1.7; max-width: none; }
.cat-faq details p a { color: var(--accent-light); font-weight: 600; }
.cat-faq details p a:hover { text-decoration: underline; }
@media (max-width: 640px) { .cat-article .at-glance { grid-template-columns: 1fr; } }

/* Install columns (game page) */
.install-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.install-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
}
.install-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.install-card > p { font-size: 0.86rem; color: var(--text-dim); }
.install-card ol { margin: 14px 0 0 18px; }
.install-card li { font-size: 0.87rem; color: var(--text-sec); margin-bottom: 9px; padding-left: 4px; }
.install-card li strong { color: var(--text); }
.install-note { margin-top: 22px; font-size: 0.88rem; color: var(--text-dim); }
.install-note a { color: var(--accent-light); font-weight: 600; }

/* More mods */
.mod-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mod-card {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: all 0.15s ease;
}
.mod-card:hover { border-color: rgba(0, 176, 111,0.4); background: var(--card-hover); transform: translateY(-2px); }
.mod-card .em {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.mod-card .mname { flex: 1; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.mod-card .chev { display: flex; color: var(--text-dim); }
.mod-card .chev svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.mod-card:hover .chev { color: var(--accent-light); }
.mod-card:hover .chev svg { transform: translateX(3px); }

/* ===== About / Team ===== */
.about-page { padding: 28px 0 64px; }
.about-page h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 16px; }
.about-lead { max-width: 820px; color: var(--text-sec); font-size: 1.02rem; margin-bottom: 38px; }
.about-lead strong { color: var(--accent-light); font-weight: 700; }
.team { display: grid; gap: 18px; }
.team-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  transition: border-color 0.18s ease;
}
.team-card:hover { border-color: rgba(0, 176, 111,0.35); }
.team-photo {
  width: 150px; height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.team-role {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--accent-light); margin-bottom: 5px;
}
.team-card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; }
.team-card p { font-size: 0.9rem; color: var(--text-sec); line-height: 1.7; }
.about-outro { max-width: 820px; color: var(--text-sec); font-size: 1.02rem; margin-top: 38px; }

/* ===== Contact ===== */
.contact-page { padding: 28px 0 64px; }
.contact-page h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 16px; }
.contact-lead { max-width: 760px; color: var(--text-sec); font-size: 1.02rem; margin-bottom: 34px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.18s ease;
}
.contact-card:hover { border-color: rgba(0, 176, 111,0.35); }
.cc-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 176, 111,0.25);
  display: flex; align-items: center; justify-content: center;
}
.cc-icon svg { width: 20px; height: 20px; color: var(--accent-light); }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 0.88rem; color: var(--text-sec); line-height: 1.6; }
.contact-card a { color: var(--accent-light); font-weight: 600; word-break: break-word; }
.contact-note { max-width: 880px; margin-top: 22px; font-size: 0.9rem; color: var(--text-dim); }
.contact-note a { color: var(--accent-light); font-weight: 600; }

/* ===== Legal pages ===== */
.legal-page { padding: 28px 0 64px; }
.legal-page h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 8px; }
.legal-updated { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 30px; }
.legal { max-width: 820px; color: var(--text-sec); font-size: 0.95rem; }
.legal p { margin-bottom: 16px; line-height: 1.75; }
.legal h2 { font-size: 1.18rem; font-weight: 700; color: var(--text); margin: 30px 0 10px; letter-spacing: -0.2px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; line-height: 1.7; }
.legal a { color: var(--accent-light); font-weight: 600; }
.legal strong { color: var(--text); }

/* ===== Knowledge Base ===== */
.kb-head { padding: 30px 0 4px; }
.kb-head h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 12px; }
.kb-head p { color: var(--text-sec); max-width: 720px; font-size: 1.02rem; }

.kb-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 30px 0 60px; }
.kb-cat-card {
  display: block;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
  transition: all 0.18s ease;
}
.kb-cat-card:hover { border-color: rgba(0, 176, 111,0.4); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.kc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kc-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--accent-dim); border: 1px solid rgba(0, 176, 111,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.kb-cat-card h3 { font-size: 1.1rem; font-weight: 700; }
.kb-cat-card p { font-size: 0.88rem; color: var(--text-sec); margin-bottom: 12px; }
.kc-count { font-size: 0.78rem; color: var(--accent-light); font-weight: 600; }

.kb-layout { display: grid; grid-template-columns: 244px 1fr; gap: 42px; align-items: start; padding-top: 22px; padding-bottom: 64px; }
.kb-sidebar { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; }
.kb-sidebar::-webkit-scrollbar { width: 4px; }
.kb-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.kb-sb-group { margin-bottom: 20px; }
.kb-sb-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); font-weight: 700; margin: 0 0 8px 10px; }
.kb-sb-group a { display: block; font-size: 0.86rem; color: var(--text-sec); padding: 7px 10px; border-radius: 7px; }
.kb-sb-group a:hover { background: var(--card); color: var(--text); }
.kb-sb-group a.active { background: var(--accent-dim); color: var(--accent-light); font-weight: 600; }

.kb-content { min-width: 0; }
.kb-content > h1 { font-size: 1.95rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.kb-content .kb-lead { color: var(--text-sec); font-size: 1rem; margin-bottom: 24px; max-width: 760px; }

.kb-article-list { display: grid; gap: 10px; max-width: 760px; }
.kb-article-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 11px;
  padding: 16px 18px; transition: all 0.15s ease;
}
.kb-article-list a:hover { border-color: rgba(0, 176, 111,0.4); background: var(--card-hover); }
.kb-article-list .ka-title { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.kb-article-list svg { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; }
.kb-article-list a:hover svg { color: var(--accent-light); }

.kb-prevnext { display: flex; justify-content: space-between; gap: 14px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--border); }
.kb-prevnext a { font-size: 0.88rem; color: var(--accent-light); font-weight: 600; }
.kb-prevnext .pn-label { display: block; font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; font-weight: 700; }
.kb-prevnext .pn-next { text-align: right; margin-left: auto; }

/* In-article download CTA */
.kb-cta {
  max-width: 760px;
  margin: 36px 0 4px;
  background: linear-gradient(135deg, rgba(0, 176, 111,0.18), rgba(0, 176, 111,0.05));
  border: 1px solid rgba(0, 176, 111,0.3);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.kb-cta-text h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 3px; color: var(--text); }
.kb-cta-text p { font-size: 0.86rem; color: var(--text-sec); }
.kb-cta .btn { flex-shrink: 0; color: #fff; font-weight: 700; }

/* Changelog timeline */
.changelog { max-width: 760px; }
.changelog-entry { position: relative; padding: 0 0 26px 26px; border-left: 2px solid var(--border); }
.changelog-entry:last-child { border-left-color: transparent; padding-bottom: 0; }
.changelog-entry::before {
  content: ''; position: absolute; left: -7px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.changelog-entry h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; letter-spacing: -0.2px; }
.changelog-date { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 11px; }
.changelog-entry ul { margin: 0 0 0 18px; }
.changelog-entry li { font-size: 0.9rem; color: var(--text-sec); line-height: 1.7; margin-bottom: 6px; }

/* ===== 404 ===== */
.notfound { position: relative; overflow: hidden; text-align: center; padding: 90px 0 100px; }
.notfound::before {
  content: '';
  position: absolute; top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(0, 176, 111,0.2), transparent 65%);
  pointer-events: none; z-index: 0;
}
.notfound .wrap { position: relative; z-index: 1; }
.notfound .nf-code {
  font-size: 7rem; font-weight: 900; line-height: 1; letter-spacing: -4px;
  background: linear-gradient(120deg, var(--accent-light), #5ff0c0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px; margin: 12px 0 12px; }
.notfound p { color: var(--text-sec); max-width: 460px; margin: 0 auto 28px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.nf-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.nf-links a {
  font-size: 0.82rem; font-weight: 600; color: var(--text-sec);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 15px;
  transition: all 0.15s ease;
}
.nf-links a:hover { border-color: var(--accent); color: var(--accent-light); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .game-hero .wrap { grid-template-columns: 1fr; gap: 26px; }
  .game-info { order: 1; }
  .game-shot { order: 2; max-width: 480px; }
  .install-cols { grid-template-columns: 1fr; }
  .mod-cards { grid-template-columns: repeat(2, 1fr); }
  .kb-layout { grid-template-columns: 1fr; gap: 0; }
  .kb-sidebar { display: none; }
  .kb-cats { grid-template-columns: 1fr; }
  .shot-stage { order: -1; }
  .shot-frame { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; max-width: 640px; }
  .smartscreen { align-self: stretch; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-search { display: none; }                 /* hide the inline desktop search */
  .nav-search-mobile { display: block; padding: 4px 24px 12px; }
  .nav-search-mobile .nav-search { display: block; width: auto; margin: 0; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 2.1rem; }
  .game-info h1 { font-size: 1.65rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .mod-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 30px 20px; }
  .section-head h2 { font-size: 1.6rem; }
  .script-actions { gap: 14px; }
  .script-actions .share { margin-top: 6px; margin-left: 0; }
  .team-card { grid-template-columns: 1fr; gap: 16px; justify-items: start; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Blox Paste — extras (posts, categories, tags)
   =========================================================== */

/* Tag / badge chips on post + category pages */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text-sec); transition: all 0.15s ease;
}
.tag:hover { border-color: var(--accent); color: var(--accent-light); }

.post-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; font-size: 0.82rem; color: var(--text-dim); }
.post-badges span { display: inline-flex; align-items: center; gap: 6px; }
.post-badges svg { width: 15px; height: 15px; color: var(--green); }

/* Category / listing intro */
.cat-head { padding: 26px 0 4px; }
/* Icon (left) stretches to match the text column (right) height. */
.cat-head .cat-head-row { display: flex; align-items: stretch; gap: 24px; }
.cat-head .cat-thumb,
.cat-head .cat-emoji {
  align-self: stretch; height: auto; width: auto; aspect-ratio: 1 / 1;
  min-height: 132px; max-height: 200px; flex-shrink: 0;
  border-radius: 20px; background: var(--accent-dim);
  border: 1px solid rgba(0,176,111,0.25); box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
.cat-head .cat-thumb { object-fit: cover; }
.cat-head .cat-emoji { display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.cat-head-text { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.cat-head h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 10px; }
.cat-head p { color: var(--text-sec); max-width: 720px; font-size: 1.02rem; }
.cat-count { font-size: 0.85rem; color: var(--accent-light); font-weight: 600; margin-top: 8px; }
.btn-roblox {
  align-self: flex-start; margin-top: 16px;
  background: transparent; color: var(--text-sec);
  border: 1px solid var(--border); box-shadow: none;
  font-weight: 600; font-size: 0.88rem; padding: 9px 16px;
}
.btn-roblox:hover {
  background: transparent; color: var(--text);
  border-color: var(--accent); transform: none;
}
.btn-roblox svg { width: 14px; height: 14px; opacity: 0.8; }
@media (max-width: 640px) {
  .cat-head .cat-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cat-head .cat-thumb, .cat-head .cat-emoji {
    align-self: flex-start; width: 96px; height: 96px; min-height: 0; max-height: none; aspect-ratio: auto;
  }
}

/* Script-card grid (category pages reuse this for post listings) */
.script-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 26px 0 10px; }
.script-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  transition: all 0.18s ease;
}
.script-card:hover { border-color: rgba(0,176,111,0.4); background: var(--card-hover); transform: translateY(-2px); }
.script-card .sc-type {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 700; color: var(--accent-light);
}
.script-card .sc-title { font-weight: 700; font-size: 1rem; color: var(--text); line-height: 1.35; }
.script-card .sc-link {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; font-weight: 600; color: var(--accent-light); padding-top: 4px;
}
.script-card .sc-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.script-card:hover .sc-link svg { transform: translateX(3px); }
.script-card .sc-rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-dim); margin-top: -2px; }
.script-card .sc-stars { display: inline-flex; gap: 1px; color: var(--gold); }
.script-card .sc-stars svg { width: 13px; height: 13px; }
.script-card .sc-score { font-weight: 800; color: var(--text); }

@media (max-width: 900px) { .script-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .script-grid { grid-template-columns: 1fr; } }

/* Hero code panel (homepage showcase, no image needed) */
.hero-code {
  width: 100%; max-width: 420px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  transform: rotateY(-7deg) rotateX(2deg); transition: transform 0.45s ease;
}
.hero-code:hover { transform: rotateY(0) rotateX(0); }
.hero-code-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); background: var(--panel);
}
.hero-code-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: inline-block; }
.hero-code-bar i:nth-child(1){ background:#ff5f56; } .hero-code-bar i:nth-child(2){ background:#ffbd2e; } .hero-code-bar i:nth-child(3){ background:#27c93f; }
.hero-code-bar .fn { margin-left: 8px; }
.hero-code pre {
  margin: 0; padding: 16px; font-family: var(--mono); font-size: 0.74rem;
  line-height: 1.75; color: var(--text-sec); white-space: pre-wrap; word-break: break-word;
}
.hero-code .cmt { color: var(--text-dim); } .hero-code .kw { color: var(--accent-light); } .hero-code .str { color: #8fd3a0; }
@media (max-width: 900px) { .hero-code { transform: none; margin: 0 auto; } }


/* ===========================================================
   Content locker (OGAds) — recolored to Blox Paste green
   =========================================================== */
.locker-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  animation: lockerFadeIn 0.4s ease-out;
}
@keyframes lockerFadeIn { from { opacity: 0; } to { opacity: 1; } }
.locker-container {
  background: var(--panel, #1b1e27);
  border-radius: 16px;
  padding: 28px 26px;
  max-width: 440px; width: 92%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 80px rgba(0,176,111,0.15);
  border: 1px solid var(--border);
  animation: lockerSlideUp 0.5s ease-out;
}
@keyframes lockerSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.locker-title-row { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 8px; }
.locker-lock-icon {
  width: 40px; height: 40px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  animation: lockerPulse 2s infinite;
}
.locker-lock-icon svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes lockerPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,176,111,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,176,111,0.3); }
}
.locker-title {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; margin: 0;
  background: linear-gradient(135deg, var(--accent-light), #3ee9a5, #8ff0cb);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.locker-subtitle { font-size: 0.82rem; color: var(--text-sec); margin-bottom: 18px; line-height: 1.5; }
.locker-progress { width: 100%; height: 4px; background: var(--border); border-radius: 3px; margin-bottom: 18px; overflow: hidden; }
.locker-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 3px; transition: width 0.4s ease; }
.locker-offers { margin-bottom: 14px; }
.locker-spinner { width: 30px; height: 30px; margin: 0 auto 10px; border: 3px solid var(--border); border-top: 3px solid var(--accent); border-radius: 50%; animation: lockerSpin 0.8s linear infinite; }
@keyframes lockerSpin { to { transform: rotate(360deg); } }
.locker-loading { text-align: center; padding: 26px 0; color: var(--text-sec); font-size: 0.8rem; }
.locker-offer {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 11px; margin-bottom: 7px; cursor: pointer;
  transition: all 0.2s ease; text-align: left;
}
.locker-offer:hover { border-color: rgba(0,176,111,0.4); background: var(--card-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.locker-offer-icon {
  width: 36px; height: 36px;
  background: rgba(0,176,111,0.15); border: 1px solid rgba(0,176,111,0.25);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.locker-offer-icon svg { width: 18px; height: 18px; stroke: var(--accent-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.locker-offer-info { flex: 1; min-width: 0; }
.locker-offer-name { font-size: 0.84rem; font-weight: 600; color: var(--text); margin-bottom: 1px; display: flex; align-items: center; gap: 6px; }
.locker-offer-desc { font-size: 0.72rem; color: var(--text-dim); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locker-offer-badge { font-size: 0.58rem; font-weight: 700; background: var(--green); color: #04130a; padding: 2px 7px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px; }
.locker-offer-arrow svg { width: 16px; height: 16px; stroke: var(--text-dim); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.locker-offer:hover .locker-offer-arrow svg { stroke: var(--accent-light); }
.locker-secure { font-size: 0.7rem; color: var(--text-dim); display: flex; align-items: center; justify-content: center; gap: 5px; }
.locker-secure svg { width: 13px; height: 13px; stroke: var(--accent-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.locker-completion { display: none; text-align: center; }
.locker-completion.active { display: block; }
.locker-success-icon {
  width: 66px; height: 66px; margin: 0 auto 14px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: lockerSuccessPop 0.5s ease-out;
}
.locker-success-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes lockerSuccessPop { 0% { transform: scale(0); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
.locker-unlock-btn {
  background: var(--accent); color: #fff; border: none;
  padding: 12px 28px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: all 0.2s ease; margin-top: 14px;
  box-shadow: 0 4px 20px rgba(0,176,111,0.4);
}
.locker-unlock-btn:hover { background: #009a60; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,176,111,0.5); }

/* Download-page executor list (revealed after unlock) */
.exec-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; max-width: 700px; margin: 0 auto; }
.exec-card { display:flex; align-items:center; gap:13px; background:var(--card); border:1px solid var(--border); border-radius:12px; padding:16px 18px; transition:all .15s ease; }
.exec-card:hover { border-color: rgba(0,176,111,0.4); background:var(--card-hover); transform: translateY(-2px); }
.exec-card .ec-em { width:40px; height:40px; border-radius:10px; background:var(--bg-2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.exec-card .ec-name { font-weight:700; font-size:0.95rem; }
.exec-card .ec-meta { font-size:0.76rem; color:var(--text-dim); }
.gated { filter: blur(0); }
@media (max-width:640px){ .exec-list { grid-template-columns:1fr; } }

/* ===========================================================
   Utility classes (replace former inline styles in templates)
   =========================================================== */
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.section-tight-top { padding-top: 16px; }
.section-tight-bottom { padding-bottom: 20px; }
.kb-head-flush { padding-top: 0; }
.exec-facts { max-width: 760px; margin-bottom: 8px; }
.exec-facts ul { margin: 0 0 0 18px; }
.foot-label { color: var(--text-sec); }
.foot-col a.foot-email { color: var(--accent-light); }

/* ===========================================================
   Post page: rating, executor notice, features, verified (EEAT)
   =========================================================== */
.post-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 14px; }
.post-rating .stars { display: inline-flex; gap: 2px; color: var(--gold); }
.post-rating .stars svg { width: 16px; height: 16px; }
.post-rating .pr-score { font-weight: 800; color: var(--text); }
.post-rating .pr-sep { opacity: 0.5; }
.post-rating .pr-verified b { color: var(--accent-light); font-weight: 700; }
.kb-content code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--card); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--accent-light); }

/* Executor notice callout (replaces the old full-width button) */
.exec-notice { display: flex; gap: 14px; max-width: 840px; margin: 4px 0 0; padding: 18px 20px; background: var(--accent-dim); border: 1px solid rgba(0,176,111,0.28); border-radius: 12px; }
.exec-notice .en-icon { flex-shrink: 0; }
.exec-notice .en-icon svg { width: 22px; height: 22px; color: var(--accent-light); }
.exec-notice h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.exec-notice p { font-size: 0.88rem; color: var(--text-sec); margin-bottom: 8px; }
.exec-notice a { color: var(--accent-light); font-weight: 600; }
.exec-notice .en-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: 0.84rem; font-weight: 700; padding: 8px 15px; border-radius: 8px;
  background: var(--card); border: 1px solid rgba(0,176,111,0.4); color: var(--accent-light);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.exec-notice .en-link:hover { background: var(--card-hover); border-color: var(--accent); }
.exec-notice .en-link svg { width: 14px; height: 14px; }

/* Features checklist */
.feature-list { list-style: none; margin: 12px 0 0; }
.feature-list li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--text-sec); margin-bottom: 12px; line-height: 1.55; }
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li svg { width: 17px; height: 17px; color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.feature-list li strong { color: var(--text); }

/* Verified-by (EEAT) */
.verified { display: flex; gap: 18px; align-items: flex-start; max-width: 840px; }
.verified .v-avatar { width: 128px; height: 128px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0,176,111,0.35); background: var(--card); overflow: hidden; }
.verified .v-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-label { font-size: 1.15rem; color: var(--text); font-weight: 800; letter-spacing: -0.2px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.v-label svg { width: 18px; height: 18px; color: var(--accent-light); }
.verified p { font-size: 0.9rem; color: var(--text-sec); margin-bottom: 8px; }
.verified a { color: var(--accent-light); font-weight: 600; }

/* Author page */
.author-page { padding: 40px 0 64px; }
.author-card { display: flex; gap: 22px; align-items: center; max-width: 760px; margin-bottom: 30px; }
.author-card .a-avatar { width: 128px; height: 128px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0,176,111,0.35); background: var(--card); overflow: hidden; }
.author-card .a-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-card h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 4px; }
.author-card .a-role { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-light); font-weight: 700; }
.author-bio { max-width: 760px; color: var(--text-sec); }
.author-bio p { margin-bottom: 14px; }
.author-bio strong { color: var(--text); }
.author-bio a { color: var(--accent-light); font-weight: 600; }
.author-bio a:hover { text-decoration: underline; }

/* ===========================================================
   KB article body prose (direct children of .kb-content).
   Scoped to direct children so the CTA box, prev/next and
   article-list components keep their own styling.
   =========================================================== */
.kb-content > h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.3px; color: var(--text); margin: 30px 0 12px; }
.kb-content > h3 { font-size: 1.06rem; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.kb-content > p:not(.kb-lead) { color: var(--text-sec); font-size: 1rem; line-height: 1.75; margin-bottom: 15px; max-width: 760px; }
.kb-content > ul { margin: 2px 0 18px 22px; max-width: 760px; }
.kb-content > ul li { color: var(--text-sec); font-size: 0.93rem; line-height: 1.7; margin-bottom: 8px; }
.kb-content > p strong, .kb-content > ul strong { color: var(--text); }
.kb-content > p a, .kb-content > ul a { color: var(--accent-light); font-weight: 600; }
.kb-content > p a:hover, .kb-content > ul a:hover { text-decoration: underline; }
