/* Taste review pass (site-wide). Loaded last on every page. Palette stays ivory / purple / ink / gold; texture layers untouched. */
/* 1. day ground: low-chroma ivory instead of yellow cream */
html:not([data-theme=night]):not([data-tone=dark]){--ui-bg:#F3F2EF;--paper:#F3F2EF;--fc-nav-bg:#F3F2EF}
html:not([data-theme=night]):not([data-tone=dark]) body{background-color:#F3F2EF}
/* 2. buttons: one flat fill, no gradient, no shadow or glow, no text shadow */
*,*:before,*:after{text-shadow:none!important}
:is(a.btn,button.btn,.btn,.tz-btn-main,#tz-go):not(.ghost){background-image:none!important;background-color:#C9A24B!important;color:#211A10!important;box-shadow:none!important;border-color:transparent!important;filter:none!important}
:is(a.btn,button.btn,.btn):not(.ghost):hover{background-color:#B8913C!important}
:is(.pill,.fc-pill,.fx-acct,.fx-acct-lib,#record-signin,.tz-btn-line){background-image:none!important;box-shadow:none!important;filter:none!important}
html:not([data-theme=night]):not([data-tone=dark]) :is(.pill,.fc-pill,.fx-acct,.fx-acct-lib,#record-signin,.tz-btn-line){background-color:rgba(41,41,25,.06)!important;border-color:transparent!important}
:is(html[data-theme=night],html[data-tone=dark]) :is(.pill,.fc-pill,.fx-acct,.fx-acct-lib,#record-signin,.tz-btn-line){background-color:rgba(239,235,221,.08)!important;border-color:transparent!important}
.u021-sw{box-shadow:none!important}
.ha .btn.ghost,.btn.ghost{box-shadow:none!important;background-image:none!important}
/* 3. fewer hairlines: footer and bottom nav separate by tone, not a rule */
footer.foot{border-top:0!important;background-color:color-mix(in srgb,currentColor 4%,transparent)}
:is(.mnav,.xt-mnav,.fx-mnav){border-top:0!important}
/* 4. bottom nav on phones: solid, no frosted glass */
:is(.mnav,.xt-mnav,.fx-mnav){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:not([data-theme=night]):not([data-tone=dark]) :is(.mnav,.xt-mnav,.fx-mnav){background:#EBE8DF!important}
:is(html[data-theme=night],html[data-tone=dark]) :is(.mnav,.xt-mnav,.fx-mnav){background:#1B1A1E!important}
/* 5. home headline: the keyword line moves under the headline as a plain supporting line (no eyebrow) */
.ha h1{display:flex!important;flex-direction:column}
.ha h1 br{display:none}
html[data-theme] body .ha h1 .h1-kw,html body .ha h1 .h1-kw{order:2;font-family:"FX Kai","FX Symbols","Noto Serif CJK SC",serif!important;font-size:18px!important;line-height:1.6!important;font-weight:400!important;letter-spacing:0!important;margin:16px 0 0!important;opacity:.8;text-transform:none!important}
.ha .t .lab{display:none!important}
/* 6. running text at 16px */
:is(.xt-article,.xt-land,.xt-intro,.home-main,.xt-main) :is(p,li,dd):not(.lic):not(.xt-note){font-size:16px}
.xt-article .lead{font-size:16px}
/* 7. home first screen: the Day Master strip becomes the one large picture (full first-screen height on desktop) */
@media (min-width:1101px){html body .ha .strip{height:720px;max-height:calc(100vh - 120px);min-height:560px}html body .ha .strip figure.x{flex-grow:3!important}}

.ha h1{margin-bottom:24px!important}
@media (max-width:760px){html[data-theme] body .ha h1 .h1-kw,html body .ha h1 .h1-kw{font-size:16px!important}}
/* 8. tool hero: drop the small kicker label above the headline */
.fx-mh .t>.lab,.fx-look .t>.lab{display:none!important}
/* 5b. English home: same headline treatment */
.xt-hero h1{display:flex!important;flex-direction:column}
html body .xt-hero h1 .h1-kw,html[data-theme] body .xt-hero h1 .h1-kw{order:2;font-family:inherit!important;font-size:18px!important;line-height:1.6!important;font-weight:400!important;letter-spacing:0!important;margin:16px 0 0!important;opacity:.8;text-transform:none!important}
/* 6b. home cards and notes: running text at 16px */
html body .home-main :is(.kb-d,p.mute){font-size:16px!important;line-height:1.7!important}
/* 2b/3b. stronger overrides for rules that carry ids or !important upstream */
html body :is(nav.mnav,nav.xt-mnav,nav.fx-mnav){border-top:0!important;box-shadow:none!important}
html:is([data-tone],[data-theme]) body :is(#rzq,.rzq,.mo,#record-signin,.fx-acct-lib,.tz-btn,.tz-btn-line,#tz-go,#tz-lock,#tz-reset),html body :is(#rzq,.rzq,.mo,#record-signin,.fx-acct-lib,.tz-btn,.tz-btn-line,#tz-go,#tz-lock,#tz-reset){box-shadow:none!important}
html:is([data-tone],[data-theme]) body :is(#record-signin,.fx-acct-lib,.tz-btn,.tz-btn-line,#tz-lock,#tz-reset),html body :is(#record-signin,.fx-acct-lib,.tz-btn,.tz-btn-line,#tz-lock,#tz-reset){background-image:none!important}
html body header.tz-head{border-bottom:0!important}
/* 2c. tool sidebar + tarot buttons: upstream rules use two id-level selectors, so match that weight */
html:is([data-tone],[data-theme]) body:not(#_a):not(#_b) :is(#record-signin,.fx-acct-lib,.tz-btn-line,#tz-lock,#tz-reset,#tz-go){box-shadow:none!important;background-image:none!important}
html:is([data-tone],[data-theme]) body:not(#_a):not(#_b) :is(#record-signin,.fx-acct-lib,.tz-btn-line,#tz-lock,#tz-reset):hover{transform:none}
