/* spotcrush.com static pages. Colors follow packages/spot_core/lib/theme/tokens.dart. No external fonts or scripts. */
:root {
  --bg: #fff8f4;
  --surface: #ffffff;
  --raised: #f6ecee;
  --text: #241a28;
  --text-2: #6e5f6d;
  --accent: #c2255c;
  --line: #ead9de;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140d18;
    --surface: #1f1524;
    --raised: #2a1d31;
    --text: #f8f1f4;
    --text-2: #bbaab9;
    --accent: #ff6b95;
    --line: #3a2a40;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Thai", "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { max-width: 720px; margin: 0 auto; padding: 20px 16px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
header.site a.brand { color: var(--text); font-weight: 700; text-decoration: none; margin-right: auto; }
header.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
header.site nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
header.site nav a[aria-current="page"] { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
p.meta { color: var(--text-2); margin: 0 0 24px; font-size: 15px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--text-2); font-weight: 600; }
footer.site { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; color: var(--text-2); font-size: 14px; }
.cta { display: inline-block; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .cta { color: #140d18; } }

/* Landing pages (/, /play, /s/…, ADR 0108). */
[hidden] { display: none !important; }
header.site .brand { display: inline-flex; align-items: center; gap: 8px; }
header.site .brand img { width: 18px; height: 26px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; color: var(--text-2); font: inherit; font-size: 14px; padding: 4px 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--raised); color: var(--text); font-weight: 600; }
.hero h1 { font-size: 32px; letter-spacing: -0.01em; }
.hero p { color: var(--text-2); margin: 0 0 24px; }
.apps { display: grid; gap: 14px; }
@media (min-width: 720px) { html[data-os="pc"] .apps, html[data-os="unknown"] .apps { grid-template-columns: 1fr 1fr; } }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; }
.app-card.first { border-color: var(--accent); }
.app-card .head { display: flex; gap: 12px; align-items: center; }
.app-card .icon { width: 60px; height: 60px; border-radius: 14px; flex: none; }
.app-card .name { font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0; }
.app-card .by { color: var(--text-2); font-size: 14px; margin: 0; }
.app-card ul { list-style: none; padding: 0; margin: 12px 0 14px; flex: 1; }
.app-card li { display: flex; gap: 8px; margin: 5px 0; font-size: 16px; }
.app-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 10px; flex: none; }
.age { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); margin-left: 6px; vertical-align: 2px; }
.install { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.install .qr { display: none; width: 104px; height: 104px; border-radius: 8px; }
html[data-os="pc"] .install .qr { display: block; }
/* Phone: this phone's store, with «Other store» to its right; opening it puts the
   other badge in the same row, so nothing pushes the page down. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.stores.center { justify-content: center; }
.stores .pair { display: flex; gap: 8px; flex-wrap: wrap; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 44px; width: auto; }
.store-soon {
  display: inline-flex; flex-direction: column; justify-content: center; height: 44px; padding: 0 12px;
  border: 1px dashed var(--text-2); border-radius: 9px; background: var(--raised); color: var(--text-2);
  line-height: 1.1; white-space: nowrap; opacity: .8; cursor: not-allowed;
}
.store-soon small { font-size: 10px; }
.store-soon strong { font-size: 16px; font-weight: 600; }
.stores details { display: inline-flex; }
.stores details summary { list-style: none; cursor: pointer; color: var(--text-2); font-size: 14px; padding: 10px 0; white-space: nowrap; }
.stores details summary::-webkit-details-marker { display: none; }
.stores details summary::after { content: " ▸"; }
.stores details[open] summary { display: none; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 6px; padding: 0; list-style: none; }
.games li { background: var(--raised); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 14px; font-weight: 600; }
.steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; margin: 12px 0; }
.steps li::before {
  content: counter(s); width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--raised); color: var(--accent); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; }
.steps span { color: var(--text-2); font-size: 15px; }
.spot-mark { display: flex; justify-content: center; padding: 24px 0 4px; }
.spot-mark img { width: 56px; height: 80px; }
.center-text { text-align: center; }
.hint { text-align: center; color: var(--text-2); font-size: 14px; margin: 8px 0 0; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 6px; }
footer.site .links a { color: var(--text-2); }
footer.site .copy { margin: 0; white-space: nowrap; }
footer.site .copy a { color: var(--text-2); }
.mark-dark { display: none; }
@media (prefers-color-scheme: dark) { .mark-light { display: none; } .mark-dark { display: inline; } }
