/* MOSABAQTAK_THEME_V1 - only colors and shadows; never font or geometry */
html[data-mq-theme="light"] {color-scheme:light;
 --bg:#f2f7f8; --background:#f2f7f8; --background-color:#f2f7f8;
 --surface:#ffffff; --card:#ffffff; --panel:#ffffff;
 --text:#152b2d; --text-color:#152b2d; --muted:#526668;
 --border:#c9dadd; --line:#c9dadd;
 --mq-bg:#f2f7f8; --mq-panel:#ffffff; --mq-card:#ffffff;
 --mq-text:#152b2d; --mq-muted:#526668; --mq-border:#c9dadd;
}
html[data-mq-theme="light"] body {background-color:#f2f7f8 !important;color:#152b2d !important;}
html[data-mq-theme="light"] #mq-content,
html[data-mq-theme="light"] .workspace,
html[data-mq-theme="light"] .main-content,
html[data-mq-theme="light"] main {color:#152b2d;}
/* Generic panels with existing class names: colors only. */
html[data-mq-theme="light"] :is(.card,.panel,.stat-card,.stats-card,.mq-card,.mq-panel,.dashboard-card,.report-card){background-color:#fff !important;color:#152b2d !important;border-color:#cadbdd !important;}
html[data-mq-theme="light"] :is(input,select,textarea){background-color:#fff;color:#152b2d;border-color:#b8cbce;}
html[data-mq-theme="light"] :is(.sidebar,#sidebar,.admin-sidebar){background-color:#e8f0f2 !important;color:#152b2d !important;}
html[data-mq-theme="light"] :is(.sidebar,#sidebar,.admin-sidebar) a:not(.active){color:#233b3d;}
html[data-mq-theme="light"] :is(.mq-error,.alert-danger){background-color:#fff0f0;color:#8f2930;}
/* Preserve brand greens and cyan accent, layout, 3D cubes, fonts and font sizes. */
#mq-theme-switch {display:inline-flex;align-items:center;gap:4px;direction:ltr;
  padding:3px 4px;border:1px solid #537076;border-radius:8px;
  background:#102224;box-sizing:border-box;line-height:1;z-index:9999;
  box-shadow:0 1px 6px #0003;vertical-align:middle;}
#mq-theme-switch button {display:inline-grid;place-items:center;width:29px;height:29px;
 padding:2px;margin:0;border:1px solid transparent;border-radius:5px;
 background:transparent;cursor:pointer;box-sizing:border-box;line-height:1;}
#mq-theme-switch button[aria-pressed="true"]{border-color:#56ff87;background:#22443c;}
#mq-theme-switch .mq-cube {width:18px;height:18px;display:block;transform:rotate(-17deg) skewY(-5deg);
 border:1px solid #2f5154;box-shadow:3px -3px 0 #087867;}
#mq-theme-switch .mq-cube-dark {background:linear-gradient(140deg,#273335 0%,#080d10 75%);}
#mq-theme-switch .mq-cube-light {background:linear-gradient(140deg,#fff 0%,#e2e9e8 75%);box-shadow:3px -3px 0 #abbcbc;}
#mq-theme-switch button:focus-visible{outline:2px solid #5effa0;outline-offset:2px;}
@media(max-width:700px){#mq-theme-switch button{width:24px;height:24px;}#mq-theme-switch .mq-cube{width:15px;height:15px;}}

/* MQ_LIGHT_POLISH_V3_BEGIN */
/* Visual polish ONLY in light mode; intentionally no font-size, width, height, padding, margins, transforms or positioning. */
html[data-mq-theme="light"] {
 color-scheme: light;
 --bg:#f2f6f5;--background:#f2f6f5;--background-color:#f2f6f5;
 --surface:#ffffff;--card:#ffffff;--panel:#ffffff;
 --text:#183335;--text-color:#183335;--muted:#607578;
 --border:#d6e2e1;--line:#d6e2e1;
 --mq-bg:#f2f6f5;--mq-panel:#ffffff;--mq-card:#ffffff;
 --mq-text:#183335;--mq-muted:#607578;--mq-border:#d6e2e1;
}
html[data-mq-theme="light"] body {background-color:#f2f6f5!important;color:#183335!important;}
html[data-mq-theme="light"] :is(#mq-content,.workspace,.main-content,main) {color:#183335;}
/* Light cards: flatten heavy black outlines without modifying geometry. */
html[data-mq-theme="light"] :is(.card,.panel,.stat-card,.stats-card,.mq-card,.mq-panel,.dashboard-card,.report-card,.kpi-card,.metric-card,.widget,.tile) {
 background-color:#fff!important;color:#183335!important;border-color:#d0dfdc!important;
 box-shadow:0 2px 12px rgba(16,56,54,.07)!important;
}
html[data-mq-theme="light"] :is(.card,.panel,.stat-card,.stats-card,.mq-card,.mq-panel,.dashboard-card,.report-card,.kpi-card,.metric-card,.widget,.tile) :is(h1,h2,h3,h4,p,small,label) {color:inherit;}
/* Tables and ordinary data: retain original font sizing and spacing. */
html[data-mq-theme="light"] :is(table,thead,tbody,tr,td,th) {border-color:#d6e2e1;}
html[data-mq-theme="light"] :is(thead,th) {background-color:#eaf2f1;color:#254649;}
html[data-mq-theme="light"] :is(input,textarea,select) {background-color:#fff!important;color:#19383a!important;border-color:#bacfce!important;}
html[data-mq-theme="light"] :is(input,textarea,select)::placeholder {color:#72898b;}
/* Sidebar: calm light neutrals, keeping the original navigation structure. */
html[data-mq-theme="light"] :is(#sidebar,.sidebar,.admin-sidebar) {background-color:#e8f0ef!important;color:#254448!important;border-color:#cbdcda!important;}
html[data-mq-theme="light"] :is(#sidebar,.sidebar,.admin-sidebar) a:not(.active) {color:#294648!important;}
html[data-mq-theme="light"] :is(#sidebar,.sidebar,.admin-sidebar) a.active {background-color:#e0f7ea;color:#087348!important;border-color:#36c977!important;}
/* Distinct charts and live-feed areas may intentionally retain their dark plotting surface.
   Neutralize outlines on the surrounding UI, but do not recolor canvas/SVG pixels. */
html[data-mq-theme="light"] :is(canvas,svg) {color:inherit;}
/* Existing fluorescent green brand accent remains untouched. */
/* MQ_LIGHT_POLISH_V3_END */
/* MQ_GLOBAL_LIGHT_V5_BEGIN */
/* Color-only global layer; the existing black/white cube applies data-mq-theme.
   Never set font-size, line-height, dimensions, display, grid, spacing, position, transitions or animation. */
html[data-mq-theme="light"] {
  color-scheme:light;
  --bg:#f2f7f6;--background:#f2f7f6;--surface:#fff;--card:#fff;--panel:#fff;
  --text:#183b37;--muted:#526d69;--border:#cedfda;--line:#cedfda;
  --mq-bg:#f2f7f6;--mq-panel:#fff;--mq-card:#fff;
  --mq-text:#183b37;--mq-muted:#526d69;--mq-border:#cedfda;
}
html[data-mq-theme="light"] body{background-color:#f2f7f6!important;color:#183b37!important}
html[data-mq-theme="light"] :is(#mq-content,.workspace,.main-content,main){color:#183b37}
/* Surfaces across admin2, manager and participant shells. */
html[data-mq-theme="light"] :is(.card,.panel,.mq-card,.mq-panel,.dashboard-card,.report-card,.stat-card,.stats-card,.kpi,.card-wrap,.spot,.widget,.tile){
  background-color:#fff!important;background-image:none!important;color:#183b37!important;
  border-color:#d0dfda!important;box-shadow:0 3px 12px rgba(14,61,53,.08)!important;
}
html[data-mq-theme="light"] :is(.mini,.mini-stat,.metric-card){
  background-color:#eaf4f0!important;background-image:none!important;
  color:#183b37!important;border-color:#cedfda!important;box-shadow:none!important;
}
html[data-mq-theme="light"] :is(.card,.panel,.mq-card,.mq-panel,.dashboard-card,.report-card,.stat-card,.stats-card,.kpi,.card-wrap,.spot,.widget,.tile,.mini) :is(h1,h2,h3,h4,.num,.val,.who){
  color:#163a35!important;text-shadow:none!important;
}
html[data-mq-theme="light"] :is(.card,.panel,.mq-card,.mq-panel,.dashboard-card,.report-card,.stat-card,.stats-card,.kpi,.card-wrap,.spot,.widget,.tile,.mini) :is(.lbl,.sub,.det,p,small){color:#526d69!important}
html[data-mq-theme="light"] :is(.section-title,.card-wrap h3){color:#087b61!important;text-shadow:none!important}
html[data-mq-theme="light"] :is(.tag,.badge-mini,.mq-feed-item .act){background-color:#e8f3ee!important;color:#286558!important;border-color:#c5ddd3!important}
html[data-mq-theme="light"] :is(input,textarea,select){background-color:#fff!important;color:#183b37!important;border-color:#b9d0c9!important}
html[data-mq-theme="light"] :is(input,textarea)::placeholder{color:#738c85!important}
html[data-mq-theme="light"] :is(table,td,th){border-color:#d5e3df!important}
html[data-mq-theme="light"] :is(thead,th){background-color:#eaf3ef!important;color:#234e44!important}
html[data-mq-theme="light"] :is(#sidebar,.sidebar,.admin-sidebar){background-color:#eaf1ee!important;color:#244b41!important;border-color:#cbded6!important}
html[data-mq-theme="light"] :is(#sidebar,.sidebar,.admin-sidebar) a:not(.active){color:#2b4a41!important}
html[data-mq-theme="light"] :is(#sidebar,.sidebar,.admin-sidebar) a.active{background-color:#d9f2e3!important;color:#08774c!important;border-color:#36c778!important}
/* Dashboard's original block styling uses dark hardcoded hexadecimal colors. */
html[data-mq-theme="light"] .mq-dash{
  --b:#cedfd8;--stone:#d4e4dc;--stone2:#e7f0eb;--m:#607a70;
  --g:#098653;--gd:#067447;--c:#087e92;--cd:#006c79;color:#173b34;
}
html[data-mq-theme="light"] .mq-dash :is(.mq-ticker,.mq-feed,.mq-chart,.mq-hbar-track){
  background:#f4faf7!important;background-image:none!important;
  border-color:#c9ded5!important;box-shadow:inset 0 0 0 1px #e0ece6!important;
}
html[data-mq-theme="light"] .mq-dash .mq-ticker::before{background:linear-gradient(90deg,#f4faf7,transparent)!important}
html[data-mq-theme="light"] .mq-dash .mq-ticker::after{background:linear-gradient(270deg,#f4faf7,transparent)!important}
html[data-mq-theme="light"] .mq-dash .mq-feed::before{background:linear-gradient(#f4faf7,transparent)!important}
html[data-mq-theme="light"] .mq-dash .mq-feed::after{background:linear-gradient(transparent,#f4faf7)!important}
html[data-mq-theme="light"] .mq-dash .mq-feed-item{border-bottom-color:#d9e7e0!important}
html[data-mq-theme="light"] .mq-dash :is(.mq-feed-item .who,.mq-hbar-lbl){color:#264b41!important}
html[data-mq-theme="light"] .mq-dash :is(.mq-feed-item .det,.mq-ticker-item .lbl,.mq-chart-lbls,.mq-muted){color:#5e786e!important}
html[data-mq-theme="light"] .mq-dash :is(.mq-feed-item .tm,.mq-hbar-val){color:#087e8f!important}
html[data-mq-theme="light"] .mq-dash .mq-ticker-item .val{color:#087b4e!important;text-shadow:none!important}
html[data-mq-theme="light"] .mq-dash .mq-bar-fill{border-color:#abcfbf!important;box-shadow:none!important}
html[data-mq-theme="light"] .mq-dash .mq-bar::after{color:#087a4b!important}
html[data-mq-theme="light"] .mq-dash .mq-hbar-fill{background:linear-gradient(90deg,#18a979,#07865a)!important}
/* Never force light styles onto an intentionally dark plot, a mascot, or the 3D cube itself. */
/* MQ_GLOBAL_LIGHT_V5_END */

/* MOSABAQTAK_RETRO_LIGHT_V6_BEGIN */
/* Retro Voxel / Pixel Game UI — cheerful light theme
   Light mode only. Does not change layout, typography, spacing, or behavior. */
html[data-mq-theme="light"],
body[data-mq-theme="light"]{
  color-scheme: light;
}

[data-mq-theme="light"]{
  --mq-bg: #f7f5ea;
  --mq-panel: #fff6cf;
  --mq-panel-2: #ecfbff;
  --mq-card: #fff8de;
  --mq-card-2: #f1ffef;
  --mq-soft: #f9f0ff;
  --mq-border: #9db2b7;
  --mq-border-strong: #5f7376;
  --mq-text: #243234;
  --mq-text-soft: #55686c;
  --mq-title: #162224;
  --mq-accent: #32d3d6;
  --mq-accent-2: #7af16d;
  --mq-accent-3: #ffd84d;
  --mq-accent-4: #ff8db1;
  --mq-shadow: rgba(40, 58, 60, .12);
  --mq-grid: rgba(87, 108, 113, .10);
  --stone: var(--mq-border-strong);
  --stone2: var(--mq-border);
  --b: #182325;
  --m: var(--mq-text-soft);
  --g: #2cc84d;
  --gd: #58e266;
  --c: #1fb7d8;
  --cd: #4fdaf3;
  --y: #f3c418;
  --yd: #ffd84d;
  --r: #ff6f8f;
  --rd: #ff9bb0;
}

[data-mq-theme="light"] body,
[data-mq-theme="light"] .app-shell,
[data-mq-theme="light"] .app-main,
[data-mq-theme="light"] #mq-content,
[data-mq-theme="light"] .mq-content,
[data-mq-theme="light"] .workspace,
[data-mq-theme="light"] .page-shell{
  background: linear-gradient(180deg,#f7f5ea 0%, #eef7f5 100%) !important;
  color: var(--mq-text) !important;
}

[data-mq-theme="light"] body::before,
[data-mq-theme="light"] .app-main::before,
[data-mq-theme="light"] .workspace::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--mq-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--mq-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .45;
  z-index: 0;
}

[data-mq-theme="light"] .topbar,
[data-mq-theme="light"] .app-topbar,
[data-mq-theme="light"] .mq-topbar,
[data-mq-theme="light"] .site-header,
[data-mq-theme="light"] .main-header,
[data-mq-theme="light"] .header{
  background: linear-gradient(180deg,#dffeff 0%, #c8fbff 100%) !important;
  color: var(--mq-title) !important;
  border-bottom: 3px solid var(--mq-accent) !important;
  box-shadow: 0 2px 0 var(--mq-border-strong) !important;
}

[data-mq-theme="light"] .sidebar,
[data-mq-theme="light"] .app-sidebar,
[data-mq-theme="light"] #sidebar,
[data-mq-theme="light"] .mq-sidebar{
  background: linear-gradient(180deg,#fff6cf 0%, #fff1be 100%) !important;
  color: var(--mq-text) !important;
  border-inline-start: 2px solid var(--mq-border-strong) !important;
  box-shadow: inset 2px 0 0 #fff9e7 !important;
}

[data-mq-theme="light"] .nav-link,
[data-mq-theme="light"] .sidebar a,
[data-mq-theme="light"] .menu a,
[data-mq-theme="light"] .nav-item > a{
  color: var(--mq-text) !important;
}

[data-mq-theme="light"] .nav-link.active,
[data-mq-theme="light"] .nav-link:hover,
[data-mq-theme="light"] .sidebar a:hover,
[data-mq-theme="light"] .sidebar a.active,
[data-mq-theme="light"] .menu a:hover,
[data-mq-theme="light"] .menu a.active{
  background: linear-gradient(180deg,#ecfbff 0%, #dff9ff 100%) !important;
  color: var(--mq-title) !important;
  box-shadow: inset 4px 0 0 var(--mq-accent-2) !important;
}

[data-mq-theme="light"] .card,
[data-mq-theme="light"] .panel,
[data-mq-theme="light"] .box,
[data-mq-theme="light"] .widget,
[data-mq-theme="light"] .kpi,
[data-mq-theme="light"] .mini,
[data-mq-theme="light"] .card-wrap,
[data-mq-theme="light"] .spot,
[data-mq-theme="light"] .mq-stat,
[data-mq-theme="light"] .mq-card,
[data-mq-theme="light"] .mq-panel,
[data-mq-theme="light"] .table-wrap,
[data-mq-theme="light"] .hero,
[data-mq-theme="light"] .toolbar,
[data-mq-theme="light"] .filters,
[data-mq-theme="light"] .searchbar,
[data-mq-theme="light"] .metric,
[data-mq-theme="light"] .summary-box,
[data-mq-theme="light"] .data-panel{
  background: var(--mq-card) !important;
  color: var(--mq-text) !important;
  border: 3px solid var(--mq-border-strong) !important;
  box-shadow: 0 0 0 2px #fff8e7 inset, 4px 4px 0 var(--mq-shadow) !important;
}

[data-mq-theme="light"] .kpi.c,
[data-mq-theme="light"] .mini.c,
[data-mq-theme="light"] .is-cyan,
[data-mq-theme="light"] .accent-cyan{ background: var(--mq-panel-2) !important; }
[data-mq-theme="light"] .kpi.y,
[data-mq-theme="light"] .mini.y,
[data-mq-theme="light"] .is-yellow,
[data-mq-theme="light"] .accent-yellow{ background: #fff4c9 !important; }
[data-mq-theme="light"] .kpi.r,
[data-mq-theme="light"] .mini.r,
[data-mq-theme="light"] .is-pink,
[data-mq-theme="light"] .accent-pink{ background: #ffe7f0 !important; }
[data-mq-theme="light"] .is-green,
[data-mq-theme="light"] .accent-green{ background: var(--mq-card-2) !important; }

[data-mq-theme="light"] h1,
[data-mq-theme="light"] h2,
[data-mq-theme="light"] h3,
[data-mq-theme="light"] h4,
[data-mq-theme="light"] .title,
[data-mq-theme="light"] .page-title,
[data-mq-theme="light"] .section-title,
[data-mq-theme="light"] .hero-title,
[data-mq-theme="light"] .num,
[data-mq-theme="light"] .val,
[data-mq-theme="light"] .count,
[data-mq-theme="light"] .stat-num{
  color: var(--mq-title) !important;
  text-shadow: none !important;
}

[data-mq-theme="light"] p,
[data-mq-theme="light"] .muted,
[data-mq-theme="light"] .sub,
[data-mq-theme="light"] .meta,
[data-mq-theme="light"] .lbl,
[data-mq-theme="light"] .tag,
[data-mq-theme="light"] .caption,
[data-mq-theme="light"] small,
[data-mq-theme="light"] td,
[data-mq-theme="light"] th,
[data-mq-theme="light"] label,
[data-mq-theme="light"] .mq-muted{
  color: var(--mq-text-soft) !important;
}

[data-mq-theme="light"] .btn,
[data-mq-theme="light"] button,
[data-mq-theme="light"] input[type="submit"],
[data-mq-theme="light"] input[type="button"],
[data-mq-theme="light"] .go,
[data-mq-theme="light"] .action,
[data-mq-theme="light"] .chip,
[data-mq-theme="light"] .badge,
[data-mq-theme="light"] .tag-chip{
  background: linear-gradient(180deg,#dffeff 0%, #bff7ff 100%) !important;
  color: var(--mq-title) !important;
  border: 2px solid var(--mq-border-strong) !important;
  box-shadow: 2px 2px 0 var(--mq-shadow) !important;
}
[data-mq-theme="light"] .btn:hover,
[data-mq-theme="light"] button:hover,
[data-mq-theme="light"] .go:hover,
[data-mq-theme="light"] .action:hover{
  filter: brightness(.98) saturate(1.05);
}

[data-mq-theme="light"] input,
[data-mq-theme="light"] select,
[data-mq-theme="light"] textarea,
[data-mq-theme="light"] .form-control,
[data-mq-theme="light"] .search-input{
  background: #fffdf4 !important;
  color: var(--mq-title) !important;
  border: 2px solid var(--mq-border) !important;
  box-shadow: inset 0 1px 0 #fff !important;
}

[data-mq-theme="light"] table,
[data-mq-theme="light"] .table,
[data-mq-theme="light"] .data-table{
  background: #fff9ea !important;
  color: var(--mq-title) !important;
}
[data-mq-theme="light"] thead,
[data-mq-theme="light"] thead tr,
[data-mq-theme="light"] th{
  background: #dffeff !important;
  color: var(--mq-title) !important;
  border-color: var(--mq-border) !important;
}
[data-mq-theme="light"] tbody tr:nth-child(even){ background: rgba(255,255,255,.45) !important; }
[data-mq-theme="light"] tbody tr:hover{ background: #f1ffef !important; }

[data-mq-theme="light"] .mq-ticker,
[data-mq-theme="light"] .mq-feed,
[data-mq-theme="light"] .mq-chart,
[data-mq-theme="light"] .mq-hbar-track,
[data-mq-theme="light"] .chart,
[data-mq-theme="light"] .graph,
[data-mq-theme="light"] .chart-area,
[data-mq-theme="light"] .list-frame{
  background: #fffdf4 !important;
  border-color: var(--mq-border-strong) !important;
  box-shadow: inset 0 0 0 2px #fff3cc !important;
}
[data-mq-theme="light"] .mq-bar-fill,
[data-mq-theme="light"] .bar-fill,
[data-mq-theme="light"] .progress-bar{
  background: linear-gradient(180deg,#7af16d, #2cc84d) !important;
  border-color: var(--mq-border-strong) !important;
}
[data-mq-theme="light"] .mq-bar-mini .mq-bar-fill,
[data-mq-theme="light"] .series-cyan,
[data-mq-theme="light"] .chart-cyan{
  background: linear-gradient(180deg,#5be8ff, #1fb7d8) !important;
}
[data-mq-theme="light"] .series-pink,
[data-mq-theme="light"] .chart-pink{
  background: linear-gradient(180deg,#ff9bb0, #ff6f8f) !important;
}
[data-mq-theme="light"] .series-yellow,
[data-mq-theme="light"] .chart-yellow{
  background: linear-gradient(180deg,#ffe07a, #f3c418) !important;
}

[data-mq-theme="light"] svg text,
[data-mq-theme="light"] .apexcharts-text,
[data-mq-theme="light"] .chart text{
  fill: #314245 !important;
  color: #314245 !important;
}

[data-mq-theme="light"] .mq-error,
[data-mq-theme="light"] .error,
[data-mq-theme="light"] .alert,
[data-mq-theme="light"] .notice{
  background: #fff0f4 !important;
  color: #6f293a !important;
  border: 2px solid #d88ea3 !important;
}

[data-mq-theme="light"] a{ color: #186d82 !important; }
[data-mq-theme="light"] a:hover{ color: #0d5667 !important; }

/* Specific polish for admin sponsor requests and dashboard-like pages */
[data-mq-theme="light"] .hero,
[data-mq-theme="light"] .hero-banner,
[data-mq-theme="light"] .summary-hero,
[data-mq-theme="light"] .page-hero,
[data-mq-theme="light"] .headline-panel{
  background: linear-gradient(135deg,#fff6cf 0%, #ecfbff 50%, #f1ffef 100%) !important;
}

[data-mq-theme="light"] .stat-box,
[data-mq-theme="light"] .summary-card,
[data-mq-theme="light"] .filter-bar,
[data-mq-theme="light"] .search-wrap,
[data-mq-theme="light"] .table-toolbar{
  background: #fff8de !important;
}

/* MOSABAQTAK_RETRO_LIGHT_V6_END */
/* MOSABAQTAK_HOME_RETRO_V7_BEGIN */
/* Homepage interior colors ONLY in light mode. Original layout / fonts / sizes / motion untouched. */
html.mq-homepage[data-mq-theme="light"] {
 --mq-home-ink:#20363b;
 --mq-home-muted:#425c61;
 --mq-home-stroke:#83a8ad;
 --mq-home-soft:#d6e9e7;
 --mq-home-cyan:#d9f8ff;
 --mq-home-mint:#e2fbe8;
 --mq-home-cream:#fff0ca;
 --mq-home-lilac:#eee7ff;
 --mq-home-pink:#ffebf1;
}
/* Section shells — preserve section dimensions, grid, borders thickness and animation. */
html.mq-homepage[data-mq-theme="light"] body main > section:not(:first-child),
html.mq-homepage[data-mq-theme="light"] body main > article,
html.mq-homepage[data-mq-theme="light"] body :is(.features-section,.features,.features-grid,.guest-section,.guest-area,.hero-secondary,.platform-section,.platform-info,.why-us,.advantages,.feature-section,.steps-section,.steps,.how-it-works,.pricing-section,.pricing,.pricing-area,.plans-section,.faq-section,.faq,.questions-section,.testimonials-section,.stats-section,.services-section,.home-section,.home-panel,.section-panel,.section-wrap,.pixel-section,.voxel-section) {
 background-color:var(--mq-home-cream)!important;
 color:var(--mq-home-ink)!important;
 border-color:var(--mq-home-stroke)!important;
}
/* Make the interior areas of large homepage frames colorful rather than near-black. */
html.mq-homepage[data-mq-theme="light"] body :is(.guest-section,.guest-area,.guest-steps,.steps-section,.steps,.how-it-works,.steps-grid,.section-steps,.guest-log) {
 background:#e2fbe8!important;
}
html.mq-homepage[data-mq-theme="light"] body :is(.features-section,.features,.features-grid,.advantages,.benefits-section,.services-section,.services-grid,.feature-section,.platform-section) {
 background:#d9f8ff!important;
}
html.mq-homepage[data-mq-theme="light"] body :is(.pricing-section,.pricing,.pricing-area,.plans-section,.plans,.plan-section,.subscriptions-section) {
 background:#eee7ff!important;
}
/* Card shells: apply to semantic cards and panels but not image/mascot/voxel artwork. */
html.mq-homepage[data-mq-theme="light"] body main :is(.card,.feature-card,.feature-item,.service-card,.stat-card,.metric-card,.step-card,.guest-card,.plan-card,.pricing-card,.benefit-card,.how-card,.faq-card,.faq-item,.info-card,.section-card,.content-card,.pixel-card,.voxel-card,.tile,.panel,.frame-content,.frame-body,.box-content,.step,.stat,.service-item,.benefit-item):not([style*="background-image"]):not([style*="background: url"]):not([style*="background:url"]) {
 background-color:var(--mq-home-cyan)!important;
 background-image:none!important;
 color:var(--mq-home-ink)!important;
 border-color:var(--mq-home-stroke)!important;
}
html.mq-homepage[data-mq-theme="light"] body main :is(.feature-card,.feature-item,.service-card,.service-item,.benefit-card,.benefit-item,.feature-tile,.metric-card,.stat-card,.stat,.stats-card) {
 background-color:var(--mq-home-mint)!important;
}
html.mq-homepage[data-mq-theme="light"] body main :is(.step-card,.guest-card,.step,.guest-step,.stage-card) {
 background-color:var(--mq-home-cream)!important;
}
html.mq-homepage[data-mq-theme="light"] body main :is(.plan-card,.pricing-card,.pricing-item,.faq-card,.faq-item) {
 background-color:var(--mq-home-lilac)!important;
}
/* Readable dark copy, including text inside cards and larger colored frames. */
html.mq-homepage[data-mq-theme="light"] body main :is(.guest-section,.guest-area,.features-section,.features,.platform-section,.platform-info,.steps-section,.how-it-works,.pricing-section,.pricing,.plans-section,.faq-section,.services-section,.home-panel,.section-panel,.card,.feature-card,.feature-item,.service-card,.stat-card,.metric-card,.step-card,.guest-card,.plan-card,.pricing-card,.benefit-card,.how-card,.faq-card,.faq-item,.info-card,.section-card,.content-card,.pixel-card,.voxel-card,.tile,.panel,.frame-content,.frame-body,.step,.stat) :is(h1,h2,h3,h4,h5,h6,p,small,strong,.title,.heading,.label,.name,.description,.desc,.subtitle,.text,.price,.amount,.value,.num,.count,.caption) {
 color:var(--mq-home-ink)!important;
 text-shadow:none!important;
}
html.mq-homepage[data-mq-theme="light"] body main :is(.guest-section,.guest-area,.features-section,.steps-section,.pricing-section,.plans-section,.faq-section,.services-section,.home-panel,.section-panel,.card,.feature-card,.step-card,.plan-card,.pricing-card,.faq-card,.pixel-card,.voxel-card) :is(.muted,.secondary,.meta,.hint,.intro,.subtext,.sub-title) {
 color:var(--mq-home-muted)!important;
}
/* Pixel edges keep their weight. Only their color changes. */
html.mq-homepage[data-mq-theme="light"] body main :is(.feature-card,.step-card,.service-card,.benefit-card,.plan-card,.pricing-card,.faq-card,.pixel-card,.voxel-card,.stat-card,.metric-card,.tile,.panel) {
 border-color:var(--mq-home-stroke)!important;
 box-shadow:4px 4px 0 rgba(62,107,116,.18)!important;
}
/* Retain dark stylized game art, hero illustration, promotional images, and existing buttons. */
/* MOSABAQTAK_HOME_RETRO_V7_END */
/* MQ_HOME_FRAMES_V8_START */
/* Light-only color layer. No layout/font/size/animation overrides. */
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section {
  --v8-ink:#25363c;
  --v8-muted:#52696d;
  --v8-edge:#8baeb0;
  --v8-bg:#e2f8e9;
  --v8-in:#f3fff5;
  background-color:var(--v8-bg)!important;
  background-image:none!important;
  border-color:var(--v8-edge)!important;
  color:var(--v8-ink)!important;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section[data-v8-kind="features"]{
  --v8-bg:#d9f4ff;--v8-in:#f0fbff;--v8-edge:#80baca;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section[data-v8-kind="plans"]{
  --v8-bg:#efe7ff;--v8-in:#f9f4ff;--v8-edge:#b2a0d1;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section .mq-home-v8-surface{
  background-color:var(--v8-in)!important;
  background-image:none!important;
  color:var(--v8-ink)!important;
  border-color:var(--v8-edge)!important;
  box-shadow-color:rgba(73,104,114,.16);
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section .mq-home-v8-surface:nth-of-type(3n+2){
  background-color:#fff3cd!important;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section .mq-home-v8-surface:nth-of-type(3n+3){
  background-color:#fce8f3!important;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section :is(h1,h2,h3,h4,h5,h6,p,small,strong,span,li,.title,.subtitle,.desc,.description,.label,.heading,.price,.amount):not(.mq-home-v8-keep-dark){
  color:var(--v8-ink)!important;
  text-shadow:none!important;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section :is(.muted,.meta,.hint,.subtext,.intro){
  color:var(--v8-muted)!important;
}
html.mq-homepage[data-mq-theme="light"] .mq-home-v8-section :is(input,select,textarea){
  background-color:#fffdf5!important;
  color:var(--v8-ink)!important;
  border-color:var(--v8-edge)!important;
}
/* Preserve original button styles, photographs, illustrations, canvas and game tiles. */
/* MQ_HOME_FRAMES_V8_END */

/* MQ_HOME_INNER_V9_START */
/* Real homepage selectors from DevTools: section.reveal article.quest, .num, .xp.
   Only colors: never font-size, width, height, padding, margins or animation. */
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal,
html.mq-homepage-v9[data-mq-theme="light"] section.section.shop {
  color: #20363b !important;
  border-color: #8dabb1 !important;
}
/* Every guest journey frame has a gradient even when background-color is transparent. */
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest {
  background: linear-gradient(145deg, #e6faff 0%, #e9ffe9 100%) !important;
  color: #20363b !important;
  border-color: #83b9c0 !important;
  box-shadow: 3px 3px 0 rgba(65,105,111,.19) !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest:nth-child(3n+2) {
  background: linear-gradient(145deg, #fff1cf 0%, #ffe5f0 100%) !important;
  border-color: #c3ab88 !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest:nth-child(3n+3) {
  background: linear-gradient(145deg, #efe7ff 0%, #dffbff 100%) !important;
  border-color: #aca1ce !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest .num {
  background: linear-gradient(140deg, #b8f6de, #a7e9fb) !important;
  border-color: #83b9c0 !important;
  color: #1b3b43 !important;
  text-shadow: none !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest :is(h2,h3,h4,p,small,strong,span) {
  color: #20363b !important;
  text-shadow: none !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest p,
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest small {
  color: #46646b !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest .xp {
  background: #d5e9ec !important;
  border-color: #89b7be !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal article.quest .xp i {
  background: #3bca88 !important;
  border-color: #2e9b72 !important;
}
/* Shop cards: recolor only surfaces without image artwork. */
html.mq-homepage-v9[data-mq-theme="light"] section.section.shop article:not(:has(img, picture, canvas, video)) {
  background: linear-gradient(145deg, #f2eaff, #e4fbfc) !important;
  color: #20363b !important;
  border-color: #a4b3c8 !important;
  box-shadow: 3px 3px 0 rgba(65,105,111,.16) !important;
}
html.mq-homepage-v9[data-mq-theme="light"] section.section.shop article:not(:has(img, picture, canvas, video)) :is(h2,h3,h4,p,span,small,strong) {
  color: #20363b !important;
  text-shadow: none !important;
}
/* Other regular non-image panels inside these two specific homepage sections. */
html.mq-homepage-v9[data-mq-theme="light"] section.section.shop :is(.price-box,.plan-card,.shop-card,.offer-card,.shop-item):not(:has(img,picture,canvas,video)) {
  background: linear-gradient(145deg, #fff3d3, #e9f9ff) !important;
  color: #20363b !important;
  border-color: #b9ae8a !important;
}
/* Prevent previously hardcoded dark label colors in the section headings. */
html.mq-homepage-v9[data-mq-theme="light"] section.section.reveal > .head :is(h2,h3,p,small),
html.mq-homepage-v9[data-mq-theme="light"] section.section.shop > .head :is(h2,h3,p,small) {
  color: #20363b !important;
  text-shadow: none !important;
}
/* MQ_HOME_INNER_V9_END */



/* MQ_HERO_WHITE_LIGHT_V12_BEGIN */
/* Only the homepage hero heading and description in light mode. */
html[data-mq-theme="light"] .hero h1,
html[data-mq-theme="light"] .hero h1 *,
html[data-mq-theme="light"] .hero p,
html[data-mq-theme="light"] .hero p *,
body[data-mq-theme="light"] .hero h1,
body[data-mq-theme="light"] .hero h1 *,
body[data-mq-theme="light"] .hero p,
body[data-mq-theme="light"] .hero p * {
  color: #ffffff !important;
}
/* MQ_HERO_WHITE_LIGHT_V12_END */
