/* One restrained product system; canvas game surfaces keep their own palette. */
#ofwProductNav{position:sticky;top:10px;z-index:40;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:min(760px,calc(100% - 32px));margin:18px auto 8px;padding:7px;background:#102333f5;border:1px solid #78909b44;border-radius:18px;box-shadow:0 10px 32px #081b2920;backdrop-filter:blur(18px);box-sizing:border-box;isolation:isolate;font-family:Inter,system-ui,sans-serif}
#ofwProductNav>a,#ofwProductNav summary{display:flex;gap:9px;align-items:center;justify-content:center;min-height:46px;padding:9px 10px;border:0;border-radius:12px;color:#dce9ee!important;text-decoration:none;font-size:14px;font-weight:650;line-height:1.2;cursor:pointer;box-sizing:border-box;list-style:none;background:transparent;white-space:nowrap}
#ofwProductNav summary::-webkit-details-marker{display:none}#ofwProductNav :is(a,summary)>span{color:inherit!important}#ofwProductNav svg{width:21px;height:21px;flex:none}#ofwProductNav [aria-current=page]{background:#e6c47f!important;color:#142b3a!important}#ofwProductNav :is(a,summary):hover{background:#ffffff12}#ofwProductNav :is(a,summary):focus-visible{outline:3px solid #8be1d8;outline-offset:2px}#ofwProductNav details{position:relative;margin:0}#ofwProductNav .ofw-games-links{position:absolute;top:calc(100% + 16px);right:0;width:280px;padding:9px;border:1px solid #67889466;border-radius:18px;background:#102333;box-shadow:0 16px 48px #0004}#ofwProductNav .ofw-games-links a{display:block;padding:14px 12px;border-radius:10px;color:#f0f6f8!important;text-decoration:none}#ofwProductNav .ofw-games-links strong,#ofwProductNav .ofw-games-links small{display:block;color:inherit!important}#ofwProductNav .ofw-games-links small{margin-top:5px;color:#b5ccd4!important;font-size:12px;line-height:1.4}
body:has(dialog[open]) #ofwProductNav,body:has(#play:not([hidden])) #ofwProductNav{display:none}
body[data-ofw-product=atlas] main{gap:26px!important}
body #atlasIntro{position:relative!important;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#123749,#102333 65%,#0c1a29)!important;color:#edf6f8!important;border:1px solid #476673!important;box-shadow:0 20px 50px #18334712;padding:42px 42% 30px 36px!important;min-height:420px;border-radius:26px!important}
body #atlasIntro :is(h1,.section-description,.eyebrow){color:#eff7f8!important}body #atlasIntro h1{font-size:clamp(32px,4vw,49px);letter-spacing:-1.6px;line-height:1.1;margin:18px 0}body #atlasIntro .section-description{font-size:17px;line-height:1.7;max-width:46ch}body #atlasIntro .eyebrow{font-size:11px;letter-spacing:2px}body #atlasIntro .section-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}body #atlasIntro .section-shortcuts a{color:#eaf5f8!important;background:#ffffff08;border-color:#7899a580;font-size:14px}body #atlasIntro .section-shortcuts .atlas-primary{background:#edcd8c!important;color:#152b38!important;border-color:#edcd8c!important}body #atlasIntro .atlas-steps{grid-template-columns:1fr;gap:0;margin:24px 0 12px}body #atlasIntro .atlas-steps li{padding:12px 0;background:transparent!important;border:0;border-top:1px solid #ffffff20;border-radius:0}body #atlasIntro .atlas-steps strong{font-size:14px;color:#edf6f8!important}body #atlasIntro .atlas-steps span{font-size:12px;color:#c3d9e0!important;margin-top:5px}body #atlasIntro .atlas-free-note{color:#b8d6d5!important;font-size:12px;line-height:1.6}
#atlasIntro .ofw-atlas-art{position:absolute;right:0;top:0;bottom:0;width:39%;z-index:-1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 45% 45%,#44647466,transparent 68%);border-left:1px solid #ffffff13}#atlasIntro .ofw-atlas-art img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;filter:saturate(.65);opacity:.92}#atlasIntro .ofw-atlas-art span{position:absolute;bottom:30px;left:20px;right:20px;color:#b5cfd7!important;font-size:10px;letter-spacing:2px;text-align:center}
#muscleSelection.ofw-anatomy-workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;align-items:start;border-radius:24px!important}#muscleSelection.ofw-anatomy-workspace .modeltop{grid-column:1/-1;margin:0}#muscleSelection.ofw-anatomy-workspace #groupmap{grid-column:1;grid-row:2/4;width:100%;max-width:none;margin:0}#muscleSelection.ofw-anatomy-workspace #groupmap .anatomy{max-height:none;width:100%;border-radius:16px;overflow:hidden}#muscleSelection.ofw-anatomy-workspace #groupmap .anatomy img{width:100%;height:auto;display:block}#muscleSelection.ofw-anatomy-workspace .groupbuttons{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;justify-content:stretch;margin:0}#muscleSelection.ofw-anatomy-workspace .groupbuttons button{width:100%;min-height:48px;margin:0;font-size:14px}#muscleSelection.ofw-anatomy-workspace>.hint{grid-column:1/-1;margin:0;color:var(--ofw-muted,#546875)!important;line-height:1.6;font-size:13px}#muscleSelection .ofw-body-picker{grid-column:2;grid-row:3;padding:10px 0;border-top:1px solid var(--ofw-border,#78909e55)}#muscleSelection .ofw-body-picker summary{font-size:13px;font-weight:650;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}#muscleSelection .ofw-body-picker summary:before{content:'+';font-size:20px}#muscleSelection .ofw-body-picker[open] summary:before{content:'−'}#muscleSelection .ofw-body-picker .portrait{height:380px;max-width:290px;margin:10px auto 0}
#atlasNextStep .access-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#atlasNextStep [data-ofw-paid-plan]{border-top:3px solid #b68c40;background:var(--ofw-surface,#fff)!important}#atlasNextStep [data-ofw-paid-plan] small{display:block;line-height:1.5;margin-top:12px;color:var(--ofw-muted,#526574)}
#strengthPrograms #programContent .program-detail{border-radius:18px;overflow:hidden}#strengthPrograms .program-table{max-width:100%;overflow-x:auto}#strengthPrograms .program-table th{white-space:normal}#strengthPrograms .program-table td{vertical-align:top}#strengthPrograms .day-buttons{display:flex;gap:8px;flex-wrap:wrap}#strengthPrograms .program-choice .experience-art{display:none!important}#strengthPrograms>.experience-art{display:none!important}
#nutrition #manualDiaryStart{background:linear-gradient(120deg,#ecf5ef,#f7faf6)!important;border:1px solid #aec6b7;border-radius:20px;padding:22px!important}#nutrition #manualDiaryStart h3{font-size:23px;letter-spacing:-.5px;margin-top:0}#nutrition .manual-meal-buttons button{border-radius:12px;min-height:50px;background:#214e3c!important;color:#fff!important;font-weight:650}#nutrition :is(input,select,textarea){font-size:16px;min-height:44px}#nutrition #ofwRationNext{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:20px 0;padding:24px;border-radius:20px;background:#102f3a!important;color:#eff8f7!important;border:1px solid #547c82}#nutrition #ofwRationNext :is(h3,p,span){color:inherit!important}#nutrition #ofwRationNext h3{font-size:22px;margin:8px 0}#nutrition #ofwRationNext span{font-size:10px;letter-spacing:1.5px}#nutrition #ofwRationNext p{font-size:14px;line-height:1.6;max-width:55ch;margin:0;color:#cbdfdf!important}#nutrition #ofwRationNext a{flex:none;text-decoration:none;padding:14px 18px;border-radius:12px;color:#102e37!important;background:#e5c78d;font-weight:700;font-size:14px;text-align:center}
@media(max-width:700px){#ofwProductNav{position:fixed;top:auto;bottom:calc(8px + env(safe-area-inset-bottom));left:8px;right:8px;width:auto;margin:0;padding:5px;gap:2px;border-radius:18px;box-shadow:0 -4px 30px #10233325}#ofwProductNav>a,#ofwProductNav summary{flex-direction:column;gap:5px;min-height:55px;padding:7px 3px;font-size:10px}#ofwProductNav svg{width:20px;height:20px}#ofwProductNav .ofw-games-links{top:auto;bottom:calc(100% + 15px);right:-40px;width:min(280px,calc(100vw - 28px))}body[data-ofw-product]{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}body[data-ofw-product]:has(dialog[open]),body[data-ofw-product]:has(#play:not([hidden])){padding-bottom:0!important}body #atlasIntro{padding:26px 22px!important;min-height:0}body #atlasIntro h1{font-size:35px;max-width:13ch;letter-spacing:-1px}body #atlasIntro .section-description{font-size:15px;max-width:100%}#atlasIntro .ofw-atlas-art{display:none}body #atlasIntro .section-shortcuts{display:grid;grid-template-columns:1fr}body #atlasIntro .atlas-steps{margin-top:18px}body #atlasIntro .atlas-steps li{padding:10px 0}body #atlasIntro .atlas-steps span{margin-top:3px}#muscleSelection.ofw-anatomy-workspace{grid-template-columns:1fr;padding:18px!important;gap:14px}#muscleSelection.ofw-anatomy-workspace #groupmap{grid-column:1;grid-row:2;max-width:440px;margin:auto}#muscleSelection.ofw-anatomy-workspace .groupbuttons{grid-column:1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr))}#muscleSelection.ofw-anatomy-workspace .groupbuttons button{font-size:12px;padding:8px 4px;min-height:44px}#muscleSelection .ofw-body-picker{grid-column:1;grid-row:4}#atlasNextStep .access-grid{grid-template-columns:1fr!important}#nutrition #ofwRationNext{flex-direction:column;align-items:stretch;padding:20px;gap:18px}#nutrition #ofwRationNext a{width:100%;box-sizing:border-box}.catalog .card .meta{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){#ofwProductNav *,#atlasIntro *,#muscleSelection *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
body #atlasIntro .ofw-intro-how{margin:18px 0 12px;border-top:1px solid #ffffff20;padding-top:6px}body #atlasIntro .ofw-intro-how summary{color:#eaf5f8!important;font-size:13px;min-height:42px;padding:10px 0;cursor:pointer;font-weight:650}body #atlasIntro .ofw-intro-how .atlas-steps{margin:0}
#strengthPrograms .program-choice{min-height:0!important;padding:20px!important;display:grid;gap:8px;text-align:left}#strengthPrograms .program-choice strong{font-size:18px;line-height:1.3}body[data-ofw-product=plans]>header>nav{display:none}
#muscleSelection .modeltop .eyebrow,#muscleSelection #groupmap .hint,.catalog #muscles,#strengthPrograms #programCards small{color:var(--ofw-muted,#526574)!important}#muscleSelection #groupmap .legend{display:inline-flex;gap:16px;padding:9px 12px;background:#132d3c;border-radius:10px}#strengthPrograms #programResults{color:var(--ofw-text,#173044)!important;background:var(--ofw-surface,#fff)!important;border:1px solid var(--ofw-border,#8ba1af);border-radius:12px;padding:12px 14px}#atlasIntro,#muscleSelection,#strengthPrograms,#progressPanel{scroll-margin-top:100px!important}@media(max-width:700px){#atlasIntro,#muscleSelection,#strengthPrograms,#progressPanel{scroll-margin-top:24px!important}}
/* Cards must use one theme palette rather than inherit text over a fixed white image surface. */
#strengthPrograms #programCards .program-choice{background:var(--ofw-surface,#fff)!important;color:var(--ofw-text,#173044)!important;border-color:var(--ofw-border,#8ba1af)!important}
#strengthPrograms #programCards .program-choice :is(strong,span,small){color:inherit!important}
#strengthPrograms #programCards .program-choice[aria-pressed=true]{background:#e6c47f!important;color:#173044!important;border-color:#9c7027!important}
#strengthPrograms .program-choice:focus-visible{outline:3px solid #278579;outline-offset:3px}
#nutrition #manualDiaryStart :is(h3,p){color:#173b2c!important}


/* The full game has its own navigation; avoid covering it with a second sticky bar. */
@media(min-width:701px){body[data-standalone="game"] #ofwProductNav{position:relative;top:auto}}

#detailbody .home-cycle-card{background:var(--ofw-surface,#fff)!important;color:var(--ofw-text,#173044)!important;border:1px solid var(--ofw-border,#8ba1af);border-radius:18px}
#detailbody .home-cycle-card p{color:inherit!important}
#detailbody .home-cycle-card .hint{color:var(--ofw-muted,#526574)!important}
#detailbody .home-cycle-card img{display:block;width:100%;height:auto;object-fit:contain}

#ofwHelpHub{width:min(900px,calc(100% - 32px));margin:28px auto 48px;box-sizing:border-box;font:15px/1.6 system-ui,sans-serif;color:#e9f2f6;background:#112b3b;border:1px solid #456577;border-radius:18px;padding:10px 20px;overflow-wrap:anywhere}
#ofwHelpHub details{margin:0;padding:12px 0}#ofwHelpHub details+details{border-top:1px solid #456577}#ofwHelpHub summary{min-height:44px;cursor:pointer;font-weight:700;align-content:center;color:#f0d298}#ofwHelpHub p{color:#d0e0e8}#ofwHelpHub ol{padding-left:24px}#ofwHelpHub li{padding:14px 0;border-top:1px solid #456577}#ofwHelpHub label{display:flex;gap:10px;align-items:flex-start;color:#e9f2f6}#ofwHelpHub input[type=checkbox]{width:24px;height:24px;flex:none;accent-color:#e6c47f}#ofwHelpHub a{color:#9ae1e0;display:inline-flex;align-items:center;min-height:44px;padding:4px 8px}#ofwHelpHub form label,#ofwHelpHub section label{display:block}#ofwHelpHub textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;margin:10px 0;padding:12px;background:#f3f7fa;color:#142d3c;border:1px solid #8aa4b5;border-radius:10px;font:16px/1.5 system-ui,sans-serif}#ofwHelpHub button{min-height:44px;padding:10px 16px;margin:6px 8px 6px 0;border:1px solid #e6c47f;border-radius:10px;background:#e6c47f;color:#142d3c;font:600 15px system-ui,sans-serif;cursor:pointer}#ofwHelpHub :is(button,a,summary,textarea,input):focus-visible{outline:3px solid #85e3d4;outline-offset:3px}#ofwHelpHub [hidden]{display:none!important}body:has(dialog[open]) #ofwHelpHub,body:has(#play:not([hidden])) #ofwHelpHub{display:none}

#ofwWeekShortcut{display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:min(760px,calc(100% - 32px));margin:10px auto 22px;padding:16px 20px;box-sizing:border-box;background:#edf6f5;color:#163a3c;border:1px solid #91bdb8;border-radius:16px;font:15px/1.5 system-ui,sans-serif;scroll-margin-top:100px}#ofwWeekShortcut>div{flex:1 1 240px}#ofwWeekShortcut p{margin:4px 0;color:#274d50}#ofwWeekShortcut progress{width:100%;max-width:280px;height:8px;accent-color:#247c72}#ofwWeekShortcut a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;box-sizing:border-box;color:#174d49;font-weight:650;border-radius:10px;text-decoration:underline}#ofwWeekShortcut a[data-week-next]{background:#174d49;color:white;text-decoration:none}#ofwWeekShortcut a:focus-visible{outline:3px solid #95620b;outline-offset:3px}#ofwHelpHub details{scroll-margin-top:100px}@media(max-width:700px){#ofwWeekShortcut{gap:8px;padding:14px}#ofwWeekShortcut>a{flex:1}#ofwHelpHub details{scroll-margin-top:20px}}body:has(dialog[open]) #ofwWeekShortcut{display:none}
