/* v0.6.2: 戦闘操作の視認性。既存ボタン画像とスプライトは無変更。 */
.battle-roster button:focus-visible,.battlebar button:focus-visible,.controls button:focus-visible{outline:3px solid #16688b;outline-offset:-3px}
.battle-roster button[aria-pressed="true"]{box-shadow:inset 0 0 0 1px #98591a}
#special:not(:disabled){font-weight:800;outline:2px solid #e5b448;outline-offset:-3px}
#field{touch-action:none;user-select:none;-webkit-user-select:none}
@media (orientation:landscape) and (max-height:600px){
  /* 操作部を固定し、仲間カードだけを独立してスクロールできる。 */
  .battle .bottombar{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
  .battle .controls{position:static;align-content:start;padding-bottom:3px}
  .battle .battle-roster{min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;scrollbar-width:thin;padding-bottom:4px;grid-auto-rows:minmax(48px,auto)}
  .battle .battle-roster button{min-height:48px}
  .battle .controls span{min-width:0;overflow-wrap:anywhere}
  .battle #special,.battle #start{min-height:40px}
  .battle #autoSpecial,.battle #autoBattle{min-height:36px}
}
@media (orientation:landscape) and (max-height:360px){
  .battle #battleHint{font-size:9px;line-height:1.15}
  .battle .controls{gap:2px}
  .battle .battle-roster{grid-auto-rows:minmax(44px,auto)}
  .battle .battle-roster button{min-height:44px}
}
