/* =====================================================================
   HAYASA · navigation commune (barre du bas, menu « Plus », pastille « Ma fiche »)
   ===================================================================== */
.hy-tab,.hy-sheet,.hy-pill{--hy-or:#ff8a00;--hy-bd:rgba(255,255,255,.09);font-family:Inter,system-ui,sans-serif}
.hy-tab[hidden],.hy-sheet[hidden],.hy-scrim[hidden]{display:none!important}

/* ---- barre du bas (téléphone) ---- */
.hy-tab{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:150;display:grid;grid-template-columns:repeat(5,1fr);padding:5px;border-radius:22px;
  background:rgba(15,18,22,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 40px rgba(0,0,0,.6);transition:transform .3s cubic-bezier(.2,.9,.2,1)}
.hy-tab.away{transform:translateY(calc(100% + 24px))}
.hy-tab a{position:relative;display:grid;justify-items:center;gap:2px;padding:6px 0;border-radius:16px;color:#9ba2ad;text-decoration:none;font:700 10px/1.2 Inter,system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
.hy-tab a svg{width:22px;height:22px}
.hy-tab a.on{background:var(--hy-or);color:#0a0a0a}
.hy-tab a b{position:absolute;top:2px;left:calc(50% + 6px);min-width:17px;height:17px;border-radius:999px;background:#ff2bd6;color:#fff;font:800 10px/17px Inter,system-ui,sans-serif;text-align:center;padding:0 4px}
.hy-tab a b[hidden]{display:none}
@media (min-width:900px){.hy-tab{display:none}}
@media (max-width:899px){
  body{padding-bottom:calc(86px + env(safe-area-inset-bottom))}
  .install{bottom:calc(96px + env(safe-area-inset-bottom))!important}
  .rl-toast{bottom:calc(100px + env(safe-area-inset-bottom))!important}
  .igfloat{display:none!important}
  /* en-têtes des autres pages : on garde le logo + la pastille, le menu passe dans la barre du bas */
  .sp-top nav,.cv-top nav{display:none!important}
}
html.rl-lock .hy-tab{display:none}

/* ---- menu « Plus » ---- */
.hy-scrim{position:fixed;inset:0;z-index:300;background:rgba(3,4,6,.6);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:hyfd .2s}
@keyframes hyfd{from{opacity:0}}
.hy-sheet{position:fixed;z-index:301;top:0;right:0;bottom:0;width:min(360px,88vw);overflow-y:auto;padding:calc(14px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
  background:#0d0f13;color:#f4f1ec;border-left:1px solid var(--hy-bd);box-shadow:-30px 0 60px rgba(0,0,0,.6);display:grid;gap:14px;align-content:start;animation:hysl .28s cubic-bezier(.2,.9,.2,1)}
@keyframes hysl{from{transform:translateX(100%)}}
html.hy-lock{overflow:hidden}
.hy-sheet a{color:inherit;text-decoration:none}
.hy-sh-top{display:flex;align-items:center;justify-content:space-between}
.hy-sh-top b{font:400 28px/1 Anton,Impact,sans-serif;text-transform:uppercase}
.hy-x{width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.07);color:#fff;font-size:16px;cursor:pointer}
.hy-me{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;border:1px solid var(--hy-bd);background:#151920}
.hy-me .av{width:46px;height:46px;flex:none;border-radius:50%;background:#1c2028 center/cover;display:grid;place-items:center;font:400 20px Anton,Impact,sans-serif;color:var(--hy-or);text-transform:uppercase;box-shadow:0 0 0 2px #0d0f13,0 0 0 4px var(--hy-or)}
.hy-me.new .av{box-shadow:none;border:2px dashed rgba(255,138,0,.7);background:rgba(255,138,0,.08)}
.hy-me small{display:block;font:600 10px Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#9ba2ad}
.hy-me b{font:400 19px Anton,Impact,sans-serif;text-transform:uppercase}
.hy-me i{margin-left:auto;font-style:normal;font-size:22px;color:#9ba2ad}
.hy-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hy-grid a{display:grid;gap:6px;padding:14px;border-radius:16px;border:1px solid var(--hy-bd);background:linear-gradient(160deg,#151920,#0d0f13);font:400 18px Anton,Impact,sans-serif;text-transform:uppercase}
.hy-grid a i{font-style:normal;font-size:20px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 16%,transparent)}
.hy-list{display:grid;border-radius:16px;border:1px solid var(--hy-bd);overflow:hidden;background:#0f1216}
.hy-list a{display:flex;align-items:center;gap:10px;padding:14px 16px;font:600 15px Inter,system-ui,sans-serif;box-shadow:inset 0 -1px 0 rgba(255,255,255,.06)}
.hy-list a:last-child{box-shadow:none}
.hy-soc{display:flex;gap:8px}
.hy-soc a{flex:1;text-align:center;padding:10px 0;border-radius:12px;border:1px solid var(--hy-bd);font:600 12.5px Inter,system-ui,sans-serif;color:#c9cdd3}
.hy-leg{margin:0;text-align:center;font:500 12px Inter,system-ui,sans-serif;color:#5d636c}
.hy-leg a{color:#9ba2ad}

/* ---- pastille « Ma fiche » ---- */
.hy-pill{margin-left:auto;display:flex;align-items:center;gap:9px;min-width:0;flex-shrink:1;padding:3px 3px 3px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--hy-bd);color:#f4f1ec;text-decoration:none}
.hy-pill .t{display:grid;text-align:right;min-width:0;line-height:1.15}
.hy-pill small{font:600 9px Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#9ba2ad}
.hy-pill b{font:700 13px Inter,system-ui,sans-serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}
.hy-pill .r{position:relative;flex:none;width:38px;height:38px;border-radius:50%;padding:2px;background:conic-gradient(var(--hy-or),#ffe100,var(--hy-or))}
.hy-pill .r>span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#1c2028 center/cover;border:2px solid #08090b;font:400 16px Anton,Impact,sans-serif;color:var(--hy-or);text-transform:uppercase}
.hy-pill .r i{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:50%;background:#3ddc84;border:2px solid #08090b}
.hy-pill.new .r{background:rgba(255,138,0,.25)}
.hy-pill.new .r>span{font:700 18px Inter,system-ui,sans-serif}
.sp-top .hy-pill,.cv-top .hy-pill{margin-left:auto}
@media (min-width:900px){.sp-top .hy-pill,.cv-top .hy-pill{margin-left:6px}}
