/*
 * Chrome applicatif transverse — barre basse et toast.
 * Extrait du CSS historique sans changement visuel.
 */

.bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(244,239,232,.96);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:9px 10px calc(9px + env(safe-area-inset-bottom))}

.bottom-inner{max-width:820px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}

.bottom button{min-height:68px;border:1px solid var(--line);background:var(--card);border-radius:15px;font-size:14px;font-weight:800;padding:8px 5px}

.bottom .bico{display:flex;align-items:center;justify-content:center;height:32px;margin-bottom:3px}


.toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);background:#2e2a26;color:#fff;padding:10px 14px;border-radius:999px;font-size:14px;font-weight:700;opacity:0;transition:.2s;pointer-events:none}

.toast.show{opacity:1}
@media(max-width:420px){

  .bottom button{font-size:12px}

}

.bottom button{color:var(--ink)}
@media(max-width:700px){


  .bottom{
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));
  }


  .bottom button{
    min-height:54px;
    padding:5px 4px;
    font-size:12px;
    border-radius:13px;
  }


  .bottom .bico{
    height:24px;
    margin-bottom:1px;
  }


  .bottom .bico svg{
    width:24px;
    height:24px;
  }


  .toast{
    bottom:78px;
  }

}
@media(max-width:420px){


  .bottom button{
    min-height:52px;
    font-size:11.5px;
  }

}
@media(max-width:420px){


  .bottom{
    left:6px;
    right:6px;
    bottom:calc(8px + env(safe-area-inset-bottom));
  }

}


/* Barre d'actions toujours au premier plan */
.bottom{
  z-index:10000 !important;
  isolation:isolate;
}

.toast{
  z-index:30000;
}


body.course-cancelled-mode .bottom{
  display:none !important;
}
