/* PhD Fit 5.9 — unified app shell */
:root{--bg:#050806;--card:#0b110d;--card2:#101a13;--line:#294332;--neon:#7cf22b;--mint:#65eaa0;--text:#f7faf6;--muted:#95a098}
html{background:var(--bg)}body{background:radial-gradient(circle at 50% -120px,#153b13 0,transparent 430px),var(--bg)!important;padding-bottom:calc(88px + env(safe-area-inset-bottom))!important;color:var(--text)}
body>header{padding:16px 20px 10px!important;background:transparent!important;border:0!important;max-width:760px;margin:auto}.ph49-brand img{width:52px!important;height:52px!important}.ph49-brand h1{font-size:25px!important}.ph49-brand small{font-size:11px!important;letter-spacing:.12em;text-transform:uppercase}
main{padding:10px 18px 24px!important}#tabs{display:none!important}footer{display:none!important}
/* legacy utility panels are available only from profile */
main>section.panel:not(#content section):has(#timer),main>section.panel:has(#importfile){display:none!important}
/* training home */
.ph45-home{background:transparent!important;border:0!important;padding:2px!important;box-shadow:none!important}.ph45-eyebrow{color:var(--neon)!important}.ph45-home>h2{font-size:31px!important}.ph45-week{gap:8px!important}.ph45-day{border-radius:16px!important}.ph45-day.today{box-shadow:0 0 0 1px var(--neon),0 0 24px #79f32b18!important}.ph45-plan{border-radius:22px!important;background:linear-gradient(145deg,#101a13,#09100b)!important;border:1px solid var(--line)!important;padding:20px!important}.ph45-start{border-radius:18px!important;min-height:62px!important;background:linear-gradient(100deg,#a4ff19,#6ee20e)!important;color:#071005!important;font-size:17px!important;font-weight:900!important}
/* dedicated workout mode */
.ph45-training-bar{position:sticky;top:max(0px,env(safe-area-inset-top));z-index:50;background:rgba(8,18,11,.96)!important;border:1px solid #31513b!important;border-radius:18px!important;backdrop-filter:blur(12px);margin:0 0 16px!important}.ph45-training-bar span{color:var(--neon);font-weight:900}.ph45-training-bar button{background:#142219!important;border-color:#355540!important}
#content .ios-exercise{padding:0 0 20px!important;margin:0 0 20px!important;border:1px solid #2d4c37!important;border-radius:26px!important;background:linear-gradient(150deg,#0f1a13,#07100a)!important;overflow:hidden!important}
#content .ios-exercise>.row{display:block!important}#content .ios-exercise .exercise-head{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;align-items:stretch!important}
#content .ios-exercise .exercise-art{order:0;width:100%!important;height:auto!important;aspect-ratio:16/11!important;border:0!important;border-radius:0!important;background:#fff!important;object-fit:contain!important;padding:4px!important;display:block!important}
#content .ios-exercise .exercise-head>div{padding:18px 20px 0!important}#content .ios-exercise h3{font-size:25px!important;line-height:1.12!important;margin:0 0 8px!important}#content .ios-exercise h3+small{font-size:16px!important}.ios-exercise>.row>input[type=checkbox]{display:none!important}
#content .ios-exercise .exercise-tip,#content .ios-exercise .extra,#content .ios-exercise .challenge{margin-left:20px!important;margin-right:20px!important}.exercise-tip{margin-top:16px!important}.challenge{margin-top:16px!important}.challenge-target{font-size:31px!important}.result-entry{grid-template-columns:1fr 1fr!important}.result-actions.single{margin:0 20px!important}.result-actions.single .btn-done{width:100%!important}
/* rank page matching approved preview */
.ph56-rank-head{padding:6px 4px 12px}.ph56-rank-head h1{font-size:34px!important}.ph56-rank-head p{color:var(--muted)!important}.ph56-my-rank{background:linear-gradient(145deg,#101811,#081009)!important;border:1px solid #3f692e!important;border-radius:26px!important;padding:22px!important;box-shadow:0 0 32px #6dff2510}.ph56-emblem{width:108px!important;height:108px!important;flex-basis:108px!important;border-radius:28px!important;font-size:55px!important}.ph56-my-top h2{font-size:27px!important}.ph56-tabs{border-radius:17px!important;background:#0b100c!important;padding:5px!important}.ph56-tabs button{min-height:48px!important;border-radius:13px!important}.ph56-podium{gap:10px!important}.ph56-pod{border-radius:20px!important}.ph56-row{border-radius:17px!important;padding:13px!important}
/* bottom nav: real connected app navigation */
#ph58-bottom{grid-template-columns:repeat(3,1fr)!important;gap:8px!important;padding:8px 14px calc(9px + env(safe-area-inset-bottom))!important;background:rgba(5,9,6,.97)!important;border-top:1px solid #213724!important;box-shadow:0 -12px 35px #0008!important}
#ph58-bottom button{min-height:62px!important;border-radius:16px!important;color:#758179!important;font-size:11px!important;gap:4px!important;transition:.16s ease!important}#ph58-bottom button .ico{width:25px;height:25px;display:grid;place-items:center}#ph58-bottom button .ico svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8}#ph58-bottom button.on{color:var(--neon)!important;background:#12200f!important;box-shadow:inset 0 0 0 1px #33572a!important}#ph58-bottom button.on span:last-child{font-weight:900!important}
/* profile as a real page */
.ph59-profile-head{display:flex;align-items:center;gap:15px;padding:20px;border:1px solid #31503a;border-radius:24px;background:linear-gradient(145deg,#101c14,#08100b);margin-bottom:16px}.ph59-avatar{width:68px;height:68px;border-radius:22px;background:#15251a;border:1px solid #4c7b38;display:grid;place-items:center;color:var(--neon);font-size:24px;font-weight:950}.ph59-profile-head h1{font-size:27px;margin:0}.ph59-profile-head p{margin:5px 0 0;color:var(--muted)}.ph59-group{margin:18px 0}.ph59-group h2{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:#78e72e;margin:0 0 9px 4px}.ph59-menu{display:grid;gap:9px}.ph59-menu button{min-height:62px;border-radius:17px!important;background:#101a13!important;border:1px solid #2e4936!important;text-align:left;padding:0 17px!important;font-size:15px!important;font-weight:800!important;display:flex;align-items:center;justify-content:space-between}.ph59-menu button span{color:#78857b;font-weight:500}.ph59-cloud{padding:14px 16px;border-radius:16px;background:#0c160f;border:1px solid #274330;color:#91a096;font-size:13px}
.ph59-rank-offline{padding:18px;border:1px solid #31513b;border-radius:18px;background:#0d1710;color:#a5b0a7}.ph59-rank-offline strong{color:var(--neon)}
@media(max-width:430px){body>header{padding-left:18px!important}.ph49-brand img{width:46px!important;height:46px!important}#content .ios-exercise .exercise-art{aspect-ratio:1.2/1!important}.ph56-emblem{width:90px!important;height:90px!important;flex-basis:90px!important}.ph56-my-top h2{font-size:23px!important}.ph59-profile-head{padding:17px}}

/* 5.10 bugfixes */
#profile-entry{display:none!important}
#notice-consent.profile-shade{align-items:center!important;padding:max(18px,env(safe-area-inset-top)) 16px max(100px,calc(18px + env(safe-area-inset-bottom)))!important;overflow:auto!important;z-index:100000!important}
#notice-consent .profile-sheet{width:min(92vw,520px)!important;max-height:min(76dvh,680px)!important;border-radius:24px!important;padding:22px 20px!important;overflow:auto!important;margin:auto!important}
#notice-consent .actions{position:sticky!important;bottom:-22px!important;background:#111914!important;padding:14px 0 6px!important;margin-top:14px!important;display:grid!important;grid-template-columns:1fr 1.35fr!important;gap:9px!important}
#notice-consent .actions button{min-height:52px!important}
body.ph59-ranking-loading{overflow:hidden}
.ph510-rank-loading{min-height:55dvh;display:grid;place-items:center;text-align:center;color:#9eaaa1}.ph510-rank-loading strong{display:block;color:var(--neon);font-size:22px;margin-bottom:8px}
@media(max-width:390px){#notice-consent .profile-sheet{max-height:72dvh!important;padding:18px 16px!important}#notice-consent .actions{grid-template-columns:1fr!important;bottom:-18px!important}}

/* 5.11 */
#content .ios-exercise .exercise-art{width:100%!important;height:auto!important;aspect-ratio:18/13!important;object-fit:contain!important;object-position:center!important;padding:0!important;background:#fff!important}
.ph511-soon{padding-top:32px!important;text-align:center}.ph511-soon-icon{font-size:64px;margin:22px 0 10px}.ph511-soon h1{font-size:36px!important;margin:0 0 8px}.ph511-soon>p{color:#9eaaa1;font-size:17px}.ph511-soon-card{margin:34px auto 0;max-width:520px;padding:30px 22px;border:1px solid #3f633f;border-radius:24px;background:linear-gradient(145deg,#132318,#0d160f);display:grid;gap:9px}.ph511-soon-card strong{font-size:25px;color:#b5ff18}.ph511-soon-card span{color:#aab6ad;line-height:1.5}.ph511-disabled{opacity:.9!important;cursor:default!important}.ph511-disabled span{font-size:12px!important;color:#b5ff18!important;text-transform:uppercase;letter-spacing:.05em}
/* 5.12 Ranking online */
.ph512-head{padding:10px 2px 4px}.ph512-head small{font-size:11px;letter-spacing:1.5px;color:#a8b0aa;font-weight:800}.ph512-head h1{font-size:32px;margin:5px 0 2px}.ph512-head p{margin:0;color:#9da6a0}.ph512-my{margin:18px 0;padding:20px;border:1px solid #3d4d43;border-radius:22px;background:linear-gradient(145deg,#18231d,#0d120f);box-shadow:0 14px 36px #0007}.ph512-my-top{display:flex;justify-content:space-between;gap:12px}.ph512-my small{color:#b7ff45;font-weight:900;letter-spacing:1.4px}.ph512-my h2{font-size:30px;margin:4px 0}.ph512-my p{margin:0;color:#a9b2ac}.ph512-rankmark{font-size:42px;color:#b7ff45}.ph512-track{height:8px;background:#29332d;border-radius:99px;margin:18px 0 8px;overflow:hidden}.ph512-track i{display:block;height:100%;background:#b7ff45;border-radius:99px}.ph512-next{font-size:12px;color:#aab3ad}.ph512-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.ph512-tabs button{min-height:44px;border-radius:12px;background:#161c18;border:1px solid #303a34}.ph512-tabs button.on{color:#b7ff45;border-color:#708c59}.ph512-podium-wrap{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:8px;align-items:end;margin:16px 0 22px}.ph512-podium{text-align:center;padding:14px 6px;border:1px solid #303a34;background:#141a16;border-radius:18px;min-width:0}.ph512-podium.p1{padding-top:24px;border-color:#708c59;transform:translateY(-8px)}.ph512-medal{font-size:18px;font-weight:900;color:#b7ff45}.ph512-avatar,.ph512-mini{display:grid;place-items:center;border-radius:50%;background:#253029;color:#dfffad;font-weight:900}.ph512-avatar{width:54px;height:54px;margin:8px auto}.ph512-podium strong,.ph512-podium span,.ph512-podium b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph512-podium strong{font-size:12px}.ph512-podium span{font-size:10px;color:#99a29c;margin:4px 0}.ph512-podium b{font-size:11px}.ph512-list{display:grid;gap:8px;padding-bottom:18px}.ph512-row{display:grid;grid-template-columns:38px 42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 10px;border:1px solid #29332d;background:#111713;border-radius:15px}.ph512-row.me{border-color:#78945f;background:#172019}.ph512-pos{font-size:13px;color:#9ea7a1}.ph512-mini{width:42px;height:42px;font-size:12px}.ph512-person{min-width:0}.ph512-person strong,.ph512-person span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph512-person strong{font-size:13px}.ph512-person span{font-size:10px;color:#929b95;margin-top:3px}.ph512-person em{font-size:8px;color:#b7ff45;font-style:normal}.ph512-xp{text-align:right;font-weight:900;font-size:13px}.ph512-xp small{display:block;font-size:8px;color:#8f9992}.ph512-empty,.ph512-loading{margin:20px 0;padding:24px;text-align:center;border:1px solid #303a34;border-radius:18px;background:#121814}.ph512-empty strong,.ph512-empty span{display:block}.ph512-empty span{color:#9ea7a1;margin:8px 0 14px}.ph512-loading{color:#9ea7a1}.ph512-loading span{display:inline-block;width:10px;height:10px;border-radius:50%;background:#b7ff45;margin-right:8px}
/* PhD Fit 5.14 — exercício sem corte no rótulo + imagem grande */
#content .ios-exercise{overflow:hidden!important;padding-top:0!important}
#content .ios-exercise:before{box-sizing:border-box!important;margin:0!important;padding:14px 20px 12px!important;line-height:1.2!important;min-height:42px!important;position:relative!important;left:0!important;top:0!important;width:100%!important;overflow:visible!important}
#content .ios-exercise .exercise-head{display:block!important;margin:0!important}
#content .ios-exercise .exercise-art{display:block!important;width:100%!important;height:auto!important;aspect-ratio:9/7!important;max-height:none!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:#fff!important;padding:0!important;margin:0!important}
#content .ios-exercise .exercise-head>div{padding:20px 20px 0!important}
@media(max-width:560px){#content .ios-exercise{padding:0 0 20px!important}#content .ios-exercise .exercise-head{display:block!important}#content .ios-exercise .exercise-art{width:100%!important;height:auto!important;aspect-ratio:9/7!important}#content .ios-exercise h3{font-size:25px!important;line-height:1.15!important}}

/* 5.17 — seleção semanal, confirmação fora do dia e Meu Rank */
.ph45-day{appearance:none;width:100%;padding:0!important;color:inherit;background:transparent;cursor:pointer}.ph45-day.selected{border-color:var(--neon)!important;background:linear-gradient(180deg,#1d3a22,#122419)!important;box-shadow:0 0 0 1px rgba(164,255,25,.5)!important}.ph45-day.selected span,.ph45-day.selected b{color:var(--neon)!important}.ph517-modal{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.82);backdrop-filter:blur(10px);display:grid;place-items:center;padding:22px}.ph517-dialog{width:min(100%,440px);background:linear-gradient(150deg,#132019,#09100c);border:1px solid #49643f;border-radius:26px;padding:26px;box-shadow:0 24px 80px #000}.ph517-alert-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#a4ff19;color:#071005;font-size:28px;font-weight:950;margin-bottom:18px}.ph517-dialog>small,.ph517-section small{color:#a4ff19;font-weight:900;letter-spacing:1.4px}.ph517-dialog h2{font-size:27px;margin:7px 0 10px}.ph517-dialog p{color:#aebbb2;line-height:1.55}.ph517-dialog p strong{color:#fff}.ph517-modal-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px;margin-top:22px}.ph517-modal-actions button{min-height:54px;border-radius:15px}.ph517-rankhero{text-align:center;padding:28px 20px;border:1px solid #506540;border-radius:26px;background:radial-gradient(circle at 50% 0,#214029 0,#111a14 48%,#090e0b 100%);box-shadow:0 18px 45px #0008}.ph517-rank-emblem{font-size:58px;line-height:1;color:#a4ff19;filter:drop-shadow(0 0 18px rgba(164,255,25,.25));margin-bottom:10px}.ph517-rankhero>small{color:#aab5ad;font-weight:850;letter-spacing:1.5px}.ph517-rankhero h2{font-size:38px;margin:4px 0;color:#f4f7f4}.ph517-rankhero>p{margin:0;color:#aab3ad}.ph517-xpbig{font-size:31px;font-weight:950;margin:18px 0 4px;color:#a4ff19}.ph517-xpbig span{font-size:13px;color:#b6c0b9}.ph517-nextline{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#98a39c;text-align:left}.ph517-nextline strong{color:#dce8df;text-align:right}.ph517-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.ph517-stats article{padding:16px 8px;border:1px solid #303c34;border-radius:17px;background:#111814;text-align:center}.ph517-stats b,.ph517-stats span{display:block}.ph517-stats b{font-size:20px;color:#f2f5f2}.ph517-stats span{font-size:9px;color:#8f9b93;margin-top:4px}.ph517-section{margin:12px 0;padding:20px;border:1px solid #303c34;border-radius:22px;background:#101612}.ph517-section-title h3,.ph517-xprules h3{margin:4px 0 14px;font-size:19px}.ph517-tierpath{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:none}.ph517-tierpath>div{min-width:100px;padding:12px 10px;border:1px solid #29342d;border-radius:14px;background:#0b100d;opacity:.5}.ph517-tierpath>div.passed{opacity:.72}.ph517-tierpath>div.current{opacity:1;border-color:#7ea552;background:#18251b}.ph517-tierpath i,.ph517-tierpath span,.ph517-tierpath small{display:block}.ph517-tierpath i{color:#a4ff19;font-style:normal}.ph517-tierpath span{font-size:12px;font-weight:850;margin:5px 0}.ph517-tierpath small{font-size:9px;color:#8d9891;letter-spacing:0}.ph517-badges{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ph517-badges>div{display:flex;align-items:center;gap:9px;padding:13px;border:1px solid #2a342e;border-radius:14px;color:#77827b;background:#0b100d}.ph517-badges>div.earned{color:#e9f3eb;border-color:#54713e;background:#172019}.ph517-badges i{font-style:normal;color:#a4ff19}.ph517-badges span{font-size:11px;font-weight:800}.ph517-xprules p{color:#9eaaa2;line-height:1.55;margin-bottom:0}.ph517-xprules strong{color:#a4ff19}.ph517-myempty{text-align:center;padding:35px 20px;border:1px solid #303c34;border-radius:22px;background:#101612}.ph517-bigmark{font-size:52px;color:#a4ff19}.ph517-myempty p{color:#98a49c}@media(max-width:380px){.ph517-modal-actions{grid-template-columns:1fr}.ph517-nextline{display:block}.ph517-nextline strong{display:block;margin-top:4px;text-align:left}.ph517-stats span{font-size:8px}}
