/* Porte d'entrée de maliana.fr : mêmes couleurs que l'app (Tahiti × Fête) */
body.g-locked{overflow:hidden}
body.g-locked > :not(#gate):not(script):not(style):not(link){visibility:hidden}
#gate{position:fixed;inset:0;z-index:1000;overflow:auto;background:linear-gradient(160deg,#3fd0c9,#16a6b6 45%,#0b7f86 80%,#0a5c66);color:#10282c;font-family:"Instrument Sans",system-ui,sans-serif}
#gate[hidden]{display:none}
.g-wrap{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:28px 16px 40px;box-sizing:border-box}
.g-brand{text-align:center;color:#fff}
.g-brand b{display:block;font:700 clamp(1.5rem,6vw,2.1rem) Unbounded,sans-serif;text-shadow:3px 3px 0 #10282c}
.g-brand span{font:500 .85rem "IBM Plex Mono",monospace;opacity:.95}
.g-card{width:min(420px,100%);box-sizing:border-box;background:#fff6e8;border:2px solid #10282c;border-radius:22px;box-shadow:6px 6px 0 #10282c;padding:22px 20px}
.g-card h1{font:700 1.3rem Unbounded,sans-serif;margin:0 0 6px}
.g-sub{margin:0 0 14px;color:#4f6668;line-height:1.45}
.g-small{font-size:.85rem;color:#4f6668;margin:4px 0 10px}
.g-wait{margin:0;text-align:center;font-weight:600}
#g-court{display:block;width:100%;max-width:340px;aspect-ratio:340/400;margin:0 auto 12px;border:2px solid #10282c;border-radius:16px;touch-action:none;cursor:grab;background:#3fd0c9}
form{display:flex;flex-direction:column;gap:12px;margin:0}
.g-f{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:.92rem}
.g-f input,.g-f select{font:inherit;font-weight:500;padding:11px 12px;border:2px solid #10282c;border-radius:12px;background:#fff;color:#10282c;min-height:44px;box-sizing:border-box}
.g-f input[type=file]{padding:8px}
.g-f input:focus-visible,.g-f select:focus-visible,.g-btn:focus-visible,.g-link:focus-visible{outline:3px solid #ff4f8b;outline-offset:2px}
.g-btn{font:700 1rem Unbounded,sans-serif;padding:12px 18px;min-height:46px;border:2px solid #10282c;border-radius:999px;background:#ffc93c;color:#10282c;box-shadow:3px 3px 0 #10282c;cursor:pointer}
.g-btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 #10282c}
.g-btn.ghost{background:#fff;font-size:.88rem}
.g-btn[disabled]{opacity:.6;cursor:wait}
.g-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.g-foot{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:14px;padding-top:12px;border-top:1px dashed #efd8b6}
.g-link{background:none;border:0;padding:4px 0;font:600 .92rem "Instrument Sans",sans-serif;color:#0b7f86;text-decoration:underline;cursor:pointer;min-height:32px}
.g-err{margin:0;padding:10px 12px;border-radius:12px;background:#ffe0ea;color:#8a0f3a;font-weight:600}
.g-msg{margin:0;color:#0b5f64;font-weight:600}
.g-msg:empty{display:none}
.g-acct{position:fixed;inset:0;z-index:1100;background:rgba(16,40,44,.55);display:flex;align-items:center;justify-content:center;padding:16px;font-family:"Instrument Sans",system-ui,sans-serif;color:#10282c}
.g-acct .g-row{margin-top:6px}
:root{color-scheme:light}

/* ---------- pop-up « installe l'app » et notifications ---------- */
.n-pop{position:fixed;inset:0;z-index:250;display:flex;align-items:flex-end;justify-content:center;padding:12px;background:rgba(6,26,29,.55);animation:nIn .25s ease-out}
.n-card{width:100%;max-width:420px;max-height:calc(100dvh - 24px);overflow:auto;margin:0}
.n-card h1{font-size:1.25rem}
@keyframes nIn{from{opacity:0}to{opacity:1}}
@media (min-width:640px){.n-pop{align-items:center}}
.n-demo{display:flex;justify-content:center;margin:6px 0 10px}
.n-phone{position:relative;width:150px;height:250px;border-radius:24px;border:6px solid #10282c;background:#fff;overflow:hidden;box-shadow:4px 4px 0 #10282c}
.n-scr{position:absolute;inset:0;opacity:0;animation:nStep 9s infinite}
.n-scr.s2{animation-delay:3s}.n-scr.s3{animation-delay:6s}
@keyframes nStep{0%{opacity:0}3%{opacity:1}31%{opacity:1}34%{opacity:0}100%{opacity:0}}
.n-page{padding:16px 12px;display:flex;flex-direction:column;gap:7px}.n-page b{font:700 11px Unbounded,sans-serif;color:#0b7f86}
.n-page i{display:block;height:8px;border-radius:4px;background:#e9dcc6}.n-page i.short{width:60%}.n-page.dim{opacity:.35}
.n-bar{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:space-around;height:32px;background:#f1f1f3;border-top:1px solid #ddd;font-size:14px;color:#2f74e0}
.n-bar.bottom{bottom:0}.n-bar.top{top:0;justify-content:space-between;padding:0 8px;border-top:0;border-bottom:1px solid #ddd}
.n-bar i{font-style:normal;width:18px;height:6px;border-radius:3px;background:#cfd3da}.n-bar i.hl{width:auto;height:auto;background:none;font-weight:700}
.n-url{font-size:10px;color:#555;background:#fff;border-radius:8px;padding:3px 10px}
.n-sheet{position:absolute;left:6px;right:6px;bottom:6px;background:#f7f7f8;border-radius:12px;box-shadow:0 -4px 16px rgba(0,0,0,.15);display:flex;flex-direction:column;font-size:10px}
.n-sheet.top{bottom:auto;top:30px;left:auto;width:118px}
.n-sheet span{padding:8px 10px;border-bottom:1px solid #e5e5ea}.n-sheet span.hl{background:#ffe8a3;font-weight:700;color:#10282c}
.n-home{position:absolute;inset:0;background:linear-gradient(160deg,#3fd0c9,#0b7f86);display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px 12px;align-content:start}
.n-home i{width:26px;height:26px;border-radius:7px;background:rgba(255,255,255,.35)}
.n-app{display:flex;flex-direction:column;align-items:center;gap:2px;animation:nPop 9s infinite;animation-delay:6s}
.n-app img{width:26px;height:26px;border-radius:7px;box-shadow:0 0 0 2px #ffc23d}.n-app small{font-size:7px;color:#fff;font-weight:700;white-space:nowrap}
@keyframes nPop{0%,4%{transform:scale(0)}10%{transform:scale(1.25)}14%,100%{transform:scale(1)}}
.n-tap{position:absolute;width:26px;height:26px;border-radius:50%;background:rgba(255,79,139,.45);box-shadow:0 0 0 0 rgba(255,79,139,.6);animation:nTap 1.5s infinite}
.s1 .n-tap{bottom:3px;left:62px}.s2 .n-tap{bottom:40px;left:60px}.s3 .n-tap{top:16px;left:54px}
.n-phone:has(.n-bar.top) .s1 .n-tap{top:3px;bottom:auto;left:auto;right:4px}
.n-phone:has(.n-sheet.top) .s2 .n-tap{top:84px;bottom:auto;left:auto;right:30px}
@keyframes nTap{0%{box-shadow:0 0 0 0 rgba(255,79,139,.6)}70%{box-shadow:0 0 0 14px rgba(255,79,139,0)}100%{box-shadow:0 0 0 0 rgba(255,79,139,0)}}
.n-steps{margin:0 0 12px;padding-left:22px;display:grid;gap:4px;font-size:.92rem}
.n-steps li{opacity:.55;animation:nLi 9s infinite}.n-steps .st2{animation-delay:3s}.n-steps .st3{animation-delay:6s}
@keyframes nLi{0%,33%{opacity:1;font-weight:600}34%,100%{opacity:.55;font-weight:400}}
.n-ico{display:inline-block;color:#2f74e0;font-weight:700}
.n-set{margin:14px 0;padding:14px 0;border-top:1px dashed #d9c9ad;border-bottom:1px dashed #d9c9ad}.n-set h2{font-size:1rem;margin:0 0 8px}
.n-types{border:0;margin:10px 0 0;padding:0;display:grid;gap:8px}.n-types legend{font-weight:700;margin-bottom:6px;padding:0}
.n-types label{display:flex;gap:10px;align-items:center;min-height:32px}.n-types input{width:20px;height:20px;accent-color:#0b7f86}
.n-types:disabled{opacity:.5}
@media (prefers-reduced-motion:reduce){.n-scr,.n-app,.n-tap,.n-steps li{animation:none}.n-scr.s1{opacity:1}.n-steps li{opacity:1}}
