:root{--paper:#f5edda;--ink:#243d2f;--muted:#807963;--gold:#b17c32}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Trebuchet MS,Arial,sans-serif}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #d2a03f;outline-offset:3px}a{color:inherit}header{max-width:1190px;padding:26px 28px;margin:auto;display:flex;justify-content:space-between;align-items:center}.brand{text-decoration:none;font-size:13px;font-weight:900;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:0;font-weight:400;margin-top:7px;color:var(--muted)}header>div{display:flex;align-items:center;gap:22px}.back{font-size:11px;text-decoration:none}header button{font-size:10px;border:1px solid #bdb59d;background:none;padding:9px 13px;border-radius:30px}main{max-width:1100px;margin:auto;padding:0 28px}.intro{display:flex;justify-content:space-between;align-items:center;padding:24px 0 29px}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:bold}h1{font-size:clamp(37px,5.2vw,65px);line-height:1.02;letter-spacing:-2.8px;margin:15px 0}h1 em{font-style:normal;color:var(--gold)}.intro p:not(.eyebrow){color:var(--muted);font-size:13px;max-width:390px;line-height:1.6}.record{text-align:right;border-left:1px solid #d5cab2;padding-left:35px}.record span,.record small{display:block;font-size:9px;color:var(--muted)}.record strong{display:block;font-size:44px;margin:8px 0;letter-spacing:-2px}.game{border:1px solid #a9ab90;border-radius:19px;overflow:hidden;background:#d6d8c4;box-shadow:0 14px 50px #52402713}.hud{height:70px;background:#faf5e7;display:flex;justify-content:space-between;padding:15px 25px}.hud span{display:block;font-size:8px;letter-spacing:1px;color:#8c816a}.hud b{display:block;font-size:23px;margin-top:5px;letter-spacing:1px}#life{color:#b07b36}.wave{text-align:center}.points{text-align:right}.stage{position:relative}canvas{display:block;width:100%;height:auto;touch-action:none;background:#dadcc9}#overlay{position:absolute;inset:0;background:#f5eddaec;display:flex;align-items:center;justify-content:center;padding:22px;z-index:2}.card{text-align:center;max-width:550px}.cast{height:145px;display:flex;align-items:flex-end;justify-content:center;gap:16px}.cast img:first-child{width:160px;height:145px;object-fit:contain}.cast img:last-child{width:85px;height:120px;object-fit:contain}.card h2{font-size:36px;line-height:1.08;letter-spacing:-1.3px;margin:16px 0}.card p:not(.eyebrow){max-width:340px;font-size:13px;color:#7c7159;line-height:1.7;margin:16px auto}.primary{padding:16px 36px;background:var(--ink);color:#fff4dc;border:0;border-radius:9px;box-shadow:0 4px #10261a;font-weight:bold}.primary:hover{background:#355840}.card small{display:block;font-size:10px;color:#8b806a;margin-top:23px}.upgrade-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}.upgrade-options button{text-align:left;padding:22px 17px;background:#edf0e0;border:1px solid #a6b499;border-radius:12px;max-width:180px}.upgrade-options button:hover{background:#d6e3c9}.upgrade-options strong{display:block;font-size:14px}.upgrade-options span{display:block;font-size:10px;margin-top:12px;line-height:1.5;color:#6d7e5f}.bottom-bar{height:39px;padding:0 17px;background:#faf5e7;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7f745e}.bottom-bar button{background:none;border:0;font-size:18px;padding:6px 12px}.controls{display:flex;justify-content:space-between;align-items:center;padding:18px 0;gap:15px}.controls p{font-size:10px;color:#837862;margin:0}.controls>div{display:flex;gap:10px}.controls button{background:#e1e7d6;border:1px solid #a6b299;border-radius:8px;padding:12px 16px;font-size:10px;font-weight:bold}.controls small{margin-left:10px;font-size:9px;color:#6f8061}.mobile{display:none}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;border-top:1px solid #ddd0b8;margin-top:15px;padding:25px 0}.guide article{display:flex;align-items:center;gap:15px}.guide img{width:67px;height:88px;object-fit:contain}.guide h3{font-size:13px;margin:0 0 8px}.guide p{font-size:10px;line-height:1.5;color:#8a7d66;margin:0}footer{padding:22px 0 35px;border-top:1px solid #ddd0b8;display:flex;justify-content:space-between;font-size:11px}footer a{text-decoration:none;font-size:10px}.boss{position:absolute;left:30%;right:30%;top:15px;text-align:center;pointer-events:none}.boss span{font-size:9px;font-weight:bold;color:#5d503b;letter-spacing:1px}.boss>div{height:7px;background:#73664744;border-radius:10px;margin-top:7px;overflow:hidden}.boss i{display:block;height:100%;width:100%;background:#b76c44}[hidden]{display:none!important}@media(max-width:600px){header{padding:20px 15px}.brand{font-size:10px;letter-spacing:1px}.brand small{font-size:8px}header>div{gap:10px}.back{font-size:9px}header button{font-size:9px;padding:8px 10px}main{padding:0 12px}.intro{padding:9px 5px 20px}.eyebrow{font-size:7px;letter-spacing:.8px}h1{letter-spacing:-1.7px}.intro p:not(.eyebrow){font-size:10px;max-width:230px}.record{padding-left:12px}.record span,.record small{font-size:7px}.record strong{font-size:30px}.hud{height:62px;padding:13px 15px}.hud span{font-size:7px}.hud b{font-size:19px}#life{font-size:16px}.game{border-radius:12px}.card h2{font-size:27px}.cast{height:110px}.cast img:first-child{height:110px;width:120px}.cast img:last-child{height:90px;width:65px}.card p:not(.eyebrow){font-size:11px;max-width:270px}.card small{font-size:8px;max-width:270px;line-height:1.6;margin:18px auto 0}.primary{font-size:12px;padding:14px 30px}.upgrade-options{grid-template-columns:1fr;gap:8px;margin-top:20px}.upgrade-options button{max-width:none;padding:14px 18px;width:250px}.upgrade-options span{margin-top:6px}.controls{gap:7px;align-items:flex-start}.desktop{display:none}.mobile{display:block;max-width:130px;font-size:9px;line-height:1.5}.controls>div{gap:6px}.controls button{padding:11px 10px;font-size:8px}.controls small{font-size:8px;margin-left:5px}.guide{gap:8px}.guide article{flex-direction:column;align-items:flex-start;gap:10px}.guide img{height:67px;width:50px}.guide h3{font-size:11px}.guide p{font-size:9px}.boss{left:20%;right:20%}.bottom-bar{font-size:8px}}

.music-volume{display:flex;align-items:center;gap:8px;font-size:12px}.music-volume input{width:88px;accent-color:#294334}.sound-toolbar{flex-wrap:wrap;gap:8px}
