dialog.game-help-modal{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:24px;margin:auto;border:1px solid #e2e5dd;border-radius:18px;background:#fffefb;color:#35443d;box-shadow:0 12px 48px #283d2e20;overflow:hidden;overscroll-behavior:contain;text-align:left}
dialog.game-help-modal::backdrop{background:#283d2e40;backdrop-filter:blur(3px)}
.game-help-modal form{margin:0;display:flex;flex-direction:column;max-height:calc(100dvh - 90px)}
.help-body{overflow:auto;min-height:0;overscroll-behavior:contain}
.game-help-modal h2,.game-help-modal .help-game-name,.help-footer{flex:none}
.game-help-modal h2{margin:0;padding-right:36px;font:650 22px/1.4 system-ui,"Microsoft YaHei",sans-serif;color:#35443d}
.game-help-modal .help-game-name{margin:5px 0 22px;color:#788179;font-size:12px;line-height:1.6}
.game-help-modal .help-close{position:absolute;top:16px;right:16px;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:#f1f4eb;color:#697d60;font:24px/1 system-ui;box-shadow:none;cursor:pointer}
.help-steps{list-style:none;margin:0;padding:0;display:grid;gap:20px}
.help-steps li{display:flex;gap:12px;align-items:flex-start}
.help-number{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;background:#edf2e7;color:#6d8560;font-size:12px;font-weight:600}
.help-steps strong{display:block;font-size:14px;line-height:1.6;color:#35443d;font-weight:600}
.help-steps p{margin:4px 0 0;color:#788179;font-size:12px;line-height:1.8}
.game-help-modal .help-note{margin:20px 0 0;font-size:11px;color:#788179;line-height:1.8}
.help-footer{display:flex;flex-direction:column;gap:16px;align-items:stretch;margin-top:20px;padding-top:16px;border-top:1px solid #e2e5dd}
.help-details{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;color:#527466;font-size:12px;text-decoration:none}
.game-help-modal .help-continue{width:100%;min-height:42px;padding:10px 18px;border:1px solid #5c7d55;border-radius:10px;background:#5c7d55;color:#fffefb;font:600 13px/1.5 system-ui,"Microsoft YaHei",sans-serif;box-shadow:none;cursor:pointer}
.game-help-modal button:focus-visible,.game-help-modal a:focus-visible,.help-guide summary:focus-visible{outline:2px solid #648a78;outline-offset:3px}
.help-guide{max-width:760px;margin:0 auto;color:#788179;font-size:14px;line-height:1.85}
.help-guide-intro{padding:6px 0 28px;border-bottom:1px solid #e2e5dd}
.help-guide h1{margin:0 0 16px;font-size:clamp(28px,4vw,38px);color:#35443d;line-height:1.35;letter-spacing:-.025em}
.help-guide-intro p{margin:0 0 18px}
.help-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:600}
.help-guide>section{padding:30px 0;border-bottom:1px solid #e2e5dd}
.help-guide h2{font-size:20px;font-weight:600;line-height:1.5;margin:0 0 22px;color:#35443d}
.help-guide .help-steps p{font-size:14px}
.help-controls{margin:0}
.help-controls>div{display:grid;grid-template-columns:140px 1fr;gap:20px;padding:12px 0}
.help-controls dt{font-weight:600;color:#52694b}.help-controls dd{margin:0}
.help-questions details{border-bottom:1px solid #e2e5dd;padding:14px 0}
.help-questions details:last-child{border:0}
.help-questions summary{cursor:pointer;color:#35443d;font-weight:550;min-height:28px}
.help-questions p{margin:12px 0 2px}
@media(max-width:600px){.help-controls>div{grid-template-columns:1fr;gap:5px}.help-guide h1{font-size:28px}.help-guide .help-steps p{font-size:13px}}
@media(max-height:650px){dialog.game-help-modal{padding:20px}.game-help-modal form{max-height:calc(100dvh - 82px)}.game-help-modal .help-game-name{margin-bottom:16px}.game-help-modal .help-steps{gap:14px}.game-help-modal .help-note{margin-top:14px}.help-footer{gap:10px;margin-top:14px;padding-top:12px}}
