/* Lagos Hotel: game guides (whot.html, ludo.html). Loaded after legal.css, which sets the page, header and type. */
/* Digits in the display font come from Bricolage Grotesque, as in the game (css/style.css): Pixelify Sans's 5 looks like an S */
@font-face { font-family: "LH Digits"; font-style: normal; font-weight: 300 900; font-display: swap; unicode-range: U+0030-0039, U+002B, U+002C, U+002E;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.woff2) format("woff2"); }
:root { --f-display: "LH Digits", "Pixelify Sans", "Courier New", monospace; }
.crumbs { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.lead { margin: 14px 0 20px; }
.play { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 2px solid #000; border-radius: 4px; background: var(--danfo); color: #1b1608;
  font: 700 18px/1.1 var(--f-display); text-decoration: none; box-shadow: 0 4px 0 #000; transition: transform .08s, box-shadow .08s; }
.play:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #000; }
.play:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
.play-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 6px; }
.play-row small { color: var(--muted); font-size: 14px; }
figure { margin: 22px 0; }
figure img, figure .board { display: block; width: 100%; height: auto; border: 3px solid #000; border-radius: 4px; background: var(--panel); }
figure .board { max-width: 420px; margin: 0 auto; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.toc { padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.toc b { font: 700 15px var(--f-display); color: var(--danfo); }
.toc ol { margin: 6px 0 0; columns: 2 14rem; column-gap: 24px; } .toc li { break-inside: avoid; }
/* Whot cards: the special cards in a row (wraps on phones) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 16px 0 8px; padding: 0; list-style: none; }
.cards li { margin: 0; display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.cards svg { width: 52px; height: auto; display: block; filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .45)); }
.cards b { display: block; font: 700 15px/1.2 var(--f-display); color: var(--danfo); margin-bottom: 2px; }
.cards span { font-size: 14px; line-height: 1.45; }
.wn { font: 700 13px var(--f-display); fill: #a3162b; }
.ww { font: 700 14px var(--f-display); fill: #a3162b; }
.shapes { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.shapes svg { width: 40px; height: auto; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .45)); }
td.n { font-variant-numeric: tabular-nums; }
.tip { margin: 18px 0; padding: 12px 14px; border-left: 4px solid #0b8a4f; background: rgba(11, 138, 79, .1); }
.tip b:first-child { color: #4fd18f; }
dl.words { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 10px 0; }
dl.words dt { font-weight: 700; color: var(--danfo); } dl.words dd { margin: 0; }
@media (max-width: 520px) { dl.words { grid-template-columns: 1fr; } dl.words dd { margin-bottom: 6px; } }
.end { margin: 36px 0 0; padding: 18px; background: var(--panel); border: 2px solid #000; border-radius: 4px; box-shadow: 0 3px 0 var(--danfo) inset; }
.end h2 { margin-top: 4px; }
.trio { display: flex; flex-wrap: wrap; gap: 12px; }
.trio svg { width: 60px; height: auto; filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .45)); }
.trio svg:first-child { outline: 3px solid var(--danfo); outline-offset: 2px; border-radius: 8px; }
/* ayo and draughts diagrams (they draw their own frames) */
figure .ayo { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.an { font: 700 26px var(--f-display); fill: #ffe08a; }
.al { font: 600 15px var(--f-body); fill: var(--muted); }
figure .dboard { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.pair { display: grid; gap: 18px; }
.pair figure { margin: 0; }
.step { display: inline-block; min-width: 1.6em; padding: 0 6px; margin-right: 6px; border-radius: 3px; background: var(--danfo); color: #1b1608; font: 700 13px/1.5 var(--f-display); text-align: center; }
/* Four in a Row: the frames, three side by side (stacked on phones) */
figure .four { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 16px 0; }
.ways figure { margin: 0; } .ways figcaption b { color: var(--ink); }
