/* ===== Evoala · Guía de supervivencia — styles =====
   Couleurs reprises du PDF. Changer une valeur ici change toute l'appli. */
:root{
  --violet:#6C4FE0;        /* violet principal (bandeaux, onglet actif) */
  --violet-dark:#5940BF;   /* icône haut-parleur, textes forts */
  --violet-text:#7658D7;   /* titres de groupe */
  --lavender:#C4BAF4;      /* bouton audio client */
  --lavender-soft:#EEEBFD; /* fonds doux, pastille de prononciation */
  --pink:#F2C9EB;          /* bouton audio "on te dit" (vendeur, serveur…) */
  --pink-dark:#D96ECC;
  --card-border:#E7E4F5;
  --list-bg:#F6F5FC;
  --ink:#1A1A1A; --muted:#8E8281; --gray:#747474;
  --radius:22px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:#fff;color:var(--ink);font-family:Poppins,system-ui,sans-serif}
body{padding-bottom:env(safe-area-inset-bottom)}
.app{max-width:520px;margin:0 auto;min-height:100vh}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}

/* ---------- Accueil (Tabla de contenidos) ---------- */
.ticket{margin:calc(14px + env(safe-area-inset-top)) 12px 14px;border-radius:24px;overflow:hidden;background:var(--violet);color:#fff;position:relative}
.tk-top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0}
.ticket .logo{height:32px;background:#fff;border-radius:999px;padding:3px 10px}
.ticket .first{margin-left:auto;align-self:center;border:1.5px solid rgba(255,255,255,.7);border-radius:999px;padding:2px 10px;font-size:10px;letter-spacing:1px;color:#fff;white-space:nowrap}
.lang{display:flex;background:rgba(255,255,255,.18);border-radius:12px;padding:3px;gap:2px}
.lang button{min-width:48px;height:38px;border-radius:9px;color:#fff;font-size:14px;font-weight:600;letter-spacing:.5px}
.lang button.on{background:#fff;color:var(--violet)}
.ticket .route{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding:12px 18px 0}
.ticket .t1{font-size:24px;line-height:1.05;font-weight:600}
.ticket .t1 small{display:block;font-size:12px;letter-spacing:2px;font-weight:400;color:#E2DCFB}
.esfr{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:500}
.esfr b{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff}
.esfr svg,.start svg,.search svg,.resume svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.esfr svg{stroke:var(--violet)}
.start{display:flex;align-items:center;justify-content:center;gap:8px;width:calc(100% - 36px);margin:14px 18px;height:50px;border-radius:14px;background:#fff;color:var(--violet);font-size:17px;font-weight:600}
.start svg{width:18px;height:18px}
.ticket .stub{display:flex;gap:18px;padding:10px 18px 12px;border-top:2px dashed rgba(255,255,255,.35);position:relative}
.ticket .stub:before,.ticket .stub:after{content:"";position:absolute;top:-11px;width:20px;height:20px;border-radius:50%;background:#fff}
.ticket .stub:before{left:-10px}.ticket .stub:after{right:-10px}
.stub div{display:flex;flex-direction:column;font-size:10px;letter-spacing:1px;color:#E2DCFB}
.stub div b{color:#fff;font-size:13px;letter-spacing:0;font-weight:500}

.search{display:flex;align-items:center;gap:10px;margin:0 12px 14px;border:1.5px solid var(--card-border);border-radius:16px;padding:0 14px;height:50px;background:var(--list-bg)}
.search svg{width:20px;height:20px;stroke:#6E6680;flex:none}
.search input{border:0;outline:0;font:inherit;font-size:15px;flex:1;background:transparent;min-width:0}

.resume{display:flex;align-items:center;gap:12px;width:calc(100% - 24px);margin:0 12px 16px;border:1.5px solid var(--card-border);border-radius:20px;padding:12px 14px;text-align:left}
.resume img{width:44px;height:44px;border-radius:12px;flex:none}
.resume span{flex:1;min-width:0}
.resume small{display:block;font-size:12px;color:#6E6680}
.resume b{display:block;font-size:16px;font-weight:500}
.resume i{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--violet);color:#fff;flex:none}
.resume i svg{fill:#fff;stroke:none}
.tochead{display:flex;align-items:baseline;justify-content:space-between;margin:0 14px 10px}
.tochead b{font-size:20px;font-weight:600}.tochead small{font-size:12px;color:#6E6680}

.toc{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;margin:0 12px 12px}
.scard{border:1.5px solid var(--card-border);border-radius:var(--radius);padding:14px;background:#fff}
.shead{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.shead img{width:44px;height:44px;border-radius:12px}
.shead b{display:block;font-weight:500;font-size:17px}
.shead i{display:block;font-size:12px;color:#6E6680;font-style:normal}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:40px;padding:0 14px;border-radius:12px;background:var(--lavender-soft);border:1.5px solid var(--lavender);color:#4A33B0;font-size:14px;font-weight:500}
.chip:active{background:var(--lavender)}
.chip.soon{opacity:.45}
.extras{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px;margin:0 12px 24px}
.pcard{display:flex;align-items:center;gap:14px;background:var(--violet);color:#fff;border-radius:22px;padding:16px;text-align:left}
.pcard img{width:52px;height:52px;border-radius:14px;flex:none;box-shadow:0 0 0 2px rgba(255,255,255,.55)}
.pcard span{flex:1}.pcard b{display:block;font-size:17px;font-weight:600}
.pcard small{display:block;font-size:13px;color:#E2DCFB}
.pcard em{font-style:normal;font-size:28px;line-height:1}

/* ---------- Barre du bas ---------- */
.app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.nav{position:fixed;left:0;right:0;bottom:0;z-index:10;background:#fff;border-top:1px solid var(--card-border);display:grid;grid-template-columns:repeat(3,1fr);max-width:520px;margin:0 auto;padding:6px 12px calc(10px + env(safe-area-inset-bottom))}
.nav button{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:52px;justify-content:center;font-size:12px;color:#6E6680}
.nav .mi{width:24px;height:24px}
.nico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav button.on{color:var(--violet);font-weight:500}
@media (min-width:700px){ .app.wide{max-width:1100px} }

/* ---------- Barre du haut + grille des sections ---------- */
.top{position:sticky;top:0;z-index:5;background:#fff;padding:calc(6px + env(safe-area-inset-top)) 8px 6px;display:flex;align-items:center;gap:8px}
.home{width:34px;height:34px;border-radius:50%;background:var(--lavender-soft);display:grid;place-items:center}
.home svg{width:18px;height:18px;fill:var(--violet)}
.top .logo{height:28px;margin-left:16px}
.pills{margin-left:auto;display:flex;gap:6px;background:var(--violet);border-radius:12px;padding:4px}
.pill{display:flex;align-items:center;gap:5px;border:1.5px solid rgba(255,255,255,.7);border-radius:8px;padding:3px 9px;color:#fff;font-size:13px}
.pill.on{background:#fff;color:var(--violet-text);border-color:#fff}
.pill .mi{width:15px;height:15px}
.mi{display:inline-block;background:currentColor;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.tiles{background:var(--violet);border-radius:0 0 4px 4px;padding:6px 6px 8px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 0}
.tile{border:1.5px solid rgba(255,255,255,.85);border-radius:12px;color:#fff;padding:8px 2px 5px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;white-space:nowrap;overflow:hidden}
.tile .mi{width:34px;height:34px}
.tile.on{background:#fff;color:var(--violet-text);border-color:#fff}
.phead{background:var(--violet);color:#fff;text-align:center;padding:8px 10px 4px}
.phead b{display:block;font-size:20px;font-weight:500}
.phead small{font-size:11px}
.tabs{display:flex;margin:10px 8px 6px;border:1.5px solid var(--card-border);border-radius:10px;padding:3px;gap:2px}
.tab{flex:1;padding:6px 4px;border-radius:7px;font-size:14px;color:var(--gray);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tab.on{background:var(--violet);color:#fff}
.intro{font-size:12px;color:var(--muted);margin:14px 16px 10px}

/* ---------- Cartes de phrases ---------- */
.card{border:1.5px solid var(--card-border);border-radius:var(--radius);margin:0 8px 12px;padding:12px 4px 4px}
.label{display:flex;align-items:center;gap:6px;padding:0 10px 4px;font-size:16px;color:var(--violet-text)}
.label:before{content:"";width:5px;height:17px;border-radius:3px;background:currentColor}
.row{display:flex;align-items:center;gap:12px;padding:10px;position:relative;cursor:pointer;border-radius:14px}
.row+.row:after{content:"";position:absolute;top:0;left:62px;right:14px;border-top:1px solid #EFEDF6}
.row:active{background:#F7F5FF}
.ic{--s:42px;flex:none;width:var(--s);height:var(--s);border-radius:8px;background-size:var(--s) auto;background-repeat:no-repeat;background-position:0 calc(var(--i,0) * -1 * var(--s))}
.ph{flex:1;min-width:0}
.fr{font-size:16px;line-height:1.3}
.es{font-size:14px;color:var(--muted);font-style:italic;margin-top:2px}
.pr{display:inline-block;margin-top:3px;background:var(--lavender-soft);color:var(--violet);border-radius:999px;padding:1px 12px;font-size:15px;font-weight:500}
.spk{flex:none;width:34px;height:34px;border-radius:50%;background:var(--lavender);display:grid;place-items:center}
.spk svg{width:17px;height:17px;fill:var(--violet-dark)}
.row.staff .spk{background:var(--pink)}
.row.staff .spk svg{fill:var(--pink-dark)}
.row.heard .spk{box-shadow:0 0 0 3px #DCD5FA}
.row.staff.heard .spk{box-shadow:0 0 0 3px #F6D9EF}
.row.playing .spk{box-shadow:0 0 0 5px rgba(108,79,224,.3);animation:spkp 1s ease-in-out infinite}
@keyframes spkp{50%{box-shadow:0 0 0 8px rgba(108,79,224,.12)}}
.dato{background:var(--lavender-soft);border-radius:18px;margin:4px 8px 12px;padding:12px 14px;font-size:13px;line-height:1.45}
.dato b{display:flex;align-items:center;gap:6px;color:var(--violet-text);font-weight:400;font-size:14px;margin-bottom:4px}
.up{display:block;margin:6px 8px 24px auto;border:1.5px solid var(--card-border);border-radius:8px;padding:4px 12px;font-size:13px}
.empty{text-align:center;color:var(--muted);padding:40px 16px}

/* ---------- Guía de Paris ---------- */
.legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11px;margin:10px 12px 12px;align-items:center}
.legend span{display:flex;align-items:center;gap:4px}
.place{border:1.5px solid var(--card-border);border-radius:var(--radius);margin:0 8px 12px;padding:10px}
.ptop{display:flex;gap:12px}
.photo{flex:none;width:34%;aspect-ratio:1/1;border-radius:6px;object-fit:cover;background:var(--list-bg)}
.pinfo{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.pname{font-size:16px;font-weight:500;line-height:1.2}
.metro{display:flex;align-items:center;gap:4px;font-size:13px;flex-wrap:wrap}
.mlogo{width:20px;height:20px;border-radius:50%;border:1.5px solid #3D3B8F;color:#3D3B8F;display:inline-grid;place-items:center;font-size:12px}
.line{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;font-size:10px;font-weight:600;color:#fff}
.pact{display:flex;align-items:center;gap:8px}
.go{flex:1;display:flex;align-items:center;gap:6px;background:#FFF5E6;border-radius:10px;padding:6px 10px;color:var(--ink);text-decoration:none;font-size:14px}
.fee{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}
.fee.paid{background:#E74B5E;color:#fff}
.fee.free{background:#E2F3EC;color:#53B48C}
.pdesc{font-size:13px;line-height:1.4;color:#3a3a3a}
.pact{margin-top:2px}
.pager{display:flex;margin:10px 8px 0;background:#ECEBF2;border-radius:999px;padding:3px}
.pager button{flex:1;border-radius:999px;font-size:12px;color:#aaa;padding:3px}
.pager button.on{background:var(--violet);color:#fff}

.toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(16px);background:#2A2440;color:#fff;border-radius:14px;padding:10px 16px;font-size:14px;opacity:0;transition:.25s;pointer-events:none;z-index:20;white-space:nowrap}
.toast.show{opacity:1;transform:translateX(-50%)}

/* ---------- Bonus : couleurs sur 2 colonnes, nombres ---------- */
.card.cols2{display:grid;grid-template-columns:1fr 1fr}
.card.cols2 .label{grid-column:1/-1}
.card.cols2 .row{gap:8px;padding:10px 6px}
.card.cols2 .row:after{display:none}
.card.cols2 .ic{--s:34px}
.card.cols2 .fr{font-size:15px}.card.cols2 .es{font-size:13px}
.card.cols2 .spk{width:30px;height:30px}
.ic.num{display:grid;place-items:center;background:#FFF7E8;color:var(--violet-dark);font-size:22px;font-weight:500}
.ic.num.long{width:auto;min-width:56px;padding:0 6px;font-size:19px}
.subs{display:flex;margin:4px 8px 0;border-bottom:1px solid #DDD9EE}
.subs button{flex:1;font-size:13px;color:#6E6680;padding:8px 4px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:40px}
.subs button.on{color:var(--violet);border-bottom:3px solid var(--violet);margin-bottom:-1px}
.dsub{background:#fff;border-radius:999px;padding:1px 10px;color:var(--ink);font-size:12px;margin-left:6px}
.dtab{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:12px;overflow:hidden;margin-top:6px;font-size:12px}
.dtab th{padding:6px 4px 2px}.dtab th span{background:var(--violet-dark);color:#fff;border-radius:6px;padding:1px 14px}
.dtab td{padding:6px 8px;border-top:1px solid #EFEDF6;vertical-align:middle}
.dtab td b{display:block;font-size:13px;font-weight:600}.dtab td em{font-style:normal;color:var(--violet-text)}
.dtab td small{color:var(--muted)}

/* ---------- Sobre París + créditos ---------- */
.card.sob{padding:14px 12px}
.card.sob .label{padding:0 0 8px}
.sgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sbox{background:var(--list-bg);border-radius:12px;padding:10px;font-size:13px;line-height:1.4}
.snum{color:var(--violet-text);font-size:15px;margin-bottom:4px}.snum b{font-size:24px;font-weight:500}
.map{width:100%;display:block;border-radius:8px}
.trow{display:flex;gap:12px;align-items:flex-start;padding:10px 0;font-size:14px}
.trow+.trow{border-top:1px solid #EFEDF6}
.tname{flex:none;width:96px;text-align:center;background:var(--lavender-soft);color:var(--violet);border-radius:999px;padding:6px 0;font-weight:500}
.trow b{display:block;font-weight:500}.trow small{display:block;color:var(--gray);font-size:13px;margin-top:2px}
.secp{font-size:14px;margin:0 0 10px}
.chips2{display:flex;flex-wrap:wrap;gap:6px}
.chips2 span{background:var(--lavender-soft);color:var(--violet);border-radius:999px;padding:5px 12px;font-size:12px}
.hrow{display:flex;gap:12px;padding:10px 0;font-size:14px;line-height:1.4}
.hrow img{width:36px;height:36px;border-radius:50%;flex:none}
.hrow b{display:block;font-weight:500}
.phwrap{position:relative;flex:none;width:34%;display:block;align-self:flex-start}
.phwrap .photo{width:100%}
.cr{position:absolute;right:5px;bottom:5px;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:11px;font-style:normal;display:grid;place-items:center}
.crnote{font-size:12px;color:var(--muted);text-align:center;margin:4px 16px 0}
.crnote button{color:var(--violet);text-decoration:underline;font-size:12px}
.ccat{color:var(--violet-text);font-size:14px;margin:12px 0 4px}
.crow{padding:8px 0;border-top:1px solid #EFEDF6;font-size:14px}
.crow b{display:block;font-weight:500}.crow small{display:block;color:var(--muted);font-size:12px}
.crow span{display:flex;gap:14px;margin-top:2px}.crow a{color:#0E7A75;font-size:12px}

/* ---------- Indice prononciation : ampoule sur l'illustration + bandeau ---------- */
.ic{position:relative;cursor:pointer}
.bulb{position:absolute;right:-6px;bottom:-6px;width:22px;height:22px;border-radius:50%;background:#fff;border:1.5px solid #E07A00;display:grid;place-items:center;box-sizing:border-box;font-style:normal}
.bulb svg{width:13px;height:13px;fill:none;stroke:#C25A00;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.row.pron .bulb{background:#E07A00}
.row.pron .bulb svg{stroke:#fff}
.card.cols2 .bulb{width:18px;height:18px;right:-5px;bottom:-5px}
.card.cols2 .bulb svg{width:11px;height:11px}
.hint{display:flex;align-items:center;gap:12px;margin:4px 8px 12px;background:#FFF4E6;border:1.5px solid #F5C58A;border-radius:16px;padding:12px 12px 12px 14px}
.hint .ic{--s:38px;border-radius:8px;cursor:default}
.hint p{flex:1;margin:0;font-size:13px;line-height:1.4}
.hint b{font-weight:600}
.hint button{flex:none;min-height:40px;padding:0 12px;border-radius:10px;background:#fff;color:#A34A00;font-size:13px;font-weight:600}

/* ---------- Hub (page d'accueil des guías) ---------- */
.tohub{display:block;margin:calc(10px + env(safe-area-inset-top)) 14px -4px;font-size:14px;color:var(--violet);font-weight:500;min-height:36px}
.app.hubmode{padding-bottom:24px}
.hubtop{display:flex;align-items:center;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 16px 14px}
.hubtop img{height:34px}
.lang.hl{background:var(--lavender-soft)}
.lang.hl button{color:var(--violet-dark)}
.lang.hl button.on{background:var(--violet);color:#fff}
.hubmain{padding:0 16px 20px;display:flex;flex-direction:column;gap:16px}
.hero{display:flex;flex-direction:column;gap:16px}
.hero h1{margin:0;font-size:26px;line-height:1.15;font-weight:600}
.hero h1 span{color:var(--violet)}
.hero p{margin:8px 0 0;font-size:14px;color:#5A5370;line-height:1.45}
.wideonly{display:none}
.feat{border:2px solid var(--violet);border-radius:26px;overflow:hidden;background:#fff}
.fhead{background:var(--violet);color:#fff;padding:16px;display:flex;gap:14px;align-items:center}
.fimg{flex:none;width:96px;height:96px;border-radius:20px;background:#fff;overflow:hidden;display:grid;place-items:center}
.fimg img{width:92px;height:92px}
.fhead div{display:flex;flex-direction:column;gap:4px;min-width:0}
.fbadge{align-self:flex-start;background:#fff;color:#166534;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}
.fhead small{font-size:12px;color:#E2DCFB}
.fhead b{font-size:21px;font-weight:600;line-height:1.15}
.fbody{padding:14px 16px 16px;display:flex;flex-direction:column;gap:12px}
.fbody p{margin:0;font-size:14px;line-height:1.45;color:#3A3550}
.fbody strong,.gbody strong{font-weight:600;color:var(--violet)}
.fchips{display:flex;flex-wrap:wrap;gap:6px}
.fchips span{background:var(--lavender-soft);color:#4A33B0;border-radius:999px;padding:4px 10px;font-size:12px}
.fcta{height:52px;border-radius:14px;background:var(--violet);color:#fff;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}
.fcta svg,.notify svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ghead{display:flex;align-items:baseline;justify-content:space-between;margin-top:6px}
.ghead b{font-size:18px;font-weight:600}.ghead span{font-size:12px;color:#6E6680}
.ggrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:-6px}
.gcard{border:1.5px solid var(--card-border);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.gcover{background:var(--bg);height:140px;position:relative}
.gcover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gcover span{position:absolute;left:10px;top:10px;background:#fff;color:var(--fg);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}
.gbody{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.gbody b{font-size:15px;font-weight:600;line-height:1.2}
.gbody small{font-weight:400;color:#6E6680;font-size:12px}
.gbody p{margin:0;font-size:12px;color:#5A5370;line-height:1.35;flex:1}
.gbody strong{color:var(--fg)}
.gbody em{font-style:normal;margin-top:6px;font-size:12px;color:var(--fg);background:var(--bg);border-radius:8px;padding:6px 8px;text-align:center;font-weight:500}
.gmore{border:1.5px dashed var(--lavender);border-radius:20px;background:var(--list-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;text-align:center;color:#4A33B0;font-size:12px;font-weight:500;min-height:200px}
.gmore span{font-size:28px;line-height:1}
.hubfoot{display:flex;flex-direction:column-reverse;gap:16px}
.notify{min-height:48px;border-radius:14px;border:1.5px solid var(--lavender);background:var(--lavender-soft);color:#4A33B0;font-size:15px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px}
.how{background:var(--list-bg);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:14px}
.how>b{font-size:18px;font-weight:600}
.how div{display:flex;gap:12px;align-items:flex-start}
.how div span{flex:none;width:32px;height:32px;border-radius:50%;background:var(--violet);color:#fff;display:grid;place-items:center;font-weight:600;font-size:14px}
.how p{margin:0;font-size:14px;line-height:1.4;color:#6E6680}
.how p strong{color:var(--ink);font-weight:600}
@media (min-width:700px){
  .hubtop{max-width:1160px;margin:0 auto;padding:14px 24px;border-bottom:1px solid var(--card-border)}
  .hubmain{max-width:1160px;margin:0 auto;padding:32px 24px 48px;gap:28px}
  .hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
  .hero h1{font-size:40px;line-height:1.1}
  .hero p{font-size:16px;line-height:1.5;max-width:460px}
  .wideonly{display:inline}
  .ghead b{font-size:22px}
  .ggrid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:-12px}
  .gcover{height:150px}
  .gmore{display:none}
  .hubfoot{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
}

.nextsub{display:flex;align-items:center;justify-content:center;gap:4px;width:calc(100% - 16px);margin:4px 8px 4px;min-height:52px;border-radius:14px;background:var(--violet);color:#fff;font-size:15px;padding:0 12px}
.nextsub b{font-weight:600}

/* ---------- Accueil (bienvenue) ---------- */
.app.onbmode{padding-bottom:0;min-height:100vh;display:flex;flex-direction:column}
.wtop{background:var(--violet);border-radius:0 0 36px 36px;position:relative;height:min(470px,56vh);min-height:400px;flex:none;overflow:hidden}
.wbar{display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top)) 18px 0;position:relative;z-index:5}
.wlogo{background:#fff;border-radius:999px;padding:6px 14px;display:flex}
.wlogo img{height:30px}
.lang.wl{background:rgba(255,255,255,.18)}
.wart{position:absolute;inset:0;max-width:390px;margin:0 auto}
.wtile{position:absolute;border-radius:26px;overflow:hidden;background:#fff;border:4px solid #fff;box-shadow:0 10px 24px rgba(30,15,90,.25)}
.wtile img{width:100%;height:100%;object-fit:cover;display:block}
.wtile.t1{left:26px;top:120px;width:118px;height:118px;transform:rotate(-8deg);z-index:1}
.wtile.t2{left:117px;top:92px;width:156px;height:156px;transform:rotate(3deg);z-index:3}
.wtile.t3{left:246px;top:138px;width:118px;height:118px;transform:rotate(9deg);z-index:2}
.wtile.t4{left:58px;top:286px;width:96px;height:96px;transform:rotate(-4deg);z-index:2}
.wgoal{position:absolute;left:16px;top:398px;z-index:4;background:#fff;border-radius:16px;padding:8px 12px;box-shadow:0 8px 20px rgba(30,15,90,.2);display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.25;color:#6E6680}
.wgoal b{display:block;color:var(--ink);font-weight:600}
.wgoal i{width:30px;height:30px;border-radius:50%;background:#E2F5E8;display:grid;place-items:center;flex:none}
.wgoal svg{width:16px;height:16px;fill:none;stroke:#166534;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.wtext{padding:28px 24px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;flex:1;max-width:520px;width:100%;margin:0 auto;box-sizing:border-box}
.wtext h1{margin:0;font-size:28px;line-height:1.15;font-weight:600}
.wtext h1 span{color:var(--violet)}
.wtext>p{margin:12px 0 0;font-size:15px;line-height:1.5;color:#5A5370}
.wact{margin-top:auto;padding-top:24px;display:flex;flex-direction:column;gap:12px}
.bigbtn{min-height:56px;border-radius:16px;background:var(--violet);color:#fff;font-size:17px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;width:100%}
.bigbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bigbtn.busy,.social.busy{opacity:.6;pointer-events:none}
.wlink{text-align:center;font-size:14px;color:#5A5370}
.wlink button{color:var(--violet);font-weight:600;min-height:40px;padding:0 4px}

/* ---------- Créer un compte / se connecter ---------- */
.abar{display:flex;align-items:center;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 16px 0;max-width:520px;margin:0 auto}
.aback{width:44px;height:44px;border-radius:50%;background:var(--lavender-soft);display:grid;place-items:center;color:var(--violet)}
.aback svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.alater{min-height:44px;padding:0 12px;font-size:15px;font-weight:500;color:#5A5370}
.aform{padding:10px 24px 24px;display:flex;flex-direction:column;gap:14px;max-width:520px;margin:0 auto}
.ahead{display:flex;align-items:center;gap:14px}
.ahead>span{flex:none;width:64px;height:64px;border-radius:18px;overflow:hidden;border:1.5px solid var(--card-border)}
.ahead img{width:100%;height:100%;object-fit:cover}
.ahead h1{margin:0;font-size:22px;line-height:1.2;font-weight:600}
.ahead p{margin:4px 0 0;font-size:13px;line-height:1.4;color:#5A5370}
.social{min-height:52px;border-radius:14px;border:1.5px solid var(--card-border);background:#fff;display:flex;align-items:center;gap:12px;padding:0 16px;font-size:15px;font-weight:500;margin-top:4px}
.social span{flex:1;text-align:center;margin-right:28px}
.gmark{width:28px;height:28px;border-radius:50%;background:#F1F5F9;color:#334155;display:grid;place-items:center;font-style:normal;font-weight:600;font-size:14px}
.aor{display:flex;align-items:center;gap:12px;font-size:13px;color:#6E6680}
.aor span{flex:1;height:1px;background:var(--card-border)}
.aform label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:#3A3550}
.afield{display:flex;align-items:center;min-height:50px;border:1.5px solid var(--card-border);border-radius:14px;background:var(--list-bg);padding:0 6px 0 14px}
.afield:focus-within{border-color:var(--violet)}
.afield input{border:0;outline:0;background:transparent;font:inherit;font-size:16px;font-weight:400;flex:1;min-width:0;color:var(--ink);padding:12px 0}
.eye{width:40px;height:40px;display:grid;place-items:center;color:#6E6680}
.eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.forgot{align-self:flex-end;font-size:13px;color:var(--violet);font-weight:500;min-height:36px;margin-top:-8px}
.aerr{margin:0;min-height:0;font-size:13px;color:#B42318}
.aerr:empty{display:none}
.alegal{margin:8px 0 0;font-size:11px;line-height:1.45;color:#6E6680;text-align:center}

/* ---------- Bouton compte dans le hub ---------- */
.hubright{display:flex;align-items:center;gap:8px}
.achip{min-height:40px;padding:0 10px;font-size:14px;font-weight:600;color:var(--violet)}
.amenu{position:relative}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--violet);color:#fff;font-weight:600;font-size:16px}
.apop{position:absolute;right:0;top:48px;z-index:20;background:#fff;border:1.5px solid var(--card-border);border-radius:16px;box-shadow:0 12px 28px rgba(30,15,90,.15);padding:12px;min-width:220px;display:flex;flex-direction:column;gap:2px}
.apop[hidden]{display:none}
.apop small{font-size:11px;color:#6E6680}
.apop b{font-size:14px;font-weight:600;word-break:break-all;margin-bottom:8px}
.apop button{min-height:42px;border-radius:10px;background:var(--lavender-soft);color:#4A33B0;font-weight:600;font-size:14px;text-align:center}

/* ---------- Drapeau français ---------- */
.miniflag{display:inline-flex;width:21px;height:14px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.08);flex:none;vertical-align:-2px}
.miniflag i{flex:1}.miniflag i:nth-child(1){background:#1E4FB5}.miniflag i:nth-child(2){background:#fff}.miniflag i:nth-child(3){background:#EF3340}
.fpill{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--card-border);border-radius:999px;padding:5px 12px 5px 8px;font-size:13px;font-weight:600;margin-bottom:12px}
.wtext{padding-top:22px}
.wtile.t5{left:226px;top:294px;width:112px;height:112px;transform:rotate(6deg);z-index:3;display:grid;place-items:center;padding:6px;box-sizing:border-box}
.wtile.t5 img{height:auto;object-fit:contain}
.fhead small{display:flex;align-items:center;gap:6px}

/* ---------- Pages de phrases : menu compact (catégories défilantes, fixées en haut) ---------- */
.top.flow{position:static}
.psearch{margin:2px 12px 0;border-radius:999px;height:46px;background:#F3F1FA;border-color:transparent}
.psearch:focus-within{border-color:var(--violet)}
.cathint{display:flex;align-items:center;gap:8px;font-size:13px;color:#6E6680;margin:12px 16px -4px}
.cathint span{flex:1}
.cathint em{display:flex;align-items:center;gap:3px;font-style:normal;font-weight:600;color:#5940BF;font-size:12px}
.cathint em svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;animation:nudge 1.4s ease-in-out 3}
.catwrap{position:sticky;top:0;z-index:6;background:#fff;box-shadow:0 8px 12px -12px rgba(60,40,140,.45)}
.cats{display:flex;gap:8px;overflow-x:auto;padding:12px 12px 10px;scrollbar-width:none;scroll-behavior:smooth}
.cats::-webkit-scrollbar{display:none}
.cat{flex:none;height:42px;display:flex;align-items:center;gap:8px;padding:0 16px 0 12px;border-radius:999px;border:1.5px solid var(--card-border);background:#fff;color:var(--violet);font-size:14px;font-weight:500;white-space:nowrap}
.cat span{color:#1A1A1A}
.cat .mi{width:20px;height:20px;flex:none}
.cat.on{background:var(--violet);border-color:var(--violet);color:#fff}
.cat.on span{color:#fff}
.ptabs{display:flex;gap:22px;padding:0 16px;border-bottom:1px solid #EFEDF6;overflow-x:auto;scrollbar-width:none}
.ptabs::-webkit-scrollbar{display:none}
.ptabs .tab{flex:none;padding:0 2px;height:46px;border-radius:0;font-size:15px;font-weight:500;color:#6E6680;border-bottom:3px solid transparent;overflow:visible}
.ptabs .tab.on{background:none;color:#5940BF;font-weight:600;border-bottom-color:var(--violet)}
.psubs{display:flex;gap:8px;margin:12px 12px 0;overflow-x:auto;scrollbar-width:none}
.psubs button{flex:none;min-height:36px;padding:0 14px;border-radius:999px;background:#F3F1FA;color:#5940BF;font-size:13px;font-weight:500;border:1.5px solid transparent}
.psubs button.on{background:#EEEBFD;border-color:var(--violet);font-weight:600}
.crumb{display:block;font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#5940BF;margin-bottom:2px;text-align:left}
.more{position:absolute;top:0;bottom:0;width:56px;display:flex;align-items:center;justify-content:center;padding:0;transition:opacity .2s}
.more svg{width:30px;height:30px;padding:6px;box-sizing:border-box;border-radius:50%;background:var(--violet);fill:none;stroke:#fff;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 2px 6px rgba(60,40,140,.3)}
.more.r{right:0;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 55%);justify-content:flex-end;padding-right:8px}
.more.l{left:0;background:linear-gradient(270deg,rgba(255,255,255,0),#fff 55%);justify-content:flex-start;padding-left:8px}
.more.r svg{animation:nudge 1.4s ease-in-out 3}
.catwrap.atend .more.r,.catwrap.atstart .more.l,.catwrap.used .more{opacity:0;pointer-events:none}
@keyframes nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
.ptitle{padding:4px 18px 0}
.ptitle b{display:block;font-size:20px;font-weight:600;color:#1A1A1A}
.ptitle small{font-size:13px;color:#6E6680}

/* ---------- Mis listas : cœur, panneau, pages ---------- */
.heart{flex:none;width:36px;height:36px;margin-left:-6px;border-radius:50%;display:grid;place-items:center;padding:0;transition:background .15s}
.heart svg{width:20px;height:20px;fill:none;stroke:#8A8398;stroke-width:2;stroke-linejoin:round}
.heart.on{background:#FCE4EE}
.heart.on svg{fill:#D6336C;stroke:#D6336C;animation:pop .3s ease}
@keyframes pop{50%{transform:scale(1.25)}}
.card.cols2 .heart{width:28px;height:28px;margin-left:-4px}
.card.cols2 .heart svg{width:16px;height:16px}
.nheart{display:grid;place-items:center;width:24px;height:24px}
.nheart svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.nav button.on .nheart svg{fill:currentColor}
.snack{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));max-width:496px;margin:0 auto;z-index:30;background:#1F1A33;color:#fff;border-radius:14px;padding:10px 10px 10px 14px;display:flex;align-items:center;gap:10px;font-size:14px;opacity:0;transform:translateY(16px);transition:.25s;pointer-events:none}
.snack.show{opacity:1;transform:none;pointer-events:auto}
.snack i svg{width:18px;height:18px;fill:#F06595;display:block}
.snack span{flex:1}.snack b{font-weight:600}
.snack button{color:#C9BDFF;font-weight:600;font-size:14px;padding:8px 6px;min-height:40px}
.sheet{position:fixed;inset:0;z-index:40;pointer-events:none}
.sheet .shov{position:absolute;inset:0;background:rgba(20,14,40,.45);opacity:0;transition:opacity .25s}
.sheet .shp{position:absolute;left:0;right:0;bottom:0;max-width:520px;margin:0 auto;max-height:88vh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:10px 20px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;transform:translateY(100%);transition:transform .28s ease;box-shadow:0 -10px 30px rgba(20,14,40,.2)}
.sheet.open{pointer-events:auto}.sheet.open .shov{opacity:1}.sheet.open .shp{transform:none}
.grab{display:block;width:40px;height:5px;border-radius:3px;background:#DDD8EE;margin:0 auto 14px}
.shph{display:flex;align-items:center;gap:12px;background:#F6F4FC;border-radius:16px;padding:10px 12px;margin-bottom:16px}
.shph b{display:block;font-size:15px;font-weight:500}.shph small{font-size:13px;color:#6E6680;font-style:italic}
.sheet h3{margin:0 0 2px;font-size:18px;font-weight:600}
.shsub{margin:0 0 8px;font-size:13px;color:#6E6680}
.lrows{margin-bottom:14px}
.lrow{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:0 4px;border-top:1px solid #EFEDF6;text-align:left}
.lsq{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center}
.lsq svg{width:20px;height:20px;fill:#fff}
.lsq.big{width:56px;height:56px;border-radius:16px}.lsq.big svg{width:28px;height:28px}
.lsq.dash{border:2px dashed #B9ADF0;box-sizing:border-box;color:var(--violet);font-size:22px;font-weight:500}
.lnm{flex:1;min-width:0}.lnm b{display:block;font-size:15px;font-weight:500;color:#1A1A1A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lnm small{font-size:13px;color:#6E6680}
.lnew .lnm b{color:#5940BF;font-weight:600}
.chk{flex:none;width:26px;height:26px;border-radius:8px;border:2px solid #CFC8EA;box-sizing:border-box;display:grid;place-items:center}
.chk svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.chk.on{background:var(--violet);border-color:var(--violet)}.chk.on svg{opacity:1}
.shbtn{display:block;width:100%;height:52px;border-radius:14px;background:var(--violet);color:#fff;font-size:16px;font-weight:600;text-align:center;margin-top:8px}
.shtop{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.shback{width:36px;height:36px;border-radius:50%;background:#F3F1FA;display:grid;place-items:center}
.shback svg,.round svg,.lbar svg{width:18px;height:18px;fill:none;stroke:#5940BF;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.shlab{display:block;font-size:13px;font-weight:600;color:#5940BF;margin-bottom:6px}
.shin{width:100%;height:52px;border-radius:14px;border:1.5px solid var(--card-border);padding:0 14px;font:inherit;font-size:16px;box-sizing:border-box;outline:0;margin-bottom:14px}
.shin:focus{border-color:var(--violet)}
.ideas{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ideas button{min-height:36px;padding:0 14px;border-radius:999px;background:#F3F1FA;color:#5940BF;font-size:13px;font-weight:500;border:1.5px solid transparent}
.ideas button.on{background:#EEEBFD;border-color:var(--violet)}
.dots{display:flex;gap:14px;margin-bottom:18px}
.dots button{width:34px;height:34px;border-radius:50%;background:var(--c)}
.dots button.on{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--c)}
.ltitle{padding:6px 18px 14px}.ltitle b{display:block;font-size:24px;font-weight:600}.ltitle small{font-size:14px;color:#6E6680}
.lcards{display:flex;flex-direction:column;gap:12px;padding:0 12px 24px}
.lcard{border:1.5px solid var(--card-border);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:12px}
.lchead{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.lchead .lsq{width:44px;height:44px;border-radius:13px}
.lchead .lnm b{font-size:16px;font-weight:600}
.chev{width:18px;height:18px;fill:none;stroke:#8A8398;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.lcfoot{display:flex;align-items:center;gap:10px}
.thumbs{flex:1;display:flex}
.ic.th{--s:34px;border:2px solid #fff;border-radius:9px;background-color:#fff;margin-left:-10px}
.ic.th:first-child{margin-left:0}
.ic.th.num{display:grid;place-items:center;background:#EEEBFD;color:#5940BF;font-size:12px;font-weight:600}
.lplay{flex:none;height:40px;padding:0 14px 0 10px;border-radius:999px;background:#EEEBFD;color:#5940BF;font-size:14px;font-weight:600;display:flex;align-items:center;gap:6px}
.lplay svg{width:16px;height:16px;fill:#5940BF}
.lnewbig{height:60px;border-radius:20px;border:2px dashed #CFC8EA;color:#5940BF;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}
.lnewbig svg{width:18px;height:18px;fill:none;stroke:var(--violet);stroke-width:2.6;stroke-linecap:round}
.ltip{margin:2px 6px 0;font-size:13px;color:#6E6680;display:flex;align-items:center;gap:8px}
.ltip svg{width:16px;height:16px;fill:none;stroke:#D6336C;stroke-width:2.2;stroke-linejoin:round;flex:none}
.lempty{text-align:center;padding:30px 28px}
.lempty span{display:grid;place-items:center;width:84px;height:84px;margin:0 auto 16px;border-radius:50%;background:#FCE4EE}
.lempty span svg{width:40px;height:40px;fill:#D6336C}
.lempty b{display:block;font-size:18px;font-weight:600;margin-bottom:6px}
.lempty p{font-size:14px;color:#6E6680;margin:0 0 18px;line-height:1.45}
.lbar{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 16px 8px}
.lbar>span{flex:1}
.round{width:40px;height:40px;border-radius:50%;background:#F3F1FA;display:grid;place-items:center}
.lbar .lopts .round svg{fill:#5940BF;stroke:none}
.lopts{position:relative}
.lpop{position:absolute;right:0;top:46px;z-index:8;background:#fff;border:1px solid var(--card-border);border-radius:14px;box-shadow:0 10px 24px rgba(20,14,40,.15);padding:6px;min-width:200px}
.lpop button{display:block;width:100%;text-align:left;padding:12px;border-radius:10px;font-size:15px}
.lpop button:hover{background:#F6F4FC}.lpop .danger{color:#C2255C}
.lhead{display:flex;align-items:center;gap:14px;padding:0 18px 16px}
.lhead b{display:block;font-size:22px;font-weight:600}.lhead small{font-size:14px;color:#6E6680}
.lacts{display:flex;gap:10px;padding:0 12px 14px}
.lacts button{flex:1;height:50px;border-radius:14px;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}
.lacts svg{width:18px;height:18px}
.qall{background:var(--violet);color:#fff}.qall svg{fill:#fff}
.qmix{background:#EEEBFD;color:#5940BF}.qmix svg{fill:none;stroke:#5940BF;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
/* glisser pour retirer une phrase d'une liste */
.swipe{position:relative;overflow:hidden;border-radius:14px}
.swipe .row{background:#fff;transition:transform .22s ease;touch-action:pan-y}
.swipe .row.drag{transition:none}
.swipe+.swipe .row:after{content:"";position:absolute;top:0;left:62px;right:14px;border-top:1px solid #EFEDF6}
.sdel{position:absolute;top:0;right:0;bottom:0;width:96px;background:#E03131;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:13px;font-weight:600;border-radius:0 14px 14px 0}
.sdel svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Hub du guide : progression + catégories ---------- */
.top .tsp{flex:1}
.lang.sm{padding:2px;border-radius:10px}
.lang.sm button{min-width:40px;height:32px;font-size:13px;border-radius:8px}
.gtitle{padding:4px 18px 12px}
.gtitle small{display:flex;align-items:center;gap:6px;font-size:12px;color:#6E6680}
.gtitle b{display:block;font-size:24px;font-weight:600;line-height:1.2}
.gprog{margin:0 12px;border:1.5px solid var(--card-border);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:14px;background:#FBFAFF}
.gpt{font-size:13px;font-weight:600;color:#5940BF}
.gbl{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;color:#3A3550}
.gbl svg{width:18px;height:18px;flex:none}
.gbar.pg .gbl svg{fill:none;stroke:var(--violet);stroke-width:2.2;stroke-linejoin:round}
.gbar.ph .gbl svg{fill:#D6336C}
.gbl span{flex:1}
.gbl em{font-style:normal;color:#6E6680}.gbl em b{color:#1A1A1A;font-weight:600;font-size:15px}
.gtrack{height:10px;border-radius:999px;background:#EEEBFD;overflow:hidden}
.gtrack i{display:block;height:100%;border-radius:999px;background:var(--violet);transition:width .6s ease}
.gbar.ph .gtrack i{background:#D6336C}
.gcont{display:flex;align-items:center;gap:12px;background:var(--violet);color:#fff;border-radius:14px;padding:10px 14px;text-align:left;min-height:56px}
.gcont span{flex:1}.gcont small{display:block;font-size:12px;color:#E2DCFB}.gcont b{font-size:15px;font-weight:600}
.gcont svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gch{padding:18px 18px 10px;font-size:16px;font-weight:600}
.gtiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 12px}
.gtile{border:1.5px solid var(--card-border);border-radius:18px;padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;background:#fff}
.gtile:active,.gwide:active{background:#F7F5FF}
.gico{width:44px;height:44px;border-radius:13px;background:#EEEBFD;color:var(--violet);display:grid;place-items:center;margin-bottom:4px;flex:none}
.gico .mi{width:24px;height:24px}
.gtile b{font-size:15px;font-weight:600}
.gtile small{font-size:12px;color:#6E6680;line-height:1.3}
.gtile em{font-style:normal;font-size:11px;color:#6E6680;margin-top:auto;padding-top:4px}
.gmini{display:block;width:100%;height:5px;border-radius:999px;background:#EEEBFD;overflow:hidden;margin-top:6px}
.gmini i{display:block;height:100%;background:var(--violet)}
.gtile .gmini+em{padding-top:2px;margin-top:0}
.gwide{display:flex;align-items:center;gap:12px;margin:10px 12px 0;width:calc(100% - 24px);border:1.5px solid var(--card-border);border-radius:18px;padding:12px;text-align:left;background:#fff}
.gwide .gico{margin:0}
.gwide.bonus .gico{background:#FFF1E0;color:#C25A00}
.gico.pimg{background:#fff;overflow:hidden}.gico.pimg img{width:44px;height:44px;object-fit:contain}
.gw{flex:1;min-width:0}.gw b{display:block;font-size:15px;font-weight:600}.gw small{font-size:12px;color:#6E6680}
.gend{height:24px}
@media (min-width:700px){ .gtiles{grid-template-columns:repeat(4,1fr)} .gprog,.gtiles,.gwide{max-width:none} }
/* carte du guide sur le hub : progression après une première utilisation */
.fprog{display:flex;flex-direction:column;gap:6px}
.fpl{display:flex;align-items:baseline;gap:8px}
.fpl b{font-size:22px;font-weight:600;color:#D6336C}
.fpl span{font-size:13px;color:#6E6680}
.gtrack.ph i{background:#D6336C}
.fprog .gtrack{flex:none;height:10px;min-height:10px}

/* ---------- Practicar (jeu débloqué quand tout est écouté) ---------- */
.ghd{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-right:8px;margin-bottom:2px}
.ghd .label{padding-bottom:0}
.pslot:not(:empty){display:flex;justify-content:center;padding:10px 10px 8px;border-top:1px solid #EFEDF6;margin-top:2px}
.pbtn{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px 0 16px;border-radius:999px;background:var(--violet);color:#fff;font-size:15px;font-weight:600;box-shadow:0 3px 10px rgba(108,79,224,.3)}
.pbtn svg,.pbig>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.pbig{display:flex;align-items:center;gap:12px;width:calc(100% - 24px);margin:4px 12px 12px;padding:10px 14px 10px 10px;border-radius:18px;background:var(--violet);color:#fff;text-align:left;box-shadow:0 6px 18px rgba(108,79,224,.3)}
.pbig img{width:46px;height:auto;flex:none;animation:evobob 1.6s ease-in-out infinite}
.pbig span{flex:1}.pbig b{display:block;font-size:15px;font-weight:600}.pbig small{font-size:12px;color:#E2DCFB;line-height:1.3;display:block}
.pbig>svg{width:22px;height:22px;flex:none}
@keyframes evobob{50%{transform:translateY(-4px) rotate(-5deg)}}
.pop{animation:ppop .5s cubic-bezier(.2,1.6,.4,1)}
@keyframes ppop{0%{transform:scale(.4);opacity:0}100%{transform:none;opacity:1}}
.ppage:not(:empty) + .nextsub{background:#fff;color:#5940BF;border:1.5px solid var(--violet)}
/* progression totale : moitié écoute, moitié pratique */
.gptot{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.gptot span{display:flex;flex-direction:column}
.gptot small{font-size:11px;font-weight:500;color:#8A8398}
.gptot b{font-size:26px;font-weight:600;color:#1A1A1A;line-height:1}
.gtrack.big{height:14px;margin-top:-6px;background:#E6E1FA}
.gtrack.big i{background:linear-gradient(90deg,#D6336C,#6C4FE0)}
.gbar.pp .gbl svg{fill:none;stroke:var(--violet);stroke-width:2.2;stroke-linecap:round}
/* ampoule dans le coin : revoir le tutoriel */
.tutob{flex:none;width:38px;height:38px;border-radius:50%;background:#FFF1E0;display:grid;place-items:center;margin-right:6px}
.tutob svg{width:20px;height:20px;fill:none;stroke:#C25A00;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* étoiles gagnées au jeu */
.pst{color:#F5A623;font-size:18px;letter-spacing:2px;line-height:1}
.pst i{font-style:normal;color:#E4DFF3}
.pdone{display:flex;align-items:center;gap:10px;width:100%;padding:0 4px}
.pdone b{flex:1;font-size:15px;font-weight:600;color:#1A1A1A}
.pbtn.ghost{background:#EEEBFD;color:#5940BF;box-shadow:none;height:40px;font-size:14px}
.pbig.won{background:#fff;color:#1A1A1A;border:2px solid #F5C58A;box-shadow:0 6px 18px rgba(245,166,35,.18)}
.pbig.won small{color:#6E6680}.pbig.won>svg{stroke:#5940BF}
.pbig .pst{display:block;margin:2px 0}
.ppage:has(.pbig.won) + .nextsub{background:var(--violet);color:#fff;border-color:var(--violet)}
/* compteur d'étoiles (hub) */
.schip{display:inline-flex;align-items:center;gap:3px;background:#FFF4DE;color:#B86E00;border-radius:999px;padding:2px 9px;font-size:13px;font-weight:600;white-space:nowrap;line-height:1.4}
.schip.big{font-size:15px;padding:4px 11px;margin-left:auto;margin-right:10px;align-self:center}
.schip.tile{position:absolute;top:10px;right:10px}
.schip.in{font-size:12px;vertical-align:2px;margin-left:4px}
.schip.fp{margin-left:auto}
.gtile{position:relative}
.fpl .schip{color:#B86E00;font-size:13px}
.pr.pr-under{display:table;margin-top:4px;font-style:normal}
/* niveaux du jeu : cercles verts (faits) / violets (à faire) */
.lcs{display:inline-flex;align-items:center;gap:3px}
.lcs i{width:12px;height:2px;border-radius:2px;background:#E4DFF3}.lcs i.d{background:#1F8A70}
.lc{flex:none;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;box-sizing:border-box}
.lc.d{background:#1F8A70;color:#fff}.lc.n{background:var(--violet);color:#fff}.lc.t{border:2px solid #CFC8EA;color:#8A7BD8}
.lc.w.n{background:#fff;color:var(--violet)}.lc.w.t{border-color:rgba(255,255,255,.65);color:#fff}.lc.w.d{box-shadow:0 0 0 2px #fff}
.lcs:has(.w) i{background:rgba(255,255,255,.45)}
.pbig .lcs{margin:6px 0 4px}
.pbig.won{border-color:#1F8A70;box-shadow:0 6px 18px rgba(31,138,112,.15)}
.schip{background:#E6F6EE;color:#14532D}
.fpl .schip{color:#14532D}
