/* PhD Fit 4.9 — visual-only refresh; no changes to account, plans, or persistence */
:root{--ph-bg:#080b09;--ph-panel:#111713;--ph-line:#2b3d30;--ph-neon:#b5ff18;--ph-neon-soft:#d8ff91;--ph-text:#f5f8f3;--ph-muted:#a5b5a7;color-scheme:dark}
html{background:var(--ph-bg)}body{background:radial-gradient(ellipse 95% 300px at 50% -100px,#294415 0%,transparent 75%),var(--ph-bg)!important;color:var(--ph-text);-webkit-font-smoothing:antialiased}
header{background:linear-gradient(115deg,rgba(13,20,12,.98),rgba(9,15,10,.97))!important;border-bottom:1px solid #334526!important;padding:12px 16px!important;box-shadow:0 10px 32px #0006}
.ph49-brand{max-width:760px;margin:auto;display:flex;align-items:center;gap:12px;min-height:62px}.ph49-brand img{width:62px;height:62px;object-fit:cover;border-radius:16px;border:1px solid #6d9b28;box-shadow:0 0 18px #a8ff2533}.ph49-brand h1{color:#e9f2e2!important;font-size:24px;letter-spacing:-.8px;line-height:1.05}.ph49-brand h1 span{color:var(--ph-neon)!important}.ph49-brand small{display:block;margin-top:6px;color:#aebaa8;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
main{max-width:760px!important;padding:17px 14px 46px!important}nav{gap:8px!important;padding:3px 0 18px!important}nav button{border-radius:13px!important;background:#141c15!important;border:1px solid #30402f!important;color:#c6d2c4!important;padding:12px 14px!important;min-height:46px;box-shadow:none!important}nav button.active{background:#263b13!important;border-color:#a5ef2d!important;color:#dfffaa!important;box-shadow:inset 0 0 0 1px #a5ef2d44,0 0 17px #9bff1820!important}
.panel{background:linear-gradient(150deg,#161e17 0%,#0f1511 100%)!important;border:1px solid #314133!important;border-radius:22px!important;padding:19px!important;box-shadow:0 14px 35px #0005!important}.panel h2{font-size:22px!important;letter-spacing:-.5px}.panel h3{letter-spacing:-.2px}small,.muted,.hint,label{color:var(--ph-muted)!important}.pill{background:#243617!important;color:#ceff85!important;border:1px solid #557b29!important}
button{border-radius:13px!important;min-height:45px;transition:transform .15s ease,filter .15s ease}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ph-neon)!important;outline-offset:3px}button.active,.primary,.btn-ok,.ph43-start{background:linear-gradient(135deg,#c9ff50,#a6ed22)!important;border:1px solid #d6ff79!important;color:#142006!important;font-weight:800!important;box-shadow:0 6px 22px #9dff1925!important}button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none!important}
input:not([type=checkbox]),select,textarea{background:#0b120d!important;border:1px solid #3b503d!important;border-radius:12px!important;color:#f7fff1!important;min-height:44px}input[type=checkbox]{accent-color:#b5ff18!important}.stat{color:#c7ff66!important}.exercise{background:linear-gradient(155deg,#1a251a,#101811)!important;border:1px solid #354b35!important;border-radius:19px!important;box-shadow:0 8px 24px #0005!important}.exercise-art{border-radius:14px!important;border:1px solid #40563a!important;background:#111a13!important}.exercise-tip{background:#1a2a1a!important;border-left-color:#b5ff18!important}.exercise-tip strong,.extra summary,.technique,a{color:#c5ff72!important}.ph43-home{background:radial-gradient(ellipse at top right,#293e17 0%,#131b13 55%,#0f1511 100%)!important;border-color:#53772d!important}.ph43-training-bar{background:#1c2b1a!important;border:1px solid #3b5633;border-radius:15px!important}#timer{color:#d0ff8b;letter-spacing:.04em;font-variant-numeric:tabular-nums}footer{color:#81947e!important;padding:16px 20px 32px!important;font-size:11px!important}#account-entry,.account-dialog{background:#152117!important;border-color:#46613b!important}.account-dialog{box-shadow:0 24px 90px #000b!important}#account-overlay{backdrop-filter:blur(8px)}
@media(max-width:390px){.ph49-brand img{width:54px;height:54px}.ph49-brand h1{font-size:22px}.panel{padding:15px!important}main{padding-left:11px!important;padding-right:11px!important}}
@media(prefers-reduced-motion:reduce){button{transition:none!important}*{scroll-behavior:auto!important}}
/* PhD Fit 5.0 — cards de execução */
.exercise-art{width:104px!important;height:104px!important;flex-basis:104px!important;border-radius:18px!important;background:#080b0a!important;object-fit:cover!important}
.challenge{margin-top:16px;padding-top:15px;border-top:1px solid rgba(164,255,0,.18)}
.challenge-level{align-items:flex-start;flex-wrap:wrap}.exercise-status{font-size:12px;font-weight:850;padding:7px 10px;border-radius:999px;background:rgba(164,255,0,.12);color:#b8ff37;border:1px solid rgba(164,255,0,.3)}.exercise-status.fail{color:#ffb7a8;border-color:rgba(255,120,90,.32);background:rgba(255,100,70,.09)}
.challenge-target{font-size:24px!important;margin-top:12px!important}.challenge-target small{font-size:13px!important;color:#aab4ad}
.result-entry{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 12px}.result-entry label{font-size:12px;font-weight:700;color:#c7cec9}.result-entry input{margin-top:7px;min-height:52px;font-size:19px;font-weight:800;text-align:center;border-color:rgba(164,255,0,.28);background:#0a100d}
.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.result-actions button{min-height:48px;font-weight:850}.result-actions .btn-fail{border-color:rgba(255,112,85,.42)}.result-actions .btn-evolve{border-color:rgba(164,255,0,.38);color:#c9ff69}.result-actions .btn-done{grid-column:1/-1;min-height:58px;font-size:17px;background:linear-gradient(135deg,#b5ff24,#7fdd00);border-color:#b5ff24;color:#071006;box-shadow:0 8px 24px rgba(143,236,0,.18)}.result-actions button.chosen{outline:2px solid #b5ff24;outline-offset:2px}.result-actions .btn-fail.chosen{outline-color:#ff8068}.result-help{margin-top:11px!important}.challenge-complete{border-top-color:rgba(164,255,0,.5)}
@media(max-width:390px){.exercise-art{width:88px!important;height:88px!important;flex-basis:88px!important}.result-entry{gap:8px}.result-entry input{font-size:17px}}

/* v5.4 */
.result-actions.single{display:block!important}.result-actions.single .btn-done{width:100%!important;min-height:60px!important}.exercise-art{object-fit:contain!important;background:#fff!important}
/* PhD Fit 5.6 — ranking aprovado */
.ph56-rank-head{margin-bottom:16px}.ph56-rank-head h1{font-size:27px;margin:0;color:#f5f8f3}.ph56-rank-head p{margin:5px 0 0;color:#8e9a8e;font-size:13px}.ph56-my-rank{background:linear-gradient(145deg,#111811,#091009)!important;border:1px solid #39592b!important;border-radius:24px!important;padding:18px!important;box-shadow:0 0 30px #65ff1b10!important}.ph56-my-top{display:flex;gap:16px;align-items:center}.ph56-emblem{width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;font-size:50px;background:radial-gradient(circle,#163f23,#0a110b 65%);border:2px solid #66df2a;border-radius:28px;box-shadow:0 0 24px #72ff2d26}.ph56-my-rank h2{font-size:22px!important;font-weight:900;margin:0 0 4px}.ph56-my-rank p{margin:3px 0;color:#a9b2aa;font-size:13px}.ph56-my-rank strong{display:block;margin-top:7px}.ph56-progress{height:8px;background:#202620;border-radius:99px;overflow:hidden;margin:16px 0 8px}.ph56-progress span{display:block;height:100%;background:linear-gradient(90deg,#5aa71d,#8cff38)}.ph56-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#8d998e}.ph56-tabs{display:flex;background:#0d110e;border:1px solid #222a23;border-radius:15px;padding:4px;margin:20px 0 16px}.ph56-tabs button{flex:1;min-height:39px!important;padding:8px 4px!important;border:0!important;background:transparent!important;color:#7e887f!important;font-size:11px!important;font-weight:800}.ph56-tabs button.active{background:#78df28!important;color:#071005!important}.ph56-podium{display:grid;grid-template-columns:1fr 1.12fr 1fr;align-items:end;gap:7px;margin:12px 0 22px}.ph56-pod{background:#0c110d;border:1px solid #263028;border-radius:18px 18px 10px 10px;text-align:center;padding:12px 5px}.ph56-pod.first{padding-top:18px;border-color:#667a2d;background:linear-gradient(#17200f,#0c110d)}.ph56-face{width:46px;height:46px;border-radius:50%;margin:auto;background:#202721;display:grid;place-items:center;font-weight:900;border:2px solid #59635a}.ph56-pod.first .ph56-face{width:57px;height:57px;border-color:#d4b63e}.ph56-pos{font-size:19px;font-weight:900;margin:5px}.ph56-name{font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph56-small{font-size:9px;color:#8f9a90;margin-top:3px}.ph56-list{display:grid;gap:8px}.ph56-row{display:grid;grid-template-columns:34px 40px 1fr auto;align-items:center;gap:8px;background:#0b0f0c;border:1px solid #1d251e;padding:10px;border-radius:15px}.ph56-row.me{border-color:#5dbf26;background:#0f180c}.ph56-row .n{font-weight:900;color:#a9b2aa}.ph56-avatar{width:38px;height:38px;border-radius:50%;background:#1b221c;display:grid;place-items:center;font-size:12px;font-weight:800}.ph56-who strong{font-size:12px}.ph56-who small{display:block;font-size:9px;color:#7d887e;margin-top:2px}.ph56-score{text-align:right;font-size:11px;font-weight:900}.ph56-score small{display:block;color:#6f7c71;font-size:8px}.ph56-privacy{margin-top:18px;padding:13px;border-radius:14px;background:#0b100c;color:#788279;font-size:11px;line-height:1.45;text-align:center}@media(max-width:390px){.ph56-emblem{width:78px;height:78px;flex-basis:78px;font-size:42px}.ph56-my-rank h2{font-size:19px!important}.ph56-row{grid-template-columns:30px 36px 1fr auto;padding:9px 7px}.ph56-avatar{width:34px;height:34px}.ph56-score{font-size:10px}}

/* v5.7: exercício maior sem deformar; GIFs já recortados para remover margem branca */
#content .ios-exercise .exercise-art{width:124px!important;height:124px!important;flex:0 0 124px!important;object-fit:contain!important;padding:0!important;background:#fff!important}
@media(max-width:390px){#content .ios-exercise .exercise-art{width:112px!important;height:112px!important;flex-basis:112px!important}}
