/* The site's styles, shared by index.html and weather.html. */
/* Ember's warm palette and its three faces (../index.html :root), so the site and the game are one place.
   site: copied by hand, to be shared with the client when both are served from one origin. */
:root {
  --bg: #141210; --surface: #1a1815; --surface-2: #1f1c18; --raised: #221f1b; --rule: #2a2620; --line: #37322b; --line-2: #474036;
  --text: #ebe3d6; --text-2: #c6bcac; --dim: #9a9082; --faint: #70685c;
  --prose: #e4dccd; --place: #dcb77a; --place-hi: #f0d9a8; --link: #d9a466; --link-hi: #efc48e; --accent: #d39a5f;
  --display: "Cormorant Garamond", Georgia, serif; --read: Literata, Georgia, serif; --ui: Figtree, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--link) 55%, transparent); }
a:hover { color: var(--link-hi); }
:focus-visible { outline: 2px solid var(--link-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; color: var(--text-2); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; padding: 8px 14px; background: var(--raised); }
html[data-launch="open"] .when-soon, html[data-launch="soon"] .when-open { display: none; }
html:not([data-signup="invite"]) .when-invite, html[data-launch="soon"] .when-invite { display: none; } /* a new account needs an invite key: the game says so (index.html) */

/* The bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 10px max(16px, calc((100% - 1080px) / 2)); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.wordmark { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 25px; color: var(--place-hi); text-decoration: none; }
.bar nav { display: flex; gap: 24px; margin-left: auto; }
.bar nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.bar nav a:hover { color: var(--text); }
.btn { display: inline-block; padding: 14px 32px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 16.5px; text-decoration: none; }
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn.go { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 700; }
.btn.go:hover { background: var(--link-hi); border-color: var(--link-hi); color: var(--bg); }
.bar .btn { padding: 7px 18px; font-size: 14.5px; }

/* The hero: the town's glow from below, fog across it, and glimmerwings */
.hero { position: relative; overflow: hidden; min-height: min(calc(100vh - 54px), 900px); display: grid; place-items: center; padding: 72px 16px 96px; text-align: center;
  background: radial-gradient(95% 60% at 50% 108%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%); }
.fog { position: absolute; inset: -10% -60%; pointer-events: none; filter: blur(40px); opacity: .9;
  background: radial-gradient(34% 26% at 22% 62%, color-mix(in srgb, var(--text) 9%, transparent), transparent 70%), radial-gradient(30% 22% at 58% 34%, color-mix(in srgb, var(--text) 6%, transparent), transparent 70%), radial-gradient(36% 24% at 84% 70%, color-mix(in srgb, var(--place) 9%, transparent), transparent 70%);
  animation: drift 140s ease-in-out infinite alternate; }
.fog.b { animation-duration: 200s; animation-direction: alternate-reverse; transform: scaleX(-1); opacity: .6; }
@keyframes drift { from { translate: -18% 0; } to { translate: 18% 0; } }
.moths { position: absolute; inset: 0; pointer-events: none; }
.moths i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: var(--place-hi); box-shadow: 0 0 9px 2px color-mix(in srgb, var(--accent) 70%, transparent);
  animation: wander var(--t) ease-in-out var(--d) infinite alternate, glim 5.5s ease-in-out var(--d) infinite; }
@keyframes wander { 0% { translate: 0 0; } 25% { translate: 34px -22px; } 50% { translate: -12px -58px; } 75% { translate: -44px -26px; } 100% { translate: 18px -84px; } }
@keyframes glim { 0%, 100% { opacity: .25; } 45% { opacity: .95; } 70% { opacity: .5; } }
.hero-in { position: relative; max-width: 780px; }
/* The town now, by the game's clock (clock.js) */
.hero .now { margin-bottom: 18px; font: 600 12.5px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.hero h1 { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(60px, 13.5vw, 150px); line-height: .95; letter-spacing: -.01em; color: var(--place-hi); text-shadow: 0 0 70px color-mix(in srgb, var(--accent) 45%, transparent); }
.hero .line1 { margin-top: 26px; font-family: var(--display); font-weight: 600; font-size: clamp(25px, 3.6vw, 40px); line-height: 1.2; color: var(--text); }
.hero .what { margin: 20px auto 0; max-width: 33em; font-size: 18px; color: var(--text-2); }
.cta { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.own { margin-top: 20px; font-size: 14.5px; color: var(--dim); }

/* Sections */
section { padding: 104px max(16px, calc((100% - 1080px) / 2)); border-top: 1px solid var(--rule); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; color: var(--place); }
.lead { margin-top: 14px; max-width: 38em; font-family: var(--read); font-size: 18px; line-height: 1.7; color: var(--prose); }
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }

.beats { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.beats h3 { padding-top: 18px; border-top: 2px solid color-mix(in srgb, var(--accent) 45%, var(--raised)); font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--place-hi); }
.beats p { margin-top: 10px; font-family: var(--read); font-size: 16.5px; line-height: 1.7; color: var(--prose); }
.beats .more { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.beats .more::after { content: " \203A"; }
/* Each class beside what it rises as */
.beats .pairs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; font-size: 14.5px; }
.pairs li { padding: 5px 0; border-top: 1px solid var(--rule); color: var(--dim); }
.pairs li span { display: block; font-weight: 600; color: var(--place); }
/* Small cards: a thing to do, said in a line or two */
.tiles { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tiles .card { padding: 22px 24px; }
.tiles .card h3 { margin-top: 0; font-size: 25px; }
.tiles .card p { margin-top: 8px; font-family: var(--read); font-size: 15.5px; line-height: 1.65; color: var(--prose); }

/* "What it looks like" (weather.html, in a frame that fills its section): pictures to pick, sounds, the weather */
section.stage { padding: 0; }
.stage iframe { display: block; width: 100%; height: 1040px; border: 0; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.arrow { width: 36px; height: 36px; padding: 0 0 3px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--text); font: 400 24px/1 var(--ui); cursor: pointer; }
.arrow:hover { border-color: var(--accent); }
.dots { display: flex; gap: 2px; }
.dots button { width: 26px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; background: var(--line-2); }
.dots button:hover::before { background: var(--dim); }
.dots button[aria-current="true"]::before { background: var(--accent); }
/* The dots in two sets, each named: pictures, then moments to play (a play mark for a dot) */
.dots .set { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dots .set > span { display: flex; gap: 2px; }
.dots small { font: 600 11px var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.dots .moments button::before { width: 11px; height: 12px; border-radius: 0; clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
.demo-cap { flex: 1 1 300px; font-size: 15.5px; color: var(--text-2); }
.demo-cap b { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--place-hi); margin-right: 4px; }
.shown { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.log { padding: 22px 24px 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 30px 80px -40px #000; }
.cmd { font-size: 14px; font-weight: 500; color: var(--text-2); }
.cmd::before { content: "›"; color: var(--accent); font-weight: 700; margin-right: 6px; }
.arrival { margin-top: 12px; padding: 16px 22px 16px 20px; border-left: 2px solid color-mix(in srgb, var(--accent) 33%, var(--raised)); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.arrival h3 { font-family: var(--display); font-weight: 700; font-size: 27px; line-height: 1.15; color: var(--place); margin-bottom: 10px; }
.prose { font-family: var(--read); font-size: 17.5px; line-height: 1.72; color: var(--prose); }
.exits { margin-top: 12px; font-size: 14px; color: var(--dim); }
.exits span { margin-left: 10px; font-weight: 600; color: var(--link); }

.card { display: flex; flex-direction: column; padding: 24px 24px 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.card .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.card h3 { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 31px; line-height: 1.15; color: var(--place-hi); }
.card .pitch { margin: 10px 0 16px; font-family: var(--read); font-size: 16.5px; line-height: 1.65; color: var(--prose); }
.card details { margin-bottom: 16px; }
.card summary { cursor: pointer; width: fit-content; font-size: 14.5px; font-weight: 600; color: var(--link); }
.card summary:hover { color: var(--link-hi); }
.card details p { margin-top: 10px; font-family: var(--read); font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.card .rises { margin: -4px 0 16px; font-size: 14.5px; font-weight: 600; color: var(--place); }
.card .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--dim); }
.card .meta span { white-space: nowrap; }
.card .more { margin-top: 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
/* A class card's three drawn abilities (build.mjs SIGNATURE) */
.card .sig { display: flex; gap: 8px; margin-bottom: 14px; }
.card .sig svg { display: block; width: 36px; height: 36px; }
/* Ten classes: four to a row leaves two at the end, not one alone */
.grid.kits { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card .more::after { content: " \203A"; }

/* The map of the world, with a mark on each race's start (build.mjs world) */
.world { margin-top: 44px; }
.map { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px #000; }
/* Clipped: a mark or name at the edge (Ooraluun) would otherwise spill past it and scroll the map sideways */
.map-in { position: relative; min-width: 520px; overflow: hidden; }
.map img { display: block; width: 100%; height: auto; }
/* The map's names (build.mjs world): text over the picture, sized by the width the map is shown at, in the
   client's map ink with a halo of its paper (index.html worldView INK, PAPER). */
.map-in { container-type: inline-size; }
.names { position: absolute; inset: 0; pointer-events: none; }
.lbl { position: absolute; translate: -50% -50%; white-space: nowrap; font: 700 clamp(13px, 2.4cqi, 22px)/1 var(--display); font-variant: small-caps; letter-spacing: .06em; color: #3b2a1a;
  -webkit-text-stroke: .32em #cbb68c; paint-order: stroke fill; text-shadow: 0 0 .5em #cbb68c; }
.lbl.east { translate: 0 -50%; }
.lbl.town { font-style: italic; font-variant: normal; letter-spacing: 0; }
.pin { position: absolute; width: 15%; height: 13%; translate: -50% -50%; padding: 0; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer; }
.pin span { position: absolute; left: -999em; }
.pin:hover, .pin:focus-visible { border-color: color-mix(in srgb, #962d1f 55%, transparent); }
.pin[aria-pressed="true"] { border-color: #962d1f; background: radial-gradient(closest-side, transparent 60%, color-mix(in srgb, #962d1f 22%, transparent)); }
.tabs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button, .tabs.jump a { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--text-2); font: 600 14.5px var(--ui); cursor: pointer; }
.tabs button:hover, .tabs.jump a:hover { border-color: var(--accent); color: var(--text); }
.tabs.jump a { text-decoration: none; }
.tabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.race { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; padding: 28px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.race[hidden] { display: none; }
.race .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.race h3 { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1.1; color: var(--place-hi); }
.race .pitch { margin: 12px 0 18px; font-family: var(--read); font-size: 16.5px; line-height: 1.65; color: var(--prose); }
.race .listen { margin: -6px 0 16px; }
.race .listen .hear { margin-left: 0; }
.race .meta { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--dim); }
.race .lore { font-family: var(--read); font-size: 16.5px; line-height: 1.75; color: var(--prose); }
/* Wide: the map beside the race, so the page a mark picks is in view as it is picked */
@media (min-width: 1000px) {
  .world { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 32px; align-items: start; }
  .world > .map { grid-column: 1; grid-row: 1 / span 2; }
  .world .map-in { min-width: 0; }
  .world > .tabs { grid-column: 2; margin-top: 0; }
  .world > .race { grid-column: 2; grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* classes.html: a class at a time (build.mjs kits), and what it learns as a ladder of levels */
.page-head { padding-top: 72px; padding-bottom: 28px; border-top: 0; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; color: var(--place); }
.page-head .tabs { margin-top: 28px; }
/* Terms and Privacy: one column to read */
.legal { padding-bottom: 104px; }
.legal .updated { margin-top: 8px; font-size: 14px; color: var(--dim); }
.legal h2 { margin-top: 48px; font-size: clamp(26px, 3.2vw, 34px); }
.legal p, .legal li { max-width: 42em; font-family: var(--read); font-size: 16.5px; line-height: 1.72; color: var(--prose); }
.legal h2 + p, .legal ul + p, .legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }
.legal li b { color: var(--text); }
.notes h2 { font-variant-numeric: lining-nums; }
.notes h2 .updated { margin-left: 10px; font-family: var(--read); font-weight: 400; font-size: 16px; }
.notes h3 { margin-top: 24px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--place-hi); }
.notes code { white-space: normal; }
.class { padding-top: 40px; border-top: 0; }
.class[hidden] { display: none; }
.class .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.class h2 { margin-top: 6px; font-size: clamp(40px, 6vw, 64px); color: var(--place-hi); }
.class .meta { margin-top: 14px; font-size: 14px; color: var(--dim); }
.kit { list-style: none; margin: 40px 0 0; padding: 0; max-width: 860px; }
.kit li { display: grid; grid-template-columns: 44px 34px minmax(0, 1fr); gap: 0 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.kit .lv { font: 700 17px/1.45 var(--ui); font-variant-numeric: tabular-nums; color: var(--place); text-align: right; } /* not the display face: its 1 reads as I */
.kit .ic { font-size: 21px; line-height: 1.3; text-align: center; }
/* A drawn ability icon (build.mjs icon) where the emoji stood, at the emoji's size */
.ic svg { display: block; width: 30px; height: 30px; margin: 0 auto; }
.talents .ic svg { width: 26px; height: 26px; }
.songbook button svg { width: 1.3em; height: 1.3em; vertical-align: -0.3em; }
.kit h4 { margin: 0; font: 600 17px/1.4 var(--ui); color: var(--text); }
.kit h4 small { margin-left: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.kit .pitch { margin-top: 3px; font-family: var(--read); font-size: 16px; line-height: 1.6; color: var(--prose); }
.kit .num { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--dim); }
.kit .passive h4 { color: var(--text-2); }
.kit-head, .promo h3 { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.15; color: var(--place); }
.kit-head { margin-top: 48px; }
.kit-head + .kit { margin-top: 16px; }
/* A promoted class's talents (build.mjs talents): a section at a time */
.promo { max-width: 860px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.promo > p { margin-top: 12px; max-width: 46em; font-family: var(--read); font-size: 16.5px; line-height: 1.7; color: var(--prose); }
.secs { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.secs > span { margin: 0 2px 0 10px; font: 600 12px var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.secs > span:first-child { margin-left: 0; }
.secs button { padding: 7px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--text-2); font: 600 14.5px var(--ui); cursor: pointer; }
.secs button:hover { border-color: var(--accent); color: var(--text); }
.secs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.sec { margin-top: 22px; padding: 24px 28px 8px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.sec h4 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--place-hi); }
.sec h4 small, .talents h5 small { margin-left: 8px; font: 600 11.5px var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); vertical-align: 3px; }
.talents h5 small { vertical-align: 1px; }
.sec .about { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.talents { list-style: none; margin: 16px 0 0; padding: 0; }
.talents li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 10px; padding: 14px 0; border-top: 1px solid var(--rule); }
.talents li.deep { margin-left: calc(var(--depth) * 26px); padding-left: 14px; border-left: 2px solid var(--line); }
.talents .ic { font-size: 19px; line-height: 1.35; text-align: center; }
.talents h5 { margin: 0; font: 600 16.5px/1.4 var(--ui); color: var(--text); }
.talents p { margin-top: 3px; font-family: var(--read); font-size: 15.5px; line-height: 1.6; color: var(--prose); }
.talents p b { font-weight: 600; color: var(--place-hi); }
.talents .was { font-family: var(--ui); font-size: 13.5px; color: var(--dim); }
.talents .cost { margin-top: 5px; font-family: var(--ui); font-size: 13px; color: var(--faint); }
/* A name in a talent, and what it opens (classes.html, "A name in a talent"). */
.ref { padding: 0; border: 0; background: none; font: inherit; color: var(--link); text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.ref:hover, .ref[aria-expanded="true"] { color: var(--link-hi); }
.refcard { margin-top: 8px; padding: 10px 14px 12px; background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; }
.talents .refcard p { margin-top: 4px; font-size: 14.5px; }
.talents .refcard .part { margin: 0 0 6px; font: italic 14px/1.5 var(--read); color: var(--text-2); }
.talents .refcard .name { margin-top: 0; font: 600 14.5px/1.4 var(--ui); color: var(--text); }
.refcard .name small { margin-left: 6px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.talents .refcard .num { font-family: var(--ui); font-size: 13.5px; color: var(--dim); }
.refcard .go { margin-top: 8px; padding: 0; border: 0; background: none; font: 600 13.5px var(--ui); color: var(--link); cursor: pointer; }
.refcard .go::after { content: " \203A"; }
.refcard .go:hover { color: var(--link-hi); }
.kit li.flash { animation: flash 1.8s ease-out; }
@keyframes flash { from { background: color-mix(in srgb, var(--accent) 24%, transparent); } }
/* An ability's sound, on a press (hear/: capture-sounds.mjs) */
:is(.kit, .talents, .race) .hear { margin-left: 10px; padding: 2px 11px 2px 9px; vertical-align: 1px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--text-2); font: 600 12px/1.5 var(--ui); cursor: pointer; }
:is(.kit, .talents, .race) .hear::before { content: "\25B8\00a0"; color: var(--accent); }
:is(.kit, .talents, .race) .hear:hover { border-color: var(--accent); color: var(--text); }
:is(.kit, .talents, .race) .hear[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
:is(.kit, .talents, .race) .hear[aria-pressed="true"]::before { content: "\25A0\00a0"; color: var(--bg); }
/* The Bard's songs, to be heard (build.mjs songbook) */
.songbook { margin-top: 36px; max-width: 860px; padding: 24px 28px 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.songbook h3 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--place-hi); }
.songbook p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.songbook .tabs { margin-top: 14px; padding-left: 92px; align-items: center; } /* a row's name in the margin, so a second line of buttons falls under the first */
.songbook h3 + p + p + .tabs { margin-top: 22px; }
.songbook .tabs > span { flex: 0 0 84px; margin-left: -92px; font: 600 12.5px var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.songbook button:disabled { opacity: .45; cursor: default; border-color: var(--line-2); color: var(--text-2); }
.songbook .note { color: var(--dim); }
.songbook .note:empty { display: none; }

.ways { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.ways h3 { font-family: var(--display); font-weight: 700; font-size: 27px; color: var(--place-hi); }
.ways p, .ways li { font-size: 15.5px; color: var(--text-2); }
.ways p { margin-top: 8px; }
.ways ul { margin: 12px 0 0; padding-left: 20px; }
.ways li { margin-top: 4px; }

.faq { margin-top: 36px; max-width: 46em; }
.faq details { padding: 16px 0; border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 23px; color: var(--place-hi); }
.faq summary:hover { color: var(--link-hi); }
.faq p { margin-top: 10px; font-family: var(--read); font-size: 16px; line-height: 1.7; color: var(--prose); }
.addr { margin-top: 14px; padding: 10px 14px; background: var(--surface-2); border-radius: 8px; width: fit-content; }

/* "How it plays" on the landing page: each card opens its part of guide.html */
.card.go-to { color: inherit; text-decoration: none; }
.card.go-to:hover { border-color: var(--accent); }
.card.go-to h3::after { content: " \203A"; color: var(--accent); }

footer { padding: 44px max(16px, calc((100% - 1080px) / 2)) 56px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; font-size: 14px; color: var(--faint); }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .wordmark { margin-right: auto; }

@media (max-width: 780px) {
  /* the page's links under the bar, a row to swipe along */
  .bar { flex-wrap: wrap; gap: 6px 16px; padding-bottom: 0; }
  .bar nav { order: 3; flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 4px 16px 10px; overflow-x: auto; scrollbar-width: none; gap: 20px;
    mask-image: linear-gradient(90deg, #000 82%, transparent); } /* the fade says there's more to swipe to */
  .bar nav::-webkit-scrollbar { display: none; }
  .bar nav a { white-space: nowrap; }
  .bar .btn { margin-left: auto; }
  html { scroll-padding-top: 104px; }
  .promo { scroll-margin-top: 104px; }
  .sec { padding: 18px 16px 4px; }
  .talents li.deep { margin-left: calc(var(--depth) * 12px); padding-left: 10px; }
  section { padding-top: 72px; padding-bottom: 72px; }
  .shown { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .race { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .kit li { grid-template-columns: 30px 26px minmax(0, 1fr); gap: 0 8px; }
  .kit .lv { font-size: 15px; }
  .songbook { padding: 20px; }
  .songbook .tabs { padding-left: 0; }
  .songbook .tabs > span { flex-basis: 100%; margin-left: 0; }
  .log { padding: 16px 14px 18px; }
  .arrival { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog, .moths i { animation: none; }
  .moths i { opacity: .6; }
}
