/* ============================================================
   Approach A — thin layer on top of the live guide.css.
   guide.css is NOT forked; this only adds what the multi-game
   shell needs: the two-line studio logo and "not written yet"
   states. Load it AFTER guide.css.
   ============================================================ */

/* Studio nav: the logo carries the studio, not the game. */
.logo { font-size: 1.7rem; letter-spacing: 3px; line-height: 1.05; }
.logo small {
  display: block; font-family: 'Inter', sans-serif; font-size: 0.55rem;
  letter-spacing: 4px; color: var(--muted); font-weight: 600;
  text-shadow: none; margin-top: 2px;
}

/* The two-line logo makes the bar taller than guide.css assumed, so the
   first block on every guide page clears it explicitly rather than by luck. */
.page-head { padding-top: 200px; }
.solution-hero .hero-inner { padding-top: 180px; }
.puzzle-grid { padding-top: 60px; }

/* ---------- Unwritten chapters ----------
   A card with no page behind it must NOT be a link: href="#" scrolls the
   reader back to the top of the page, which reads as a broken click.
   It stays a card, visibly inert, and says so. */
.puzzle-card.is-soon {
  cursor: default; opacity: 0.55; filter: saturate(0.4);
}
.puzzle-card.is-soon:hover {
  transform: none; border-color: rgba(255, 255, 255, 0.08); box-shadow: none;
}
.puzzle-card.is-soon .thumb img { transform: none; }
.puzzle-card.is-soon .cta { color: var(--muted); }

/* Same rule for a store button with no store page yet. */
.nav-btn.is-disabled,
.is-disabled {
  cursor: default; opacity: 0.45; background: transparent;
  border-color: rgba(255, 255, 255, 0.25); color: var(--muted);
}

/* Guide index for the whole catalogue (one card per game). */
.guide-hub-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px; padding: 20px 10% 120px 10%;
}
.guide-hub-card {
  display: block; text-decoration: none; color: var(--text);
  background: #17171b; border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 4px solid var(--g, var(--primary)); transition: 0.3s;
}
.guide-hub-card:hover { transform: translateY(-8px); border-color: var(--g); }
.guide-hub-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #000; }
.guide-hub-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-hub-card .card-body { padding: 24px 26px 28px; }
.guide-hub-card h3 {
  font-family: 'Oswald', sans-serif; font-size: 1.8rem; letter-spacing: 1px; margin-bottom: 6px;
}
.guide-hub-card .card-meta {
  color: var(--muted); font-size: 0.85rem; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px;
}
.guide-hub-card .cta {
  font-family: 'Oswald', sans-serif; letter-spacing: 2px; color: var(--g, var(--primary));
}

@media (max-width: 768px) {
  .page-head { padding-top: 150px; }
  .solution-hero .hero-inner { padding-top: 140px; }
  .guide-hub-grid { grid-template-columns: 1fr; padding: 20px 7% 90px 7%; }
}

/* ---------- Keybind row ----------
   What a build game's guide needs and a puzzle guide does not. */
.keys { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 55px; }
.keys span {
  font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); padding: 7px 12px;
}
.keys span b { color: #fff; font-weight: 700; }

/* An inert "next chapter" slot keeps the footer nav balanced without a dead link. */
.puzzle-nav .next.is-disabled { pointer-events: none; }

/* ---------- Language switcher ----------
   A bare <select> renders with the OS widget: grey box, system font, native
   arrow. Strip the native appearance and draw our own chevron so it reads as
   part of the navbar instead of a browser control. */
.nav-links select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  font-family: 'Oswald', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text); background-color: transparent;
  border: 0; border-bottom: 2px solid var(--primary);
  padding: 7px 26px 7px 2px; margin: 0;
  cursor: pointer; outline: none; transition: 0.25s;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 10px 6px;
}
.nav-links select:hover { color: var(--primary); border-bottom-color: var(--primary); }
.nav-links select:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
/* The dropdown list itself is drawn by the OS; only its colours are ours. */
.nav-links select option { background: #121215; color: #fff; font-family: 'Inter', sans-serif; }

@media (max-width: 768px) {
  .nav-links select {
    width: 100%; margin-top: 14px; padding: 13px 30px 13px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15); border-bottom-width: 2px;
    border-bottom-color: var(--primary);
    background-position: right 12px center;
  }
}
