*{box-sizing:border-box}body{margin:0;background:#f7f1e6;color:#4b483b;font-family:"Microsoft YaHei",system-ui,sans-serif;min-height:100dvh;display:flex;justify-content:center;padding:22px 14px;background-image:radial-gradient(#d8d1c1 1px,transparent 1px);background-size:22px 22px}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #d98742;outline-offset:3px}.game{width:min(100%,420px)}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a8a73;font-weight:700}h1{font-size:28px;margin:5px 0 0;letter-spacing:1px}h1 span{font-size:23px;margin-left:10px}.icon-button{width:40px;height:40px;border:1px solid #dcd9c9;border-radius:50%;background:#fffcf4;color:#656b50;font-weight:900}.icon-button:disabled{opacity:.4;cursor:default}.stats{display:grid;grid-template-columns:repeat(3,1fr);background:#fffdf7;border:1px solid #e4dfd1;border-radius:18px;padding:14px 0;box-shadow:0 4px 0 #e9e3d7}.stats div{text-align:center;border-right:1px solid #ece8dc}.stats div:last-child{border:0}.stats span{display:block;font-size:11px;color:#8d8c7a}.stats strong{display:block;font-size:28px;margin-top:4px;font-variant-numeric:tabular-nums}.stats b{font-weight:inherit}.stats small{font-size:13px;margin-left:3px;color:#8d8c7a}.status{display:flex;justify-content:space-between;align-items:center;padding:15px 5px 10px}#lives{color:#df886e;letter-spacing:5px;font-size:21px}#combo{font-size:11px;letter-spacing:1px;color:#898b6c}#combo b{font-size:20px;margin-left:6px;color:#697750}.arena{position:relative;overflow:hidden;border:2px solid #d9ddc9;border-radius:24px;background:#eef1e3;box-shadow:0 6px 0 #e1e2d1;aspect-ratio:420/500}canvas{display:block;width:100%;height:100%}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#f4f5e9a8;backdrop-filter:blur(3px);padding:18px}.overlay[hidden]{display:none}.card{width:100%;text-align:center;background:#fffdf5;border:1px solid #e7e5d5;border-radius:24px;padding:26px 20px 18px;box-shadow:0 10px 30px #6a765415}.tag{font-size:10px;letter-spacing:2px;color:#899273}.hero-cat{font-size:64px;margin:12px 0 4px}h2{font-size:25px;margin:8px 0;color:#4d5940}.card p{font-size:13px;line-height:1.9;color:#93917f;margin:10px 0 18px}.legend{display:flex;justify-content:center;gap:20px;margin:18px 0 24px;font-size:23px}.legend b{font-size:12px;color:#7e816a}.primary{width:100%;border:0;background:#7b8d59;color:white;border-radius:13px;padding:14px 22px;font-weight:700;box-shadow:0 4px 0 #5c703f;display:flex;justify-content:space-between;align-items:center}.primary:hover{background:#6d804d}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #5c703f}.card .hint{font-size:10px;margin:15px 0 0}.controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}.controls button{touch-action:none;user-select:none;width:112px;border:1px solid #d9d9c5;border-radius:16px;background:#fffdf5;box-shadow:0 4px 0 #e0dfcd;color:#66764b;font-size:30px;padding:5px 10px 9px}.controls button span{display:block;font-size:10px;letter-spacing:1px}.controls button:active,.controls button.held{background:#e1e8d1;transform:translateY(2px);box-shadow:0 2px 0 #d2d7c0}.control-hint{text-align:center;font-size:11px;line-height:1.8;color:#a09d8a}.control-hint strong{font-weight:500;color:#7f866a}footer{text-align:center;font-size:10px;color:#a5a08e;margin-top:19px;padding-bottom:env(safe-area-inset-bottom)}@media(max-height:800px){body{padding-top:12px}.game{max-width:370px}header{margin-bottom:10px}.arena{aspect-ratio:420/450}.stats{padding:9px 0}.card{padding:15px}.hero-cat{font-size:48px;margin-top:6px}.card p{margin:7px 0 12px}.legend{margin:12px 0 18px}.controls{margin-top:13px}footer{margin-top:12px}}@media(max-height:660px){.game{max-width:310px}.arena{aspect-ratio:420/420}.eyebrow{font-size:8px}h1{font-size:23px}.hero-cat{font-size:34px}.card h2{font-size:21px}.card .tag,.card .hint{display:none}.status{padding-top:9px}.controls button{padding:0 8px 5px}.stats strong{font-size:23px}}
@media (min-height:661px) and (max-height:720px){.game{max-width:330px}.arena{aspect-ratio:1}}
