:root {
      --coral: #ee6c61;
      --cream: #fffcf1;
      --white: #ffffff;
      --ink: #1f1c1c;
      --grey: #69605f;
      --yellow: #f4b63f;

      --display: "Red Hat Display", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
      --text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }

    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

    body {
      margin: 0;
      background: var(--coral);
      color: var(--ink);
      font-family: var(--text);
      font-size: 18px;
      line-height: 1.6;
      /* Clears the floating music player (bottom-left) and Rankings button
         (bottom-right) so they never sit on top of the footer, even on
         short pages where the viewport is taller than the content. */
      padding-bottom: 96px;
    }

    a { color: inherit; }
    :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

    /* ---------- Header ---------- */

    .top {
      max-width: 1200px;
      margin: 0 auto;
      padding: 16px 36px 0;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 28px;
    }

    .wordmark {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-end;
      text-decoration: none;
      font-family: var(--display);
      font-weight: 900;
      line-height: 1;
    }
    .wordmark .big { font-size: 38px; letter-spacing: 0.01em; }
    .wordmark .small { font-size: 17px; font-weight: 800; margin-top: 3px; }

    .nav {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 26px;
    }
    .nav a {
      text-decoration: none;
      font-weight: 700;
    }
    .nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px; }

    .nav .outline,
    .nav .fill {
      padding: 8px 20px;
      border: 2px solid var(--ink);
      border-radius: 999px;
    }
    .nav .outline:hover { background: var(--white); text-decoration: none; }
    .nav .fill { background: var(--ink); color: var(--cream); }
    .nav .fill:hover { background: var(--yellow); color: var(--ink); text-decoration: none; }

    /* The Donate sticker: word + arrow + logo. Opens the donation popup. */

    .donate {
      display: flex;
      align-items: flex-end;
      text-decoration: none;
      color: var(--ink);
    }

    .donate img {
      display: block;
      width: 118px;
      height: auto;
      transform-origin: 50% 65%;
      transition: transform 0.28s cubic-bezier(0.3, 1.6, 0.5, 1);
    }
    .donate:hover img,
    .donate:focus-visible img { transform: rotate(-3deg) scale(1.05); }
    .donate:focus-visible { outline-offset: 5px; border-radius: 18px; }

    .donate-word {
      position: relative;
      isolation: isolate;
      margin: 0 -4px 40px 0;
      padding: 0 3px;
      font-family: var(--display);
      font-weight: 900;
      font-size: 30px;
      line-height: 1;
      transform: rotate(-5deg);
    }
    .donate-word::before {
      content: "";
      position: absolute;
      z-index: -1;
      left: -7px;
      right: -6px;
      bottom: 2px;
      height: 46%;
      background: var(--yellow);
      border-radius: 5px;
      transform: rotate(-1.5deg);
    }

    .donate-arrow {
      display: block;
      width: 46px;
      height: auto;
      margin: 0 -2px 22px 0;
      overflow: visible;
      transition: transform 0.2s ease-out;
    }
    .donate-arrow path {
      fill: none;
      stroke: var(--ink);
      stroke-width: 4;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .donate:hover .donate-arrow { transform: translate(3px, 3px); }

    /* One entrance moment: the sticker lands, the word appears, the arrow draws itself. */
    @media (prefers-reduced-motion: no-preference) {
      .donate img { animation: land 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
      .donate-word { animation: word-in 0.35s ease-out 0.45s both; }
      .donate-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.45s ease-out 0.8s forwards; }
      .donate-arrow path + path { animation-delay: 1.2s; animation-duration: 0.25s; }
    }
    @keyframes land {
      from { opacity: 0; transform: translateY(-22px) rotate(-4deg) scale(1.08); }
      to   { opacity: 1; transform: none; }
    }
    @keyframes word-in {
      from { opacity: 0; transform: rotate(-5deg) translateY(8px); }
      to   { opacity: 1; transform: rotate(-5deg); }
    }
    @keyframes draw { to { stroke-dashoffset: 0; } }

    /* ---------- Hero ---------- */

    .hero {
      position: relative;
      overflow: hidden;
      padding: 56px 0 120px;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 36px;
    }
    .hero h1 {
      margin: 0 0 18px;
      max-width: 12ch;
      font-family: var(--display);
      font-weight: 900;
      font-size: clamp(46px, 6.4vw, 80px);
      line-height: 1;
      letter-spacing: -0.02em;
    }
    .hero p {
      margin: 0 0 30px;
      max-width: 34ch;
      font-size: 21px;
    }
    .hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

    .btn {
      display: inline-block;
      padding: 14px 30px;
      font-family: var(--display);
      font-weight: 800;
      font-size: 18px;
      text-decoration: none;
      border: 2px solid var(--ink);
      border-radius: 999px;
      transition: background 0.15s, color 0.15s;
    }
    .btn.fill { background: var(--ink); color: var(--cream); }
    .btn.fill:hover { background: var(--yellow); color: var(--ink); }
    .btn.outline { background: transparent; }
    .btn.outline:hover { background: var(--white); }

    /* Decor, copied from the logo: dark outline + white sticker border */
    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      border: 3px solid var(--ink);
      box-shadow: 0 0 0 11px var(--white);
    }
    .hero::before {
      width: 54px;
      height: 54px;
      right: 30%;
      top: 26px;
      background: var(--yellow);
    }
    .hero::after {
      width: 44vmin;
      height: 44vmin;
      right: -9vmin;
      bottom: -21vmin;
      background: var(--grey);
    }

    /* ---------- Sections ---------- */

    .block {
      max-width: 1000px;
      margin: 0 auto 72px;
      padding: 0 32px;
      scroll-margin-top: 24px;
    }
    .sticker {
      padding: 40px 44px 44px;
      background: var(--cream);
      border: 3px solid var(--ink);
      border-radius: 30px;
      box-shadow: 0 0 0 10px var(--white);
    }
    .sticker h2 {
      margin: 0 0 14px;
      font-family: var(--display);
      font-weight: 900;
      font-size: 38px;
      line-height: 1.1;
      letter-spacing: -0.01em;
    }
    .sticker p { margin: 0 0 16px; max-width: 60ch; }
    .sticker p:last-child { margin-bottom: 0; }

    .games {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 22px;
      margin-top: 22px;
    }
    .game {
      display: block;
      padding: 16px 16px 20px;
      background: var(--white);
      border: 2px solid var(--ink);
      border-radius: 20px;
      text-decoration: none;
      transition: background 0.12s;
    }
    a.game:hover { background: var(--cream); }
    .game-art {
      aspect-ratio: 16 / 9;
      margin-bottom: 14px;
      background: var(--grey);
      border: 2px solid var(--ink);
      border-radius: 12px;
    }
    .game h3 {
      margin: 0 0 4px;
      font-family: var(--display);
      font-weight: 800;
      font-size: 21px;
    }
    .game p { margin: 0; font-size: 16px; color: var(--grey); }

    /* ---------- Footer ---------- */

    .foot {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 36px 40px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 12px;
      font-weight: 700;
    }
    .foot a { text-underline-offset: 4px; }

    /* ---------- Narrow screens: basic, not final ---------- */

    @media (max-width: 860px) {
      .top { grid-template-columns: 1fr auto; padding: 14px 20px 0; gap: 12px 16px; }
      .nav { grid-column: 1 / -1; order: 3; flex-wrap: wrap; justify-content: flex-start; gap: 14px 20px; }
      .donate img { width: 84px; }
      .donate-word { font-size: 22px; margin-bottom: 28px; }
      .donate-arrow { width: 34px; margin-bottom: 16px; }
      .hero { padding-bottom: 90px; }
      .hero-inner, .foot { padding-left: 20px; padding-right: 20px; }
      .block { padding: 0 24px; }
      .sticker { padding: 28px 24px 30px; }
    }

/* ---------- Inner pages (games, games-nsfw, team): same header/footer, simple body ---------- */

.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 0 20px;
}

.page-h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.nsfw-pointer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  font-weight: 600;
}
.nsfw-pointer a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Follow us: social links row ---------- */

.social {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.12s;
}
.social a:hover { background: var(--yellow); }
.social svg { width: 16px; height: 16px; flex: none; }

/* ---------- 18+ age gate dialog ---------- */

.vx-age-dialog {
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 10px var(--white);
  max-width: 420px;
  width: 90vw;
}
.vx-age-dialog::backdrop { background: rgba(31, 28, 28, 0.62); }
.vx-age-card { padding: 30px 28px; text-align: center; }
.vx-age-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 21px;
}
.vx-age-body { margin: 0 0 22px; }
.vx-age-actions { display: flex; gap: 12px; justify-content: center; }
.vx-age-actions .btn { padding: 11px 22px; font-size: 15px; }

/* ---------- Account modal (sign up / sign in) ---------- */

.vx-acct-dialog {
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 10px var(--white);
  max-width: 380px;
  width: 90vw;
}
.vx-acct-dialog::backdrop { background: rgba(31, 28, 28, 0.62); }
.vx-acct-card { position: relative; padding: 30px 28px 32px; }

.vx-acct-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.vx-acct-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 4px 0 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.vx-acct-tab {
  flex: 1;
  padding: 8px 0;
  border: 0;
  border-radius: 8px;
  background: none;
  font-weight: 700;
  cursor: pointer;
}
.vx-acct-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }

.vx-acct-blurb { margin: 0 0 14px; font-size: 14px; color: var(--grey); }

.vx-acct-form .field-label {
  display: block;
  margin: 12px 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
}
.vx-acct-form input[type="text"],
.vx-acct-form input[type="password"] {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
}
.vx-acct-msg {
  margin: 12px 0 0;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  background: #ffe6e2;
  border: 2px solid #c4443a;
  border-radius: 10px;
}
.vx-acct-msg-ok { background: #e9f7e6; border-color: #3a7d34; }
.vx-acct-form .cta { width: 100%; margin-top: 18px; }

@media (max-width: 860px) {
  .page-main { padding: 32px 20px 20px; }
}

/* ---------- Floating music player (bottom-left) ---------- */

.vx-music {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147481900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 0 6px var(--white);
}

.vx-music-play {
  width: 34px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
}
.vx-music-play:hover { background: var(--yellow); color: var(--ink); }
.vx-music-play svg { width: 15px; height: 15px; }

.vx-music-skip {
  width: 24px;
  height: 24px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.7;
}
.vx-music-skip:hover { opacity: 1; }
.vx-music-skip svg { width: 13px; height: 13px; }

.vx-music-label {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.vx-music-vol {
  width: 56px;
  accent-color: var(--ink);
}

.vx-music-toast {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  max-width: 260px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}
.vx-music-toast-show { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .vx-music { left: 10px; bottom: 10px; padding: 6px 8px 6px 6px; gap: 5px; }
  .vx-music-label { max-width: 68px; font-size: 11px; }
  .vx-music-vol { width: 40px; }
  .vx-music-skip { width: 20px; height: 20px; }
  .vx-music-toast { max-width: calc(100vw - 20px); }
}

/* ---------- Donation Rankings widget (bottom-right) ---------- */

:root {
  --vx-green: #6a9c47;
  --vx-orange: #e08a3c;
}

.vx-rank-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147481800;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 0 6px var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.vx-rank-launcher:hover { background: var(--yellow); color: var(--ink); }
.vx-rank-launcher svg { width: 16px; height: 16px; }

.vx-rank-panel {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 2147481850;
  width: min(560px, calc(100vw - 36px));
  max-height: min(70vh, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 0 0 8px var(--white);
  transform: scale(0.94) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}
.vx-rank-panel-open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.vx-rank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 14px;
}
.vx-rank-min {
  width: 26px;
  height: 26px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.vx-rank-min:hover { background: var(--yellow); }

.vx-rank-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
}
.vx-rank-tab {
  padding: 7px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.vx-rank-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }

.vx-rank-bars {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 20px 16px 16px;
}
.vx-rank-empty { margin: 0; color: var(--grey); font-size: 14px; }

.vx-rank-col {
  flex: none;
  width: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vx-rank-track {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: flex-end;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
}
.vx-rank-bar {
  width: 100%;
  min-height: 4px;
  background: var(--vx-green);
}
.vx-rank-name {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vx-rank-sep {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 4px;
  border-radius: 3px;
  background: var(--vx-orange);
}

@media (max-width: 700px) {
  .vx-rank-launcher { right: 10px; bottom: 10px; padding: 9px 14px 9px 11px; }
  .vx-rank-launcher span { display: none; }
  .vx-rank-panel { right: 10px; bottom: 64px; }
}

/* ---------- Updates page (devlogs / devblogs / roadmap) ---------- */

.vx-post-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 26px;
}
.vx-post-tab {
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.vx-post-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }

.vx-post {
  padding: 22px 0;
  border-top: 2px solid var(--ink);
}
.vx-post:first-of-type { border-top: 0; padding-top: 0; }

.vx-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--grey);
  font-weight: 700;
}
.vx-post-badge {
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--grey);
}
.vx-post-badge-devlog { background: var(--coral); }
.vx-post-badge-devblog { background: var(--vx-green, #6a9c47); }
.vx-post-badge-roadmap { background: var(--yellow); color: var(--ink); }
.vx-post-badge-announcement { background: var(--ink); }

.vx-post h2, .vx-post h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
}
.vx-post p { margin: 0 0 10px; }
.vx-post p:last-child { margin-bottom: 0; }

/* ---------- Team card, shared between the homepage teaser and /team/ ---------- */

.team-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.member {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 18px;
  text-align: center;
}
.member-photo {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--grey);
  border: 2px solid var(--ink);
  object-fit: cover;
  display: block;
}
.member h2, .member h3 { margin: 0 0 2px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.member .role { display: block; margin-bottom: 8px; font-size: 13px; color: var(--grey); font-weight: 700; }
.member p { margin: 0; font-size: 14px; }

.vx-see-more { display: inline-block; margin-top: 18px; font-weight: 700; }

/* ---------- Game / Software project pages ---------- */

.vx-project-art {
  aspect-ratio: 16 / 8;
  margin: 18px 0 22px;
  background-color: var(--grey);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.vx-project-lead {
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 20px;
}

.vx-project-md {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.vx-project-md h1,
.vx-project-md h2,
.vx-project-md h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 24px 0 10px;
}
.vx-project-md h1:first-child,
.vx-project-md h2:first-child,
.vx-project-md h3:first-child { margin-top: 0; }
.vx-project-md h1 { font-size: 26px; }
.vx-project-md h2 { font-size: 22px; }
.vx-project-md h3 { font-size: 19px; }
.vx-project-md p { margin: 0 0 14px; }
.vx-project-md ul, .vx-project-md ol { margin: 0 0 14px; padding-left: 22px; }
.vx-project-md li { margin-bottom: 6px; }
.vx-project-md a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.vx-project-md strong { font-weight: 800; }
.vx-project-md code {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.92em;
}
.vx-project-md pre {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 14px;
  overflow-x: auto;
  margin: 0 0 14px;
}
.vx-project-md pre code { border: 0; padding: 0; background: none; }
.vx-project-md blockquote {
  margin: 0 0 14px;
  padding: 4px 16px;
  border-left: 4px solid var(--yellow);
  color: var(--grey);
}
.vx-project-md img { max-width: 100%; border-radius: 10px; border: 2px solid var(--ink); }

/* Reuse the project-page Markdown styles inside Updates posts, minus the
   divider line (the post itself already has one). */
.vx-post .vx-project-md { border-top: 0; padding-top: 0; }

/* ---------- FAQ accordion ---------- */

.vx-faq-item {
  border-top: 2px solid var(--ink);
}
.vx-faq-item:first-child { border-top: 0; }

.vx-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
}
.vx-faq-icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.vx-faq-q:hover .vx-faq-icon { background: var(--yellow); }

.vx-faq-a {
  padding: 0 0 20px;
}
.vx-faq-a .vx-project-md { border-top: 0; padding-top: 0; }

/* ---------- Two-row header with dropdown nav ---------- */

.top-2row { display: block; padding-top: 14px; }

.top-row1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.top-row1 .client-area { justify-self: start; }
.logo-splash-wrap {
  justify-self: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top-row1 .wordmark { justify-self: unset; }
.splash-text {
  position: absolute;
  top: 100%;
  margin-top: 2px;
  padding: 2px 8px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
  transform: rotate(-4deg);
  pointer-events: none;
}
.splash-text:empty { display: none; }

@media (max-width: 860px) {
  .splash-text { font-size: 10px; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.top-row1 .donate { justify-self: end; }
.client-area { flex: none; padding: 8px 18px; }

.top-row2 {
  max-width: 1200px;
  margin: 14px auto 0;
  padding: 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.nav-drop { position: relative; }
.nav-drop-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink);
}
.nav-drop-caret { font-size: 10px; }
.nav-drop-trigger:hover,
.nav-drop:focus-within .nav-drop-trigger { text-decoration: underline; text-underline-offset: 4px; }

.nav-drop-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 40;
  min-width: 190px;
  padding: 6px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 8px 0 var(--white);
  display: none;
  flex-direction: column;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.nav-drop-open .nav-drop-menu { display: flex; }
.nav-drop-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.nav-drop-menu a:hover { background: var(--yellow); }

/* ---------- Footer social row (Communities/Follow icons row, no fixed-widget overlap) ---------- */

.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  order: 3;
  width: 100%;
  margin: 6px 0;
  font-size: 13px;
  font-weight: 700;
}
.foot-social a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .top-row1 { padding: 0 16px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .client-area { padding: 8px 12px; font-size: 13px; }
  .top-row2 { padding: 0 20px; margin-top: 10px; }
  .nav-drop-trigger { padding: 10px 10px; font-size: 14px; }
}

/* ---------- Team member role pills (public page) ---------- */

.member-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 8px;
}
.member-roles span {
  padding: 3px 10px;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- FAQ category headings ---------- */

.vx-faq-cat {
  margin: 28px 0 4px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  color: var(--coral-dark, #c4443a);
}
.vx-faq-cat:first-child { margin-top: 0; }

.vx-faq-contact-h2 {
  margin: 34px 0 8px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
}

/* ---------- Scrollable body box for game/software project pages ----------
   Long write-ups (like a full game description) get a bounded, scrollable
   box instead of pushing the whole page down. */

.vx-project-scrollbox {
  position: relative;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}
.vx-project-scrollbox::after {
  content: "";
  position: sticky;
  display: block;
  left: 0;
  bottom: 0;
  height: 36px;
  margin-top: -36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
  pointer-events: none;
}
/* The fade only makes sense while content overflows; JS removes this class
   once the box is short enough to show everything, or once scrolled to the end. */
.vx-project-scrollbox.vx-scroll-end::after { display: none; }

/* ---------- Roadmap timeline ---------- */

.vx-timeline {
  margin-top: 18px;
  border-left: 3px solid var(--ink);
  padding-left: 20px;
}
.vx-timeline-row {
  position: relative;
  padding-bottom: 22px;
}
.vx-timeline-row:last-child { padding-bottom: 0; }
.vx-timeline-dot {
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--ink);
}
.vx-timeline-date {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 2px;
}

/* ---------- Funding goal progress bars (homepage Supporting section) ---------- */

.vx-goal { margin: 16px 0; }
.vx-goal-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 14px;
}
.vx-goal-label span { color: var(--grey); font-weight: 700; }
.vx-goal-track {
  height: 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.vx-goal-bar {
  height: 100%;
  background: var(--vx-green, #6a9c47);
  border-radius: 999px;
  min-width: 4px;
}

/* ---------- Contact Support form ---------- */

.vx-contact-form { margin-top: 18px; }
.vx-contact-form input[type="text"],
.vx-contact-form input[type="email"],
.vx-contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  margin-top: 4px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
}
.vx-contact-form textarea { resize: vertical; }
.vx-contact-form .cta { margin-top: 16px; }
.vx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
