#howToPlay{width:min(820px,calc(100vw - 28px));max-width:820px;max-height:calc(100dvh - 28px);padding:30px;background:#fff;color:#333;overflow:auto}
#howToPlay h2{font:800 29px/1.2 Manrope;margin:12px 35px 16px 0}#howToPlay h3{font-size:20px;color:#333;margin:22px 0 12px}#howToPlay p{font-size:16px;line-height:1.6;color:#444}#howToPlay section{border-top:1px solid #ddd;margin-top:22px;padding-top:4px}
.helpClose{float:right;border:0;background:#eee;color:#333;border-radius:50%;width:42px;height:42px;font-size:25px}.helpLogo{width:84px;height:45px;object-fit:contain}.helpEyebrow{display:block;font-size:12px;color:#a80051;letter-spacing:1px;margin:12px 0}.helpLead{max-width:690px}
.helpStart,.helpEnd{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.helpStart button,.helpEnd button,.missionHowTo{font:700 15px/1.4 'DM Sans',sans-serif;padding:13px 16px;min-height:46px;border:1px solid #D90068;border-radius:9px;background:#D90068;color:#fff}.helpStart button{flex:1;min-width:240px}.helpStart button+button,.helpEnd button{background:#fff;color:#a80051}.helpEnd #helpSources{border:0;text-decoration:underline;color:#555;font-size:14px}
.helpSteps{padding-left:27px}.helpSteps li{font-size:16px;line-height:1.65;margin:14px 0;padding-left:5px}.helpTypes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.helpTypes article{padding:16px;border:1px solid #ddd;border-radius:10px;background:#fafafa}.helpTypes b{font-size:17px}.helpTypes p{margin:8px 0 0}
.helpReward{background:#fff3f8;padding:5px 20px 18px;border-radius:12px}.helpReward small{font-size:14px;line-height:1.6;color:#555}.helpKeys>div{display:grid;grid-template-columns:190px 1fr;gap:15px;border-bottom:1px solid #eee;padding:12px 0;font-size:15px;line-height:1.5}.helpKeys dt{font-weight:700}.helpKeys dd{margin:0}.helpSignature{display:block;margin-top:24px;border-top:1px solid #ddd;padding-top:18px;font-size:12px;line-height:1.6;color:#666}.missionHowTo{width:100%;margin:5px 0 16px;background:#ffffff12;color:#fff}
@media(max-width:600px){#howToPlay{padding:20px}#howToPlay h2{font-size:24px}#howToPlay p,.helpSteps li{font-size:16px}.helpStart button{min-width:100%;font-size:15px}.helpTypes{grid-template-columns:1fr}.helpKeys>div{grid-template-columns:1fr;gap:5px}.helpEnd button{width:100%}}

#howToPlay{width:min(590px,calc(100vw - 28px));padding:26px}#howToPlay h2{font-size:26px;margin-bottom:12px}.helpSteps{margin:16px 0}.helpSteps li{margin:10px 0;font-size:16px;line-height:1.5}.helpStart{display:grid;gap:10px;margin:18px 0}.helpStart button{min-width:0;width:100%}.helpDetails{border-top:1px solid #ddd;padding-top:14px}.helpDetails summary{font-size:15px;font-weight:700;cursor:pointer;min-height:30px;color:#a80051}.helpSignature{margin-top:16px;padding-top:12px;font-size:11px}.helpEyebrow{margin:8px 0;font-size:11px}@media(max-width:600px){#howToPlay{padding:20px}#howToPlay h2{font-size:23px}.helpLogo{height:34px}.helpLead{margin-bottom:12px}.helpSignature{font-size:10px}}

#gameCelebration{position:fixed;inset:0;pointer-events:none;z-index:2000;overflow:hidden}.achievementBadge{position:absolute;top:24px;left:50%;transform:translateX(-50%);width:min(480px,calc(100vw - 32px));display:flex;gap:14px;align-items:center;padding:16px 20px;border:1px solid #ffffff80;border-radius:18px;color:#fff;background:#333333f5;box-shadow:0 10px 40px #0004;animation:achievementIn .3s ease-out}.achievementBadge>span{font-size:30px;color:#fff;background:#D90068;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;flex-shrink:0}.achievementBadge strong{font-size:20px;line-height:1.25}.achievementBadge p{font-size:15px!important;line-height:1.4!important;color:#fff!important;margin:5px 0 0!important}#gameCelebration.complete .achievementBadge{border-color:#D90068;box-shadow:0 0 32px #D9006840}#gameCelebration i{position:absolute;top:-16px;left:var(--x);width:5px;height:9px;animation:confettiFall 1.8s var(--delay) ease-in forwards}@keyframes confettiFall{to{transform:translate(var(--dx),85vh) rotate(var(--spin));opacity:0}}@keyframes achievementIn{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.achievementBadge{animation:none}}@media(max-width:600px){.achievementBadge{top:12px;padding:12px;gap:10px}.achievementBadge strong{font-size:18px}.achievementBadge p{font-size:14px!important}}
