/* FIORAFIT CLUB · FLUIR FINAL V6
   Mobile-first full width + centered recommendation + no emoji icons */

/* ----- global FLUIR width hygiene ----- */
html:has(.fluir-app),body:has(.fluir-app){
  width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#F8F4EF!important;
}
body:has(.fluir-app) .page,
body:has(.fluir-app) main,
body:has(.fluir-app) .page-main{
  width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;
}
body:has(.fluir-app) .fluir-app{width:100%!important;max-width:none!important;overflow-x:hidden!important}

/* ----- refined check-in ----- */
body:has(.fluir-app) .fluir-checkin{
  width:min(980px,calc(100% - 40px))!important;max-width:980px!important;margin:84px auto 0!important;text-align:center!important;
}
body:has(.fluir-app) .fluir-checkin>small{font-size:9px!important;letter-spacing:.28em!important;margin-bottom:18px!important}
body:has(.fluir-app) .fluir-checkin h2{font-size:clamp(42px,5.6vw,72px)!important;line-height:.98!important;font-weight:300!important;letter-spacing:-.055em!important}
body:has(.fluir-app) .fluir-checkin>p{font-size:12px!important;line-height:1.7!important;margin-top:24px!important;color:#806f65!important}
body:has(.fluir-app) .fluir-state-grid{width:min(850px,100%)!important;gap:12px!important;margin-top:34px!important}
body:has(.fluir-app) .fluir-state-grid a{min-height:58px!important;background:rgba(255,255,255,.52)!important;border-color:rgba(73,60,52,.13)!important;transition:.22s ease!important}
body:has(.fluir-app) .fluir-state-grid a:hover{transform:translateY(-2px)!important;box-shadow:0 12px 30px rgba(73,60,52,.05)!important}

/* ----- recommendation: centered + quiet ----- */
body:has(.fluir-app) .fluir-recommendation{
  width:min(760px,calc(100% - 40px))!important;max-width:760px!important;margin:58px auto 16px!important;padding:42px 28px 46px!important;text-align:center!important;
  border:0!important;border-top:1px solid rgba(73,60,52,.09)!important;border-bottom:1px solid rgba(73,60,52,.09)!important;background:transparent!important;box-shadow:none!important;
}
body:has(.fluir-app) .fluir-recommendation small{display:block!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.25em!important;font-weight:700!important;color:#A30167!important;margin:0 0 14px!important}
body:has(.fluir-app) .fluir-recommendation h2{margin:0!important;font-size:clamp(31px,3vw,43px)!important;line-height:1.04!important;font-weight:300!important;letter-spacing:-.035em!important;color:#493C34!important}
body:has(.fluir-app) .fluir-recommendation p{max-width:560px!important;margin:15px auto 0!important;font-size:12px!important;line-height:1.7!important;color:#806f65!important}
body:has(.fluir-app) .fluir-recommendation>a{display:inline-flex!important;align-items:center!important;gap:12px!important;margin-top:24px!important;padding:0 0 7px!important;border-bottom:1px solid rgba(73,60,52,.30)!important;text-decoration:none!important;color:#493C34!important;font-size:9px!important;font-weight:700!important;letter-spacing:.16em!important}

/* CSS arrow, never native emoji */
body:has(.fluir-app) .fluir-inline-arrow{position:relative!important;display:inline-block!important;width:16px!important;height:8px!important;flex:0 0 16px!important}
body:has(.fluir-app) .fluir-inline-arrow:before{content:""!important;position:absolute!important;left:0!important;top:3px!important;width:14px!important;height:1px!important;background:currentColor!important}
body:has(.fluir-app) .fluir-inline-arrow:after{content:""!important;position:absolute!important;right:0!important;top:1px!important;width:5px!important;height:5px!important;border-top:1px solid currentColor!important;border-right:1px solid currentColor!important;transform:rotate(45deg)!important}

/* ----- intro + four paths ----- */
body:has(.fluir-app) .fluir-intro{max-width:900px!important;text-align:center!important;margin-top:76px!important;margin-bottom:34px!important}
body:has(.fluir-app) .fluir-intro small{font-size:9px!important;letter-spacing:.25em!important;color:#A30167!important;font-weight:700!important}
body:has(.fluir-app) .fluir-intro h2{max-width:650px!important;margin:16px auto 0!important;font-size:clamp(38px,4.8vw,62px)!important;line-height:1.02!important;font-weight:300!important;letter-spacing:-.05em!important}
body:has(.fluir-app) .fluir-entry-grid-four{max-width:1120px!important;gap:14px!important}
body:has(.fluir-app) .fluir-entry{border-radius:26px!important;overflow:hidden!important}
body:has(.fluir-app) .fluir-entry>span{display:inline-flex!important;align-items:center!important;gap:10px!important}

/* ----- recovery ----- */
body:has(.fluir-app) .fluir-card-arrow{position:relative!important;width:28px!important;height:28px!important;display:block!important;border:1px solid rgba(163,1,103,.28)!important;border-radius:50%!important;background:rgba(255,255,255,.75)!important;z-index:3!important}
body:has(.fluir-app) .fluir-card-arrow:before{content:""!important;position:absolute!important;width:8px!important;height:8px!important;left:8px!important;top:9px!important;border-top:1.5px solid #A30167!important;border-right:1.5px solid #A30167!important;transform:rotate(45deg)!important}
body:has(.fluir-app) .fluir-card-arrow:after{content:""!important;position:absolute!important;left:7px!important;top:13px!important;width:11px!important;height:1.5px!important;background:#A30167!important}

/* ----- meditation covers and play: no glyphs/emoji ----- */
body:has(.fluir-app) .fluir-play{font-size:0!important;color:transparent!important;padding:0!important}
body:has(.fluir-app) .fluir-play:before{content:""!important;display:block!important;width:0!important;height:0!important;border-top:7px solid transparent!important;border-bottom:7px solid transparent!important;border-left:11px solid #fff!important;margin-left:3px!important}

/* premium player play/pause drawn only with CSS */
body:has(.fluir-app) .fluir-player-play{font-size:0!important;padding:0!important;position:relative!important}
body:has(.fluir-app) .fluir-player-play span{display:block!important;position:relative!important;width:18px!important;height:18px!important}
body:has(.fluir-app) .fluir-player-play:not(.is-playing) span:before{content:""!important;position:absolute!important;left:5px!important;top:2px!important;width:0!important;height:0!important;border-top:7px solid transparent!important;border-bottom:7px solid transparent!important;border-left:11px solid #fff!important}
body:has(.fluir-app) .fluir-player-play.is-playing span:before,
body:has(.fluir-app) .fluir-player-play.is-playing span:after{content:""!important;position:absolute!important;top:2px!important;width:4px!important;height:14px!important;border-radius:1px!important;background:#fff!important}
body:has(.fluir-app) .fluir-player-play.is-playing span:before{left:3px!important}
body:has(.fluir-app) .fluir-player-play.is-playing span:after{right:3px!important}

/* ----- weekly summary polish ----- */
body:has(.fluir-app) .fluir-week-summary{max-width:1120px!important;margin-top:42px!important}

/* ----- MOBILE: true edge-to-edge app feeling ----- */
@media(max-width:760px){
  body:has(.fluir-app) .fluir-app{padding-bottom:48px!important}

  body:has(.fluir-app) .fluir-hero{width:100vw!important;max-width:100vw!important;margin-left:0!important;left:0!important;background-size:cover!important;background-position:58% center!important}

  body:has(.fluir-app) .fluir-checkin{
    width:100%!important;max-width:none!important;margin:0!important;padding:64px 16px 0!important;box-sizing:border-box!important;
  }
  body:has(.fluir-app) .fluir-checkin>small{font-size:8px!important;margin-bottom:20px!important}
  body:has(.fluir-app) .fluir-checkin h2{max-width:620px!important;margin:0 auto!important;font-size:clamp(38px,11.5vw,58px)!important;line-height:.98!important}
  body:has(.fluir-app) .fluir-checkin>p{max-width:560px!important;margin:24px auto 0!important;font-size:12px!important;line-height:1.75!important}
  body:has(.fluir-app) .fluir-state-grid{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:32px!important}
  body:has(.fluir-app) .fluir-state-grid a{min-height:64px!important;font-size:9px!important;letter-spacing:.16em!important;background:rgba(255,255,255,.62)!important}

  body:has(.fluir-app) .fluir-recommendation{
    width:calc(100% - 32px)!important;max-width:none!important;margin:46px 16px 0!important;padding:36px 12px 38px!important;box-sizing:border-box!important;
  }
  body:has(.fluir-app) .fluir-recommendation h2{font-size:34px!important;line-height:1.02!important}
  body:has(.fluir-app) .fluir-recommendation p{font-size:11px!important;max-width:520px!important}

  body:has(.fluir-app) .fluir-intro{
    width:100%!important;max-width:none!important;margin:66px 0 28px!important;padding:0 16px!important;box-sizing:border-box!important;
  }
  body:has(.fluir-app) .fluir-intro h2{font-size:38px!important;max-width:560px!important}

  body:has(.fluir-app) .fluir-entry-grid,
  body:has(.fluir-app) .fluir-entry-grid-four{
    width:100%!important;max-width:none!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important;gap:12px!important;
  }
  body:has(.fluir-app) .fluir-entry{width:100%!important;min-height:310px!important;border-radius:24px!important;padding:34px 28px!important;box-sizing:border-box!important}
  body:has(.fluir-app) .fluir-entry h2{font-size:clamp(42px,12vw,62px)!important;letter-spacing:-.055em!important}

  body:has(.fluir-app) .fluir-week-summary{
    width:calc(100% - 24px)!important;max-width:none!important;margin:22px 12px 0!important;padding:28px 20px!important;border-radius:24px!important;box-sizing:border-box!important;
  }

  /* sub-pages also use the full viewport */
  body:has(.fluir-app) .fluir-flow{
    width:100%!important;max-width:none!important;margin:0!important;padding:0 12px 72px!important;box-sizing:border-box!important;
  }
  body:has(.fluir-app) .fluir-back{display:inline-flex!important;margin:34px 4px 0!important;font-size:8px!important;letter-spacing:.18em!important}
  body:has(.fluir-app) .fluir-flow-head{max-width:100%!important;margin:86px auto 38px!important;padding:0 8px!important;box-sizing:border-box!important}
  body:has(.fluir-app) .fluir-flow-head h2{font-size:clamp(43px,12vw,62px)!important;line-height:.96!important;max-width:660px!important;margin-left:auto!important;margin-right:auto!important}
  body:has(.fluir-app) .fluir-flow-head p{max-width:560px!important;margin-left:auto!important;margin-right:auto!important}

  /* recovery cards compact and nearly full width */
  body:has(.fluir-app) .fluir-recovery-grid{width:100%!important;max-width:none!important;margin:0!important;gap:10px!important}
  body:has(.fluir-app) .fluir-recovery-card,
  body:has(.fluir-app) .fluir-recovery-card:last-child{
    width:100%!important;max-width:none!important;min-height:132px!important;padding:20px 17px!important;grid-template-columns:48px 1fr 30px!important;gap:13px!important;border-radius:22px!important;box-sizing:border-box!important;
  }
  body:has(.fluir-app) .fluir-recovery-icon{width:46px!important;height:46px!important;border-radius:15px!important}
  body:has(.fluir-app) .fluir-recovery-icon img{width:23px!important;height:23px!important}
  body:has(.fluir-app) .fluir-recovery-copy small{font-size:7px!important;letter-spacing:.17em!important}
  body:has(.fluir-app) .fluir-recovery-copy h3{font-size:22px!important;margin-top:7px!important}
  body:has(.fluir-app) .fluir-recovery-copy p{font-size:10px!important;line-height:1.5!important}
  body:has(.fluir-app) .fluir-recovery-copy em{font-size:7px!important;margin-top:10px!important}
  body:has(.fluir-app) .fluir-card-arrow{width:27px!important;height:27px!important}

  /* Spotify-like meditation: no dead side gutters */
  body:has(.fluir-app) .fluir-meditation-grid,
  body:has(.fluir-app) .fluir-meditation-grid--four{
    width:100%!important;max-width:none!important;margin:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 8px!important;
  }
  body:has(.fluir-app) .fluir-meditation-card{width:100%!important;min-width:0!important}
  body:has(.fluir-app) .fluir-meditation-cover,
  body:has(.fluir-app) .fluir-meditation-grid--four .fluir-meditation-cover{
    width:100%!important;aspect-ratio:.84!important;border-radius:18px!important;background-size:cover!important;background-position:center!important;
  }
  body:has(.fluir-app) .fluir-play{width:48px!important;height:48px!important;right:12px!important;bottom:12px!important}
  body:has(.fluir-app) .fluir-meditation-cover small{left:12px!important;bottom:14px!important}
  body:has(.fluir-app) .fluir-meditation-meta{font-size:7px!important;letter-spacing:.16em!important;margin-top:12px!important}
  body:has(.fluir-app) .fluir-meditation-grid--four .fluir-meditation-card h3{font-size:19px!important;line-height:1.05!important;min-height:40px!important;margin-top:7px!important}
  body:has(.fluir-app) .fluir-meditation-grid--four .fluir-meditation-card p{font-size:9px!important;line-height:1.5!important;margin-top:7px!important}

  /* player itself goes full width on mobile */
  body:has(.fluir-app) .fluir-inline-back{margin-left:4px!important}
  body:has(.fluir-app) .fluir-audio-player--premium{width:100%!important;max-width:none!important;margin:28px 0 0!important;border-radius:24px!important;grid-template-columns:1fr!important}
  body:has(.fluir-app) .fluir-player-cover{width:100%!important;aspect-ratio:1.18/1!important;min-height:0!important;background-size:cover!important;background-position:center!important}
  body:has(.fluir-app) .fluir-player-content{padding:32px 22px 28px!important}
  body:has(.fluir-app) .fluir-player-content h2{font-size:42px!important;line-height:.96!important}
  body:has(.fluir-app) .fluir-player-content>p{font-size:11px!important;margin-bottom:30px!important}
}

@media(max-width:420px){
  body:has(.fluir-app) .fluir-checkin{padding-left:12px!important;padding-right:12px!important}
  body:has(.fluir-app) .fluir-entry-grid,body:has(.fluir-app) .fluir-entry-grid-four{padding-left:10px!important;padding-right:10px!important}
  body:has(.fluir-app) .fluir-flow{padding-left:10px!important;padding-right:10px!important}
  body:has(.fluir-app) .fluir-meditation-grid,body:has(.fluir-app) .fluir-meditation-grid--four{gap:20px 7px!important}
  body:has(.fluir-app) .fluir-meditation-grid--four .fluir-meditation-card h3{font-size:17px!important}
}
