body.dodge-playing{overflow:hidden!important;}#dodgeGame[hidden],#dodgeGame [hidden]{display:none!important;}#dodgeGame{position:fixed;inset:0;z-index:20000;display:flex;flex-direction:column;background:var(--paper,#fff);color:var(--ink,#222);padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom));box-sizing:border-box;height:100dvh;max-height:100%;gap:6px;}#dodgeGame .dodge-hud{display:flex;justify-content:space-between;gap:8px;width:100%;max-width:650px;align-self:center;font-size:18px;padding:5px 0;}#dodgeGame [data-life]{color:#ad4036;}#dodgeGame .dodge-field{position:relative;flex:1;min-height:0;width:100%;max-width:650px;align-self:center;border:1px solid #b99540;border-radius:12px;overflow:hidden;}#dodgeGame canvas{display:block;width:100%;height:100%;touch-action:none;}#dodgeGame .dodge-buttons{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:6px;max-width:650px;width:100%;align-self:center;}#dodgeGame button{min-height:48px;padding:6px 8px;border:1px solid #a68b51;border-radius:9px;background:#fff;color:#3a3324;font-size:15px;cursor:pointer;touch-action:none;}#dodgeGame button:focus-visible{outline:3px solid #ad8b3b;}#dodgeGame .dodge-guide{text-align:center;margin:0;font-size:12px;}#dodgeGame .dodge-result{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:rgba(255,255,255,.94);padding:20px;text-align:center;}#dodgeGame .dodge-result h2,#dodgeGame .dodge-result p{margin:0;}#dodgeGame .dodge-result button{min-width:180px;}@media(min-width:821px){#dodgeGame{padding:16px;}#dodgeGame .dodge-field{max-width:480px;}}
#dodgeOptions label{display:block;margin:10px 0 4px;}#dodgeOptions select{width:100%;min-height:42px;}#dodgeGame.dodge-typing .dodge-buttons{grid-template-columns:1fr 1fr;}#dodgeGame .dodge-typing-panel{width:100%;max-width:650px;align-self:center;flex-shrink:0;}#dodgeGame .dodge-word-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:center;padding:4px;font-size:20px;background:#f6f2e7;border-radius:8px;}#dodgeGame [data-input]{display:block;box-sizing:border-box;width:100%;height:42px;font-family:inherit;font-size:18px;padding:6px 10px;border:2px solid #ad8b3b;border-radius:8px;margin-top:5px;background:white;color:#222;}#dodgeGame .dodge-correct{color:#24844b;}#dodgeGame .dodge-wrong{color:#b23a2f;text-decoration:underline;}#dodgeGame .dodge-partial{background:linear-gradient(to right,#24844b var(--done),#444 var(--done));background-clip:text;-webkit-background-clip:text;color:transparent;}#dodgeGame .dodge-caret{border-bottom:2px solid #ad8b3b;}#dodgeGame.dodge-typing .dodge-buttons button{min-height:40px;}#dodgeGame.dodge-typing .dodge-guide{font-size:11px;}

#dodgeGame.dodge-typing .dodge-buttons{grid-template-columns:minmax(0,1fr) 82px 82px;align-items:stretch;}#dodgeGame.dodge-typing .dodge-buttons [data-input]{min-width:0;width:100%;height:44px;margin:0;}#dodgeGame.dodge-typing .dodge-buttons button{box-sizing:border-box;min-width:0;min-height:44px;height:44px;padding:5px 3px;font-size:13px;white-space:nowrap;}@media(max-width:820px){#dodgeGame.dodge-typing .dodge-buttons{grid-template-columns:minmax(0,1fr) 68px 68px;gap:4px;}#dodgeGame.dodge-typing .dodge-buttons [data-input]{font-size:16px;padding:6px;}#dodgeGame.dodge-typing .dodge-buttons [data-input]::placeholder{font-size:13px;}}
