/* Contained touch zones: decisions, amount adjustment, then presets.
   No external turn glow, browser-native slider bevel or overlap between rows. */
@media(max-width:600px) {
 body[data-screen=table] #action-panel {
  padding:8px;gap:8px;isolation:isolate;
 }
 body[data-screen=table] #action-panel .action-top { min-width:0;width:100%; }
 body[data-screen=table] #action-panel .actions {
  box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;padding:4px;width:100%;margin:0;border-radius:8px;
 }
 body[data-screen=table] #action-panel .actions button {
  box-sizing:border-box;min-width:0;min-height:48px;width:100%;margin:0;padding:5px 3px;
  border-radius:6px;font-size:14px;line-height:1.3;
 }
 body[data-screen=table] #action-panel .actions button small {
  display:block;font-size:11px;line-height:1.3;margin-top:3px;white-space:normal;
 }
 body[data-screen=table] #action-panel .raise-options {
  display:grid;grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;gap:6px;padding:0;margin:0;width:100%;min-width:0;
 }
 body[data-screen=table] #action-panel .bet-step {
  box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;
  padding:0;margin:0;border-radius:6px;font-size:14px;
 }
 body[data-screen=table] #raise-range {
  appearance:none;-webkit-appearance:none;box-sizing:border-box;background:transparent;
  border:0;box-shadow:none;width:100%;min-width:0;height:44px;min-height:44px;
  margin:0;padding:0 3px;border-radius:4px;
 }
 body[data-screen=table] #raise-range::-webkit-slider-runnable-track {
  height:6px;border:0;border-radius:4px;background:var(--line,#536073);box-shadow:none;
 }
 body[data-screen=table] #raise-range::-webkit-slider-thumb {
  appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;
  border:2px solid var(--surface,#172334);border-radius:50%;background:#eee2c6;box-shadow:none;
 }
 body[data-screen=table] #raise-range::-moz-range-track {
  height:6px;border:0;border-radius:4px;background:var(--line,#536073);
 }
 body[data-screen=table] #raise-range::-moz-range-thumb {
  box-sizing:border-box;width:22px;height:22px;border:2px solid var(--surface,#172334);
  border-radius:50%;background:#eee2c6;box-shadow:none;
 }
 body[data-screen=table] #action-panel .presets {
  grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  width:100%;gap:6px;margin:0;padding:0;
 }
 body[data-screen=table] #action-panel .presets button {
  box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:4px;
  border:1px solid var(--line);border-radius:6px;font-size:12px;line-height:1.2;
 }
 body[data-screen=table] #action-panel :is(button,input):focus-visible {
  outline:2px solid var(--accent);outline-offset:-3px;
 }
}
@media(max-width:600px) and (max-height:700px) {
 body[data-screen=table] #action-panel {padding:4px 6px;gap:4px}
 body[data-screen=table] #action-panel .actions {padding:2px;gap:4px}
 body[data-screen=table] #action-panel .actions button {min-height:48px;font-size:13px}
 body[data-screen=table] #action-panel .raise-options {gap:4px}
 body[data-screen=table] #action-panel .presets {gap:4px}
}
@media(max-width:350px) and (max-height:600px) {
 body[data-screen=table] #table[data-phase=playing] {min-height:218px}
}
