/* Leonida Companion V18 - CSS regroupé (règles inutilisées retirées, ordre de cascade conservé) */
:root{--bg:#10091f;--panel:#1d1233;--panel2:#29143e;--pink:#ff36c5;--pink2:#ff8be3;--cyan:#25eaff;--violet:#9b57ff;--gold:#ffbd48;--white:#fff8ff;--muted:#d7c6e6;--line:#fa69dc80}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#090612;color:var(--white);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input{font:inherit}
button{color:inherit;cursor:pointer}
.app{max-width:600px;min-height:100dvh;margin:auto;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 0,#392052 0,#1a1030 38%,#10091f 80%);padding-bottom:calc(83px + env(safe-area-inset-bottom))}
.status{height:26px;padding:5px 18px 0;display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;letter-spacing:.2px;background:#170d2a}
.header{height:54px;display:flex;align-items:center;justify-content:space-between;padding:5px 15px;background:linear-gradient(180deg,#1a0e2d,#1a0e2ddd);position:sticky;top:0;z-index:20;border-bottom:1px solid #ff70d42a;backdrop-filter:blur(14px)}
.round{width:38px;height:38px;border:1px solid #ffffff36;border-radius:50%;background:#211333e8;display:grid;place-items:center;font-size:19px;box-shadow:0 0 12px #f83fbd1c}
.brand{text-align:center;font-weight:1000;font-style:italic;letter-spacing:-1.3px;font-size:20px;line-height:.85;text-shadow:0 0 12px #ff37c4,0 2px 5px #10051b}
.brand .palm{color:var(--pink);font-size:22px}
.brand small{display:block;font-style:normal;font-size:10px;letter-spacing:1.6px;margin-top:5px;color:#f8c6eb}
.view{display:none;animation:in .22s ease}
.view.active{display:block}
from{opacity:.3;transform:translateY(5px)}
to{opacity:1;transform:none}
.hero{height:320px;position:relative;background-image:linear-gradient(180deg,#1b0d2c22 0%,#1b0d2c05 40%,#10091ff2 100%),url("assets/img-b9b4eca01b.webp");background-size:cover;background-position:center 53%;display:flex;align-items:flex-end;padding:20px 20px 23px}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#10091f2b,transparent 75%),radial-gradient(ellipse at 60% 50%,transparent 25%,#160a2766 100%);pointer-events:none}
.hero-kicker{font-size:11px;font-weight:900;letter-spacing:2.4px;color:#ffd2ef;text-shadow:0 0 9px #ff4ac6}
.hero h1{font-size:38px;line-height:.94;letter-spacing:-1.7px;margin:8px 0 9px;text-shadow:0 2px 10px #160a25}
.hero h1 em{display:block;font-family:"Brush Script MT","Segoe Script",cursive;font-size:54px;line-height:.95;color:#ff59cc;text-shadow:0 0 8px #ff39c4,0 0 22px #ff39c499;font-weight:700;letter-spacing:-1px}
.hero p{font-size:13px;line-height:1.38;margin:0;max-width:360px;text-shadow:0 1px 5px #080411}
.content{padding:8px 14px 18px}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{height:124px;border:1px solid #ff75d9a6;border-radius:17px;overflow:hidden;position:relative;text-align:left;padding:11px;background:#29153f;box-shadow:0 0 12px #ff3dc52b,inset 0 0 18px #ff4ac722}
.tile:before{content:"";position:absolute;inset:0;background-image:linear-gradient(0deg,#10091feF 0%,#1c103d77 58%,#170d2a12 100%),var(--tilebg);background-size:cover;background-position:center;transition:transform .25s}
.tile:active:before{transform:scale(1.05)}
.tile .ico{position:relative;display:block;font-size:22px;line-height:1;margin-bottom:8px;filter:drop-shadow(0 0 6px #ff39c7)}
.tile strong,.tile small{position:relative;display:block;text-shadow:0 1px 4px #080411}
.tile strong{font-size:14px}
.tile small{font-size:10px;line-height:1.2;color:#fff0fa;margin-top:3px}
.section{display:flex;align-items:center;justify-content:space-between;margin:17px 2px 9px}
.section h2{font-size:16px;margin:0}
.progress{border:1px solid #f66ad27d;border-radius:16px;background:linear-gradient(110deg,#2b1846,#201333);padding:13px;box-shadow:0 0 13px #f43bc522}
.progress-head{display:flex;justify-content:space-between;font-weight:800;font-size:13px}
.bar{height:9px;border-radius:30px;background:#57476f;overflow:hidden;margin-top:10px}
.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff3ebf,#a34dff,#20eaff);box-shadow:0 0 12px #ff3ebf}
.tabs{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,600px);display:grid;grid-template-columns:repeat(5,1fr);padding:9px 6px calc(7px + env(safe-area-inset-bottom));background:rgba(24,13,42,.97);border:1px solid #f56dd25a;border-bottom:0;border-radius:22px 22px 0 0;backdrop-filter:blur(16px);box-shadow:0 -4px 24px #08041188}
.tab{border:0;background:none;color:#d6c9e3;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;padding:2px 0}
.tab b{font-size:22px;font-weight:500;line-height:1}
.tab.active{color:#ff55c9;text-shadow:0 0 10px #ff32c6,0 0 18px #ff32c6}
.tab.active b{filter:drop-shadow(0 0 7px #ff32c6)}
.pagehead{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 11px}
.pagehead h1{font-size:21px;margin:0}
.search{width:100%;border:1px solid #d65fcf88;border-radius:13px;padding:11px 13px;background:#1c1230;color:white;outline:none;font-size:13px}
.search:focus{border-color:var(--cyan);box-shadow:0 0 0 2px #25eaff25,0 0 15px #25eaff35}
.chips{display:flex;gap:7px;overflow-x:auto;padding:10px 0 12px;scrollbar-width:none}
.chip{flex:none;border:1px solid #d76edb9c;border-radius:25px;background:#1e1532;color:#f8eaff;padding:8px 12px;font-size:12px}
.chip.active{background:linear-gradient(90deg,#ff35bd,#a64bff);box-shadow:0 0 13px #ff36c888;border-color:#ffa4e6}
.map-frame{height:min(60dvh,600px);min-height:390px;position:relative;overflow:hidden;border:1px solid #28eaffb0;border-radius:19px;background:#034f70;box-shadow:0 0 13px #22eaff6a,0 0 30px #ec35d633}
.map-image{position:absolute;inset:-3% -2%;background:url("assets/map-neon-v3.webp") center/cover no-repeat;transform:perspective(850px) rotateX(7deg) scale(1.04);transform-origin:center 57%;filter:saturate(1.12) contrast(1.08);transition:transform .2s}
.map-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#06122b26,transparent 24%,transparent 75%,#06122b44),radial-gradient(ellipse,transparent 42%,#001d3b66);pointer-events:none}
.compass{position:absolute;top:12px;right:13px;font-size:23px;color:#ffb4ed;text-shadow:0 0 10px #ff45c7}
.maplabel{position:absolute;left:58%;top:57%;font-family:"Brush Script MT","Segoe Script",cursive;font-size:30px;color:#ff6ed5;text-shadow:0 0 7px #ff27c2,0 0 18px #ff27c2,0 2px 5px #160822;pointer-events:none}
.pin{position:absolute;z-index:4;transform:translate(-50%,-50%);width:36px;height:36px;border:2px solid white;border-radius:50% 50% 50% 5px;rotate:-45deg;display:grid;place-items:center;background:#a34bff;box-shadow:0 0 10px #e75bff,0 0 23px #e75bff99}
.pin span{rotate:45deg;font-size:16px}
.pin.shop{background:#ff9e35;box-shadow:0 0 14px #ff9e35}
.pin.activity{background:#ef43b4;box-shadow:0 0 14px #ef43b4}
.pin.service{background:#10bfa0;box-shadow:0 0 14px #10e2c0}
.pin.secret{background:#eab53b;box-shadow:0 0 14px #ffd34a}
.map-tools{position:absolute;right:9px;bottom:12px;display:grid;gap:6px}
.map-tools button{width:36px;height:36px;border:1px solid #ffffff6e;border-radius:50%;background:#130c2bdf;font-size:18px;box-shadow:0 0 10px #22dfff55}
.map-scale{position:absolute;left:11px;bottom:14px;font-size:10px;text-shadow:0 1px 4px #000}
.region-card{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid #ed69d8a0;border-radius:16px;background:linear-gradient(110deg,#27163e,#1a1430);margin-top:11px;box-shadow:0 0 12px #f343c32a}
.region-card img{width:90px;height:63px;object-fit:cover;border-radius:11px}
.region-card strong{display:block;font-size:14px}
.region-card small{display:block;font-size:10px;color:#e8d9ef;line-height:1.3;margin-top:3px}
.placehero{height:285px;position:relative;background:url("assets/img-ee2c69447b.webp") center 34%/cover}
.placehero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#140b24 0%,transparent 75%)}
.placehero .back{position:absolute;z-index:2;top:14px;left:14px}
.placebody{padding:0 17px 22px;position:relative;margin-top:-4px}
.placebody h1{font-size:29px;margin:0 0 3px}
.location{font-size:12px;color:#ff79d8}
.tagrow{display:flex;gap:7px;overflow:auto;margin:14px 0}
.tag{white-space:nowrap;border:1px solid #ff64d58c;border-radius:20px;padding:7px 11px;font-size:10px;background:#28163e}
.placebody p{font-size:13px;line-height:1.48;color:#f2e5f3}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:13px 0}
.thumbs img{width:100%;height:88px;object-fit:cover;border-radius:12px;border:1px solid #ff71d48a}
.actionrow{border:1px solid #ef67d28c;border-radius:15px;overflow:hidden;background:#241439}
.action{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-bottom:1px solid #ffffff24;background:transparent;text-align:left;font-size:13px}
.action:last-child{border:0}
.action span:first-child{font-size:19px;color:#ff65d4;width:25px}
.card{border:1px solid #e866d77a;border-radius:16px;background:linear-gradient(130deg,#2c1847,#1c1331);padding:14px;margin:10px 0;box-shadow:0 0 12px #f13ac31a}
.muted{color:var(--muted)}
.small{font-size:11px}
.primary{border:0;border-radius:11px;background:linear-gradient(90deg,#ff36bc,#9c4cff);padding:10px 13px;font-weight:800;box-shadow:0 0 12px #f43fc355}
.secondary{border:1px solid #ed71d48c;border-radius:11px;background:#28183f;padding:9px 12px;font-size:11px}
.guide{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px;border:1px solid #e966d67a;border-radius:15px;background:linear-gradient(120deg,#321a4d,#1a1330);margin:9px 0}
.guide .ico{font-size:24px}
.guide strong{display:block;font-size:13px}
.guide small{font-size:10px;color:#e2d0eb}
.check{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff20;font-size:13px}
.check input{width:18px;height:18px;accent-color:#ff39c1}
.modalbg{position:fixed;inset:0;background:#080512c9;z-index:60;display:none;align-items:flex-end;justify-content:center}
.modalbg.open{display:flex}
.modal{width:min(100%,600px);max-height:84dvh;overflow:auto;border:1px solid #ff6bd9;border-radius:23px 23px 0 0;background:linear-gradient(160deg,#38204f,#17112b);padding:18px 18px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -8px 35px #ff39c833}
.close{float:right;border:0;border-radius:50%;width:33px;height:33px;background:#ffffff20;font-size:20px}
.toast{position:fixed;z-index:90;bottom:96px;left:50%;transform:translateX(-50%);display:none;background:#ffe2f5;color:#29112d;padding:10px 15px;border-radius:24px;font-size:12px;font-weight:800;white-space:normal;max-width:86vw;text-align:center;pointer-events:none}
.hero{height:370px}
.content{padding:10px 20px 18px}
.map-frame{height:600px}
.header{height:calc(54px + env(safe-area-inset-top,0px));padding-top:calc(5px + env(safe-area-inset-top,0px))}
.map-frame{height:auto!important;min-height:0!important;aspect-ratio:2200/3068}
.map-image{inset:0!important;background-size:100% 100%!important}
.pin.region{background:#10bfa0;box-shadow:0 0 14px #10e2c0}
.pin.district{background:#ff9e35;box-shadow:0 0 14px #ff9e35}
.rlabel{position:absolute;z-index:3;transform:translate(-50%,-50%);font-size:12px;font-weight:800;color:#fff;white-space:nowrap;pointer-events:none;text-shadow:0 1px 5px #000,0 0 9px #000}
.guide{gap:6px}
.guide .secondary{padding:7px 9px;font-size:12px;white-space:nowrap}
.pin.hl{z-index:6;animation:hl 1s ease-in-out 3}
50%{transform:translate(-50%,-50%) scale(1.4)}
.pin.hl{animation:none}
.note-form{display:flex;flex-direction:column;gap:9px}
.note-form textarea{min-height:110px;resize:vertical}
.note-item{margin:10px 0}
.note-item p{white-space:pre-wrap}
.note-actions{display:flex;gap:8px;flex-wrap:wrap}
.view{position:relative}
.view-back{position:absolute;z-index:30;top:12px;left:12px;width:38px;height:38px;border-radius:50%;border:1px solid rgba(74,226,255,.78);background:rgba(8,15,32,.82);color:#62edff;font-size:25px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 0 10px rgba(50,220,255,.38),inset 0 0 8px rgba(255,65,210,.12);cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.view-back:active{transform:scale(.94);filter:brightness(1.25)}
.view:not(.active) .view-back{display:none}
.view:not(#home)>.pagehead{padding-left:48px}
.app{max-width:600px;background:radial-gradient(ellipse at 50% 0,#241b49 0,#100b22 58%,#070916 100%)}
.header{height:66px;padding:6px 16px;background:linear-gradient(100deg,#100b22,#21113b 48%,#100b22);border-bottom:1px solid #ff4bd755;box-shadow:0 3px 18px #f43cc52a}
.brand{font-size:22px;line-height:1;letter-spacing:-.8px;font-style:italic;font-weight:900;color:#fff;text-shadow:0 0 8px #4beaff,0 0 17px #fa3bc9}
.brand .palm{font-size:25px;color:#51eaff;filter:drop-shadow(0 0 6px #32eaff);display:inline-flex;vertical-align:-4px;margin-right:2px}
.brand i{font-style:italic;color:#ff8be3}
.brand small{font-size:9px;letter-spacing:1.25px;margin-top:6px;color:#f4d9ff}
.hero.hero-refonte{height:auto;aspect-ratio:4.58/1;margin:8px 8px 12px;border:1px solid #f05bdf;border-radius:24px;background-image:url(assets/img-8b0bd578f0.webp);background-size:cover;background-position:center;box-shadow:0 0 9px #31eaffb8,0 0 20px #ff36c58c,inset 0 0 14px #fff2;overflow:hidden}
.content{padding:2px 9px 18px}
.tabs{height:76px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:linear-gradient(100deg,#11152fef,#1c1437f5);border:1px solid #7255a8;border-radius:24px 24px 0 0;box-shadow:0 -4px 22px #36dfff20;backdrop-filter:blur(16px)}
.tab{font-size:10px;gap:3px;color:#f7f1ff}
.tab b{font-size:23px;line-height:1;color:#fff;text-shadow:0 0 7px #52eaff}
.tab.active{color:#ff8be3;text-shadow:0 0 9px #ff39cb}
.tab.active b{color:#ff6edc;text-shadow:0 0 8px #ff38cb,0 0 17px #ff38cb}
.hero.hero-refonte{aspect-ratio:4.2/1;margin:7px 7px 10px}
.content{padding-left:7px;padding-right:7px}
.hero.hero-refonte{max-height:180px}
.app{max-width:1200px;background:radial-gradient(ellipse at 50% 0%,#24133e 0%,#100b22 58%,#070916 100%)}
.status{display:none}
.header{height:72px;padding:7px 22px;background:linear-gradient(100deg,#100b22,#21113b 48%,#100b22);border-bottom:1px solid rgba(255,73,211,.34);box-shadow:0 4px 22px rgba(0,0,0,.28)}
.brand{font-size:clamp(23px,3vw,34px);letter-spacing:-1.1px;line-height:1;text-shadow:0 0 12px #ff37c4,0 0 25px #b34dff}
.brand .palm{font-size:1.05em;color:#49eaff}
.brand small{font-size:10px;letter-spacing:2px;margin-top:6px;color:#f8c6eb}
.header .round{width:42px;height:42px;border-color:#ff63d4;background:#160d2c;box-shadow:0 0 13px #ff43cb66}
.hero-refonte{aspect-ratio:3.65/1;height:auto;margin:8px 10px 14px;border:1px solid #f05bdf;border-radius:26px;box-shadow:0 0 12px #24eaff88,0 0 25px #f12ad477;background-size:cover;background-position:center}
.content{padding:8px 10px 24px}
.tabs{width:calc(100% - 20px);max-width:1180px;left:50%;bottom:8px;transform:translateX(-50%);padding:10px 10px calc(9px + env(safe-area-inset-bottom));border:1px solid #8062b8;border-radius:28px;background:linear-gradient(100deg,rgba(20,17,45,.97),rgba(9,25,48,.97));box-shadow:0 0 18px #d43acb55,0 0 22px #16cfff22;backdrop-filter:blur(18px)}
.tab{font-size:12px;gap:4px;padding:3px 0;color:#f3efff}
.tab b{font-size:25px;line-height:1.1}
.tab.active{color:#ff65d9;text-shadow:0 0 10px #ff32c6,0 0 18px #ff32c6}
.pagehead{padding-top:18px}
.view-back{position:absolute;top:14px;left:14px;z-index:40;width:38px;height:38px}
.view:not(.active) .view-back{display:none}
.view:not(#home)>.pagehead{padding-left:62px;min-height:62px;align-items:center}
.view:not(#home)>.content>.pagehead{padding-left:62px;min-height:62px;align-items:center}
.view:not(#home)>.placebody{padding-top:14px}
.app{max-width:100%;}
.header{height:64px;padding:6px 14px}
.brand{font-size:23px}
.hero-refonte{aspect-ratio:3.25/1;margin:7px 8px 12px;border-radius:20px}
.content{padding:7px 9px 22px}
.tabs{width:calc(100% - 16px);bottom:5px;border-radius:22px}
.tab{font-size:10px}
.tab b{font-size:22px}
.content{padding-left:16px;padding-right:16px}

.tiles.tiles-neo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;margin:0}
.tile-neo{position:relative;display:flex;align-items:center;gap:8px;height:96px;padding:0 10px 0 11px;overflow:hidden;text-align:left;color:#fff;border:1.5px solid transparent;border-radius:20px;background:linear-gradient(100deg,#0b1430 0%,#1a1040 55%,#2a1254 100%) padding-box,linear-gradient(120deg,#24eaff,#a35cff 55%,#ff4fd8) border-box;box-shadow:0 0 12px #24eaff40,0 0 18px #ff3dc533,inset 0 0 16px #0f2a5a66;transition:transform .15s,filter .15s}
.tile-neo:active{transform:scale(.98);filter:brightness(1.15)}
.tile-neo .tn-photo{position:absolute;top:0;right:0;bottom:0;width:58%;background-size:cover;background-position:center;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 55%);mask-image:linear-gradient(90deg,transparent 0,#000 55%);opacity:.95}
.tile-neo .tn-ico{position:relative;flex:none;width:30px;height:30px;color:#35f0ff;filter:drop-shadow(0 0 5px #24eaff) drop-shadow(0 0 10px #24eaff88)}
.tile-neo .tn-txt{position:relative;min-width:0;display:block;text-shadow:0 1px 5px #05030c,0 0 10px #05030c}
.tile-neo .tn-txt strong{display:block;font-size:16px;font-style:italic;font-weight:800;line-height:1.05;letter-spacing:-.2px}
.tile-neo .tn-txt small{display:block;margin-top:4px;font-size:9.5px;line-height:1.2;color:#f1eaff;font-weight:500}
@media(max-width:350px){.tile-neo .tn-ico{width:24px;height:24px}.tile-neo .tn-txt strong{font-size:14px}}

/* V18 — suivi des médias officiels et actualisation GTADB */
.official-map-update{margin:12px 0 16px;padding:13px;border:1px solid #ff70d477;border-radius:16px;background:linear-gradient(120deg,#211238f2,#111b36f2);box-shadow:0 0 16px #ff36c51c}
.official-map-top{display:flex;align-items:center;gap:9px}
.official-map-mark{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:#ff36c522;color:#ff8be3;font-weight:1000;font-size:13px}
.official-map-top strong{display:block;font-size:13px}.official-map-top small{display:block;margin-top:3px;color:#d7c6e6;font-size:10px}
.official-map-status{margin-left:auto;padding:5px 8px;border-radius:20px;background:#ffbd4820;color:#ffcf78;font-size:9px;font-weight:800;white-space:nowrap}
.official-map-update p{margin:10px 0;color:#eee2f7;font-size:11px;line-height:1.45}
.official-map-links{display:flex;gap:8px;flex-wrap:wrap}.official-map-links a{display:inline-block;padding:7px 10px;border:1px solid #25eaff66;border-radius:9px;color:#8df5ff;text-decoration:none;font-size:10px;font-weight:800}

/* V18 — accueil = menu de tuiles, mini-barre de raccourcis dans les pages */
.tile-neo.tile-wide{grid-column:1/-1;height:112px}
.tile-neo.tile-wide .tn-ico{width:36px;height:36px}.tile-neo.tile-wide .tn-txt strong{font-size:20px}.tile-neo.tile-wide .tn-txt small{font-size:11px}
.tile-neo.tile-guides{background:linear-gradient(100deg,#0b1430 0%,#1d1048 50%,#5a1d8a 100%) padding-box,linear-gradient(120deg,#24eaff,#a35cff 55%,#ff4fd8) border-box}
.minibar{position:fixed;z-index:30;left:50%;transform:translateX(-50%);bottom:calc(12px + env(safe-area-inset-bottom));display:flex;gap:4px;padding:6px;border-radius:30px;background:#140c2cf2;border:1px solid #ff70d477;box-shadow:0 0 16px #ff36c533,0 0 20px #24eaff22;backdrop-filter:blur(14px)}
.minibar .mb{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:78px;padding:6px 14px;border:0;border-radius:22px;background:none;color:#e4d9f3;font:600 10px system-ui,sans-serif}
.minibar .mb b{font-size:19px;font-weight:500;line-height:1.1}
.minibar .mb.active{background:#ff36c52e;color:#ff8be3;text-shadow:0 0 9px #ff39cb}
body.is-home .minibar{display:none}
.view:not(#home) .content{padding-bottom:104px}

.mapcard{position:fixed;z-index:35;left:12px;right:12px;bottom:calc(92px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;padding:14px;border-radius:20px;color:#fff;background:linear-gradient(120deg,#160d30f5,#10163aee);border:1px solid #ff70d4aa;box-shadow:0 0 20px #ff36c544,0 0 26px #24eaff22;backdrop-filter:blur(14px);display:none}
.mapcard.open{display:block;animation:in .22s ease}
.mapcard .mc-top{display:flex;gap:12px;align-items:center;padding-right:28px}.mapcard .mc-ico{font-size:30px}
.mapcard strong{display:block;font-size:17px}.mapcard small{display:block;color:#cdb9e8;font-size:11px;margin-top:2px}
.mapcard p{margin:9px 0;font-size:12px;line-height:1.4;color:#eee2f7}
.mapcard .mc-act{display:flex;gap:8px;align-items:center}.mapcard .mc-act .secondary{flex:1}
.mapcard .mc-x{position:absolute;top:8px;right:10px;border:0;background:none;color:#fff;font-size:24px;line-height:1}

details.grp{margin:0 0 10px;border:1px solid #ff70d477;border-radius:16px;background:linear-gradient(110deg,#2b1846,#201333);box-shadow:0 0 12px #f43bc51f;overflow:hidden}
details.grp>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:15px 14px;cursor:pointer;font-weight:800;font-size:15px}
details.grp>summary::-webkit-details-marker{display:none}
details.grp .g-t{flex:1}
details.grp .g-n{min-width:26px;padding:3px 9px;border-radius:20px;background:#24eaff22;border:1px solid #24eaff66;color:#8df5ff;font-size:11px;text-align:center}
details.grp .g-a{color:#ff8be3;font-size:22px;line-height:1;transition:transform .2s}
details.grp[open] .g-a{transform:rotate(90deg)}
details.grp .g-b{padding:0 8px 8px}
details.grp .g-b .guide{margin-bottom:8px}

/* V18 */
.view:not(#home)>.content>.pagehead,.view:not(#home)>.pagehead{padding-left:54px!important;min-height:44px}
.heart{width:38px;height:38px;flex:none;border-radius:50%;border:1px solid #ff70d4aa;background:#211333;color:#ff8be3;font-size:18px;line-height:1;display:grid;place-items:center;box-shadow:0 0 10px #ff36c533;padding:0}
.map-frame{touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.map-frame.adding{outline:2px dashed #35f0ff;outline-offset:-3px;cursor:crosshair}
.map-tools button.on{background:#35f0ff;box-shadow:0 0 14px #35f0ff}
.pin{transform:translate(-50%,-50%) scale(var(--inv,1))}
.rlabel{transform:translate(-50%,-50%) scale(var(--inv,1))}
.pin.mine{background:#35dff5;box-shadow:0 0 14px #35dff5,0 0 24px #35dff588}
.home-foot{text-align:center;font-size:11px;color:#bfb0d6;margin:14px 0 24px}
.linkbtn{background:none;border:0;color:#8df5ff;font:inherit;text-decoration:underline;padding:0}
#modal a{color:#8df5ff}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[role=button]:focus-visible{outline:2px solid #35f0ff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* V18 — cases à cocher néon et en-tête du carnet */
input[type=checkbox]{-webkit-appearance:none;appearance:none;width:22px;height:22px;flex:none;margin:0;border:2px solid #35f0ff;border-radius:7px;background:#120a26;box-shadow:0 0 8px #35f0ff44;display:inline-grid;place-content:center;cursor:pointer}
input[type=checkbox]:checked{background:linear-gradient(135deg,#ff36c5,#a34dff);border-color:#ff8be3;box-shadow:0 0 10px #ff36c588}
input[type=checkbox]:checked::after{content:"✓";color:#fff;font-size:14px;font-weight:800;line-height:1}
#notes .pagehead{flex-wrap:wrap;row-gap:2px}
#notes .pagehead .small{width:100%}

/* V18.1 — sous-tuiles (niveau 2, plus sobres que l'accueil) */
.subtiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.subtile{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:6px;min-height:104px;padding:14px;text-align:left;color:#fff;border:1px solid #5a4a8a;border-radius:16px;background:linear-gradient(150deg,#1d1436,#150e2a);box-shadow:inset 0 0 18px #6d4fc01f}
.subtile:active{border-color:#35f0ff;background:#241a44}
.subtile .st-ico{font-size:28px;line-height:1}
.subtile strong{font-size:14px;line-height:1.2}
.subtile small{font-size:11px;color:#b9a9d4}
.drill-back{border:1px solid #5a4a8a;background:#1a1230;color:#8df5ff;border-radius:20px;padding:8px 14px;font:600 12px system-ui,sans-serif;margin:0 0 10px}
.drill-title{display:flex;align-items:center;gap:10px;margin:2px 2px 12px;font-size:19px}
.drill-title strong{flex:1}.drill-title em{font-style:normal;font-size:11px;padding:3px 10px;border-radius:20px;background:#24eaff22;border:1px solid #24eaff66;color:#8df5ff}
.subtiles{margin-top:12px}

/* Guides : cartes de conseils */
.tip{margin:0 0 10px;padding:13px 14px;border:1px solid #ff70d455;border-radius:14px;background:linear-gradient(110deg,#2b1846,#201333)}
.tip strong{display:block;font-size:14px;margin-bottom:5px}
.tip p{margin:0 0 8px;font-size:13px;line-height:1.45;color:#eee2f7}
.tip small{display:block;font-size:10.5px;color:#b9a9d4}
.tip a{color:#8df5ff}
#guides>.content,#secrets>.content{padding-top:56px}

.tip .tippin{display:inline-block;margin-top:2px;font-size:12px}

.tile-neo.tile-secrets{background:linear-gradient(100deg,#2a0f3a 0%,#4a1458 50%,#8a1d6a 100%) padding-box,linear-gradient(120deg,#ffb04a,#ff4fd8 55%,#a35cff) border-box}
.tile-neo.tile-secrets .tn-ico{color:#ffd37a;filter:drop-shadow(0 0 5px #ffb04a) drop-shadow(0 0 10px #ffb04a88)}
.tile-neo.tile-note{display:flex;height:64px}
.tile-neo.tile-note .tn-txt strong{font-size:15px}

/* V18.7 lisibilité : contenus un peu plus grands */
.tip{padding:15px 16px}
.tip strong{font-size:16px;margin-bottom:6px}
.tip p{font-size:14.5px;line-height:1.55}
.tip .tippin{font-size:13.5px}
.small{font-size:12.5px;line-height:1.45}
.guide strong{font-size:15px}
.guide small{font-size:12.5px}
.subtile strong{font-size:15.5px}
.subtile small{font-size:12.5px}
#modalBody p{font-size:17px;line-height:1.62}
#modalBody p.small{font-size:14px}

.secret-list{display:grid;gap:10px}
.tile-neo.tile-secret-item{width:100%;height:auto;min-height:64px;padding:12px 14px;gap:12px;background:linear-gradient(100deg,#2a0f3a 0%,#4a1458 55%,#7a1d70 100%) padding-box,linear-gradient(120deg,#ffb04a,#ff4fd8 55%,#a35cff) border-box}
.tile-secret-item .tn-txt{flex:1}
.tile-secret-item .tn-txt strong{font-size:16px;line-height:1.2}
.si-n{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-weight:800;font-size:14px;color:#2a0f3a;background:linear-gradient(135deg,#ffd37a,#ff8ad8)}
.si-go{flex:none;font-size:26px;line-height:1;color:#ffd37a}

.tippin.on,.primary.on[data-tippin],.primary.on[data-marker-add]{filter:drop-shadow(0 0 6px #35f0ff88)}
.tippin.off,.primary.off{opacity:.42;filter:grayscale(.7);cursor:default;box-shadow:none}
.tippin.off{text-decoration:none}

/* V19.2 — pins : vraie épingle, pointe = position exacte, petit rond au bout */
.pin{--pc:#a34bff;width:30px;height:31px;border:0;border-radius:0;rotate:none;background:none;box-shadow:none;padding:0;overflow:visible;display:block;transform:translate(-50%,-100%) scale(var(--inv,1));transform-origin:50% 100%;cursor:pointer}
.pin::before{content:"";position:absolute;left:2px;top:0;width:26px;height:26px;border-radius:50% 50% 50% 0;rotate:-45deg;background:var(--pc);border:2px solid #fff;box-sizing:border-box;box-shadow:0 0 10px var(--pc),0 0 20px color-mix(in srgb,var(--pc) 55%,transparent)}
.pin span{position:absolute;left:0;top:0;width:30px;height:26px;display:grid;place-items:center;rotate:none;font-size:13px;line-height:1;z-index:1}
.pin.shop{--pc:#ff9e35;background:none;box-shadow:none}
.pin.activity{--pc:#ef43b4;background:none;box-shadow:none}
.pin.service,.pin.region{--pc:#10bfa0;background:none;box-shadow:none}
.pin.secret{--pc:#eab53b;background:none;box-shadow:none}
.pin.district{--pc:#ff9e35;background:none;box-shadow:none}
.pin.mine{--pc:#35dff5;background:none;box-shadow:none}
.pin.hl{transform:translate(-50%,-100%) scale(calc(var(--inv,1)*1.25))}

.map-frame.zoomed,.map-frame.adding{touch-action:none}


.spoilbtn{display:block;width:100%;margin-top:8px;padding:11px 14px;border-radius:14px;border:1.5px solid #ff4fd8;background:linear-gradient(100deg,#2a0f3a,#4a1458);color:#ffd0f2;font:700 14px/1.2 inherit;cursor:pointer;box-shadow:0 0 12px #ff4fd855;text-align:center}
.spoilbtn:active{transform:scale(.98)}
.spoilbody[hidden]{display:none}

/* V19.16 : fenêtres (secrets, fiches) plus lisibles */
#modalBody h2{font-size:25px;line-height:1.2}
#modalBody .small,#modalBody .muted{font-size:14px;line-height:1.5}
#modalBody .primary,#modalBody .linkbtn,#modalBody button{font-size:16px}
#modalBody strong{font-size:inherit}
#modalBody button.primary{display:block;width:100%;margin-top:8px}


/* Accueil néon alternatif — règles limitées à #home et .home-neon-* */
#home{padding:0 0 110px;overflow-x:hidden}
#home .home-neon-title{padding:12px 16px 13px;color:#fff;font-size:clamp(25px,6.4vw,32px);font-weight:900;font-style:italic;letter-spacing:-.7px;text-shadow:0 0 8px #ff3da6,0 0 20px #ff3da688}
#home .home-neon-hero{position:relative;aspect-ratio:16/9;min-height:150px;margin:0 12px 12px;border:1.5px solid #ff3da6;border-radius:24px;overflow:hidden;background:#1e1033 center/cover no-repeat;box-shadow:0 0 10px #ff3da688,0 0 22px #a98bff44}
#home .home-neon-hero:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(0deg,#12091f88,transparent);pointer-events:none}
#home .home-neon-mapcta{position:absolute;z-index:1;right:12px;bottom:12px;min-height:48px;display:flex;align-items:center;gap:9px;padding:0 17px;border:1px solid #ff9edb;border-radius:30px;background:linear-gradient(100deg,#ff168c,#d900a2);color:#fff;font-size:16px;font-weight:850;box-shadow:0 0 12px #ff3da6,0 0 24px #ff3da677}
#home .home-neon-mapcta span{font-size:22px}
#home .home-neon-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 12px 14px;padding:12px 6px 14px;border:1px solid #9259b9;border-radius:22px;background:linear-gradient(115deg,#17102d,#291342);box-shadow:0 0 14px #a98bff33}
#home .home-neon-stat{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;column-gap:5px;min-width:0;padding:0 7px 12px}
#home .home-neon-stat+.home-neon-stat{border-left:1px solid #8a68aa;padding-left:10px}
#home .home-neon-stat-icon{grid-row:1/3;text-align:center;font-size:25px;font-weight:900}
#home .home-neon-stat-copy strong{display:block;font-size:clamp(18px,5vw,23px);line-height:1.1;color:#fff}
#home .home-neon-stat-copy span{display:block;font-size:13px;line-height:1.15;color:#fff;white-space:nowrap}
#home .home-neon-meter{position:absolute;left:6px;right:6px;bottom:0;height:7px;border-radius:9px;background:#55476e;overflow:hidden}
#home .home-neon-meter b{display:block;height:100%;width:0;border-radius:9px;transition:width .25s ease}
#home .stat-progress .home-neon-stat-icon{color:#2ee6d6}#home .stat-progress .home-neon-meter b{background:#2ee6d6}
#home .stat-pins .home-neon-stat-icon{color:#ff5caa}#home .stat-pins .home-neon-meter b{background:#ff3da6}
#home .stat-favs .home-neon-stat-icon{color:#b58cff}#home .stat-favs .home-neon-meter b{background:#a98bff}
#home .home-neon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:0 12px}
#home .home-neon-tile{--tile-accent:#ff3da6;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0;min-height:126px;aspect-ratio:1/1.12;padding:8px 3px 10px;border:1.5px solid var(--tile-accent);border-radius:20px;overflow:hidden;background:#1e1033;color:#fff;box-shadow:0 0 9px color-mix(in srgb,var(--tile-accent),transparent 40%),inset 0 0 10px #fff1}
#home .home-neon-tile:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#12091ff5 0%,#12091f8a 37%,#12091f00 100%)}
#home .home-neon-art{position:absolute;z-index:-2;inset:0;background-position:center;background-size:cover}
#home .tile-vehicles{--tile-accent:#2ee6d6}#home .tile-weapons{--tile-accent:#ff3da6}#home .tile-collections{--tile-accent:#ffc46b}#home .tile-places{--tile-accent:#ff3da6}#home .tile-characters{--tile-accent:#ffc46b}#home .tile-fauna{--tile-accent:#8de95c}#home .tile-activities{--tile-accent:#2ee6d6}#home .tile-guides{--tile-accent:#a98bff}
#home .home-neon-icon{position:absolute;top:8px;left:0;right:0;text-align:center;font-size:28px;line-height:1.1;font-weight:900;color:var(--tile-accent);text-shadow:0 0 8px var(--tile-accent),0 0 16px color-mix(in srgb,var(--tile-accent),transparent 40%)}
#home .home-neon-tile strong{display:block;width:100%;font-size:clamp(10px,2.9vw,13px);line-height:1.12;font-weight:900;text-align:center;text-shadow:0 2px 5px #000}
#home .home-neon-tile small{display:block;margin-top:4px;font-size:clamp(10px,2.8vw,12px);line-height:1.1;text-align:center;color:#fff;text-shadow:0 2px 5px #000;white-space:nowrap}
#home .home-neon-wide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px 12px 0}
#home .home-neon-wide{--tile-accent:#ff3da6;position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:flex-start;gap:10px;min-width:0;height:78px;padding:10px 12px;border:1.5px solid var(--tile-accent);border-radius:18px;overflow:hidden;background:#1e1033;color:#fff;box-shadow:0 0 9px color-mix(in srgb,var(--tile-accent),transparent 42%)}
#home .home-neon-wide:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#12091ff2 0%,#12091f88 58%,#12091f22)}
#home .home-neon-wide-art{position:absolute;z-index:-2;inset:0;background-position:center;background-size:cover}
#home .home-neon-notes{--tile-accent:#2ee6d6}
#home .home-neon-wide-icon{font-size:28px;color:var(--tile-accent);text-shadow:0 0 8px var(--tile-accent);flex:none}
#home .home-neon-wide-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
#home .home-neon-wide strong{font-size:14px;line-height:1.12;text-shadow:0 2px 5px #000}
#home .home-neon-wide small{font-size:13px;color:#fff;text-shadow:0 2px 5px #000}
#home .home-neon-legacy-progress{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
#home .home-neon-foot{margin:12px 10px 8px;padding:0 8px;text-align:center;color:#eee0fa;font-size:13px;line-height:1.4}
#home .home-neon-foot .linkbtn{color:#fff;font-size:13px;text-decoration:underline}
#minibar{display:flex!important;justify-content:space-around!important;gap:4px}
#minibar .mb{flex:1;min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:13px}
#minibar .mb b{font-size:25px;line-height:1.05}
#minibar .mb.active{color:#ff72bf;text-shadow:0 0 10px #ff3da6}
@media(max-width:370px){
 #home .home-neon-title{font-size:25px;padding-left:14px}
 #home .home-neon-grid{gap:7px;padding:0 9px}
 #home .home-neon-tile{min-height:108px;border-radius:16px;padding-bottom:8px}
 #home .home-neon-tile strong{font-size:10px}
 #home .home-neon-tile small{font-size:10px}
 #home .home-neon-icon{font-size:25px}
 #home .home-neon-stats{margin-left:9px;margin-right:9px;padding-left:3px;padding-right:3px}
 #home .home-neon-stat{grid-template-columns:22px minmax(0,1fr);column-gap:3px;padding-left:4px;padding-right:4px}
 #home .home-neon-stat+.home-neon-stat{padding-left:6px}
 #home .home-neon-stat-icon{font-size:22px}
 #home .home-neon-stat-copy strong{font-size:18px}
 #home .home-neon-stat-copy span{font-size:12px}
 #home .home-neon-wide{height:72px;padding:8px}
 #home .home-neon-wide strong{font-size:12px}
}


/* Correctifs accueil néon (Claude) : grille 4 colonnes sans débordement, icônes SVG */
#home .home-neon-grid{box-sizing:border-box;width:100%}
#home .home-neon-tile{aspect-ratio:auto;height:132px;min-height:0;width:100%;box-sizing:border-box}
#home .home-neon-icon svg,#home .home-neon-wide-icon svg,#home .home-neon-stat-icon svg,#minibar .mb b svg,#home .home-neon-mapcta svg{display:block;margin:0 auto}
#home .home-neon-icon{font-size:0;line-height:0;filter:drop-shadow(0 0 5px var(--tile-accent))}
#minibar .mb b{font-size:0;line-height:0;display:block}
#home .home-neon-stat-icon{font-size:0}
#home .home-neon-wide-icon{font-size:0}
#home .home-neon-mapcta{padding:0 16px}
/* Icônes de tuiles : pastille sombre + icône plus grande, lisible sur tous les fonds */
#home .home-neon-icon{top:8px;left:50%;right:auto;transform:translateX(-50%);width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#12091fcc;border:1.5px solid var(--tile-accent);box-shadow:0 0 10px color-mix(in srgb,var(--tile-accent),transparent 45%);filter:none;text-shadow:none}
#home .home-neon-icon svg{width:30px;height:30px;margin:0;stroke-width:2.2}
#home .home-neon-wide-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#12091fcc;border:1.5px solid var(--tile-accent);box-shadow:0 0 10px color-mix(in srgb,var(--tile-accent),transparent 45%);text-shadow:none}
#home .home-neon-wide-icon svg{width:30px;height:30px;margin:0;stroke-width:2.2}
#home .tile-places{--tile-accent:#ffd166}
#home .tile-guides{--tile-accent:#c7a6ff}

/* Titre et hero stylisés */
#home .home-neon-title{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:end;padding:14px 16px 16px;font-style:italic;font-weight:900;text-shadow:none}
#home .home-neon-title .hn-sun{grid-row:1/3;align-self:center;filter:drop-shadow(0 0 8px #ff3da6)}
#home .home-neon-title .hn-t1{font-size:clamp(15px,4.2vw,18px);color:#2ee6d6;text-shadow:0 0 9px #2ee6d6;letter-spacing:.4px;line-height:1}
#home .home-neon-title .hn-t2{font-size:clamp(34px,10vw,42px);line-height:1;letter-spacing:-1px;color:#fff;text-shadow:0 0 6px #fff8,0 0 14px #ff3da6,0 0 30px #ff3da6aa}
#home .home-neon-title:after{content:"";position:absolute;left:16px;right:16px;bottom:6px;height:3px;border-radius:3px;background:linear-gradient(90deg,#2ee6d6,#ff3da6 60%,transparent);box-shadow:0 0 10px #ff3da6}
#home .hn-hero-text{position:absolute;z-index:1;left:14px;top:12px;display:flex;flex-direction:column;align-items:flex-start;transform:rotate(-4deg);transform-origin:left top;pointer-events:none}
#home .hn-h1{font-size:clamp(26px,7.6vw,32px);font-style:italic;font-weight:900;line-height:1;color:#7ff6ee;text-shadow:0 0 6px #2ee6d6,0 0 16px #2ee6d6,0 2px 4px #0008}
#home .hn-h2{font-size:clamp(38px,11.4vw,48px);font-style:italic;font-weight:900;line-height:.95;color:#fff;margin-left:14px;text-shadow:0 0 6px #fff8,0 0 14px #ff3da6,0 0 30px #ff3da6,0 2px 4px #0008}
#home .hn-h3{margin:8px 0 0 2px;padding:3px 9px;border-radius:10px;background:#12091fb3;border:1px solid #ff3da6aa;color:#fff;font-size:11.5px;font-style:normal;font-weight:700;letter-spacing:.2px;transform:rotate(4deg);transform-origin:left top}
#home .home-neon-foot{margin:14px 12px 100px;padding-bottom:0}
/* Accueil sur un seul écran : hero allongé, titre compact, tuiles plus basses */
#home .home-neon-title{display:flex;align-items:baseline;gap:8px;padding:6px 16px 4px;grid-template-columns:none}
#home .home-neon-title:after{display:none}
#home .home-neon-title .hn-sun{width:30px;height:30px;align-self:center;grid-row:auto}
#home .home-neon-title .hn-t1{font-size:15px}
#home .home-neon-title .hn-t2{font-size:28px;letter-spacing:-.5px}
#home .home-neon-hero{aspect-ratio:auto;height:clamp(80px,11.5vh,104px);min-height:0;margin:0 12px 8px;border-radius:20px}
#home .hn-hero-text{left:14px;top:50%;transform:translateY(-50%) rotate(-3deg);transform-origin:left center}
#home .hn-h1{font-size:19px}
#home .hn-h2{font-size:27px;margin-left:10px}
#home .hn-h3{display:none}
#home .home-neon-mapcta{right:10px;bottom:auto;top:50%;transform:translateY(-50%);min-height:44px;padding:0 13px;font-size:14px;gap:6px}
#home .home-neon-mapcta svg{width:19px;height:19px}
#home .home-neon-stats{margin:0 12px 8px;padding:8px 6px 12px;border-radius:18px}
#home .home-neon-stat-copy strong{font-size:clamp(17px,4.8vw,21px)}
#home .home-neon-grid{gap:7px}
#home .home-neon-tile{height:clamp(92px,13.2vh,118px);border-radius:16px}
#home .home-neon-icon,#home .home-neon-wide-icon{width:36px;height:36px;border-radius:11px}
#home .home-neon-icon svg,#home .home-neon-wide-icon svg{width:22px;height:22px}
#home .home-neon-tile strong{font-size:clamp(10px,2.8vw,12.5px)}
#home .home-neon-tile small{font-size:clamp(10px,2.7vw,11.5px);margin-top:2px}
#home .home-neon-wide-grid{padding:7px 12px 0;gap:7px}
#home .home-neon-wide{height:clamp(54px,8vh,66px)}
#home .home-neon-foot{margin:6px 12px 0;font-size:11.5px;line-height:1.3}
#home .content,#home{padding-bottom:0}
#home .home-neon-wide strong{font-size:15px}
#home .home-neon-hero{height:clamp(80px,13vh,128px)}
#home .home-neon-tile{height:clamp(92px,15.2vh,150px)}
#home .home-neon-wide{height:clamp(54px,9vh,84px)}
#home .home-neon-stats{margin-bottom:10px}
#home .home-neon-foot{margin-top:10px}
#home .home-neon-stat-copy span{font-size:12px}#home .home-neon-stat{column-gap:4px;padding-left:4px;padding-right:4px}
/* Accueil : remplit tout l'écran, hero carte, Secrets en doré */
#home.active{display:flex;flex-direction:column;min-height:calc(100dvh - 64px)}
#home .content{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;padding:0 0 86px}
#home .home-neon-title{flex:none}
#home .home-neon-hero{flex:1.15 1 auto;height:auto;min-height:84px;max-height:150px}
#home .home-neon-stats{flex:none}
#home .home-neon-grid{flex:3.2 1 auto;grid-template-rows:repeat(2,minmax(0,1fr));min-height:190px}
#home .home-neon-tile{height:auto;min-height:0}
#home .home-neon-wide-grid{flex:.95 1 auto;grid-template-rows:minmax(0,1fr);min-height:56px;max-height:96px}
#home .home-neon-wide{height:auto;min-height:0}
#home .home-neon-foot{flex:none;margin:10px 12px 0}
#home .home-neon-mapcta{position:absolute;inset:0;transform:none;display:flex;align-items:center;gap:12px;width:100%;height:100%;padding:0 16px 0 14px;border:0;border-radius:inherit;background:linear-gradient(90deg,#12091fcc 0%,#12091f66 55%,#12091f22 100%);box-shadow:none;color:#fff;text-align:left}
#home .hn-mapic{flex:none;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#12091fcc;border:1.5px solid #2ee6d6;color:#2ee6d6;box-shadow:0 0 12px #2ee6d6aa}
#home .hn-mapic svg{width:30px;height:30px}
#home .hn-maptxt{display:flex;flex-direction:column;flex:1;min-width:0;transform:rotate(-3deg);transform-origin:left center}
#home .hn-maparrow{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:linear-gradient(100deg,#ff168c,#d900a2);box-shadow:0 0 12px #ff3da6}
#home .hn-maparrow svg{width:22px;height:22px}
#home .hn-h1{font-size:20px}
#home .hn-h2{font-size:30px;margin-left:8px}
#home .home-neon-secrets{--tile-accent:#ffc23d;border-color:#ffc23d;box-shadow:0 0 12px #ffc23d99,0 0 26px #ffc23d44,inset 0 0 12px #ffc23d33}
#home .home-neon-secrets:before{background:linear-gradient(90deg,#2a1a02f2 0%,#2a1a02aa 58%,#ffc23d22)}
#home .home-neon-secrets strong{color:#ffd877;text-shadow:0 0 8px #ffc23d99}
#home .home-neon-secrets .home-neon-wide-icon{color:#ffc23d;border-color:#ffc23d;background:#1f1402dd;box-shadow:0 0 12px #ffc23daa}
#home{height:calc(100dvh - 64px);min-height:0;overflow:hidden}
#home .home-neon-hero{flex:1.15 1 0}
#home .home-neon-grid{flex:3.2 1 0}
#home .home-neon-wide-grid{flex:.95 1 0}
#home .content{padding-bottom:84px}
#home,#home .content{box-sizing:border-box}#home .content{height:100%;flex:1 1 0}
#home{height:calc(100dvh - 147px);padding-bottom:0}
#home{height:calc(100dvh - 155px)}
/* Bannière façon jeu : logo néon, ciel de coucher de soleil, tuiles plus carrées */
body.is-home .header{display:none}
#home{height:calc(100dvh - 92px)}
#home .hn-banner{position:relative;flex:1 1 0;min-height:112px;max-height:300px;margin:8px 12px 8px;border-radius:22px;overflow:hidden;border:1.5px solid #ff3da6;box-shadow:0 0 14px #ff3da6aa,0 0 30px #ff3da655,inset 0 0 16px #ffffff22;background:#2a1248}
#home .hn-bg{position:absolute;inset:0;width:100%;height:100%}
#home .hn-logo{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 12px}
#home .hn-kicker{font-size:11px;font-weight:800;letter-spacing:.32em;color:#fff;text-shadow:0 0 8px #2ee6d6,0 0 16px #2ee6d6;margin-bottom:2px}
#home .hn-word{font-size:clamp(46px,14vw,64px);line-height:.95;font-style:italic;font-weight:900;letter-spacing:-2px;background:linear-gradient(180deg,#fff 0%,#ffd1ea 40%,#ff5fb8 70%,#ff8a3d 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 8px #ff3da6) drop-shadow(0 0 22px #ff3da6aa) drop-shadow(0 3px 2px #0009)}
#home .hn-sub{font-size:clamp(24px,7.4vw,32px);line-height:1;font-style:italic;font-weight:800;margin-top:-4px;color:#7ff6ee;text-shadow:0 0 8px #2ee6d6,0 0 20px #2ee6d6,0 2px 3px #0009;transform:rotate(-3deg)}
#home .hn-tag{margin-top:8px;padding:3px 10px;border-radius:10px;background:#12091fb3;border:1px solid #ffffff44;font-size:10.5px;font-weight:700;letter-spacing:.16em;color:#f0e6fb}
#home .hn-profile{position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;border-radius:22px;border:1.5px solid #ff63d4;background:#160d2ccc;color:#ff8be3;display:flex;align-items:center;justify-content:center;box-shadow:0 0 12px #ff43cb88}
#home .home-neon-hero{flex:0 0 clamp(72px,10vh,96px);max-height:none;margin:0 12px 8px}
#home .home-neon-grid{flex:0 0 auto;grid-template-rows:none;min-height:0}
#home .home-neon-tile{aspect-ratio:1/1.04;height:auto;min-height:0}
#home .home-neon-wide-grid{flex:0 0 clamp(54px,8vh,70px);max-height:none;min-height:0}

#home .hn-banner{background:#2a1248 url("assets/home-banner-neon-v4.webp") center 46%/cover no-repeat}
/* V19.20 : libellé Secrets & bons plans + texte carte façon bannière */
#home .home-neon-secrets strong{font-size:clamp(15px,4.4vw,18px);line-height:1.1}
#home .hn-maptxt{transform:rotate(-4deg);gap:0}
#home .hn-h1{font-family:"Brush Script MT","Segoe Script","Snell Roundhand",cursive;font-style:italic;font-weight:700;font-size:clamp(24px,7vw,30px);letter-spacing:.5px;color:#2ee6d6;-webkit-text-stroke:1px #eaffff;paint-order:stroke fill;text-shadow:0 0 8px #2ee6d6,0 0 18px #2ee6d6,0 2px 4px #000a}
#home .hn-h2{font-style:italic;font-weight:900;font-size:clamp(34px,10vw,42px);letter-spacing:-.5px;margin-left:12px;color:transparent;background:linear-gradient(180deg,#fff 0%,#ffd1ec 30%,#ff5cb4 62%,#ff9a3c 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:1px #ff3da6;text-shadow:none;filter:drop-shadow(0 0 8px #ff3da6) drop-shadow(0 2px 3px #000a)}
#home .home-neon-secrets .home-neon-wide-copy strong{font-size:14px!important;line-height:1.1!important}
#home .home-neon-secrets .home-neon-wide-copy small{font-size:11.5px!important}
#home .hn-h1{font-family:inherit!important;font-weight:900!important;letter-spacing:0!important;font-size:clamp(22px,6.4vw,27px)!important}
/* V19.20 : barre d'onglets compacte + tuiles larges réadaptées */
#minibar{bottom:calc(8px + env(safe-area-inset-bottom))!important;padding:4px!important}
#minibar .mb{min-height:46px!important;gap:1px!important;font-size:12px!important;padding:4px 12px!important}
#minibar .mb b svg{width:22px;height:22px}
#home{height:calc(100dvh - 76px)!important}
#home .home-neon-wide-grid{grid-template-columns:1.6fr 1fr!important;flex-basis:clamp(60px,9vh,78px)!important}
#home .home-neon-secrets .home-neon-wide-copy strong{white-space:nowrap;font-size:clamp(14px,4.2vw,16px)!important}
#home{height:calc(100dvh - 83px)!important}
#home .home-neon-secrets .home-neon-wide-copy strong{font-size:clamp(13px,3.7vw,15px)!important}
#home .home-neon-wide-icon{margin-right:2px}
/* V19.20 : retour tuiles égales + palette distincte */
#home .home-neon-wide-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#home .home-neon-secrets .home-neon-wide-copy strong{font-size:clamp(17px,5vw,20px)!important;white-space:normal}
#home .home-neon-secrets .home-neon-wide-copy small{font-size:11.5px!important;white-space:nowrap}
#home .tile-collections{--tile-accent:#ff8a3d}
#home .tile-places{--tile-accent:#ff5c5c}
#home .tile-characters{--tile-accent:#b36bff}
#home .tile-activities{--tile-accent:#4da3ff}
#home .tile-guides{--tile-accent:#dfe6ff}
/* V19.20 : tuiles larges centrées verticalement */
#home .home-neon-wide{align-items:center!important;padding-top:8px!important;padding-bottom:8px!important}
#home .home-neon-wide-icon{align-self:center!important;margin:0!important}
#home .home-neon-wide-copy{align-self:center!important;display:flex;flex-direction:column;justify-content:center}
#home .home-neon-secrets .home-neon-wide-copy small{font-size:13px!important}
#home .home-neon-notes strong{align-self:center!important}
#home.active{min-height:0!important}

/* V20 : choix Missions / Conseils dans Guides */
.gsw{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.gsw button{display:flex;align-items:center;gap:10px;min-height:64px;padding:8px 12px;border-radius:18px;border:1.5px solid var(--c);background:#1e1033;color:#fff;text-align:left;font:inherit;cursor:pointer;opacity:.72;--c:#ff5c8a;box-shadow:0 0 6px color-mix(in srgb,var(--c),transparent 70%)}
.gsw .gsw-t2{--c:#2ee6d6}
.gsw button.on{opacity:1;background:linear-gradient(120deg,color-mix(in srgb,var(--c),#1e1033 72%),#1e1033);box-shadow:0 0 14px color-mix(in srgb,var(--c),transparent 40%),inset 0 0 10px color-mix(in srgb,var(--c),transparent 80%)}
.gsw-ic{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;font-size:20px;border-radius:12px;background:#12091fcc;border:1.5px solid var(--c)}
.gsw-t{display:flex;flex-direction:column;min-width:0}.gsw-t strong{font-size:15px;line-height:1.1}.gsw-t small{font-size:12px;color:#d9c8ea}


/* V21.1 — accessibilité clavier et préférences de mouvement */
:where(button,a,input,textarea,select,[tabindex]):focus-visible{
  outline:2px solid #ff8bd5;
  outline-offset:3px;
}
button,a{-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
/* V21.2 : corrections */
#minibar .mb{flex:1 1 0!important;min-width:0!important;padding:4px 2px!important;font-size:11.5px!important;white-space:nowrap}
#home .home-neon-adventure .home-neon-wide-icon{color:#fff}
#home .home-neon-tile strong{overflow-wrap:anywhere}
#minibar{left:12px!important;right:12px!important;width:auto!important;max-width:480px;margin:0 auto;transform:none!important;display:flex!important;justify-content:space-between}
#minibar .mb{font-size:11px!important}
#home .home-neon-adventure{gap:8px}
#home .home-neon-adventure strong{font-size:clamp(14px,4vw,16px)}
#home .home-neon-adventure small{font-size:11px;line-height:1.15;text-align:left;min-width:0;white-space:normal}
/* V22 : tuiles larges alignées sur les autres tuiles + onglet Paramètres */
#home .home-neon-wide{display:flex!important;align-items:center!important;gap:9px!important;padding:8px 10px!important;text-align:left}
#home .home-neon-wide-copy{display:flex!important;flex-direction:column!important;gap:2px;min-width:0;align-self:center!important}
#home .home-neon-wide .home-neon-wide-copy strong,#home .home-neon-secrets .home-neon-wide-copy strong,#home .home-neon-adventure strong{font-size:14px!important;line-height:1.1!important;font-weight:800!important;color:#fff!important;white-space:nowrap!important;text-shadow:0 1px 3px #000c}
#home .home-neon-wide .home-neon-wide-copy small,#home .home-neon-secrets .home-neon-wide-copy small,#home .home-neon-adventure small{font-size:11.5px!important;line-height:1.15!important;color:#f0e3ff!important;white-space:nowrap!important;text-shadow:0 1px 3px #000c}
#home .home-neon-wide-icon{width:36px!important;height:36px!important;flex:none}
#home .home-neon-secrets .home-neon-wide-icon svg,#home .home-neon-adventure .home-neon-wide-icon svg{width:22px!important;height:22px!important}
#home .home-neon-adventure .home-neon-wide-icon{color:#ff72bf;border-color:#ff72bf;background:#1b0a2edd;box-shadow:0 0 12px #ff3da699}
#minibar .mb{font-size:11px!important;letter-spacing:0!important}
#minibar .mb b{display:block;font-size:0}
/* V23 : bandeau Votre aventure (remplace les stats) + Mystères pleine largeur */
#home .home-neon-adv{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:8px 12px 0;padding:8px 12px;min-height:60px;border-radius:20px;border:1.5px solid #ff3da6;background:linear-gradient(120deg,#2a1248ee,#1b0a2eee);color:#fff;font:inherit;text-align:left;cursor:pointer;box-shadow:0 0 14px #ff3da655,inset 0 0 12px #ff3da622}
#home .home-neon-adv .home-neon-wide-icon{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#1b0a2edd;border:1.5px solid #ff72bf;color:#ff72bf;box-shadow:0 0 10px #ff3da699}
#home .adv-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
#home .adv-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
#home .adv-top strong{font-size:15px;font-weight:800;line-height:1.1}
#home .adv-pct{font-size:15px;font-weight:800;color:#ff72bf}
#home .adv-meter{display:block;height:6px;border-radius:3px;background:#3b1a66;overflow:hidden}
#home .adv-meter b{display:block;height:100%;background:linear-gradient(90deg,#ff3da6,#ffb04d);box-shadow:0 0 8px #ff3da6}
#home .adv-sub{font-size:11.5px;color:#f0e3ff}
#home .adv-go{font-size:26px;line-height:1;color:#ff72bf;flex:none}
#home .home-neon-wide-grid{grid-template-columns:1fr!important}
#home .home-neon-adv .adv-meter{position:static!important;inset:auto!important;width:100%!important;display:block!important;height:6px!important;margin:0!important}
#home .home-neon-adv .adv-meter b{position:static!important;display:block;height:100%}
#home .home-neon-adv{margin-bottom:6px;min-height:56px}
/* V22 : cases « obtenu / fait » */
.got-mark{flex:none;width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-size:13px;font-weight:900;background:#2ee6d6;color:#12091f;box-shadow:0 0 8px #2ee6d6aa;margin-right:4px}
.gotbtn{display:block;width:100%;min-height:48px;margin-top:10px;padding:10px 14px;border-radius:24px;border:1.5px solid #2ee6d6;background:#0f2a33;color:#d7fffb;font:inherit;font-weight:700;cursor:pointer}
.gotbtn.on{background:#2ee6d6;color:#12091f;box-shadow:0 0 14px #2ee6d688}

/* V22 — page « Votre aventure » (étape 2) */
.adv-hero{display:flex;gap:16px;align-items:center;border:1.5px solid #ff63d4;border-radius:20px;background:linear-gradient(130deg,#2c1847,#1c1331);padding:16px;margin:10px 0;box-shadow:0 0 16px #ff3ebf33}
.adv-ring{--p:0;flex:0 0 104px;width:104px;height:104px;border-radius:50%;background:conic-gradient(#20eaff 0,#ff3ebf calc(var(--p)*1%),#3b2c57 0);display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 0 14px #20eaff44}
.adv-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#1a1030}
.adv-ring span{position:relative;font-weight:900;font-size:21px;color:#fff}
.adv-kicker{font-size:11px;letter-spacing:.14em;font-weight:800;color:#ff8be3}
.adv-hero-t h2{margin:2px 0 4px;font-size:25px;color:#fff}
.adv-hero-t p{margin:2px 0}.adv-next{color:#8ff4ff}
.adv-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;border:1.5px solid #20eaff99;border-radius:16px;background:#12203a;color:#fff;font-weight:800;font-size:16px;padding:14px 16px;margin:0 0 10px;box-shadow:0 0 12px #20eaff22}
.adv-chev{color:#20eaff;font-size:20px}
.adv-steps[hidden]{display:none}.adv-steps{margin:-2px 0 10px}
.adv-step{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #20eaff55;border-radius:14px;background:#161a33;color:#fff;padding:11px 12px;margin-bottom:8px}
.adv-step-ic{font-size:22px}.adv-step-t{flex:1;font-size:15px;line-height:1.3}.adv-step-t small{display:block;color:#a9b4d6;font-size:12.5px;margin-top:2px}
.adv-step-go,.adv-row-go{color:#20eaff;font-size:24px}
.adv-card{border:1px solid #e866d77a;border-radius:18px;background:linear-gradient(130deg,#2c1847,#1c1331);padding:12px 14px;margin:10px 0}
.adv-card h3{margin:2px 0 8px;font-size:17px;color:#fff}
.adv-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:none;border:0;border-top:1px solid #ffffff14;color:#fff;padding:11px 0}
.adv-row:first-child{border-top:0}
.adv-row-ic{font-size:22px;width:28px;text-align:center}
.adv-row-b{flex:1;min-width:0}.adv-row-h{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.adv-row-h strong{font-size:15px}.adv-row-h em{font-style:normal;font-size:12.5px;color:#cdbbe8;white-space:nowrap}
.adv-bar{display:block;height:8px;border-radius:20px;background:#57476f;overflow:hidden;margin-top:7px}
.adv-bar i{display:block;height:100%;background:linear-gradient(90deg,#20eaff,#ff3ebf);box-shadow:0 0 10px #ff3ebf88}
.adv-rec{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px solid #ffffff14;font-size:15px}
.adv-rec:first-of-type{border-top:0}.adv-rec em{margin-left:auto;font-style:normal;color:#a9b4d6;font-size:12.5px}

/* V24 — chapitre / spoilers / métadonnées */
.adv-story{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1.5px solid #ffb02e99;border-radius:16px;background:linear-gradient(110deg,#3a2410,#241338);color:#fff;padding:13px 14px;margin:0 0 10px;box-shadow:0 0 12px #ffb02e22}
.adv-story .adv-step-t small{color:#ffd9a0}
.tipmeta{margin:4px 0 2px;font-size:12.5px;color:#8ff4ff;font-weight:700}
.chap-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.chap-opt{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:1.5px solid #ffffff22;border-radius:14px;background:#1c1331;color:#fff;padding:12px}
.chap-opt.on{border-color:#20eaff;background:#12203a}
.chap-ic{font-size:22px;width:30px;text-align:center}.chap-t{flex:1}.chap-t strong{display:block;font-size:16px}.chap-t small{display:block;color:#b9a9d6;font-size:13px;margin-top:2px}
.chap-ck{color:#20eaff;font-size:20px;font-weight:900}

/* V25 — badges */
.adv-cnt{font-style:normal;float:right;font-size:13px;color:#8ff4ff;font-weight:700}
.badge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 8px}
.badge{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;color:#fff;padding:6px 2px}
.badge img{width:72px;height:72px;border-radius:50%;filter:grayscale(1) brightness(.55);opacity:.7;transition:filter .3s}
.badge.on img{filter:none;opacity:1;box-shadow:0 0 14px #ff3ebf66}
.badge-n{font-size:12.5px;font-weight:800;line-height:1.15;text-align:center}
.badge:not(.on) .badge-n{color:#b9a9d6}
.badge-p{font-size:11.5px;color:#8ff4ff}

/* V26 — Que faire maintenant ? */
.adv-now{border:1.5px solid #ffc83dcc;border-radius:20px;background:linear-gradient(130deg,#3b2a12,#2a1646);padding:14px;margin:0 0 10px;box-shadow:0 0 18px #ffc83d33}
.adv-now .adv-kicker{color:#ffd37a;margin-bottom:8px}
.adv-now-go{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #ffffff22;border-radius:14px;background:#1c1331;color:#fff;padding:12px}
.adv-now-ic{font-size:28px}.adv-now-t{flex:1}.adv-now-t strong{display:block;font-size:16.5px;line-height:1.3}.adv-now-t small{display:block;color:#b9a9d6;font-size:13px;margin-top:3px}
.adv-now-next{width:100%;margin-top:8px;border:0;background:none;color:#ffd37a;font-weight:800;font-size:14.5px;padding:8px}
.adv-now-next em{font-style:normal;color:#a9b4d6;font-weight:600;margin-left:6px}

/* V28 — bannières d'en-tête de page */
.pg-banner{position:relative;width:100%;aspect-ratio:3/1;background-size:cover;background-position:center;border-bottom:1.5px solid #ff3ebf88;box-shadow:0 6px 18px #ff3ebf22;display:flex;align-items:flex-end}
.pg-title{display:block;max-width:48%;padding:0 0 12px 16px;font-size:25px;font-weight:900;line-height:1.08;color:#fff;text-shadow:0 0 14px #ff3ebfcc,0 2px 6px #000}
.has-banner>.pagehead h1,.has-banner>.content>.pagehead h1{display:none}
.has-banner>.pagehead,.has-banner>.content>.pagehead{min-height:0!important;padding-left:16px!important}
.has-banner>.content>.pagehead:not(:has(*:not(h1))){display:none}
#guides.has-banner .card h1,#secrets.has-banner .card h1,#guides.has-banner .hero-kicker,#secrets.has-banner .hero-kicker{display:none}
.has-banner>.content{padding-top:12px}
#guides.has-banner>.content,#secrets.has-banner>.content{padding-top:12px}
.has-banner>.content>.pagehead,.has-banner>.pagehead{justify-content:flex-start;gap:10px}
body .view.has-banner>.content>.pagehead,body .view.has-banner>.pagehead{padding-left:2px!important;padding-top:0!important}
.view.has-banner:not(#home)>.content>.pagehead,.view.has-banner:not(#home)>.pagehead{padding-left:2px!important;min-height:0!important}
#map.has-banner .pagehead{display:none}

/* V30 — accueil restylisé : carte aventure + idée, compteurs, bouton ⓘ */
#home .home-neon-adv{display:none!important}
.hx-info{position:absolute;top:8px;right:8px;z-index:3;width:30px;height:30px;border-radius:50%;border:1px solid #ffffff66;background:#12091fb3;color:#fff;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0}
#home .hx-adv{margin:8px 12px 0;border:1.5px solid #ff63d4;border-radius:20px;background:linear-gradient(130deg,#2c1847,#1c1331);padding:9px 10px;box-shadow:0 0 16px #ff3ebf33}
#home .hx-adv-top{width:100%;display:flex;align-items:center;gap:11px;background:none;border:0;color:#fff;text-align:left;padding:0}
#home .hx-ring{--p:0;flex:0 0 50px;width:50px;height:50px;border-radius:50%;background:conic-gradient(#20eaff 0,#ff3ebf calc(var(--p)*1%),#3b2c57 0);display:flex;align-items:center;justify-content:center;position:relative}
#home .hx-ring:before{content:"";position:absolute;inset:5px;border-radius:50%;background:#1a1030}
#home .hx-ring b{position:relative;font-size:12px;font-weight:900}
#home .hx-adv-t{flex:1;min-width:0}#home .hx-adv-t strong{display:block;font-size:17px;line-height:1.15}
#home .hx-adv-t small{display:block;color:#8ff4ff;font-size:12.5px;margin-top:1px}
#home .hx-go{color:#20eaff;font-size:26px;line-height:1}
#home .hx-idea{display:flex;gap:6px;margin-top:8px}
#home .hx-idea-go{flex:1;min-width:0;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #ffc83d88;border-radius:13px;background:#2a1d12;color:#fff;padding:7px 10px}
#home .hx-idea-ic{font-size:20px}
#home .hx-idea-t{font-size:12.5px;line-height:1.25;display:block}
#home .hx-idea-t em{display:block;font-style:normal;color:#ffd37a;font-weight:800;font-size:10px;letter-spacing:.1em}
#home .hx-idea-next{flex:0 0 38px;border:1px solid #ffc83d88;border-radius:13px;background:#2a1d12;color:#ffd37a;font-size:19px;padding:0}
#home .hx-bar{display:block;width:78%;height:4px;border-radius:9px;background:#ffffff33;margin:4px auto 0;overflow:hidden}
#home .hx-bar b{display:block;height:100%;background:linear-gradient(90deg,#20eaff,#ff3ebf)}
@media (max-height:700px){
 #home .hx-adv{padding:6px 9px;margin-top:6px}
 #home .hx-ring{flex-basis:40px;width:40px;height:40px}#home .hx-ring:before{inset:4px}#home .hx-ring b{font-size:10.5px}
 #home .hx-adv-t strong{font-size:15px}#home .hx-adv-t small{font-size:11.5px}
 #home .hx-idea{margin-top:5px}#home .hx-idea-go{padding:5px 8px}#home .hx-idea-t{font-size:11.5px;line-height:1.2}
 #home .home-neon-tile{height:clamp(80px,12vh,92px)}
}
/* V30 — fond de la carte aventure : image (si présente) + secours CSS */
#home .hx-adv{background:
 linear-gradient(90deg,#1c1331e6 0%,#1c133199 45%,#1c133155 100%),
 url(assets/tiles/adventure.webp) center/cover no-repeat,
 radial-gradient(circle at 12% 30%,#ff3ebf55,transparent 45%),
 radial-gradient(circle at 90% 80%,#22d3ee33,transparent 50%),
 repeating-linear-gradient(0deg,#ffffff0a 0 1px,transparent 1px 22px),
 repeating-linear-gradient(90deg,#ffffff0a 0 1px,transparent 1px 22px),
 linear-gradient(130deg,#2c1847,#1c1331);position:relative;overflow:hidden}
#home .tile-vehicles .home-neon-art{background-image:url("assets/tiles/vehicles.webp");background-position:center 25%}
#home .tile-weapons .home-neon-art{background-image:url("assets/tiles/weapons.webp");background-position:center 25%}
#home .tile-collections .home-neon-art{background-image:url("assets/tiles/collections.webp");background-position:center 25%}
#home .tile-places .home-neon-art{background-image:url("assets/tiles/places.webp");background-position:center 25%}
#home .tile-characters .home-neon-art{background-image:url("assets/tiles/characters-v2.webp");background-position:center 25%}
#home .tile-fauna .home-neon-art{background-image:url("assets/tiles/fauna.webp");background-position:center 25%}
#home .tile-activities .home-neon-art{background-image:url("assets/tiles/activities.webp");background-position:center 25%}
#home .tile-guides .home-neon-art{background-image:url("assets/tiles/guides.webp");background-position:center 25%}
/* V31 — fiches pleine page */
#fiche{padding:0 0 90px}
#fiche>.view-back{position:absolute;z-index:5;top:max(10px,env(safe-area-inset-top));left:12px}
.fc-hero{position:relative;min-height:250px;background-size:cover;background-position:center 20%;display:flex;flex-direction:column;justify-content:flex-end;padding:0 16px 14px}
.fc-kick{color:#8ff4ff;font-size:11.5px;font-weight:800;letter-spacing:.09em;text-shadow:0 1px 4px #000}
.fc-hero h1{margin:4px 0 0;font-size:26px;line-height:1.12;color:#fff;text-shadow:0 0 14px #ff3ebf66,0 2px 6px #000}
.fc-body{padding:4px 12px 0;display:flex;flex-direction:column;gap:10px}
.fc-card{border:1.5px solid #ff63d466;border-radius:16px;background:linear-gradient(130deg,#2c1847,#1c1331);padding:11px 13px}
.fc-card h2{margin:0 0 7px;font-size:13px;letter-spacing:.07em;text-transform:uppercase;color:#ff8be0}
.fc-card p{margin:0 0 8px;line-height:1.45}.fc-card p:last-child{margin-bottom:0}
.fc-row{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #ffffff14}.fc-row:first-of-type{border-top:0}
.fc-row span{flex:0 0 42%;color:#b9a9d6;font-size:13px}.fc-row b{flex:1;font-size:14px;font-weight:600;min-width:0}
.fc-pill{display:inline-block;font-style:normal;font-size:10.5px;font-weight:800;padding:2px 7px;border-radius:99px;white-space:nowrap}
.fc-pill.ok{background:#12372f;color:#5df2c0;border:1px solid #2ee6a066}.fc-pill.mid{background:#3b2f10;color:#ffd36b;border:1px solid #ffc46b66}.fc-pill.no{background:#2a2540;color:#a99cc9;border:1px solid #6d5f99}
.fc-legend{line-height:2}
.fc-rel{display:flex;flex-wrap:wrap;gap:7px}.fc-chip{border:1px solid #24eaff66;background:#1a1236;color:#fff;border-radius:99px;padding:6px 11px;font-size:13px}
.fc-src a{color:#8ff4ff}
#fiche .fc-body>button{margin:0}
#fiche .fc-body>.gotbtn,#fiche .fc-body>[data-got]{width:100%}
/* V36 — sous-tuiles avec image + tuiles d'accueil lisibles */
.subtile.has-img{position:relative;isolation:isolate;overflow:hidden;min-height:112px;justify-content:flex-end;padding:12px;border:1.5px solid #ff63d466}
.subtile.has-img:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#12091ff2 0%,#12091fa6 38%,#12091f10 78%),var(--simg) center/cover no-repeat}
.subtile.has-img .st-ico{display:none}
.subtile.has-img strong{text-shadow:0 2px 6px #000;font-size:14.5px}
.subtile.has-img small{color:#8ff4ff;text-shadow:0 1px 4px #000}

#home .home-neon-tile:before{background:linear-gradient(0deg,#12091ffa 0%,#12091fc4 24%,#12091f00 58%)}
#home .home-neon-tile{justify-content:flex-end;padding-bottom:6px}
#home .home-neon-art{background-position:center 30%}
.fc-official{display:block;text-align:center;text-decoration:none;color:#fff;padding:12px;border-radius:14px;font-weight:700}
/* V37 — tuiles d'accueil : icône néon sans plaque, image plus claire */
#home .home-neon-icon{display:flex!important;top:7px;left:50%;right:auto;transform:translateX(-50%);width:30px;height:30px;background:none;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 0 3px var(--tile-accent)) drop-shadow(0 0 8px var(--tile-accent)) drop-shadow(0 1px 2px #000)}
#home .home-neon-icon svg{width:26px;height:26px;stroke-width:2.4}
#home .home-neon-tile:before{background:linear-gradient(0deg,#12091ff5 0%,#12091fb0 20%,#12091f00 46%)}
/* V37 — tuiles larges : 2 par ligne, icône à gauche, illustration à droite */
#home .home-neon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#home .home-neon-tile{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:8px;justify-items:start;text-align:left;aspect-ratio:auto;min-height:0;height:clamp(56px,8.4vh,74px);padding:0 10px 0 10px}
#home .home-neon-tile:before{background:linear-gradient(90deg,#12091ff5 0%,#12091fd0 38%,#12091f40 70%,#12091f00 100%)}
#home .home-neon-art{background-position:right center;background-size:cover}
#home .home-neon-icon{position:static;transform:none;grid-column:1;grid-row:1/3;width:34px;height:34px;display:flex!important;align-items:center;justify-content:center}
#home .home-neon-icon svg{width:28px;height:28px}
#home .home-neon-tile strong{grid-column:2;grid-row:1;align-self:end;text-align:left;font-size:clamp(12px,3.5vw,14px)}
#home .home-neon-tile small{grid-column:2;grid-row:2;align-self:start;margin-top:2px;text-align:left;font-size:clamp(11px,3.1vw,12.5px)}
#home .home-neon-tile .hx-bar{position:absolute;left:10px;right:10px;bottom:5px;width:auto;margin:0;height:3px}
#home .hn-banner{background-position:center 28%}

/* variante C : illustration repoussée à droite, zone texte plus sombre à gauche */
#home .home-neon-art{left:34%;right:0;inset-inline-start:34%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%);background-position:center center}
#home .home-neon-tile{background-color:#12091f}
#home .home-neon-tile:before{background:linear-gradient(90deg,#12091f 0%,#12091fe6 36%,#12091f00 68%)}
/* V38 — accueil : plus de ligne « Que faire maintenant ? » (elle reste sur la page Votre aventure) ; la bannière garde sa taille */
#home .hx-adv{flex:none}
#home .hx-idea{display:none!important}
#home{overflow-y:auto}
@media (max-height:700px){
 #home .home-neon-hero{min-height:70px;flex:0 0 70px;height:70px}
 #home .home-neon-tile{height:52px}
}
@media (max-height:660px){
 #home .home-neon-hero{min-height:60px;flex-basis:60px;height:60px}
 #home .home-neon-tile{height:48px}
 #home .hx-adv{padding:5px 9px}
}
#home .hx-adv{margin-bottom:8px}

/* V39 : accueil uniformisé (espaces 8px identiques, bannière recadrée entière, barre d'onglets compacte) */
#minibar{bottom:calc(6px + env(safe-area-inset-bottom))!important;padding:3px!important;background:#140c2ccc!important;border-radius:26px}
#minibar .mb{min-height:38px!important;padding:3px 2px!important;gap:0!important;font-size:10.5px!important;border-radius:20px}
#minibar .mb b svg{width:20px;height:20px}
#home{height:calc(100dvh - 58px)!important;flex-direction:column;gap:8px;padding:8px 0 0!important;overflow-x:hidden;overflow-y:auto}
#home>*{margin-top:0!important;margin-bottom:0!important}
#home .hn-banner{flex:none!important;min-height:0!important;max-height:none!important;height:auto!important;aspect-ratio:960/360;background:#2a1248 url("assets/home-banner-neon-v4.webp") center/100% 100% no-repeat!important}
#home .home-neon-hero{flex:none!important;min-height:0!important;height:clamp(54px,8.2vh,70px)!important}
#home .hx-adv{flex:none!important}
#home .home-neon-grid{gap:8px!important;flex:none!important}
#home .home-neon-tile{height:clamp(50px,8.2vh,70px)!important}
#home .home-neon-wide-grid{flex:none!important;height:clamp(50px,8.2vh,70px)!important;grid-template-columns:1fr!important;margin-left:12px;margin-right:12px}
#home .home-neon-wide-grid .home-neon-wide{height:100%!important;padding:0 10px!important}
#home .home-neon-secrets .home-neon-wide-copy strong{font-size:clamp(12px,3.5vw,14px)!important}
#home .home-neon-secrets .home-neon-wide-copy small{font-size:clamp(11px,3.1vw,12.5px)!important}
#home .home-neon-wide-icon{width:34px!important;height:34px!important}
#home .home-neon-wide-grid .home-neon-wide{margin:0!important;align-self:stretch}
#home .home-neon-wide-grid{padding:0!important;grid-template-rows:minmax(0,1fr)!important}
/* V39.1 : bannière moins compressée (cadrage plus haut, hauteur adaptée à l'écran) */
#home .hn-banner{aspect-ratio:auto!important;height:clamp(128px,22vh,186px)!important;background:#2a1248 url("assets/home-banner-neon-v4.webp") center/cover no-repeat!important}
#home.active{display:flex}
#home .tile-characters .home-neon-art{background-position:center 12%!important}

/* V43 : listes en cartes néon (sans image), niveau « marque » */
.lc-list{display:flex;flex-direction:column;gap:8px}
.lc-list>.guide,#characterList>.guide,#wildlifeList .lc-list>.guide{position:relative;margin:0!important;padding:10px 12px 10px 16px!important;border-radius:14px!important;border:1px solid #ff3da666!important;background:linear-gradient(100deg,#2b1649,#1a0f2e)!important;box-shadow:0 0 10px #ff3da622,inset 0 0 14px #ff3da60f!important;overflow:hidden}
.lc-list>.guide:before,#characterList>.guide:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#ff3da6;box-shadow:0 0 8px #ff3da6}
.lc-list>.guide .ico,#characterList>.guide .ico{display:none!important}
.lc-list>.guide strong{font-size:14.5px;line-height:1.15}
.lc-list>.guide small{display:block;margin-top:3px;font-size:11.5px;color:#c9b8e6!important;line-height:1.25}
#vehicleList .lc-list>.guide{border-color:#2ee6d699!important;box-shadow:0 0 10px #2ee6d61f!important}
#vehicleList .lc-list>.guide:before{background:#2ee6d6;box-shadow:0 0 8px #2ee6d6}
.lc-brands{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.lc-brand{position:relative;display:flex;flex-direction:column;justify-content:center;text-align:left;min-height:68px;padding:10px 26px 10px 16px;border-radius:14px;border:1px solid #ff3da688;background:linear-gradient(135deg,#2b1649 0%,#1a0f2e 75%);color:#fff;font:inherit;box-shadow:0 0 12px #ff3da630,inset 0 0 16px #ff3da614;overflow:hidden}
.lc-brand:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#ff3da6;box-shadow:0 0 8px #ff3da6}
.lc-brand strong{font-size:14px;line-height:1.15;position:relative;z-index:1}
.lc-brand small{margin-top:4px;color:#8ff4ff;font-size:11.5px;position:relative;z-index:1}
.lc-brand span{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#ff72bf;font-size:20px;z-index:1}

/* V45 : plus d'icônes emoji dans les listes et les titres de sous-catégories */
.drill-title>span:first-child{display:none!important}
.drill-title{padding-left:2px}
#places .place-row{position:relative;padding:10px 12px 10px 16px!important;border-radius:14px!important;border:1px solid #ff3da666!important;background:linear-gradient(100deg,#2b1649,#1a0f2e)!important;box-shadow:0 0 10px #ff3da622,inset 0 0 14px #ff3da60f!important;overflow:hidden;margin-bottom:8px}
#places .place-row:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#ff3da6;box-shadow:0 0 8px #ff3da6}
#places .place-row .ico{display:none!important}
#places .place-row strong{font-size:14.5px;line-height:1.15}
#places .place-row small{display:block;margin-top:3px;font-size:11.5px;color:#c9b8e6!important}
#guideList .lc-brands.lc-one{grid-template-columns:1fr!important}
#guideList .lc-brands.lc-one .lc-brand strong{font-size:15px}
/* V51 : appli plein écran iPhone — respecter l'encoche / la barre d'état et remplir la hauteur */
#home{padding-top:calc(var(--sat,env(safe-area-inset-top,0px)) + 8px)!important;box-sizing:border-box}
#home .home-neon-grid{flex:1 1 auto;min-height:300px;grid-auto-rows:1fr}
#home .home-neon-wide-grid{flex:0 0 auto}
#home .hn-banner{height:clamp(112px,19vh,176px)!important}
#home{padding-bottom:10px!important}
#home .home-neon-grid{max-height:none!important;height:auto!important}
#home .home-neon-wide-grid{flex:1 1 auto;max-height:120px;grid-auto-rows:1fr}
/* V52 : bannière d'accueil d'origine (avec la voiture), qui prend la place libre */
#home .hn-banner{flex:1 1 0!important;min-height:120px!important;max-height:250px!important;height:auto!important;aspect-ratio:auto!important;background:#2a1248 url("assets/home-banner-neon-v4.webp") center 62%/cover no-repeat!important}
/* V52 : liste de la carte en style néon, sans icônes */
#mapList .map-grp{display:flex;justify-content:space-between;align-items:baseline;margin:16px 4px 8px;font-size:15px;color:#fff}
#mapList .map-grp em{font-style:normal;font-size:12px;color:#b9a9d4}
#mapList .lc-list>.guide{display:flex;align-items:center;gap:10px}
#mapList .heart{flex:none}
.mt{display:inline-block;margin-right:7px;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:700;letter-spacing:.2px;color:#12091f;vertical-align:1px}
.mt-region{background:#10e2c0}.mt-district{background:#ff9e35}.mt-county{background:#8ea2ff}.mt-landmark{background:#ff7bd5}
.mt-town{background:#ffd23f}

/* V60 suivi des missions */
.tip.tip-done{opacity:.72}
.tip.tip-done>strong{color:#7dffb0}
.miss-prog{margin:0 2px 12px;font-size:13px;display:flex;flex-direction:column;gap:6px}
.miss-prog span{display:block;height:6px;border-radius:4px;background:rgba(255,255,255,.12);overflow:hidden}
.miss-prog i{display:block;height:100%;background:linear-gradient(90deg,#24eaff,#ff3dc5)}

/* V63 reprise rapide / objectifs / notes de fiche */
.hx-extra{display:flex;flex-direction:column;gap:10px;margin:10px 0}
.hx-box{border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:12px;background:rgba(20,10,40,.55)}
.hx-box h3{margin:0 0 8px;font-size:14px;letter-spacing:.3px}
.hx-chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.hx-chip{flex:0 0 auto;min-height:44px;padding:8px 14px;border-radius:22px;border:1px solid rgba(36,234,255,.5);background:rgba(36,234,255,.08);color:inherit;font:inherit;font-size:14px;white-space:nowrap}
.hx-left{display:flex;flex-direction:column;gap:6px}
.hx-lrow{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;min-height:48px;padding:8px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:transparent;color:inherit;font:inherit;text-align:left}
.hx-lrow b{font-size:13px;color:#ff7bd8}
.hx-lbar{grid-column:1/3;height:5px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden}
.hx-lbar i{display:block;height:100%;background:linear-gradient(90deg,#24eaff,#ff3dc5)}
.fc-note textarea{width:100%;box-sizing:border-box;min-height:80px;padding:10px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.3);color:inherit;font:inherit;font-size:16px}

.disc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:10px 12px;margin:0 0 10px;border:1px solid rgba(255,255,255,.14);border-radius:14px}
.disc-row small{display:block;opacity:.75;font-size:12px;margin-top:2px}
.disc-row input{width:28px;height:28px;flex:0 0 auto}

#updBar{position:fixed;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 76px);z-index:9999;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:16px;background:rgba(24,8,48,.96);border:1px solid #24eaff;box-shadow:0 0 18px rgba(36,234,255,.45);color:#fff;font-size:15px}
#updBar button{min-height:44px;padding:8px 16px;border-radius:12px;border:0;background:linear-gradient(90deg,#24eaff,#ff3dc5);color:#12002a;font:inherit;font-weight:700}

button#updBar{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:calc(100% - 24px);text-align:left;cursor:pointer;color:#fff;font:inherit;background:linear-gradient(90deg,rgba(24,8,48,.97),rgba(60,10,70,.97))}
button#updBar b{font-size:14px;color:#24eaff;font-weight:700}

/* V63 mise en page des conseils/missions + tuiles de mystères */
.tip .t-name{display:block;font-size:19px;line-height:1.25;font-weight:800;margin:0}
.tip .t-ok{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;margin-top:7px;border-radius:10px;background:rgba(125,255,176,.14);color:#7dffb0;border:1px solid rgba(125,255,176,.4)}
.tip .t-meta{font-size:16px;font-weight:600;color:#ffd0f0;margin-top:7px;opacity:.95}
.tip .tipmeta{margin-top:6px}
.tip .t-sep{height:1px;margin:12px 0 14px;background:linear-gradient(90deg,rgba(255,61,197,.7),rgba(36,234,255,.5),transparent)}
.tip p{font-size:16.5px!important;line-height:1.6!important}
.tip .gotbtn{margin:14px 0 8px}
.tip.tip-done>.t-name{color:#7dffb0}
#secretList.secret-list{grid-template-columns:1fr 1fr;gap:12px}
.mt-tile{display:flex;flex-direction:column;padding:0;text-align:left;border:1px solid rgba(255,61,197,.5);border-radius:16px;overflow:hidden;background:rgba(40,10,70,.7);color:inherit;font:inherit;cursor:pointer;min-width:0}
.mt-img{position:relative;display:block;aspect-ratio:3/2;background:#1a0b30}
.mt-img img{width:100%;height:100%;object-fit:cover;display:block}
.mt-n{position:absolute;left:8px;top:8px;min-width:28px;height:28px;padding:0 4px;box-sizing:border-box;border-radius:14px;background:linear-gradient(135deg,#ffb36b,#ff6fb1);color:#2a0a3a;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
.mt-img .got-mark{position:absolute;right:8px;top:8px;width:28px;height:28px;border-radius:14px;background:#2fe38b;color:#06301b;font-weight:900;display:flex;align-items:center;justify-content:center}
.mt-t{display:block;padding:9px 10px 11px;font-size:14px;line-height:1.3;font-weight:700;font-style:italic;min-height:3.9em}
.fc-card .t-ok{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;margin:0 0 8px;border-radius:10px;background:rgba(125,255,176,.14);color:#7dffb0;border:1px solid rgba(125,255,176,.4)}

/* V63 mode découverte carte + historique */
body.discovery #mapImage .pin:not(.mine){filter:blur(3px);opacity:.55}
body.discovery #mapImage .rlabel{display:none}
.hx-clear{float:right;background:none;border:0;color:inherit;opacity:.55;font-size:12px;padding:2px 4px;cursor:pointer}

/* V63 À découvrir : liste du 100 % */
.ob-sec{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:18px 2px 8px;color:#ffd54a;font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.4px}
.ob-sec small{color:#c8bde0;font-weight:600;font-size:12px;text-transform:none;letter-spacing:0;text-align:right}
.ob-row{display:flex;align-items:center;gap:11px;width:100%;margin:0 0 8px;padding:10px 12px;border:1.5px solid #3a2a5a;border-radius:16px;background:#1a1030;color:#fff;text-align:left;font:inherit}
.ob-row.done{border-color:#ff9a3c;box-shadow:0 0 10px #ff9a3c40}
.ob-ic{font-size:24px;flex:none;width:30px;text-align:center}
.ob-tx{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.ob-tx b{font-size:16px;line-height:1.15}.ob-tx small{font-size:13px;color:#c8bde0;line-height:1.25}
.ob-mb{display:block;height:5px;border-radius:4px;background:#2b1d45;margin-top:5px;overflow:hidden}.ob-mb i{display:block;height:100%;background:linear-gradient(90deg,#ff9a3c,#ff3da6)}
.ob-n{font-weight:800;font-size:15px;white-space:nowrap;flex:none}
.ob-card .ob-cnt{display:flex;align-items:center;justify-content:center;gap:18px;margin:6px 0 10px}
.ob-card .ob-cnt button{width:60px;height:60px;border-radius:50%;border:1.5px solid #ff9a3c;background:#12091f;color:#fff;font-size:30px;line-height:1;touch-action:manipulation}
.ob-num{width:130px;text-align:center;font-size:40px;font-weight:800;background:transparent;border:0;border-bottom:2px solid #ff3da6;color:#fff;-moz-appearance:textfield}
.ob-num::-webkit-outer-spin-button,.ob-num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ob-quick{display:flex;gap:8px;justify-content:center;margin-bottom:10px;flex-wrap:wrap}
.ob-quick button{padding:9px 14px;border-radius:12px;border:1.5px solid #4a3a70;background:#12091f;color:#fff;font:inherit;font-size:14px;touch-action:manipulation}
.ob-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:4px 0 10px}
.ob-cell{aspect-ratio:1;border-radius:11px;border:1.5px solid #4a3a70;background:#12091f;color:#fff;font:inherit;font-weight:700;font-size:15px;touch-action:manipulation}
.ob-cell.opt{border-style:dashed}
.ob-cell.on{background:linear-gradient(135deg,#ff9a3c,#ff3da6);border:1.5px solid #fff}
.ob-items{display:flex;flex-direction:column;gap:8px;margin:4px 0 10px}
.ob-it{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:13px;border:1.5px solid #4a3a70;background:#12091f;color:#fff;font:inherit;font-size:15px;text-align:left;touch-action:manipulation}
.ob-it span{width:24px;height:24px;border-radius:7px;border:1.5px solid #4a3a70;display:flex;align-items:center;justify-content:center;flex:none;font-weight:800}
.ob-it.on{border-color:#ff9a3c}.ob-it.on span{background:#ff9a3c;color:#12091f;border-color:#ff9a3c}
.ob-bar{height:8px;border-radius:5px;background:#2b1d45;overflow:hidden}.ob-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff9a3c,#ff3da6);transition:width .2s}
.ob-left{margin:8px 0 0;text-align:center;font-weight:700}
.ob-trophy{margin:0 0 8px}.ob-i{margin:6px 0;line-height:1.4}.ob-opt{margin:0 0 8px}

.ob-row .ob-n{font-weight:800;font-size:14px}
.ob-row.done{border-color:#ff9a3c}
#collections .section{display:flex;justify-content:space-between;align-items:baseline;gap:8px}

#collectList>.guide{position:relative;margin:0 0 8px!important;padding:10px 12px 10px 16px!important;border-radius:14px!important;border:1px solid #ff3da666!important;background:linear-gradient(100deg,#2b1649,#1a0f2e)!important;box-shadow:0 0 10px #ff3da622,inset 0 0 14px #ff3da60f!important;overflow:hidden}
#collectList>.guide:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#ff3da6;box-shadow:0 0 8px #ff3da6}
#collectList>.guide.done{border-color:#ff9a3c!important}
#collectList>.guide.done:before{background:#ff9a3c;box-shadow:0 0 8px #ff9a3c}
#collectList .section{margin:16px 0 8px}

.ob-it em{font-style:normal;display:flex;flex-direction:column;gap:1px;min-width:0}
.ob-it em b{font-size:15px;font-weight:700;line-height:1.2}.ob-it em small{font-size:12.5px;color:#c8bde0;line-height:1.25}
.ob-gh{margin:12px 2px 2px;font-size:12.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;color:#ffd54a}
.ob-gh:first-child{margin-top:2px}

/* V63 accueil : Guides & soluces en grande tuile, bouton carte dans la bannière, tuile Paramètres */
#home .hn-banner{position:relative}
#home .hx-mappill{position:absolute;z-index:3;right:12px;bottom:12px;height:46px;display:flex;align-items:center;gap:9px;padding:0 6px 0 8px;border:1.5px solid #2ee6d6;border-radius:30px;background:#12091fd9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font:inherit;font-size:15px;font-weight:850;box-shadow:0 0 14px #2ee6d688,inset 0 0 10px #2ee6d622;touch-action:manipulation}
#home .hx-mp-ic{width:34px;height:34px;border-radius:11px;background:#12091fcc;border:1.5px solid #2ee6d6;display:flex;align-items:center;justify-content:center;color:#2ee6d6;box-shadow:0 0 8px #2ee6d655}
#home .hx-mp-go{width:34px;height:34px;border-radius:50%;background:linear-gradient(100deg,#ff168c,#d900a2);display:flex;align-items:center;justify-content:center;color:#fff}
#home .home-neon-guide{--gc:#ffe27a;position:relative;isolation:isolate;display:flex;align-items:center;gap:14px;width:calc(100% - 24px);height:112px;margin:0 12px 12px;padding:12px 16px;border:2px solid var(--gc);border-radius:22px;overflow:hidden;background:#12091f;color:#fff;text-align:left;font:inherit;box-shadow:0 0 18px #ffe27a77,0 0 36px #ffe27a33;touch-action:manipulation}
#home .home-neon-guide-art{position:absolute;inset:0;z-index:-2;background:url("assets/tiles/guides.webp") center 25%/cover no-repeat}
#home .home-neon-guide:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#12091ff5 0%,#12091fb0 55%,#12091f33)}
#home .hg-ic{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#12091fcc;border:2px solid var(--gc);color:var(--gc);flex:none;box-shadow:0 0 10px #ffe27a66}
#home .hg-ic svg{width:32px;height:32px}
#home .hg-t{min-width:0;display:flex;flex-direction:column;gap:4px}
#home .hg-t strong{font-size:21px;line-height:1.1;text-shadow:0 2px 6px #000}
#home .hg-t small{font-size:13.5px;line-height:1.25;color:#fff;text-shadow:0 2px 5px #000}
#home .hg-go{margin-left:auto;width:42px;height:42px;border-radius:50%;background:linear-gradient(100deg,#ff168c,#d900a2);display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
#home .tile-settings{--tile-accent:#b9a7ff}
#home .tile-settings .home-neon-art{background-image:url("assets/tiles/settings.webp");background-position:center 25%}
#home .home-neon-secrets{--tile-accent:#ffb199}
#home .home-neon-secrets{--tile-accent:#ffb199;border-color:#ffb199;box-shadow:0 0 12px #ffb19999,0 0 26px #ffb19944,inset 0 0 12px #ffb19933}
#home .home-neon-secrets:before{background:linear-gradient(90deg,#2a1210f2 0%,#2a1210aa 58%,#ffb19922)}
#home .home-neon-secrets strong{color:#ffd0c2;text-shadow:0 0 8px #ffb19999}
#home .home-neon-secrets .home-neon-wide-icon{color:#ffb199;border-color:#ffb199;background:#1f0c0adf;box-shadow:0 0 12px #ffb199aa}
/* V63 petits écrans : la bannière garde sa hauteur (l'accueil défile au besoin) et la grande tuile Guides se resserre */
#home .hn-banner{min-height:clamp(150px,50vw,230px)!important}
@media (max-width:380px){
 #home .home-neon-guide{height:100px;gap:11px;padding:10px 12px}
 #home .hg-ic{width:48px;height:48px;border-radius:14px}
 #home .hg-ic svg{width:27px;height:27px}
 #home .hg-t strong{font-size:18px}
 #home .hg-t small{font-size:12px}
 #home .hg-go{width:36px;height:36px}
 #home .hx-mappill{height:42px;right:10px;bottom:10px}
 #home .hx-mp-t{font-size:14px}
}
#home .home-neon-guide,#home .hn-banner,#homeAdv{flex:none!important}
/* V63 accueil : hauteur naturelle (l'accueil défile si l'écran est petit) au lieu de tout écraser */
#home{height:auto!important;min-height:calc(100dvh - 76px)!important;overflow-x:hidden;overflow-y:visible!important;padding-bottom:6px!important}
#home .home-neon-grid{flex:none!important;grid-template-rows:none!important;grid-auto-rows:minmax(68px,auto)!important;min-height:0!important}
#home .home-neon-wide-grid{flex:none!important;grid-template-rows:none!important;min-height:66px!important;max-height:none!important}
#home .home-neon-wide-grid{height:56px!important}
#home .home-neon-secrets .home-neon-wide-art{background-image:url("assets/home-mysteres-v2.webp")!important;background-size:cover;background-position:center 48%}
#home .home-neon-secrets:before{background:linear-gradient(90deg,#12091fe6 0%,#12091f88 38%,#12091f00 70%)!important}

/* V63.3 badge en vitrine sur la barre d'aventure : grisé tant que rien n'est débloqué */
#home .hx-badge{flex:none;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center}
#home .hx-badge img{width:44px;height:44px;border-radius:50%;display:block;filter:grayscale(1) brightness(.55);opacity:.75}
#home .hx-badge.on img{filter:none;opacity:1;box-shadow:0 0 12px #ff3ebf88}
#home .hx-badge{width:40px;height:40px;margin-right:36px}
#home .hx-badge img{width:40px;height:40px}
#home .hx-adv-t small{white-space:nowrap}
@media(max-width:380px){#home .hx-badge{width:32px;height:32px;margin-right:30px}#home .hx-badge img{width:32px;height:32px}#home .hx-adv-t small{font-size:11px}}
/* V63.4 icônes des tuiles de la grille : encadrées comme celles de Guides, Mystères et Carte */
#home .home-neon-tile{grid-template-columns:38px minmax(0,1fr)!important;column-gap:7px!important}
#home .home-neon-icon{width:36px!important;height:36px!important;border-radius:11px!important;background:#12091fcc!important;border:1.5px solid var(--tile-accent)!important;box-shadow:0 0 9px color-mix(in srgb,var(--tile-accent),transparent 50%)!important;filter:none!important}
#home .home-neon-icon svg{width:22px!important;height:22px!important}
/* V63.5 accueil figé (aucun défilement du document) + badge ancré sur le petit rond du décor */
/* V63.8 : mise en page de l'accueil revenue à la V63.4 ; bannière un peu plus haute */
#home .hn-banner{min-height:clamp(150px,52vw,242px)!important}
html{overscroll-behavior-y:none}
#home .hx-adv-top{position:relative}
#home .hx-badge{position:absolute;right:calc(25.6vw - 43.5px);top:50%;transform:translateY(-50%);margin:0}
@media(max-width:380px){#home .hx-badge{right:calc(25.6vw - 39.5px);margin:0}}
@media(min-width:600px){#home .hx-badge{right:calc(25.6vw - 43.5px)}}
/* V63.6 bouton ⓘ : en bas à gauche de la bannière (hors de la zone de l'heure / batterie) */
#home .hx-info{top:6px!important;right:6px!important;left:auto!important;bottom:auto!important;width:32px;height:32px}

/* V63.15 carte : carte d'abord */
#map .map-credit{font-size:11px;color:var(--muted,#b9a9d6);text-align:center;margin:6px 4px 0;line-height:1.35}
#map .official-map-update{margin:18px 0 0}
#map .search{margin-top:12px!important}

#map details.omu-fold{padding:0}
#map details.omu-fold>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;font-weight:600;font-size:14px}
#map details.omu-fold>summary::-webkit-details-marker{display:none}
#map details.omu-fold .omu-r{display:inline-flex;width:26px;height:26px;border-radius:8px;align-items:center;justify-content:center;background:#ffffff1a;font-weight:800;font-size:13px}
#map details.omu-fold .omu-c{margin-left:auto;font-size:20px;transition:transform .2s}
#map details.omu-fold[open] .omu-c{transform:rotate(90deg)}
#map details.omu-fold>*:not(summary){margin-left:14px;margin-right:14px}
#map details.omu-fold>*:last-child{margin-bottom:14px}

/* V63.16 mes repères : épingle SVG */
.pin.mine span svg{display:block;filter:drop-shadow(0 0 2px #0006)}
#mapList .ico{display:inline-flex;align-items:center;justify-content:center}
#mapList .ico svg path{fill:#35dff5}

#layer{color:#fff}
#layer svg{display:block;margin:auto}
#layer.on{color:#12091f}

/* V63.17 iOS : pas de zoom automatique à la saisie (police des champs >= 16px) */
.search,input[type=text],input[type=search],input:not([type]),textarea,.note-form input,.note-form textarea{font-size:16px!important}

/* V63.17 finitions : police des champs de notes, zones tactiles des liens */
textarea,.note-form textarea{font-family:inherit}
.linkbtn{padding:10px 6px;margin:-10px -6px}
.official-map-links a{padding-top:11px;padding-bottom:11px}

/* V63.18 carte : lisibilité à l'ouverture */

/* V63.19 missions : avancement sur les tuiles */
.lc-brand.done{border-color:#35e08a88;box-shadow:0 0 14px #35e08a22}
.lc-brand.done small{color:#6ff0a8}
.lc-brand.done>span{color:#35e08a;font-size:22px;font-weight:800}

/* V63.19 progression : coche verte sur les tuiles de catégories */
.subtile{position:relative}
.subtile.done{border-color:#35e08a99!important;box-shadow:0 0 14px #35e08a33}
.subtile .st-check{position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:50%;background:#35e08a;color:#07210f;font-style:normal;font-weight:900;font-size:15px;line-height:24px;text-align:center;box-shadow:0 0 10px #35e08a88}
.subtile.done small{color:#6ff0a8}
#places .place-row .secondary{flex:0 0 auto;padding:7px 12px;font-size:13px;margin:0}
#places .place-row .lm-addr{color:#8fe9f5!important;font-size:11.5px}
/* Complétion : lignes terminées en vert (comme les tuiles de missions) */
#collections .ob-row.done{border-color:#35e08a99!important;box-shadow:0 0 14px #35e08a33!important}
#collections .ob-row.done:before{background:#35e08a!important;box-shadow:0 0 8px #35e08a!important}
#collections .ob-row.done .ob-n{color:#35e08a}
#collections .ob-row.done .ob-mb i{background:#35e08a!important}

/* Mise à jour : grande carte au centre de l'écran */
#updCard{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,5,18,.78);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#updCard .upd-box{width:min(100%,360px);box-sizing:border-box;text-align:center;padding:24px 20px 18px;border-radius:24px;border:1.5px solid #24eaff;background:linear-gradient(160deg,#38204f,#17112b);box-shadow:0 0 34px rgba(36,234,255,.45),0 0 70px rgba(255,61,197,.25)}
#updCard .upd-ic{font-size:34px;line-height:1;margin-bottom:8px;filter:drop-shadow(0 0 10px #ff3dc5)}
#updCard h2{margin:0 0 6px;font-size:22px;color:#fff}
#updCard .upd-ver{margin:0 0 14px;color:#35e08a;font-size:15px;font-weight:700}
#updCard .upd-ver[hidden],#updCard .upd-news[hidden]{display:none}
#updCard .upd-news{margin:0 0 18px;padding:12px 14px;border-radius:16px;background:#0000004d;border:1px solid #ffffff1f;text-align:left}
#updCard .upd-news h3{margin:0 0 6px;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#ff8be0}
#updCard .upd-news ul{margin:0;padding-left:18px;color:#e9defa;font-size:14px;line-height:1.4}
#updCard .upd-news li{margin:0 0 5px}
#updCard .upd-go{width:100%;min-height:52px;border:0;border-radius:16px;background:linear-gradient(90deg,#24eaff,#ff3dc5);color:#12002a;font:inherit;font-size:17px;font-weight:800;cursor:pointer}
#updCard .upd-later{width:100%;min-height:44px;margin-top:8px;border:0;background:none;color:#b9a9d6;font:inherit;font-size:14px;cursor:pointer}
#updCard.done .upd-box{border-color:#35e08a;box-shadow:0 0 34px rgba(53,224,138,.4),0 0 70px rgba(36,234,255,.2)}
#updCard.done .upd-go{background:linear-gradient(90deg,#35e08a,#24eaff)}

/* Icônes néon à la place des emojis */
.lc-ic{display:inline-block;vertical-align:-4px;color:#35dff5;flex:0 0 auto}
.adv-row-ic,.adv-step-ic,.adv-now-ic,.hx-idea-ic{display:inline-flex;align-items:center;justify-content:center}
.adv-now-ic .lc-ic{color:#ffb54a}.adv-step-ic .lc-ic{color:#ffb54a}
.hx-lrow .lc-ic{color:#35dff5;vertical-align:-3px;margin-right:2px}
.warn-ic{display:inline-flex;vertical-align:-3px;color:#ffd36b;margin-right:5px}

/* Quoi de neuf */
.wn-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.wn-ver{padding:12px 14px;border-radius:16px;border:1px solid #ff63d466;background:linear-gradient(130deg,#2c1847,#1c1331)}
.wn-ver.now{border-color:#35e08a99;box-shadow:0 0 14px #35e08a22}
.wn-ver h3{margin:0 0 6px;font-size:15px;color:#fff;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wn-ver.now h3{color:#6ff0a8}
.wn-ver h3 em{font-style:normal;font-size:11.5px;color:#12091f;background:#35e08a;border-radius:999px;padding:2px 8px;font-weight:700}
.wn-ver ul{margin:0;padding-left:18px;color:#e9defa;font-size:14px;line-height:1.4}
.wn-ver li{margin:0 0 4px}
/* Visite « première fois » */
#tourCard{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,5,18,.82);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#tourCard h2{margin:0 0 6px;font-size:22px;color:#fff}
#tourCard .upd-sub{margin:0 0 14px;color:#cdbfe8;font-size:14.5px;line-height:1.45}
#tourCard .tour-box{width:min(100%,360px);box-sizing:border-box;text-align:center;padding:20px 18px 14px;border-radius:24px;border:1.5px solid #24eaff;background:linear-gradient(160deg,#38204f,#17112b);box-shadow:0 0 34px rgba(36,234,255,.45),0 0 70px rgba(255,61,197,.25)}
#tourCard .tr-vis{min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:0 0 14px;padding:12px;border-radius:18px;background:#0000004d;border:1px solid #ffffff1f}
#tourCard .tr-tiles{display:flex;gap:10px}
#tourCard .tr-tile{display:flex;flex-direction:column;align-items:center;gap:6px;width:84px;padding:12px 6px;border-radius:14px;border:1.5px solid #35dff566;background:#1a1030;color:#35dff5}
#tourCard .tr-tile b{color:#fff;font-size:12.5px}
#tourCard .tr-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
#tourCard .tr-chips .chip{pointer-events:none;font-size:13px;padding:7px 11px}
#tourCard .tr-pin{display:flex;align-items:center;gap:8px;color:#35dff5}
#tourCard .tr-pin span{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;border:1.5px solid #35dff5;background:#12091f}
#tourCard .tr-pin em{font-style:normal;color:#e9defa;font-size:13.5px}
#tourCard .tr-row{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:9px 12px;border-radius:14px;border:1.5px solid #3a2a5a;background:#1a1030;text-align:left}
#tourCard .tr-row>span{flex:1;min-width:0}#tourCard .tr-row b{display:block;color:#fff;font-size:14px}
#tourCard .tr-row i{display:block;height:5px;border-radius:4px;background:#2b1d45;margin-top:6px;overflow:hidden}
#tourCard .tr-row u{display:block;height:100%;background:linear-gradient(90deg,#ff9a3c,#ff3da6)}
#tourCard .tr-row strong{color:#fff;font-size:14px}
#tourCard .tr-row.done{border-color:#35e08a99;box-shadow:0 0 14px #35e08a33}
#tourCard .tr-row.done strong{color:#35e08a}#tourCard .tr-row.done u{background:#35e08a}
#tourCard .tr-adv{display:flex;align-items:center;gap:12px;text-align:left}
#tourCard .tr-ring{display:inline-flex;width:58px;height:58px;border-radius:50%;align-items:center;justify-content:center;background:conic-gradient(#24eaff 0 12%,#2b1d45 0);position:relative}
#tourCard .tr-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#150d28}
#tourCard .tr-ring b{position:relative;color:#fff;font-size:14px}
#tourCard .tr-adv b{display:block;color:#fff;font-size:16px}#tourCard .tr-adv small{color:#b9a9d6;font-size:12.5px}
#tourCard .tr-adv img{border-radius:50%;opacity:.9}
#tourCard .tr-btns{display:flex;gap:8px;justify-content:center}
#tourCard .tr-btns .secondary{padding:8px 14px;font-size:13.5px;pointer-events:none}
#tourCard .tr-dots{display:flex;gap:6px;justify-content:center;margin:0 0 14px}
#tourCard .tr-dots i{width:7px;height:7px;border-radius:50%;background:#ffffff33}
#tourCard .tr-dots i.on{width:20px;border-radius:4px;background:#24eaff}
#tourCard .upd-go{width:100%;min-height:52px;border:0;border-radius:16px;background:linear-gradient(90deg,#24eaff,#ff3dc5);color:#12002a;font:inherit;font-size:17px;font-weight:800;cursor:pointer}
#tourCard .upd-later{width:100%;min-height:44px;margin-top:6px;border:0;background:none;color:#b9a9d6;font:inherit;font-size:14px;cursor:pointer}
#tourCard .tr-vis{min-height:124px}#tourCard .upd-sub{min-height:110px}
#tourCard .tr-vis{height:150px;min-height:0;box-sizing:border-box;overflow:hidden}#tourCard .upd-sub{min-height:112px}

/* V63.27 — menu « Plus » */
#plusSheet{position:fixed;inset:0;z-index:60;background:#05020fb8;display:flex;align-items:flex-end;justify-content:center;animation:psfade .18s ease-out}
#plusSheet .ps-box{width:100%;max-width:520px;background:linear-gradient(180deg,#1b0f3a,#0f0820);border:1px solid #ff70d477;border-bottom:0;border-radius:26px 26px 0 0;padding:10px 16px calc(96px + env(safe-area-inset-bottom));box-shadow:0 -6px 30px #ff36c533;animation:psup .22s ease-out}
#plusSheet .ps-grip{width:44px;height:4px;border-radius:4px;background:#ff8be355;margin:2px auto 10px}
#plusSheet h2{margin:0 0 12px;font-size:17px;text-align:center;color:#ffd2f4}
#plusSheet .ps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#plusSheet .ps-it{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:78px;padding:10px 4px;border-radius:16px;border:1px solid #ff70d444;background:#ffffff0a;color:#f1e8ff;font:600 12.5px system-ui,sans-serif;text-align:center}
#plusSheet .ps-it:active{background:#ff36c52e}
#plusSheet .ps-ic svg{width:24px;height:24px;color:#ff8be3;filter:drop-shadow(0 0 5px #ff39cb)}
#minibar .mb.active-plus{background:#ff36c52e;color:#ff8be3}
@keyframes psfade{from{opacity:0}to{opacity:1}}
@keyframes psup{from{transform:translateY(40px)}to{transform:none}}
@media (prefers-reduced-motion:reduce){#plusSheet,#plusSheet .ps-box{animation:none}}

/* V63.27 — options carte + lieux visités */
.map-opts{margin:-8px 0 8px}
.map-opts .chip.active{background:#ff36c52e;color:#ff8be3;border-color:#ff70d4}
.pin.seen{opacity:.55;filter:saturate(.6)}
.pin.seen::after{content:"";position:absolute;right:-7px;top:-9px;transform:none;rotate:0deg;width:17px;height:17px;border-radius:50%;background:#4dffa3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f12' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;box-shadow:0 0 6px #4dffa3}

/* V63.27 — sauvegarde */
#bkInfo.bk-due{color:#ffcf6b}

#impCard{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,5,18,.78);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#impCard .upd-box{width:min(100%,360px);box-sizing:border-box;text-align:center;padding:24px 20px 18px;border-radius:24px;border:1.5px solid #24eaff;background:linear-gradient(160deg,#38204f,#17112b);box-shadow:0 0 34px rgba(36,234,255,.45),0 0 70px rgba(255,61,197,.25)}
#impCard .upd-ic{font-size:34px;line-height:1;margin-bottom:8px;filter:drop-shadow(0 0 10px #ff3dc5)}
#impCard h2{margin:0 0 6px;font-size:22px;color:#fff}
#impCard .upd-ver{margin:0 0 14px;color:#35e08a;font-size:15px;font-weight:700}
#impCard .upd-ver[hidden],#impCard .upd-news[hidden]{display:none}
#impCard .upd-news{margin:0 0 18px;padding:12px 14px;border-radius:16px;background:#0000004d;border:1px solid #ffffff1f;text-align:left}
#impCard .upd-news h3{margin:0 0 6px;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#ff8be0}
#impCard .upd-news ul{margin:0;padding-left:18px;color:#e9defa;font-size:14px;line-height:1.4}
#impCard .upd-news li{margin:0 0 5px}
#impCard .upd-go{width:100%;min-height:52px;border:0;border-radius:16px;background:linear-gradient(90deg,#24eaff,#ff3dc5);color:#12002a;font:inherit;font-size:17px;font-weight:800;cursor:pointer}
#impCard .upd-later{width:100%;min-height:44px;margin-top:8px;border:0;background:none;color:#b9a9d6;font:inherit;font-size:14px;cursor:pointer}

/* V63.27+ — néons doux (réglage facultatif, plus reposant la nuit) + mouvements réduits */
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
body.soft{--pink:#d95fb5;--pink2:#e8aedb;--cyan:#62c4cf;--violet:#8f72d1;--gold:#dcb36a;--white:#f0e8f2;--muted:#cdbfd8;--line:#d98fc66b}
body.soft *,body.soft *::before,body.soft *::after{box-shadow:none!important}
body.soft *{text-shadow:0 1px 3px #000a!important}
body.soft svg,body.soft .lc-ic,body.soft .upd-ic,body.soft .ps-ic svg{filter:none!important}
body.soft img,body.soft .map-image{filter:saturate(.78) brightness(.9)}
body.soft .pin{filter:saturate(.8) brightness(.92)}
body.soft .pin.seen{filter:saturate(.5)}
body.soft .minibar,body.soft #minibar{border-color:#d98fc655!important}
body.soft .hn-banner,body.soft .home-neon-hero,body.soft .home-neon-tile,body.soft .home-neon-wide,body.soft .home-neon-secrets,body.soft .home-neon-adventure,body.soft .pagehead,body.soft .tile,body.soft .banner{filter:saturate(.7) brightness(.86)}

/* V63.27+ — lisibilité des titres de tuiles sur les illustrations claires */
#home .home-neon-tile .home-neon-title,#home .home-neon-tile strong{text-shadow:0 1px 3px #000d,0 0 10px #000b}
#home .home-neon-tile small,#home .home-neon-tile .home-neon-sub{text-shadow:0 1px 3px #000d,0 0 8px #000a}

/* V63.28 — Explorer une zone */
#zones .content{padding-top:10px}
.zn-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;color:inherit;font:inherit;margin-top:10px}
.zn-card strong{display:block;font-size:16px}
.zn-card small{display:block}
.zn-cnt{margin-top:2px;color:var(--pink2)}
.zn-pc{font:800 13px system-ui;color:var(--pink2);white-space:nowrap}
.zn-bar{height:7px;border-radius:7px;background:#ffffff1a;margin-top:8px;overflow:hidden}
.zn-bar i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,var(--cyan),var(--pink))}
.zn-back{margin:0 0 10px}
.zn-head h2{margin:0 0 4px}
.zn-sum{margin-top:6px;font-size:14px}
.zn-row{display:flex;align-items:center;gap:10px;margin:6px 0;padding:8px 10px;border-radius:14px;border:1px solid #ff70d444;background:#ffffff08}
.zn-row.done{border-color:#4dffa388;background:#4dffa312}
.zn-chk{flex:0 0 auto;width:30px;height:30px;border-radius:9px;border:2px solid #ff8be3aa;background:none;color:#4dffa3;font:800 16px system-ui;display:grid;place-items:center;padding:0}
.zn-row.done .zn-chk{border-color:#4dffa3;background:#4dffa31f}
.zn-name{flex:1;min-width:0;text-align:left;background:none;border:0;color:inherit;font:600 14.5px system-ui;padding:4px 0}
.zn-name small{display:block;font:400 12px system-ui;color:var(--muted)}
.zn-h3{margin:14px 0 6px;font-size:14px;color:var(--pink2)}
.zn-note{margin-top:16px}

/* V63.30 — notes plus visibles */
.fc-notebtn{display:inline-flex;align-items:center;gap:7px;margin:0 0 12px;padding:8px 14px;border-radius:20px;border:1px solid #ff70d477;background:#ffffff0d;color:#f1e8ff;font:600 13.5px system-ui,sans-serif}
.fc-notebtn svg{color:var(--pink2)}
.fc-notebtn.has{border-color:#4dffa388;background:#4dffa31a}
.fc-notebtn.has svg{color:#4dffa3}
.note-dot{flex:0 0 auto;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#4dffa322;border:1px solid #4dffa388;color:#4dffa3;margin-left:6px}
.zn-row{position:relative}
.zn-name .note-dot{position:absolute;right:10px;top:50%;transform:translateY(-50%);margin:0}
.zn-name{padding-right:34px}

/* V63.31 — filtre À faire / Fait */
.lc-filter{margin:2px 0 10px}
.lc-filter .chip.active{background:linear-gradient(135deg,#ff36c5,#9b57ff);color:#fff;border-color:transparent}
.view[data-lf="todo"] .guide:has(.got-mark),.view[data-lf="todo"] .mt-tile:has(.got-mark),
.view[data-lf="todo"] .subtile.done,.view[data-lf="todo"] .lc-brand.done{display:none!important}
.view[data-lf="done"] .content .guide.fiche-open:not(:has(.got-mark)),
.view[data-lf="done"] .content .mt-tile:not(:has(.got-mark)){display:none!important}
.lc-fempty{margin:14px 2px}

/* V63.32 — Lieux : tuiles allongées (une par ligne) */
#placeList .subtiles{grid-template-columns:1fr;gap:9px}
#placeList .subtile{display:grid;grid-template-columns:1fr;align-content:center;justify-items:start;row-gap:2px;min-height:0;height:72px;padding:0 44px 0 16px;border-radius:16px}
#placeList .subtile.has-img{min-height:0;justify-content:flex-start;padding:0 44px 0 16px}
#placeList .subtile.has-img:before{background:linear-gradient(90deg,#12091ffa 0%,#12091fe0 34%,#12091f70 70%,#12091f2e 100%),var(--simg) center 40%/cover no-repeat}
#placeList .subtile strong{font-size:16px;display:block}
#placeList .subtile small{display:block;margin-top:3px;font-size:12.5px}
#placeList .subtile::after{content:"›";position:absolute;right:16px;top:50%;transform:translateY(-52%);font-size:26px;color:#ff8be3;text-shadow:0 1px 4px #000}
#placeList .subtile .st-check{right:38px}
/* V63.77 : plus d’emojis dans les lignes de résultats, même direction artistique partout */
.guide.fiche-open .ico,.guide[data-gplace] .ico{display:none!important}

/* sources repliables */
.fc-src{padding-top:12px;padding-bottom:12px}
.src-toggle{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;color:#f6a6ff;font:inherit;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;padding:4px 0;cursor:pointer;text-align:left}
.src-toggle em{font-style:normal;font-weight:700;letter-spacing:0;font-size:.75rem;color:#cfc3e6;background:#ffffff14;border:1px solid #ffffff22;border-radius:999px;padding:1px 8px}
.src-toggle i{margin-left:auto;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s;margin-right:4px}
.src-toggle[aria-expanded="true"] i{transform:rotate(-135deg)}
.src-body{margin-top:8px}

/* notes sur 10 en barre dégradée */
.fc-row-bar b{display:flex;flex-direction:column;gap:4px;padding-right:6px}
.fc-bar{position:relative;height:8px;border-radius:999px;background:linear-gradient(90deg,#ff3b5c 0%,#ff8a1f 30%,#ffd23f 55%,#9be15d 78%,#2fe27a 100%);margin:6px 0}
.fc-bar::after{content:"";position:absolute;top:0;bottom:0;left:var(--v);right:0;background:#1c1030e0;border-radius:0 999px 999px 0}
.fc-dot{position:absolute;z-index:1;left:var(--v);top:50%;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #12091f;box-shadow:0 0 8px #ffffffaa;transform:translate(-50%,-50%)}
.fc-barnote{font-size:11px;font-weight:500;color:#b9a9d6;line-height:1.3}
.fc-dot.ghost{z-index:2;background:transparent;border:2px dashed #fff;box-shadow:none;width:12px;height:12px}
.map-unzoom{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:7;padding:8px 16px;border:1px solid #ffffff8c;border-radius:20px;background:#130c2bf0;color:#fff;font-size:14px;box-shadow:0 0 12px #22dfff77}
.map-unzoom[hidden]{display:none}
.gsw .gsw-t3{--c:#ffd34a}
.gsw .gsw-t4{--c:#ff9f43}
.gsw .gsw-t5{--c:#ff6bd6}
.wmap{display:block;width:100%;margin:6px 0 0}
.codes-letter{margin:16px 2px 6px;font-weight:800;font-size:15px;color:#ffd34a;letter-spacing:.08em}
.codes-sep{letter-spacing:0;color:#2ee6d6}
.codes-row{margin:0 0 8px;padding:10px 12px;border-radius:14px;border:1px solid #ffffff2e;background:#1e1033;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center}
.codes-main{display:flex;flex-direction:column;min-width:0}
.codes-main strong{font-size:15px;line-height:1.2}
.codes-type{font-size:11px;color:#d9c8ea;text-transform:uppercase;letter-spacing:.06em}
.codes-val{font-family:ui-monospace,Menlo,monospace;font-size:20px;font-weight:800;color:#ffd34a;text-shadow:0 0 8px #ffd34a66;text-align:right}
.codes-row p{grid-column:1/-1;margin:4px 0 0}

/* V63.112 — chapitre des personnages */
.chbadge{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:99px;border:1px solid #2de2e6;color:#2de2e6;font-size:11px;font-weight:700;vertical-align:middle;line-height:1.5}
.chbadge.chall{border-color:#ff4fd8;color:#ff9be9}
.chchips{display:flex;gap:7px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}
.chchips .chip.on{background:#2de2e6;color:#0b0620;border-color:#2de2e6;font-weight:700}
.fc-myst{width:100%;text-align:left;display:block;margin-top:8px}

/* Montres de luxe */
.wms{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.wm{font-size:12px;padding:4px 9px;border-radius:12px;border:1px solid #ffffff33;color:#cbbbe6}.wm.on{border-color:#2ee6d6;color:#d7fffb;background:#0f2a33}
#watchChips{margin:0 0 10px}
.wcard{margin:0 0 8px;border-radius:14px;border:1px solid #ffffff2e;background:#1e1033;overflow:hidden}.wcard.on{border-color:#2ee6d6aa}
.wcard summary{list-style:none;display:grid;grid-template-columns:26px 1fr auto;gap:10px;align-items:center;padding:11px 12px;cursor:pointer}.wcard summary::-webkit-details-marker{display:none}
.wchk{width:24px;height:24px;border-radius:50%;border:1.5px solid #ffffff55;display:grid;place-items:center;font-size:14px;color:#12091f}.wcard.on .wchk{background:#2ee6d6;border-color:#2ee6d6}
.wmain{display:flex;flex-direction:column;gap:2px;min-width:0}.wmain strong{font-size:15px}.wmain small{color:#cbbbe6}.wmain em{font-style:normal;font-size:13px;color:#ffd34a}
.wgo{font-size:20px;color:#ffffff88;transition:transform .2s}.wcard[open] .wgo{transform:rotate(90deg)}
.wbody{padding:0 12px 12px;border-top:1px solid #ffffff1a;font-size:14px;line-height:1.45}.wbody p{margin:10px 0 6px;font-size:14px}.wbody .small{font-size:12.5px}
#watches .progress{padding:0;border:0;background:none}
.wbadge{display:inline-block;font-size:12px;padding:3px 9px;border-radius:10px;margin-top:4px}.wbadge.ok{background:#12351f;color:#9cf0b8}.wbadge.u{background:#3a2a10;color:#ffd48a}.wbadge.m{background:#2a1f45;color:#cbbbe6}
.codes-letter small{opacity:.7}

/* Publicité (test) : emplacement dans le flux, jamais fixe */
.adslot{position:relative;margin:12px 0;min-height:56px;border-radius:12px;border:1px dashed #ffffff66;background:#241440;display:flex;align-items:center;justify-content:center;color:#cbbbe6;font-size:12px}
.adslot b{position:absolute;top:4px;left:9px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#ffffffaa;font-weight:600}
#adPaid{color:inherit;border:1px solid #ffffff33;border-radius:24px;padding:12px 14px;font-weight:600}

/* V63.126 : accueil — bannière de taille fixe (avec ou sans pub), pub sous la bannière, bouton carte sombre à contour turquoise */
#home{overflow-y:auto;-webkit-overflow-scrolling:touch}
#home .hn-banner{flex:0 0 clamp(130px,22.7vh,215px)!important;max-height:none!important;min-height:0!important}
#home .home-neon-wide-grid{grid-template-columns:1fr!important}
#home .adslot{margin:0 12px 10px!important;flex:none!important}
#home .hx-mappill{background:linear-gradient(100deg,#1a0c33f2,#2b1250f2)!important;border:2px solid #2ee6d6!important;box-shadow:0 0 14px #2ee6d6aa,0 0 26px #2ee6d655!important;color:#fff!important}
#home .hx-mp-ic{background:#2ee6d6!important;border-color:#bffcf6!important;color:#0b1330!important;box-shadow:0 0 10px #2ee6d6}
#home .hx-mp-go{background:#ff3da6!important;color:#fff!important}

/* V63.127 : Armes rouge franc, Lieux jaune doré (couleurs plus distinctes) */
#home .tile-weapons{--tile-accent:#ff3b4a!important}
#home .tile-places{--tile-accent:#ffd23f!important}

/* V63.131 : statut de confirmation des informations (fiches) */
.fc-card h2 .fc-st{display:inline-block;margin-left:8px;padding:3px 10px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.2px;text-transform:none;vertical-align:middle;white-space:nowrap}
.fc-st.ok{background:#0d3b2e;border:1px solid #1f9d6c;color:#7dffc4}
.fc-st.mid{background:#3b2a08;border:1px solid #b8860b;color:#ffd166}
@media(max-width:340px){.fc-card h2 .fc-st{display:block;margin:6px 0 0;width:max-content}}
.t-stc{margin:4px 0 0}.t-stc .fc-st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}

/* V63.134 : page Mystères — repère carte sur les tuiles */
.mt-img{position:relative}.mt-img .mt-map{position:absolute;right:8px;bottom:8px;font-size:13px;line-height:1;padding:4px 5px;border-radius:10px;background:#12091fcc;border:1px solid #2ee6d688}

/* V63.135 : accessibilité — lien d'évitement */
.skip-link{position:absolute;left:-9999px;top:0;z-index:9999;padding:10px 16px;background:#2ee6d6;color:#12091f;font-weight:700;border-radius:0 0 8px 0}
.skip-link:focus{left:0;outline:2px solid #fff;outline-offset:2px}

/* V63.136 : comparateur de véhicules */
.cmp-open{width:100%;margin:0 0 10px}
.cmp-pick label{display:block;margin:8px 0 4px;color:var(--muted)}
.cmp-btns{display:flex;gap:8px;margin-top:10px}
.cmp-heads{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.cmp-h{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--panel);text-align:center;align-items:center}
.cmp-h strong{font-size:14px;line-height:1.2}.cmp-h small{color:var(--muted);font-size:11.5px}
.cmp-ic{font-size:26px}.cmp-h .secondary{margin-top:6px;font-size:12px;padding:6px 10px}
.cmp-tab{padding:6px 10px}
.cmp-r{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #ffffff14;font-size:13px}
.cmp-r:first-child{border-top:0}
.cmp-l{color:var(--muted);font-size:12px}
.cmp-v{text-align:center;font-weight:600}
.cmp-v.win{color:#5df2c0;font-weight:800}
.cmp-bar{display:block;height:5px;margin-top:5px;border-radius:3px;background:#ffffff1c;overflow:hidden}
.cmp-bar u{display:block;height:100%;background:var(--violet)}
.cmp-v.win .cmp-bar u{background:#5df2c0}
.cmp-empty{padding:14px 4px}.cmp-sum{margin:10px 2px}

/* V63.142 : accueil = zone fixe plein écran (bannière inchangée) ; la barre d'onglets est recalée sur le vrai bas de l'écran par le garde-fou --vdef */
body.is-home #home{position:fixed!important;top:0;left:0;right:0;bottom:calc(0px - var(--vdef,0px));width:100%;max-width:600px;margin:0 auto;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;box-sizing:border-box;padding-top:calc(env(safe-area-inset-top,0px) + 8px)!important;padding-bottom:calc(61px + env(safe-area-inset-bottom,0px))!important;background:radial-gradient(ellipse at 50% 0,#241b49 0,#100b22 58%,#070916 100%)}
#minibar{bottom:calc(max(4px,env(safe-area-inset-bottom,0px) - 2px) - var(--vdef,0px))!important}
body.is-home #home.lock{overflow-y:hidden!important}
body.is-home #home>*{flex:none}

/* V63.138 : liste des séries de cartes */
.cardsets{margin:12px 0}.cardsets summary{cursor:pointer;font-weight:700}
.cardsets ul{list-style:none;margin:10px 0 6px;padding:0}
.cardsets li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #ffffff14;font-size:13px}
.cardsets li:first-child{border-top:0}.cardsets li b{color:var(--muted);font-weight:600;white-space:nowrap}

/* V63.144 : calques de la carte */
.layers{margin:10px 0 12px;border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:0 12px 12px}
.layers>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 2px;cursor:pointer;list-style:none;font-size:15px}
.layers>summary::-webkit-details-marker{display:none}
.layers .ly-sum{color:var(--muted);font-size:12px}
.ly-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ly-btn{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1.5px solid #ffffff2e;border-radius:14px;background:#ffffff0d;color:var(--white);text-align:left;font:inherit;cursor:pointer;min-height:48px}
.ly-btn.on{border-color:var(--lc);background:color-mix(in srgb,var(--lc) 18%,transparent);box-shadow:0 0 12px color-mix(in srgb,var(--lc) 45%,transparent)}
.ly-i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--lc);color:#12091f;font-size:15px;flex:none}
.ly-t{display:flex;flex-direction:column;min-width:0}.ly-t strong{font-size:13.5px}.ly-t small{color:var(--muted);font-size:11.5px}
.ly-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ly-foot .chip.on{border-color:#2ee6d6;color:#2ee6d6}
.ly-note{margin:10px 0 0;font-size:11.5px;color:var(--muted)}
.lpin{position:absolute;z-index:5;transform:translate(-50%,-50%) scale(var(--inv,1));width:19px;height:19px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--lc);color:#12091f;display:grid;place-items:center;font-size:10px;line-height:1;box-shadow:0 0 8px var(--lc),0 1px 4px #0008;cursor:pointer}
.lpin.apx{border-style:dashed}
.lpin.done{opacity:.55;background:#1f9d6c;color:#fff;border-color:#bfffe3}
.lpin.hl{transform:translate(-50%,-50%) scale(calc(var(--inv,1)*1.35));z-index:7;box-shadow:0 0 0 3px #fff,0 0 16px var(--lc)}
.lpin span{pointer-events:none}
.ly-apx{margin:4px 0 8px}

.lclu{position:absolute;z-index:6;transform:translate(-50%,-50%) scale(var(--inv,1));min-width:28px;height:28px;padding:0 6px;border:2px solid #fff;border-radius:999px;background:var(--lc);color:#12091f;display:grid;place-items:center;font:800 12px/1 system-ui,sans-serif;box-shadow:0 0 0 4px color-mix(in srgb,var(--lc) 35%,transparent),0 0 12px var(--lc);cursor:pointer}
html.light .lclu{color:#12091f!important}

.fc-card .tip-h,.tip .tip-h{margin:14px 0 4px;font-weight:800;color:var(--cyan,#25eaff);font-size:13px;letter-spacing:.02em}
.fc-card ul.tiplist,.tip ul.tiplist{margin:4px 0 8px;padding-left:18px}
.fc-card ul.tiplist li,.tip ul.tiplist li{margin:5px 0;line-height:1.45}

.ly-grp{margin:6px 0;border:1px solid var(--line,#ffffff22);border-radius:14px;background:#ffffff08}
.ly-grp>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-weight:800;cursor:pointer;list-style:none}
.ly-grp>summary::-webkit-details-marker{display:none}
.ly-grp>summary small{font-weight:600;opacity:.7;font-size:12px}
.ly-grp .ly-grid{padding:0 8px 10px}

/* V63.149 : indice visuel « déployer » sur les thèmes de calques */
.ly-grp>summary small{margin-left:auto}
.ly-grp>summary::after,.layers>summary::after{content:"";flex:none;width:9px;height:9px;margin-left:8px;border-right:2.5px solid var(--cyan,#25eaff);border-bottom:2.5px solid var(--cyan,#25eaff);transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.ly-grp[open]>summary::after,.layers[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.ly-grp:not([open])>summary{background:#25eaff12;border-radius:14px}
.ly-hint{margin:2px 2px 8px;font-size:12.5px;color:var(--muted,#b9a9d6)}

/* V63.149 : l’accueil laisse la place à la barre d’onglets (76 px + marge) */
body.is-home #home{padding-bottom:calc(76px + max(4px,env(safe-area-inset-bottom,0px) - 2px) + 16px)!important}

body.is-home #home .hn-banner{height:172px!important;min-height:0!important;flex:none!important}
body.is-home #home .home-neon-guide{height:92px!important}
body.is-home #home .home-neon-grid .home-neon-tile{height:60px!important;min-height:0!important;aspect-ratio:auto!important}

/* V63.149+ : Points d'intérêt en menus repliables */
#mapList .map-fold{margin:8px 0;border:1.5px solid #ffffff22;border-radius:16px;background:#ffffff08}
#mapList .map-fold>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:13px 14px;font-weight:800;font-size:15px;color:#fff}
#mapList .map-fold>summary::-webkit-details-marker{display:none}
#mapList .map-fold>summary span{flex:1}
#mapList .map-fold>summary em{font-style:normal;font-size:12px;font-weight:600;color:#b9a9d4}
#mapList .map-fold>summary::after{content:"";flex:none;width:9px;height:9px;margin-left:4px;border-right:2.5px solid var(--cyan,#25eaff);border-bottom:2.5px solid var(--cyan,#25eaff);transform:rotate(45deg) translateY(-2px);transition:transform .2s}
#mapList .map-fold[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
#mapList .map-fold:not([open])>summary{background:#25eaff12;border-radius:14px}
#mapList .map-fold>.lc-list{padding:0 8px 8px}

/* LIGHT-BEGIN (généré par gen_light.py — ne pas éditer) */
html.light{--bg:#e4ddf4;--panel:#dcd3ef;--panel2:#d6c3e9;--pink:#bf0a8b;--pink2:#910870;--cyan:#0bbccf;--violet:#4608a0;--gold:#7e5307;--white:#281528;--muted:#2a1939;--line:#8f0c7480}
html.light,html.light body{background:#f8f7fa}
html.light .app{background:radial-gradient(ellipse at 50% 0,#e6e0ec 0,#f0edf5 38%,#f6f4f9 80%)}
html.light .status{background:#f2f0f7}
html.light .header{background:linear-gradient(180deg,#f2eff6,#f2eff6dd);border-bottom:1px solid #9108682a}
html.light .round{border:1px solid #1f1f1f36;background:#efecf4e8;box-shadow:0 0 12px #b710821c}
html.light .brand{text-shadow:0 0 12px #be0a89,0 2px 5px #eaddf7}
html.light .brand small{color:#821766}
html.light .tile{border:1px solid #91086ba6;background:#ece8f2;box-shadow:0 0 12px #b80a842b,inset 0 0 18px #ac097a22}
html.light .tile strong,html.light .tile small{text-shadow:0 1px 4px #e9e3f7}
html.light .tile small{color:#281522}
html.light .progress{border:1px solid #8e106e7d;background:linear-gradient(110deg,#eae5f0,#efecf4);box-shadow:0 0 13px #bb149022}
html.light .bar{background:#d6d2dc}
html.light .bar i{background:linear-gradient(90deg,#b70a7e,#5609a9,#0bc1d4);box-shadow:0 0 12px #b70a7e}
html.light .tabs{background:rgba(225,216,241,0.97);border:1px solid #8b116c5a;box-shadow:0 -4px 24px #e9e3f788}
html.light .tab{color:#291c36}
html.light .tab.active{color:#a20871;text-shadow:0 0 10px #c30a8f,0 0 18px #c30a8f}
html.light .search{border:1px solid #9a2f9488;background:#f0edf4;color:#1f1f1f}
html.light .search:focus{box-shadow:0 0 0 2px #0bbccf25,0 0 15px #0bbccf35}
html.light .chip{border:1px solid #88298c9c;background:#eeecf3;color:#221528}
html.light .chip.active{background:linear-gradient(90deg,#c00a84,#5b09ab);box-shadow:0 0 13px #bf0a8d88;border-color:#91086c}
html.light .map-frame{border:1px solid #0bb9ccb0;background:#daeaf2;box-shadow:0 0 13px #0bbfd26a,0 0 30px #c11cad33}
html.light .map-vignette{background:linear-gradient(180deg,#f0f3f926,transparent 24%,transparent 75%,#f0f3f944),radial-gradient(ellipse,transparent 42%,#ecf2f966)}
html.light .compass{color:#910870;text-shadow:0 0 10px #b1097e}
html.light .maplabel{color:#910869;text-shadow:0 0 7px #cd0b96,0 0 18px #cd0b96,0 2px 5px #e9dbf5}
html.light .map-tools button{border:1px solid #1f1f1f6e;background:#f1f0f7df;box-shadow:0 0 10px #0bb5d255}
html.light .map-scale{text-shadow:0 1px 4px #f2f2f2}
html.light .region-card{border:1px solid #8f197ca0;background:linear-gradient(110deg,#ece8f2,#eeedf4);box-shadow:0 0 12px #b315882a}
html.light .region-card small{color:#1f1026}
html.light .location{color:#910869}
html.light .tag{border:1px solid #93086d8c;background:#ece8f2}
html.light .placebody p{color:#190c1a}
html.light .thumbs img{border:1px solid #9108688a}
html.light .actionrow{border:1px solid #9117778c;background:#eeeaf3}
html.light .action{border-bottom:1px solid #1f1f1f24}
html.light .action span:first-child{color:#92086c}
html.light .card{border:1px solid #921e837a;background:linear-gradient(130deg,#e9e5f0,#efedf4);box-shadow:0 0 12px #bc17921a}
html.light .primary{background:linear-gradient(90deg,#bf0a83,#5109aa);box-shadow:0 0 12px #b7148b55}
html.light .secondary{border:1px solid #8818718c;background:#ebe7f1}
html.light .guide{border:1px solid #921d817a;background:linear-gradient(120deg,#e8e2ef,#efedf4)}
html.light .guide small{color:#26142f}
html.light .check{border-bottom:1px solid #1f1f1f20}
html.light .check input{accent-color:#bc0a84}
html.light .modalbg{background:#f8f7fbc9}
html.light .modal{border:1px solid #91086e;background:linear-gradient(160deg,#e7e1ec,#f0eff5);box-shadow:0 -8px 35px #bc0a8b33}
html.light .close{background:#1f1f1f20}
html.light .toast{background:#281521;color:#ecd6f0}
html.light .rlabel{color:#1f1f1f;text-shadow:0 1px 5px #f2f2f2,0 0 9px #f2f2f2}
html.light .view-back{border:1px solid rgba(9,146,172,0.78);background:rgba(220,227,245,0.82);color:#088595;box-shadow:0 0 10px rgba(10,163,195,0.38),inset 0 0 8px rgba(180,9,140,0.12)}
html.light .app{background:radial-gradient(ellipse at 50% 0,#e6e4ef 0,#f4f3f8 58%,#f7f7fa 100%)}
html.light .header{background:linear-gradient(100deg,#f4f3f8,#edeaf4 48%,#f4f3f8);border-bottom:1px solid #ab098755;box-shadow:0 3px 18px #ba148f2a}
html.light .brand{color:#1f1f1f;text-shadow:0 0 8px #0998ab,0 0 17px #ba0f8e}
html.light .brand .palm{color:#0992a5}
html.light .brand i{color:#910870}
html.light .brand small{color:#690891}
html.light .tabs{background:linear-gradient(100deg,#eeeff5ef,#edebf3f5);border:1px solid #7457aa;box-shadow:0 -4px 22px #0aa2bf20}
html.light .tab{color:#1d1528}
html.light .tab b{color:#1f1f1f;text-shadow:0 0 7px #0991a4}
html.light .tab.active{color:#910870;text-shadow:0 0 9px #bc0a8d}
html.light .tab.active b{color:#910870;text-shadow:0 0 8px #bd0a8e,0 0 17px #bd0a8e}
html.light .app{background:radial-gradient(ellipse at 50% 0%,#ece8f3 0%,#f4f3f8 58%,#f7f7fa 100%)}
html.light .header{background:linear-gradient(100deg,#f4f3f8,#edeaf4 48%,#f4f3f8);border-bottom:1px solid rgba(173,9,133,0.34);box-shadow:0 4px 22px rgba(242,242,242,0.28)}
html.light .brand{text-shadow:0 0 12px #be0a89,0 0 25px #6509a9}
html.light .brand .palm{color:#099aad}
html.light .brand small{color:#821766}
html.light .header .round{border-color:#94086d;background:#f1eff6;box-shadow:0 0 13px #b3098466}
html.light .tabs{border:1px solid #65479d;background:linear-gradient(100deg,rgba(217,214,240,0.97),rgba(211,225,245,0.97));box-shadow:0 0 18px #b932b155,0 0 22px #0cb2dd22}
html.light .tab{color:#1a1528}
html.light .tab.active{color:#920870;text-shadow:0 0 10px #c30a8f,0 0 18px #c30a8f}
html.light .official-map-update{border:1px solid #91086877;background:linear-gradient(120deg,#eeeaf4f2,#ebeef4f2);box-shadow:0 0 16px #bf0a8b1c}
html.light .official-map-mark{background:#bf0a8b22;color:#910870}
html.light .official-map-top small{color:#2a1939}
html.light .official-map-status{background:#ae720920;color:#7e5407}
html.light .official-map-update p{color:#522574}
html.light .official-map-links a{border:1px solid #0bbccf66;color:#088591}
html.light .minibar{background:#f1eff7f2;border:1px solid #91086877;box-shadow:0 0 16px #bf0a8b33,0 0 20px #0bbdd022}
html.light .minibar .mb{color:#472970}
html.light .minibar .mb.active{background:#bf0a8b2e;color:#910870;text-shadow:0 0 9px #bc0a8d}
html.light .mapcard{color:#1f1f1f;background:linear-gradient(120deg,#f0eef6f5,#eaebf4ee);border:1px solid #910868aa;box-shadow:0 0 20px #bf0a8b44,0 0 26px #0bbdd022}
html.light .mapcard small{color:#472a6f}
html.light .mapcard p{color:#522574}
html.light .mapcard .mc-x{color:#1f1f1f}
html.light details.grp{border:1px solid #91086877;background:linear-gradient(110deg,#eae5f0,#efecf4);box-shadow:0 0 12px #bb14901f}
html.light details.grp .g-n{background:#0bbdd022;border:1px solid #0bbdd066;color:#088591}
html.light details.grp .g-a{color:#910870}
html.light .heart{border:1px solid #910868aa;background:#efecf4;color:#910870;box-shadow:0 0 10px #bf0a8b33}
html.light .map-frame.adding{outline:2px dashed #0ab2c0}
html.light .map-tools button.on{background:#0ab2c0;box-shadow:0 0 14px #0ab2c0}
html.light .home-foot{color:#38294f}
html.light .linkbtn{color:#088591}
html.light #modal a{color:#088591}
html.light button:focus-visible,html.light a:focus-visible,html.light summary:focus-visible,html.light input:focus-visible,html.light [role=button]:focus-visible{outline:2px solid #0ab2c0}
html.light input[type=checkbox]{border:2px solid #0ab2c0;background:#f3f2f8;box-shadow:0 0 8px #0ab2c044}
html.light input[type=checkbox]:checked{background:linear-gradient(135deg,#bf0a8b,#5609a9);border-color:#910870;box-shadow:0 0 10px #bf0a8b88}
html.light input[type=checkbox]:checked::after{color:#1f1f1f}
html.light .drill-back{border:1px solid #8575b5;background:#efedf4;color:#088591}
html.light .drill-title em{background:#0bbdd022;border:1px solid #0bbdd066;color:#088591}
html.light .tip{border:1px solid #91086855;background:linear-gradient(110deg,#eae5f0,#efecf4)}
html.light .tip p{color:#522574}
html.light .tip small{color:#3b2b56}
html.light .tip a{color:#088591}
html.light .si-n{color:#dfc7ee;background:linear-gradient(135deg,#916408,#910863)}
html.light .si-go{color:#7e5607}
html.light .spoilbtn{border:1.5px solid #a70984;background:linear-gradient(100deg,#f1eaf4,#ecdff0);color:#91086b;box-shadow:0 0 12px #a7098455}
html.light #minibar .mb.active{color:#910853;text-shadow:0 0 10px #b80a68}
html.light .gsw button{background:#f0ecf5;color:#1f1f1f;--c:#9b0832}
html.light .gsw .gsw-t2{--c:#22c8b9}
html.light .gsw button.on{background:linear-gradient(120deg,color-mix(in srgb,var(--c),#f0ecf5 72%),#f0ecf5)}
html.light .gsw-ic{background:#f6f4f9cc}
html.light .gsw-t small{color:#261537}
html.light :where(button,html.light a,html.light input,html.light textarea,html.light select,html.light [tabindex]):focus-visible{outline:2px solid #91085f}
html.light #home .adv-pct{color:#910853}
html.light #home .adv-meter{background:#e2daec}
html.light #home .adv-meter b{background:linear-gradient(90deg,#b80a68,#a96209);box-shadow:0 0 8px #b80a68}
html.light #home .adv-sub{color:#1e1528}
html.light #home .adv-go{color:#910853}
html.light .got-mark{background:#22c8b9;color:#e6ddf4;box-shadow:0 0 8px #22c8b9aa}
html.light .gotbtn{border:1.5px solid #22c8b9;background:#edf3f5;color:#089184}
html.light .gotbtn.on{background:#22c8b9;color:#e6ddf4;box-shadow:0 0 14px #22c8b988}
html.light .adv-kicker{color:#910870}
html.light .adv-next{color:#088491}
html.light .adv-toggle{border:1.5px solid #0bc1d499;background:#eaedf3;color:#1f1f1f;box-shadow:0 0 12px #0bc1d422}
html.light .adv-chev{color:#0bc1d4}
html.light .adv-step{border:1px solid #0bc1d455;background:#ecedf3;color:#1f1f1f}
html.light .adv-step-t small{color:#293456}
html.light .adv-step-go,html.light .adv-row-go{color:#0bc1d4}
html.light .adv-card{border:1px solid #921e837a;background:linear-gradient(130deg,#e9e5f0,#efedf4)}
html.light .adv-card h3{color:#1f1f1f}
html.light .adv-row{border-top:1px solid #1f1f1f14;color:#1f1f1f}
html.light .adv-row-h em{color:#291744}
html.light .adv-bar{background:#d6d2dc}
html.light .adv-bar i{background:linear-gradient(90deg,#0bc1d4,#b70a7e);box-shadow:0 0 10px #b70a7e88}
html.light .adv-rec{border-top:1px solid #1f1f1f14}
html.light .adv-rec em{color:#293456}
html.light .adv-story{border:1.5px solid #7e510799;background:linear-gradient(110deg,#f4efea,#eeeaf3);color:#1f1f1f;box-shadow:0 0 12px #7e510722}
html.light .adv-story .adv-step-t small{color:#7e4e07}
html.light .tipmeta{color:#088491}
html.light .chap-opt{border:1.5px solid #1f1f1f22;background:#efedf4;color:#1f1f1f}
html.light .chap-opt.on{border-color:#0bc1d4;background:#eaedf3}
html.light .chap-t small{color:#392956}
html.light .chap-ck{color:#0bc1d4}
html.light .adv-cnt{color:#088491}
html.light .badge{color:#1f1f1f}
html.light .badge.on img{box-shadow:0 0 14px #b70a7e66}
html.light .badge:not(.on) .badge-n{color:#392956}
html.light .badge-p{color:#088491}
html.light .adv-now{border:1.5px solid #7e5c07cc;background:linear-gradient(130deg,#f3efe9,#eae5f1);box-shadow:0 0 18px #7e5c0733}
html.light .adv-now .adv-kicker{color:#7e5607}
html.light .adv-now-go{border:1px solid #1f1f1f22;background:#efedf4;color:#1f1f1f}
html.light .adv-now-t small{color:#392956}
html.light .adv-now-next{color:#7e5607}
html.light .adv-now-next em{color:#293456}
html.light #home .hx-adv{border:1.5px solid #94086d;background:linear-gradient(130deg,#e9e5f0,#efedf4);box-shadow:0 0 16px #b70a7e33}
html.light #home .hx-adv-top{color:#1f1f1f}
html.light #home .hx-ring{background:conic-gradient(#0bc1d4 0,#b70a7e calc(var(--p)*1%),#e1dde7 0)}
html.light #home .hx-ring:before{background:#f0edf5}
html.light #home .hx-adv-t small{color:#088491}
html.light #home .hx-go{color:#0bc1d4}
html.light #home .hx-idea-go{border:1px solid #7e5c0788;background:#f5f2ef;color:#1f1f1f}
html.light #home .hx-idea-t em{color:#7e5607}
html.light #home .hx-idea-next{border:1px solid #7e5c0788;background:#f5f2ef;color:#7e5607}
html.light #home .hx-bar{background:#1f1f1f33}
html.light #home .hx-bar b{background:linear-gradient(90deg,#0bc1d4,#b70a7e)}
html.light .fc-card{border:1.5px solid #94086d66;background:linear-gradient(130deg,#e9e5f0,#efedf4)}
html.light .fc-card h2{color:#91086d}
html.light .fc-row{border-top:1px solid #1f1f1f14}
html.light .fc-row span{color:#392956}
html.light .fc-pill.ok{background:#ebf4f2;color:#149b6e;border:1px solid #22c88966}
html.light .fc-pill.mid{background:#f4f1ea;color:#7e5a07;border:1px solid #7e4e0766}
html.light .fc-pill.no{background:#e7e6ec;color:#433663;border:1px solid #7466a0}
html.light .fc-chip{border:1px solid #0bbdd066;background:#edebf4;color:#1f1f1f}
html.light .fc-src a{color:#088491}
html.light .fc-official{color:#1f1f1f}
html.light #minibar{background:#f1eff7cc!important}
html.light .lc-list>.guide,html.light #characterList>.guide,html.light #wildlifeList .lc-list>.guide{border:1px solid #b80a6866!important;background:linear-gradient(100deg,#e9e4f0,#f1eef6)!important;box-shadow:0 0 10px #b80a6822,inset 0 0 14px #b80a680f!important}
html.light .lc-list>.guide:before,html.light #characterList>.guide:before{background:#b80a68;box-shadow:0 0 8px #b80a68}
html.light .lc-list>.guide small{color:#2a1947!important}
html.light #vehicleList .lc-list>.guide{border-color:#22c8b999!important;box-shadow:0 0 10px #22c8b91f!important}
html.light #vehicleList .lc-list>.guide:before{background:#22c8b9;box-shadow:0 0 8px #22c8b9}
html.light .lc-brand{border:1px solid #b80a6888;background:linear-gradient(135deg,#e9e4f0 0%,#f1eef6 75%);color:#1f1f1f;box-shadow:0 0 12px #b80a6830,inset 0 0 16px #b80a6814}
html.light .lc-brand:before{background:#b80a68;box-shadow:0 0 8px #b80a68}
html.light .lc-brand small{color:#088491}
html.light .lc-brand span{color:#910853}
html.light #places .place-row{border:1px solid #b80a6866!important;background:linear-gradient(100deg,#e9e4f0,#f1eef6)!important;box-shadow:0 0 10px #b80a6822,inset 0 0 14px #b80a680f!important}
html.light #places .place-row:before{background:#b80a68;box-shadow:0 0 8px #b80a68}
html.light #places .place-row small{color:#2a1947!important}
html.light #mapList .map-grp{color:#1f1f1f}
html.light #mapList .map-grp em{color:#3b2b56}
html.light .mt{color:#e6ddf4}
html.light .mt-region{background:#1ad1b3}
html.light .mt-district{background:#c0690a}
html.light .mt-county{background:#082091}
html.light .mt-landmark{background:#910866}
html.light .mt-town{background:#b68e0a}
html.light .tip.tip-done>strong{color:#08913e}
html.light .miss-prog span{background:rgba(31,31,31,0.12)}
html.light .miss-prog i{background:linear-gradient(90deg,#0bbdd0,#b80a84)}
html.light .hx-box{border:1px solid rgba(31,31,31,0.14);background:rgba(225,216,243,0.55)}
html.light .hx-chip{border:1px solid rgba(11,189,208,0.5);background:rgba(11,189,208,0.08)}
html.light .hx-lrow{border:1px solid rgba(31,31,31,0.12)}
html.light .hx-lrow b{color:#910869}
html.light .hx-lbar{background:rgba(31,31,31,0.12)}
html.light .hx-lbar i{background:linear-gradient(90deg,#0bbdd0,#b80a84)}
html.light .fc-note textarea{border:1px solid rgba(31,31,31,0.2);background:rgba(242,242,242,0.3)}
html.light .disc-row{border:1px solid rgba(31,31,31,0.14)}
html.light #updBar{background:rgba(225,211,245,0.96);border:1px solid #0bbdd0;box-shadow:0 0 18px rgba(11,189,208,0.45);color:#1f1f1f}
html.light #updBar button{background:linear-gradient(90deg,#0bbdd0,#b80a84);color:#e5d3fd}
html.light button#updBar{color:#1f1f1f;background:linear-gradient(90deg,rgba(225,211,245,0.97),rgba(233,188,242,0.97))}
html.light button#updBar b{color:#0bbdd0}
html.light .tip .t-ok{background:rgba(8,145,62,0.14);color:#08913e;border:1px solid rgba(8,145,62,0.4)}
html.light .tip .t-meta{color:#910865}
html.light .tip .t-sep{background:linear-gradient(90deg,rgba(184,10,132,0.7),rgba(11,189,208,0.5),transparent)}
html.light .tip.tip-done>.t-name{color:#08913e}
html.light .mt-tile{border:1px solid rgba(184,10,132,0.5);background:rgba(215,188,242,0.7)}
html.light .fc-card .t-ok{background:rgba(8,145,62,0.14);color:#08913e;border:1px solid rgba(8,145,62,0.4)}
html.light .ob-sec{color:#7e6207}
html.light .ob-sec small{color:#2a1f42}
html.light .ob-row{border:1.5px solid #b5a5d5;background:#f0edf5;color:#1f1f1f}
html.light .ob-row.done{border-color:#7e4007;box-shadow:0 0 10px #7e400740}
html.light .ob-tx small{color:#2a1f42}
html.light .ob-mb{background:#e8e5ee}
html.light .ob-mb i{background:linear-gradient(90deg,#b95e0a,#b80a68)}
html.light .ob-card .ob-cnt button{border:1.5px solid #7e4007;background:#f6f4f9;color:#1f1f1f}
html.light .ob-num{border-bottom:2px solid #b80a68;color:#1f1f1f}
html.light .ob-quick button{border:1.5px solid #9f8fc5;background:#f6f4f9;color:#1f1f1f}
html.light .ob-cell{border:1.5px solid #9f8fc5;background:#f6f4f9;color:#1f1f1f}
html.light .ob-cell.on{background:linear-gradient(135deg,#b95e0a,#b80a68);border:1.5px solid #1f1f1f}
html.light .ob-it{border:1.5px solid #9f8fc5;background:#f6f4f9;color:#1f1f1f}
html.light .ob-it span{border:1.5px solid #9f8fc5}
html.light .ob-it.on{border-color:#7e4007}
html.light .ob-it.on span{background:#b95e0a;color:#e6ddf4;border-color:#7e4007}
html.light .ob-bar{background:#e8e5ee}
html.light .ob-bar i{background:linear-gradient(90deg,#b95e0a,#b80a68)}
html.light .ob-row.done{border-color:#7e4007}
html.light #collectList>.guide{border:1px solid #b80a6866!important;background:linear-gradient(100deg,#e9e4f0,#f1eef6)!important;box-shadow:0 0 10px #b80a6822,inset 0 0 14px #b80a680f!important}
html.light #collectList>.guide:before{background:#b80a68;box-shadow:0 0 8px #b80a68}
html.light #collectList>.guide.done{border-color:#7e4007!important}
html.light #collectList>.guide.done:before{background:#b95e0a;box-shadow:0 0 8px #7e4007}
html.light .ob-it em small{color:#2a1f42}
html.light .ob-gh{color:#7e6207}
html.light #home .hx-badge.on img{box-shadow:0 0 12px #b70a7e88}
html.light #map .map-credit{color:var(--muted,#392956)}
html.light #map details.omu-fold .omu-r{background:#1f1f1f1a}
html.light #mapList .ico svg path{fill:#14adc0}
html.light #layer{color:#1f1f1f}
html.light #layer.on{color:#e6ddf4}
html.light .lc-brand.done{border-color:#28c17488;box-shadow:0 0 14px #28c17422}
html.light .lc-brand.done small{color:#158a49}
html.light .lc-brand.done>span{color:#28c174}
html.light #places .place-row .lm-addr{color:#137986!important}
html.light #collections .ob-row.done{border-color:#28c17499!important;box-shadow:0 0 14px #28c17433!important}
html.light #collections .ob-row.done:before{background:#28c174!important;box-shadow:0 0 8px #28c174!important}
html.light #collections .ob-row.done .ob-n{color:#28c174}
html.light #collections .ob-row.done .ob-mb i{background:#28c174!important}
html.light #updCard{background:rgba(231,227,246,0.78)}
html.light #updCard .upd-box{border:1.5px solid #0bbdd0;background:linear-gradient(160deg,#e7e1ec,#f0eff5);box-shadow:0 0 34px rgba(11,189,208,0.45),0 0 70px rgba(184,10,132,0.25)}
html.light #updCard h2{color:#1f1f1f}
html.light #updCard .upd-ver{color:#28c174}
html.light #updCard .upd-news{background:#f9f9f94d;border:1px solid #1f1f1f1f}
html.light #updCard .upd-news h3{color:#91086d}
html.light #updCard .upd-news ul{color:#421a7f}
html.light #updCard .upd-go{background:linear-gradient(90deg,#0bbdd0,#b80a84);color:#e5d3fd}
html.light #updCard .upd-later{color:#392956}
html.light #updCard.done .upd-box{border-color:#28c174;box-shadow:0 0 34px rgba(40,193,116,0.4),0 0 70px rgba(11,189,208,0.2)}
html.light #updCard.done .upd-go{background:linear-gradient(90deg,#28c174,#0bbdd0)}
html.light .lc-ic{color:#14adc0}
html.light .adv-now-ic .lc-ic{color:#7e4d07}
html.light .adv-step-ic .lc-ic{color:#7e4d07}
html.light .hx-lrow .lc-ic{color:#14adc0}
html.light .warn-ic{color:#7e5a07}
html.light .wn-ver{border:1px solid #94086d66;background:linear-gradient(130deg,#e9e5f0,#efedf4)}
html.light .wn-ver.now{border-color:#28c17499;box-shadow:0 0 14px #28c17422}
html.light .wn-ver h3{color:#1f1f1f}
html.light .wn-ver.now h3{color:#158a49}
html.light .wn-ver h3 em{color:#e6ddf4;background:#28c174}
html.light .wn-ver ul{color:#421a7f}
html.light #plusSheet{background:#f7f6fbb8}
html.light #plusSheet .ps-box{background:linear-gradient(180deg,#edeaf4,#f5f4f9);border:1px solid #91086877;box-shadow:0 -6px 30px #bf0a8b33}
html.light #plusSheet .ps-grip{background:#91087055}
html.light #plusSheet h2{color:#910870}
html.light #plusSheet .ps-it{border:1px solid #91086844;background:#1f1f1f0a;color:#1d1528}
html.light #plusSheet .ps-it:active{background:#bf0a8b2e}
html.light #plusSheet .ps-ic svg{color:#910870}
html.light #minibar .mb.active-plus{background:#bf0a8b2e;color:#910870}
html.light .map-opts .chip.active{background:#bf0a8b2e;color:#910870;border-color:#910868}
html.light #bkInfo.bk-due{color:#7e5707}
html.light #impCard{background:rgba(231,227,246,0.78)}
html.light #impCard .upd-box{border:1.5px solid #0bbdd0;background:linear-gradient(160deg,#e7e1ec,#f0eff5);box-shadow:0 0 34px rgba(11,189,208,0.45),0 0 70px rgba(184,10,132,0.25)}
html.light #impCard h2{color:#1f1f1f}
html.light #impCard .upd-ver{color:#28c174}
html.light #impCard .upd-news{background:#f9f9f94d;border:1px solid #1f1f1f1f}
html.light #impCard .upd-news h3{color:#91086d}
html.light #impCard .upd-news ul{color:#421a7f}
html.light #impCard .upd-go{background:linear-gradient(90deg,#0bbdd0,#b80a84);color:#e5d3fd}
html.light #impCard .upd-later{color:#392956}
html.light body.soft{--pink:#9a2c79;--pink2:#732662;--cyan:#358e98;--violet:#4d3388;--gold:#674d1d;--white:#150d17;--muted:#352740;--line:#70265d6b}
html.light body.soft *{text-shadow:0 1px 3px #f2f2f2aa!important}
html.light body.soft .minibar,html.light body.soft #minibar{border-color:#70265d55!important}
html.light .zn-bar{background:#1f1f1f1a}
html.light .zn-row{border:1px solid #91086844;background:#1f1f1f08}
html.light .zn-row.done{border-color:#09a95688;background:#09a95612}
html.light .zn-chk{border:2px solid #910870aa;color:#09a956}
html.light .zn-row.done .zn-chk{border-color:#09a956;background:#09a9561f}
html.light .fc-notebtn{border:1px solid #91086877;background:#1f1f1f0d;color:#1d1528}
html.light .fc-notebtn.has{border-color:#09a95688;background:#09a9561a}
html.light .fc-notebtn.has svg{color:#09a956}
html.light .note-dot{background:#09a95622;border:1px solid #09a95688;color:#09a956}
html.light .lc-filter .chip.active{background:linear-gradient(135deg,#bf0a8b,#4608a0);color:#1f1f1f}
html.light .src-toggle{color:#830891}
html.light .src-toggle em{color:#25193c;background:#1f1f1f14;border:1px solid #1f1f1f22}
html.light .fc-bar{background:linear-gradient(90deg,#ba0a27 0%,#d56b0b 30%,#b68e0a 55%,#5c9b25 78%,#26c568 100%)}
html.light .fc-bar::after{background:#f0edf5e0}
html.light .fc-dot{background:#1f1f1f;border:2px solid #e6ddf4;box-shadow:0 0 8px #1f1f1faa}
html.light .fc-barnote{color:#392956}
html.light .fc-dot.ghost{border:2px dashed #1f1f1f}
html.light .map-unzoom{border:1px solid #1f1f1f8c;background:#f1f0f7f0;color:#1f1f1f;box-shadow:0 0 12px #0bb5d277}
html.light .gsw .gsw-t3{--c:#7e6107}
html.light .gsw .gsw-t4{--c:#7e4107}
html.light .gsw .gsw-t5{--c:#91086b}
html.light .codes-letter{color:#7e6107}
html.light .codes-sep{color:#22c8b9}
html.light .codes-row{border:1px solid #1f1f1f2e;background:#f0ecf5}
html.light .codes-type{color:#261537}
html.light .codes-val{color:#7e6107;text-shadow:0 0 8px #7e610766}
html.light .chbadge{border:1px solid #22c5c8;color:#22c5c8}
html.light .chbadge.chall{border-color:#a70984;color:#910873}
html.light .chchips .chip.on{background:#22c5c8;color:#e0dbf6;border-color:#22c5c8}
html.light .wm{border:1px solid #1f1f1f33;color:#291944}
html.light .wm.on{border-color:#22c8b9;color:#089184;background:#edf3f5}
html.light .wcard{border:1px solid #1f1f1f2e;background:#f0ecf5}
html.light .wcard.on{border-color:#22c8b9aa}
html.light .wchk{border:1.5px solid #1f1f1f55;color:#e6ddf4}
html.light .wcard.on .wchk{background:#22c8b9;border-color:#22c8b9}
html.light .wmain small{color:#291944}
html.light .wmain em{color:#7e6107}
html.light .wgo{color:#1f1f1f88}
html.light .wbody{border-top:1px solid #1f1f1f1a}
html.light .wbadge.ok{background:#ecf4ef;color:#1a7f3c}
html.light .wbadge.u{background:#f4f0ea;color:#7e5207}
html.light .wbadge.m{background:#e7e5ee;color:#291944}
html.light .adslot{border:1px dashed #1f1f1f66;background:#ebe7f2;color:#291944}
html.light .adslot b{color:#1f1f1faa}
html.light #adPaid{border:1px solid #1f1f1f33}
html.light .fc-st.ok{background:#eaf5f2;border:1px solid #68daae;color:#089153}
html.light .fc-st.mid{background:#f7f3eb;border:1px solid #77590d;color:#7e5a07}
html.light .skip-link{background:#22c8b9;color:#e6ddf4}
html.light .skip-link:focus{outline:2px solid #1f1f1f}
html.light .cmp-r{border-top:1px solid #1f1f1f14}
html.light .cmp-v.win{color:#149b6e}
html.light .cmp-bar{background:#1f1f1f1c}
html.light .cmp-v.win .cmp-bar u{background:#149b6e}
html.light body.is-home #home{background:radial-gradient(ellipse at 50% 0,#e6e4ef 0,#f4f3f8 58%,#f7f7fa 100%)}
html.light .cardsets li{border-top:1px solid #1f1f1f14}
html.light .ly-btn{border:1.5px solid #1f1f1f2e;background:#1f1f1f0d}
html.light .ly-i{color:#e6ddf4}
html.light .ly-foot .chip.on{border-color:#22c8b9;color:#22c8b9}
html.light .lpin{border:2px solid #1f1f1f;color:#e6ddf4;box-shadow:0 0 8px var(--lc),0 1px 4px #f2f2f288}
html.light .lpin.done{background:#c6e5d9;color:#1f1f1f;border-color:#089155}
html.light .lpin.hl{box-shadow:0 0 0 3px #1f1f1f,0 0 16px var(--lc)}
html.light .lclu{border:2px solid #1f1f1f;color:#e6ddf4}
html.light.light .lclu{color:#e6ddf4!important}
html.light .fc-card .tip-h,html.light .tip .tip-h{color:var(--cyan,#0bbccf)}
html.light .ly-grp{border:1px solid var(--line,#1f1f1f22);background:#1f1f1f08}
html.light .ly-grp>summary::after,html.light .layers>summary::after{border-right:2.5px solid var(--cyan,#0bbccf);border-bottom:2.5px solid var(--cyan,#0bbccf)}
html.light .ly-grp:not([open])>summary{background:#0bbccf12}
html.light .ly-hint{color:var(--muted,#392956)}
html.light #mapList .map-fold{border:1.5px solid #1f1f1f22;background:#1f1f1f08}
html.light #mapList .map-fold>summary{color:#1f1f1f}
html.light #mapList .map-fold>summary em{color:#3b2b56}
html.light #mapList .map-fold>summary::after{border-right:2.5px solid var(--cyan,#0bbccf);border-bottom:2.5px solid var(--cyan,#0bbccf)}
html.light #mapList .map-fold:not([open])>summary{background:#0bbccf12}
/* retouches manuelles du thème clair */
html.light{--bg:#f3eefb;--panel:#ffffff;--panel2:#efe6fa;--pink:#c0168f;--pink2:#9b1275;--cyan:#087a8a;--violet:#5b2bb8;--gold:#8f5a00;--white:#22112f;--muted:#5a4770;--line:#b04fa066;color-scheme:light}
html.light,html.light body{background:#f3eefb;color:#22112f}
/* zones sur images : on garde l'apparence sombre (texte clair) */
html.light .home-neon-tile,html.light .home-neon-wide,html.light .home-neon-guide,html.light .pg-banner,html.light .subtile,html.light .fc-hero,html.light .hn-banner,html.light .mt-img,html.light .adv-hero{--white:#fff8ff;--muted:#d7c6e6;--pink:#ff36c5;--pink2:#ff8be3;--cyan:#25eaff;--violet:#9b57ff;--gold:#ffbd48;--line:#fa69dc80;color:#fff8ff}
/* cartes d'en-tête en dégradé sombre (style en ligne) */
html.light .card[style*="linear-gradient"]{--white:#fff8ff;--muted:#e3d6f0;--pink:#ff36c5;--pink2:#ff8be3;--cyan:#25eaff;color:#fff8ff}
html.light .card[style*="linear-gradient"] h1,html.light .card[style*="linear-gradient"] h2,html.light .card[style*="linear-gradient"] p,html.light .card[style*="linear-gradient"] .small,html.light .card[style*="linear-gradient"] strong{color:#fff8ff}
html.light .card[style*="linear-gradient"] .muted{color:#e3d6f0}
html.light .adv-hero .adv-kicker{color:#ff8be3}
html.light .adv-hero h2,html.light .adv-hero p{color:#fff8ff}
html.light .adv-hero .adv-next{color:#8ff4ff}
html.light .chip.active,html.light .primary,html.light .primary.off,html.light button.primary{color:#fff}
html.light .mt-region,html.light .mt-district,html.light .mt-town{color:#12091f}
html.light .lc-filter .chip.active{color:#fff}
html.light .chchips .chip.on{color:#0b1a24}
html.light .codes-sep{color:#0b7f78}
html.light .fc-pill.ok{color:#0c6b4a}
html.light .ly-i{color:#12091f!important}
html.light .lpin{color:#12091f!important}
html.light .lpin.done{color:#fff!important}
html.light .ly-btn{color:#281528;background:#ffffffcc;border-color:#00000026}
html.light .ly-btn.on{background:color-mix(in srgb,var(--lc) 26%,#fff);border-color:var(--lc);box-shadow:0 0 0 1px var(--lc)}
html.light .ly-t small,html.light .ly-note,html.light .layers .ly-sum{color:#4a3558}

/* LIGHT-END */

.gsw .gsw-t6{--c:#ff5d6c}
.miss-nr{margin:12px 0;padding:12px 14px;border-radius:14px;border:1.5px solid #ff5d6c99;background:#2a0f22}
.miss-nr strong{display:block;color:#ffb3bb;margin-bottom:6px}
.miss-nr p{margin:6px 0;font-size:14px;line-height:1.45}
html.light .gsw .gsw-t6{--c:#a31224}
html.light .miss-nr{background:#fdecee;border-color:#c4505d}
html.light .miss-nr strong{color:#8a1020}
.miss-bar{height:10px;border-radius:6px;background:#ffffff1f;overflow:hidden;margin-top:12px}.miss-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff5d6c,#ffb35c);transition:width .3s}
html.light .miss-bar{background:#00000018}

.gsw .gsw-t7{--c:#7ad7ff}
html.light .gsw .gsw-t7{--c:#0b5f8a}
.gsw .gsw-t8{--c:#b58cff}
html.light .gsw .gsw-t8{--c:#5b2aa8}
.tip .linkbtn[data-pick]{display:block;margin:8px 0 2px;text-align:left}
.gs-also{display:block;width:100%;margin:-4px 0 10px;padding:9px 12px;border-radius:12px;border:1.5px dashed #2ee6d6aa;background:transparent;color:#7ff3ea;font:inherit;font-size:14px;text-align:left}
html.light .gs-also{color:#0b6f66;border-color:#0b6f6699}
.gs-also[hidden]{display:none!important}
.spoilhide{display:block;width:100%;margin-top:10px;padding:9px 12px;border-radius:12px;border:1.5px dashed #ff4fd8aa;background:transparent;color:#ffd0f2;font-family:inherit;font-weight:600;font-size:13px;text-align:center}
html.light .spoilhide{color:#91086b;border-color:#a70984aa}
