:root { color-scheme: light; font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: #293d38; background: #e9ece2; }
* { box-sizing: border-box; } body { margin: 0; display: flex; justify-content: center; min-height: 100dvh; background-image: radial-gradient(#cdd5c7 0.6px, transparent 0.6px); background-size: 12px 12px; }
#stage { position: relative; min-height: 650px; background: #f7f5ee; box-shadow: 0 0 70px #334c3814; overflow: hidden; }
#game { display: block; touch-action: none; }
#controls { position: absolute; inset: 0; pointer-events: none; }
.hit { position: absolute; border: 0; background: transparent; color: transparent; padding: 0; font-size: 1px; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 14px; }
.hit:focus-visible { outline: 3px dashed #ea8258; outline-offset: 3px; }
.hit:disabled { cursor: default; } .hit:hover:not(:disabled) { background: #293d3808; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.desktop-note { position: fixed; right: calc(50% + 265px); top: 20%; width: 210px; }.desktop-note span { font-size: 38px; font-weight: 800; letter-spacing: 8px; }.desktop-note p { font-size: 15px; line-height: 1.8; }.desktop-note small { color: #7d8980; font-size: 11px; }
dialog { border: 0; border-radius: 24px; padding: 25px; width: min(360px, calc(100vw - 40px)); color: #293d38; background: #fdfbf5; box-shadow: 0 20px 80px #172e3a44; } dialog::backdrop { background: #172e3a66; backdrop-filter: blur(4px); }
dialog h2 { margin: 0 0 14px; font-size: 21px; } dialog p { line-height: 1.8; font-size: 14px; color: #69766c; white-space: pre-wrap; } dialog input { width: 100%; border: 1px solid #d0d9ce; border-radius: 12px; padding: 14px; font: inherit; outline-color: #31594d; background: white; }
.dialog-actions { display: flex; gap: 12px; margin-top: 22px; } .dialog-actions button { flex: 1; padding: 13px; border: 0; border-radius: 12px; background: #e6eddc; color: #293d38; font: inherit; cursor: pointer; } .dialog-actions .primary { background: #31594d; color: white; }
@media (max-width: 1024px) { .desktop-note { display: none; } }
