/* ============================================================
   MEZANO — theme "أبيض وبرجندي" (white + burgundy), the default.
   Loaded last so it wins over theme.css / skin-b.css / themes2.css.
   Same token names as every other theme, nothing structural.
   ============================================================ */
html[data-th="wb"],body[data-th="wb"]{
  --bg:#FFFFFF; --surf:#FFFFFF; --surf2:#FBF7F7; --surf3:#F3ECEC;
  --line:rgba(122,27,45,.20); --line2:rgba(26,22,24,.07);
  --ic:#7A1B2D; --ic-soft:rgba(122,27,45,.08);
  --ink:#1A1A1A; --ink2:#6B6668; --ink4:#9A9496;
  --cream:#FFFFFF; --amber:#7A1B2D; --hair:rgba(122,27,45,.18); --sand:#FBF7F7;
  --teal:#2F6E5E; --red:#A3231F; --gold1:#7A1B2D; --gold2:rgba(122,27,45,.5);
  --pri-bg:linear-gradient(180deg,#8E2233 0%,#5E1420 100%); --pri-fg:#FFF4F1; --pri-bd:transparent;
  --plate:linear-gradient(180deg,#FFFFFF 0%,#FBF7F7 100%);
  --qink:#1A1A1A;
}
html[data-th="wb"] body[data-th="wb"]{background:var(--bg)}
/* the mushaf paper reads as a page, not a card: a hairline and no tint */
html[data-th="wb"] .mq-paper{background:#FFFFFF;box-shadow:0 0 0 1px var(--line) inset}
html[data-th="wb"] .mq-sh span{background:#FFFFFF}
/* ---- white+burgundy: neutralise ---- */
/* only the rules that recolour light-theme literals; palette variable blocks are skipped so the wb tokens win */
html[data-th="wb"].lt .ded{background:linear-gradient(180deg,rgba(122,27,45,.07),rgba(122,27,45,0) 70%),#FFFFFF}
html[data-th="wb"].lt .ded .d1{color:#1A1A1A}
html[data-th="wb"].lt .ded .d2{color:#7A1B2D}
html[data-th="wb"].lt .brand b{color:#1A1A1A}
html[data-th="wb"].lt #bar{background:linear-gradient(#FFFFFF 78%,transparent)}
html[data-th="wb"].lt #bar button{background:#FFFFFF;color:#7A1B2D;border-color:rgba(122,27,45,.2)}
html[data-th="wb"].lt .big{color:#1A1A1A}
html[data-th="wb"].lt .inp{background:#FFFFFF}
html[data-th="wb"].lt #welc{background:radial-gradient(120% 80% at 50% 0%,rgba(122,27,45,.10),transparent 60%),#FFFFFF}
html[data-th="wb"].lt .wbox{background:#FFFFFF;color:#1A1A1A;border-color:rgba(122,27,45,.24)}
html[data-th="wb"].lt .wbox p{color:#6B6668}
html[data-th="wb"].lt .ihelp,html[data-th="wb"].lt .row,html[data-th="wb"].lt .goal,html[data-th="wb"].lt .day,html[data-th="wb"].lt .res,html[data-th="wb"].lt .chk,html[data-th="wb"].lt .panel,html[data-th="wb"].lt .warn,html[data-th="wb"].lt .note,html[data-th="wb"].lt .alert,html[data-th="wb"].lt .next{background:#FFFFFF}
html[data-th="wb"].lt .card{background:#FFFFFF;border-color:rgba(122,27,45,.2);box-shadow:none}
html[data-th="wb"].lt .pill-l{background:transparent;color:#1A1A1A}
html[data-th="wb"].lt .hero,html[data-th="wb"].lt .paper{background:#FFFFFF;border-color:rgba(122,27,45,.22)}
html[data-th="wb"].lt .aya{color:#1A1A1A}
html[data-th="wb"].lt .bar{background:#F3ECEC}
html[data-th="wb"].lt .stats div{background:#FFFFFF}
html[data-th="wb"].lt .stats b{color:#7A1B2D}
html[data-th="wb"].lt .seg{background:#FBF7F7}
html[data-th="wb"].lt .seg button.on{background:rgba(122,27,45,.12);color:#7A1B2D;box-shadow:inset 0 0 0 1px rgba(122,27,45,.24)}
html[data-th="wb"].lt .adrow{background:#FFFFFF}
html[data-th="wb"].lt .adrow.on{background:rgba(122,27,45,.10)}
html[data-th="wb"].lt .streak{background:#FFFFFF}
html[data-th="wb"].lt .gear{background:#FFFFFF;color:#7A1B2D;border-color:rgba(122,27,45,.2)}
html[data-th="wb"].lt .big.ghost{color:#7A1B2D}
html[data-th="wb"].lt .hero-a button{background:#F3ECEC;color:#1A1A1A;border-color:rgba(122,27,45,.18)}
html[data-th="wb"].lt .hero-a button.on{background:rgba(122,27,45,.14);color:#7A1B2D}
html[data-th="wb"].lt .card.cont{background:#FFFFFF;border-color:rgba(122,27,45,.26)}
html[data-th="wb"].lt .sample{background:#FFFFFF}
html[data-th="wb"].lt .cbox{background:#FFFFFF;color:#1A1A1A;border-color:rgba(122,27,45,.24)}
html[data-th="wb"].lt .cbox h2{color:#1A1A1A}
html[data-th="wb"].lt .cb{border-color:rgba(122,27,45,.34);color:#7A1B2D}
html[data-th="wb"].lt .cb.pri{background:#7A1B2D;border-color:#7A1B2D;color:#FFFFFF}
html[data-th="wb"].lt #adov{background:rgba(40,32,16,.86)}
html[data-th="wb"].lt .rbox{background:#FFFFFF;color:#1A1A1A;border-color:rgba(122,27,45,.24)}
html[data-th="wb"].lt .rbox p{color:#6B6668}
html[data-th="wb"].lt .star{color:rgba(122,27,45,.22)}
html[data-th="wb"].lt .star.on{color:#7A1B2D}
html[data-th="wb"].lt .adhb.on{color:#2f7d51;background:rgba(47,125,81,.10)}
html[data-th="wb"].lt .gear,body[data-th="wb"].lt .gear{background:linear-gradient(180deg,#9A3550 0%,#822841 100%);color:#FBF4E4;border-color:#6E2135}
html[data-th="wb"].lt input,html[data-th="wb"].lt textarea,body[data-th="wb"].lt input,body[data-th="wb"].lt textarea{color-scheme:light}
html[data-th="wb"].lt #xov,body[data-th="wb"].lt #xov{background:rgba(38,30,16,.55)}

/* primary buttons: light-theme rules darken every .big label, which reads as a smudge
   on the burgundy fill. Primary keeps light text; ghost and danger keep their colour. */
html[data-th="wb"].lt .big,body[data-th="wb"].lt .big{color:#FFF6F4}
html[data-th="wb"].lt .big.ghost,body[data-th="wb"].lt .big.ghost{color:var(--ic)}
html[data-th="wb"].lt .big.dng,body[data-th="wb"].lt .big.dng{color:var(--red)}
