/* DirectPlayer V10.3.72 — mobile iPhone/PWA, anti-zoom et safe areas */
:root{--dp-safe-top:env(safe-area-inset-top,0px);--dp-safe-right:env(safe-area-inset-right,0px);--dp-safe-bottom:env(safe-area-inset-bottom,0px);--dp-safe-left:env(safe-area-inset-left,0px)}
html,body{max-width:100%;}
@media(max-width:820px){
  html,body{width:100%;overflow-x:hidden!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  input,select,textarea{font-size:16px!important;max-width:100%!important}
  .auth-page,.auth-card,.broadcaster-auth-shell,.broadcaster-auth-panel,.broadcaster-auth-card,.broadcaster-app-shell,.broadcaster-app-main,.broadcaster-app-content{min-width:0!important;max-width:100%!important}
  .auth-page{width:100%!important;padding-left:max(14px,var(--dp-safe-left))!important;padding-right:max(14px,var(--dp-safe-right))!important}
  .auth-card{width:100%!important;min-width:0!important;overflow:hidden!important}
  .auth-card label,.auth-card input,.auth-card select,.auth-card textarea{min-width:0!important;width:100%!important}
  .broadcaster-auth-shell{display:block!important;width:100%!important;overflow-x:hidden!important}
  .broadcaster-auth-visual{min-height:auto!important;width:100%!important;padding-left:max(18px,var(--dp-safe-left))!important;padding-right:max(18px,var(--dp-safe-right))!important}
  .broadcaster-auth-panel{width:100%!important;min-height:auto!important;padding:22px max(14px,var(--dp-safe-right)) calc(28px + var(--dp-safe-bottom)) max(14px,var(--dp-safe-left))!important;display:block!important}
  .broadcaster-auth-card,.broadcaster-register-card{width:100%!important;max-width:100%!important;margin:0!important;padding:24px 16px!important;border-radius:18px!important}
  .broadcaster-auth-form,.broadcaster-form-pair,.broadcaster-input,.broadcaster-input input{min-width:0!important;max-width:100%!important;width:100%!important}
  .broadcaster-input input{font-size:16px!important}
  .broadcaster-auth-submit,.broadcaster-auth-create{width:100%!important;max-width:100%!important}
  .broadcaster-auth-links{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important}
  .broadcaster-auth-links>*{min-width:0!important;overflow-wrap:anywhere}
  .broadcaster-app-content{padding-left:max(14px,var(--dp-safe-left))!important;padding-right:max(14px,var(--dp-safe-right))!important}
  .broadcaster-app-content input,.broadcaster-app-content select,.broadcaster-app-content textarea,.broadcaster-topbar input{font-size:16px!important}
  .broadcaster-app-content form,.broadcaster-app-content .form-grid,.broadcaster-app-content .broadcaster-form-section{min-width:0!important;max-width:100%!important}
  body{padding-bottom:calc(var(--player-h) + var(--dp-safe-bottom))!important}
  .dp-player.dp-player-reference.dp-player-v69{bottom:0!important;padding-bottom:var(--dp-safe-bottom)!important;box-sizing:content-box!important}
  .dp-player-v69 .dp-player-reference-shell{padding-left:max(9px,var(--dp-safe-left))!important;padding-right:max(9px,var(--dp-safe-right))!important;box-sizing:border-box!important}
  .dp-player-v69[data-kind="podcast"] .dp-player-reference-shell{padding-left:max(9px,var(--dp-safe-left))!important;padding-right:max(9px,var(--dp-safe-right))!important}
  .dp-player-queue{bottom:calc(88px + var(--dp-safe-bottom))!important}
  .dp-toast,.dp10368-favorite-notice{bottom:calc(var(--player-h) + var(--dp-safe-bottom) + 12px)!important}
}
@media(max-width:430px){
  .auth-page{padding-top:26px!important;padding-bottom:calc(34px + var(--player-h) + var(--dp-safe-bottom))!important}
  .auth-card{padding:22px 16px!important;border-radius:18px!important}
  .broadcaster-auth-visual{padding-top:28px!important;padding-bottom:24px!important}
  .broadcaster-auth-visual-clean h1{font-size:34px!important;line-height:.98!important;overflow-wrap:anywhere!important}
  .broadcaster-auth-card-head h2{font-size:29px!important}
}
@media(display-mode:standalone){
  .site-header.v2-header{padding-left:max(14px,var(--dp-safe-left))!important;padding-right:max(14px,var(--dp-safe-right))!important}
  .dp-player.dp-player-reference.dp-player-v69{padding-bottom:var(--dp-safe-bottom)!important}
}
