/* Shared look for the website's guide pages (how to play, story, missions, download, about). Generated by tools/build_pages.py. */
:root { --gold: #ffcf4a; --cream: #fff4dc; --red: #c8161d; --red2: #8e0f14; --ink: #160904; --line: rgba(255,207,74,.2); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 17px/1.65 Nunito, system-ui, sans-serif; }
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 12px 24px; background: rgba(22,9,4,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .logo img { height: 30px; width: auto; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.top nav a { color: var(--cream); text-decoration: none; font-weight: 800; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--gold); background: rgba(255,207,74,.08); }
.play { display: inline-block; background: linear-gradient(180deg, var(--red), var(--red2)); color: #fff; text-decoration: none; font: 800 16px Nunito, sans-serif; padding: 10px 18px; border-radius: 10px; border: 1px solid rgba(255,207,74,.5); white-space: nowrap; }
.play.big { font-size: 19px; padding: 14px 26px; }
@media (max-width: 860px) {
  .top { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .top nav { order: 3; width: 100%; margin: 0; overflow-x: auto; flex-wrap: nowrap; }
  .top nav a { white-space: nowrap; font-size: 14px; }
  .top .play { margin-left: auto; padding: 8px 14px; font-size: 14px; }
}

.hero { position: relative; min-height: 340px; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,9,4,.96) 4%, rgba(22,9,4,.35) 60%, rgba(22,9,4,.15)); }
.hero .in { position: relative; z-index: 1; width: min(980px, 100% - 32px); margin: 0 auto; padding: 90px 0 34px; }
.crumbs { font-size: 14px; opacity: .8; margin-bottom: 8px; }
.crumbs a { color: var(--cream); }
.eyebrow { font: 800 13px Nunito, sans-serif; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
h1 { font: clamp(36px, 6vw, 60px)/1.05 Kavoon, Impact, sans-serif; color: #fff; margin: 6px 0 10px; }
.lead { font-size: clamp(17px, 2vw, 20px); max-width: 60ch; margin: 0; opacity: .95; }

main { width: min(980px, 100% - 32px); margin: 0 auto; padding: 24px 0 56px; }
h2 { font: 30px/1.15 Kavoon, Impact, sans-serif; color: var(--gold); margin: 44px 0 12px; scroll-margin-top: 80px; }
h3 { font-size: 19px; margin: 22px 0 4px; color: #fff; }
p, li { opacity: .93; }
.toc { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin: 10px 0 0; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 14px 0; }
.grid > div { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.grid > div b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.grid > div p { margin: 0; font-size: 15.5px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
td, th { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.tableWrap { overflow-x: auto; }
kbd { display: inline-block; min-width: 24px; padding: 1px 6px; margin: 1px; border: 1px solid rgba(255,255,255,.3); border-bottom-width: 2px; border-radius: 5px; font: 700 13px Nunito, sans-serif; text-align: center; }
.chapter { display: grid; grid-template-columns: 56px 1fr; gap: 14px; margin: 18px 0; }
.chapter i { font: 30px Kavoon, Impact, sans-serif; font-style: normal; color: var(--red); text-align: center; }
.chapter small { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chapter h3 { margin-top: 2px; }
figure { margin: 22px 0; }
figure img { border-radius: 14px; border: 1px solid var(--line); }
figcaption { font-size: 14px; opacity: .75; margin-top: 6px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .toc ol { columns: 1; } }
details { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 800; color: #fff; }
.cta { margin: 48px 0 0; padding: 28px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(142,15,20,.35), rgba(22,9,4,.2)); }
.cta h2 { margin-top: 0; }
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 30px; }
.next a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--cream); font-weight: 800; }
.next a small { display: block; color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.next a:hover { border-color: var(--gold); }

.foot { border-top: 1px solid var(--line); padding: 30px 16px 40px; text-align: center; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 14px; }
.foot nav a { color: var(--cream); font-weight: 800; text-decoration: none; }
.foot p { opacity: .7; margin: 6px 0; }
