
:root{--blue:#075fae;--deep:#06477e;--yellow:#ffc312;--green:#1fa44a;--text:#111827;--line:#d8e2ea}
*{box-sizing:border-box}body{margin:0;background:#dff4ff;font-family:Arial,Helvetica,sans-serif;color:var(--text)}
button{font:inherit;cursor:pointer}#app{width:min(100%,430px);min-height:100vh;margin:auto;background:#fff;box-shadow:0 0 35px #075fae2a;padding-bottom:76px}
.heroImage{height:190px;background:url("assets/home_header.png") center/cover no-repeat}
.screen{display:none}.screen.active{display:block}
.panel{padding:17px 16px;background:white}.panel h2{margin:0;color:#07559c;text-align:center;font-size:20px}.panel>p{margin:7px 0 12px}
.week{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:16px}.week div{text-align:center;font-size:10px}.week b,.week small{display:block}.week i{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;font-style:normal;font-size:21px;margin:9px auto 5px}.week .renfo{background:#27a84f}.week .polo{background:#0b64ae}.week .rest{background:#e8e9eb}.legend{display:flex;justify-content:center;gap:17px;font-size:12px;margin-top:17px}.legend span:nth-child(1){color:#189946}.legend span:nth-child(2){color:#0568b5}.legend span:nth-child(3){color:#9ca3aa}
.progressCard{margin:0 14px 14px;background:linear-gradient(#07528e,#06457a);border-radius:15px;color:#fff;padding:17px;display:grid;grid-template-columns:1fr 72px;gap:10px}.progressCard h2{margin:0 0 8px;font-size:19px}.bar{height:11px;background:#5483a7;border-radius:99px;margin-top:19px;overflow:hidden}.bar i{display:block;height:100%;width:12.5%;background:var(--yellow);border-radius:99px}.points{text-align:center}.points span{font-size:39px;display:block}.points b,.points small{display:block}
.badges{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.badge{text-align:center;font-size:9px}.badge img{width:100%;height:57px;object-fit:contain}.badge b{display:block}.badge.locked{opacity:.35}
.blueHead{height:95px;background:linear-gradient(#075fae,#075594);color:white;display:flex;align-items:center;padding:10px 12px;gap:8px}.blueHead button{border:0;background:none;color:white;font-size:28px}.blueHead>div{flex:1}.blueHead h1{margin:0;text-align:center;font-size:25px}.blueHead p{margin:3px 0 0;text-align:center;font-weight:700}.blueHead>span{font-size:36px}
.sessionChoice{padding:15px;display:grid;gap:12px}.sessionChoice>button{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;text-align:left;box-shadow:0 3px 10px #0000000d}.sessionChoice i{font-style:normal;font-size:28px}.sessionChoice strong,.sessionChoice b,.sessionChoice span{display:block}.sessionChoice strong{color:#075fae}.sessionChoice span{font-size:12px;color:#617384}
.sessionHero{height:165px;background:url("assets/session_header.png") center/cover no-repeat;position:relative}.sessionHero>button{position:absolute;left:10px;top:14px;border:0;background:none;color:white;font-size:30px}.sessionTitleOverlay{display:none}
.sessionMeta{margin:10px 14px;background:#eef6fd;border-radius:11px;padding:11px;display:flex;justify-content:space-around}
.exerciseRows{padding:0 12px}.exerciseRow{width:100%;display:grid;grid-template-columns:48px 1fr 31px;gap:9px;align-items:center;background:white;border:1px solid #d9e2e9;border-radius:11px;padding:7px;margin-bottom:8px;text-align:left}.exerciseRow img{width:46px;height:48px;object-fit:cover;border-radius:9px}.exerciseRow b,.exerciseRow small{display:block}.exerciseRow small{color:#0b67b4}.check{width:28px;height:28px;border:2px solid #b8c1c9;border-radius:50%;display:grid;place-items:center}.exerciseRow.done .check{background:#1fa44a;border-color:#1fa44a;color:#fff}
.yellowButton,.greenButton{border:0;border-radius:17px;font-weight:900;font-size:16px;padding:15px;width:calc(100% - 28px);margin:10px 14px}.yellowButton{background:var(--yellow);color:#122d4d}.greenButton{background:#1ea448;color:white}
.exHead{height:78px}.illustration{margin:14px;border:2px solid #91ccee;border-radius:16px;overflow:hidden;background:#effaff}.illustration img{width:100%;height:300px;display:block;object-fit:contain}.dots{text-align:center;color:#c4ccd3;letter-spacing:4px}.dots .on{color:#0867b2}.how{padding:0 17px}.how h2{color:#075fae}.tip{display:flex;gap:10px;margin:13px 0;line-height:1.45}.turn{margin:14px;background:#eaf6ea;border-radius:14px;padding:12px;text-align:center}.turn h2{margin:0}.exActions{display:grid;grid-template-columns:48px 1fr 48px;gap:8px;padding:0 14px}.exActions button{border:0;border-radius:13px;padding:13px;font-weight:900}.exActions #toTimer{background:#1fa44a;color:#fff}.exActions #prev,.exActions #next{background:#edf2f6}
.timerPage{text-align:center;padding:18px}.presets{display:flex;justify-content:center;gap:10px}.presets button{border:0;width:56px;height:56px;border-radius:50%;background:#eee;font-weight:900}.presets button small{display:block}.presets button.sel{background:#0a67b5;color:#fff}.clockRing{width:220px;height:220px;border-radius:50%;border:10px solid #e6e9ec;border-top-color:#0a67b5;border-right-color:#0a67b5;display:grid;place-items:center;margin:24px auto}.clockRing span{font-size:44px;font-weight:900}.play{border:0;background:#0a67b5;color:#fff;border-radius:50%;width:58px;height:58px;font-size:24px}.timerPage p{font-size:17px;line-height:1.45}
.finishVisual{background:#075390;text-align:center}.finishVisual img{width:100%;display:block}.finishCard{padding:18px;text-align:center}.finishCard h2{color:#07559c}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dbe4eb;border-radius:12px;padding:12px}.stats div{display:grid;gap:3px}.stats b{font-size:21px}.stats small{font-size:11px}.backHome{border:0;background:#07559c;color:#fff;border-radius:15px;padding:13px;width:calc(100% - 28px);font-weight:900}
.trophyList{padding:14px;display:grid;gap:10px}.trophyItem{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px}.trophyItem img{width:58px}.trophyItem.locked{opacity:.35}
.bottomNav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);height:72px;background:#fff;border-top:1px solid #d9e2ea;display:grid;grid-template-columns:repeat(4,1fr);z-index:50}.bottomNav button{border:0;background:white;font-size:18px;color:#123755;font-weight:700}.bottomNav span{display:block;font-size:10px}
@media(max-width:370px){.week i{width:34px;height:34px}.heroImage{height:165px}.sessionHero{height:145px}}

.installPwa{
  display:block;width:calc(100% - 28px);margin:14px;
  border:0;border-radius:16px;padding:14px;
  background:#ffc312;color:#123755;font-weight:1000;
  box-shadow:0 5px 12px #00000012
}
.installPwa[hidden]{display:none}

/* === ADO THEME === */
:root{--ado-bg:#06131c;--ado-panel:#0b1d2a;--ado-line:#26485e;--ado-blue:#0c78da;--ado-cyan:#1597ff;--ado-yellow:#f9bd0b;--ado-text:#f3f7fb;--ado-muted:#98adbc}
html,body{background:#020a10!important;color:var(--ado-text)!important}
#app{background:radial-gradient(circle at top,#0b2130 0,#07131d 36%,#061019 100%)!important;box-shadow:0 0 45px #000!important}
.heroImage{height:265px!important;background-image:url("assets/teen_home_header.png")!important;border-bottom:1px solid #18364a!important}
.panel,.progressCard{background:linear-gradient(180deg,#0a1c28,#07151f)!important;border:1px solid var(--ado-line)!important;color:var(--ado-text)!important;border-radius:11px!important}
.panel h2,.progressCard h2{color:#dbe9f4!important;text-align:left!important}
.panel p,.panel small,.progressCard small{color:var(--ado-muted)!important}
.week div{color:#dce7ee!important}.legend span:nth-child(1){color:#65bf4e!important}.legend span:nth-child(2){color:#2c8de3!important}.legend span:nth-child(3){color:#a7adb2!important}
.bar{background:#253a49!important}.bar i{background:linear-gradient(90deg,#f7b807,#ffe188)!important}
.badge{color:#d7e2e9!important}.badge.locked{opacity:.28!important}
.blueHead{background:linear-gradient(180deg,#071722,#051018)!important;border-bottom:1px solid #254457!important}
.blueHead p{color:#c2d3df!important}
.sessionChoice>button,.exerciseRow,.trophyItem{background:linear-gradient(180deg,#0b1e2c,#071722)!important;color:white!important;border-color:#25485e!important;box-shadow:none!important}
.sessionChoice strong,.exerciseRow small{color:#53adff!important}
.sessionHero{background-image:url("assets/teen_session_header.png")!important;border-bottom:1px solid #244457!important}
.sessionMeta{background:#0b1c29!important;border:1px solid var(--ado-line)!important;color:#e6eef4!important}
.check{border-color:#6e8392!important}.exerciseRow.done .check{background:#177f43!important;border-color:#39b56b!important}
.yellowButton{background:linear-gradient(180deg,#0d72cd,#0a5aa3)!important;color:#fff!important}
.greenButton,#toTimer{background:linear-gradient(180deg,#2d8938,#1d6b28)!important;color:white!important}
.illustration{background:#071722!important;border-color:#38647f!important}.illustration img{background:#071722!important}
.how h2{color:#4ab0ff!important}.tip{color:#e2eaf0!important}
.turn{background:#0a1a21!important;border:1px solid #5a6444!important;color:#eaf1f5!important}
#prev,#next{background:#102535!important;color:#d8e6ef!important;border:1px solid #28495d!important}
.presets button{background:#0d1e29!important;color:white!important;border:1px solid #344d5c!important}.presets button.sel{background:#0b69bc!important;border-color:#1597ff!important}
.clockRing{border-color:#243641!important;border-top-color:#127edb!important;border-right-color:#127edb!important}.play{background:#0c2e46!important;border:2px solid #1b8cf0!important}
.timerPage p{color:#d6e1e7!important}
.finishVisual{background:#06121a!important;border-bottom:1px solid #25485e!important}.finishCard{background:#06131c!important;color:white!important}.finishCard h2{color:#2a9df4!important}.stats{background:#0a1a25!important;border-color:var(--ado-line)!important}
.backHome{background:transparent!important;color:#e6edf2!important}
.bottomNav{background:#06121a!important;border-top:1px solid #254457!important}.bottomNav button{background:#06121a!important;color:#d7e4ec!important}.bottomNav span{color:#a6b9c5!important}
.installPwa{background:#0b69bc!important;color:#fff!important;border:1px solid #1b80d3!important}

/* Locked ADO v2 — same athlete everywhere */
.exerciseRow img{object-fit:contain!important;object-position:center!important;background:#081722!important;padding:1px!important}
.illustration img{object-fit:contain!important;object-position:center!important;background:#071722!important}

/* =============================================================
   WATER-POLO JUNIOR ADO — HD GLOBAL RULE (LOCKED)
   No low-res / generic fallback for exercise visuals.
   ============================================================= */
html,body{
  overscroll-behavior-y:none;
  background:#020a10!important;
}
#app{
  width:100%!important;
  max-width:430px!important;
  min-height:100svh!important;
  margin:auto!important;
}
.heroImage{
  background-image:url("assets/hd2_home_header.jpg")!important;
  background-size:cover!important;
  background-position:center!important;
}
.sessionHero{
  background-image:url("assets/hd2_session_header.jpg")!important;
  background-size:cover!important;
  background-position:center!important;
}
.exerciseRow img{
  width:58px!important;
  height:58px!important;
  object-fit:cover!important;
  object-position:center!important;
  background:#04121c!important;
  padding:0!important;
  image-rendering:auto!important;
}
.illustration{
  min-height:300px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:#04121c!important;
}
.illustration img{
  width:100%!important;
  height:100%!important;
  min-height:300px!important;
  max-height:420px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#04121c!important;
  image-rendering:auto!important;
}
.bottomNav{
  padding-bottom:env(safe-area-inset-bottom)!important;
}
@media(max-width:430px){
  .blueHead{position:sticky!important;top:0!important;z-index:25!important}
}
