/* FlatcastX V4.1 - magnify PUBLIC buttons and navigation geometry together with text.
   On top of V4.0; no sizing of radio canvas, images, DJ mixer, admin or site header art.
   Slider 80-150%, step 10%; 100% uses unchanged original geometry. */
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page [data-fx-readable="1"]{
  font-size:calc(var(--fx-base-font-size) * var(--fx-reader-ratio,1))!important;
}
/* Menu links have V3.5 font-size !important with greater specificity: override exactly. */
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page > .layout > .sidebar > .menu-block > .menu-content > a:not(.auth-link){
  font-size:calc(var(--fx-base-font-size,12.5px)*var(--fx-reader-ratio,1))!important;
  padding:calc(8px*var(--fx-reader-ratio,1)) calc(10px*var(--fx-reader-ratio,1))!important;
  min-height:calc(37px*var(--fx-reader-ratio,1))!important;
  gap:calc(9px*var(--fx-reader-ratio,1))!important;
  height:auto!important;white-space:normal!important;overflow-wrap:break-word!important;
}
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page > .layout > .sidebar > .menu-block > .menu-content > a:not(.auth-link) > i:first-child{
  flex:0 0 calc(22px*var(--fx-reader-ratio,1))!important;
  width:calc(22px*var(--fx-reader-ratio,1))!important;
  height:calc(24px*var(--fx-reader-ratio,1))!important;
  font-size:calc(13px*var(--fx-reader-ratio,1))!important;
}
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page > .layout > .sidebar > .menu-block > .menu-title{
  font-size:calc(14px*var(--fx-reader-ratio,1))!important;
  padding:calc(10px*var(--fx-reader-ratio,1)) 13px!important;
}
/* Include controls without a direct text node (icon+span), save, login, back and pagination. */
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page :is(
  button:not(.play-btn),input[type="submit"],input[type="button"],input[type="reset"],
  a[role="button"],a.btn,.btn-login,.btn-search,.fx-status-btn,.fx-v34-radio-list-link,
  .fx-yayinal-back,.pagination a,.pagination span,.top-pagination a,.top-pagination span
){
  font-size:calc(var(--fx-base-font-size,14px)*var(--fx-reader-ratio,1))!important;
  min-height:calc(32px*var(--fx-reader-ratio,1))!important;
  height:auto!important;
  padding:calc(6px*var(--fx-reader-ratio,1)) calc(9px*var(--fx-reader-ratio,1))!important;
  line-height:1.35!important;
  white-space:normal!important;overflow-wrap:break-word!important;
  box-sizing:border-box;
}
/* Keep form widths usable; let neighboring fields shrink, wrap as needed. */
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page :is(.pagination,.top-pagination){flex-wrap:wrap}
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page .sidebar .menu-content :is(.search-row,.auth-buttons-row){min-width:0}
/* Icon-only play controls also physically grow; no transform-scale layout overlap. */
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page .stream-row > .play-btn{
  width:calc(66px*var(--fx-reader-ratio,1))!important;
  height:calc(66px*var(--fx-reader-ratio,1))!important;
  flex:0 0 calc(66px*var(--fx-reader-ratio,1))!important;
  min-width:0!important;
}
html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page .stream-row > .play-btn::before{
  border-left-width:calc(26px*var(--fx-reader-ratio,1))!important;
  border-top-width:calc(18px*var(--fx-reader-ratio,1))!important;
  border-bottom-width:calc(18px*var(--fx-reader-ratio,1))!important;
}
/* Do not apply font scaling to the accessible floating control itself. */
#fx-appearance *{--fx-reader-ratio-ui:1}
@media(max-width:720px){
  html[data-fx-reader-level]:not([data-fx-reader-level="0"]) body .page .stream-row > .play-btn{
    width:calc(66px*min(var(--fx-reader-ratio,1),1.25))!important;
    height:calc(66px*min(var(--fx-reader-ratio,1),1.25))!important;
    flex-basis:calc(66px*min(var(--fx-reader-ratio,1),1.25))!important;
  }
}
