/* V7.0.14 — mobile-only, preserves existing navigation and access rules */
@media (max-width:700px){
  html {scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px));}
  main, #private, .club-app, .club-workspace, .club-view, .card {min-width:0;max-width:100%;box-sizing:border-box;}
  #private .club-workspace {padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));}
  .v599-nav {padding-left:max(5px,env(safe-area-inset-left,0px));padding-right:max(5px,env(safe-area-inset-right,0px));}
  .v599-nav button {min-height:54px;min-width:0;gap:5px;}
  .v599-nav button.active {box-shadow:inset 0 0 0 1px #ad83ef45;}
  .club-shortcut {min-height:56px;min-width:0;overflow-wrap:anywhere;}
  .club-view img {max-width:100%;}
}
@media (max-width:900px){
  .admin-workspace,#private,main {min-width:0;max-width:100%;box-sizing:border-box;}
  .admin-workspace {padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));}
  #control602Nav {padding-left:max(5px,env(safe-area-inset-left,0px))!important;padding-right:max(5px,env(safe-area-inset-right,0px))!important;}
  #control602Nav button {min-height:54px;min-width:0;}
  #control602Nav button.active {box-shadow:inset 0 0 0 1px #f4abd040;}
  .c602-grid button {min-width:0;min-height:56px;overflow-wrap:anywhere;}
}
@media (max-width:700px){
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea {font-size:16px!important;max-width:100%;min-width:0;box-sizing:border-box;}
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select {min-height:44px;}
  textarea {min-height:80px;}
  dialog[open], .cremaz-recovery-dialog, .v521-modal-dialog, .dj-modal-dialog, .club-checkout-dialog, .cg-dialog {box-sizing:border-box;max-width:calc(100% - 20px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;overflow-y:auto;overscroll-behavior:contain;}
  dialog[open] input,dialog[open] select,dialog[open] textarea {max-width:100%;}
  dialog[open] button,.cg-actions button {min-height:44px;}
  #private a,#private button {touch-action:manipulation;}
  #private button:focus-visible,#private a:focus-visible,dialog button:focus-visible {outline:2px solid #cbb2ff;outline-offset:2px;}
  table {max-width:100%;}
}
@media (prefers-reduced-motion:reduce){
  .v599-nav button,#control602Nav button,.club-shortcut,.c602-grid button {animation:none!important;transition:none!important;}
}
