/* SkillCraft · Mobile Tracks Hub · hierarchy restoration · 2026-08-26
   Visual authority for #screen-modulos on phones only.
   Product hierarchy mirrors desktop:
   1) SkillCraft Gymnastics + SkillCraft Engine
   2) Foundations / Development / Mastery
   3) swipeable Track cards
   Purple is reserved EXCLUSIVELY for achievement rewards. */

@media (max-width:760px){
  #screen-modulos{
    --sc-orange:#EB5A1C;
    --sc-orange-rgb:235,90,28;
    --sc-orange-dark:#a83c10;
    --sc-engine:#98c3d9;
    --sc-engine-rgb:152,195,217;
    --sc-green:#55d994;
    --sc-green-rgb:85,217,148;
    --sc-reward:#a78bfa;
    --sc-reward-rgb:167,139,250;
    --sc-card:#101012;
    --sc-muted:#93939b;
    overflow-x:clip!important;
  }
  #screen-modulos *{box-sizing:border-box}

  /* ---------- Screen heading ---------- */
  #screen-modulos .modules-head{
    display:grid!important;
    gap:7px!important;
    margin:5px 0 20px!important;
    padding:0 2px!important;
    align-items:start!important;
  }
  #screen-modulos .modules-head .tag{color:var(--sc-orange)!important}
  #screen-modulos .modules-head h3{
    margin:0!important;
    font-size:30px!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
  }
  #screen-modulos .modules-head small{
    display:block!important;
    max-width:36ch!important;
    margin:0!important;
    color:var(--sc-muted)!important;
    font-size:11px!important;
    line-height:1.48!important;
    text-align:left!important;
  }

  /* ---------- Product access: exactly two equal cards ---------- */
  #screen-modulos #modulesOverview,
  #screen-modulos .sc-product-stack{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0 0 27px!important;
    padding:0!important;
    overflow:visible!important;
  }
  #screen-modulos #modulesOverview>.sc-method-card,
  #screen-modulos #modulesOverview>.sc-foundation-card{
    display:flex!important;
  }
  #screen-modulos .sc-method-card,
  #screen-modulos .sc-foundation-card{
    position:relative!important;
    overflow:hidden!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    min-width:0!important;
    min-height:218px!important;
    margin:0!important;
    padding:15px!important;
    border-radius:20px!important;
    box-shadow:0 18px 44px rgba(0,0,0,.25)!important;
  }
  #screen-modulos .sc-method-card{
    border:1px solid rgba(var(--sc-orange-rgb),.30)!important;
    background:
      radial-gradient(circle at 92% 8%,rgba(var(--sc-orange-rgb),.14),transparent 35%),
      linear-gradient(145deg,#17110e 0%,#0d0d0e 63%,#080809 100%)!important;
  }
  #screen-modulos .sc-foundation-card{
    border:1px solid rgba(var(--sc-engine-rgb),.27)!important;
    background:
      radial-gradient(circle at 92% 8%,rgba(var(--sc-engine-rgb),.13),transparent 35%),
      linear-gradient(145deg,#101719 0%,#0c0e0f 63%,#080909 100%)!important;
  }
  #screen-modulos .sc-method-card:after,
  #screen-modulos .sc-foundation-card:before{display:none!important;content:none!important}
  #screen-modulos .sc-method-top,
  #screen-modulos .sc-foundation-top{
    display:grid!important;
    gap:7px!important;
    align-items:start!important;
    margin:0 0 12px!important;
  }
  #screen-modulos .sc-product-kicker{
    display:block!important;
    margin:0!important;
    color:var(--sc-orange)!important;
    font-size:7px!important;
    line-height:1.15!important;
    font-weight:950!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
  }
  #screen-modulos .sc-foundation-card .sc-product-kicker{color:var(--sc-engine)!important}
  #screen-modulos .sc-product-status{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    width:max-content!important;
    max-width:100%!important;
    min-height:24px!important;
    margin:0!important;
    padding:5px 7px!important;
    border:1px solid rgba(255,255,255,.085)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.035)!important;
    color:#a9a9b0!important;
    font-size:6.5px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.055em!important;
    text-transform:uppercase!important;
    white-space:normal!important;
  }
  #screen-modulos .sc-product-status i{flex:0 0 5px!important;width:5px!important;height:5px!important;border-radius:50%!important;background:currentColor!important}
  #screen-modulos .sc-method-card:not(.locked) .sc-product-status{color:#ff9b73!important;border-color:rgba(var(--sc-orange-rgb),.22)!important}
  #screen-modulos .sc-foundation-card .sc-product-status{color:var(--sc-engine)!important;border-color:rgba(var(--sc-engine-rgb),.22)!important}
  #screen-modulos .sc-method-copy,
  #screen-modulos .sc-foundation-copy{min-width:0!important}
  #screen-modulos .sc-method-copy h4,
  #screen-modulos .sc-foundation-copy h4{
    margin:0!important;
    font-size:19px!important;
    line-height:1.03!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
  }
  #screen-modulos .sc-method-copy p,
  #screen-modulos .sc-foundation-copy p{
    min-height:0!important;
    margin:8px 0 0!important;
    color:#9b9ba2!important;
    font-size:9px!important;
    line-height:1.42!important;
    font-weight:650!important;
  }
  #screen-modulos .sc-overview-meta{
    display:none!important;
  }
  #screen-modulos .sc-method-foot,
  #screen-modulos .sc-foundation-foot{
    display:block!important;
    width:100%!important;
    margin:14px 0 0!important;
    padding:0!important;
  }
  #screen-modulos .sc-product-action{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 9px!important;
    border-radius:12px!important;
    font-size:8.5px!important;
    line-height:1.2!important;
    font-weight:950!important;
    white-space:normal!important;
    text-align:center!important;
  }
  #screen-modulos .sc-method-card .sc-product-action{
    border:1px solid rgba(var(--sc-orange-rgb),.34)!important;
    background:rgba(var(--sc-orange-rgb),.14)!important;
    color:#fff!important;
  }
  #screen-modulos .sc-foundation-card .sc-product-action{
    border:1px solid rgba(var(--sc-engine-rgb),.30)!important;
    background:rgba(var(--sc-engine-rgb),.11)!important;
    color:#d9edf6!important;
  }

  /* ---------- Levels ---------- */
  #screen-modulos #modulesGrid{width:100%!important;min-width:0!important}
  #screen-modulos .sc-levels-catalog{width:100%!important;margin:0!important}
  #screen-modulos .sc-level-stack{
    display:grid!important;
    gap:34px!important;
    width:100%!important;
    padding:0 0 112px!important;
  }
  #screen-modulos .sc-level-section{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  /* Long, compact banner — same hierarchy as desktop, mobile polish only. */
  #screen-modulos .sc-level-head{
    --level-accent:var(--sc-orange-rgb);
    position:relative!important;
    display:grid!important;
    grid-template-columns:50px minmax(0,1fr)!important;
    grid-template-areas:"num copy" "actions actions"!important;
    column-gap:13px!important;
    row-gap:12px!important;
    align-items:center!important;
    width:100%!important;
    min-height:0!important;
    margin:0 0 14px!important;
    padding:13px 14px 12px!important;
    overflow:hidden!important;
    border:1px solid rgba(var(--level-accent),.22)!important;
    border-radius:17px!important;
    background:
      linear-gradient(90deg,rgba(var(--level-accent),.075),transparent 42%),
      linear-gradient(180deg,#121212,#0b0b0c)!important;
    box-shadow:none!important;
  }
  #screen-modulos .sc-level-head:before,
  #screen-modulos .sc-level-head:after{display:none!important;content:none!important}
  #screen-modulos .sc-level-number{
    grid-area:num!important;
    display:grid!important;
    place-items:center!important;
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(var(--level-accent),.38)!important;
    border-radius:14px!important;
    background:rgba(var(--level-accent),.09)!important;
    color:rgb(var(--level-accent))!important;
    text-align:center!important;
  }
  #screen-modulos .sc-level-number strong{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    color:rgb(var(--level-accent))!important;
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    font-size:23px!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:0!important;
    text-indent:0!important;
    transform:none!important;
    font-variant-numeric:tabular-nums lining-nums!important;
  }
  #screen-modulos .sc-level-copy{
    grid-area:copy!important;
    min-width:0!important;
    padding:0!important;
  }
  #screen-modulos .sc-level-copy h4{
    margin:0!important;
    color:#fff!important;
    font-size:23px!important;
    line-height:1.02!important;
    letter-spacing:-.04em!important;
  }
  #screen-modulos .sc-level-copy p{
    margin:5px 0 0!important;
    max-width:36ch!important;
    color:#9999a0!important;
    font-size:9.5px!important;
    line-height:1.38!important;
    font-weight:650!important;
  }
  #screen-modulos .sc-level-head-actions{
    grid-area:actions!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 0 0!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
  }
  #screen-modulos .sc-level-access-copy{
    display:grid!important;
    gap:2px!important;
    min-width:0!important;
    text-align:left!important;
  }
  #screen-modulos .sc-level-access-copy small{
    margin:0!important;
    color:#696970!important;
    font-size:7px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.11em!important;
    text-transform:uppercase!important;
  }
  #screen-modulos .sc-level-access-copy b{
    margin:0!important;
    color:#b6b6bc!important;
    font-size:8.5px!important;
    line-height:1.3!important;
    font-weight:800!important;
  }
  #screen-modulos .sc-level-unlock,
  #screen-modulos .sc-level-complete-badge{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    max-width:46%!important;
    min-height:34px!important;
    margin:0!important;
    padding:7px 9px!important;
    border:1px solid rgba(var(--level-accent),.27)!important;
    border-radius:10px!important;
    background:rgba(var(--level-accent),.08)!important;
    color:#ff9467!important;
    font-size:7.5px!important;
    line-height:1.2!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:normal!important;
  }
  #screen-modulos .sc-level-complete-badge{color:#8de6b4!important;border-color:rgba(var(--sc-green-rgb),.24)!important;background:rgba(var(--sc-green-rgb),.07)!important}
  #screen-modulos .sc-level-complete-badge i{width:5px!important;height:5px!important;flex:0 0 5px!important;border-radius:50%!important;background:currentColor!important}

  /* ---------- Swipe rail ---------- */
  #screen-modulos .sc-path-shell{
    position:relative!important;
    width:calc(100% + 28px)!important;
    max-width:none!important;
    margin:0 -14px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  #screen-modulos .sc-path-line{display:none!important}
  #screen-modulos .sc-path-row{
    position:relative!important;
    z-index:1!important;
    display:flex!important;
    align-items:stretch!important;
    gap:12px!important;
    width:100%!important;
    margin:0!important;
    padding:5px 24px 13px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:24px!important;
    scrollbar-width:none!important;
    touch-action:pan-x pan-y!important;
  }
  #screen-modulos .sc-path-row::-webkit-scrollbar{display:none!important}

  /* ---------- Track cards: orange by default, purple ONLY rewards ---------- */
  #screen-modulos .sc-path-card,
  #screen-modulos .sc-path-mystery{
    --card-accent:var(--sc-orange-rgb);
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 min(calc(100vw - 72px),328px)!important;
    width:min(calc(100vw - 72px),328px)!important;
    min-width:min(calc(100vw - 72px),328px)!important;
    max-width:min(calc(100vw - 72px),328px)!important;
    min-height:376px!important;
    margin:0!important;
    padding:18px!important;
    border:1px solid rgba(var(--card-accent),.22)!important;
    border-radius:24px!important;
    background:
      radial-gradient(circle at 80% 26%,rgba(var(--card-accent),.09),transparent 29%),
      linear-gradient(145deg,#151515 0%,#101011 58%,#09090a 100%)!important;
    box-shadow:0 19px 48px rgba(0,0,0,.30)!important;
    scroll-snap-align:center!important;
    scroll-snap-stop:always!important;
    opacity:.68!important;
    transform:scale(.968)!important;
    transform-origin:center!important;
    transition:opacity .2s ease,transform .2s ease,border-color .2s ease!important;
    contain:layout paint!important;
  }
  #screen-modulos .sc-path-card.is-mobile-focus,
  #screen-modulos .sc-path-mystery.is-mobile-focus{opacity:1!important;transform:scale(1)!important;border-color:rgba(var(--card-accent),.48)!important}
  #screen-modulos .sc-path-card:before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:-2!important;
    opacity:.065!important;
    pointer-events:none!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='390' height='460' viewBox='0 0 390 460'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.42' stroke-width='2'%3E%3Cpath d='M54 368c64-66 112-86 181-116 56-24 89-59 111-116'/%3E%3Cpath d='M218 83h119M278 83v64M248 147c7-22 19-39 30-50 11 11 23 28 30 50M278 147v79M278 226c-15 25-24 54-26 86M278 226c15 25 24 54 26 86' stroke-opacity='.28'/%3E%3C/g%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-position:center bottom!important;
    background-size:cover!important;
  }
  #screen-modulos .sc-path-card:after{
    content:""!important;
    position:absolute!important;
    inset:auto -15% -20% 12%!important;
    height:50%!important;
    z-index:-1!important;
    background:radial-gradient(ellipse at center,rgba(var(--card-accent),.13),transparent 65%)!important;
    filter:blur(9px)!important;
    pointer-events:none!important;
  }
  #screen-modulos .sc-path-card.available{border-color:rgba(var(--card-accent),.40)!important}
  #screen-modulos .sc-path-card.complete{--card-accent:var(--sc-green-rgb)!important}
  #screen-modulos .sc-path-card.reward{--card-accent:var(--sc-reward-rgb)!important;border-color:rgba(var(--sc-reward-rgb),.45)!important;background:radial-gradient(circle at 80% 25%,rgba(var(--sc-reward-rgb),.16),transparent 31%),linear-gradient(145deg,#16131e 0%,#100f14 60%,#09090b 100%)!important}
  #screen-modulos .sc-path-card.locked{filter:saturate(.70)!important;opacity:.53!important}
  #screen-modulos .sc-path-card.locked.is-mobile-focus{opacity:.74!important}
  #screen-modulos .sc-path-card.reward.locked.is-mobile-focus{opacity:1!important}
  #screen-modulos .sc-path-placeholder{opacity:.46!important}

  #screen-modulos .sc-path-node{
    position:relative!important;
    z-index:3!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 54px!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    margin:0 0 26px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(var(--card-accent),.34)!important;
    border-radius:15px!important;
    background:rgba(var(--card-accent),.085)!important;
    color:rgb(var(--card-accent))!important;
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    font-size:25px!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:0!important;
    text-indent:0!important;
    text-align:center!important;
    font-variant-numeric:tabular-nums lining-nums!important;
    font-feature-settings:"tnum" 1,"lnum" 1!important;
    transform:none!important;
  }
  #screen-modulos .sc-path-card-status{
    position:absolute!important;
    z-index:3!important;
    top:19px!important;
    right:17px!important;
    left:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    max-width:132px!important;
    min-height:27px!important;
    margin:0!important;
    padding:6px 9px!important;
    border:1px solid rgba(255,255,255,.085)!important;
    border-radius:999px!important;
    background:rgba(0,0,0,.28)!important;
    color:#a5a5ad!important;
    font-size:7px!important;
    line-height:1.15!important;
    font-weight:900!important;
    letter-spacing:.075em!important;
    text-transform:uppercase!important;
    text-align:center!important;
    white-space:normal!important;
  }
  #screen-modulos .sc-path-card-status i{width:5px!important;height:5px!important;flex:0 0 5px!important;border-radius:50%!important;background:currentColor!important}
  #screen-modulos .sc-path-card.available .sc-path-card-status{color:#ff966c!important;border-color:rgba(var(--sc-orange-rgb),.20)!important}
  #screen-modulos .sc-path-card.complete .sc-path-card-status{color:#92e9b9!important;border-color:rgba(var(--sc-green-rgb),.20)!important}
  #screen-modulos .sc-path-card.reward .sc-path-card-status{color:#cfbeff!important;border-color:rgba(var(--sc-reward-rgb),.27)!important}
  #screen-modulos .sc-path-kicker{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    margin:0 0 7px!important;
    color:#707078!important;
    font-size:7.5px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
  }
  #screen-modulos .sc-path-card.reward .sc-path-kicker{color:#a995df!important}
  #screen-modulos .sc-path-card h5{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:26px!important;
    line-height:1.03!important;
    letter-spacing:-.045em!important;
    overflow-wrap:anywhere!important;
  }
  #screen-modulos .sc-path-card.locked:not(.reward) h5{color:#b4b4ba!important}
  #screen-modulos .sc-path-resume{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:100%!important;
    margin:17px 0 0!important;
    padding:12px 0!important;
    border-top:1px solid rgba(255,255,255,.07)!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
  }
  #screen-modulos .sc-path-resume small{
    display:block!important;
    margin:0!important;
    color:#717178!important;
    font-size:7px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.11em!important;
    text-transform:uppercase!important;
  }
  #screen-modulos .sc-path-resume strong{
    display:block!important;
    margin:6px 0 0!important;
    color:#d1d1d6!important;
    font-size:11px!important;
    line-height:1.4!important;
    font-weight:780!important;
    overflow-wrap:anywhere!important;
  }
  #screen-modulos .sc-track-progress-row{
    position:relative!important;
    z-index:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    width:100%!important;
    min-height:15px!important;
    margin:14px 0 0!important;
    padding:0!important;
  }
  #screen-modulos .sc-track-progress-row span{display:block!important;margin:0!important;color:#797980!important;font-size:8px!important;line-height:1.2!important;font-weight:850!important;white-space:nowrap!important}
  #screen-modulos .sc-track-progress-row b{display:block!important;margin:0!important;color:#dedee3!important;font-size:10.5px!important;line-height:1.2!important;font-weight:900!important;white-space:nowrap!important}
  #screen-modulos .sc-track-progress{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:100%!important;
    height:5px!important;
    margin:7px 0 0!important;
    border-radius:999px!important;
    background:#28282d!important;
    overflow:hidden!important;
  }
  #screen-modulos .sc-track-progress>span{display:block!important;height:100%!important;border-radius:inherit!important;background:rgb(var(--card-accent))!important;box-shadow:none!important}
  #screen-modulos .sc-path-actions{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:100%!important;
    margin-top:auto!important;
    padding:17px 0 0!important;
  }
  #screen-modulos .sc-path-main{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:47px!important;
    margin:0!important;
    padding:11px 13px!important;
    border-radius:13px!important;
    background:var(--sc-orange)!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:900!important;
    text-align:center!important;
    box-shadow:0 10px 25px rgba(var(--sc-orange-rgb),.17)!important;
  }
  #screen-modulos .sc-path-card.complete .sc-path-main{background:#173626!important;color:#a5ecc5!important;box-shadow:none!important}
  #screen-modulos .sc-path-card.reward .sc-path-main{background:#6752bb!important;color:#fff!important;box-shadow:0 10px 25px rgba(var(--sc-reward-rgb),.16)!important}
  #screen-modulos .sc-path-card.reward .sc-path-main:disabled{background:#1a1721!important;color:#857a9f!important;border:1px solid rgba(var(--sc-reward-rgb),.15)!important;box-shadow:none!important}
  #screen-modulos .sc-path-card.locked:not(.reward) .sc-path-main{background:#19191d!important;color:#77777e!important;box-shadow:none!important}
  #screen-modulos .sc-path-subactions{display:none!important}

  #screen-modulos .sc-path-mystery{display:grid!important;place-items:center!important;border-style:dashed!important}
  #screen-modulos .sc-path-mystery:before,#screen-modulos .sc-path-mystery:after{display:none!important;content:none!important}
  #screen-modulos .sc-path-mystery-inner{text-align:center!important}
  #screen-modulos .sc-path-mystery-inner b{display:block!important;color:#48484f!important;font-size:40px!important}
  #screen-modulos .sc-path-mystery-inner span{display:block!important;margin-top:18px!important;color:#5e5e66!important;font-size:20px!important;letter-spacing:.26em!important}

  /* ---------- Carousel indicators use the normal product orange ---------- */
  .sc-mobile-level-dots{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:22px!important;
    margin:1px 0 0!important;
    padding:0 18px!important;
  }
  .sc-mobile-level-dot{
    appearance:none!important;
    -webkit-appearance:none!important;
    box-sizing:border-box!important;
    flex:0 0 6px!important;
    width:6px!important;
    min-width:6px!important;
    max-width:6px!important;
    height:6px!important;
    min-height:6px!important;
    max-height:6px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:#34343a!important;
    line-height:0!important;
    transition:width .2s ease,background .2s ease!important;
  }
  .sc-mobile-level-dot.is-active{
    flex-basis:18px!important;
    width:18px!important;
    min-width:18px!important;
    max-width:18px!important;
    background:var(--sc-orange)!important;
    box-shadow:0 0 11px rgba(var(--sc-orange-rgb),.30)!important;
  }
  .sc-mobile-level-swipe{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:19px!important;
    margin:0!important;
    color:#6f6f76!important;
    font-size:7px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
    text-align:center!important;
  }
  .sc-mobile-level-swipe:before{content:"↔"!important;color:var(--sc-orange)!important;font-size:11px!important;line-height:1!important}

  /* ---------- Hub footer: desktop order preserved, only compacted ---------- */
  #appView .hub-footer{
    margin:24px 0 10px!important;
    padding:0!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }
  #appView .hub-footer .footer-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:17px 12px!important;
    padding:18px 16px!important;
  }
  #appView .hub-footer .footer-brand{
    grid-column:1/-1!important;
  }
  #appView .hub-footer .footer-col{
    display:block!important;
    min-width:0!important;
  }
  #appView .hub-footer .footer-col h4{
    margin:0 0 9px!important;
    color:#8b8b92!important;
    font-size:7.5px!important;
    line-height:1.2!important;
    letter-spacing:.13em!important;
    text-transform:uppercase!important;
  }
  #appView .hub-footer .footer-list{
    display:grid!important;
    gap:7px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  #appView .hub-footer .footer-list a,
  #appView .hub-footer .footer-list button{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:none!important;
    color:#c4c4ca!important;
    font-size:10.5px!important;
    line-height:1.3!important;
    font-weight:750!important;
    text-align:left!important;
  }
  #appView .hub-footer .footer-brand-row{margin:0 0 8px!important}
  #appView .hub-footer .footer-brand-row img{height:36px!important;max-height:36px!important;max-width:195px!important}
  #appView .hub-footer .footer-brand p{margin:0!important;max-width:320px!important;color:#8e8e95!important;font-size:10px!important;line-height:1.45!important}
  #appView .hub-footer .footer-bottom{display:flex!important;justify-content:space-between!important;gap:6px 12px!important;flex-wrap:wrap!important;padding:11px 16px!important;font-size:8px!important}
}

@media (max-width:360px){
  #screen-modulos .sc-method-card,
  #screen-modulos .sc-foundation-card{min-height:224px!important;padding:13px!important}
  #screen-modulos .sc-method-copy h4,
  #screen-modulos .sc-foundation-copy h4{font-size:17px!important}
  #screen-modulos .sc-method-copy p,
  #screen-modulos .sc-foundation-copy p{font-size:8.5px!important}
  #screen-modulos .sc-product-action{font-size:8px!important;padding:8px 7px!important}
  #screen-modulos .sc-level-head{grid-template-columns:46px minmax(0,1fr)!important;column-gap:11px!important;padding:12px!important}
  #screen-modulos .sc-level-number{width:46px!important;height:46px!important;min-width:46px!important;border-radius:13px!important}
  #screen-modulos .sc-level-number strong{font-size:21px!important}
  #screen-modulos .sc-level-copy h4{font-size:21px!important}
  #screen-modulos .sc-level-copy p{font-size:9px!important}
  #screen-modulos .sc-level-head-actions{flex-direction:column!important;align-items:stretch!important;gap:8px!important}
  #screen-modulos .sc-level-unlock,#screen-modulos .sc-level-complete-badge{width:100%!important;max-width:100%!important;min-height:35px!important}
  #screen-modulos .sc-path-row{padding-left:21px!important;padding-right:21px!important;scroll-padding-inline:21px!important}
  #screen-modulos .sc-path-card,#screen-modulos .sc-path-mystery{
    flex-basis:calc(100vw - 64px)!important;
    width:calc(100vw - 64px)!important;
    min-width:calc(100vw - 64px)!important;
    max-width:calc(100vw - 64px)!important;
    min-height:366px!important;
    padding:16px!important;
  }
  #screen-modulos .sc-path-node{width:50px!important;height:50px!important;min-width:50px!important;flex-basis:50px!important;font-size:23px!important}
  #screen-modulos .sc-path-card-status{top:17px!important;right:15px!important;max-width:118px!important;font-size:6.7px!important}
  #screen-modulos .sc-path-card h5{font-size:23px!important}
}
