:root { --bg:#111111; --ink:#ffffff; --sub:#b9b9b9; --accent:#F4F400; --line:#434343; }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body { margin:0; height:100%; background:var(--bg); color:var(--ink);
  font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif; overscroll-behavior:none; }
#app { max-width:480px; margin:0 auto; min-height:100%; display:flex; }
.screen { flex:1; display:flex; flex-direction:column; justify-content:center; gap:14px;
  padding:24px 16px calc(24px + env(safe-area-inset-bottom)); }
.screen[hidden] { display:none; }
.kicker { margin:0; color:var(--accent); font-weight:700; font-size:13px; letter-spacing:.08em; }
h1 { margin:0; font-size:34px; line-height:1.25; }
.desc { margin:0; color:var(--sub); font-size:15px; line-height:1.7; }
.howto { margin:6px 0 10px; padding:14px 14px 14px 34px; border:1px solid var(--line); border-radius:12px;
  font-size:14px; line-height:1.9; }
.note { margin:0; color:var(--sub); font-size:12px; text-align:center; }
.btn { display:block; width:100%; padding:16px; border-radius:999px; border:1px solid var(--line);
  background:transparent; color:var(--ink); font:inherit; font-weight:700; font-size:16px;
  text-align:center; text-decoration:none; cursor:pointer; }
.btn.primary { background:var(--accent); border-color:var(--accent); color:#111; }
.btn.ghost { border-color:transparent; color:var(--sub); }
#s-play { padding:0; justify-content:flex-start; }
#stage { display:block; width:100%; touch-action:none; user-select:none; -webkit-user-select:none; }
#r-card { width:100%; border-radius:12px; display:block; }
