/* WLF v85 verified repair: unclipped palette button, dark/readable tools, smaller real-cover guide cards. */
:root{
  --wlf-brand:#2563EB;--wlf-brand-hot:#3B82F6;--wlf-accent:#38BDF8;
  --wlf-bg:#061126;--wlf-panel:#08172D;--wlf-panel-2:#0B1B33;
  --wlf-line:rgba(56,189,248,.34);--wlf-text:#F8FAFC;--wlf-muted:#C7D8EA;--wlf-soft:#AFC2DA;
}
html,body{background:#061126!important;color:#F8FAFC!important;overflow-x:hidden!important;}
body,p,li,span,label,a,button,input,select,textarea{font-family:Barlow,Inter,Arial,sans-serif!important;}
h1,h2,h3,.page-title,.hero-title,.guide-title,.gpc-title,.hero-hook-t{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif!important;}
p,li,.lead,.hero-sub,.guide-desc,.gpc-desc,.hero-hook-d{color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;line-height:1.6!important;}
h1,h2,h3,.page-title,.hero-title,.guide-title,.gpc-title,.hero-hook-t{color:#fff!important;-webkit-text-fill-color:#fff!important;}
.eyebrow,.guide-tag,.gpc-tag,.hl{color:var(--wlf-accent)!important;-webkit-text-fill-color:var(--wlf-accent)!important;}
/* Logo should be clean and small, never a giant generic preview block. */
.brand img,.nav-logo img,.topbar .brand img.bi,img.bi.wlf-clean-mark,img[src*='bpf-logo'],img[src*='wlf-intro']{width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;object-fit:contain!important;border-radius:12px!important;background:#071426!important;border:1px solid rgba(56,189,248,.32)!important;padding:4px!important;}
.brand,.nav-logo{display:flex!important;align-items:center!important;gap:10px!important;}
.bn,.brand-title{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:18px!important;line-height:1!important;letter-spacing:.04em!important;}
.bs,.brand-subtitle{color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;font-size:10px!important;}
.nav-links a,nav a{color:#EAF4FF!important;-webkit-text-fill-color:#EAF4FF!important;}
/* Palette button: one clean circular icon only. No clipped COLOR PALETTE text. */
#wlfPaletteBtn{
  position:fixed!important;right:22px!important;bottom:22px!important;z-index:2147483647!important;
  width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;min-height:58px!important;max-height:58px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border-radius:999px!important;
  border:1.5px solid rgba(56,189,248,.72)!important;background:linear-gradient(145deg,#061126,#0B1B33)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.42),0 0 0 3px rgba(37,99,235,.16)!important;
  color:transparent!important;-webkit-text-fill-color:transparent!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;text-indent:-9999px!important;white-space:nowrap!important;padding:0!important;margin:0!important;
}
#wlfPaletteBtn::before{content:'🎨'!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:25px!important;line-height:1!important;text-indent:0!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.4));}
#wlfPaletteBtn *{display:none!important;}
#wlfPaletteBtn:hover{transform:translateY(-2px)!important;border-color:#7DD3FC!important;}
#wlfPalettePanel{position:fixed!important;right:22px!important;bottom:92px!important;z-index:2147483646!important;width:min(330px,calc(100vw - 34px))!important;background:#071426!important;border:1px solid rgba(56,189,248,.45)!important;border-radius:18px!important;padding:16px!important;box-shadow:0 24px 60px rgba(0,0,0,.5)!important;display:none!important;color:#F8FAFC!important;-webkit-text-fill-color:#F8FAFC!important;}
#wlfPalettePanel.open{display:block!important;}
#wlfPalettePanel h3{margin:0 0 6px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:22px!important;}
#wlfPalettePanel p{margin:0 0 12px!important;color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;font-size:14px!important;}
.wlfPaletteGrid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;}
.wlfPaletteSwatch{width:100%!important;aspect-ratio:1/1!important;border-radius:999px!important;border:2px solid rgba(255,255,255,.78)!important;cursor:pointer!important;padding:0!important;box-shadow:0 8px 20px rgba(0,0,0,.25)!important;}
.wlfPaletteSwatch.active{outline:3px solid rgba(125,211,252,.72)!important;outline-offset:2px!important;}
.wlf-palette-docked,.wlf-palette-dock,.wlf-palette-toggle,.palette-dock,.palette-toggle,.color-palette-toggle,#wlf-switch-footer,#wlf-switch-btn,#wlf-switch-panel,#wlf-clean-palette,[data-theme-switcher]{display:none!important;visibility:hidden!important;pointer-events:none!important;}
/* Palette-driven buttons/accent surfaces. */
.tb-cta,.btn-or,.gpc-cta,.guide-btn,.prog-cta,a[class*='btn'],button[class*='btn']{background:var(--wlf-brand)!important;border-color:var(--wlf-brand)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 14px 32px color-mix(in srgb,var(--wlf-brand) 28%,transparent)!important;}
.tb-cta:hover,.btn-or:hover,.gpc-cta:hover,.guide-btn:hover,.prog-cta:hover,a[class*='btn']:hover,button[class*='btn']:hover{background:var(--wlf-brand-hot)!important;border-color:var(--wlf-brand-hot)!important;}
/* Homepage/free guide cards: show full real vertical covers, not cropped strips. */
.guide-card,.guide-promo-card,.gpc-card{background:linear-gradient(180deg,#08172D,#061126)!important;border:1px solid rgba(56,189,248,.34)!important;border-radius:18px!important;box-shadow:0 18px 42px rgba(0,0,0,.22)!important;color:#F8FAFC!important;-webkit-text-fill-color:#F8FAFC!important;overflow:hidden!important;}
.wlf-guide-cover-wrap{width:100%!important;max-width:260px!important;margin:0 auto 16px!important;aspect-ratio:2/3!important;border-radius:14px!important;overflow:hidden!important;background:#071426!important;border:1px solid rgba(191,219,254,.24)!important;box-shadow:0 14px 34px rgba(0,0,0,.30)!important;}
.wlf-guide-cover-wrap img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;background:#071426!important;}
.guide-card .guide-title,.gpc-title{font-size:clamp(22px,2.2vw,30px)!important;line-height:1.02!important;margin:8px 0 8px!important;}
.guide-card .guide-desc,.gpc-desc{font-size:15px!important;line-height:1.55!important;}
.guide-card .guide-bullets li{font-size:13px!important;line-height:1.45!important;color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;}
/* Dedicated Free Guides page: smaller, cleaner cover boxes. */
body:has(.series-label) .grid{width:min(1120px,94vw)!important;max-width:1120px!important;margin:0 auto!important;gap:18px!important;}
body:has(.series-label) .grid>div[style*='grid-template-columns:repeat(2,1fr)']{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
body:has(.series-label) .guide-card{padding:16px!important;min-height:auto!important;}
body:has(.series-label) .guide-card .wlf-guide-cover-wrap{max-width:190px!important;margin-bottom:14px!important;}
body:has(.series-label) .guide-card .guide-title{font-size:22px!important;}
body:has(.series-label) .guide-card .guide-desc{font-size:13px!important;}
body:has(.series-label) .guide-card .guide-bullets{display:none!important;}
body:has(.series-label) .guide-card .guide-btn{margin-top:12px!important;}
/* Fitness Tools section: fix white rows and dark boxed text. */
.tools-section{background:linear-gradient(180deg,#08172D 0%,#061126 100%)!important;color:#F8FAFC!important;border-top:1px solid rgba(56,189,248,.20)!important;}
.tools-section .page-title,.tools-section .page-title .hl{color:#fff!important;-webkit-text-fill-color:#fff!important;background:transparent!important;text-shadow:none!important;}
.tools-section .tools-intro,.tools-section p{color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;}
.tools-section .hero-hook-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.tools-section .hero-hook{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;background:linear-gradient(180deg,#0B1B33,#08172D)!important;background-image:linear-gradient(180deg,#0B1B33,#08172D)!important;border:1px solid rgba(56,189,248,.34)!important;border-radius:18px!important;box-shadow:0 18px 42px rgba(0,0,0,.26)!important;padding:18px!important;color:#F8FAFC!important;-webkit-text-fill-color:#F8FAFC!important;min-height:168px!important;}
.tools-section .hero-hook:hover{border-color:var(--wlf-accent)!important;transform:translateY(-2px)!important;}
.tools-section .hero-hook-ico{width:44px!important;height:44px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,var(--wlf-brand),var(--wlf-accent))!important;border:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:20px!important;}
.tools-section .hero-hook-t{background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:20px!important;line-height:1.05!important;margin:0 0 5px!important;box-shadow:none!important;}
.tools-section .hero-hook-d{background:transparent!important;color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;font-size:14px!important;line-height:1.5!important;box-shadow:none!important;}
.tools-section .hero-hook *{text-shadow:none!important;box-shadow:none!important;}
.tools-section [style*='position:sticky']{background:#08172D!important;border:1px solid rgba(56,189,248,.34)!important;color:#F8FAFC!important;-webkit-text-fill-color:#F8FAFC!important;}
.tools-section [style*='position:sticky'] *{color:#F8FAFC!important;-webkit-text-fill-color:#F8FAFC!important;}
.tools-section [style*='position:sticky'] p{color:#C7D8EA!important;-webkit-text-fill-color:#C7D8EA!important;}
.tools-section select,.tools-section input,.tools-section textarea{background:#061126!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(191,219,254,.65)!important;}
@media(max-width:1100px){body:has(.series-label) .grid>div[style*='grid-template-columns:repeat(2,1fr)']{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tools-section .hero-hook-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){#wlfPaletteBtn{right:16px!important;bottom:16px!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important}#wlfPalettePanel{right:14px!important;bottom:82px!important}.wlf-guide-cover-wrap{max-width:220px!important}body:has(.series-label) .grid>div[style*='grid-template-columns:repeat(2,1fr)']{grid-template-columns:1fr!important}.tools-section .hero-hook-grid{grid-template-columns:1fr!important}.tools-section .hero-hook{min-height:auto!important}.hero .page-title,.page-title{font-size:clamp(42px,14vw,70px)!important}}


/* WLF v86 hard fix: hide old clipped palette docks and force the actual nutrition cover. */
.wlf-palette-docked,.wlf-palette-dock,.wlf-palette-toggle,.palette-dock,.palette-toggle,.color-palette-toggle,#wlf-switch-footer,#wlf-switch-btn,#wlf-switch-panel,#wlf-clean-palette,[data-theme-switcher]{display:none!important;visibility:hidden!important;pointer-events:none!important;}
#wlfPaletteBtn{position:fixed!important;right:22px!important;bottom:22px!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;max-width:56px!important;max-height:56px!important;padding:0!important;margin:0!important;border-radius:50%!important;overflow:hidden!important;background:linear-gradient(145deg,#08172D,#020817)!important;border:2px solid rgba(56,189,248,.85)!important;box-shadow:0 18px 50px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.04)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:0!important;line-height:0!important;text-indent:-9999px!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:2147483647!important;}
#wlfPaletteBtn::before{content:'🎨'!important;display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;font-size:25px!important;line-height:1!important;text-indent:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#wlfPaletteBtn *{display:none!important;}
#wlfPalettePanel{z-index:2147483647!important;}
.guide-promo-card[href*="guide-what-to-eat-build-muscle"] .wlf-guide-cover-wrap img,
a.guide-card[href*="guide-what-to-eat-build-muscle"] .wlf-guide-cover-wrap img{object-fit:cover!important;object-position:center top!important;}


/* WLF v87: final homepage simplification and nutrition-cover safety. */
#bpf-over40-traffic-hub{display:none!important;}
.hub-custom-price-note,.hub-pricing{display:none!important;}
.guide-promo-card[href*="guide-what-to-eat-build-muscle"] .wlf-guide-cover-wrap img,
a.guide-card[href*="guide-what-to-eat-build-muscle"] .wlf-guide-cover-wrap img{object-fit:contain!important;object-position:center center!important;background:#ffffff!important;}
