/* ANIZA v0.10.9 — one source of truth for three profile subfilter groups.
   Do not style .aza-al-sekmeler globally: only opt-in groups in the profile. */
html body:not(#az) .aza-profil.azm-x-profile {
  --azm-switch-line: var(--az-line,#d8dbe0);
  --azm-switch-surface: var(--az-surface,#fff);
  --azm-switch-text: var(--az-text-2,#555e6b);
  --azm-switch-hover-bg:rgba(239,59,73,.09);
  --azm-switch-hover-ink:#EF3B49;
  --azm-switch-selected:#EF3B49;
}
html body.night-mode:not(#az) .aza-profil.azm-x-profile {
  --azm-switch-line:#363b47;
  --azm-switch-surface:#20232b;
  --azm-switch-text:#c1c4cd;
  --azm-switch-hover-bg:rgba(239,59,73,.14);
  --azm-switch-hover-ink:#ff6875;
  --azm-switch-selected:#EF3B49;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment {
  display:inline-flex!important;align-items:stretch!important;justify-content:flex-start!important;
  flex:0 0 auto!important;gap:3px!important;max-width:100%!important;width:max-content!important;
  margin:0!important;padding:3px!important;
  background:var(--azm-switch-surface)!important;
  border:1px solid var(--azm-switch-line)!important;
  border-radius:999px!important;box-shadow:none!important;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;flex:0 0 auto!important;white-space:nowrap!important;
  height:34px!important;min-height:34px!important;min-width:0!important;
  margin:0!important;padding:0 13px!important;
  border:0!important;border-radius:999px!important;box-shadow:none!important;
  background:transparent!important;color:var(--azm-switch-text)!important;
  font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;
  cursor:pointer!important;outline:none;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button:not(.aktif):not([aria-selected="true"]):not([aria-pressed="true"]):hover {
  background:var(--azm-switch-hover-bg)!important;color:var(--azm-switch-hover-ink)!important;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button:is(.aktif,[aria-selected="true"],[aria-pressed="true"]) {
  background:var(--azm-switch-selected)!important;color:#fff!important;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button:is(.aktif,[aria-selected="true"],[aria-pressed="true"]):hover {
  background:#e73343!important;color:#fff!important;
}
html body.night-mode:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button:is(.aktif,[aria-selected="true"],[aria-pressed="true"]):hover {
  background:#f34b58!important;color:#fff!important;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button:focus-visible {
  outline:2px solid #ef3b49!important;outline-offset:2px!important;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment .azm-fav-tab > span {
  font-size:11px!important;line-height:1!important;opacity:.85;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-favori-kutu > .aza-pe-bas,
html body:not(#az) .aza-profil.azm-x-profile .aza-liste-kutu > .aza-pe-bas {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;flex-wrap:wrap!important;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-favori-kutu .azm-fav-heading-actions,
html body:not(#az) .aza-profil.azm-x-profile .aza-liste-kutu .azm-profile-segment {margin-left:auto!important;}
html body:not(#az) .aza-profil.azm-x-profile .azm-saved-toolbar {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:9px;margin:0 0 14px!important;min-height:42px;
}
html body:not(#az) .aza-profil.azm-x-profile .azm-saved-toolbar .azm-filter-caption {
  font-size:12px;font-weight:650;line-height:1.4;color:var(--az-text-2,#69707c);
}
html body:not(#az) .aza-profil.azm-x-profile .azm-saved-toolbar .azm-profile-segment {margin-left:auto!important;}
/* At small widths, keep all switches on one logical row, without clipping their labels. */
@media(max-width:390px){
  html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment>button{padding:0 10px!important;font-size:11px!important;}
  html body:not(#az) .aza-profil.azm-x-profile .azm-saved-toolbar .azm-filter-caption {display:none;}
}
@media(prefers-reduced-motion:reduce){
  html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment>button{transition:none!important;}
}

/* ANIZA v0.11.35 — compact, consistent segmented controls for mobile profiles.
 * Keep actual controls discoverable; never collapse Anime/Manga into a single shelf. */
@media (max-width:767px) {
 html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment {
   gap:2px!important;padding:2px!important;border-radius:999px!important;
   max-width:100%!important;width:max-content!important;flex:0 0 auto!important;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment > button {
   height:29px!important;min-height:29px!important;padding:0 9px!important;
   font-size:11px!important;font-weight:700!important;gap:4px!important;
   line-height:1.15!important;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-profile-segment .azm-fav-tab > span {
   font-size:10px!important;opacity:.82;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-favori-kutu > .aza-pe-bas,
 html body:not(#az) .aza-profil.azm-x-profile .aza-liste-kutu > .aza-pe-bas {
   display:flex!important;flex-direction:column!important;align-items:flex-start!important;
   justify-content:flex-start!important;gap:7px!important;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-favori-kutu .azm-fav-heading-actions,
 html body:not(#az) .aza-profil.azm-x-profile .aza-liste-kutu .azm-profile-segment,
 html body:not(#az) .aza-profil.azm-x-profile .azm-saved-toolbar .azm-profile-segment {
   margin-left:0!important;align-self:flex-start!important;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-saved-toolbar {
   min-height:0!important;gap:7px!important;
 }
}
/* The indicator is shown only by JS when the current mobile shelf really overflows. */
html body:not(#az) .aza-profil.azm-x-profile .azm-mobile-scroll-cue {display:none!important;}
@media (max-width:767px) {
 html body:not(#az) .aza-profil.azm-x-profile .azm-mobile-scroll-cue.is-visible {
   display:flex!important;align-items:center;justify-content:flex-end;
   width:100%;gap:6px;margin:2px 0 0;padding:0!important;
   color:var(--az-text-2,#707682);font-size:11px;font-weight:600;line-height:1.35;
   pointer-events:none;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-mobile-scroll-cue .azm-cue-arrow {
   color:#EF3B49;font-size:17px;line-height:1;
 }
 html body:not(#az) .aza-profil.azm-x-profile .azm-fav-panel .azm-favori-listesi,
 html body:not(#az) .aza-profil.azm-x-profile .aza-liste-kutu [data-al-panel] .aza-al-liste {
   touch-action:pan-x pan-y!important;scroll-padding-inline:4px;
 }
}
