/* Shootout's terms and privacy policy: the game's own ground (white, ink, one red action, the four move colours as
   accents), made to be read on a phone and left in one tap. No JavaScript; prints clean. */
/* The game's own face, DM Sans (@fontsource/dm-sans 5.3.0, SIL OFL 1.1: fonts/OFL.txt), served beside these pages so
   they never depend on the app bundle's hashed file names. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/legal/fonts/dm-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/legal/fonts/dm-sans-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/legal/fonts/dm-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/legal/fonts/dm-sans-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #fff; --ink: #15131a; --soft: #6e6a78; --line: #e6e4ec; --panel: #f6f5fa;
  --cta: #e11d48; --cta-ink: #fff;
  --rock: #ff3b30; --paper: #ffcc00; --scissors: #30d158; --shoot: #5856d6;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); }
a { color: var(--cta); text-underline-offset: 2px; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* the top bar: the game's wordmark home, and Play */
.bar { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .bar { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(10px); } }
.bar-in { max-width: 760px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.bar img { display: block; height: 24px; width: auto; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--cta); color: var(--cta-ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(225, 29, 72, .28); }
.pill:hover { filter: brightness(1.05); }
.pill:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.pill img { width: 18px; height: auto; }
.bar .pill { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: none; }

/* the document */
.doc { max-width: 760px; margin: 0 auto; padding: 28px 16px 40px; }
.kicker { margin: 0; color: var(--soft); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 6px 0 4px; font-weight: 700; font-size: clamp(30px, 8vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.meta { margin: 0 0 20px; color: var(--soft); font-size: 14px; }
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); margin: 0 0 22px; }
.switch a { padding: 8px 16px; border-radius: 999px; color: var(--soft); font-weight: 700; font-size: 14px; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.switch a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(21, 19, 26, .12); }

/* in short: the whole page on one card, a move colour per point */
.short { background: var(--panel); border-radius: 22px; padding: 22px 22px 10px; margin: 0 0 18px; }
.short h2 { margin: 0 0 12px; font-size: 19px; font-weight: 700; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { position: relative; padding: 0 0 12px 24px; }
.points li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--rock)); }
.points li:nth-child(4n+2) { --c: var(--paper); }
.points li:nth-child(4n+3) { --c: var(--scissors); }
.points li:nth-child(4n+4) { --c: var(--shoot); }
.short .then { margin: 4px 0 12px; color: var(--soft); font-size: 14px; }

/* contents, folded until asked for */
.toc { border: 1px solid var(--line); border-radius: 16px; margin: 0 0 6px; }
.toc summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--soft); font-weight: 400; font-size: 22px; line-height: 1; }
.toc[open] summary::after { content: "−"; }
.toc ol { margin: 0; padding: 0 18px 16px 42px; columns: 2; column-gap: 28px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* sections */
section { margin-top: 30px; padding-top: 6px; border-top: 1px solid var(--line); }
section h2 { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 6px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.n { flex: none; display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; transform: translateY(-2px); }
.gist { margin: 0 0 12px; color: var(--soft); font-size: 15px; }
p { margin: 0 0 12px; }
ul.list { margin: 0 0 12px; padding-left: 22px; }
ul.list li { margin: 0 0 6px; }
.caps { font-size: 13px; line-height: 1.6; letter-spacing: .01em; }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 2px; margin: 0 0 12px; }

/* tables (privacy): rows on a desk, cards on a phone */
.table { margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); font-weight: 700; }
td:first-child { font-weight: 700; width: 34%; }

.foot { max-width: 760px; margin: 0 auto; padding: 20px 16px 28px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--soft); }

/* on a phone, Play rides at the bottom of the screen: one tap back into the game from anywhere in the text */
.dock { display: none; }
@media (max-width: 719px) {
  .bar .pill { display: none; }
  .dock { display: flex; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 18px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .96) 38%); pointer-events: none; }
  .dock .pill { pointer-events: auto; width: min(100%, 420px); min-height: 52px; font-size: 16px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .toc ol { columns: 1; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td { border: 0; padding: 2px 0; }
  td:first-child { width: 100%; }
}
@media print {
  .bar, .dock, .toc, .switch { display: none; }
  body { font-size: 12pt; }
  a { color: var(--ink); }
  section { break-inside: auto; }
}
.toc li.sub { list-style: none; }
