/* Autour de moi — one shared visual system for every screen. */
:root{color-scheme:light;--a:#245c4b;--accent:#245c4b;--ink:#203b32;--muted:#61726a;--paper:#f5f6f1;--surface:#fff;--line:#dce4dc;--soft:#eaf0e8;--orange:#b96639;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{min-height:100%;background:var(--paper);scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.5;padding:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b96639;outline-offset:4px}svg{display:block}a{color:#245c4b;text-underline-offset:3px}h1,h2,h3,p{margin-top:0}h2{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:12px 0 22px}h3{font-size:20px;line-height:1.3}p{color:var(--muted);line-height:1.5}button{border:0;border-radius:14px;padding:12px 16px;background:var(--soft);color:var(--ink);font-weight:650;min-height:48px}button:active{transform:translateY(1px)}
.app{max-width:560px;margin:auto;padding:calc(20px + env(safe-area-inset-top)) 20px calc(110px + env(safe-area-inset-bottom));min-height:100svh;background:var(--paper)}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.logo{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800;letter-spacing:-.5px;white-space:nowrap}.logo svg{width:30px;height:30px;fill:none;stroke:#245c4b;stroke-width:1.7;flex:none}.logo i{font-style:normal;color:#245c4b}.pill{font-size:14px;color:#52745e;border:1px solid #d9e3d7;border-radius:99px;padding:5px 11px;background:#edf2e9}.screen{display:none}.screen.on{display:block;animation:appear .2s ease}.tag{display:inline-block;font-size:13px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:#53795d;background:var(--soft);padding:6px 10px;border-radius:8px;margin-bottom:4px}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:22px;margin:18px 0;box-shadow:0 5px 18px #294a3505}.small{font-size:14px;line-height:1.55;color:var(--muted)}.btn{display:block;width:100%;border:1px solid transparent;min-height:52px;background:#245c4b;color:white;border-radius:16px;padding:14px 18px;margin:12px 0;font-size:16px;font-weight:700}.btn.ghost{background:white;color:var(--ink);border-color:var(--line)}.textButton{background:transparent;color:#476651;padding:8px 0;font-size:15px;min-height:44px}.footer{text-align:center;color:#61726a;font-size:12px;margin:24px 0 0}.admSources{font-size:12px;text-align:center;line-height:1.5;color:#61726a;max-width:520px;margin:0 auto;padding:0 22px 110px}body.homeActive .admSources{display:none}
/* Invitation to explore. */
.homeHero{position:relative;overflow:hidden;isolation:isolate;border-radius:26px;background:#234d41;padding:18px 20px;color:#fff;box-shadow:0 10px 26px #214a3514}.homeLandscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right;z-index:-2}.homeHero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#173d35f5 0,#173d35df 46%,#173d3515 100%);z-index:-1}.homeEyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;color:#d7e8d2}.homeHero h1{font-size:31px;font-weight:750;line-height:1.12;letter-spacing:-1px;margin:10px 0;max-width:330px}.homeHero h1 em{font-style:normal;color:#e1ecbf}.homeHero p{font-size:16px;line-height:1.4;color:#e3eae1;max-width:290px;margin:0}.heroStamp{font-size:13px;color:#dce7cb;display:inline-block;border-top:1px solid #ffffff30;padding-top:10px}.homeLocation{display:flex;align-items:center;gap:12px;margin:20px 0 10px}.homeLocationIcon{display:grid;place-items:center;flex:none;background:#e9eee6;color:#446b51;width:42px;height:48px;border-radius:14px}.homeLocationIcon svg{width:24px;height:24px}.homeLocationText{min-width:0;flex:1}.homeLabel{display:block;color:var(--muted);font-size:13px;margin-bottom:2px}#place{display:block;font-size:16px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}#placeSub{display:block;font-size:14px;color:var(--muted);line-height:1.35;margin-top:3px}.locationActions{display:flex;gap:8px;margin-bottom:14px}.locationActions button{flex:1;font-size:14px;padding:8px;min-height:44px;border:1px solid #dbe4d9;background:#f5f6f1;color:#42654e}.homePlay{display:flex;align-items:center;justify-content:center;gap:16px;font-size:18px;background:#245c4b;box-shadow:0 5px 12px #214a3515;margin-bottom:5px}.homePlay svg{width:22px;height:22px}.homePlayNote{text-align:center;font-size:14px;margin:7px 0 20px;color:var(--muted)}.sectionHeading h2{font-size:19px;margin:0 0 12px;letter-spacing:-.4px}.homePaths{display:grid;grid-template-columns:1fr 1fr;gap:12px}.homePath{text-align:left;display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid var(--line);padding:12px 14px;border-radius:20px;gap:4px;min-width:0}.homePathIcon{display:none;place-items:center;color:#476b40;background:#edf2e7;width:34px;height:34px;border-radius:11px;margin-bottom:4px}.homePathIcon svg{width:21px;height:21px}.notebookPath .homePathIcon{color:#a9623c;background:#f8ede2}.homePath strong{font-size:16px;font-weight:700}.homePath>span:not(.homePathIcon){font-size:14px;color:var(--muted);line-height:1.4}.homeOutings{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#eaf0e5;border:1px solid #dae4d3;border-radius:20px;padding:15px;margin-top:12px}.homeOutingsIcon{flex:none;color:#4c6d3e}.homeOutingsIcon svg{width:29px;height:29px}.homeOutings>span:nth-child(2){flex:1}.homeOutings strong{font-size:16px;display:block}.homeOutings small{display:block;font-size:14px;color:#5e7258;font-weight:400}.homeOutings>svg{width:20px;height:20px}.homeAbout{background:transparent;font-size:14px;width:100%;min-height:44px;color:var(--muted);margin-top:8px}
/* Consistent navigation, with room for the iPhone home indicator. */
.bottomNav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(560px,100%);z-index:100;background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:8px 18px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bottomNav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:transparent;color:#68766c;padding:5px;min-height:54px;font-size:12px;border-radius:12px;line-height:1.3}.bottomNav svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.bottomNav button[aria-current="page"]{background:#eaf1e7;color:#245c4b;font-weight:750}.playing .bottomNav{display:none}.playing .app{padding-bottom:32px}.playing .footer,.playing .admSources{display:none}
/* Quiz: one clear question, tactile answers and explicit feedback. */
.quizExit{margin-bottom:16px}.quizMeta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}.quizMeta span:last-child{color:#245c4b}.qhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 12px}.questionCounter{display:flex;align-items:baseline;gap:5px;flex:none}.num{font-size:30px;font-weight:750;line-height:1.2;letter-spacing:-1px}.questionTotal{font-size:16px;color:#829086}.zone{font-size:12px;letter-spacing:.04em;text-align:right;color:#546d58;max-width:240px;overflow-wrap:anywhere}.progress{display:flex;gap:5px;margin:0 0 28px}.dot{height:5px;flex:1;background:#dfe6dc;border-radius:99px}.dot.on{background:#477859}#quiz h2{font-size:26px;font-weight:700;line-height:1.3;letter-spacing:-.6px;margin:0 0 22px}.answer{position:relative;display:flex;align-items:center;width:100%;min-height:64px;padding:16px 16px 16px 62px;margin:10px 0;background:#fff;color:var(--ink);border:1.5px solid #dce4da;border-radius:18px;text-align:left;font-size:17px;font-weight:550;line-height:1.4;box-shadow:0 3px 9px #214a3504}.answer:before{content:attr(data-choice);position:absolute;left:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;font-size:13px;font-weight:700;background:#f0f3ec;border-radius:9px;color:#64765d}.answer.correct{background:#e6f2e5;color:#20512f;border-color:#66a779}.answer.correct:before{background:#36764a;color:white}.answer.wrong{background:#f9e9e4;color:#853a2c;border-color:#d69b87}.answer.wrong:before{background:#a85c45;color:white}.answer:disabled{opacity:1}.feedback{margin:18px 0 12px;padding:18px;background:#eaf0e5;border:1px solid #d7e4cf;border-radius:18px;font-weight:700;font-size:16px;line-height:1.5}.feedback .small{display:block;font-weight:400;color:#4d6553;font-size:15px;margin-top:8px}.feedback a.small{font-size:13px}.feedback br{display:none}
/* Results and journal. */
.resultSummary{text-align:center;padding:26px 20px;background:linear-gradient(150deg,#fff,#eff4e9);border-color:#d9e5d3}.score{font-size:76px;font-weight:750;letter-spacing:-4px;line-height:1.2;color:#245c4b;margin-bottom:10px}.score span{font-size:30px;color:#7c927b;letter-spacing:-1px}.score span#s,.score span#dailyScore{font-size:76px;color:#245c4b;letter-spacing:-4px}.resultSummary p{margin:8px 0}.resultSummary #msg{font-size:21px;font-weight:650;color:#2b573e}#rewardBox{background:#fff8ee!important;border:1px solid #ebd9bd!important;border-radius:20px!important;padding:20px!important;margin:16px 0 22px!important;color:#614a31}#rewardBox>div{opacity:1!important;font-size:15px!important;line-height:1.5}#rewardBox>div:first-child{font-size:12px!important;letter-spacing:.06em;color:#8a673f}#rewardBox>div:nth-child(2){font-size:23px!important;letter-spacing:-.4px;line-height:1.25;margin:8px 0 12px;text-transform:none}#rewardBox>div:nth-child(4){color:#406344;font-size:16px!important}.passportStats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.passportStat{padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px}.passportStat strong{display:block;font-size:32px;line-height:1.2;color:#245c4b;font-weight:700}.passportStat span{display:block;font-size:14px;color:var(--muted);margin-top:7px}.passportHeading{font-size:20px;margin:28px 0 12px}.passportBadges{display:grid;gap:10px}.passportBadge{display:flex;align-items:center;gap:14px;padding:16px;background:white;border:1px solid var(--line);border-radius:18px}.passportBadge.unlocked{background:#eaf2e3;border-color:#cbdec1}.badgeIcon{font-size:28px;flex:none}.badgeBody{flex:1;min-width:0}.badgeBody strong{display:block;font-size:16px}.badgeBody small{display:block;font-size:14px;color:var(--muted);margin-top:3px}.badgeCount{font-size:14px;color:#567250}.badgeTrack{height:5px;background:#dfe7d9;border-radius:9px;overflow:hidden;margin-top:9px}.badgeFill{height:100%;background:#709264}.passportCity{padding:18px 0;border-bottom:1px solid var(--line)}.passportCity strong{display:block;font-size:16px;overflow-wrap:anywhere}.passportCity small{display:block;font-size:14px;color:var(--muted);margin-top:4px}.passportEmpty{font-size:16px}.carnetRewards{position:static!important;background:#245c4b!important;color:#fff!important;border:0!important;font-size:16px!important;margin-top:24px!important}.outingsTabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;background:#e9eee5;border-radius:16px;margin:16px 0 24px}.outingsTabs .btn{margin:0;border:0;min-height:44px;font-size:15px;border-radius:12px;background:transparent;color:#5c705a}.outingsTabs .btn[aria-pressed="true"]{background:#fff;color:#245c4b;box-shadow:0 2px 8px #284a3610}.visitCard{position:relative;margin:16px 0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 5px 16px #294a3505}.visitCard strong{display:block;font-size:19px;line-height:1.3;letter-spacing:-.3px}.visitCard p{font-size:15px;margin:10px 0}.visitCard a{display:block;font-size:15px;font-weight:650;padding:10px 0;color:#245c4b}.visitSave{font-size:15px;border:1px solid #d9e5d0;background:#ecf2e7;color:#46633d;margin:8px 0;min-height:44px}.visitCard small{display:block;font-size:13px;color:var(--muted);margin-top:10px}.feedback .visitCard{box-shadow:none;margin-bottom:0}.cityPicker p,#cityPicker p{font-size:16px}#cityForm label{display:block;font-size:15px;font-weight:650;margin:18px 0 8px}#cityQuery{display:block;width:100%;font-size:18px;padding:16px;background:white;border:1px solid #b9cdb5;border-radius:16px;color:var(--ink)}#cityStatus{font-size:15px;color:#5c7357;margin:20px 0}#cityResults button{display:block;width:100%;text-align:left;background:#fff;border:1px solid var(--line);padding:16px;margin:10px 0;min-height:56px;font-size:16px;border-radius:16px}
/* Share sheet and achievement dialog use the same identity. */
.share-modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:20px;background:#13281cb3;backdrop-filter:blur(7px);overflow:auto}.share-modal.on{display:flex}.share-card{position:relative;width:min(460px,100%);padding:30px 24px 22px;background:var(--paper);border-radius:28px;box-shadow:0 30px 80px #10241a33}.share-brand{font-weight:750;font-size:16px}.share-brand span{color:#245c4b}.share-pill{font-size:13px;color:#627754;margin-top:22px}.share-title{font-size:30px;font-weight:700;letter-spacing:-1px;line-height:1.15;margin:12px 0}.share-score{font-size:72px;font-weight:750;letter-spacing:-3px;color:#245c4b}.share-score small{font-size:26px;color:#7c927b}.share-message{font-size:17px;margin:8px 0 20px}.share-linkbox{background:#eaf0e4;border-radius:14px;padding:14px}.share-linkbox small{display:block;color:var(--muted);font-size:13px;margin-bottom:6px}.share-linkbox a{display:block;font-size:14px;overflow-wrap:anywhere}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.share-actions button:first-child{background:#245c4b;color:white}.share-close{position:absolute;right:14px;top:12px;border-radius:99px;font-size:24px;padding:0;width:44px;height:44px}.share-note{text-align:center;font-size:13px;color:var(--muted);margin-top:20px}.shareScoreBtn{width:100%;margin-top:14px;background:#245c4b;color:#fff;font-size:16px}.shareHint{font-size:14px;color:var(--muted);text-align:center}.challengeCard{background:#e6efdf;border:1px solid #cbddbd;border-radius:20px;padding:18px;margin-bottom:20px}.challengeCard button{display:block;width:100%;margin-top:12px;background:#245c4b;color:white}#palmaresOverlay{position:fixed;inset:0;z-index:250;background:var(--paper);padding:24px 20px calc(24px + env(safe-area-inset-bottom));overflow:auto;display:none}.palWrap{max-width:560px;margin:auto}.palTop{display:flex;justify-content:space-between;align-items:center;gap:12px}.palTop h2{font-size:28px!important;color:var(--ink);margin:8px 0!important}.palClose{background:#e9eee5;color:var(--ink);font-size:14px;min-height:44px}.palHero{background:linear-gradient(130deg,#245c4b,#3e7556);border-radius:24px;padding:24px;margin:24px 0;color:#fff}.palHero>div{font-size:16px!important}.palHero>div:nth-child(3){font-size:30px!important;line-height:1.2}.palHeroLogo{width:58px;height:58px;object-fit:cover;border-radius:16px;float:right;margin-left:12px}.palXpTrack{height:7px;background:#ffffff30;border-radius:99px;overflow:hidden;margin:18px 0 8px}.palXpFill{height:100%;background:#d3e6a1;border-radius:99px}.palGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.palCard{border:1px solid #d4e1cb;border-radius:20px;background:#edf3e6;padding:18px;color:#355838}.palCard div{font-size:14px!important}.palCard div:first-child{font-size:30px!important}.palCard div:nth-child(2){font-size:16px!important;font-weight:700}.palLock{background:#fff;color:#62726a;border-color:var(--line)}.palCities{margin-top:28px}.palCity{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.palCity b{color:#245c4b}.v918-splash{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--paper);transition:opacity .2s,visibility .2s}.v918-splash.hide{opacity:0;visibility:hidden;pointer-events:none}.v918-splash img{width:92px;height:92px;border-radius:24px;margin-bottom:18px}.v918-splash .brand{font-size:18px;font-weight:750}.v918-splash .tag{margin-top:8px;text-transform:none;background:transparent;color:var(--muted);letter-spacing:0;font-weight:400;font-size:15px}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:700px){body{background:#e8ede5}.app{box-shadow:0 0 80px #254a3010}.homeHero{padding:28px}.homeHero h1{font-size:38px}.homeHero p{max-width:300px}.top{padding-top:8px}}
@media(max-width:360px){.app{padding-left:16px;padding-right:16px}.logo{font-size:15px;gap:6px}.logo svg{width:26px}.homeHero{padding:18px}.homeHero h1{font-size:28px}.homePath{padding:13px 11px}.homePath strong{font-size:15px}.homePlay{font-size:17px}.quizMeta{flex-direction:column;gap:3px}#quiz h2{font-size:24px}.palGrid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Optional timed quiz. */
.chronoChoice{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:0 0 12px;background:#eaf0e5;border:1px solid #d8e3d2;border-radius:16px;cursor:pointer}.chronoChoice input{width:21px;height:21px;accent-color:#245c4b;flex:none;margin:0}.chronoChoice strong{font-size:15px;display:block}.chronoChoice small{display:block;font-size:14px;color:#61726a}.questionTimer{display:flex;align-items:center;gap:10px;margin:12px 0 18px;color:#245c4b}.questionTimer[hidden]{display:none}.hourglass{width:24px;height:24px;flex:none}.questionTimer>span{font-size:16px;font-weight:700;min-width:40px;font-variant-numeric:tabular-nums}.timerTrack{height:7px;flex:1;overflow:hidden;border-radius:99px;background:#dfe7d9}#timerFill{height:100%;width:100%;background:#477859;border-radius:99px;transition:width .2s linear}.questionTimer.urgent{color:#98502c}.questionTimer.urgent #timerFill{background:#b96639}.questionTimer.urgent .hourglass{animation:hourglass-turn 1.5s ease-in-out infinite}.questionTimer.expired{color:#61726a}.questionTimer.expired #timerFill{background:#b96639}.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes hourglass-turn{0%,75%{transform:rotate(0)}100%{transform:rotate(180deg)}}
