/* Hero11 game guide. White page, logo red #EB1C24. Phone first. */

:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --red: #eb1c24;
  --red-ink: #b1131a;
  --wash: #fff5f5;
  --soft: #f6f6f6;
  --header: 56px;
  --sticky: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-ink); }
a:hover { color: var(--red); }

code, .hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; color: #fff; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--red);
}

.topbar-in {
  max-width: 1080px;
  margin: 0 auto;
  min-height: var(--header);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--ink); }

.desk-nav {
  display: none;
  gap: 4px;
  margin-left: 8px;
}
.desk-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.desk-nav a[aria-current="page"],
.desk-nav a:hover { color: var(--red); background: var(--wash); }

.btn.top-dl {
  display: inline-flex;
  width: auto;
  min-height: 40px;
  margin-left: auto;
  padding: 8px 14px;
  flex: 0 0 auto;
}

.menu-btn {
  margin-left: 8px;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  display: grid;
  place-items: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 1px;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.sheet {
  display: none;
}
body.nav-open .sheet {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #fff;
  padding: 72px 20px 28px;
  overflow: auto;
}
.sheet a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.sheet a[aria-current="page"] { color: var(--red); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 780;
}

.lede {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.05rem;
}

.actions {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c81018; color: #fff; }
.btn-line {
  background: #fff;
  color: var(--red-ink);
  border: 1.5px solid var(--red);
}
.btn-line:hover { background: var(--wash); color: var(--red-ink); }

.hero-shot {
  margin: 4px auto 8px;
  max-width: 168px;
}
.hero-shot img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
}

.crumbs {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 8px 0 28px;
}
.fact {
  background: var(--wash);
  border-radius: 12px;
  padding: 12px 14px;
}
.fact b {
  display: block;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.fact span { display: block; font-weight: 700; overflow-wrap: anywhere; }

h2 {
  margin: 32px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
  margin-bottom: 8px;
  border-radius: 2px;
}
h3 { margin: 20px 0 6px; font-size: 1.05rem; }

p { margin: 0 0 12px; }

.toc {
  background: var(--soft);
  border-radius: 12px;
  padding: 4px 14px;
  margin: 0 0 8px;
}
.toc summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 750;
  cursor: pointer;
}
.toc a {
  display: block;
  min-height: 40px;
  line-height: 40px;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.toc a:hover { color: var(--red); }

.cards, .paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 12px 0 8px;
}
.card, .path {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  min-width: 0;
}
.card strong, .path strong { display: block; margin-bottom: 4px; }
.path { text-decoration: none; color: inherit; border-top: 3px solid var(--red); }
.path:hover { background: var(--wash); color: inherit; }
.path span { color: var(--red-ink); font-weight: 700; font-size: 14px; }

ol.steps { list-style: none; margin: 12px 0; padding: 0; counter-reset: step; }
ol.steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 12px;
}
ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  display: grid;
  place-items: center;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
th { width: 38%; color: var(--muted); font-weight: 650; }

.note {
  background: var(--wash);
  border-left: 3px solid var(--red);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}
.note p:last-child { margin-bottom: 0; }

details.faq {
  border-bottom: 1px solid var(--line);
}
details.faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
}
details.faq p { color: var(--muted); }

.shot {
  margin: 16px 0;
  max-width: 320px;
}
.shot img { border-radius: 12px; border: 1px solid var(--line); }
.shot figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }

.related {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.related a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}
.related a:hover { border-color: var(--red); color: var(--red-ink); }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 16px 24px;
  background: var(--soft);
}
.site-foot-in { max-width: 760px; margin: 0 auto; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.foot-links a { color: var(--ink); font-weight: 650; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--red); }
.legal { color: var(--muted); font-size: 14px; }
.legal strong { color: var(--red); }

.sticky-dl { display: none; }
body.nav-open { overflow: hidden; }
body.nav-open .menu-btn span { background: transparent; }
body.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 2.15rem; }
}

@media (min-width: 900px) {
  .menu-btn, .sheet, .sticky-dl { display: none !important; }
  body { padding-bottom: 0; }
  .desk-nav, .btn.top-dl { display: flex; }
  .top-dl { margin-left: 8px; }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
  }
  .hero-shot { margin: 0; max-width: none; }
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
