/* Même univers que le site BeyaBear’s : nuit bleutée, crème de la fourrure, bleu lumineux de l'œil. */
:root {
  --bg: #06080f;
  --card: #0d111d;
  --tile: #151b2c;
  --line: rgba(214, 226, 255, .14);
  --ink: #e9edf7;
  --muted: #98a2ba;
  --green: #f4e8d2;
  --green-ink: #10131c;
  --danger: #e5484d;
  --eye: #2e8bff;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font: 17px/1.5 "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(1100px 620px at 50% -180px, #14224a 0%, transparent 70%) no-repeat var(--bg); color: var(--ink); min-height: 100dvh; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; border: 0; background: none; }
h2 { font: 700 1.75rem/1.1 var(--display); letter-spacing: -.03em; color: var(--green); margin: 0 0 8px; text-wrap: balance; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); font-size: .92rem; }
.error { color: var(--danger); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 14px 16px 10px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.25rem/1 var(--display); letter-spacing: -.02em; color: var(--green); text-decoration: none; }
.brand svg { width: 36px; height: 32px; }
.ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .05); border-radius: 999px; padding: 9px 16px; color: var(--ink); font-weight: 600; font-size: .92rem; }

.tools { display: flex; gap: 8px; align-items: center; }
.ghost.mic { padding: 8px 10px; display: grid; }
.ghost.mic svg { width: 22px; height: 22px; }
body.hearing .ghost.mic { background: var(--danger); color: #fff; border-color: var(--danger); }
strong { color: var(--green); }
a { color: #7fd2ff; }
main { max-width: 1040px; margin: 0 auto; padding: 8px 16px 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 820px) { main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* --- La peluche et son œil --- */
.stage { background: #070d24; border-radius: 28px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(46, 139, 255, .12); }
/* Cadrage de la photo de référence : identique à celui du Lab. */
.plushBox { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1081 / 1008; overflow: hidden; }
.plush { position: absolute; width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; pointer-events: none; user-select: none; }
.eye { position: absolute; left: 30.7%; top: 44.75%; width: 43.3%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #0b1410; container-type: size; cursor: pointer; isolation: isolate; }
.stage.eyeView { background: radial-gradient(circle at 50% 50%, rgba(46, 139, 255, .28), transparent 62%) var(--card); padding: 30px; }
.stage.eyeView .plushBox { aspect-ratio: 1; overflow: visible; max-width: min(100%, 520px); }
.stage.eyeView .plush { display: none; }
.stage.eyeView .eye { inset: 0; width: 100%; height: 100%; aspect-ratio: 1; cursor: default; box-shadow: 0 0 0 10px #151a28, 0 0 0 11px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .7); }

.iris { position: absolute; inset: -9%; background: url(iris.webp) center / cover; animation: look 11s ease-in-out infinite; }
@keyframes look {
  0%, 18%, 100% { transform: translate(0, 0); }
  24%, 40% { transform: translate(-3.5%, 1%); }
  46%, 62% { transform: translate(3.5%, -1.5%); }
  68%, 80% { transform: translate(0, 2.5%); }
}
.eye.listening .iris { animation: pulse 1.1s ease-in-out infinite; }
.eye.thinking .iris { animation: pulse 2.2s ease-in-out infinite; opacity: .75; }
@keyframes pulse { 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .iris, .eye.listening .iris, .eye.thinking .iris { animation: none; } }

.screen { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-align: center; }
.screen:empty { display: none; }
.screen video, .screen img, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.screen video.mirror { transform: scaleX(-1); }
.say { position: absolute; inset: 0; display: grid; place-items: center; padding: 14cqw; background: radial-gradient(circle, #10283acc 35%, #0a1722f2); font-size: 6.2cqw; line-height: 1.3; font-weight: 600; overflow: hidden; }
/* Torche : l'œil éclaire. */
.beam { position: absolute; inset: 0; background: #fff; }
.beam-night { background: radial-gradient(circle, #ffb45e, #e8791f); opacity: .75; }
/* Torche plein écran : tout l'écran éclaire. */
.flood { position: fixed; inset: 0; z-index: 20; background: #fff; display: grid; align-content: end; justify-items: center; padding: 24px 16px calc(118px + env(safe-area-inset-bottom)); }
.flood-night { background: radial-gradient(circle, #ffb45e, #d96a12); }
/* Les commandes restent lisibles sur le blanc et passent au-dessus de la barre d'onglets. */
.flood .row { justify-content: center; flex-wrap: wrap; gap: 10px; }
.flood .btn { box-shadow: 0 6px 18px #081c5026; }
.flood .btn.light { background: #fff; color: #1b3fa8; border: 1.5px solid #1b3fa8; }
body.kiosk .flood, body.guest .flood, body.landing .flood { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
/* Horloge : chiffres rouges lumineux sur fond noir, comme un réveil. */
.led { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1a0605, #050202 70%); }
.led svg { width: 70%; overflow: visible; filter: drop-shadow(0 0 1.6cqw #ff2a1a) drop-shadow(0 0 4cqw #ff2a1a99); }
.led .on { fill: #ff3b2b; } .led .off { fill: #ff3b2b; opacity: .07; }
.led .colon { animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .led .colon { animation: none; } }
/* Météo : carte du temps qu'il fait. */
.sky { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; gap: .6cqw; color: #fff; background: linear-gradient(#3f9be8, #8fd0ff); padding: 8cqw; }
.sky-cloud, .sky-fog { background: linear-gradient(#6f8196, #a9b6c4); } .sky-rain, .sky-storm { background: linear-gradient(#3b4a63, #6f8196); }
.sky-snow { background: linear-gradient(#7f97b8, #c6d6ea); }
.sky small { font-size: 5.2cqw; font-weight: 700; letter-spacing: .04em; } .sky svg { width: 34cqw; }
.sky strong { font-size: 17cqw; line-height: 1; } .sky span { font-size: 5.4cqw; font-weight: 600; } .sky em { font-style: normal; font-size: 4.4cqw; opacity: .9; }
/* Carte météo animée : 3 × 3 tuiles, chacune large comme la moitié de l'œil. */
.map { position: absolute; inset: 0; overflow: hidden; background: #a9c7de; }
.map .tiles { position: absolute; width: 150%; height: 150%; }
.map .tiles img { position: absolute; width: 33.4%; height: 33.4%; object-fit: fill; background: none; }
.map .frame { position: absolute; inset: 0; opacity: 0; }
.map .frame.on { opacity: .8; }
.map .pin { position: absolute; left: 50%; top: 50%; width: 4cqw; height: 4cqw; margin: -2cqw; border-radius: 50%; background: #e0362c; border: .8cqw solid #fff; box-shadow: 0 0 2cqw #0006; }
.day { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; background: var(--tile); border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; }
.day i { display: grid; background: linear-gradient(#3f9be8, #8fd0ff); border-radius: 10px; } .day span::first-letter { text-transform: uppercase; }
/* Histoire : ciel de nuit étoilé dans l'œil, texte plus grand. */
.say.story { font-size: 6.6cqw; background:
  radial-gradient(circle at 20% 22%, #fff 0 .5cqw, transparent .7cqw), radial-gradient(circle at 78% 16%, #fff 0 .4cqw, transparent .6cqw),
  radial-gradient(circle at 64% 80%, #fff 0 .45cqw, transparent .65cqw), radial-gradient(circle at 30% 76%, #ffe9a8 0 .5cqw, transparent .7cqw),
  radial-gradient(circle at 86% 52%, #fff 0 .35cqw, transparent .55cqw), radial-gradient(circle at 12% 54%, #fff 0 .35cqw, transparent .55cqw),
  radial-gradient(circle at 74% 26%, #fff6c9 0 5cqw, transparent 5.4cqw), radial-gradient(circle at 50% 110%, #2b3f7a, #0b1230 70%); }
.say.story.long { font-size: 5.2cqw; }
.say.long { font-size: 4.7cqw; }
.say small { display: block; font-size: 4.2cqw; font-weight: 500; opacity: .8; margin-bottom: 2cqw; letter-spacing: .08em; text-transform: uppercase; }
.badge { position: absolute; left: 50%; bottom: 7cqw; transform: translateX(-50%); background: #000a; padding: 1.2cqw 3.5cqw; border-radius: 99px; font-size: 3.8cqw; white-space: nowrap; }

/* Menu rond des applications, dessiné dans l'œil. */
.menu { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #1c3f63, #0a1626 72%); display: grid; grid-template-rows: auto 1fr auto; padding: 7cqw 12cqw 5cqw; }
.menu .clock { font-size: 5cqw; font-weight: 700; letter-spacing: .03em; }
.menu .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5cqw 3cqw; align-content: center; padding: 0 2cqw; }
.menu .app { display: grid; justify-items: center; gap: 1cqw; color: #fff; font-size: 3.8cqw; font-weight: 600; padding: 0; text-decoration: none; }
.menu .app i { width: 17cqw; height: 17cqw; border-radius: 4.6cqw; display: grid; place-items: center; box-shadow: inset 0 1px #fff5, 0 2px 5px #0006; }
.menu .app svg { width: 60%; height: 60%; }
.menu .dock { display: flex; justify-content: center; gap: 5cqw; }
.menu .dock button { width: 11cqw; height: 11cqw; border-radius: 50%; border: .5cqw solid #fff9; color: #fff; display: grid; place-items: center; }
.menu .dock svg { width: 58%; height: 58%; }
.c-call { background: linear-gradient(#5fe07c, #1faf4b); } .c-yt { background: linear-gradient(#ff5a4e, #e02214); }
.c-photo { background: linear-gradient(#f4f4f4, #b9bcc2); color: #1c1c1e; } .c-chat { background: linear-gradient(#8f7bf5, #5b3fd6); }
.c-musique { background: linear-gradient(#3ddc6f, #169c46); color: #0b0b0b; }
.c-phone { background: linear-gradient(#7c8a9c, #46505f); }
.c-games { background: linear-gradient(#5aa9ff, #1f5fd6); }
.c-esim { background: linear-gradient(#59c7c0, #1f8f8a); }
.c-face { background: linear-gradient(#f08aa6, #c23c69); }
.c-clock { background: linear-gradient(#4a4a52, #17171b); color: #ff4a3d; } .c-weather { background: linear-gradient(#7fd0ff, #2f8fe0); }
.c-torch { background: linear-gradient(#ffe27a, #f5a623); color: #3a2a00; }
.c-story { background: linear-gradient(#f8c765, #e08b1d); } .c-iris { background: linear-gradient(#69c3f2, #2a7fc2); }

/* --- Le panneau de commandes --- */
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 140px) var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.apps a { text-decoration: none; color: inherit; }
.apps button, .apps a { display: grid; justify-items: center; gap: 8px; padding: 16px 4px 13px; border-radius: 20px; background: var(--tile); border: 1px solid transparent; font-weight: 600; font-size: .88rem; color: var(--ink); transition: border-color .2s, transform .2s; }
.apps button:hover, .apps a:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.apps i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 6px 14px rgba(0, 0, 0, .4); }
.apps .c-photo { color: #1c1c1e; } .apps .c-musique { color: #0b0b0b; }
.apps svg { width: 60%; height: 60%; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.btn { background: var(--green); color: var(--green-ink); border-radius: 999px; padding: 12px 22px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn svg { width: 20px; height: 20px; }
.btn.light { background: rgba(255, 255, 255, .05); color: var(--ink); border: 1px solid rgba(255, 255, 255, .24); }
.btn.danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.live { background: var(--danger); color: #fff; }
.back { color: var(--muted); font-weight: 600; font-size: .92rem; padding: 4px 0 10px; display: inline-flex; gap: 6px; align-items: center; }
form.line { display: flex; gap: 8px; margin: 12px 0; }
form.stack { display: grid; gap: 8px; margin: 12px 0; justify-items: start; }
form.stack input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--tile); }
.screen .qr { position: absolute; inset: 17%; width: 66%; height: 66%; margin: 0; padding: 0; border-radius: 0; }
.screen:has(.qr) { background: #fff; }
form.line input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile); }
input::placeholder { color: var(--muted); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #7fd2ff; outline-offset: 2px; }
.talk { display: grid; gap: 8px; margin: 12px 0; max-height: 280px; overflow: auto; }
.talk div { padding: 9px 13px; border-radius: 14px; max-width: 88%; }
.talk .user { background: #1f3f86; justify-self: end; }
.talk .assistant { background: var(--tile); border: 1px solid var(--line); }
.colors { display: flex; gap: 14px; margin: 14px 0; }
.colors button { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); }
.colors button.sel { box-shadow: 0 0 0 3px var(--green); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.shots button { padding: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); }
.shots img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qr { width: min(100%, 210px); background: #fff; border-radius: 14px; padding: 6px; display: block; margin: 10px 0; }
.self { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; transform: scaleX(-1); background: #000; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.favs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.favs li { display: flex; gap: 8px; align-items: center; }
.favs .btn { flex: 1; justify-content: flex-start; min-width: 0; text-align: left; }
.favs .x { color: var(--muted); padding: 8px; font-size: 1.2rem; }
.favs .x { border-radius: 50%; font-weight: 700; }
.say .open { color: #fff; text-decoration: none; display: block; padding: 5cqw 7cqw; border: .6cqw solid #fff9; border-radius: 8cqw; font-size: 8cqw; }
.favs .x[data-link] { font-size: .8rem; color: var(--green); }
.invite { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.say.ring { align-content: center; gap: 6cqw; font-size: 9cqw; }
.answer { display: flex; gap: 12cqw; justify-content: center; }
.answer button { width: 19cqw; height: 19cqw; border-radius: 50%; color: #fff; display: grid; place-items: center; }
.answer svg { width: 55%; height: 55%; }
.answer .yes { background: #1faf4b; animation: pulse 1.1s ease-in-out infinite; }
.answer .no { background: #d5392b; } .answer .no svg { transform: rotate(135deg); }
.diag { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.diag ul { margin: 0 0 10px; padding-left: 18px; font-size: .92rem; }
.notice { background: rgba(255, 179, 71, .1); border: 1px solid rgba(255, 179, 71, .4); border-radius: 16px; padding: 12px 16px; color: #ffe2b3; }
.btn.offer { border-radius: 16px; text-align: left; white-space: normal; }
.btn.offer span { display: grid; gap: 2px; }
.btn.offer small { font-weight: 500; opacity: .85; }
details { margin-top: 10px; } summary { cursor: pointer; font-weight: 600; color: var(--green); }
label.check { display: flex; gap: 10px; align-items: center; margin: 10px 0; font-weight: 600; }
label.check input { width: 20px; height: 20px; accent-color: var(--green); }

#toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--green); color: var(--green-ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; max-width: calc(100vw - 32px); z-index: 5; }
#toast:empty { display: none; }

/* Bouton de retour dans l'œil : seulement sur l'écran rond, pendant une application. */
.exit { display: none; position: absolute; top: 5cqw; left: 50%; transform: translateX(-50%); z-index: 3; background: #000b; color: #fff; border: .4cqw solid #fff8; border-radius: 99px; padding: 1.2cqw 4cqw; font-size: 3.8cqw; font-weight: 600; }
body.kiosk .exit { display: block; }
body.kiosk[data-screen="home"] .exit, body.kiosk[data-screen="menu"] .exit { display: none; }
body.guest .tools [data-listen] { display: none; }
.eye:focus-visible { outline: 3px solid var(--eye); outline-offset: 3px; }

/* Mode « œil seul » pour l'écran rond du prototype : /?oeil */
body.kiosk { background: #000; }
body.kiosk .top, body.kiosk .panel, body.kiosk #toast { display: none; }
body.kiosk main { display: grid; place-items: center; min-height: 100dvh; padding: 0; max-width: none; }
body.kiosk .stage { background: #000; padding: 0; width: min(100vw, 100dvh); border-radius: 0; }
body.kiosk .stage .plushBox { max-width: none; }
body.kiosk .stage.eyeView .eye { box-shadow: none; }

/* Jeux de l'œil : tout tient dans le carré inscrit dans l'écran rond. */
.game { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 3cqw; background: radial-gradient(circle at 50% 110%, #2b3f7a, #0b1230 70%); color: #fff; text-align: center; }
.game small { font-size: 4.2cqw; letter-spacing: .1em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.game b { font-size: 9cqw; line-height: 1.1; }
.game.pick button { min-width: 52cqw; padding: 3.4cqw 5cqw; border-radius: 99px; background: #f4e8d2; color: #10131c; font-size: 5.4cqw; font-weight: 700; }
.game.pick button + button { background: #fff2; color: #fff; border: .5cqw solid #fff8; }
.pairs .cards { display: grid; grid-template-columns: repeat(4, 15cqw); gap: 2cqw; }
.pairs .cards button { aspect-ratio: 1; border-radius: 3.4cqw; background: linear-gradient(#58b6ff, #1f5fd6); box-shadow: inset 0 1px #fff6; display: grid; place-items: center; }
.pairs .cards span { font-size: 8.5cqw; opacity: 0; }
.pairs .cards .on { background: #f4e8d2; } .pairs .cards .on span { opacity: 1; }
.pairs .cards .ok { background: #9be7a8; }
.stars canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.stars small { position: absolute; top: 9cqw; left: 0; right: 0; font-size: 5.4cqw; }
.game.pick.four { gap: 1.6cqw; } .game.pick.four button { min-width: 48cqw; padding: 2cqw 4cqw; font-size: 4.5cqw; background: #fff2; color: #fff; border: .5cqw solid #fff8; }
.maths b { font-size: 13cqw; } .maths .answers { display: flex; gap: 3cqw; }
.maths .answers button { width: 19cqw; aspect-ratio: 1; border-radius: 50%; background: #f4e8d2; color: #10131c; font-size: 8cqw; font-weight: 700; }
.maths .answers .right { background: #7ddc7a; } .maths .answers .wrong { background: #ff5a6e; color: #fff; }
.draw canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.draw .inks { position: absolute; bottom: 13cqw; left: 0; right: 0; display: flex; justify-content: center; gap: 1.6cqw; }
.draw .inks button { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; border: .6cqw solid #0006; color: #fff; font-size: 5cqw; line-height: 1; }
.draw .inks .sel { box-shadow: 0 0 0 .8cqw #fff; } .draw .inks [data-ink=""] { background: #fff3; }
.game.pick.four button:first-of-type { background: #ffb21f; color: #10131c; border-color: #ffb21f; }
.honey canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }

/* Clavier de l'œil : les rangées suivent la largeur du cercle. */
.kbOpen { position: absolute; left: 50%; bottom: 3cqw; transform: translateX(-50%); z-index: 3; width: 12cqw; height: 9cqw; border-radius: 3cqw; background: #000b; color: #fff; border: .4cqw solid #fff8; display: grid; place-items: center; }
.kbOpen svg { width: 70%; height: 80%; }
.kb { position: absolute; inset: 0; z-index: 4; background: radial-gradient(circle at 50% 20%, #17264d, #070b18 75%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1.1cqw; padding-top: 13cqw; }
.kb small { font-size: 3.4cqw; letter-spacing: .08em; text-transform: uppercase; opacity: .8; max-width: 52cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb output { width: 66cqw; min-height: 11cqw; margin-bottom: 1.4cqw; padding: 2cqw 3cqw; border-radius: 3cqw; background: #fff; color: #10131c; font-size: 5cqw; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; }
.kb output i { display: inline-block; width: .6cqw; height: 5.4cqw; margin-left: .6cqw; vertical-align: -1cqw; background: #2e8bff; animation: blink 1s steps(1) infinite; }
.kb div { display: flex; gap: 1cqw; justify-content: center; }
.kb button { width: 8.2cqw; height: 10.4cqw; border-radius: 2cqw; background: #ffffff24; color: #fff; font-size: 5cqw; font-weight: 600; display: grid; place-items: center; padding: 0; }
.kb button:active { background: #2e8bff; }
.kb .w { width: 11cqw; } .kb .on { background: #2e8bff; }
.kb .s { width: 8cqw; background: #ffffff12; } .kb .m { width: 11cqw; font-size: 3.8cqw; } .kb .sp { width: 20cqw; font-size: 3.4cqw; }
.kb .ok { width: 14cqw; background: #f4e8d2; color: #10131c; font-size: 4.4cqw; }
body.kiosk .kbOpen { bottom: 2cqw; }
.kb[hidden], .kbOpen[hidden] { display: none; }
.game canvas { display: block; }
@supports not (width: 1cqw) { .game small { font-size: 14px; } .game b { font-size: 26px; } .game.pick button { min-width: 180px; padding: 10px 16px; font-size: 16px; } .pairs .cards { grid-template-columns: repeat(4, 48px); gap: 6px; } .pairs .cards span { font-size: 26px; } .maths .answers button { width: 60px; font-size: 24px; } }

/* ---------- Habillage clair : fond bleuté, titres marine, accents bleu vif, boutons en pilule ---------- */
:root {
  --bg: #f3f7ff; --card: #ffffff; --tile: #f3f7ff; --line: rgba(8, 28, 80, .12);
  --ink: #081c50; --muted: #55668c; --green: #1464e6; --green-ink: #ffffff; --danger: #d93a3f; --eye: #1464e6;
  --display: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif; color-scheme: light;
}
body { background: radial-gradient(900px 520px at 100% -80px, #cfe1ff 0%, transparent 65%), radial-gradient(700px 480px at -10% 30%, #dceaff 0%, transparent 60%), var(--bg); color: var(--ink); }
h2 { color: var(--ink); font-weight: 900; letter-spacing: -.01em; }
h2 em, h3 em { font-style: normal; color: var(--green); }
strong { color: var(--ink); }
a { color: var(--green); }
.top { padding-block: 16px 12px; }
.brand { color: var(--ink); font-weight: 900; }
.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(8, 28, 80, .06); }
.stage { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(20, 100, 230, .16); }
.stage.eyeView { background: radial-gradient(circle at 50% 50%, rgba(20, 100, 230, .16), transparent 64%) #fff; }
.stage.eyeView .eye { box-shadow: 0 0 0 10px #0b1a44, 0 0 0 11px rgba(8, 28, 80, .2), 0 24px 50px rgba(8, 28, 80, .3); }
.panel { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(8, 28, 80, .08); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--green); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(8, 28, 80, .06); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hello { font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 16px 0 10px; line-height: 1.12; }
.lead { color: var(--ink); font-size: 1.08rem; line-height: 1.4; }
.sub { font: 900 1.35rem/1.2 var(--display); color: var(--ink); margin: 26px 0 0; text-align: center; }
.btn { background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(20, 100, 230, .28); }
.btn.go::after { content: "›"; display: grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 900; line-height: 1; }
.btn.light { background: #fff; color: var(--green); border: 1px solid rgba(20, 100, 230, .35); box-shadow: none; }
.btn.danger, .btn.live { background: var(--danger); color: #fff; box-shadow: none; }
.back { color: var(--green); }
.apps button, .apps a { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 4px 14px rgba(8, 28, 80, .05); }
.apps button:hover, .apps a:hover { border-color: var(--green); }
.apps i { box-shadow: 0 6px 14px rgba(8, 28, 80, .18); }
form.line input, form.stack input { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.talk .user { background: var(--green); color: #fff; }
.talk .assistant { background: var(--tile); color: var(--ink); }
.day { background: var(--tile); }
.colors button { border-color: #fff; }
.notice { background: #fff7e3; border-color: #f0d48a; color: #6b4a00; }
.muted { color: var(--muted); }
#toast { background: var(--ink); color: #fff; }
.foot { margin-top: 10px; padding: 34px 20px calc(34px + env(safe-area-inset-bottom, 0px)); background: #05070d; color: #c9d2e6; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .9rem; }
.foot b { color: #fff; font-size: 1.3rem; font-weight: 900; }
body.kiosk .foot { display: none; }
body.kiosk { background: #000; }

/* ---------- Page de présentation (avant l'application) ---------- */
#landing { display: none; }
body.landing #landing { display: block; }
body.landing > .top, body.landing > main, body.landing > .foot { display: none; }
body.landing { background: #fff; }
#landing { --ld: "Plus Jakarta Sans", "Lato", system-ui, sans-serif; font-family: var(--ld); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html { scroll-behavior: smooth; }
#landing h1, #landing h2 { font-family: var(--ld); font-weight: 800; color: var(--ink); letter-spacing: -.035em; line-height: 1.04; margin: 0; text-wrap: balance; }
#landing h1 { font-size: clamp(2.5rem, 7.4vw, 4.6rem); margin-top: 22px; }
#landing h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
#landing h1 em, #landing h2 em { font-style: normal; background: linear-gradient(100deg, #1464e6, #2aa7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
#landing p { margin: 0; }
#landing .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55; color: #3d4d73; max-width: 46ch; margin-top: 20px; }
#landing .btn { text-decoration: none; font-family: var(--ld); font-weight: 700; transition: transform .2s, box-shadow .2s; }
#landing .btn:hover { transform: translateY(-2px); }
#landing .btn.big { padding: 15px 26px; font-size: 1.02rem; }
#landing .row { margin: 30px 0 0; gap: 12px; }
#landing .pill { font-family: var(--ld); background: #eef4ff; border-color: transparent; box-shadow: none; font-size: .74rem; letter-spacing: .08em; }
.l-wrap { max-width: 1160px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.l-wrap.narrow { max-width: 820px; }
.l-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(8, 28, 80, .07); }
.l-nav .l-wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.l-nav .brand { font-family: var(--ld); font-weight: 800; font-size: 1.2rem; }
.l-nav nav { display: flex; gap: 26px; margin-left: auto; }
.l-nav nav a { color: #3d4d73; text-decoration: none; font-weight: 600; font-size: .93rem; }
.l-nav nav a:hover { color: var(--green); }
.l-lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #f1f5fd; }
.l-lang a { padding: 6px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #55668c; text-decoration: none; }
.l-lang a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(8, 28, 80, .12); }
.l-nav .btn { padding: 10px 18px; font-size: .9rem; }
.l-hero { position: relative; background: radial-gradient(1000px 560px at 88% -10%, #d6e6ff 0%, transparent 62%), radial-gradient(700px 500px at -10% 90%, #e6f0ff 0%, transparent 60%), #fff; padding-block: clamp(36px, 7vw, 90px) clamp(48px, 8vw, 110px); }
.l-hero .l-wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.l-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.l-trust li, .l-checks li { display: flex; align-items: center; gap: 8px; color: #3d4d73; font-size: .93rem; font-weight: 600; }
.l-trust svg, .l-checks svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e3f6ea; color: #129a4d; stroke-width: 2.6; }
.l-visual { position: relative; }
.l-visual img { position: relative; width: 100%; border-radius: 34px; box-shadow: 0 40px 90px rgba(20, 100, 230, .28), 0 0 0 1px rgba(8, 28, 80, .06); }
.ring { position: absolute; inset: -7%; border-radius: 50%; border: 1.5px dashed rgba(20, 100, 230, .28); animation: spin 60s linear infinite; }
.ring.r2 { inset: -15%; border-style: solid; border-color: rgba(20, 100, 230, .1); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(8, 28, 80, .18); animation: bob 5s ease-in-out infinite; }
.chip i { width: 38px; height: 38px; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; }
.chip i svg { width: 20px; height: 20px; }
.chip b { display: block; font-size: .88rem; color: var(--ink); line-height: 1.15; }
.chip span { font-size: .74rem; color: #55668c; }
.chip.c1 { left: -7%; top: 12%; } .chip.c2 { right: -6%; top: 46%; animation-delay: -1.7s; } .chip.c3 { left: 4%; bottom: -5%; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.l-band { padding-block: clamp(60px, 9vw, 120px); }
.l-band.tint { background: linear-gradient(180deg, #f5f9ff, #eef4ff); }
.l-head { text-align: center; max-width: 640px; margin: 0 auto; }
.l-head.left { text-align: left; margin: 0; }
.l-head h2 { margin-top: 16px; }
.l-head p { color: #55668c; font-size: 1.08rem; line-height: 1.5; margin-top: 14px; }
.l-steps { list-style: none; padding: 0; margin: clamp(34px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.l-steps li { position: relative; background: #fff; border: 1px solid rgba(8, 28, 80, .08); border-radius: 26px; padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.l-steps li:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(20, 100, 230, .14); border-color: rgba(20, 100, 230, .3); }
.l-steps .n { position: absolute; right: 22px; top: 18px; font: 800 2.4rem/1 var(--ld); color: #e6eeff; letter-spacing: -.04em; }
.l-steps .ico, .l-feats i { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(140deg, #1464e6, #2aa7ff); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(20, 100, 230, .3); }
.l-steps .ico svg { width: 26px; height: 26px; }
.l-steps b { font-size: 1.14rem; font-weight: 800; color: var(--ink); margin-top: 8px; letter-spacing: -.01em; }
.l-steps span { color: #55668c; font-size: .96rem; line-height: 1.5; }
.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 84px); align-items: center; }
.l-eye { position: relative; width: min(100%, 430px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.l-eye .ring { inset: 0; }
.eyeball { width: 78%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #20305e, #0b1020 70%); box-shadow: 0 0 0 12px #0b1a44, 0 0 0 13px rgba(8, 28, 80, .2), 0 40px 80px rgba(20, 100, 230, .32); display: grid; place-content: center; justify-items: center; gap: 8px; color: #fff; }
.eyeball .face { width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(140deg, #ffd7a8, #f09a6a); color: #3a1c0c; font: 800 2.4rem/92px var(--ld); text-align: center; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14); }
.eyeball b { font-size: 1.35rem; font-weight: 800; } .eyeball small { color: #7dffb0; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyeball .keys { display: flex; gap: 14px; margin-top: 8px; } .eyeball .keys u { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); } .eyeball .keys .end { background: #ff4d5e; }
.l-feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.l-feats li { display: flex; gap: 14px; align-items: flex-start; }
.l-feats i { flex: none; width: 44px; height: 44px; border-radius: 13px; } .l-feats i svg { width: 21px; height: 21px; }
.l-feats b { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); } .l-feats span { color: #55668c; font-size: .9rem; line-height: 1.45; }
.l-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.l-checks li { align-items: flex-start; font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.l-card { background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 30px 70px rgba(8, 28, 80, .12), 0 0 0 1px rgba(8, 28, 80, .06); display: grid; gap: 12px; }
.l-card > b { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.who { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #f5f9ff; }
.who i { width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #fff; font: 800 1rem/40px var(--ld); font-style: normal; text-align: center; }
.who span { font-weight: 700; } .who em { margin-left: auto; font-style: normal; font-size: .76rem; font-weight: 700; color: #129a4d; background: #e3f6ea; padding: 5px 10px; border-radius: 999px; }
.l-card .time { display: flex; align-items: center; gap: 10px; padding-top: 8px; color: #55668c; font-size: .92rem; font-weight: 600; } .l-card .time svg { width: 20px; height: 20px; color: var(--green); }
.l-form { background: #fff; border-radius: 28px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 70px rgba(8, 28, 80, .12), 0 0 0 1px rgba(8, 28, 80, .06); }
.l-form label { display: grid; gap: 7px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.l-form input { height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid rgba(8, 28, 80, .12); background: #f8fbff; font: 500 1rem var(--ld); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.l-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(20, 100, 230, .14); }
.l-form .btn { justify-content: center; } .l-form .muted { margin: 0; text-align: center; font-size: .88rem; }
.l-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.soon { display: inline-flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 999px; border: 1.5px dashed rgba(8, 28, 80, .22); color: #55668c; font-weight: 700; font-size: .9rem; }
.l-phone { justify-self: center; width: min(100%, 300px); aspect-ratio: 9 / 18.6; border-radius: 46px; background: #0b1020; padding: 10px; box-shadow: 0 50px 100px rgba(8, 28, 80, .32), inset 0 0 0 2px #2a3352; transform: rotate(3deg); }
.l-phone .scr { height: 100%; border-radius: 37px; background: linear-gradient(#eef4ff, #fff 40%); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.l-phone .bar { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; font-weight: 800; color: var(--ink); padding-inline: 8px; }
.l-phone .dots { width: 52px; height: 16px; border-radius: 10px; background: #0b1020; }
.l-phone .hd { display: flex; align-items: center; gap: 7px; } .l-phone .hd svg { width: 24px; height: 21px; } .l-phone .hd b { font-weight: 800; font-size: .95rem; }
.l-phone img { width: 100%; border-radius: 18px; }
.l-phone .cta { height: 38px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: .78rem; display: grid; place-items: center; }
.l-phone .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.l-phone .grid u { aspect-ratio: 1; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(8, 28, 80, .08); display: grid; place-items: center; }
.l-phone .grid u::after { content: ""; width: 46%; aspect-ratio: 1; border-radius: 9px; background: var(--c); }
.l-faq { margin-top: 34px; display: grid; gap: 12px; }
.l-faq details { background: #fff; border-radius: 20px; padding: 0 22px; box-shadow: 0 0 0 1px rgba(8, 28, 80, .07); }
.l-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 1.06rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef4ff; color: var(--green); font-weight: 800; display: grid; place-items: center; }
.l-faq details[open] summary::after { content: "–"; }
.l-faq p { color: #55668c; line-height: 1.55; padding-bottom: 20px; }
.l-final { padding: clamp(24px, 4vw, 50px) 0 clamp(60px, 8vw, 100px); }
.l-final .l-wrap > * { position: relative; }
.l-final .l-wrap { text-align: center; }
.l-final .l-wrap { background: linear-gradient(130deg, #0b3fb0, #1464e6 50%, #2aa7ff); border-radius: 36px; padding-block: clamp(44px, 7vw, 80px); box-shadow: 0 40px 90px rgba(20, 100, 230, .35); max-width: 1120px; }
#landing .l-final h2 { color: #fff; } .l-final p { color: #dbe8ff; margin-top: 14px !important; font-size: 1.1rem; }
.l-final .row { justify-content: center; }
#landing .btn.white { background: #fff; color: var(--green); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
#landing .btn.ghostw { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); box-shadow: none; }
.l-foot { background: #05070d; color: #9aa6c2; padding: 54px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.l-foot .l-wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.l-foot .brand { color: #fff; font-family: var(--ld); font-weight: 800; } .l-foot p { margin-top: 12px !important; font-size: .92rem; max-width: 30ch; }
.l-foot b { display: block; color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.l-foot a:not(.brand) { display: block; color: #9aa6c2; text-decoration: none; font-size: .93rem; padding: 4px 0; } .l-foot a:not(.brand):hover { color: #fff; }
.l-foot small { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .82rem; }
.js-up .up { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-up .up.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .l-nav nav { display: none; } .l-lang { margin-left: auto; } .l-nav .l-wrap { gap: 10px; height: 62px; } .l-nav .btn { padding: 9px 13px; font-size: .8rem; } .l-nav .btn.go::after { display: none; } .l-nav .brand { font-size: 1.05rem; }
  .l-hero .l-wrap, .l-split { grid-template-columns: minmax(0, 1fr); }
  .l-split.rev > :first-child { order: 0; }
  .l-visual { margin: 14px 8% 0; } .chip.c1 { left: -10%; } .chip.c2 { right: -10%; } .chip { padding: 8px 12px 8px 8px; } .chip i { width: 32px; height: 32px; border-radius: 10px; }
  .l-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; } .l-steps li { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 20px; gap: 6px 14px; } .l-steps li b { margin: 0; flex: 1; } .l-steps li span { flex-basis: 100%; }
  .l-feats { grid-template-columns: minmax(0, 1fr); }
  .l-eye { width: min(86%, 340px); } .l-final .l-wrap { margin-inline: 16px; border-radius: 28px; }
  .l-foot .l-wrap { grid-template-columns: 1fr 1fr; } .l-foot .l-wrap > :first-child { grid-column: 1 / -1; }
  #landing .row .btn.big { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ring, .chip { animation: none; } .js-up .up { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
#landing .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .l-nav .btn { display: none; }
  .l-steps .n { display: none; }
  .l-steps li b { min-width: 0; white-space: normal; }
  .l-steps .ico { width: 46px; height: 46px; border-radius: 14px; }
}

/* ---------- Présentation : l'œil vivant ---------- */
.l-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; background: linear-gradient(90deg, #1464e6, #2aa7ff); transform-origin: 0 50%; transform: scaleX(0); }
.l-bear { position: relative; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 90px rgba(20, 100, 230, .28), 0 0 0 1px rgba(8, 28, 80, .06); transition: transform .2s ease-out; will-change: transform; }
.l-visual .l-bear img { display: block; box-shadow: none; border-radius: 0; }
.l-bear .live { position: absolute; left: 30.7%; top: 44.75%; width: 43.3%; aspect-ratio: 1; }
.live { border-radius: 50%; overflow: hidden; container-type: inline-size; background: #03060f; }
.eyeball.live { display: block; position: relative; }
.live .v { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4cqw; text-align: center; color: #fff; opacity: 0; transform: scale(1.08); transition: opacity .5s, transform .5s; }
.live .v.on { opacity: 1; transform: none; }
.live b { font: 800 8cqw/1.1 var(--ld); } .live small { font: 700 4cqw/1 var(--ld); letter-spacing: .1em; text-transform: uppercase; }
.v-iris { background: radial-gradient(circle at calc(50% + var(--ix, 0) * 14cqw) calc(50% + var(--iy, 0) * 14cqw), #03060f 0 15%, #7fd2ff 17%, #2aa7ff 28%, #1464e6 40%, #061a44 47%, #f4f7fd 48%, #dfe8f8 100%); }
.v-iris::after { content: ""; position: absolute; left: calc(58% + var(--ix, 0) * 14cqw); top: calc(30% + var(--iy, 0) * 14cqw); width: 9cqw; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.v-call { background: linear-gradient(160deg, #20305e, #0b1020 70%); } .v-call .face { width: 34cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #ffd7a8, #f09a6a); color: #3a1c0c; font: 800 15cqw/34cqw var(--ld); box-shadow: 0 0 0 1.4cqw rgba(255, 255, 255, .14); }
.v-call small { color: #7dffb0; } .v-call .keys { display: flex; gap: 5cqw; } .v-call .keys u { width: 12cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .16); } .v-call .keys .end { background: #ff4d5e; }
.v-story { background: radial-gradient(circle at 50% 120%, #3a2a78, #0c0f2a 60%); } .v-story .moon { width: 24cqw; aspect-ratio: 1; border-radius: 50%; background: #ffe9b0; box-shadow: 0 0 10cqw rgba(255, 220, 140, .8); } .v-story small { color: #c9c2ff; } .v-story b { max-width: 64cqw; font-size: 6.6cqw; }
.v-game { background: linear-gradient(180deg, #7cc8ff 0, #ffe2a8 62%, #4f9a4a 63%); color: #10131c !important; } .v-game b { font-size: 24cqw; } .v-game .pots { display: flex; gap: 4cqw; } .v-game .pots u { width: 11cqw; aspect-ratio: 1; border-radius: 3cqw; background: #ffb21f; box-shadow: inset 0 3cqw 0 -1cqw #7a4a12; animation: lpot 1.2s ease-in-out infinite; } .v-game .pots u:nth-child(2) { animation-delay: -.4s; } .v-game .pots u:nth-child(3) { animation-delay: -.8s; }
@keyframes lpot { 50% { transform: translateY(-5cqw); } }
.v-talk { background: radial-gradient(circle, #10305e, #030712 70%); } .v-talk .wave { display: flex; align-items: center; gap: 2cqw; height: 26cqw; } .v-talk .wave u { width: 2.6cqw; border-radius: 9px; background: linear-gradient(#7fd2ff, #1464e6); animation: lwave 1.1s ease-in-out infinite; } .v-talk .wave u:nth-child(2n) { animation-delay: -.3s; } .v-talk .wave u:nth-child(3n) { animation-delay: -.6s; } .v-talk b { font-size: 5.6cqw; max-width: 62cqw; } .v-talk small { color: #7fd2ff; }
@keyframes lwave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.v-video { background: linear-gradient(140deg, #ff7a59, #c2185b); } .v-video .play { width: 30cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; } .v-video .play::after { content: ""; border-left: 10cqw solid #fff; border-block: 6.5cqw solid transparent; margin-left: 2.4cqw; }
.v-night { background: radial-gradient(circle, #fff3d0 0, #ffc86b 34%, #c9741c 72%, #5c2f08 100%); }
.l-feats li { cursor: pointer; padding: 12px; margin: -12px; border-radius: 18px; transition: background .25s, box-shadow .25s; }
.l-feats li.on { background: #fff; box-shadow: 0 14px 34px rgba(20, 100, 230, .16), 0 0 0 1px rgba(20, 100, 230, .2); }
.l-marquee { overflow: hidden; padding-block: clamp(10px, 2vw, 20px); border-block: 1px solid rgba(8, 28, 80, .08); background: #fff; }
.l-marquee > div { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); width: max-content; animation: lslide 36s linear infinite; }
.l-marquee span { font: 800 clamp(2.4rem, 7.4vw, 5.6rem)/1 var(--ld); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(8, 28, 80, .26); }
.l-marquee span:nth-of-type(3n+1) { -webkit-text-stroke: 0; background: linear-gradient(100deg, #1464e6, #2aa7ff); -webkit-background-clip: text; background-clip: text; }
.l-marquee i { width: clamp(14px, 2vw, 24px); aspect-ratio: 1; border-radius: 50%; flex: none; background: radial-gradient(circle, #03060f 0 34%, #2aa7ff 36% 62%, #061a44 64%); }
@keyframes lslide { to { transform: translateX(-50%); } }
#landing .btn.go, #landing .btn.white { position: relative; overflow: hidden; }
#landing .btn.go::before, #landing .btn.white::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); animation: lshine 4.5s ease-in-out infinite; }
@keyframes lshine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.l-steps li { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .l-marquee > div, #landing .btn.go::before, #landing .btn.white::before, .v-game .pots u, .v-talk .wave u { animation: none; } }

/* Téléphone : boutons du haut sur une seule ligne */
.ghost { white-space: nowrap; }
@media (max-width: 700px) { .tools .ghost:not(.mic) { padding: 9px 12px; font-size: .84rem; } }

/* Téléphone : l'œil reste en haut de l'écran pendant qu'on fait défiler les commandes dessous */
@media (max-width: 700px) {
  .stage.eyeView { position: sticky; top: calc(6px + env(safe-area-inset-top, 0px)); z-index: 6; padding: 14px; }
  .stage.eyeView .plushBox { max-width: min(100%, 42svh); }
  main { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
}
/* Ouverte depuis l'écran d'accueil du téléphone : on respecte l'encoche */
.top { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.l-tip { margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; background: #eef4ff; color: #3d4d73; font-size: .92rem; line-height: 1.5; }

/* ================= Laboratoire : Émotions, Lien, Souvenirs, Nuit, Socle ================= */
.c-emo { background: linear-gradient(#ff7aa8, #e0245e); } .c-link { background: linear-gradient(#a78bfa, #6d4be0); } .c-memory { background: linear-gradient(#f6b56b, #d9731c); }
.c-dream { background: linear-gradient(#5b6ee8, #232a7a); } .c-holo { background: linear-gradient(#4fd4e6, #1287a8); }
.labNote { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #f3f7ff; font-size: .86rem; line-height: 1.5; }
.row.wrap { flex-wrap: wrap; }
.field { display: grid; gap: 6px; margin: 12px 0; font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea, #memoQ, #linkMsg { width: 100%; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.field input[type="range"] { padding: 0; border: 0; accent-color: var(--green); height: 32px; }
#linkMsg { flex: 1 1 160px; }

/* --- Émotions : l'œil vivant --- */
.emo { position: absolute; inset: 0; background: #02040a; overflow: hidden; display: grid; place-items: center; }
.emoIris { position: absolute; inset: 5%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--c) 0deg 1.2deg, #071020 2.4deg 4.5deg); -webkit-mask-image: radial-gradient(#000 60%, transparent 70%); mask-image: radial-gradient(#000 60%, transparent 70%); animation: emoSpin 40s linear infinite; opacity: .95; transition: opacity .4s; }
.emoRing { position: absolute; inset: 2.5%; border-radius: 50%; border: 1cqw solid var(--c); box-shadow: 0 0 7cqw var(--c), inset 0 0 6cqw var(--c); opacity: .75; }
.emoPupil { position: relative; z-index: 1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #020309; display: grid; place-items: center; box-shadow: 0 0 7cqw #000; animation: emoBeat var(--t) infinite; transition: width .45s cubic-bezier(.3, 1.4, .5, 1); }
.emoPupil s { position: absolute; right: 20%; top: 18%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .9; }
.emoPupil svg { width: 62%; height: 62%; fill: var(--c); filter: drop-shadow(0 0 3cqw var(--c)); }
.emoLid { position: absolute; left: -12%; right: -12%; height: 0; background: #06112b; z-index: 2; transition: height .4s cubic-bezier(.4, 0, .2, 1), transform .4s; box-shadow: 0 0 0 .8cqw var(--c); }
.emoLid.top { top: 0; border-radius: 0 0 50% 50% / 0 0 26% 26%; } .emoLid.bot { bottom: 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.emoFx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.emoFx u { position: absolute; bottom: -8%; text-decoration: none; font-size: 8cqw; font-weight: 800; color: var(--c); opacity: 0; animation: emoUp 3s linear infinite; text-shadow: 0 0 3cqw var(--c); }
.emoTag { position: absolute; z-index: 4; bottom: 8%; left: 50%; transform: translateX(-50%); padding: 1.4cqw 4cqw; border-radius: 99px; background: rgba(2, 4, 10, .7); color: var(--c); font-size: 4.2cqw; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.emoTag b { font-size: 5.4cqw; }
.emoWave { position: absolute; inset: 22%; border-radius: 50%; border: .9cqw solid var(--c); opacity: 0; animation: emoWave 2.1s ease-out infinite; } .emoWave:nth-of-type(2) { animation-delay: .7s; } .emoWave:nth-of-type(3) { animation-delay: 1.4s; }
@keyframes emoSpin { to { transform: rotate(360deg); } }
@keyframes emoBeat { 0%, 46%, 100% { transform: scale(1); } 12% { transform: scale(1.13); } 24% { transform: scale(1); } 34% { transform: scale(1.07); } }
@keyframes emoUp { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-115cqw) rotate(40deg); opacity: 0; } }
@keyframes emoDown { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(115cqw) rotate(200deg); opacity: 0; } }
@keyframes emoWave { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes emoShake { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-1.6cqw, .8cqw) rotate(-2deg); } 75% { transform: translate(1.6cqw, -.8cqw) rotate(2deg); } }
@keyframes emoBounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5cqw) scale(1.06); } }
@keyframes emoLook { 0%, 100% { transform: translate(-9cqw, -8cqw); } 50% { transform: translate(9cqw, -9cqw); } }
@keyframes emoHue { to { filter: hue-rotate(360deg); } }
@keyframes emoWink { 0%, 100% { height: 0; } 35%, 60% { height: 100%; } }
@keyframes emoPop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
/* Joie : l'œil sourit */
.e-joie .emoLid.bot { height: 34%; } .e-joie .emoPupil { width: 52%; }
/* Amour : la pupille devient un cœur */
.e-amour .emoPupil { background: none; box-shadow: none; width: 62%; } .e-amour .emoPupil svg { width: 100%; height: 100%; }
/* Musique : la pupille danse */
.e-musique .emoPupil { animation: emoBounce var(--t) ease-in-out infinite; } .e-musique .emoIris { animation-duration: 9s; }
/* Rire : les paupières se plissent et l'œil tremble */
.e-rire .emoLid.top { height: 30%; } .e-rire .emoLid.bot { height: 32%; } .e-rire { animation: emoShake .22s linear infinite; }
/* Surprise : la pupille se rétrécit d'un coup */
.e-surprise .emoPupil { width: 22%; animation: emoPop .5s cubic-bezier(.3, 1.6, .5, 1), emoBeat var(--t) .5s infinite; } .e-surprise .emoRing { border-width: 2.4cqw; } .e-surprise .emoFx u { font-size: 13cqw; }
/* Tristesse : la paupière tombe, des larmes coulent */
.e-tristesse .emoLid.top { height: 36%; transform: rotate(-9deg); } .e-tristesse .emoPupil { transform: translateY(6cqw); animation: none; width: 40%; } .e-tristesse .emoIris { opacity: .6; }
.e-tristesse .emoFx u { bottom: auto; top: 46%; font-size: 7cqw; animation-name: emoDown; }
/* Sommeil : l'œil se ferme presque */
.e-sommeil .emoLid.top { height: 47%; } .e-sommeil .emoLid.bot { height: 45%; } .e-sommeil .emoIris { animation-duration: 120s; opacity: .5; } .e-sommeil .emoFx u { font-size: 9cqw; text-transform: uppercase; animation-duration: 4.5s !important; }
/* Réflexion : le regard part en haut et cherche */
.e-reflexion .emoPupil { animation: emoLook 3.2s ease-in-out infinite; width: 38%; } .e-reflexion .emoLid.top { height: 14%; transform: rotate(5deg); }
/* Fête : toutes les couleurs, des confettis */
.e-fete .emoIris, .e-fete .emoRing, .e-fete .emoPupil svg { animation: emoSpin 6s linear infinite, emoHue 2.4s linear infinite; } .e-fete .emoRing { animation: emoHue 2.4s linear infinite; }
.e-fete .emoFx u { bottom: auto; top: -8%; font-size: 5cqw; animation-name: emoDown; text-shadow: none; }
/* Écoute : des ondes partent de la pupille */
.e-ecoute .emoPupil { width: 34%; }
/* Clin d'œil : la paupière se ferme et se rouvre */
.e-clin .emoLid.top { animation: emoWink 1.1s ease-in-out .2s 1; }
.emoGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.emoGrid button { display: grid; justify-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .84rem; }
.emoGrid button span { font-size: 1.7rem; line-height: 1; }
.emoGrid button.sel { border-color: var(--green); background: #eef4ff; box-shadow: 0 0 0 2px var(--green); }
.heartLine { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0 4px; padding: 14px; border-radius: 18px; background: #0b1020; color: #fff; }
.heartLine i { font-style: normal; font-size: 2.6rem; line-height: 1; color: var(--c); animation: emoBeat var(--t) infinite; text-shadow: 0 0 18px var(--c); }
.heartLine b { font-size: 1.7rem; color: var(--c); } .heartLine small { display: block; color: #c9d2e6; font-size: .9rem; }
.touchBox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; margin: 10px 0; }
.touchBear { width: 100%; max-width: 230px; justify-self: center; }
.touchBear [data-lab] { cursor: pointer; transition: fill .2s; } .touchBear [data-lab]:hover { fill: #f6ecd6; } .touchBear .on { fill: #ffd0a8; stroke: #ff8a4c; stroke-width: 4; }
.touchKeys { display: grid; gap: 8px; }
.touchKeys button { padding: 11px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .88rem; text-align: left; }
.touchKeys button.sel { border-color: var(--green); background: #eef4ff; }

/* --- Lien --- */
.linkEye { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.5cqw; background: radial-gradient(circle, #3a1846 0, #0b0717 75%); }
.linkBig { font-size: 30cqw; line-height: 1; color: #ff5c9a; text-shadow: 0 0 8cqw #ff478c; animation: emoBeat .8s infinite; }
.linkEye b { font-size: 6cqw; max-width: 72cqw; line-height: 1.25; } .linkEye small { font-size: 4cqw; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.linkEye.in .linkBig { animation: emoPop .6s cubic-bezier(.3, 1.6, .5, 1), emoBeat .8s .6s infinite; }
.linkPair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 16px 0; padding: 16px 10px; border-radius: 20px; background: #0b1020; color: #fff; text-align: center; }
.linkPair b { display: block; margin-top: 8px; } .linkPair small { display: block; color: #c9d2e6; font-size: .82rem; min-height: 1.3em; overflow-wrap: anywhere; }
.miniEye { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, #03050a 0 30%, transparent 32%), repeating-conic-gradient(#38bdf8 0 2deg, #102b48 3deg 6deg); border: 4px solid #122e48; box-shadow: 0 0 20px #38bdf866; }
.miniEye.pink { background: radial-gradient(circle, #03050a 0 30%, transparent 32%), repeating-conic-gradient(#ff5c9a 0 2deg, #3a1230 3deg 6deg); border-color: #4a1838; box-shadow: 0 0 20px #ff478c66; } .miniEye.pulse { animation: emoBeat .8s infinite; }
.linkDots { display: flex; gap: 5px; } .linkDots u { width: 7px; height: 7px; border-radius: 50%; background: #4a5a80; }
.linkDots.go u { background: #ff5c9a; animation: emoWave 1.2s ease-out infinite; } .linkDots.go u:nth-child(2) { animation-delay: .2s; } .linkDots.go u:nth-child(3) { animation-delay: .4s; }
.linkLog { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.linkLog li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: #f5f9ff; } .linkLog small { color: var(--muted); }

/* --- Souvenirs --- */
.memo { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: start; margin: 10px 0; padding: 4px; border-radius: 18px; background: #f5f9ff; }
.memoOpen { display: grid; gap: 3px; padding: 12px 14px; text-align: left; color: var(--ink); background: none; min-width: 0; }
.memoOpen b { font-size: 1.02rem; } .memoOpen small { color: var(--green); font-weight: 700; font-size: .78rem; } .memoOpen span { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.memoDel { width: 36px; height: 36px; margin: 8px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 1.2rem; line-height: 1; }

/* --- Nuit --- */
.dream { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #1b2260, #050716 78%); opacity: calc(.25 + var(--l) * .75); transition: opacity .4s; }
.dreamSky u { position: absolute; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #fff; animation: dreamTwinkle 3s ease-in-out infinite; }
.dreamSky u:nth-child(1) { left: 22%; top: 24%; } .dreamSky u:nth-child(2) { left: 70%; top: 20%; animation-delay: .6s; } .dreamSky u:nth-child(3) { left: 82%; top: 46%; animation-delay: 1.1s; } .dreamSky u:nth-child(4) { left: 14%; top: 54%; animation-delay: 1.7s; }
.dreamSky u:nth-child(5) { left: 48%; top: 13%; animation-delay: .3s; } .dreamSky u:nth-child(6) { left: 30%; top: 80%; animation-delay: 2.1s; } .dreamSky u:nth-child(7) { left: 66%; top: 78%; animation-delay: 1.4s; } .dreamSky u:nth-child(8) { left: 88%; top: 66%; animation-delay: .9s; }
.dreamOrb { width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d8, #ffc978 55%, #f08a3c); box-shadow: 0 0 14cqw #ffb766; }
.dreamWords { position: absolute; bottom: 13%; left: 0; right: 0; display: grid; justify-items: center; font-size: 5.4cqw; font-weight: 700; letter-spacing: .06em; }
.dreamWords b { grid-area: 1 / 1; opacity: 0; } .dreamWords.one b { opacity: .9; }
.d-souffle .dreamOrb { background: radial-gradient(circle at 35% 30%, #e8f6ff, #7cc6ff 55%, #2a7fe0); box-shadow: 0 0 14cqw #5aa9ff; animation: dreamBreath 10s ease-in-out infinite; }
.d-souffle .dreamWords b:first-child { animation: dreamIn 10s linear infinite; } .d-souffle .dreamWords b:last-child { animation: dreamOut 10s linear infinite; }
.d-reveil { animation: dreamDawn 20s ease-in-out forwards; } .d-reveil .dreamOrb { animation: dreamRise 20s ease-in-out forwards; } .d-reveil .dreamSky { animation: dreamFade 20s ease-in-out forwards; }
.d-repos .dreamOrb { width: 16%; opacity: .5; } .d-repos .dreamSky { opacity: .3; }
@keyframes dreamTwinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes dreamBreath { 0% { transform: scale(.6); } 40% { transform: scale(1.5); } 100% { transform: scale(.6); } }
@keyframes dreamIn { 0%, 36% { opacity: .95; } 40%, 100% { opacity: 0; } } @keyframes dreamOut { 0%, 40% { opacity: 0; } 44%, 96% { opacity: .95; } 100% { opacity: 0; } }
@keyframes dreamDawn { 0% { background: radial-gradient(circle at 50% 60%, #1b2260, #050716 78%); } 100% { background: radial-gradient(circle at 50% 60%, #ffe9b8, #ff9f5a 60%, #6aa8ff); } }
@keyframes dreamRise { 0% { transform: translateY(46cqw) scale(.7); } 100% { transform: translateY(-4cqw) scale(1.25); } } @keyframes dreamFade { to { opacity: 0; } }

/* --- Socle --- */
.holo { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, #0c1a36, #03060f 78%); overflow: hidden; }
.holoRing { position: absolute; inset: 7%; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #16264a 0); -webkit-mask-image: radial-gradient(transparent 61%, #000 62%); mask-image: radial-gradient(transparent 61%, #000 62%); filter: drop-shadow(0 0 3cqw var(--c)); }
.holoCore { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1cqw; }
.holoCore span { font-size: 8cqw; font-weight: 700; color: var(--c); } .holoCore b { font-size: 22cqw; line-height: 1; color: #fff; }
.holoCore small { font-size: 4.4cqw; letter-spacing: .08em; text-transform: uppercase; opacity: .9; } .holoCore em { font-style: normal; font-size: 4.4cqw; opacity: .6; }
.h-charge .holoRing { animation: holoGlow 1.2s ease-in-out infinite; } @keyframes holoGlow { 50% { filter: drop-shadow(0 0 7cqw var(--c)); } }
.holoStars u { position: absolute; width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--c); animation: emoWave 2.4s ease-out infinite; }
.holoStars u:nth-child(1) { left: 24%; top: 26%; } .holoStars u:nth-child(2) { left: 72%; top: 24%; animation-delay: .5s; } .holoStars u:nth-child(3) { left: 80%; top: 62%; animation-delay: 1s; } .holoStars u:nth-child(4) { left: 20%; top: 66%; animation-delay: 1.5s; } .holoStars u:nth-child(5) { left: 50%; top: 14%; animation-delay: .8s; } .holoStars u:nth-child(6) { left: 50%; top: 84%; animation-delay: 1.9s; }
.dockShape { height: 86px; margin: 14px 0; display: grid; place-items: center; perspective: 300px; }
.dockShape i { width: min(220px, 70%); height: 70px; border-radius: 50%; background: radial-gradient(ellipse, #0b1020 0 46%, #1b2b52 47% 62%, var(--c) 64%); transform: rotateX(58deg); box-shadow: 0 0 46px var(--c); }
@media (max-width: 560px) { .touchBox { grid-template-columns: minmax(0, 1fr); } .touchKeys { grid-template-columns: repeat(2, minmax(0, 1fr)); } .emoGrid button { font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .emo *, .dream *, .holo *, .linkEye *, .heartLine i { animation: none !important; } }
/* Paupières invisibles tant qu'elles ne servent pas ; nuit : fond opaque, la luminosité passe par un voile */
.emoLid { opacity: 0; } .e-joie .emoLid.bot, .e-rire .emoLid, .e-tristesse .emoLid.top, .e-sommeil .emoLid, .e-reflexion .emoLid.top, .e-clin .emoLid.top { opacity: 1; }
.dream { opacity: 1; } .dream::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc((1 - var(--l)) * .82); transition: opacity .3s; pointer-events: none; }
.dreamWords { z-index: 1; text-shadow: 0 0 3cqw #000; }
.back + .pill { display: flex; width: max-content; margin-top: 10px; }

/* --- Cœur énergétique : anneaux néon --- */
.c-core { background: linear-gradient(#3aa0ff, #0a2a8c); }
.core { position: absolute; inset: 0; display: grid; place-items: center; background: #01030a; color: var(--c); overflow: hidden; }
.coreGlow { position: absolute; inset: 0; background: radial-gradient(circle, transparent 30%, var(--c) 46%, transparent 72%); opacity: calc(.12 + var(--e) * .38); filter: blur(4cqw); animation: emoBeat var(--t) infinite; }
.coreRays { position: absolute; inset: 10%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--c) 0deg .9deg, transparent 1.6deg 3.2deg); -webkit-mask-image: radial-gradient(transparent 33%, #000 34%, #000 calc(40% + var(--e) * 24%), transparent calc(44% + var(--e) * 26%)); mask-image: radial-gradient(transparent 33%, #000 34%, #000 calc(40% + var(--e) * 24%), transparent calc(44% + var(--e) * 26%)); opacity: calc(.45 + var(--e) * .55); animation: emoSpin 50s linear infinite; }
.coreRings { position: absolute; inset: 2%; width: 96%; height: 96%; filter: drop-shadow(0 0 calc(1cqw + var(--e) * 3cqw) var(--c)); }
.corePupil { position: relative; width: calc(30% + var(--e) * 8%); aspect-ratio: 1; border-radius: 50%; background: #010208; box-shadow: 0 0 0 .8cqw var(--c), 0 0 calc(3cqw + var(--e) * 9cqw) var(--c), inset 0 0 6cqw #000; animation: emoBeat var(--t) infinite; transition: width .3s; }
.corePupil s { position: absolute; left: 22%; top: 20%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff, transparent 70%); opacity: .85; }
.coreStats { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: end; margin: 16px 0 6px; padding: 16px; border-radius: 18px; background: #0b1020; color: #fff; }
.coreStats small { display: block; color: #c9d2e6; font-size: .82rem; } .coreStats b { font-size: 1.9rem; line-height: 1.1; } .coreStats i { font-style: normal; margin-left: 6px; color: #c9d2e6; font-weight: 700; }
.coreStats > div:nth-child(2) { text-align: right; }
.coreBar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #1c2748; overflow: hidden; } .coreBar u { display: block; height: 100%; border-radius: 4px; background: var(--c); box-shadow: 0 0 12px var(--c); transition: width .15s; }
.coreEls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.coreEls button { display: grid; justify-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; }
.coreEls i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.coreEls button.sel { border-color: var(--c); box-shadow: 0 0 0 2px var(--c); }
@media (prefers-reduced-motion: reduce) { .core * { animation: none !important; } }

/* --- Émotions : les trois éditions, le clignement, l'alerte et le portail --- */
.edGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.edGrid button { display: grid; justify-items: center; gap: 2px; padding: 12px 4px; border-radius: 18px; background: #0b1020; color: #fff; border: 2px solid transparent; }
.edGrid i { width: 34px; height: 34px; margin-bottom: 6px; border-radius: 50%; background: radial-gradient(circle, #03050a 0 32%, transparent 34%), repeating-conic-gradient(var(--c) 0 3deg, #0b1020 4deg 8deg); box-shadow: 0 0 14px var(--c); }
.edGrid b { font-size: 1rem; } .edGrid span { font-size: .72rem; font-weight: 700; color: var(--c); letter-spacing: .04em; text-transform: uppercase; } .edGrid small { font-size: .68rem; color: #aab6d4; min-height: 1.2em; }
.edGrid button.sel { border-color: var(--c); box-shadow: 0 0 0 2px var(--c), 0 10px 24px rgba(8, 28, 80, .25); }
.btn .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.heartLine em { display: block; font-style: normal; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #c9d2e6; }
/* Clignement naturel */
.emo.blink .emoLid.top { opacity: 1; animation: emoBlink 5.2s ease-in-out infinite; }
@keyframes emoBlink { 0%, 91%, 100% { height: 0; opacity: 0; } 92% { height: 0; opacity: 1; } 95% { height: 100%; opacity: 1; } 98% { height: 0; opacity: 1; } }
/* Living Eye, Mila Superstar : un regard qui scintille */
.ed-living .emoPupil s::after { content: "✦"; position: absolute; left: -190%; top: 210%; font-size: 7cqw; color: #fff; opacity: .85; text-decoration: none; }
/* Cosmic Eye, Aaron : une nébuleuse et des étoiles */
.emoNebula { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, #7a4bff88, transparent 46%), radial-gradient(circle at 72% 64%, #1fc8ff77, transparent 44%), radial-gradient(circle at 60% 24%, #ff5cc866, transparent 34%), #03051a; animation: emoSpin 90s linear infinite; }
.emoStars u { position: absolute; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #fff; animation: dreamTwinkle 2.6s ease-in-out infinite; }
.emoStars u:nth-child(1) { left: 18%; top: 22%; } .emoStars u:nth-child(2) { left: 76%; top: 18%; animation-delay: .4s; } .emoStars u:nth-child(3) { left: 86%; top: 52%; animation-delay: .9s; } .emoStars u:nth-child(4) { left: 12%; top: 60%; animation-delay: 1.3s; } .emoStars u:nth-child(5) { left: 44%; top: 9%; animation-delay: .2s; }
.emoStars u:nth-child(6) { left: 30%; top: 86%; animation-delay: 1.8s; } .emoStars u:nth-child(7) { left: 68%; top: 84%; animation-delay: 1.1s; } .emoStars u:nth-child(8) { left: 90%; top: 72%; animation-delay: .7s; } .emoStars u:nth-child(9) { left: 8%; top: 40%; animation-delay: 2.1s; } .emoStars u:nth-child(10) { left: 58%; top: 92%; animation-delay: 1.5s; }
.ed-cosmic { background: #03051a; } .ed-cosmic .emoIris { inset: 14%; opacity: .7; background: repeating-conic-gradient(from 0deg, var(--c) 0deg .7deg, transparent 1.4deg 5deg); } .ed-cosmic .emoRing { inset: 8%; border-width: .6cqw; }
/* Quantum Eye, Zayn Protector : des anneaux de machine */
.emoTech { position: absolute; inset: 2%; width: 96%; height: 96%; color: var(--c); filter: drop-shadow(0 0 2.4cqw var(--c)); }
.ed-quantum .emoIris { inset: 22%; opacity: .55; } .ed-quantum .emoRing { display: none; } .ed-quantum .emoPupil { box-shadow: 0 0 0 .9cqw var(--c), 0 0 8cqw var(--c), inset 0 0 6cqw #000; width: 40%; }
/* Alerte : l'œil se resserre et clignote */
.e-alerte .emoPupil { width: 24%; } .e-alerte .emoRing, .e-alerte .emoTech { animation: emoAlert .5s steps(2, jump-none) infinite; } .e-alerte .emoRing { border-width: 2.6cqw; } .e-alerte .emoFx u { font-size: 12cqw; }
.e-alerte::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent 45%, #ff2020 130%); animation: emoAlert .5s steps(2, jump-none) infinite; pointer-events: none; }
@keyframes emoAlert { 0% { opacity: 1; } 100% { opacity: .25; } }
/* Portail : la pupille s'ouvre sur un tourbillon */
.e-portail .emoPupil { width: 68%; background: #010208; overflow: hidden; animation: emoPop .7s cubic-bezier(.3, 1.4, .5, 1); }
.emoPortal { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #010208, var(--c), #fff, var(--c), #010208, var(--c), #e9d8ff, #010208); animation: emoSpin 2.6s linear infinite; -webkit-mask-image: radial-gradient(#000 0 12%, transparent 13% 20%, #000 34%); mask-image: radial-gradient(#000 0 12%, transparent 13% 20%, #000 34%); filter: blur(.6cqw); }
.emoPortal i { position: absolute; inset: 18%; border-radius: 50%; border: .8cqw dashed #fff; opacity: .7; animation: emoSpin 4s linear infinite reverse; } .emoPortal i + i { inset: 34%; opacity: .5; animation-duration: 1.8s; }
.e-portail .emoIris { animation-duration: 6s; }
@media (max-width: 560px) { .edGrid b { font-size: .92rem; } .edGrid span { font-size: .64rem; } }
.emoStars { position: absolute; inset: 0; }

/* Iris « fréquences » : dessiné image par image, il remplace les rayons fixes */
.emoFreq { position: absolute; inset: 0; width: 100%; height: 100%; }
.emo .emoRing { inset: 1.2%; border-width: .5cqw; opacity: .45; box-shadow: 0 0 5cqw var(--c), inset 0 0 4cqw var(--c); }
.ed-cosmic .emoRing { inset: 1.2%; } .e-alerte .emoRing { border-width: 2cqw; opacity: .8; } .e-surprise .emoRing { border-width: 1.6cqw; }
.e-fete .emoFreq { animation: emoHue 2.4s linear infinite; } .e-tristesse .emoFreq { opacity: .7; } .e-sommeil .emoFreq { opacity: .6; }
.emoPupil s { background: radial-gradient(circle, #fff, rgba(255, 255, 255, .15) 60%, transparent 72%); width: 22%; right: 54%; top: 18%; }
/* Proportions de la maquette : une pupille plus petite, de longs rayons autour */
.emoPupil { width: 35%; } .e-joie .emoPupil { width: 40%; } .e-ecoute .emoPupil { width: 33%; } .e-reflexion .emoPupil { width: 31%; } .e-tristesse .emoPupil { width: 32%; } .e-surprise .emoPupil { width: 20%; } .e-alerte .emoPupil { width: 22%; }
.ed-quantum .emoPupil { width: 34%; } .e-amour .emoPupil { width: 56%; } .e-portail .emoPupil { width: 68%; }

/* Page d'accueil : les applications à portée de doigt, juste sous les boutons */
.l-try { margin-top: 22px; } .l-try > b { display: block; margin-bottom: 4px; font: 800 1.05rem var(--display); color: var(--ink); }
.l-try .apps { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 620px; }
@media (max-width: 700px) { .l-try .apps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .l-try .apps a { padding: 12px 2px 10px; font-size: .78rem; } .l-try .apps i { width: 46px; height: 46px; } }

/* Quantum Eye, Zayn : l'anneau néon tourne autour de la pupille (bleu d'origine, rouge rubis par changement de teinte) */
.emoNeon { position: absolute; inset: -4%; background: #01030a url(neon.webp) center / cover no-repeat; animation: emoSpin 46s linear infinite, neonPulse 2.4s ease-in-out infinite; }
.emoNeon.ruby { filter: hue-rotate(128deg) saturate(1.5); animation: emoSpin 46s linear infinite, neonPulseRuby 2.4s ease-in-out infinite; }
@keyframes neonPulse { 50% { filter: brightness(1.35) saturate(1.2); } } @keyframes neonPulseRuby { 0%, 100% { filter: hue-rotate(128deg) saturate(1.5); } 50% { filter: hue-rotate(128deg) saturate(1.7) brightness(1.35); } }
.ed-quantum .emoPupil { width: 27%; } .ed-quantum.e-alerte .emoNeon { animation: emoSpin 8s linear infinite, emoAlert .5s steps(2, jump-none) infinite; } .ed-quantum.e-portail .emoPupil { width: 46%; }

/* L'émoji de l'émotion au centre de la pupille, comme sur la grille des douze regards */
.emoMoji { font-size: 15cqw; line-height: 1; filter: drop-shadow(0 0 2cqw rgba(0, 0, 0, .6)); }
.e-amour .emoPupil { background: #020309; box-shadow: 0 0 7cqw #000; width: 38%; } .e-surprise .emoPupil { width: 30%; } .e-alerte .emoPupil { width: 30%; }
.e-surprise .emoMoji, .e-alerte .emoMoji { font-size: 13cqw; } .ed-quantum .emoMoji { font-size: 12cqw; }

/* Cœur : une mascotte par élément, à la place des pastilles de couleur */
.coreEls button { padding: 12px 6px 12px; gap: 10px; transition: transform .2s; } .coreEls button:active { transform: scale(.96); }
.coreEls img { display: block; width: min(100%, 104px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c), 0 8px 18px rgba(8, 28, 80, .2); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.coreEls button:hover img { transform: scale(1.06) rotate(-3deg); }
.coreEls button.sel img { animation: elemBob 2.6s ease-in-out infinite; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c), 0 0 26px var(--c); }
@keyframes elemBob { 50% { transform: translateY(-5px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .coreEls button.sel img { animation: none; } }

/* Mascottes à la place des pictogrammes */
.c-masc { background: #050a22 !important; border-radius: 50% !important; overflow: hidden; padding: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2e8bff, 0 8px 18px rgba(20, 100, 230, .28) !important; }
img.masc { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: static; }
.apps i.c-masc { width: 78px; height: 78px; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.apps button:hover i.c-masc, .apps a:hover i.c-masc, .apps button:active i.c-masc { transform: scale(1.08) rotate(-3deg); }
.menu .app i.c-masc { box-shadow: 0 0 0 .5cqw #2e8bff, 0 0 3cqw rgba(46, 139, 255, .7) !important; }
@media (max-width: 700px) { .apps i.c-masc { width: 72px; height: 72px; } .l-try .apps i.c-masc { width: 58px; height: 58px; } }

/* Mascottes : une seule planche d'images */
span.masc { display: block; width: 100%; height: 100%; border-radius: 50%; background: #050a22 url(mascottes.jpg?v=5) no-repeat; background-size: 500% 500%; }

/* --- Localisation --- */
.c-locate { background: linear-gradient(#ff7a6b, #d62d3a); }
.loc { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: #dfeccd; }
.locMap { position: absolute; inset: -20%; background: linear-gradient(90deg, transparent 46%, #fff 46% 54%, transparent 54%) 0 0 / 34cqw 34cqw, linear-gradient(transparent 46%, #fff 46% 54%, transparent 54%) 0 0 / 30cqw 30cqw, linear-gradient(115deg, transparent 47%, #ffd77a 47% 51%, transparent 51%), radial-gradient(circle at 76% 28%, #9fd3ff 0 16%, transparent 17%), radial-gradient(circle at 20% 74%, #b9e2a1 0 20%, transparent 21%), #e6efd9; transform: rotate(-12deg); animation: locDrift 26s linear infinite alternate; }
@keyframes locDrift { to { transform: rotate(-12deg) translate(-6cqw, -5cqw); } }
.locPin { position: relative; z-index: 2; width: 17cqw; height: 17cqw; margin-top: -14cqw; background: #e8323f; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .35); animation: locBob 1.6s ease-in-out infinite; }
.locPin::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: #fff; }
@keyframes locBob { 50% { transform: rotate(-45deg) translate(2cqw, -2cqw); } }
.locRing { position: absolute; width: 16cqw; height: 16cqw; border-radius: 50%; border: 1cqw solid #e8323f; opacity: 0; animation: emoWave 2.2s ease-out infinite; } .locRing + .locRing { animation-delay: 1.1s; }
.loc.found .locPin { background: #1464e6; } .loc.found .locRing { border-color: #1464e6; }
.locTag { position: absolute; z-index: 3; bottom: 9%; left: 50%; transform: translateX(-50%); padding: 2cqw 5cqw; border-radius: 4cqw; background: rgba(5, 10, 34, .82); color: #fff; text-align: center; white-space: nowrap; }
.locTag b { display: block; font-size: 5cqw; } .locTag small { font-size: 3.6cqw; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .loc * { animation: none !important; } }

/* --- Musique --- */
.musEye { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, #10224f, #03060f 78%); overflow: hidden; }
.musRing { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(#1ed760 calc(var(--p) * 1%), #16264a 0); -webkit-mask-image: radial-gradient(transparent 66%, #000 67%); mask-image: radial-gradient(transparent 66%, #000 67%); }
.musDisc { width: 50%; aspect-ratio: 1; margin-top: -12%; border-radius: 50%; padding: 3%; background: repeating-radial-gradient(circle, #0b0b10 0 2px, #1c1c26 2px 4px); box-shadow: 0 0 6cqw rgba(30, 215, 96, .35); animation: emoSpin 6s linear infinite paused; }
.musEye.on .musDisc { animation-play-state: running; }
.musBars { position: absolute; bottom: 30%; display: flex; gap: 1.6cqw; align-items: flex-end; height: 9cqw; }
.musBars u { width: 2cqw; height: 20%; border-radius: 1cqw; background: #1ed760; } .musEye.on .musBars u { animation: musBar .7s ease-in-out infinite alternate; }
.musBars u:nth-child(2) { animation-delay: -.2s; } .musBars u:nth-child(3) { animation-delay: -.45s; } .musBars u:nth-child(4) { animation-delay: -.1s; } .musBars u:nth-child(5) { animation-delay: -.6s; } .musBars u:nth-child(6) { animation-delay: -.3s; } .musBars u:nth-child(7) { animation-delay: -.5s; }
@keyframes musBar { to { height: 100%; } }
.musTag { position: absolute; bottom: 11%; left: 0; right: 0; text-align: center; padding: 0 16%; } .musTag b { display: block; font-size: 5.4cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .musTag small { font-size: 3.6cqw; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }
.musCtl { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 16px 0 12px; }
.musCtl button { width: 54px; height: 54px; border-radius: 50%; background: #eef4ff; color: var(--ink); font-size: 1.3rem; } .musCtl .big { width: 76px; height: 76px; background: #1ed760; color: #04210f; font-size: 1.9rem; box-shadow: 0 10px 24px rgba(30, 215, 96, .4); }
.musBar { height: 8px; border-radius: 4px; background: #e3e9f6; overflow: hidden; } .musBar u { display: block; height: 100%; width: 0; background: #1ed760; border-radius: 4px; }
.musList { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.musList button { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; border-radius: 16px; background: #f5f9ff; color: var(--ink); text-align: left; }
.musList i { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--muted); } .musList button.sel { background: #e6fbee; box-shadow: 0 0 0 2px #1ed760; } .musList button.sel i { background: #1ed760; color: #04210f; }
@media (prefers-reduced-motion: reduce) { .musDisc, .musBars u { animation: none !important; } }

/* Musique : la pochette de l'artiste */
.musDisc { padding: 2.5%; } .musDisc img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.musArtist { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; margin: 14px 0; padding: 12px; border-radius: 20px; background: #f7f1e3; color: #2a2112; }
.musArtist img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 14px rgba(60, 40, 0, .25); } .musArtist small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a7a2a; } .musArtist b { display: block; font-size: 1.2rem; } .musArtist span { font-size: .86rem; color: #6b5a36; }
.musList { max-height: 420px; overflow: auto; }

/* Le bouton « Parler » : la mascotte au micro */
.ghost.mic { padding: 3px; border-radius: 50%; } .ghost.mic span.masc { width: 42px; height: 42px; }
body.hearing .ghost.mic { box-shadow: 0 0 0 3px var(--danger), 0 0 18px var(--danger); }
.btn span.masc { width: 36px; height: 36px; flex: none; margin: -6px 2px -6px -10px; box-shadow: 0 0 0 2px #fff; }
.menu .dock button span.masc { width: 100%; height: 100%; }

/* ---------- Émotions : nos visages à la place des émojis, des cartes en relief, et Noah à toucher ---------- */
.emoGrid { gap: 10px; }
.emoGrid button { --c: #29baff; position: relative; padding: 12px 4px 11px; border: 0; border-radius: 22px; gap: 8px; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--c) 16%, #fff)); box-shadow: inset 0 2px 0 #fff, inset 0 -4px 0 color-mix(in srgb, var(--c) 30%, #e3e9f6), 0 8px 18px rgba(20, 40, 90, .13); transition: transform .28s cubic-bezier(.3, 1.6, .5, 1), box-shadow .28s; -webkit-tap-highlight-color: transparent; }
.emoGrid button span { display: grid; place-items: center; width: min(86%, 84px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #0b1020; font-size: 2rem; line-height: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c), 0 8px 16px color-mix(in srgb, var(--c) 50%, transparent); }
.emoGrid button span img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.emoGrid button:active { transform: scale(.94); }
.emoGrid button.sel { border: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 24%, #fff), color-mix(in srgb, var(--c) 46%, #fff)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), 0 0 0 3px var(--c), 0 16px 28px color-mix(in srgb, var(--c) 48%, transparent); transform: translateY(-5px) scale(1.05); z-index: 1; }
.emoGrid button.sel span { animation: emoFaceBob 1.5s ease-in-out infinite; }
@keyframes emoFaceBob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.emoMoji.face { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; filter: none; clip-path: circle(50%); }
.emoMoji.face img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.touchBear.photo { max-width: 300px; border-radius: 24px; box-shadow: 0 12px 28px rgba(20, 40, 90, .18); background: #efe6d8; }
.touchBear.photo [data-lab] { fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, .8); stroke-width: 3; stroke-dasharray: 9 9; transition: fill .2s, stroke .2s; }
.touchBear.photo [data-lab]:hover { fill: rgba(255, 255, 255, .16); }
.touchBear.photo .on { fill: rgba(255, 160, 80, .42); stroke: #ff8a4c; stroke-width: 6; stroke-dasharray: none; animation: touchGlow 1.2s ease-in-out infinite; }
@keyframes touchGlow { 50% { fill: rgba(255, 190, 110, .6); } }
@media (prefers-reduced-motion: reduce) { .emoGrid button.sel span, .touchBear.photo .on { animation: none; } }

/* ---------- Cœur : la mascotte de l'élément dans la pupille, un œil à toucher, des cartes en relief ---------- */
.core { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.corePupil { width: calc(34% + var(--e) * 10%); overflow: hidden; }
.corePupil img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.coreFx { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.coreFx u { grid-area: 1 / 1; text-decoration: none; color: var(--c); text-shadow: 0 0 2cqw var(--c); animation: coreBurst .9s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes coreBurst { from { transform: translate(0, 0) scale(.3); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(1.25) rotate(40deg); opacity: 0; } }
.coreWave { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; border: 1cqw solid var(--c); pointer-events: none; animation: coreWave .65s ease-out forwards; }
@keyframes coreWave { to { transform: scale(2.6); opacity: 0; } }
.core.full .coreRings { animation: emoHue 2.4s linear infinite; }
.coreCheer { position: absolute; top: 15%; left: 50%; padding: 2cqw 5cqw; border-radius: 99px; background: var(--c); color: #06080f; font-weight: 800; font-size: 5.4cqw; white-space: nowrap; pointer-events: none; animation: coreCheer 1.9s ease forwards; }
@keyframes coreCheer { 0% { transform: translateX(-50%) scale(.4); opacity: 0; } 14%, 80% { transform: translateX(-50%) scale(1); opacity: 1; } 100% { transform: translateX(-50%) scale(1); opacity: 0; } }
.coreHint { color: #2a5bd7; font-weight: 700; font-size: .92rem; }
.coreEls { gap: 10px; }
.coreEls button { border: 0; border-radius: 22px; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--c) 16%, #fff)); box-shadow: inset 0 2px 0 #fff, inset 0 -4px 0 color-mix(in srgb, var(--c) 30%, #e3e9f6), 0 8px 18px rgba(20, 40, 90, .13); transition: transform .28s cubic-bezier(.3, 1.6, .5, 1), box-shadow .28s; -webkit-tap-highlight-color: transparent; }
.coreEls button.sel { border: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 24%, #fff), color-mix(in srgb, var(--c) 46%, #fff)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), 0 0 0 3px var(--c), 0 16px 28px color-mix(in srgb, var(--c) 48%, transparent); transform: translateY(-5px) scale(1.04); z-index: 1; }

/* ---------- Assistant : l'anneau lumineux (neon.webp) tourne autour du texte ---------- */
.say.assist { background: #02040c; padding: 0; }
.say.assist::before { content: ""; position: absolute; inset: -2%; background: url(neon.webp) center / cover no-repeat; animation: assistTurn 48s linear infinite; }
.say.assist::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, #030814f2 0 27%, #03081499 38%, transparent 50%); }
.say.assist > span { position: relative; z-index: 1; max-width: 46cqw; text-shadow: 0 0 3cqw #2e8bffaa; }
.say.assist.long::before { opacity: .45; } .say.assist.long::after { background: radial-gradient(circle, #030814f5 0 40%, #030814b0 60%, transparent 76%); } .say.assist.long > span { max-width: 62cqw; }
.listening .say.assist::before { animation: assistTurn 12s linear infinite, assistPulse 1.1s ease-in-out infinite; }
.thinking .say.assist::before { animation: assistTurn 5s linear infinite; }
@keyframes assistTurn { to { transform: rotate(360deg); } } @keyframes assistPulse { 50% { filter: brightness(1.5) saturate(1.3); } }

/* ---------- Visages : rien sur l'image ; un simple voyant indique l'état ---------- */
body:not(.kiosk) .faceBadge { bottom: 5cqw; width: 3.4cqw; height: 3.4cqw; padding: 0; font-size: 0; background: #ffffff66; border: .5cqw solid #fff; transition: background .3s; }
body:not(.kiosk) .faceBadge[data-s="vu"] { background: #fbbf24; } body:not(.kiosk) .faceBadge[data-s="ok"] { background: #34d399; box-shadow: 0 0 3cqw #34d399; }

/* ---------- Heure : cadrans ---------- */
.handClock, .neonClock, .skyClock { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.handClock svg { width: 100%; height: 100%; } .handClock text { font: 800 9px Lato, system-ui, sans-serif; fill: #14224f; }
.handClock .sec { transform-origin: 50px 50px; animation: assistTurn 60s linear infinite; }
.neonClock { background: radial-gradient(circle, #101a44, #03040c 76%); align-content: center; gap: 1cqw; }
.neonClock svg { position: absolute; inset: 0; width: 100%; height: 100%; } .neonClock circle { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.neonClock .track { stroke: #ffffff14; } .neonClock .run { stroke: #38e1ff; stroke-dasharray: 60; stroke-dashoffset: 60; filter: drop-shadow(0 0 1.4px #38e1ff); animation: neonRun 60s linear infinite; }
@keyframes neonRun { to { stroke-dashoffset: 0; } }
.neonClock b { position: relative; font-size: 25cqw; line-height: 1; font-weight: 900; letter-spacing: -.02em; background: linear-gradient(120deg, #38e1ff, #7c8bff 55%, #ff6bd6); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 3cqw #4f7dffaa); }
.neonClock small { position: relative; font-size: 4.4cqw; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.skyClock svg { position: absolute; inset: 0; width: 100%; height: 100%; } .skyClock .tw { animation: blink 2.6s ease-in-out infinite; }
.skyClock.m-jour { background: linear-gradient(#4aa8f0, #bfe6ff 62%, #f3fbff); } .skyClock.m-aube { background: linear-gradient(#5b62c9, #ff9d6c 58%, #ffd9a0); } .skyClock.m-soir { background: linear-gradient(#3a6fd8, #ffb27a 60%, #ffe0a8); } .skyClock.m-nuit { background: linear-gradient(#070b2a, #1d2466 60%, #3b3f8f); }
.skyClock .h1 { fill: #58b865; } .skyClock .h2 { fill: #2f8f4a; } .skyClock .cloud { fill: #fff; opacity: .9; animation: skyDrift 26s ease-in-out infinite alternate; }
.skyClock.m-nuit .h1 { fill: #1c3a55; } .skyClock.m-nuit .h2 { fill: #122840; } .skyClock.m-nuit .cloud { opacity: .18; } .skyClock.m-nuit .bite { fill: #121848; } .skyClock.m-aube .bite { fill: #6a66c4; }
.skyClock.m-aube .h1, .skyClock.m-soir .h1 { fill: #4a9a5c; } .skyClock.m-aube .h2, .skyClock.m-soir .h2 { fill: #2a7444; }
@keyframes skyDrift { to { transform: translateX(34px); } }
.skyClock span { position: relative; margin-top: 46cqw; display: grid; justify-items: center; color: #fff; text-shadow: 0 .6cqw 2cqw #0009; }
.skyClock span small { font-size: 4.6cqw; font-weight: 700; letter-spacing: .04em; } .skyClock span b { font-size: 21cqw; line-height: 1; font-weight: 900; }
.clockStyles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 14px; }
.clockStyles button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; border: 2px solid #d9e3fb; background: #fff; color: #14224f; font: 700 .95rem Lato, system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 16px #1b2f6a14; transition: transform .15s, border-color .15s; }
.clockStyles button.sel { border-color: #2e63e0; box-shadow: 0 8px 20px #2e63e033; } .clockStyles button:active { transform: scale(.97); }
.clockStyles i { flex: 0 0 38px; height: 38px; border-radius: 50%; border: 3px solid #14224f; }
.ck-led { background: radial-gradient(circle, #ff3b2b 0 18%, #1a0605 20%); } .ck-aiguilles { background: conic-gradient(from 60deg, #14224f 0 4%, #fbf1da 0) ; } .ck-neon { background: radial-gradient(circle, #03040c 52%, #38e1ff 54% 64%, #03040c 66%); } .ck-ciel { background: radial-gradient(circle at 68% 34%, #ffcf3f 0 16%, transparent 18%), linear-gradient(#4aa8f0 62%, #58b865 0); }

/* ---------- Socle : la lumière remplit l'œil comme un liquide ---------- */
.holoTank { position: absolute; inset: 0; overflow: hidden; }
.holoTank .w1, .holoTank .w2 { position: absolute; left: -60cqw; width: 220cqw; height: 220cqw; top: calc((100 - var(--p)) * .86cqw + 7cqw); border-radius: 43%; background: var(--c); opacity: .5; animation: assistTurn 9s linear infinite; transition: top .5s ease-out; }
.holoTank .w2 { border-radius: 40%; opacity: .32; animation-duration: 13s; animation-direction: reverse; }
.holo.slosh .w1 { animation-duration: 1.6s; } .holo.slosh .w2 { animation-duration: 2.2s; }
.holoBub u { position: absolute; bottom: -4cqw; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; border: .4cqw solid #fff; opacity: 0; }
.h-charge .holoBub u, .holo.slosh .holoBub u { animation: holoBub 2.4s ease-in infinite; }
.holoBub u:nth-child(1) { left: 22%; } .holoBub u:nth-child(2) { left: 36%; animation-delay: .5s !important; width: 1.6cqw; height: 1.6cqw; } .holoBub u:nth-child(3) { left: 48%; animation-delay: 1.1s !important; } .holoBub u:nth-child(4) { left: 60%; animation-delay: .3s !important; width: 1.8cqw; height: 1.8cqw; } .holoBub u:nth-child(5) { left: 72%; animation-delay: 1.5s !important; } .holoBub u:nth-child(6) { left: 30%; animation-delay: 1.8s !important; width: 1.4cqw; height: 1.4cqw; } .holoBub u:nth-child(7) { left: 66%; animation-delay: .9s !important; }
@keyframes holoBub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(calc(var(--p) * -0.8cqw - 6cqw)); opacity: 0; } }
.holo .holoRing { inset: 3%; -webkit-mask-image: radial-gradient(transparent 66%, #000 67%); mask-image: radial-gradient(transparent 66%, #000 67%); }
.holoCore { text-shadow: 0 .4cqw 2.4cqw #000b; } .holoCore span { color: #fff; }
.holoBolt { width: 11cqw; height: 11cqw; fill: #ffe14a; filter: drop-shadow(0 0 2cqw #ffe14a); animation: holoBolt .9s ease-in-out infinite; } @keyframes holoBolt { 50% { transform: scale(1.18) rotate(-6deg); opacity: .75; } }
.holoEq { display: flex; align-items: flex-end; gap: 1.2cqw; height: 11cqw; } .holoEq u { width: 2cqw; height: 100%; border-radius: 1cqw; background: #fff; transform-origin: bottom; animation: holoEq .7s ease-in-out infinite alternate; }
.holoEq u:nth-child(2n) { animation-duration: .5s; } .holoEq u:nth-child(3n) { animation-duration: .9s; animation-delay: -.3s; } .holoEq u:nth-child(4n+1) { animation-delay: -.5s; }
@keyframes holoEq { from { transform: scaleY(.18); } to { transform: scaleY(1); } }
.holoBeam { position: absolute; inset: -20%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c) 34%, transparent) 0 8deg, transparent 8deg 30deg); -webkit-mask-image: radial-gradient(#000, transparent 70%); mask-image: radial-gradient(#000, transparent 70%); animation: assistTurn 24s linear infinite; }
.holoSpark u { position: absolute; left: 50%; top: 50%; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #fff; animation: holoSpark 1.8s ease-out infinite; }
.holoSpark u:nth-child(1) { --a: 0deg; } .holoSpark u:nth-child(2) { --a: 45deg; animation-delay: .2s; } .holoSpark u:nth-child(3) { --a: 90deg; animation-delay: .5s; } .holoSpark u:nth-child(4) { --a: 135deg; animation-delay: .1s; } .holoSpark u:nth-child(5) { --a: 180deg; animation-delay: .7s; } .holoSpark u:nth-child(6) { --a: 225deg; animation-delay: .4s; } .holoSpark u:nth-child(7) { --a: 270deg; animation-delay: .9s; } .holoSpark u:nth-child(8) { --a: 315deg; animation-delay: .6s; }
@keyframes holoSpark { 0% { transform: rotate(var(--a)) translateY(-20cqw) scale(.4); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-44cqw) scale(1.2); opacity: 0; } }

/* ---------- Histoires : scènes animées ---------- */
.say.story[data-scene] { padding: 0; display: block; background: #0b1230; }
.say.story[data-scene] .scene, .say.story[data-scene] .scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.say.story[data-scene] > span { position: absolute; left: 50%; bottom: 12cqw; transform: translateX(-50%); width: 62cqw; padding: 2.6cqw 3.6cqw; border-radius: 5cqw; background: #0a1030d6; font-size: 4.8cqw; line-height: 1.25; text-align: center; box-shadow: 0 1cqw 4cqw #0006; }
.say.story[data-scene].long > span { font-size: 3.9cqw; }
.scene [data-tap] { cursor: pointer; }
.sTw { animation: blink 2.4s ease-in-out infinite; } .tapped .sTw { animation: sPop .9s ease-out; }
@keyframes sPop { 30% { transform: scale(4); filter: drop-shadow(0 0 3px #fff); } }
.sMoon > circle:nth-child(2) { transition: filter .3s; } .sMoon.tapped { animation: sWobble 1.2s ease-in-out; transform-box: fill-box; transform-origin: center; }
@keyframes sWobble { 20% { rotate: -12deg; scale: 1.12; } 50% { rotate: 10deg; scale: 1.06; } 80% { rotate: -4deg; } }
.sWave { animation: sWave 6s linear infinite; } .sWave.back { animation-duration: 9s; animation-direction: reverse; } @keyframes sWave { to { translate: -50px 0; } }
.sBob { animation: sBob 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 90%; } @keyframes sBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
.sBoat.tapped .sBob { animation: sJump 1.2s ease-out; } @keyframes sJump { 30% { transform: translateY(-22px) rotate(-10deg); } 60% { transform: translateY(2px) rotate(6deg); } }
.sShine { animation: blink 3s ease-in-out infinite; }
.sRays { animation: assistTurn 22s linear infinite; } .sSun.tapped .sRays { animation-duration: 1.2s; }
.sDrift { animation: skyDrift 18s ease-in-out infinite alternate; }
.sSway { animation: sSway 3.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; } @keyframes sSway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.tapped .sBloom { animation: sBloom 1.2s ease-out; transform-box: fill-box; transform-origin: center; } @keyframes sBloom { 30% { scale: 2.1; rotate: 90deg; } 70% { scale: .9; } }
.sHop { animation: sPeek 5s ease-in-out infinite; } @keyframes sPeek { 0%, 100% { transform: translateY(9px); } 40%, 70% { transform: translateY(-3px); } }
.sPeek.tapped .sHop { animation: sJump 1.2s ease-out; }
.sFly { animation: sFly 11s ease-in-out infinite; } @keyframes sFly { 0% { transform: translate(30px, 120px); } 25% { transform: translate(90px, 92px); } 50% { transform: translate(160px, 118px); } 75% { transform: translate(104px, 140px); } 100% { transform: translate(30px, 120px); } }
.sFlap { animation: sFlap .28s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; } @keyframes sFlap { to { transform: scaleX(.35); } }
.tapped .sFlap { animation-duration: .08s; }
.sFloat { animation: sFloat 5s ease-in-out infinite alternate; } @keyframes sFloat { from { transform: translate(-10px, 0); } to { transform: translate(10px, -5px); } }
.sRain path { opacity: 0; } .raining .sRain path { animation: sRain .9s linear infinite; } @keyframes sRain { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(62px); opacity: 0; } }
.sBow { opacity: 0; transition: opacity 1.6s 1s; } .raining .sBow { opacity: .85; }
.sGrow { transform: scale(.45); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.8s .6s cubic-bezier(.3, 1.6, .5, 1); } .raining .sGrow { transform: scale(1.15); }
.sSmile { opacity: 0; transition: opacity .4s; } .sWorry { transition: opacity .4s; } .raining .sSmile { opacity: 1; } .raining .sWorry { opacity: 0; }
.storyPick { position: absolute; inset: 0; background: radial-gradient(circle at 50% 110%, #2b3f7a, #0b1230 70%); }
.storyPick small { position: absolute; left: 0; right: 0; top: 13cqw; text-align: center; font-size: 4.4cqw; font-weight: 700; letter-spacing: .04em; }
.storyPick .pick { position: absolute; width: 33cqw; height: 33cqw; padding: 0; border-radius: 50%; overflow: hidden; border: 1cqw solid #fff; box-shadow: 0 2cqw 5cqw #0008; animation: pickFloat 4s ease-in-out infinite alternate; }
.storyPick .pick svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.storyPick .p0 { left: 13cqw; top: 23cqw; } .storyPick .p1 { left: 54cqw; top: 23cqw; animation-delay: -1.3s; } .storyPick .p2 { left: 33.5cqw; top: 57cqw; animation-delay: -2.6s; }
.storyPick .pick:active { scale: .94; } @keyframes pickFloat { to { transform: translateY(-2cqw); } }
.storyCards { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 12px; }
.storyCards button { width: 100%; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 22px; border: 2px solid #d9e3fb; background: linear-gradient(#fff, #f3f7ff); color: #14224f; text-align: left; cursor: pointer; box-shadow: 0 8px 18px #1b2f6a1a, inset 0 -3px 0 #dfe8fb; transition: transform .15s, border-color .15s; }
.storyCards button:active { transform: translateY(2px) scale(.99); } .storyCards button.sel { border-color: #2e63e0; background: linear-gradient(#eef4ff, #dfeaff); }
.storyCards b { font: 800 1.02rem/1.2 Lato, system-ui, sans-serif; } .storyCards em { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #2e63e0; color: #fff; font-size: .85rem; }
.storyThumb { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 4px 10px #1b2f6a33; } .storyThumb svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .scene *, .storyPick *, .storyThumb *, .say.assist::before, .handClock .sec, .neonClock .run, .skyClock * { animation: none !important; } }

/* ---------- Beya Store : compte et téléchargement des applications ---------- */
.c-store { background: linear-gradient(#5b8cff, #2e63e0); }
.setup { display: grid; gap: 6px; padding: 14px 16px; margin: 14px 0; border-radius: 20px; background: linear-gradient(135deg, #eaf1ff, #f6f0ff); border: 2px solid #cfdcff; color: #14224f; }
.setup b { font-size: 1.05rem; } .setup span { color: #3b4d7c; font-size: .93rem; } .setup .btn { justify-self: start; margin-top: 4px; }
.account { display: grid; gap: 12px; margin: 14px 0; } .account label { display: grid; gap: 6px; font-weight: 700; color: #14224f; }
.account label.check { display: flex; align-items: center; gap: 10px; font-weight: 600; } .account input:not([type=checkbox]) { width: 100%; padding: 13px 16px; border-radius: 16px; border: 2px solid #d9e3fb; background: #fff; font: inherit; color: #14224f; }
.account input:focus { outline: none; border-color: #2e63e0; } .account .btn { justify-self: start; }
.acct { color: #3b4d7c; font-size: .93rem; } .linkBtn { background: none; border: 0; padding: 0; margin-left: 6px; color: #2e63e0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.storeList { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.storeList li { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: #fff; border: 1px solid #dfe8fb; box-shadow: 0 4px 14px #081c500d; }
.storeList i { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; overflow: hidden; } .storeList i svg { width: 60%; height: 60%; } .storeList i.c-masc { border-radius: 50%; }
.storeList b { display: block; color: #14224f; } .storeList span { display: block; color: #55668c; font-size: .84rem; line-height: 1.3; }
.storeList button { padding: 9px 16px; border-radius: 999px; font: 800 .86rem Lato, system-ui, sans-serif; cursor: pointer; border: 0; white-space: nowrap; }
.storeList .get { background: #2e63e0; color: #fff; box-shadow: 0 6px 14px #2e63e040; } .storeList .got { background: #e7f7ee; color: #17804a; } .storeList button:active { transform: scale(.95); }
.storeEye { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2.4cqw; padding: 12cqw; text-align: center; background: radial-gradient(circle at 50% 30%, #1c3a8a, #060b1e 76%); }
.storeEye > i, .storeEye .dl i { width: 30cqw; height: 30cqw; border-radius: 9cqw; display: grid; place-items: center; color: #fff; overflow: hidden; } .storeEye i.c-masc { border-radius: 50%; } .storeEye i svg { width: 56%; height: 56%; }
.storeEye b { font-size: 8cqw; line-height: 1.1; } .storeEye small { font-size: 4.4cqw; opacity: .8; }
.storeEye .open { margin-top: 1cqw; padding: 2.6cqw 7cqw; border-radius: 99px; background: #2e8bff; color: #fff; font-size: 5cqw; font-weight: 800; }
.dl { position: relative; width: 44cqw; height: 44cqw; display: grid; place-items: center; } .dl svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dl circle { fill: none; stroke: #ffffff22; stroke-width: 5; } .dl .run { stroke: #38e1ff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: dlRun 1.5s ease-in-out forwards; } @keyframes dlRun { to { stroke-dashoffset: 0; } }
.dl i { width: 26cqw !important; height: 26cqw !important; animation: holoBolt 1s ease-in-out infinite; }

/* ---------- Accueil vivant ---------- */
.hero { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin: 14px 0 6px; }
.heroFace { width: 104px; height: 104px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #dbe7ff); box-shadow: 0 10px 24px #1b2f6a33, inset 0 -6px 0 #c9d9ff; cursor: pointer; animation: heroFloat 3.2s ease-in-out infinite alternate; position: relative; -webkit-tap-highlight-color: transparent; }
.heroFace img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.heroFace.boing { animation: heroBoing .6s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes heroFloat { to { transform: translateY(-6px) rotate(3deg); } } @keyframes heroBoing { 30% { transform: scale(1.22) rotate(-10deg); } 60% { transform: scale(.92) rotate(6deg); } }
.hero .hello { margin: 0 0 6px; } .hero .hello em { font-style: normal; color: #2e63e0; }
.bubble { position: relative; display: inline-block; margin: 0; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: #eaf1ff; color: #14224f; font-weight: 700; font-size: .95rem; }
.bubble.pop { animation: bubblePop .45s cubic-bezier(.3, 1.6, .5, 1); } @keyframes bubblePop { from { transform: scale(.6); opacity: 0; } }
.ideas { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 8px -6px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .ideas::-webkit-scrollbar { display: none; }
.ideas button { flex: 0 0 168px; scroll-snap-align: start; display: grid; justify-items: start; gap: 4px; padding: 14px; border: 0; border-radius: 22px; text-align: left; color: #fff; cursor: pointer; background: linear-gradient(140deg, var(--a), var(--b)); box-shadow: 0 10px 22px color-mix(in srgb, var(--b) 40%, transparent), inset 0 2px 0 #ffffff40; animation: tileIn .5s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i) * 70ms); transition: transform .15s; }
.ideas button:active { transform: scale(.95); } .ideas i { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #ffffff33; margin-bottom: 4px; animation: heroFloat 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.5s); } .ideas i svg { width: 56%; height: 56%; }
.ideas b { font-size: 1.02rem; line-height: 1.15; } .ideas span { font-size: .84rem; opacity: .92; line-height: 1.25; }
.apps.lively button, .apps.lively a { animation: tileIn .5s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i, 0) * 50ms); } .apps.lively button:active, .apps.lively a:active { transform: scale(.9) rotate(-2deg); }
.apps.lively i.c-masc { animation: heroFloat 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -.37s); }
.apps .more i { width: 78px; height: 78px; border-radius: 50%; background: #eef4ff; border: 3px dashed #9db8f5; color: #2e63e0; font: 300 2.4rem/1 Lato, system-ui, sans-serif; box-shadow: none; }
@keyframes tileIn { from { transform: translateY(18px) scale(.8); opacity: 0; } }
.confetti { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 9; } .confetti u { position: absolute; width: 9px; height: 9px; border-radius: 2px; animation: confetti 1.2s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- Beya Store vivant ---------- */
.steps { display: flex; align-items: center; gap: 8px; margin: 10px 0; } .steps i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 .9rem Lato, system-ui, sans-serif; background: #e3ebfd; color: #6b7fae; } .steps i.on { background: #2e63e0; color: #fff; box-shadow: 0 0 0 5px #2e63e026; animation: heroFloat 1.6s ease-in-out infinite alternate; } .steps u { flex: 0 0 34px; height: 3px; border-radius: 3px; background: #e3ebfd; }
.storeStar { position: relative; margin: 12px 0; padding: 16px 16px 26px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--a, #5b8cff), var(--b, #2e63e0)); box-shadow: 0 12px 26px color-mix(in srgb, var(--b, #2e63e0) 42%, transparent); overflow: hidden; transition: background .5s; }
.storeStar::before { content: ""; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: #ffffff22; }
.storeStar .in { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 6px 12px; align-items: center; animation: bubblePop .5s cubic-bezier(.3, 1.4, .5, 1); }
.storeStar i { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #ffffff33; animation: heroFloat 2.4s ease-in-out infinite alternate; } .storeStar i svg { width: 56%; height: 56%; }
.storeStar small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; } .storeStar b { display: block; font-size: 1.3rem; line-height: 1.1; } .storeStar span { display: block; font-size: .9rem; opacity: .95; }
.storeStar .get, .storeStar .open { grid-column: 2; justify-self: start; margin-top: 4px; padding: 9px 20px; border: 0; border-radius: 999px; background: #fff; color: #14224f; font: 800 .9rem Lato, system-ui, sans-serif; cursor: pointer; }
.storeStar .dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 6px; } .storeStar .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #ffffff66; cursor: pointer; } .storeStar .dots .on { width: 20px; border-radius: 8px; background: #fff; }
.storeBar { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin: 14px 0 6px; color: #14224f; font-weight: 700; } .storeBar b { color: #2e63e0; }
.storeBar i { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 8px; background: #e3ebfd; overflow: hidden; } .storeBar i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p, 0) * 1%); border-radius: 8px; background: linear-gradient(90deg, #38e1ff, #2e63e0); transition: width .8s cubic-bezier(.3, 1.3, .5, 1); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px; margin: 0 -6px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.chips button { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; border: 2px solid #d9e3fb; background: #fff; color: #14224f; font: 700 .9rem Lato, system-ui, sans-serif; cursor: pointer; transition: transform .15s; } .chips button.on { background: #14224f; border-color: #14224f; color: #fff; } .chips button:active { transform: scale(.93); }
.storeGrid { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.storeGrid li { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 14px 10px 12px; border-radius: 22px; background: linear-gradient(#fff, #f4f8ff); border: 2px solid #dfe8fb; text-align: center; box-shadow: 0 8px 18px #1b2f6a14, inset 0 -3px 0 #dfe8fb; animation: tileIn .45s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
.storeGrid li[hidden] { display: none; } .storeGrid li.on { border-color: #bfe8d0; background: linear-gradient(#fff, #effaf3); }
.storeGrid i { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; animation: heroFloat 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -.41s); } .storeGrid i:not(.c-masc) { border-radius: 22px; } .storeGrid i svg { width: 56%; height: 56%; }
.storeGrid li.loading i { animation: dlShake .5s ease-in-out infinite; } @keyframes dlShake { 25% { transform: rotate(-9deg) scale(1.06); } 75% { transform: rotate(9deg) scale(1.06); } }
.storeGrid li.won { animation: heroBoing .7s cubic-bezier(.3, 1.7, .5, 1); }
.storeGrid b { color: #14224f; font-size: 1rem; } .storeGrid span { color: #55668c; font-size: .8rem; line-height: 1.25; min-height: 2.5em; }
.storeGrid .act { display: flex; gap: 6px; align-items: center; margin-top: 6px; } .storeGrid em { font-style: normal; font-weight: 800; font-size: .84rem; color: #17804a; }
.storeGrid .get, .storeGrid .open { position: relative; overflow: hidden; padding: 9px 18px; border: 0; border-radius: 999px; font: 800 .86rem Lato, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.storeGrid .get, .storeStar .get.fill { background: #2e63e0; color: #fff; box-shadow: 0 6px 14px #2e63e040; } .storeGrid .open { background: #17a05d; color: #fff; box-shadow: 0 6px 14px #17a05d40; }
.get.fill { background: #9db8f5 !important; color: #fff !important; } .get.fill::before { content: ""; position: absolute; inset: 0; background: #2e63e0; transform-origin: left; animation: dlFill 1.6s linear forwards; z-index: 0; mix-blend-mode: multiply; } @keyframes dlFill { from { transform: scaleX(0); } }
.storeGrid .drop { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 0; background: #eef2fb; color: #6b7fae; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.storeGrid button:active, .storeStar button:active { transform: scale(.94); }
.storeEye { position: absolute; } .storeEye .confetti u { width: 2.4cqw; height: 2.4cqw; }
@media (prefers-reduced-motion: reduce) { .heroFace, .ideas *, .apps.lively *, .storeGrid *, .storeStar *, .steps * { animation: none !important; } }

/* ---------- Beya Store façon maquette : mascotte vendeuse, recherche, fiches, barre du bas ---------- */
img.mascImg { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.storeHead { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: center; margin: 8px 0 6px; }
.storeHead img { width: 104px; height: 104px; border-radius: 28px; object-fit: cover; box-shadow: 0 10px 22px #1b2f6a33; animation: heroFloat 3s ease-in-out infinite alternate; }
.storeHead h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 7vw, 2.2rem); }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 16px; border: 2px solid #2e63e0; background: #f3f7ff; } .search svg { flex: 0 0 20px; height: 20px; fill: none; stroke: #14224f; stroke-width: 2.4; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: none; font: inherit; color: #14224f; outline: none; } .search:focus-within { box-shadow: 0 0 0 4px #2e63e026; }
.storeGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.storeGrid li { padding: 10px 6px 10px; border-radius: 20px; gap: 6px; }
.storeGrid .tile { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
.storeGrid .tile i { width: 100%; max-width: 84px; height: auto; aspect-ratio: 1; box-shadow: 0 0 0 3px #2e63e0, 0 8px 16px #1b2f6a26; } .storeGrid .tile:active i { transform: scale(.92); }
.storeGrid b { font-size: .92rem; line-height: 1.15; } .storeGrid .act { margin-top: 0; width: 100%; justify-content: center; }
.storeGrid .get, .storeGrid .open { width: 100%; padding: 8px 4px; font-size: .82rem; } .storeGrid em { font-size: .76rem; }
.appSheet { display: grid; justify-items: center; text-align: center; gap: 6px; animation: bubblePop .4s cubic-bezier(.3, 1.4, .5, 1); position: relative; }
.appIcon { width: 150px; height: 150px; border-radius: 38px; overflow: hidden; background: linear-gradient(140deg, #1c3a8a, #0b1640); box-shadow: 0 0 0 4px #2e63e0, 0 16px 30px #1b2f6a40; animation: heroFloat 3s ease-in-out infinite alternate; position: relative; }
.appIcon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.appSheet h2 { margin: 10px 0 0; } .appSheet .by { margin: 0; color: #3b4d7c; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 8px; } .tags span { padding: 6px 12px; border-radius: 10px; background: #eef2fb; color: #14224f; font-weight: 700; font-size: .86rem; }
.appSheet > .act { width: 100%; display: grid; gap: 8px; justify-items: center; }
.get.big, .open.big { position: relative; overflow: hidden; width: 100%; padding: 14px; border: 0; border-radius: 999px; font: 800 1.05rem Lato, system-ui, sans-serif; cursor: pointer; background: #2e63e0; color: #fff; box-shadow: 0 10px 22px #2e63e040; } .open.big { background: #17a05d; box-shadow: 0 10px 22px #17a05d40; }
.appSheet .try { width: 100%; padding: 12px; border-radius: 999px; border: 2px solid #2e63e0; background: #fff; color: #2e63e0; font: 800 .98rem Lato, system-ui, sans-serif; cursor: pointer; }
.appSheet .sub, .appSheet > p:not(.by) { justify-self: stretch; text-align: left; } .appSheet .storeGrid { justify-self: stretch; }
.mine { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 16px; } .mine button { width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; } .mine i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #2e63e0; color: #fff; } .mine i svg { width: 56%; height: 56%; }
.tabbar { position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30; width: min(94vw, 460px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px; border-radius: 26px; background: #ffffffee; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 34px #081c5033, 0 0 0 1px #081c5012; }
.tabbar button { display: grid; justify-items: center; gap: 2px; padding: 4px 0; border: 0; background: none; color: #7a869f; font: 700 .78rem Lato, system-ui, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s, transform .15s; }
.tabbar svg { width: 26px; height: 26px; fill: currentColor; } .tabbar button.on { color: #2e63e0; } .tabbar button.on svg { transform: translateY(-2px) scale(1.12); transition: transform .25s cubic-bezier(.3, 1.7, .5, 1); } .tabbar button:active { transform: scale(.9); }
body.landing .tabbar, body.kiosk .tabbar, body.guest .tabbar { display: none; }
body:not(.landing):not(.kiosk):not(.guest) > main { padding-bottom: 104px; }
.screen img.mascImg { position: static; inset: auto; width: 100%; height: 100%; }
.storeHead > div { min-width: 0; }

/* ---------- Éducation Beya ---------- */
.edu { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; gap: 3cqw; background: radial-gradient(circle at 50% 20%, #ffb45c, #e0631a 60%, #8a3206); color: #fff; text-align: center; overflow: hidden; }
.edu.e-couleurs { background: radial-gradient(circle at 50% 20%, #3f5fd6, #17226b 70%); }
.eduStars { position: absolute; top: 9cqw; left: 50%; transform: translateX(-50%); padding: 1cqw 4cqw; border-radius: 99px; background: #0003; font-size: 4.6cqw; font-weight: 800; color: #ffe14a; }
.edu small { font-size: 4.6cqw; font-weight: 700; opacity: .9; margin-top: 6cqw; }
.eduAsk { font-size: 20cqw; line-height: 1; font-weight: 900; text-shadow: 0 1cqw 0 #0003; animation: bubblePop .4s cubic-bezier(.3, 1.6, .5, 1); margin-top: 6cqw; } .eduAsk.word { font-size: 13cqw; margin-top: 0; text-transform: uppercase; }
.eduChoices { display: flex; gap: 3.4cqw; margin-top: 3cqw; }
.eduChoices button { width: 20cqw; height: 20cqw; border-radius: 50%; border: .9cqw solid #fff; background: #fff; color: #14224f; font-size: 9cqw; font-weight: 900; box-shadow: 0 1.4cqw 0 #0004; display: grid; place-items: center; padding: 0; animation: tileIn .4s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.eduChoices button:nth-child(2) { animation-delay: .07s; } .eduChoices button:nth-child(3) { animation-delay: .14s; } .eduChoices button:nth-child(4) { animation-delay: .21s; } .e-couleurs .eduChoices button { width: 17cqw; height: 17cqw; }
.eduChoices button:active { transform: translateY(1cqw); box-shadow: 0 .4cqw 0 #0004; }
.eduChoices .yes { background: #22c55e !important; color: #fff; animation: heroBoing .6s cubic-bezier(.3, 1.7, .5, 1); box-shadow: 0 0 6cqw #22c55e; } .eduChoices .no { animation: eduNo .4s; } @keyframes eduNo { 25% { transform: translateX(-2cqw); } 75% { transform: translateX(2cqw); } }
.edu .confetti u { width: 2.4cqw; height: 2.4cqw; }
.eduBoard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; } .eduBoard div { display: grid; justify-items: center; padding: 12px 6px; border-radius: 18px; background: linear-gradient(#fff7e8, #ffe9c4); border: 2px solid #ffd58a; } .eduBoard b { font-size: 1.5rem; color: #b45309; } .eduBoard span { font-size: .8rem; color: #7c4a03; font-weight: 700; }
.shots { display: flex; gap: 10px; overflow-x: auto; justify-self: stretch; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; } .shots::-webkit-scrollbar { display: none; }
.shots img { flex: 0 0 46%; width: 46%; max-width: 46%; min-width: 0; height: auto; border-radius: 18px; scroll-snap-align: start; box-shadow: 0 8px 18px #1b2f6a26; animation: tileIn .5s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i) * 90ms); }
.appIcon img[src^="shots/"] { transform: scale(1.02); }

/* Accueil : les autres applications restent visibles, avec un petit « + » */
.apps.discover button { position: relative; background: #f6f9ff; border-style: dashed; border-color: #cfdcf8; }
.apps.discover i { opacity: .92; }
.apps.discover u { position: absolute; right: 10px; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #2e63e0; color: #fff; font: 800 1rem/1 Lato, system-ui, sans-serif; text-decoration: none; box-shadow: 0 0 0 3px #fff, 0 4px 10px #2e63e055; }
.apps.discover i:not(.c-masc) { width: 78px; height: 78px; border-radius: 22px; }

/* ---------- Sécurité : contrôle parental ---------- */
.secEye { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2.4cqw; padding: 12cqw; text-align: center; background: radial-gradient(circle at 50% 30%, #1c3a8a, #060b1e 76%); }
.secEye i { width: 34cqw; height: 34cqw; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1cqw #2e8bff, 0 0 8cqw #2e8bff88; animation: heroFloat 3s ease-in-out infinite alternate; } .secEye b { font-size: 8cqw; line-height: 1.1; } .secEye small { font-size: 4.4cqw; opacity: .85; }
.pin { display: flex; gap: 10px; margin: 14px 0; } .pin input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 16px; border: 2px solid #d9e3fb; background: #fff; font: 800 1.5rem Lato, system-ui, sans-serif; letter-spacing: .5em; text-align: center; color: #14224f; -webkit-text-security: disc; }
.pin input:focus { outline: none; border-color: #2e63e0; } .pin.no { animation: eduNo .4s; }
.switch { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px; margin: 10px 0; border-radius: 18px; background: #fff; border: 2px solid #dfe8fb; cursor: pointer; } .switch input { width: 22px; height: 22px; margin-top: 2px; accent-color: #2e63e0; }
.switch b { display: block; color: #14224f; } .switch small { display: block; color: #55668c; font-size: .86rem; line-height: 1.3; }
.secApps { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; } .secApps li { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 18px; background: #fff; border: 1px solid #dfe8fb; }
.secApps i:not(.tog i) { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; } .secApps i svg { width: 56%; height: 56%; } .secApps b { color: #14224f; }
.tog { position: relative; width: 52px; height: 30px; cursor: pointer; } .tog input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.tog i { position: absolute; inset: 0; width: auto !important; height: auto !important; border-radius: 999px !important; background: #cfd8ea; transition: background .2s; } .tog i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px #0003; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.tog input:checked + i { background: #17a05d; } .tog input:checked + i::after { transform: translateX(22px); }

/* ---------- Cadrage : sur téléphone, l'œil agrandi devient un bandeau plein, le contenu passe proprement dessous ---------- */
@media (max-width: 700px) {
  body:not(.kiosk) .stage.eyeView { top: 0; margin: -8px -16px 0; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 12px; border: 0; border-radius: 0 0 30px 30px; background: #eaf1ff; box-shadow: 0 14px 26px -14px rgba(8, 28, 80, .4); }
  body:not(.kiosk) .stage.eyeView .plushBox { max-width: min(100%, 34svh); margin: 0 auto; }
}
body:not(.landing):not(.kiosk):not(.guest) > .foot { display: none; }

/* ---------- Accueil : chiffres du jour, histoires, humeurs, porte du Store ---------- */
.statRow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 6px; }
.statRow button { display: grid; justify-items: center; gap: 2px; padding: 12px 4px; border-radius: 18px; border: 2px solid #dfe8fb; background: linear-gradient(#fff, #f3f7ff); color: #14224f; cursor: pointer; box-shadow: 0 6px 14px #1b2f6a12, inset 0 -3px 0 #dfe8fb; animation: tileIn .5s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.statRow button:nth-child(2) { animation-delay: .07s; } .statRow button:nth-child(3) { animation-delay: .14s; } .statRow button:active { transform: translateY(2px); }
.statRow b { font: 900 1.45rem/1.1 Lato, system-ui, sans-serif; color: #2e63e0; } .statRow button:first-child b { color: #e08a00; } .statRow span { font-size: .78rem; font-weight: 700; color: #55668c; }
.storyRow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; }
.storyRow button { display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border: 0; border-radius: 22px; background: linear-gradient(160deg, #272c78, #0b1038); color: #fff; cursor: pointer; box-shadow: 0 10px 20px #14224f33; animation: tileIn .5s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i) * 80ms); }
.storyRow button:active { transform: scale(.95); } .storyRow .storyThumb { width: 100%; max-width: 86px; height: auto; aspect-ratio: 1; } .storyRow b { font: 700 .8rem/1.2 Lato, system-ui, sans-serif; text-align: center; }
.moods { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 12px; margin: 6px -6px; scrollbar-width: none; scroll-snap-type: x proximity; } .moods::-webkit-scrollbar { display: none; }
.moods button { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #14224f; font: 700 .8rem Lato, system-ui, sans-serif; cursor: pointer; scroll-snap-align: start; }
.moods img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #2e63e0, 0 8px 16px #1b2f6a30; animation: heroFloat 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.4s); } .moods button:active img { transform: scale(.9); }
.storeBanner { width: 100%; display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px; margin: 10px 0 16px; padding: 12px 16px 12px 12px; border: 0; border-radius: 24px; text-align: left; color: #fff; cursor: pointer; background: linear-gradient(135deg, #2e63e0, #14224f); box-shadow: 0 12px 26px #14224f40; }
.storeBanner img { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; animation: heroFloat 3s ease-in-out infinite alternate; } .storeBanner b { display: block; font-size: 1.2rem; } .storeBanner small { display: block; opacity: .9; font-size: .88rem; } .storeBanner small i { font-style: normal; font-weight: 800; } .storeBanner em { font-style: normal; font-size: 1.8rem; opacity: .8; } .storeBanner:active { transform: scale(.98); }
.appsPage { margin: 12px 0 4px; } .appsPage em { font-style: normal; color: #2e63e0; }

/* ---------- Accueil : une vidéo joue dans l'œil d'une peluche ---------- */
.tryBear { margin: 10px 0 6px; } .bearBox { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 34px #1464e62e, 0 0 0 1px #081c5010; }
.bearBox { aspect-ratio: 550 / 600; } .bearBox > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bearEye { position: absolute; left: 33.1%; top: 28.8%; width: 34.5%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: #03060f; cursor: zoom-in; box-shadow: inset 0 0 0 2px #0b1a44; }
.bearEye video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.tryBear .chips { margin-top: 8px; } .screen video.clipBig { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Page de démo : la peluche se touche, l'œil ouvre l'application */
a.l-bear { display: block; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; } a.l-bear:active { transform: scale(.985); }
.l-tap { position: absolute; right: 4%; top: 4%; padding: 9px 14px; border-radius: 999px; background: #fff; color: #1464e6; font: 800 .86rem/1 Lato, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 10px 24px rgba(8, 28, 80, .35); animation: lTap 1.8s ease-in-out infinite; z-index: 3; }
.l-tap::before { content: "👆"; margin-right: 6px; } @keyframes lTap { 50% { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(8, 28, 80, .3); } }
@media (prefers-reduced-motion: reduce) { .l-tap { animation: none; } }
.l-visual .chip { pointer-events: none; }

/* Émotions : des points clairs à toucher sur Noah, avec leur nom, à la place des pointillés */
.touchWrap { position: relative; justify-self: center; width: 100%; max-width: 300px; }
.tryMe { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); z-index: 2; padding: 8px 16px 8px 14px; border-radius: 999px; background: #2e63e0; color: #fff; font: 800 .95rem/1 Lato, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 8px 18px #2e63e055; animation: tryMe 1.6s ease-in-out infinite; pointer-events: none; }
.tryMe::before { content: "👆"; margin-right: 6px; } @keyframes tryMe { 50% { transform: translateX(-50%) translateY(-5px) scale(1.05); } }
.touchBear.photo.pins [data-lab] { stroke: none; fill: rgba(255, 255, 255, 0); } .touchBear.photo.pins [data-lab]:hover { fill: rgba(255, 255, 255, .12); }
.touchBear.photo.pins [data-lab].on { fill: rgba(255, 160, 80, .3); stroke: none; }
.pin .halo { fill: #2e63e0; opacity: .35; transform-box: fill-box; transform-origin: center; animation: pinHalo 1.8s ease-out infinite; }
.pin .dot { fill: #2e63e0; stroke: #fff; stroke-width: 4; } .pin .plus { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; fill: none; }
.pin rect { fill: #fff; filter: drop-shadow(0 3px 5px rgba(8, 28, 80, .3)); } .pin text { font: 800 21px Lato, system-ui, sans-serif; fill: #14224f; }
.pin.on .dot, .pin.on .halo { fill: #ff8a4c; } .pin.on rect { fill: #ff8a4c; } .pin.on text { fill: #fff; }
@keyframes pinHalo { 0% { transform: scale(.7); opacity: .6; } 100% { transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tryMe, .pin .halo { animation: none; } }
.touchBear.photo.pins .pin.on { animation: none; stroke: none; fill: none; } .pin text, .pin rect { stroke: none; }
.touchWrap { margin-top: 22px; }
/* Étiquettes bleu ciel et rond + qui clignote */
.pin rect { fill: #5cc8ff; } .pin text { fill: #06224a; }
.pin .dot, .pin .halo { fill: #5cc8ff; } .pin .plus { stroke: #06224a; }
.pin .dot, .pin .plus { animation: pinBlink 1.1s ease-in-out infinite; } @keyframes pinBlink { 50% { opacity: .25; } }
.pin.on .dot, .pin.on .halo, .pin.on rect { fill: #ff8a4c; } .pin.on text { fill: #fff; } .pin.on .plus { stroke: #fff; } .pin.on .dot, .pin.on .plus { animation: none; }
.tryMe { background: #5cc8ff; color: #06224a; box-shadow: 0 8px 18px #5cc8ff66; }
@media (prefers-reduced-motion: reduce) { .pin .dot, .pin .plus { animation: none; } }
/* Aperçu de l'émotion dans l'œil de Noah + cœur qui bat sur la poitrine */
.eyeLive { animation: eyeLive .35s ease-out; transform-box: fill-box; transform-origin: center; } @keyframes eyeLive { from { opacity: 0; transform: scale(.8); } }
.eyeSay text { font: 800 20px Lato, system-ui, sans-serif; fill: #06224a; } .eyeSay rect { filter: drop-shadow(0 3px 5px rgba(8, 28, 80, .3)); }
.pin.heart .beat { fill: #ff3d6e; stroke: #fff; stroke-width: 4; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: heartBeat var(--t, 1s) ease-in-out infinite; filter: drop-shadow(0 3px 6px rgba(255, 61, 110, .55)); }
.pin.heart .halo { fill: #ff3d6e; } @keyframes heartBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.28); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .pin.heart .beat, .eyeLive { animation: none; } }
/* Direction artistique « toucher » : marine + blanc, bleu ciel pour inviter, corail réservé au cœur */
.tryMe { background: #14224f; color: #fff; box-shadow: 0 8px 18px rgba(20, 34, 79, .3); }
.pin rect { fill: rgba(255, 255, 255, .94); } .pin text { fill: #14224f; }
.pin .dot { fill: #5cc8ff; stroke: #fff; } .pin .halo { fill: #5cc8ff; } .pin .plus { stroke: #14224f; }
.pin.on rect { fill: #14224f; } .pin.on text { fill: #fff; } .pin.on .dot { fill: #14224f; } .pin.on .plus { stroke: #fff; } .pin.on .halo { fill: #14224f; }
.pin.heart .beat, .pin.heart .halo, .pin.heart.on .halo { fill: #ff5d73; } .pin.heart .beat { filter: drop-shadow(0 3px 6px rgba(255, 93, 115, .45)); }
.touchBear.photo.pins [data-lab].on { fill: rgba(255, 255, 255, .14); }
.eyeSay rect { fill: rgba(255, 255, 255, .94) !important; } .eyeSay text { fill: #14224f; }
/* La zone touchée s'allume un court instant puis redevient comme les autres (plus d'étiquette qui reste bleue) */
.pin.on rect { fill: rgba(255, 255, 255, .94); animation: pinFlashBg 1.6s ease-out; } .pin.on text { fill: #14224f; animation: pinFlashTx 1.6s ease-out; }
.pin.on .dot { fill: #5cc8ff; animation: pinBlink 1.1s ease-in-out 1.6s infinite; } .pin.on .plus { stroke: #14224f; animation: pinBlink 1.1s ease-in-out 1.6s infinite; } .pin.on .halo { fill: #5cc8ff; }
.pin.heart.on .halo { fill: #ff5d73; }
@keyframes pinFlashBg { 0%, 60% { fill: #14224f; } } @keyframes pinFlashTx { 0%, 60% { fill: #fff; } }
/* En attente : iris néon + mascotte de l'application au centre */
.say.assist.media::after { background: radial-gradient(circle, #030814f2 0 30%, #03081480 40%, transparent 52%); }
.say.assist.media > span { max-width: 50cqw; display: grid; justify-items: center; font-size: 4.6cqw; line-height: 1.2; }
.say.assist.media small { font-size: 3.6cqw; margin: 2cqw 0 .6cqw; }
.screen img.mediaMasc { position: static; width: 30cqw; height: 30cqw; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .7cqw #fff3, 0 0 6cqw #2e8bff99; animation: mediaBob 3s ease-in-out infinite; }
@keyframes mediaBob { 50% { transform: translateY(-1.6cqw); } } @media (prefers-reduced-motion: reduce) { .screen img.mediaMasc { animation: none; } }
/* Barre d'onglets : icônes bicolores maison (maison, tuiles + œil, sac qui sourit, ourson à un œil), une couleur par onglet quand il est actif */
.tabbar { padding: 7px 6px 6px; }
.tabbar button { --c: #2e63e0; position: relative; gap: 3px; padding: 3px 0 2px; color: #8a93ab; font-size: .74rem; letter-spacing: .01em; }
.tabbar button[data-tab="apps"] { --c: #7c5cf5; } .tabbar button[data-tab="store"] { --c: #f2783c; } .tabbar button[data-tab="profile"] { --c: #12a594; }
.tabbar button::before { content: ""; position: absolute; top: 0; left: 50%; width: 58px; height: 36px; margin-left: -29px; border-radius: 18px; background: color-mix(in srgb, var(--c) 15%, #fff); transform: scale(.3); opacity: 0; transition: transform .28s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.tabbar svg { position: relative; width: 28px; height: 28px; margin: 4px 0; fill: none; transition: transform .28s cubic-bezier(.3, 1.6, .5, 1); }
.tabbar svg .t { fill: currentColor; opacity: .24; } .tabbar svg .s { fill: currentColor; } .tabbar svg .w { fill: #fff; } .tabbar svg .l { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabbar button span { position: relative; }
.tabbar button.on { color: var(--c); } .tabbar button.on::before { transform: scale(1); opacity: 1; } .tabbar button.on svg { transform: scale(1.08); } .tabbar button.on span { font-weight: 900; }
.tabbar button.on svg .t { opacity: .32; }
@media (prefers-reduced-motion: reduce) { .tabbar button::before, .tabbar svg { transition: none; } }
/* Barre d'onglets : les quatre icônes illustrées (maison aux ballons, grille d'apps, vendeur du Store, guitariste) */
.tabbar { padding: 8px 6px 7px; border-radius: 30px; }
.tabbar button::before { display: none; }
.tabbar button img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; display: block; margin: 0 0 1px; box-shadow: 0 4px 10px rgba(8, 28, 80, .16); opacity: .82; filter: saturate(.85); transform: scale(.88); transition: transform .28s cubic-bezier(.3, 1.6, .5, 1), opacity .2s, filter .2s, box-shadow .2s; }
.tabbar button[data-tab="home"] img { border-radius: 0; box-shadow: none; filter: saturate(.85) drop-shadow(0 3px 5px rgba(8, 28, 80, .2)); }
.tabbar button.on img { opacity: 1; filter: none; transform: scale(1.06) translateY(-2px); box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px var(--c), 0 8px 16px color-mix(in srgb, var(--c) 40%, transparent); }
.tabbar button[data-tab="home"].on img { box-shadow: none; filter: drop-shadow(0 5px 8px rgba(46, 99, 224, .45)); transform: scale(1.14) translateY(-2px); }
.tabbar button.on span { font-weight: 900; }
@media (prefers-reduced-motion: reduce) { .tabbar button img { transition: none; } }
/* Icônes d'onglets plus grandes, pour voir les détails */
.tabbar { width: min(96vw, 480px); padding: 9px 4px 7px; }
.tabbar button img { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 2px; transform: scale(.92); }
.tabbar button[data-tab="home"] img { width: 66px; height: 66px; margin: -4px 0 0; }
.tabbar button.on img { transform: scale(1.04) translateY(-2px); } .tabbar button[data-tab="home"].on img { transform: scale(1.1) translateY(-2px); }
.tabbar button { font-size: .78rem; }
body:not(.landing):not(.kiosk):not(.guest) > main { padding-bottom: 128px; }
/* Barre d'onglets ancrée tout en bas, pleine largeur et opaque : plus de contenu visible dessous ni autour */
.tabbar { left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none; border-radius: 22px 22px 0 0; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 8px max(6px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-right, 0px)); box-shadow: 0 -6px 22px rgba(8, 28, 80, .12), 0 -1px 0 #e3e9f6; }
.tabbar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 120px; background: #fff; }
body:not(.landing):not(.kiosk):not(.guest) > main { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
/* Écran de bienvenue (création du compte) : accueil chaleureux */
.storeEye.welcome { background: radial-gradient(circle at 50% 38%, #2a4fd0, #0a1140 62%, #050720); gap: 1.6cqw; overflow: hidden; }
.welRing { position: absolute; inset: -3%; background: url(neon.webp) center / cover no-repeat; opacity: .55; animation: assistTurn 40s linear infinite; mix-blend-mode: screen; }
.storeEye.welcome > .welFace { position: relative; width: 36cqw; height: 36cqw; animation: welWave 2.4s ease-in-out infinite; box-shadow: 0 0 0 1cqw #fff, 0 0 0 2cqw #5cc8ff, 0 0 10cqw #5cc8ffaa !important; }
.storeEye.welcome b { position: relative; font-size: 9cqw; font-weight: 900; text-shadow: 0 0 5cqw #5cc8ff99; animation: welPop .6s cubic-bezier(.3, 1.6, .5, 1) both .15s; } .storeEye.welcome small { position: relative; font-size: 4.6cqw; opacity: .9; }
.welSpark { position: absolute; inset: 0; pointer-events: none; } .welSpark u { position: absolute; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #ffd966; box-shadow: 0 0 3cqw #ffd966; animation: welTwinkle 2.6s ease-in-out infinite; }
.welSpark u:nth-child(1) { left: 16%; top: 30%; } .welSpark u:nth-child(2) { left: 80%; top: 26%; animation-delay: -.5s; background: #ff8fb3; box-shadow: 0 0 3cqw #ff8fb3; } .welSpark u:nth-child(3) { left: 24%; top: 66%; animation-delay: -1s; background: #7fe0ff; box-shadow: 0 0 3cqw #7fe0ff; }
.welSpark u:nth-child(4) { left: 74%; top: 68%; animation-delay: -1.4s; } .welSpark u:nth-child(5) { left: 50%; top: 12%; animation-delay: -.8s; background: #7fe0ff; box-shadow: 0 0 3cqw #7fe0ff; } .welSpark u:nth-child(6) { left: 10%; top: 50%; animation-delay: -1.9s; background: #ff8fb3; box-shadow: 0 0 3cqw #ff8fb3; }
.welSpark u:nth-child(7) { left: 88%; top: 48%; animation-delay: -2.2s; } .welSpark u:nth-child(8) { left: 36%; top: 84%; animation-delay: -.3s; } .welSpark u:nth-child(9) { left: 64%; top: 86%; animation-delay: -1.2s; background: #ff8fb3; box-shadow: 0 0 3cqw #ff8fb3; }
@keyframes welWave { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-2.4cqw) rotate(4deg); } } @keyframes welPop { from { transform: scale(.4); opacity: 0; } } @keyframes welTwinkle { 0%, 100% { transform: scale(.4); opacity: .25; } 50% { transform: scale(1.2); opacity: 1; } }
.welHero { position: relative; margin: 12px 0 14px; padding: 58px 18px 18px; border-radius: 26px; text-align: center; color: #fff; background: radial-gradient(circle at 20% 0%, #5aa2ff 0, transparent 46%), radial-gradient(circle at 90% 20%, #8a6bff 0, transparent 42%), linear-gradient(160deg, #2757e6, #14224f); box-shadow: 0 16px 34px rgba(20, 60, 160, .3); }
.welFaces { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); display: flex; } .welFaces img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(8, 28, 80, .3); margin: 0 -9px; animation: heroFloat 2.8s ease-in-out infinite alternate; }
.welFaces img:nth-child(2) { width: 98px; height: 98px; margin-top: -10px; z-index: 1; animation-delay: -.9s; } .welFaces img:nth-child(3) { animation-delay: -1.7s; }
.welHero h2 { margin: 0 0 6px; color: #fff; font-size: 1.5rem; line-height: 1.15; } .welHero h2 em { font-style: normal; color: #ffd966; display: block; font-size: 1.85rem; } .welHero p { margin: 0 0 14px; color: #dbe6ff; font-size: 1rem; }
.welPerks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; } .welPerks li { display: grid; justify-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 18px; background: rgba(255, 255, 255, .13); font-weight: 800; font-size: .8rem; line-height: 1.15; color: #fff; }
.welPerks i.c-masc { width: 50px; height: 50px; display: block; }
.steps.welSteps { justify-content: center; margin: 4px 0 12px; } .steps.welSteps b { font-size: .82rem; color: #5b6a8c; font-weight: 800; margin: 0 2px 0 -2px; } .steps.welSteps i.on + b { color: #2e63e0; }
.account.welForm { gap: 14px; padding: 18px 16px; border-radius: 24px; background: #fff; box-shadow: 0 10px 26px rgba(8, 28, 80, .1), 0 0 0 1px #e3e9f6; } .account.welForm label { font-size: 1.02rem; } .account.welForm input:not([type=checkbox]) { padding: 15px 18px; border-radius: 18px; background: #f5f8ff; font-size: 1.05rem; }
.account.welForm label.check { align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #f5f8ff; font-size: .95rem; } .account.welForm label.check input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: #2e63e0; }
.account.welForm .btn.welGo { position: relative; justify-self: stretch; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 20px; border-radius: 20px; font-size: 1.2rem; font-weight: 900; background: linear-gradient(120deg, #ff8a3d, #ff4d8d 55%, #8a5cf6); box-shadow: 0 12px 26px rgba(255, 77, 141, .38); overflow: hidden; animation: welBeat 2.2s ease-in-out infinite; }
.welGo svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; } .welGo::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, #fff8, transparent); animation: welShine 2.8s ease-in-out infinite; }
@keyframes welBeat { 50% { transform: scale(1.025); } } @keyframes welShine { 0%, 55% { left: -40%; } 100% { left: 120%; } }
.welNote { margin: 12px 4px 0; font-size: .8rem; line-height: 1.4; color: #7684a6; text-align: center; }
@media (prefers-reduced-motion: reduce) { .welRing, .welFace, .welSpark u, .welFaces img, .welGo, .welGo::after, .storeEye.welcome b { animation: none !important; } }
.welHero { margin-top: 54px; } .steps.welSteps { gap: 5px; } .steps.welSteps b { white-space: nowrap; font-size: .78rem; } .steps.welSteps u { min-width: 10px; }
/* Messages dans l'œil : iris néon + mascotte de l'application pour toutes les applications (plus d'iris sombre et vide) */
.say.assist.media.long > span { max-width: 60cqw; font-size: 3.7cqw; } .say.assist.media.long .mediaMasc { width: 21cqw; height: 21cqw; } .say.assist.media.long::after { background: radial-gradient(circle, #030814f5 0 42%, #030814b0 58%, transparent 74%); }
.say.assist.m-face::before, .say.assist.m-photo::before { filter: hue-rotate(-25deg) saturate(1.2); } .say.assist.m-memory::before { filter: hue-rotate(40deg) saturate(1.1); } .say.assist.m-esim::before, .say.assist.m-weather::before { filter: hue-rotate(-50deg) saturate(1.25); } .say.assist.m-call::before { filter: hue-rotate(-90deg) saturate(1.1); }
/* Météo en attente : un petit ciel animé (soleil, nuages, collines) à la place de l'iris */
.skyAsk { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; text-align: center; background: linear-gradient(#3aa0ff, #8fd3ff 58%, #d8f1ff); }
.skyAsk .sun { position: absolute; right: 14%; top: 12%; width: 22cqw; height: 22cqw; border-radius: 50%; background: radial-gradient(circle, #fff6b0, #ffd23d 62%); box-shadow: 0 0 0 4cqw #ffe36a55, 0 0 0 9cqw #ffe36a2b, 0 0 14cqw #ffd23d; animation: sunPulse 3.4s ease-in-out infinite; }
.skyAsk .cl { position: absolute; height: 8cqw; width: 24cqw; border-radius: 99px; background: #fff; box-shadow: 6cqw -4cqw 0 1cqw #fff, 13cqw -1.5cqw 0 -.5cqw #fff; opacity: .95; animation: cloudDrift 16s linear infinite; }
.skyAsk .c1 { top: 22%; left: -30%; } .skyAsk .c2 { top: 36%; left: -30%; transform: scale(.7); animation-duration: 23s; animation-delay: -9s; opacity: .85; } .skyAsk .c3 { top: 13%; left: -30%; transform: scale(.55); animation-duration: 29s; animation-delay: -17s; opacity: .8; }
.skyAsk .hill { position: absolute; bottom: -34cqw; width: 90cqw; height: 60cqw; border-radius: 50%; } .skyAsk .h1 { left: -22%; background: #58c96b; } .skyAsk .h2 { right: -26%; bottom: -38cqw; background: #3fae58; }
.skyAsk > span { position: relative; display: grid; justify-items: center; gap: 1cqw; margin-top: 8cqw; color: #0d2a5c; }
.screen .skyAsk img.mediaMasc { width: 34cqw; height: 34cqw; box-shadow: 0 0 0 1cqw #fff, 0 3cqw 7cqw rgba(13, 42, 92, .35); }
.skyAsk small { font-size: 3.8cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-top: 2cqw; opacity: .8; } .skyAsk b { font-size: 6.2cqw; font-weight: 900; max-width: 70cqw; line-height: 1.15; padding: 1.4cqw 4cqw; border-radius: 6cqw; background: #ffffffd9; }
@keyframes sunPulse { 50% { transform: scale(1.08); } } @keyframes cloudDrift { to { left: 120%; } }
/* Encadrés « démonstration » : une note discrète au lieu d'un gros bloc jaune */
#panel .notice { background: #f5f8ff; border: 0; border-left: 4px solid #ffc94d; border-radius: 12px; padding: 9px 12px; color: #5b6a8c; font-size: .84rem; line-height: 1.4; } #panel .notice b, #panel .notice strong { color: #14224f; }
/* Formulaires : champs plus grands et plus doux, comme sur l'écran de bienvenue */
#panel form.stack input, #panel form.line input, #panel form.stack select, #panel form.stack textarea, #panel .stack textarea { padding: 15px 18px; border-radius: 18px; border: 2px solid #d9e3fb; background: #f5f8ff; font-size: 1.02rem; color: #14224f; transition: border-color .2s, background .2s; }
#panel form.line input { border-radius: 18px; } #panel form.stack input:focus, #panel form.line input:focus, #panel form.stack textarea:focus { outline: none; border-color: #2e63e0; background: #fff; }
#panel form.stack { gap: 10px; } #panel form.stack .btn, #panel form.line .btn { padding: 14px 22px; border-radius: 18px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .skyAsk .sun, .skyAsk .cl { animation: none; } .skyAsk .c1 { left: 8%; } .skyAsk .c2 { left: 60%; } }
/* Assistant : sa mascotte dans l'œil */
.say.assist.m-chat::before { filter: none; }
/* L'univers BeyaBear's : la galaxie dans l'œil et le récit */
.galaxy { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 46%, #2a2f8f, #0a0b33 55%, #03031a); }
.galaxy .stars { position: absolute; inset: 0; background: radial-gradient(1px 1px at 12% 22%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 78% 16%, #fff 99%, transparent), radial-gradient(1px 1px at 30% 80%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 88% 70%, #ffe9a8 99%, transparent), radial-gradient(1px 1px at 58% 8%, #fff 99%, transparent), radial-gradient(1px 1px at 8% 60%, #bfe3ff 99%, transparent), radial-gradient(1.5px 1.5px at 66% 90%, #fff 99%, transparent), radial-gradient(1px 1px at 42% 34%, #fff 99%, transparent); animation: welTwinkle 3s ease-in-out infinite; transform-origin: center; }
.galaxy .orbit { position: absolute; left: 50%; top: 46%; border: .4cqw dashed #ffffff33; border-radius: 50%; transform: translate(-50%, -50%); } .galaxy .o1 { width: 56cqw; height: 56cqw; } .galaxy .o2 { width: 84cqw; height: 84cqw; }
.galaxy .pl { position: absolute; left: 50%; top: 46%; width: 9cqw; height: 9cqw; margin: -4.5cqw; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #fff9, transparent 42%), var(--c); box-shadow: 0 0 4cqw var(--c); animation: plOrbit 14s linear infinite; }
.galaxy .p0 { --r: 28cqw; } .galaxy .p1 { --r: 28cqw; animation-delay: -4.7s; } .galaxy .p2 { --r: 28cqw; animation-delay: -9.3s; } .galaxy .p3 { --r: 42cqw; animation-duration: 22s; width: 7cqw; height: 7cqw; } .galaxy .p4 { --r: 42cqw; animation-duration: 22s; animation-delay: -7.3s; width: 11cqw; height: 11cqw; } .galaxy .p5 { --r: 42cqw; animation-duration: 22s; animation-delay: -14.6s; }
@keyframes plOrbit { from { transform: rotate(0) translateX(var(--r)) rotate(0); } to { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); } }
.galaxy .core { position: relative; margin-top: -8cqw; } .screen .galaxy img.mediaMasc { width: 30cqw; height: 30cqw; box-shadow: 0 0 0 .8cqw #fff, 0 0 9cqw #7fb0ff; }
.galaxy b { position: absolute; left: 0; right: 0; bottom: 13%; font-size: 5.2cqw; font-weight: 900; text-shadow: 0 0 4cqw #7fb0ff; }
.legendCard { display: flex; align-items: center; gap: 14px; width: 100%; margin: 4px 0 14px; padding: 14px 16px; border: 0; border-radius: 22px; color: #fff; text-align: left; font: inherit; cursor: pointer; background: radial-gradient(circle at 12% 20%, #6a5cff 0, transparent 46%), linear-gradient(120deg, #1c1f6b, #070824); box-shadow: 0 12px 26px rgba(28, 31, 107, .35); }
.legendCard b { display: block; font-size: 1.1rem; font-weight: 900; } .legendCard small { display: block; opacity: .82; font-size: .86rem; margin-top: 2px; } .legendCard > span:nth-child(2) { flex: 1; } .legendCard em { font-style: normal; font-size: 1.6rem; opacity: .8; }
.legOrb { position: relative; width: 54px; height: 54px; flex: none; border-radius: 50%; border: 2px dashed #ffffff55; animation: assistTurn 12s linear infinite; } .legOrb i { position: absolute; width: 14px; height: 14px; border-radius: 50%; } .legOrb i:nth-child(1) { top: -7px; left: 20px; background: #ff9a3d; box-shadow: 0 0 10px #ff9a3d; } .legOrb i:nth-child(2) { bottom: 0; left: -3px; background: #ff5fa2; box-shadow: 0 0 10px #ff5fa2; } .legOrb i:nth-child(3) { bottom: 2px; right: -4px; background: #4fd0e6; box-shadow: 0 0 10px #4fd0e6; }
.legend h2 { font-size: 1.7rem; line-height: 1.12; margin: 10px 0 8px; } .legend .legLead { font-size: 1.04rem; color: #3b4d7c; margin: 0 0 6px; }
.legend section { margin-top: 20px; padding: 18px 16px; border-radius: 22px; background: #f5f8ff; } .legend section h3 { margin: 0 0 6px; font-size: 1.2rem; color: #14224f; } .legend section p { margin: 0; color: #3b4d7c; line-height: 1.5; }
.legend .legPic { float: right; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: -4px 0 6px 12px; border: 4px solid #fff; box-shadow: 0 6px 14px rgba(8, 28, 80, .2); }
.planets { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .planets li { display: grid; justify-items: center; gap: 4px; padding: 14px 10px 12px; border-radius: 20px; text-align: center; background: #fff; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 35%, #fff), 0 6px 14px rgba(8, 28, 80, .08); }
.planets i { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; display: block; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c), 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); animation: heroFloat 3s ease-in-out infinite alternate; } .planets li:nth-child(even) i { animation-delay: -1.3s; } .planets img { width: 100%; height: 100%; object-fit: cover; display: block; }
.planets b { margin-top: 6px; font-size: 1.05rem; font-weight: 900; color: var(--c); filter: brightness(.8); } .planets span { font-size: .82rem; line-height: 1.35; color: #5b6a8c; }
.legEmos { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; } .legEmos img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 4px 10px rgba(8, 28, 80, .18); } .legEmos b { display: block; margin-top: 5px; font-size: .78rem; color: #14224f; }
.legend section.legPromise { background: linear-gradient(140deg, #2757e6, #14224f); } .legend section.legPromise h3 { color: #ffd966; } .legend section.legPromise p { color: #e6eeff; }
@media (prefers-reduced-motion: reduce) { .galaxy .pl, .galaxy .stars, .legOrb, .planets i { animation: none; } .galaxy .p1 { transform: rotate(120deg) translateX(var(--r)); } .galaxy .p0 { transform: translateX(var(--r)); } .galaxy .p2 { transform: rotate(240deg) translateX(var(--r)); } }
.screen .galaxy img.mediaMasc { border-radius: 50%; object-fit: cover; position: static; }
.galaxy .core { width: 30cqw; height: 30cqw; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 .8cqw #fff, 0 0 9cqw #7fb0ff; } .screen .galaxy .core img.mediaMasc { width: 100%; height: 100%; box-shadow: none; animation: none; }
/* Accueil : grande scène d'ouverture, Zoé et sa paupière */
.wake { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 28px; overflow: hidden; cursor: pointer; font: inherit; color: #fff; text-align: left; background: radial-gradient(circle at 80% 0%, #6a5cff 0, transparent 50%), linear-gradient(160deg, #1b2a7a, #0a0b33); box-shadow: 0 18px 38px rgba(20, 30, 110, .35); animation: wakeIn .7s cubic-bezier(.2, 1.3, .4, 1) both; }
.wakeStars { position: absolute; inset: 0; background: radial-gradient(1.5px 1.5px at 10% 14%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 30% 8%, #ffe9a8 99%, transparent), radial-gradient(1px 1px at 55% 12%, #fff 99%, transparent), radial-gradient(2px 2px at 88% 20%, #fff 99%, transparent), radial-gradient(1px 1px at 72% 6%, #bfe3ff 99%, transparent), radial-gradient(1.5px 1.5px at 94% 60%, #fff 99%, transparent), radial-gradient(1px 1px at 6% 62%, #fff 99%, transparent); animation: welTwinkle 3s ease-in-out infinite; }
.wakePic { position: relative; display: block; margin: 14px 14px 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 3px #ffffff30; }
.wakePic img { display: block; width: 100%; height: auto; } .wakePic video { position: absolute; left: 37%; top: 28.3%; width: 35.1%; height: 33.5%; border-radius: 50%; object-fit: cover; }
.wakeTxt { position: relative; display: grid; gap: 2px; padding: 14px 18px 18px; } .wakeTxt b { font-size: 1.5rem; font-weight: 900; line-height: 1.15; } .wakeTxt small { font-size: 1rem; color: #cfdaff; }
.wakeTxt em { justify-self: start; margin-top: 8px; padding: 7px 14px; border-radius: 99px; font-style: normal; font-weight: 800; font-size: .86rem; color: #14224f; background: #ffd966; animation: tryMe 1.6s ease-in-out infinite; transform-origin: left center; }
.wakeTxt em { transform: none; } @keyframes wakePulse { 50% { transform: scale(1.06); } } .wakeTxt em { animation: wakePulse 1.6s ease-in-out infinite; }
.wake.boing .wakePic { animation: heroBoing .6s cubic-bezier(.3, 1.7, .5, 1); } @keyframes wakeIn { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@media (prefers-reduced-motion: reduce) { .wake, .wakeStars, .wakeTxt em { animation: none; } }
/* Accueil : c'est Luna qui ouvre l'œil (Zoé reste sur le site) */
.wakePic video { left: 33.56%; top: 25.70%; width: 38.67%; height: 35.20%; }
.wakePic video { left: 33.56%; top: 29.04%; width: 38.67%; height: 39.78%; }
/* Accueil : Enzo, dont la fourrure a la teinte de la paupière */
.wakePic video { left: 37.49%; top: 29.32%; width: 37.30%; height: 38.38%; }
.wakePic video { -webkit-mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); }

/* Traduction en direct pendant un appel. */
.trad { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(20, 100, 230, .07); border: 1px solid rgba(20, 100, 230, .18); display: grid; gap: 8px; }
.trad p { margin: 0; } .trad .row { align-items: center; margin: 0; }
.trad select { font: inherit; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(20, 100, 230, .35); background: #fff; color: inherit; min-height: 44px; }
.tradLine { min-height: 1.4em; font-weight: 600; }
.subs { position: absolute; left: 9%; right: 9%; bottom: 13%; z-index: 3; padding: 2.4cqw 3.4cqw; border-radius: 4cqw; background: rgba(8, 14, 34, .72); color: #fff; font-size: 4.6cqw; line-height: 1.25; font-weight: 600; text-align: center; pointer-events: none; }

/* Compte parent : e-mail puis code à six chiffres (compte.js) */
.compte { display: grid; gap: 10px; margin: 12px 0; justify-items: start; }
.compte label { display: grid; gap: 6px; width: 100%; font-weight: 700; }
.compte input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.compte input[name="code"] { font-size: 1.4rem; letter-spacing: .3em; text-align: center; }
.compte p { margin: 0; }
.favs .who { flex: 1; min-width: 0; padding: 10px 6px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }

/* Messages vidéo et vocaux (messages.js) */
.favs .msgB { flex: 0 0 auto; }
.msgs .btn span { display: grid; gap: 2px; } .msgs .btn small { font-weight: 500; opacity: .75; }
.msgs .dot, body.aMsgs .app[data-go="call"]::after { width: 11px; height: 11px; border-radius: 50%; background: #e0362c; flex: 0 0 auto; }
body.aMsgs .app[data-go="call"] { position: relative; }
body.aMsgs .app[data-go="call"]::after { content: ''; position: absolute; top: 6px; right: 14%; border: 2px solid #fff; }
.msgs .msgOui { flex-wrap: wrap; } .msgs .msgOui span { flex: 1 1 100%; font-weight: 700; } .msgs .msgOui .btn { flex: 0 1 auto; }
.msgLecture video, .msgLecture audio, #msgApercu { width: 100%; max-height: 50vh; border-radius: 16px; background: #000; margin: 8px 0; }
audio#msgApercu, .msgLecture audio { background: none; }
.msgOnde { display: flex; gap: 6px; align-items: center; justify-content: center; height: 80px; }
.msgOnde i { width: 8px; height: 20px; border-radius: 4px; background: var(--green, #1464e6); animation: msgOnde 1s ease-in-out infinite; }
.msgOnde i:nth-child(2) { animation-delay: .15s; } .msgOnde i:nth-child(3) { animation-delay: .3s; } .msgOnde i:nth-child(4) { animation-delay: .45s; } .msgOnde i:nth-child(5) { animation-delay: .6s; }
@keyframes msgOnde { 0%, 100% { height: 16px; } 50% { height: 64px; } }
@media (prefers-reduced-motion: reduce) { .msgOnde i { animation: none; height: 40px; } }

/* Club (club.js) */
.clubPlus { margin: 12px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.clubPlus li { padding-left: 28px; position: relative; font-weight: 700; }
.clubPlus li::before { content: '✓'; position: absolute; left: 4px; color: var(--green, #1464e6); font-weight: 900; }

/* Notifications (notifs.js) */
.notifPas { margin: 8px 0; padding-left: 22px; display: grid; gap: 6px; }

/* Le Fil du cercle (fil.js) */
.c-fil { background: linear-gradient(#ff9d6c, #e0527a); }
.fil { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 14px 0; }
.filCarte { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.filCarte header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.filCarte header small { color: var(--muted); }
.filMedia { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 14px; background: #0c1220; }
.filLegende { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.filGestes { margin: 0; } .filGestes .btn { padding: 9px 14px; font-size: .92rem; }
.filCoeur.on { color: #e0362c; border-color: #e0362c; }
.filAiment { margin: 0; }
.filComs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.filComs li { display: flex; gap: 8px; align-items: center; overflow-wrap: anywhere; } .filComs li span { flex: 1; min-width: 0; }
.filComs .x { color: var(--muted); padding: 4px 10px; font-weight: 700; }
.filCom { display: flex; gap: 8px; min-width: 0; } .filCom .btn { flex: 0 0 auto; padding: 10px 14px; } .filCom input, #filLegende { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
#filLegende { width: 100%; margin: 8px 0; }
.filSignale { outline: 2px solid #e0a52c; outline-offset: 2px; border-radius: 14px; }
.filReglage label { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-weight: 600; }
.filOeil { object-fit: cover; }
body.aFil .app[data-go="fil"], body.aFil .filEntree { position: relative; }
body.aFil .app[data-go="fil"]::after, body.aFil .filEntree::after { content: ''; position: absolute; top: 6px; right: 14%; width: 11px; height: 11px; border-radius: 50%; background: #e0362c; border: 2px solid #fff; }
.cercleReglage { display: flex; gap: 8px; align-items: center; margin: 10px 0; font-weight: 600; }

/* La mascotte s'invite dans l'appel. */
.mascScene { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: 50%; }
.mascScene img { position: absolute; display: block; height: auto; background: none; object-fit: contain; border-radius: 0; inset: auto; filter: drop-shadow(0 1.5cqw 3cqw rgba(0, 0, 0, .45)); }
.mascScene-coucou img { width: 50cqw; left: 22cqw; top: 100%; transform-origin: 50% 100%; animation: mascCoucou 3.4s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes mascCoucou { 0% { transform: translateY(0) rotate(0); } 18% { transform: translateY(-70%) rotate(-5deg); } 32% { transform: translateY(-68%) rotate(6deg); } 46% { transform: translateY(-70%) rotate(-6deg); } 60% { transform: translateY(-68%) rotate(6deg); } 76% { transform: translateY(-69%) rotate(0); } 100% { transform: translateY(0) rotate(0); } }
.mascScene-passe img { width: 46cqw; left: -48cqw; top: 36cqw; animation: mascPasse 5.2s linear both; }
@keyframes mascPasse { 0% { transform: translate(0, 0) rotate(-4deg); } 12% { transform: translate(18cqw, -3cqw) rotate(4deg); } 25% { transform: translate(37cqw, 0) rotate(-4deg); } 37% { transform: translate(56cqw, -3cqw) rotate(4deg); } 50% { transform: translate(75cqw, 0) rotate(-4deg); } 62% { transform: translate(94cqw, -3cqw) rotate(4deg); } 75% { transform: translate(112cqw, 0) rotate(-4deg); } 87% { transform: translate(131cqw, -3cqw) rotate(4deg); } 100% { transform: translate(152cqw, 0) rotate(-4deg); } }
.mascScene-reac img { width: 38cqw; left: 54cqw; top: 100%; animation: mascReac 3.2s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes mascReac { 0% { transform: translateY(0) scale(.8); } 16% { transform: translateY(-82%) scale(1.06); } 30% { transform: translateY(-76%) scale(1); } 44% { transform: translateY(-82%) scale(1.05); } 58% { transform: translateY(-76%) scale(1); } 80% { transform: translateY(-79%) scale(1); } 100% { transform: translateY(0) scale(.8); } }
.mascScene-reac span { position: absolute; left: calc(18cqw + var(--i) * 9cqw); bottom: 34%; font-size: 9cqw; opacity: 0; animation: mascEmoji 2.4s ease-out both; animation-delay: calc(.35s + var(--i) * .12s); }
@keyframes mascEmoji { 0% { opacity: 0; transform: translateY(0) scale(.4) rotate(0); } 15% { opacity: 1; transform: translateY(-6cqw) scale(1.15) rotate(-8deg); } 100% { opacity: 0; transform: translateY(-46cqw) scale(1) rotate(12deg); } }
/* Pendant la traduction, elle tient la pancarte des sous-titres. */
.subs.porte { background: #f6f3ec; color: #14203f; left: 13%; right: 13%; bottom: 12%; box-shadow: 0 1.5cqw 4cqw rgba(0, 0, 0, .4); }
.subs.porte::before { content: ''; position: absolute; left: 50%; bottom: calc(100% - 1.2cqw); width: 30cqw; aspect-ratio: 370 / 280; transform: translateX(-50%); z-index: -1; background: url(masc-tete.webp) center bottom / contain no-repeat; }
.subs.porte::after { content: ''; position: absolute; inset: -1cqw -5.5cqw; background: url(masc-main-g.webp) left center / 9cqw auto no-repeat, url(masc-main-d.webp) right center / 9cqw auto no-repeat; }
.mascBloc .btn { min-height: 44px; } .mascBloc .petitEmoji { font-size: 1.25rem; padding-inline: 16px; }
.mascChoix { display: flex; gap: 8px; align-items: center; } .mascChoix input { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .mascScene { display: none; } }

/* ---------- Messages : la messagerie du cercle (ecrits.js) ---------- */
.ecritsListe { display: grid; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.ecritsLigne { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "rond qui non" "rond qui heure"; align-items: center; gap: 2px 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-align: left; }
.ecritsRond { grid-area: rond; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--green-ink); font-weight: 900; font-size: 1.1rem; }
.ecritsQui { grid-area: qui; display: grid; min-width: 0; } .ecritsQui small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ecritsQui i { font-style: normal; }
.ecritsNon { grid-area: non; justify-self: end; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e0362c; color: #fff; font-style: normal; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.ecritsLigne time { grid-area: heure; justify-self: end; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.ecritsTitre { margin-bottom: 0; }
.ecritsFil { display: flex; flex-direction: column; gap: 10px; max-height: min(52vh, 460px); overflow-y: auto; padding: 10px 8px; margin: 8px 0; }
.ecritsBulle { position: relative; align-self: flex-start; max-width: 84%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--tile); border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.ecritsBulle.moi { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--green); color: var(--green-ink); border-color: transparent; }
.ecritsBulle p { margin: 0; white-space: pre-wrap; }
.ecritsBulle small { display: block; margin-top: 4px; font-size: .72rem; opacity: .75; }
.ecritsBulle > b { display: block; font-size: .78rem; margin-bottom: 2px; opacity: .8; }
.ecritsBulle .x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--muted); border: 1px solid var(--line); font-weight: 700; line-height: 1; }
.ecritsBulle.supprime { opacity: .6; } .ecritsBulle.supprime p { text-decoration: line-through; }
.ecritsOui { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ecritsMedia { display: block; max-width: 100%; border-radius: 12px; }
.ecritsForm { display: flex; gap: 8px; min-width: 0; margin: 8px 0; } .ecritsForm .btn { flex: 0 0 auto; padding: 10px 16px; }
.ecritsForm input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.ecritsAuto { display: block; width: 120px; height: 120px; object-fit: contain; border-radius: 22px; background: #eaf1ff; animation: eoPop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.ecritsMot { font-weight: 700; margin-top: 4px !important; }
.ecritsReagir { position: absolute; bottom: -10px; right: -6px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: #fff; color: var(--muted); border: 1px solid var(--line); font-size: 1rem; line-height: 1; }
.ecritsReagir.pose, .ecritsSigne { animation: eoPop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.ecritsSigne { position: absolute; bottom: -10px; left: -6px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: #fff; border: 1px solid var(--line); font-style: normal; font-size: 1rem; display: grid; place-items: center; }
.ecritsSignes { display: flex; gap: 4px; margin-top: 8px; } .ecritsSignes button { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 1.25rem; line-height: 1; }
.ecritsSignes button.choisi { background: var(--green); border-color: transparent; }
.ecritsBulle:has(.ecritsReagir), .ecritsBulle:has(.ecritsSigne) { margin-bottom: 8px; }
.ecritsAutos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--tile); }
.ecritsAutos[hidden] { display: none; }
.ecritsAutos button { padding: 0; border: 0; background: none; border-radius: 14px; overflow: hidden; aspect-ratio: 1; } .ecritsAutoChoix { display: block; width: 100%; height: 100%; object-fit: contain; background: #eaf1ff; }
.ecritsForm .ecritsAutosBtn { padding: 10px 12px; font-size: 1.15rem; line-height: 1; }
/* Le champ et « Envoyer » sur une ligne ; les trois outils (autocollants, photo, programmer) en dessous. */
.ecritsForm { flex-wrap: wrap; } .ecritsForm input[name="texte"] { order: 1; flex: 1 1 calc(100% - 130px); } .ecritsForm .ecritsEnvoyer { order: 2; } .ecritsForm .ecritsAutosBtn { order: 3; }
.ecritsPhotoVoir { display: block; padding: 0; border: 0; background: none; border-radius: 14px; overflow: hidden; } .ecritsPhoto { display: block; width: min(240px, 100%); max-height: 300px; object-fit: cover; }
.ecritsVoir { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; border: 0; background: #000d; } .ecritsVoir img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.ecritsCite { margin: 0 0 6px; padding: 4px 8px; border-left: 3px solid currentColor; border-radius: 4px; background: #0000000f; font-size: .82rem; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecritsRepondre { position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--muted); border: 1px solid var(--line); font-size: .85rem; line-height: 1; }
.ecritsTraduire { margin-top: 4px; padding: 0; border: 0; background: none; color: inherit; font-size: .78rem; text-decoration: underline; opacity: .8; }
.ecritsTraduit { margin-top: 6px !important; padding-top: 6px; border-top: 1px dashed currentColor; font-style: italic; }
.ecritsReponse, .ecritsPrevu { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 6px 10px; border-radius: 12px; background: var(--tile); border: 1px solid var(--line); font-size: .85rem; min-width: 0; }
.ecritsReponse[hidden] { display: none; } .ecritsReponse em, .ecritsPrevu em { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-weight: 600; }
.ecritsReponse button, .ecritsPrevu button { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); line-height: 1; }
.ecritsQuand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; } .ecritsQuand[hidden] { display: none; }
.ecritsQuand input, .ecritsCalme input { padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.ecritsCalme { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.ecritsSaisie { margin: 0 8px; font-style: italic; } .ecritsSaisie[hidden] { display: none; }
@media (max-width: 520px) { .ecritsAutos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Messages dans l'œil de la peluche (ecrits-oeil.js) : tout en cqw, dans le rond ---------- */
.eo { position: absolute; inset: 0; display: grid; grid-template-rows: 21cqw minmax(0, 1fr) 29cqw; justify-items: center; align-items: center; text-align: center; color: #fff; font-weight: 600; background: radial-gradient(circle at 50% 32%, #1c3a8a, #060b1e 78%); overflow: hidden; }
.eo > small { align-self: end; max-width: 46cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 4.2cqw; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.eo button { font: inherit; color: inherit; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.eoCentre { width: 70cqw; max-height: 100%; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 1.2cqw; font-size: 6.2cqw; line-height: 1.22; }
.eoCentre.long { font-size: 4.5cqw; } .eoCentre p { margin: 0; overflow-wrap: anywhere; } .eoCentre i { font-style: normal; font-size: 3.8cqw; opacity: .75; }
.eoNote { font-size: 3.8cqw !important; color: #ffd27a; }
.screen .eo img { position: static; inset: auto; background: none; }
.screen .eo img.eoAuto { width: 30cqw; height: 30cqw; object-fit: contain; border-radius: 6cqw; background: #eaf1ff; animation: eoPop .5s cubic-bezier(.2, 1.5, .4, 1) both; }
.eoSigne { font-style: normal; font-size: 7cqw; animation: eoPop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.eoBas { align-self: start; display: flex; align-items: center; justify-content: center; gap: 2.2cqw; }
.eoBtn { width: 11.5cqw; height: 11.5cqw; border-radius: 50%; background: #ffffff26; font-size: 6cqw; line-height: 1; display: grid; place-items: center; }
.eoBtn.fort { width: 15cqw; height: 15cqw; background: #2e8bff; box-shadow: 0 0 5cqw #2e8bff99; font-size: 8cqw; }
.eoBtn svg { width: 55%; height: 55%; } .eoBtn:active, .eoPers:active, .eoMots button:active, .eoAutos button:active, .eoSignes button:active { transform: scale(.92); }
.eoCercle { grid-template-rows: 21cqw minmax(0, 1fr) 15cqw; }
.eoGens { width: 74cqw; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.4cqw 1.6cqw; }
.eoPers { position: relative; width: 22cqw; display: grid; justify-items: center; gap: .8cqw; background: none; padding: 0; }
.eoPers b { width: 15.5cqw; height: 15.5cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #5fb0ff, #2e8bff); font-size: 8cqw; box-shadow: 0 0 0 .7cqw #ffffff33; }
.eoPers span { max-width: 22cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 3.8cqw; }
.eoPers em { position: absolute; top: -1cqw; right: 1.6cqw; min-width: 6.4cqw; height: 6.4cqw; padding: 0 1.4cqw; border-radius: 3.2cqw; background: #e0362c; font-style: normal; font-size: 3.8cqw; display: grid; place-items: center; animation: eoPop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.eoPers.eoSuite b { background: #ffffff26; }
.eoGens p { font-size: 5.2cqw; margin: 0; }
.eoMicro { width: 20cqw; height: 20cqw; border-radius: 50%; display: grid; place-items: center; background: #ffffff1f; } .eoMicro svg { width: 50%; height: 50%; }
.eoParler.ecoute .eoMicro { background: #2e8bff; animation: eoOnde 1.2s ease-out infinite; } .eoParler .eoCentre p { font-size: 5cqw; }
.eoMots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8cqw; width: 66cqw; }
.eoMots button { padding: 2.4cqw 1cqw; border-radius: 5cqw; background: #ffffff26; font-size: 4.2cqw; line-height: 1.15; }
.eoAutos { display: grid; grid-template-columns: repeat(3, 19cqw); gap: 2cqw; } .eoAutos button { padding: 0; width: 19cqw; height: 19cqw; border-radius: 5cqw; overflow: hidden; background: #eaf1ff; }
.screen .eoAutos img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eoSignes { display: flex; gap: 1.6cqw; } .eoSignes button { width: 12.4cqw; height: 12.4cqw; border-radius: 50%; background: #ffffff26; font-size: 7cqw; line-height: 1; } .eoSignes button.choisi { background: #2e8bff; }
.eoAnnonce { grid-template-rows: none; align-content: center; gap: 2cqw; cursor: pointer; } .eoAnnonce p { margin: 0; max-width: 62cqw; font-size: 6.4cqw; line-height: 1.2; }
.screen .eo img.eoCoucou { width: 36cqw; height: 42cqw; object-fit: contain; animation: eoCoucou 1.1s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.eoGrand { font-size: 34cqw; line-height: 1; animation: eoPop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.eoVole { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: 1cqw; pointer-events: none; background: radial-gradient(circle, #060b1ecc 30%, transparent 70%); color: #fff; text-align: center; animation: eoVole 2.6s ease-out both; }
.eoVole b { font-size: 30cqw; line-height: 1; } .eoVole span { font-size: 5cqw; font-weight: 600; max-width: 60cqw; }
.screen .eo img.eoPhoto { display: block; width: 100%; height: 100%; object-fit: cover; }
.eoPhotoBtn { width: 34cqw; height: 34cqw; padding: 0; border-radius: 7cqw; overflow: hidden; background: #ffffff1f; animation: eoPop .5s cubic-bezier(.2, 1.5, .4, 1) both; }
.eoCamera { grid-template-rows: 21cqw minmax(0, 1fr) 29cqw; }
.screen .eo .eoVideo, .screen .eo img.eoPleineImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.screen .eo .eoVideo { transform: scaleX(-1); }
.eoCamera .eoBas, .eoSur { position: relative; z-index: 1; } .eoCamera .eoBas { grid-row: 3; } .eoCamera .eoBtn { background: #000a; } .eoCamera .eoBtn.fort { background: #e0362c; box-shadow: 0 0 0 1cqw #fff; }
.eoSur { grid-row: 1; align-self: end; margin: 0 0 -3cqw; padding: 1cqw 3.4cqw; border-radius: 5cqw; background: #000a; font-size: 4.4cqw; }
/* ---------- Beya Vidéos (videos.js) : dans l'œil, avec les mêmes gros boutons que Messages ---------- */
.bvRayon b { width: 19cqw; height: 19cqw; font-size: 9cqw; } .bvRayon { width: 24cqw; } .bvRayon span { font-size: 4.2cqw; max-width: 24cqw; }
.bvGrille { width: 70cqw; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4cqw 2cqw; } .bvGrille p { flex-basis: 100%; font-size: 5.2cqw; margin: 0; }
.bvGrille button { width: 21cqw; display: grid; justify-items: center; gap: .6cqw; padding: 0; background: none; }
.screen .bvGrille img, .bvGrille i { width: 17cqw; height: 17cqw; border-radius: 50%; object-fit: cover; background: #ffffff26; box-shadow: 0 0 0 .6cqw #ffffff33; display: grid; place-items: center; font-style: normal; font-size: 7cqw; }
.bvGrille span { max-width: 21cqw; max-height: 7.4cqw; overflow: hidden; font-size: 3.1cqw; line-height: 1.18; overflow-wrap: anywhere; }
.screen .eo .bvVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; transform: none; touch-action: none; }
.bvTitre { max-width: 52cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bvLecture .eoBtn.fort { background: #2e8bff; box-shadow: 0 0 0 1cqw #fff; } .eoBtn.aime { color: #ff5d7a; }
.bvFini .eoBas { margin-top: 2cqw; } .screen .eo img.bvDodo { width: 30cqw; height: 30cqw; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .7cqw #ffffff33; }
.bvTitre { margin-bottom: -7cqw; }
.bvFavs li { flex-wrap: wrap; } .bvFavs .btn small { font-weight: 500; opacity: .75; } .bvMasquer { flex: 0 0 auto; padding: 8px 12px; font-size: .85rem; }
.bvOui { display: flex; gap: 6px; flex-basis: 100%; flex-wrap: wrap; } .bvAjout input[type="file"] { padding: 10px; border: 1px dashed var(--line); border-radius: 14px; background: var(--tile); max-width: 100%; }
.bvAjout select, .bvTemps select { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; } .bvTemps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
/* ---------- Famille : l'appel à plusieurs (groupe.js) ---------- */
.eoBtn.oui { background: #22b455; box-shadow: 0 0 5cqw #22b45599; } .eoBtn.non { background: #e0362c; box-shadow: 0 0 5cqw #e0362c88; } .eoBtn.eteint { opacity: .4; }
.gpQui.choisi b { background: linear-gradient(140deg, #5fe08a, #22b455); box-shadow: 0 0 0 1cqw #fff; }
.gp { position: absolute; inset: 0; display: grid; gap: .6cqw; background: #060b1e; color: #fff; }
.gp-1 { grid-template: 1fr / 1fr; } .gp-2 { grid-template: 1fr / 1fr 1fr; } .gp-3 { grid-template: 1fr 1fr / 1fr 1fr; } .gp-3 .gpTuile:nth-child(3) { grid-column: 1 / -1; }
.gpTuile { position: relative; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 1.4cqw; background: radial-gradient(circle at 50% 35%, #1c3a8a, #060b1e 80%); font-weight: 600; }
.screen .gpTuile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.gpTuile span { position: relative; z-index: 1; max-width: 90%; padding: .6cqw 2.4cqw; border-radius: 4cqw; background: #000a; font-size: 3.6cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gpTuile[data-cle] span { position: absolute; left: 50%; bottom: 30cqw; transform: translateX(-50%); } .gp-2 .gpTuile[data-cle] span, .gp-3 .gpTuile[data-cle] span { bottom: auto; top: 20cqw; } .gp-3 .gpTuile:nth-child(3)[data-cle] span { top: 3cqw; }
.gpTuile.attend b { width: 17cqw; height: 17cqw; border-radius: 50%; display: grid; place-items: center; background: #ffffff26; font-size: 8cqw; animation: eoOnde 1.4s ease-out infinite; }
.gpBas { position: absolute; left: 0; right: 0; bottom: 9cqw; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 3cqw; } .gpBas .eoBtn { background: #000a; border: 0; color: #fff; cursor: pointer; } .gpBas .eoBtn.non { background: #e0362c; }
.gpChoisir .btn.choisi { background: var(--green); color: var(--green-ink); border-color: transparent; }
@keyframes eoPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes eoCoucou { from { transform: rotate(-7deg) translateY(1cqw); } to { transform: rotate(7deg) translateY(-1cqw); } }
@keyframes eoOnde { from { box-shadow: 0 0 0 0 #2e8bffb0; } to { box-shadow: 0 0 0 9cqw #2e8bff00; } }
@keyframes eoVole { 0% { opacity: 0; transform: scale(.4); } 15% { opacity: 1; transform: scale(1.08); } 25% { transform: scale(1); } 80% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-12cqw); } }
@media (prefers-reduced-motion: reduce) { .eo *, .eoVole, .ecritsAuto, .ecritsReagir.pose, .ecritsSigne { animation: none !important; } }
body.aEcrits .app[data-go="ecrits"], body.aEcrits .ecritsEntree { position: relative; }
body.aEcrits .app[data-go="ecrits"]::after, body.aEcrits .ecritsEntree::after { content: ''; position: absolute; top: 6px; right: 14%; width: 11px; height: 11px; border-radius: 50%; background: #e0362c; border: 2px solid #fff; }
