#gameHelpDialog{box-sizing:border-box;width:min(560px,92vw);max-height:85dvh;overflow:auto;padding:22px;border:4px solid #b89bb9;border-radius:22px;background:#dbcee9;color:#58435e;font-family:ShopKei,'Yu Gothic',Meiryo,sans-serif;line-height:1.7}
#gameHelpDialog::backdrop{background:#302d3b66}
#gameHelpDialog h2{font-size:20px;margin:0}
#gameHelpDialog .config-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#gameHelpDialog button{min-height:44px;padding:8px 15px;border:2px solid #ad8eab;border-radius:12px;background:#bfdfd2;color:#58435e;font:inherit;cursor:pointer}
#gameHelpDialog details{margin:12px 0;border:1px solid #b89bb9;border-radius:12px;background:#fff8e7}
#gameHelpDialog summary{padding:12px;cursor:pointer;font-weight:bold;min-height:24px}
#gameHelpDialog details>div{padding:0 14px 12px;overflow-wrap:anywhere}
#gameHelpDialog a,.game-sfx-credits a{color:#5b4080;text-decoration:underline}
.game-sfx-credits{line-height:1.65;overflow-wrap:anywhere}
.game-sfx-credits li{margin:12px 0}
@media(max-height:480px){#gameHelpDialog{max-height:90dvh;padding:14px}}
#gameHelpDialog .config-heading{padding-bottom:14px;border-bottom:2px solid #c5a7be}
#gameHelpDialog summary:focus-visible,#gameHelpDialog button:focus-visible,#gameHelpDialog a:focus-visible{outline:3px solid #835ca3;outline-offset:3px}
#gameHelpDialog summary:hover{background:#f4e5ee;border-radius:12px}
#gameHelpDialog p{margin:10px 0}
#gameHelpDialog .game-sfx-credits ul{padding-left:20px}
#gameHelpDialog .game-sfx-credits li{padding-bottom:10px;border-bottom:1px solid #dacbdc}
@media(max-width:480px){#gameHelpDialog{width:94vw;padding:14px}#gameHelpDialog h2{font-size:18px}}
