/* Phase 3: scoped sports presentation; account and calorie logic stay in their controllers. */
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-result-count{grid-column:1/-1;margin:2px 0 5px!important;font-size:12px}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-library-grid>.sports-movement-card{padding:10px!important;margin:0!important;display:flex!important;flex-direction:column;gap:4px;min-width:0}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card .wz-inventory-header{display:block;margin:0}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card .wz-inventory-thumb{width:100%;height:100px;margin:0 0 10px;border-radius:11px;overflow:hidden;background:var(--app-input);display:grid;place-items:center}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card .wz-inventory-thumb img{width:100%;height:100%;object-fit:contain}
html[data-wz-module=calisthenics] .wz-inventory-thumb svg{width:57px;height:57px;filter:none}
html[data-wz-module=calisthenics] .wz-inventory-thumb{background:radial-gradient(ellipse at 50% 90%,#b9843144,transparent 65%),#0b2037;border:1px solid #6683a544;color:#ffcf7e}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card h2{font-size:14px!important;margin:0 0 5px!important;line-height:1.35!important}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card .wz-inventory-header small{font-size:10px;line-height:1.3;display:block;color:var(--app-muted)}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card :is(a,button){font-size:11px!important;width:100%;margin:3px 0!important;min-height:44px;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;border:1px solid var(--app-line);border-radius:10px;box-sizing:border-box;padding:7px!important}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-movement-card p{font-size:11px!important;margin:3px 0!important;flex:1}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-catalog>label{display:inline-flex!important;flex-direction:column;vertical-align:top;width:calc(50% - 5px)!important;margin:6px 0!important;box-sizing:border-box}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-catalog>label:first-of-type{width:100%!important}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-catalog>label:nth-of-type(2){margin-right:6px!important}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-catalog>label:has(input[type=checkbox]){display:flex!important;flex-direction:row;width:100%!important;align-items:center;gap:8px}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-catalog select{width:100%;min-width:0;font-size:14px!important}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-plan-movement .wz-inventory-header{display:flex;align-items:center;gap:10px}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-plan-movement .wz-inventory-thumb{width:64px;height:64px;flex:0 0 64px;border-radius:12px;overflow:hidden}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-plan-movement .wz-inventory-thumb img{width:100%;height:100%;object-fit:contain}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-plan-movement .wz-inventory-header h2{font-size:14px;margin-bottom:5px}
html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-plan-movement small{font-size:10px;color:var(--app-muted)}
html[data-wz-module=yoga] .coastal-cover{min-height:210px;height:210px;background-size:cover}
html[data-wz-module=yoga] .coastal-cover .yoga-intro{padding-top:8px}
html[data-wz-module=yoga] .coastal-cover h1{font-size:28px;max-width:75%;line-height:1.1}
html[data-wz-module=yoga] #yoga-connected .sports-practice-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
html[data-wz-module=yoga] #yoga-connected .sports-practice-choices button{display:flex;flex-direction:column;gap:7px;overflow:hidden;padding:0 0 10px!important;margin:0!important;width:100%;font-size:13px;font-weight:600}
html[data-wz-module=yoga] .sports-practice-choices button:before{content:'';display:block;width:100%;height:100px;background-image:url(assets/yoga/category-photos.png);background-size:200% 200%}
html[data-wz-module=yoga] [data-practice=face]:before{background-position:100% 0}
html[data-wz-module=yoga] [data-practice=meditate]:before{background-position:0 100%}
html[data-wz-module=yoga] [data-practice=breathe]:before{background-position:100% 100%}
html[data-wz-module=yoga] #yoga-connected .yc-time{font-size:48px;color:#126e87;font-weight:600;margin:16px auto;border:5px solid #8ad7d1;border-radius:50%;width:160px;height:160px;box-sizing:border-box;display:grid;place-items:center;background:radial-gradient(circle,#fff,#e1f7f5);padding:0}
html[data-wz-module=yoga] main .yoga-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:2px}
html[data-wz-module=yoga] main .yoga-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;line-height:1.2;min-width:0;min-height:48px;text-decoration:none}
html[data-wz-module=yoga] main .yoga-nav [data-wz-nav-icon]{display:block;height:23px}
html[data-wz-module=calisthenics] .app-section-hero{min-height:70px;padding:10px 16px}
html[data-wz-module=calisthenics] .app-section-hero h1{font-size:25px}
html[data-wz-module=calisthenics] #calisthenics-connected>.cali-card.sports-catalog{padding:12px}
html[data-wz-module=gym] [data-gym-page=gym-library] .gc-card{border-radius:15px}
html[data-wz-module=gym] [data-gym-page=gym-library] .gc-content>h1{margin-top:5px}
html[data-wz-module=gym] [data-gym-page=gym-library] .wz-inventory-thumb{height:115px;background:#0b2034}
html[data-wz-module=gym] [data-gym-page=gym-library] .wz-inventory-thumb img{object-fit:contain}
html[data-wz-module=gym] [data-gym-page=gym-library] .wz-inventory-header small{font-size:10px;color:#b6cee2}
@media(max-width:599px){html:is([data-wz-module=yoga],[data-wz-module=calisthenics]) main{border-radius:0;border-inline:0;margin-top:0}}
html.larger-text:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-library-grid{grid-template-columns:1fr}
html.larger-text:is([data-wz-module=yoga],[data-wz-module=calisthenics]) .sports-catalog>label{width:100%!important;margin-right:0!important}
html[data-wz-module=yoga]{--app-button:linear-gradient(#19b9ff,#0077ed);--app-accent:#087ab9}
html[data-wz-module=yoga] #yoga-connected button.primary{background:var(--app-button);border-color:#58caff;color:#fff;box-shadow:inset 0 1px 2px #b8ecff88,0 3px 8px #087ab926}
html[data-wz-module=calisthenics] .sports-equipment-photo{display:block;width:100%;height:80px;border-radius:9px;margin-bottom:8px;background-image:url(assets/calisthenics/equipment-3d.png);background-size:300% 200%;background-position:0 0}
html[data-wz-module=calisthenics] [data-equipment=lowbar]{background-position:50% 0}
html[data-wz-module=calisthenics] [data-equipment=pullbar]{background-position:100% 0}
html[data-wz-module=calisthenics] [data-equipment=bars]{background-position:0 100%}
html[data-wz-module=calisthenics] [data-equipment=band]{background-position:50% 100%}
html[data-wz-module=calisthenics] [data-equipment=rings]{background-position:100% 100%}
html[data-wz-module=gym] [data-gym-page=gym-library]>.gc-card{padding:12px}
html[data-wz-module=gym] [data-gym-page=gym-library] .sports-result-count{grid-column:1/-1;margin:0 0 3px}
html[data-wz-screen=yoga-home] .coastal-cover{height:280px;min-height:280px}
html[data-wz-screen=yoga-quick-start] .coastal-cover{height:255px;min-height:255px}
html[data-wz-module=yoga] #yoga-connected .wz-choice-group{grid-template-columns:repeat(2,minmax(0,1fr))}
html.larger-text[data-wz-module=yoga] #yoga-connected .wz-choice-group{grid-template-columns:1fr}
html[data-wz-module=calisthenics] main .cali-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;align-items:center}
html[data-wz-module=calisthenics] main .cali-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:48px;font-size:10px;line-height:1.2;text-decoration:none}
html[data-wz-module=calisthenics] main .cali-nav [data-wz-nav-icon]{display:block;height:23px}
html[data-wz-module=calisthenics] #calisthenics-connected .wz-choice-group{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-wz-module=calisthenics] #calisthenics-connected .cali-card>a:not(.app-primary){display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:9px 11px;margin:6px 0;border:1px solid #50789988;border-radius:10px;background:linear-gradient(130deg,#133953aa,#0a243d);font-size:12px;line-height:1.4;text-decoration:none;box-sizing:border-box}
html[data-wz-module=calisthenics] #calisthenics-connected .cali-card>a:not(.app-primary):after{content:'›';color:#ffc66a}
html.larger-text[data-wz-module=calisthenics] #calisthenics-connected .wz-choice-group{grid-template-columns:1fr}
html[data-wz-module=calisthenics] .restored-date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;overflow:visible}
html[data-wz-module=calisthenics] .restored-date-strip button{min-width:0;width:100%;min-height:54px;border-radius:9px;gap:3px}
html[data-wz-module=calisthenics] .restored-date-strip small{font-size:9px}
html[data-wz-module=calisthenics] .restored-date-strip strong{font-size:16px}
html[data-wz-module=calisthenics] .cali-hero:not(.app-section-hero){height:auto;min-height:150px;padding-bottom:15px}
html[data-wz-module=calisthenics] .sports-movement-card a:after{display:none}
html[data-wz-module=calisthenics] .sports-goal-choices button{flex-direction:column;justify-content:center;text-align:center!important;gap:7px;min-height:100px!important;padding:10px 6px!important;font-size:12px!important}
html[data-wz-module=calisthenics] .sports-goal-choices svg{width:38px;height:38px;flex-basis:38px}
html[data-wz-module=gym] .gc-content button.primary{min-height:44px;height:auto;border:1px solid #78dfff;border-radius:11px;padding:10px 15px;font-size:13px;line-height:1.35;background:linear-gradient(#159eea,#0776d6);box-shadow:inset 0 1px 2px #b9f2ff66,0 3px 9px #008fe333;text-shadow:none}
/* Keep exact movement stills inside the thumbnail, including square source frames. */
html[data-wz-module=calisthenics] .sports-movement-card .wz-inventory-thumb img{height:98px;max-height:98px;min-height:0;object-fit:contain;align-self:center}
/* Batch 1: clear exercise selection, one icon per shortcut, deliberate video loading. */
html[data-wz-module=calisthenics] .app-shortcut .app-icon{background:none;box-shadow:none;border:0;filter:none}
html[data-wz-module=calisthenics] .app-shortcut .app-icon:before,html[data-wz-module=calisthenics] .app-shortcut .app-icon:after{content:none;display:none}
html[data-wz-module=calisthenics] .app-shortcut{text-decoration:none}
html[data-wz-module=calisthenics] .cali-preview-link{position:relative;display:block;text-decoration:none;border-radius:11px;overflow:hidden}
html[data-wz-module=calisthenics] .sports-movement-card .cali-preview-link{width:100%}
html[data-wz-module=calisthenics] .cali-preview-play{position:absolute;bottom:5px;left:5px;background:#09243ee8;color:#fff;border:1px solid #92c5e5;border-radius:6px;padding:3px 7px;font-size:10px;line-height:1.3}
html[data-wz-module=calisthenics] .cali-demonstration{margin:12px 0}
html[data-wz-module=calisthenics] .cali-demonstration video{display:block;width:100%;max-height:240px;object-fit:contain;background:#071725;border:1px solid #507899;border-radius:12px}
html[data-wz-module=calisthenics] .cali-demonstration p{font-size:12px;margin:7px 0}
html[data-wz-module=calisthenics] .cali-selected-preview .wz-inventory-thumb{width:82px;height:82px}
html[data-wz-module=calisthenics] .cali-selected-preview img{width:100%;height:100%;object-fit:contain}
html[data-wz-module=calisthenics] .cali-schedule-options{margin:12px 0;border:1px solid #50789988;padding:10px;border-radius:10px}
html[data-wz-module=calisthenics] .cali-schedule-options summary{min-height:28px;cursor:pointer;font-size:13px}
html[data-wz-module=calisthenics] #calisthenics-connected [hidden]{display:none!important}
