/* AT v20 final adjustments: readability, contrast, bottom nav safe area, outline footprints */
:root{--at20-cream:#fbefe3;--at20-soft:#f1ddcb;--at20-gold:#e0b481;--at20-line:rgba(226,188,147,.26);--at20-feature:#8f4d56;}

/* Reading comfort */
#screen-events .calendar-date,#screen-classes .calendar-date{font-size:14px!important;line-height:1.5!important;color:var(--at20-gold)!important;text-align:center!important}
#screen-events .calendar-title,#screen-classes .calendar-title{font-size:22px!important;line-height:1.24!important;color:var(--at20-cream)!important}
#screen-events .calendar-time,#screen-classes .calendar-time,
#screen-events .calendar-location,#screen-classes .calendar-location,
#screen-events .calendar-description,#screen-classes .calendar-description,
#screen-events .calendar-info-row,#screen-classes .calendar-info-row,
#screen-radio .radio-access-text,#screen-radio .radio-access-message,#screen-radio .radio-status,
#screen-radio .radio-background-note,#screen-radio .radio-recent-list,
#screen-club .club-login-text,#screen-club .club-text,#screen-club .club-login-message,
#screen-club .club-member-label,#screen-club .club-member-value,
#screen-club .club-points-next,#screen-club .club-quiz-note,#screen-club .club-benefits-list li{
  font-size:15px!important; line-height:1.62!important; color:var(--at20-soft)!important;
}
#screen-events .calendar-info-label,#screen-classes .calendar-info-label{font-size:14px!important;color:var(--at20-gold)!important}
#screen-events .calendar-actions a,#screen-classes .calendar-actions a,
#screen-events .calendar-register,#screen-classes .calendar-register,
#screen-events .calendar-more-info,#screen-classes .calendar-more-info,
#screen-radio .radio-access-button,#screen-radio .radio-logout-button,
#screen-club .club-login-button,#screen-club .club-quiz-button,#screen-club .club-logout-button{font-size:14px!important;line-height:1.4!important}
#screen-events .calendar-view-button,#screen-classes .calendar-view-button{font-size:14px!important}
#screen-events .app-subtitle,#screen-classes .app-subtitle{font-size:15px!important;line-height:1.52!important;color:#f0dbc8!important}
#screen-radio .song{color:var(--at20-cream)!important}
#screen-radio .cc_recenttracks_list .ccartist,
#screen-radio .cc_recenttracks_list .cctitle,
#screen-club .club-member-plan,#screen-club .club-member-status,
#screen-club .club-points-title,#screen-club .club-rewards-hub-title,#screen-club .club-quiz-title{color:var(--at20-gold)!important}
#screen-club .club-title,#screen-club .club-member-name,#screen-radio .radio-title{color:var(--at20-cream)!important}
#screen-radio .radio-subtitle,#screen-radio .now-label,#screen-radio .recent-tracks-label{color:var(--at20-gold)!important}

/* Featured cards visible again */
#screen-events .calendar-featured,#screen-classes .calendar-featured{
  border:1px solid rgba(175,86,95,.78)!important;
  box-shadow:0 0 0 1px rgba(175,86,95,.35), 0 10px 24px rgba(0,0,0,.18)!important;
  background:linear-gradient(145deg,#53303f,#372434 90%)!important;
}
#screen-events .calendar-featured::after,#screen-classes .calendar-featured::after{display:none!important}
#screen-events .calendar-featured::before,#screen-classes .calendar-featured::before{
  content:"DESTACADO"!important; display:inline-flex!important; position:static!important; width:auto!important; height:auto!important;
  margin:0 auto 12px!important; padding:6px 10px!important; border-radius:999px!important; 
  background:rgba(175,86,95,.18)!important; border:1px solid rgba(175,86,95,.45)!important;
  color:#f1c9c7!important; font:700 11px/1 system-ui,-apple-system,'Segoe UI',sans-serif!important; letter-spacing:.08em!important;
}

/* Home icon and classes symbol */
#screen-home .home-card-classes .home-illustration img{width:60px!important;height:60px!important;object-fit:contain!important;filter:none!important}
.bottom-nav .nav-button[data-screen="classes"] .nav-icon img{width:21px!important;height:21px!important;object-fit:contain!important;filter:none!important}
#screen-classes .calendar-card::before{background-size:30px 30px!important}

/* Bottom nav cutoff fix */
#app{padding-bottom:calc(118px + env(safe-area-inset-bottom,0px))!important}
.bottom-nav{
  height:calc(86px + env(safe-area-inset-bottom,0px))!important;
  min-height:86px!important;
  padding:6px clamp(2px,.9vw,8px) calc(10px + env(safe-area-inset-bottom,0px))!important;
  align-items:stretch!important;
}
.bottom-nav .nav-button{
  min-height:62px!important;
  height:auto!important;
  justify-content:flex-start!important;
  padding:8px 1px 8px!important;
  font-size:clamp(11px,2.8vw,12px)!important;
  line-height:1.1!important;
}
.bottom-nav .nav-icon{width:24px!important;height:24px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.bottom-nav .nav-button span:last-child{padding-bottom:0!important}
@media(max-width:350px){
  .bottom-nav{height:calc(88px + env(safe-area-inset-bottom,0px))!important;padding-bottom:calc(11px + env(safe-area-inset-bottom,0px))!important}
  .bottom-nav .nav-button{font-size:10.5px!important;min-height:64px!important}
}
