@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');

:root { color-scheme: light; --ink:#173246; --muted:#526a79; --paper:#eaf0f1; --white:#fbfcf9; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'Noto Sans SC',system-ui,sans-serif; }
body::before { content:''; position:fixed; inset:0; pointer-events:none; opacity:.24; background-image:radial-gradient(#9ab1b6 .7px, transparent .7px); background-size:13px 13px; }
a { color:inherit; }
.site-shell { position:relative; width:min(1180px, calc(100% - 48px)); margin:auto; }
.site-header { min-height:91px; display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:2px solid var(--ink); }
.brand { display:inline-flex; align-items:center; gap:12px; font-weight:900; font-size:20px; text-decoration:none; letter-spacing:.03em; white-space:nowrap; }
.brand-mark { width:29px; height:29px; display:grid; grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(2,1fr); gap:3px; transform:rotate(-11deg); }
.brand-mark i { display:block; border-radius:3px; background:#e15d44; }
.brand-mark i:nth-child(2) { background:#e3b44e; }
.brand-mark i:nth-child(3) { background:#5787af; }
.brand-mark i:nth-child(4) { background:#6b9679; }
.header-note { font-size:13px; font-weight:600; color:var(--muted); }
.intro { min-height:258px; display:flex; align-items:center; justify-content:space-between; gap:24px; overflow:hidden; }
.intro-copy { padding:30px 0; position:relative; z-index:1; }
.intro h1 { margin:0; font-size:clamp(48px,6.6vw,86px); line-height:1.17; letter-spacing:-.075em; font-weight:900; }
.intro p { margin:18px 0 0; font-size:clamp(14px,1.6vw,17px); line-height:1.7; color:var(--muted); }
.intro-doodle { position:relative; flex:none; width:230px; height:165px; border:2px dashed #91aab4; border-radius:50%; transform:rotate(-13deg); }
.doodle-ball { position:absolute; width:48px; height:48px; left:30px; top:30px; border:4px solid var(--ink); border-radius:50%; background:#dc6048; box-shadow:5px 5px 0 #b8cbd0; }
.doodle-tile { position:absolute; right:35px; bottom:28px; width:61px; height:61px; display:grid; place-items:center; border:3px solid var(--ink); border-radius:10px; background:#e5b44c; font-size:31px; font-weight:900; transform:rotate(13deg); }
.doodle-arrow { position:absolute; right:28px; top:10px; font:900 44px/1 system-ui,sans-serif; }
.games { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(270px,1fr)); gap:18px; }
.game-card { position:relative; display:block; min-width:0; min-height:270px; overflow:hidden; border:2px solid var(--ink); border-radius:20px; text-decoration:none; isolation:isolate; transition:transform .18s ease, box-shadow .18s ease; }
.game-card:hover { transform:translateY(-4px); box-shadow:0 12px 0 rgba(23,50,70,.12); }
.game-card:focus-visible,.brand:focus-visible { outline:4px solid #e16643; outline-offset:4px; }
.card-copy { position:relative; z-index:2; padding:32px 34px; width:min(71%,410px); display:flex; flex-direction:column; align-items:flex-start; min-height:100%; }
.game-type { font-size:12px; font-weight:700; letter-spacing:.04em; }
.game-card h2 { margin:12px 0 10px; font-size:clamp(28px,3.5vw,47px); line-height:1.16; letter-spacing:-.05em; font-weight:900; white-space:nowrap; }
.game-card p { margin:0; max-width:20em; font-size:14px; line-height:1.72; }
.play-link { display:inline-flex; align-items:center; gap:15px; margin-top:auto; padding:12px 0 3px; border-bottom:2px solid currentColor; font-size:14px; font-weight:800; white-space:nowrap; }
.play-link span { font:700 22px/1 system-ui,sans-serif; transition:transform .18s ease; }
.game-card:hover .play-link span { transform:translate(3px,-3px); }
.sling-card { background:#efd5ae; }
.sling-card::before { content:''; position:absolute; inset:13px; border:2px solid rgba(101,64,37,.35); border-radius:11px; }
.sling-card .card-copy { width:72%; padding:32px 34px; }
.sling-card h2 { font-size:clamp(37px,4vw,48px); }
.sling-card p { max-width:22em; }
.sling-card .play-link { margin-top:22px; }
.sling-art { position:absolute; width:51%; height:64%; right:-8%; bottom:-18%; border:13px solid #9d673c; border-radius:36px; background:repeating-linear-gradient(0deg,#e8bc82 0 26px,#e5b87e 26px 27px); box-shadow:inset 0 0 0 4px #703f24, 0 14px 0 rgba(52,31,20,.14); transform:rotate(-14deg); }
.sling-rail { position:absolute; top:49%; width:43%; height:9px; background:#5d3928; box-shadow:0 3px 0 #b58a5a; }
.sling-rail.left { left:0; } .sling-rail.right { right:0; }
.puck { position:absolute; width:33px; height:33px; border-radius:50%; border:3px solid rgba(0,0,0,.22); box-shadow:3px 5px 0 rgba(0,0,0,.16), inset -5px -5px 0 rgba(0,0,0,.11); }
.puck-red { background:#cf5a45; } .puck-blue { background:#4078ab; }
.puck-red.one { left:15%; top:14%; } .puck-red.two { right:17%; top:24%; }
.puck-blue.one { left:23%; bottom:12%; } .puck-blue.two { right:16%; bottom:17%; }
.sling-trail { position:absolute; left:33%; bottom:23%; width:35%; border-top:4px dashed rgba(53,94,132,.55); transform:rotate(-25deg); }
.rps-card { background:#f4d9d4; }
.rps-card .card-copy { width:69%; }
.rps-art { position:absolute; width:220px; height:205px; right:-34px; bottom:-28px; transform:rotate(-12deg); }
.rps-token { position:absolute; width:92px; height:92px; display:grid; place-items:center; border:3px solid #693b48; border-radius:50%; color:#693b48; font:900 58px/1 system-ui,sans-serif; box-shadow:6px 7px 0 rgba(105,59,72,.16); }
.rps-token.rock { top:0; right:52px; background:#ed8b80; }
.rps-token.scissors { left:0; bottom:8px; background:#f8e0ad; transform:rotate(-24deg); }
.rps-token.paper { right:0; bottom:0; background:#e9b6bf; transform:rotate(14deg); }
.maze-card { background:#cfe1e5; }
.maze-card .card-copy { width:66%; }
.maze-art { position:absolute; width:185px; aspect-ratio:1; right:-24px; bottom:-44px; border:12px solid #214d64; border-radius:21px; background:#88b4c0; box-shadow:inset 0 0 0 3px #4c8293; transform:rotate(13deg); }
.maze-wall { position:absolute; height:12px; background:#214d64; border-radius:8px; }
.maze-wall.a { width:65%; top:23%; left:0; } .maze-wall.b { width:55%; top:50%; right:0; } .maze-wall.c { width:58%; bottom:19%; left:0; }
.maze-wall.d { width:12px; height:33%; top:23%; left:47%; }
.maze-ball { position:absolute; width:31px; height:31px; border-radius:50%; background:#f5ba57; border:3px solid #214d64; right:20%; top:13%; box-shadow:3px 4px 0 rgba(17,47,63,.25); }
.maze-goal { position:absolute; width:24px; height:24px; border-radius:50%; border:6px solid #df6755; bottom:10%; right:14%; }
.garden-card { background:#dcebcf; }
.garden-card .card-copy { width:67%; }
.garden-art { position:absolute; right:-23px; bottom:-26px; width:198px; display:grid; grid-template-columns:repeat(2,82px); gap:9px; transform:rotate(10deg); }
.garden-art span { aspect-ratio:1; display:flex; flex-direction:column; align-items:center; justify-content:center; background:#f8f0d8; border:3px solid #729467; border-radius:13px; color:#446e50; font-size:29px; font-weight:900; box-shadow:4px 5px 0 rgba(68,110,80,.18); }
.garden-art span:nth-child(2) { background:#d8e8b3; } .garden-art span:nth-child(3) { background:#b6dc9a; } .garden-art span:nth-child(4) { background:#8ac578; }
.garden-art small { font-size:10px; line-height:1.2; }
.yesterday-card { background:#f4eee0; }
.yesterday-card h2 { font-size:clamp(29px,3.2vw,41px); }
.yesterday-art { position:absolute; width:210px; height:185px; right:-12px; bottom:2px; transform:rotate(-10deg); background:repeating-linear-gradient(0deg,transparent 0 25px,#83abb466 25px 26px); border:3px solid #325271; box-shadow:6px 7px 0 #85a7ae; }
.yesterday-line { position:absolute; top:38px; left:34px; width:118px; height:85px; border-left:3px dashed #315c72; border-bottom:3px dashed #315c72; border-right:3px dashed #315c72; border-radius:0 0 15px 15px; }
.yesterday-person { position:absolute; display:grid; place-items:center; width:43px; height:43px; border-radius:50%; border:3px solid #345369; font-size:17px; font-weight:900; }
.yesterday-person.past { top:17px; left:15px; background:#9bd0d3; }.yesterday-person.now { right:24px; bottom:33px; background:#e6875c; color:white; }
.yesterday-door { position:absolute; right:13px; top:11px; color:#4e946a; font-size:36px; }
footer { padding:25px 0 35px; color:var(--muted); font-size:12px; text-align:right; }
@media (max-width:760px) {
  .site-shell { width:min(100% - 28px,560px); }
  .site-header { min-height:72px; }
  .brand { font-size:17px; } .brand-mark { width:24px; height:24px; }
  .header-note { font-size:11px; }
  .intro { min-height:190px; }
  .intro h1 { font-size:clamp(38px,9vw,58px); }
  .intro p { margin-top:12px; }
  .intro-doodle { width:110px; height:90px; margin-right:-20px; }
  .doodle-ball { width:27px; height:27px; left:10px; top:16px; border-width:2px; }
  .doodle-tile { width:33px; height:33px; right:12px; bottom:12px; font-size:18px; border-width:2px; }
  .doodle-arrow { font-size:24px; top:5px; }
  .games { display:flex; flex-direction:column; gap:13px; }
  .game-card,.sling-card { min-height:242px; }
  .sling-card { min-height:280px; }
  .card-copy,.sling-card .card-copy { width:72%; padding:24px; }
  .sling-card h2 { font-size:42px; }
  .game-card p { font-size:12px; }
  .sling-art { width:59%; height:59%; right:-18%; bottom:-9%; border-width:9px; }
  .rps-art { right:-55px; bottom:-32px; transform:rotate(-12deg) scale(.82); }
  .maze-art { width:160px; right:-45px; bottom:-30px; }
  .garden-art { right:-54px; bottom:-27px; transform:rotate(10deg) scale(.83); }
  footer { text-align:center; }
}
@media (max-width:390px) {
  .header-note { display:none; }
  .card-copy,.sling-card .card-copy { width:76%; padding:22px; }
  .game-card h2 { font-size:29px; }
  .sling-card h2 { font-size:39px; }
  .play-link { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
