/* CapoeiraTrainer — bold training cards, clear hierarchy, generous touch targets. */
:root{--bg:#0d1520;--bg2:#111d2b;--card:#172433;--card2:#1e2e40;--ink:#f6f8fb;--ink-dim:#acbac9;--ink-faint:#899aaf;--line:#2c3b4e;--verde:#43d5a0;--verde-deep:#207956;--amarelo:#f8d24e;--header-h:68px}
body{background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
header{background:rgba(13,21,32,.96);padding:0 24px;border-bottom-color:#253345}
.header-brand h1{background:none;color:#f7f8fa;font-size:22px;letter-spacing:-.9px}
.header-brand img{filter:none;width:34px;height:34px;border-radius:0}
.desktop-topnav{background:#101c2a}.desktop-topnav-in{max-width:1060px}
.dtab{border-radius:8px;padding:10px 20px}.dtab.on{background:#f8d24e;color:#172433}
main{max-width:1060px;margin:auto;padding:24px 24px 100px}
#home #welcome-banner{padding:12px 16px;margin-bottom:20px;border-radius:12px;background:#131f2d;box-shadow:none}
.trainer-hero{display:grid;grid-template-columns:1.35fr 1fr;min-height:320px;overflow:hidden;position:relative;border-radius:22px;background:#f8d24e;color:#122030}
.hero-copy{padding:38px 10px 34px 34px;position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:850;letter-spacing:2px;display:block;margin-bottom:16px}
.hero-copy h2{white-space:pre-line;font-size:clamp(27px,3vw,39px);line-height:1.13;letter-spacing:-1.5px;margin:0 0 16px;font-weight:850;color:#101c28}
.hero-copy p{max-width:340px;font-size:13px;line-height:1.65;color:#354231;margin-bottom:22px}
.hero-cta{display:flex;align-items:center;gap:30px;padding:13px 18px;min-height:48px;border:0;border-radius:10px;background:#142434;color:#fff;font:750 13px inherit;cursor:pointer}
.hero-cta span:last-child{font-size:22px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}
.hero-circle{position:absolute;width:270px;height:270px;border:1px solid #c5a635;border-radius:50%;box-shadow:0 0 0 35px #f8d24e,0 0 0 36px #d7b73f}
.hero-art img{width:78%;max-width:260px;position:relative;z-index:1;filter:brightness(0) saturate(0);transform:rotate(-15deg);image-rendering:auto}
.hero-caption{position:absolute;right:20px;bottom:18px;font-size:10px;letter-spacing:4px;line-height:1.7;text-align:right;opacity:.75}.hero-caption b{font-size:15px;letter-spacing:3px}
.section-label{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px}.section-label h2{font-size:18px;margin:0;letter-spacing:-.4px}.section-label>span{font-size:11px;letter-spacing:2px;color:var(--ink-faint)}
.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.level-card{position:relative;overflow:hidden;text-align:left;min-height:190px;border:0;border-radius:14px;padding:20px;color:#132334;cursor:pointer;font-family:inherit;transition:transform .2s,box-shadow .2s}
.level-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #0003}.level-easy{background:#dbe9df}.level-medium{background:#efbd61}.level-hard{background:#96b6ed}
.level-number{display:block;font-size:11px;font-weight:800;letter-spacing:2px;opacity:.65;margin-bottom:34px}
.level-card img{position:absolute;right:14px;top:8px;height:94px;width:90px;object-fit:contain;filter:brightness(0) saturate(0);opacity:.88}
.level-card strong{display:block;font-size:20px;letter-spacing:-.7px;position:relative}.level-card p{position:relative;font-size:12px;line-height:1.5;width:85%;margin:8px 0 0;min-height:36px}.level-arrow{position:absolute;bottom:16px;right:15px;font-size:21px}
#home .kid-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#home .kidtile{border-width:1px;border-radius:14px;padding:16px 10px;background:#172433}
#home .kidtile img{height:65px;filter:saturate(.6)}#home .kidtile .lbl{font-size:13px}#home .kid-row .kidtile{flex-direction:row;justify-content:flex-start;gap:14px;padding:13px 16px}#home .kid-row .kidtile img{width:34px;height:34px}
.training-level-help{padding:12px 15px;border-left:3px solid #f8d24e;border-radius:0 8px 8px 0;background:#1b2b3b;color:#dbe5ed;font-size:13px;margin:14px 0 20px;min-height:44px}
#camera>h2{font-size:28px;letter-spacing:-1px}.vid-wrap{border-radius:18px;border:1px solid #33465a}.statgrid{gap:8px}.stat{border-radius:10px;background:#142130}.stat .v{font-size:22px}
#cue-chip{max-width:88%;font-size:16px;line-height:1.4;border-radius:12px;padding:12px 18px;background:#132433;color:white;border:1px solid #efbd61;box-shadow:0 6px 24px #0004}
#cue-chip.good{border-color:#43d5a0}.rep-history{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.rep-history span{border:1px solid #355069;border-radius:8px;padding:7px 10px;font-size:12px}.rep-summary{font-size:15px;margin-top:14px;color:#f8d24e}
.voice-disclosure{text-align:center;font-size:10px;color:#91a5b9;letter-spacing:.2px;margin:32px 0 0}
.voice-status{font-size:11px;line-height:1.4;color:#efbd61;padding:8px 0}
button:focus-visible,a:focus-visible{outline:3px solid #75c8ff;outline-offset:4px}
#bottom-nav{background:rgba(13,21,32,.98)}
@media(max-width:639px){header{padding:0 12px}.header-brand h1{font-size:18px;letter-spacing:-.7px}.header-brand img{width:27px;height:27px}.header-brand{gap:5px}main{padding:14px 14px 100px}#user-profile-pill{padding:6px 9px;font-size:11px}#xp-pill{padding:4px 7px;font-size:10px}header{gap:5px}
  .trainer-hero{min-height:290px;grid-template-columns:1.45fr 1fr;border-radius:17px}.hero-copy{padding:24px 0 22px 21px}.hero-copy h2{font-size:28px;letter-spacing:-1.2px}.hero-copy p{font-size:12px}.eyebrow{font-size:8px;letter-spacing:1.1px;margin-bottom:13px}.hero-cta{padding:11px 13px;font-size:12px;gap:17px}.hero-circle{width:170px;height:170px}.hero-art img{width:115%;max-width:none;transform:rotate(-12deg) translateX(7px)}.hero-caption{font-size:8px;right:12px;bottom:15px;letter-spacing:2px}.hero-caption b{font-size:11px}
  .level-grid{grid-template-columns:1fr;gap:10px}.level-card{min-height:116px;padding:17px 100px 17px 18px}.level-number{position:absolute;right:16px;top:12px;margin:0}.level-card img{height:85px;width:75px;right:23px;top:23px;opacity:.75}.level-card strong{font-size:21px}.level-card p{width:100%;font-size:12px;margin-top:5px;min-height:0}.level-arrow{bottom:12px;right:10px}
  #home .kid-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#home .kid-row{grid-template-columns:1fr}#home .kid-row .kidtile{padding:11px 15px}.section-label{margin-top:23px}.section-label h2{font-size:17px}#welcome-banner{flex-wrap:wrap}#home #welcome-banner{padding:12px}#camera>h2{font-size:25px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:639px){#xp-pill{display:none}header #user-profile-pill{margin-left:auto;flex-shrink:0}header .lang-wrap{flex-shrink:0}.hero-art img{max-width:100%;transform:rotate(-12deg)}}
.level-card.feature-hidden,.hero-cta.feature-hidden{display:none!important}.level-card.feature-locked{filter:saturate(.3)}.level-card.feature-locked .level-arrow::before{content:'🔒';font-size:15px}
.hero-cta{font-family:inherit;font-weight:750;font-size:13px;line-height:1.2}

/* Two visual entry points. Short labels stay visible alongside the artwork. */
[hidden]{display:none!important}
.creator-steps{grid-template-columns:repeat(4,1fr)!important}.clip-range{padding:14px 0 18px}.clip-range h3{margin:0 0 5px;font-size:16px}.clip-filmstrip{position:relative;display:flex;overflow:hidden;border-radius:8px;height:65px;background:#0b1420;margin-top:10px}.clip-filmstrip img{width:16.666%;height:65px;object-fit:cover}.clip-filmstrip::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,#07101bba 0 var(--trim-start,0%),transparent var(--trim-start,0%) var(--trim-end,100%),#07101bba var(--trim-end,100%) 100%);pointer-events:none}.clip-range-track{position:relative;height:35px;margin:0 12px}.clip-range-track::before,.clip-range-selected{position:absolute;top:13px;height:10px;border-radius:8px;background:#304257;left:0;right:0;content:''}.clip-range-selected{right:auto;background:#f8d24e}.clip-range-track input[type=range]{position:absolute;inset:0;width:100%;height:35px;margin:0;background:transparent;-webkit-appearance:none;appearance:none;pointer-events:none}.clip-range-track input::-webkit-slider-thumb{-webkit-appearance:none;width:25px;height:30px;border:3px solid #102331;border-radius:7px;background:#f8d24e;pointer-events:auto;cursor:ew-resize}.clip-range-track input::-moz-range-thumb{width:20px;height:27px;border:3px solid #102331;border-radius:7px;background:#f8d24e;pointer-events:auto;cursor:ew-resize}.clip-range-track input:focus-visible{outline:2px solid #79ccff;outline-offset:3px}.clip-range-times{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#b4c7d9}.clip-range-times output{font-variant-numeric:tabular-nums;font-weight:800;color:#f8d24e}.clip-range-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.clip-range-actions output{margin-left:auto;font-size:12px;color:#b4c7d9}.clip-range-actions button{font-size:12px}.clip-range .status{font-size:11px;margin:6px 0}.creator-steps li{flex-wrap:wrap}
.role-nav{display:flex;gap:10px;justify-content:center;padding:10px 20px;background:#132130;border-bottom:1px solid var(--line)}.role-tool{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 18px;border:1px solid #4b715b;border-radius:12px;background:#1c352d;color:#72e5b0;cursor:pointer;font:700 14px inherit}.role-tool span:first-child{font-size:22px}.role-tool.on{background:#315c48;border-color:#43d5a0}#dtab-admin{border-color:#917f3b;color:#f8d24e;background:#302c1d}
.creator-steps{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.creator-steps li{display:flex;align-items:center;gap:8px;font-size:13px;color:#9cabbd;padding:10px;border-radius:12px;background:#152435}.creator-steps b{display:grid;place-items:center;border:1px solid #668075;border-radius:50%;width:27px;height:27px;flex-shrink:0}.creator-steps .done{color:#75e4ad}.creator-steps .done b{background:#265842}.creator-steps .current{border-bottom:2px solid #f8d24e}
.creator-card{max-width:820px;margin-inline:auto}.creator-capture-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:14px}.capture-choice{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px;border:2px solid transparent;border-radius:16px;background:#dceee2;color:#23493c;cursor:pointer;font:750 17px inherit}.capture-choice:nth-child(2){background:#dce5fa;color:#254264}.capture-choice svg{width:72px;height:64px}.capture-choice:hover{border-color:#f8d24e}.creator-preview{position:relative;border-radius:15px;overflow:hidden;background:#0c1721;height:280px;margin-bottom:14px}.creator-preview video{height:100%;width:100%;display:block;object-fit:contain}.creator-preview #mc-camera-guide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#a2bfae;pointer-events:none}.creator-preview #mc-camera-guide img{height:72%;max-width:85%}.creator-preview #mc-camera-guide span{font-size:12px}.creator-name-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.creator-icon-option{font-size:12px;color:var(--ink-dim);margin:12px 0}.creator-icon-option summary{cursor:pointer;padding:10px 0}.creator-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.creator-action{display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:14px;padding:10px;min-height:78px;cursor:pointer;font:750 16px inherit}.creator-action svg{width:42px;height:42px}.creator-ai{background:#f8d24e;color:#263320}.creator-save{background:#43d5a0;color:#17392d}.creator-action:disabled,.capture-choice:disabled{opacity:.35;cursor:default}.creator-record-controls .bigbtn{flex:1}#mc-analysis-progress{width:100%;height:10px;margin-top:15px;accent-color:#43d5a0}.creator-levels{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.creator-phases{display:flex;gap:8px;overflow-x:auto}.creator-phases>div{flex:1;min-width:65px;text-align:center;background:#112131;border:1px solid #355745;border-radius:12px;padding:7px;color:#72d9ab}.creator-phases svg{width:100%;max-height:130px;display:block}.creator-phases b{font-size:11px;color:#a4b6c6}.creator-coach{border-left:3px solid #f8d24e;padding:10px 12px;font-size:14px;background:#14283a;border-radius:0 9px 9px 0}#mc-cdnum{position:absolute;font-size:70px;color:#f8d24e}
@media(max-width:639px){.role-nav{padding:8px 12px;gap:8px}.role-tool{flex:1;min-width:0;font-size:12px;padding:6px 9px;gap:6px}.role-tool span:first-child{font-size:20px}.creator-steps li{padding:8px 5px;font-size:11px;gap:5px}.creator-steps b{width:23px;height:23px}.capture-choice{flex-direction:column;gap:3px;font-size:15px}.capture-choice svg{height:52px}.creator-preview{height:230px}.creator-name-row{grid-template-columns:1fr;gap:0}.creator-action{font-size:13px;flex-direction:column;gap:4px}.creator-action svg{height:35px}.creator-levels .pillbtn{font-size:11px;padding:7px 9px}.creator-phases{gap:5px}}
.home-title{text-align:center;font-size:clamp(24px,4vw,36px);letter-spacing:-1px;margin:14px 0 26px}
.path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:920px;margin:0 auto}
.path-card{position:relative;display:flex;flex-direction:column;align-items:stretch;border:3px solid transparent;border-radius:26px;padding:10px 10px 26px;background:#dfefe5;color:#153c34;cursor:pointer;font-family:inherit;text-align:left;min-width:0;box-shadow:0 12px 40px #0002;transition:transform .16s,border-color .16s}
.path-card:hover{transform:translateY(-4px);border-color:#f8d24e}.path-card img{display:block;width:100%;height:auto;aspect-ratio:1.4;object-fit:contain;border-radius:20px}.path-label{font-size:clamp(25px,4vw,39px);font-weight:850;letter-spacing:-1px;padding:10px 20px 0}.path-arrow{position:absolute;right:26px;bottom:22px;font-size:34px}.path-play,.path-duo{background:#dbe6ff;color:#203d61}.player-count{position:absolute;left:23px;top:23px;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;font-size:19px;font-weight:800;background:white;color:#183d3d}
.path-card.feature-hidden{display:none}.path-card.feature-locked::after{content:'🔒';position:absolute;top:17px;right:18px;font-size:24px}.path-card.feature-locked{filter:saturate(.35)}
.tools-menu{position:relative;margin-left:auto}.tools-menu summary{cursor:pointer;list-style:none;font-size:22px;border:1px solid var(--line);border-radius:50%;width:42px;height:42px;display:grid;place-items:center;color:var(--ink-dim)}.tools-menu summary::-webkit-details-marker{display:none}#studio-tools{position:absolute;z-index:1000;right:0;top:50px;background:#172433;border:1px solid #3d526b;border-radius:12px;padding:8px;min-width:190px;box-shadow:0 10px 25px #0008}#studio-tools button{display:block;width:100%;min-height:46px;background:transparent;border:0;border-radius:8px;color:var(--ink);text-align:left;padding:10px;font:600 14px inherit;cursor:pointer}#studio-tools button:hover{background:#26394d}
.desktop-topnav-in{display:flex;justify-content:center;gap:10px}.dtab{display:flex;align-items:center;justify-content:center;gap:9px;min-width:160px}.dtab-img{width:29px!important;height:29px!important}.desktop-topnav{border-bottom:1px solid var(--line)}
#bottom-nav{justify-content:center;gap:30px}.nav-tab{flex:0 1 160px;min-height:68px}.nav-tab .nav-img{width:34px;height:34px}.nav-label{font-size:13px;text-transform:none}
#bottom-nav .nav-tab .nav-label{font-size:13px;text-transform:none;letter-spacing:0}
#camera>h2{margin:0 0 12px}#mode-pills{flex-wrap:wrap;gap:8px;margin:0 0 14px!important}.mode-picture{gap:8px;display:inline-flex;align-items:center;justify-content:center}.mode-symbol{display:inline-grid;place-items:center;background:#294739;border-radius:50%;width:28px;height:28px;font-weight:850;font-size:18px;color:#b8ead1}.mode-picture.on .mode-symbol{background:#11291e;color:#f8d24e}#mode-pills .pimg{display:none}#cam-demo-toggle{font-size:0!important;min-width:44px;padding:8px!important}#cam-demo-toggle::after{content:'🎥';font-size:22px}
#cam-fs{font-size:22px;min-width:44px}#cam-fs span{display:none}.training-level-help{border:0;background:none;padding:0;margin:0 0 14px;min-height:0;font-size:12px;color:#acbac9}.vid-wrap{position:relative;min-height:270px;aspect-ratio:4/3;background:#101c28}.camera-guide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#b7cfc2}.camera-guide img{height:70%;max-width:60%;opacity:.78}.camera-guide span{font-size:13px}.camera-guide.hidden{display:none}
.vid-wrap{height:clamp(220px,40vh,380px);aspect-ratio:auto}.vid-wrap video,.vid-wrap canvas{object-fit:contain}#cam-fs span{display:inline}#cam-demo-toggle{font-size:22px!important}#cam-demo-toggle::after{content:none}
@media(max-width:639px){#camera{position:relative}#camera>h2{padding-right:95px}#camera #mode-pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}#camera #cam-demo-toggle,#camera #cam-fs{position:absolute;top:-4px;min-width:38px;width:38px;height:38px;padding:5px!important}#camera #cam-demo-toggle{right:45px}#camera #cam-fs{right:0}.vid-wrap{height:clamp(220px,32vh,280px)}}
.statgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.debug-stat{display:none}.stat .l{font-size:10px}.stat .v{font-size:23px}.goalcap{font-size:11px}#cam-start,#cam-stop{font-size:19px;min-height:56px;border-radius:14px}
#move-pills{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:9px}#move-pills .pillbtn{display:flex;flex-direction:column;gap:6px;justify-content:center;align-items:center;border-radius:14px;padding:9px 5px;min-height:100px;white-space:normal;font-size:11px;line-height:1.2;text-align:center}#move-pills .pimg{width:53px;height:53px;margin:0;border-radius:0;object-fit:contain}.difficulty-stars{display:block;color:#f8d24e;font-size:22px;letter-spacing:2px}.pillbtn.on .difficulty-stars{color:#163629}#diff-pills{display:grid;grid-template-columns:repeat(3,1fr)}#diff-pills .pillbtn{display:flex;flex-direction:column;gap:6px;padding:12px 8px;border-radius:12px;font-size:12px}.ctrl-header{padding:15px 16px}.voice-disclosure{font-size:9px}
@media(max-width:639px){header{gap:7px;padding:0 10px}.header-brand h1{font-size:16px}.header-brand img{width:24px;height:24px}#user-profile-pill{font-size:0!important;padding:8px;min-width:35px}#user-profile-pill img{width:20px!important;height:20px!important}#user-profile-pill span{display:none}#tools-menu summary{width:32px;height:32px;font-size:19px}header .lang-wrap #lang-btn{padding:7px 8px;min-width:40px}.path-grid{grid-template-columns:1fr;gap:16px;max-width:420px}.path-card{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;padding:8px 15px 8px 5px;border-radius:20px;min-height:170px}.path-card img{border-radius:15px}.path-label{padding:0 0 0 8px;font-size:29px;letter-spacing:-.8px}.path-arrow{font-size:27px;right:20px;bottom:12px}.home-title{font-size:27px;margin:8px 0 21px}.player-count{left:15px;top:13px;width:27px;height:27px;font-size:15px}#camera>h2{font-size:22px}.mode-picture{font-size:11px!important;padding:7px 9px!important;gap:5px}.mode-symbol{width:23px;height:23px;font-size:15px}#mode-pills{gap:5px}#cam-demo-toggle{margin-left:0!important}.vid-wrap{min-height:220px}#move-pills{grid-template-columns:repeat(3,minmax(0,1fr))}#move-pills .pillbtn{min-height:102px}#move-pills .pimg{height:58px;width:58px}.stat .v{font-size:18px}.stat .l{font-size:9px}.training-level-help{font-size:11px}}
