/* MOSABAQTAK_HOME_SWITCH_V10: switch visual only. Theme palette remains in theme.css. */
#mq-home-theme-switch {
  display: inline-flex; vertical-align: middle; align-items: center; justify-content: center;
  direction: ltr; gap: 7px; box-sizing: border-box; flex: 0 0 auto;
  height: 42px; padding: 3px 8px; border: 2px solid #547780 !important; border-radius: 3px;
  background: #0b1722 !important; color: #ebfcff !important; box-shadow: 3px 3px 0 #04090c !important;
  cursor: pointer; user-select: none; white-space: nowrap;
  font: 700 11px/1.1 system-ui, sans-serif; letter-spacing: 0;
}
#mq-home-theme-switch .mq-home-cubes {display: inline-flex; align-items: center; gap: 5px; perspective: 130px;}
#mq-home-theme-switch .mq-home-cube {
  display: block; width: 17px; height: 17px; box-sizing: border-box;
  border: 1px solid #77949b;
  transform: rotate(-20deg) skewY(-7deg);
  animation: mq-home-cube-bob 2.8s ease-in-out infinite;
}
#mq-home-theme-switch .mq-home-cube--dark {background: linear-gradient(135deg,#36414b,#050a11); box-shadow: 3px -3px 0 #253e4b;}
#mq-home-theme-switch .mq-home-cube--light {background: linear-gradient(135deg,#fff,#d9f3f3); box-shadow: 3px -3px 0 #7bbdc1; animation-delay: -1.4s;}
#mq-home-theme-switch[data-active="dark"] .mq-home-cube--dark,
#mq-home-theme-switch[data-active="light"] .mq-home-cube--light {outline: 2px solid #64f58a; outline-offset: 3px;}
#mq-home-theme-switch .mq-home-theme-label {color: #c7f9fc; font: inherit; min-width: 34px; text-align: center;}
#mq-home-theme-switch:focus-visible {outline: 2px solid #5bff91; outline-offset: 3px;}
#mq-home-theme-switch:hover {border-color: #7ddde4;}
@keyframes mq-home-cube-bob {0%,100%{translate: 0 0;}50%{translate: 0 -2px;}}
@media (prefers-reduced-motion: reduce) {#mq-home-theme-switch .mq-home-cube{animation:none;}}
@media (max-width: 630px) {
  #mq-home-theme-switch {height: 36px; padding: 2px 6px; gap: 5px;}
  #mq-home-theme-switch .mq-home-cube {width: 14px; height: 14px;}
}

/* MQ_HOME_TEXT_SWITCH_V13_START */
/* Homepage switch visual ONLY. Reuse V10 theme toggle JS and preference. */
#mq-home-theme-switch {
  background: linear-gradient(180deg,#132935 0%,#0a1622 100%) !important;
  color: #b9faff !important;
  border: 3px solid #03080d !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 0 2px #35616d,4px 4px 0 #02060a !important;
  text-shadow: 1px 1px 0 #03090d !important;
  font-family: inherit !important;
  font-weight: 900 !important;
  letter-spacing: .6px !important;
  line-height: 1.1 !important;
  gap: 0 !important;
}
#mq-home-theme-switch .mq-home-cubes,
#mq-home-theme-switch .mq-home-cube {
  display: none !important;
  animation: none !important;
}
#mq-home-theme-switch .mq-home-theme-label {
  display: inline-block !important;
  color: #b9faff !important;
  min-width: 34px;
  text-align: center;
  font: inherit !important;
  text-shadow: inherit !important;
}
#mq-home-theme-switch:hover {
  background: linear-gradient(180deg,#174052,#0c2430) !important;
  border-color: #021018 !important;
}
#mq-home-theme-switch:focus-visible {
  outline: 2px solid #6cf5f6 !important;
  outline-offset: 3px !important;
}
/* MQ_HOME_TEXT_SWITCH_V13_END */

/* MQ_HOME_SWITCH_NO_CUBES_V14 */
/* MQ_HOME_SWITCH_NO_CUBES_V14 — text only, preserve button geometry/theme. */
#mq-home-theme-switch .mq-home-cubes,
#mq-home-theme-switch .mq-home-cube { display:none !important; }
#mq-home-theme-switch { gap:0 !important; }
#mq-home-theme-switch .mq-home-theme-label { display:inline-block !important; text-align:center; }
