/* Mahjong Kitty pages: the game's night-alley look (colours from prototypes/swipe-alley/match.html). No web fonts, no scripts. */
:root{--night:#221838;--night-2:#2c2148;--outline:#170f29;--ink:#fff2e2;--muted:#c9bde6;
  --fur:#f4a259;--blush:#ff8db6;--gold:#ffd34d;--nip:#79e2a0;
  --card:#fff4e6;--card-ink:#2a1f45;--card-soft:#4d4166;--card-line:#e6d3b8;--link:#5b2fb8;--short:#ffe7c4;
  --f-display:ui-rounded,"Arial Rounded MT Bold","Nunito","Trebuchet MS",system-ui,sans-serif;
  --f-body:ui-rounded,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--card:#30264f;--card-ink:#fff2e2;--card-soft:#c9bde6;--card-line:#4a3d78;--link:#ffc27a;--short:#3d3166}}
*{box-sizing:border-box}
html{background:var(--night)}
body{margin:0;min-height:100vh;color:var(--ink);font:17px/1.6 var(--f-body);
  background:radial-gradient(circle at 12% 0%,rgba(255,141,182,.16),transparent 40%),radial-gradient(circle at 92% 18%,rgba(255,179,92,.12),transparent 38%),
  radial-gradient(1.5px 1.5px at 20% 12%,#fff2c4 99%,transparent),radial-gradient(1.5px 1.5px at 78% 6%,#fff2c4 99%,transparent),
  radial-gradient(1.5px 1.5px at 60% 30%,rgba(255,242,196,.7) 99%,transparent),radial-gradient(1.5px 1.5px at 8% 40%,rgba(255,242,196,.6) 99%,transparent),var(--night);
  background-repeat:no-repeat;background-size:100% 900px}
main{max-width:760px;margin:0 auto;padding:16px 16px 24px}
p,li,td,th{overflow-wrap:anywhere}
a{color:var(--gold);text-underline-offset:3px}
a:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:8px}
h1,h2{font-family:var(--f-display);font-weight:800;line-height:1.2;letter-spacing:.01em}
img{max-width:100%;height:auto;display:block}
figure{margin:0}

/* buttons: the game's chunky pills */
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 20px;border-radius:999px;
  border:3px solid var(--outline);box-shadow:0 4px 0 var(--outline);background:linear-gradient(180deg,#ffd9a3,#ffb35c 55%,#f09a3a);
  color:var(--outline);font-family:var(--f-display);font-weight:800;font-size:17px;text-decoration:none;text-align:center;line-height:1.2}
.pill:active{transform:translateY(3px);box-shadow:0 1px 0 var(--outline)}

/* home */
.hero{text-align:center;padding:20px 0 8px}
.hero .icon{width:112px;height:112px;margin:0 auto 6px;border-radius:26px;box-shadow:0 6px 0 var(--outline),0 10px 30px rgba(0,0,0,.35)}
.wm{margin:10px 0 0;display:flex;flex-direction:column;align-items:center;line-height:.95}
.wm .w{font-size:44px;color:var(--ink);letter-spacing:.04em;-webkit-text-stroke:3px var(--outline);paint-order:stroke fill;text-shadow:0 4px 0 var(--outline)}
.wm .k{font-size:66px;color:var(--blush);margin-top:2px}
.pitch{font-family:var(--f-display);font-weight:800;font-size:23px;margin:18px 0 2px}
.sub{color:var(--muted);margin:0 0 14px}
.soon{display:inline-block;margin:4px 0 0;padding:8px 16px;max-width:100%;border-radius:999px;background:var(--night-2);border:2px solid var(--gold);color:var(--gold);font-weight:700;font-size:15px;line-height:1.35;text-wrap:balance}
.stores{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:4px 0 0}
.stores+.soon{margin-top:12px}
.keyart{margin:22px 0 0}
.keyart img{width:100%;border-radius:20px;border:3px solid var(--outline);box-shadow:0 6px 0 var(--outline)}
.shots{display:flex;gap:14px;margin:22px -16px 0;padding:4px 16px 12px;overflow-x:auto;scroll-snap-type:x mandatory}
.shots figure{flex:0 0 62%;scroll-snap-align:center}
.shots img{width:100%;border-radius:18px;border:3px solid var(--outline);box-shadow:0 5px 0 var(--outline)}
@media (min-width:640px){.shots{margin:24px 0 0;padding:4px 0 12px;overflow:visible}.shots figure{flex:1 1 0}}
.links{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:24px 0 0}
.foot{text-align:center;color:var(--muted);font-size:15px;padding:8px 16px 40px}
.foot a{display:inline-flex;align-items:center;min-height:44px}

/* privacy and help */
.top{display:flex;align-items:center;justify-content:space-between;gap:8px 10px;flex-wrap:wrap;
  padding:8px max(12px,calc((100% - 760px)/2 + 12px));background:rgba(34,24,56,.94);border-bottom:2px solid var(--outline)}
.back{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding-right:6px;color:var(--ink);text-decoration:none;font-family:var(--f-display);font-weight:800;font-size:18px}
.back svg{width:22px;height:22px;flex:none}
.back img{width:40px;height:40px;border-radius:10px;box-shadow:0 2px 0 var(--outline)}
.top .pill{min-height:44px;padding:6px 16px;font-size:15px;box-shadow:0 3px 0 var(--outline)}
.doc h1{font-size:34px;margin:18px 0 4px}
.doc>.sub{margin:0 0 18px}
.doc .sub a{color:var(--gold)}
.card{background:var(--card);color:var(--card-ink);border:3px solid var(--outline);border-radius:18px;box-shadow:0 4px 0 var(--outline);padding:6px 20px 8px;margin:0 0 16px}
.card.short{background:var(--short)}
.card h2{font-size:21px;margin:14px 0 6px}
.card a{color:var(--link)}
.card ul{padding-left:20px}
.card li{margin:6px 0}
.scroll{overflow-x:auto;margin:8px 0}
table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.5}
th,td{text-align:left;vertical-align:top;padding:8px 10px;border-bottom:1px solid var(--card-line);min-width:120px}
th{font-family:var(--f-display)}
@media (max-width:420px){.back{font-size:16px;gap:6px}.back img{width:34px;height:34px}.top .pill{font-size:14px;padding:6px 12px}.doc h1{font-size:30px}.wm .w{font-size:38px}.wm .k{font-size:56px}.card{padding:4px 16px 6px}}
@media (prefers-reduced-motion:reduce){.pill:active{transform:none}}

/* press kit */
.press figure{margin:0}
.press figcaption{font-size:15px;margin:6px 0 0}
.press .art{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;margin:8px 0 12px}
.press .art figure{flex:0 0 140px}
.press .art figure.wide{flex:1 1 300px}
.press .art img,.press .grid img,.press .grid video{width:100%;height:auto;border-radius:14px;border:3px solid var(--outline);background:var(--outline)}
.press .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:8px 0 12px}
@media (min-width:640px){.press .grid{grid-template-columns:repeat(3,1fr)}}

/* meet the cats, tile matching, tips */
.catgrid{list-style:none;padding:0;margin:8px 0 14px;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media (min-width:560px){.catgrid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:720px){.catgrid{grid-template-columns:repeat(4,1fr)}}
.catgrid li{margin:0;text-align:center;padding:12px 8px 10px;border-radius:16px;border:2px solid var(--card-line);background:var(--short)}
.catgrid li.silver{grid-column:1/-1;max-width:260px;justify-self:center;width:100%}
.catgrid img{width:96px;height:96px;margin:0 auto;border-radius:50%;border:3px solid var(--outline);box-shadow:0 3px 0 var(--outline)}
.catgrid h3{font-family:var(--f-display);font-weight:800;font-size:19px;margin:8px 0 0;line-height:1.2}
.catgrid p{margin:2px 0 0;font-size:15px;line-height:1.4;color:var(--card-soft)}
.words sup{font-size:12px;line-height:0}
.words sup a{display:inline-block;padding:0 3px}
.src{padding-left:22px}
.src li{margin:6px 0}
.links.more{margin:8px 0 0}
