/* The Help pages (app/templates/public/help.html): the player's colours, without the player. Its fonts come with
   the player's build; a visitor who hasn't opened the app sees the system's. */
:root {
  --bg: #0d0a14; --surface: rgba(255, 255, 255, .055); --line: rgba(255, 255, 255, .09);
  --ink: #f6f3fa; --ink-2: #cfc8dc; --muted: #9a93ab; --accent: #ff5f8f; --accent-2: #b79cff;
  --display: "Bricolage Grotesque Variable", "Manrope Variable", -apple-system, system-ui, sans-serif;
  --sans: "Manrope Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
       padding: 12px 16px; background: rgba(13, 10, 20, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.15rem/1 var(--display); text-decoration: none; }
.open, .btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
              background: var(--ink); color: #15101e; font-weight: 700; text-decoration: none; }

.help { max-width: 1040px; margin: 0 auto; padding: 16px 16px 48px; }
.crumbs { color: var(--muted); font-size: .85rem; margin: 6px 0 18px; }
.crumbs a { color: var(--ink-2); }
h1 { font: 800 clamp(1.9rem, 6vw, 2.8rem)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 10px; }
h2 { font: 800 1.35rem/1.2 var(--display); letter-spacing: -.02em; margin: 32px 0 12px; }
.lead { color: var(--ink-2); font-size: 1.1rem; max-width: 46em; margin: 0 0 24px; }

.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface);
        border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.card:hover, .card:focus-visible { border-color: var(--accent-2); }
.card .em { font-size: 1.7rem; line-height: 1; }
.card b { display: block; font: 700 1.05rem/1.3 var(--display); }
.card small { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }

.guide { display: grid; gap: 28px; align-items: start; }
.shots { display: flex; gap: 14px; margin: 0; overflow-x: auto; }
.shots img { width: min(300px, 78vw); border-radius: 28px; border: 1px solid var(--line);
             box-shadow: 0 24px 60px rgba(0, 0, 0, .45); flex: none; }
.text h2:first-child { margin-top: 0; }
.steps { padding-left: 1.4em; margin: 0 0 18px; }
.steps li { margin: 0 0 10px; padding-left: 4px; }
.steps li::marker { color: var(--accent); font-weight: 800; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--ink-2); margin: 8px 0 0; }
.more { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.more a { display: block; padding: 12px 14px; border-radius: 14px; background: var(--surface); text-decoration: none; }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px 16px 40px; }
.foot a { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

@media (min-width: 800px) {
  .guide { grid-template-columns: auto 1fr; gap: 48px; }
  .shots { flex-direction: column; overflow: visible; }
  .shots img { width: 300px; }
}
