@charset "UTF-8";
:root{font-family:"Trebuchet MS",Arial,sans-serif;color:#493047;background:#f4ede7;--ink:#493047;--muted:#756574;--mint:#c9eee1;--coral:#f58e91;--lilac:#e7dcf2;--cream:#fffaf2;--line:#eadfe6;--shadow:0 12px 40px #49304712}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(circle at 15% 20%,#e0f3e7 0,transparent 35%),radial-gradient(circle at 90% 80%,#eadff5 0,transparent 40%),#f7f0e9}button,input,a{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8862a6;outline-offset:3px}input{width:100%;border:1.5px solid #c8b7c8;border-radius:15px;background:#fff;padding:14px;color:var(--ink);font-size:1rem}input[type=checkbox]{width:22px;height:22px;accent-color:#674774}a{color:#714a76}button{border:0}button.primary,.primary{background:var(--ink);color:#fff;border-radius:16px;padding:14px 18px;font-weight:bold;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:48px}button.primary.coral{background:#a83f58;color:white}button.soft{background:#f0e8f4;border-radius:15px;padding:12px 16px;min-height:44px}button.link{background:none;text-decoration:underline;padding:10px}p{line-height:1.55}h1,h2,h3,p{margin-top:0}h1{font-size:1.8rem;letter-spacing:-.7px}h2{font-size:1.5rem;letter-spacing:-.5px}h3{font-size:1.05rem}small,.small{font-size:.875rem;line-height:1.45;color:var(--muted)}.icon{width:23px;height:23px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.loading{text-align:center;padding:80px 20px}.app-shell{width:min(100%,520px);margin:24px auto;height:calc(100dvh - 48px);min-height:420px;display:flex;flex-direction:column;background:var(--cream);border:1px solid #ded1da;border-radius:32px;overflow:hidden;box-shadow:var(--shadow)}.demo-bar{text-align:center;background:#f4dbab;color:#5e421b;padding:7px 12px;font-size:.8rem;font-weight:bold;flex-shrink:0}.header{padding:21px 24px 16px;display:flex;align-items:center;gap:12px;background:var(--mint);border-bottom:1px solid #b6d9cd;flex-shrink:0}.header .brand{width:44px;height:44px}.header h1{font-size:1.5rem;margin:0}.header p{font-size:.8rem;margin:3px 0 0;color:#526b61}.header .day{margin-left:auto;background:#fff9;border:1px solid #a9cec0;border-radius:22px;padding:8px 11px;font-size:.8rem;font-weight:bold;white-space:nowrap}.scroll{flex:1;overflow:auto;overscroll-behavior:contain;min-height:0;padding:24px}.nav{display:flex;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#fffaf8;border-top:1px solid var(--line);gap:4px;flex-shrink:0}.nav button{flex:1;background:none;border-radius:16px;padding:9px 2px;font-size:.77rem;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:58px}.nav button.active{background:var(--mint);font-weight:bold}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:.7rem;font-weight:bold;color:#8a5d7a;margin-bottom:8px}.welcome{position:relative;background:#efe4f4;border:1px solid #e4d3ec;border-radius:24px;padding:20px;margin-bottom:24px;overflow:hidden;min-height:135px}.welcome h2{font-size:1.35rem;margin:0 0 8px;max-width:65%}.welcome p{font-size:.88rem;margin:0;max-width:58%}.welcome img{position:absolute;width:135px;height:135px;object-fit:contain;right:-5px;bottom:-5px;border-radius:28px}.section-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.section-label h2{font-size:1rem;margin:0}.section-label span{font-size:.8rem;color:var(--muted)}.contact{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:none;padding:15px 0;border-bottom:1px solid var(--line)}.contact:last-child{border-bottom:0}.avatar{width:54px;height:54px;border-radius:19px;flex-shrink:0;border:1px solid #d6c6d9;background-color:#eee3f1;background-image:url('personnages/avatars.png');background-size:500% auto;background-repeat:no-repeat}.avatar.zoe{background-position:0 50%}.avatar.jade{background-position:25% 50%}.avatar.sasha{background-position:50% 50%}.avatar.ines{background-position:75% 50%}.avatar.charlie{background-position:100% 50%}.contact-info{flex:1;min-width:0}.contact-info strong{display:block;font-size:1rem;margin-bottom:5px}.contact-info p{margin:0;color:var(--muted);font-size:.85rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.unread{min-width:21px;height:21px;display:grid;place-items:center;background:#a4425e;color:white;font-size:.75rem;border-radius:50%}.mission-card{background:white;border:1.5px solid #ddcfe5;border-radius:23px;overflow:hidden;margin:22px 0 0;box-shadow:0 4px 0 #e7dce7}.mission-top{background:#f0e7f6;display:flex;gap:14px;align-items:center;padding:18px}.mission-top .mission-icon{width:48px;height:48px;border-radius:16px;background:white;display:grid;place-items:center}.mission-top h3{margin:5px 0 0;font-size:1.1rem}.mission-top small{font-weight:bold;font-size:.75rem;letter-spacing:1px}.mission-body{padding:18px}.mission-body p{font-size:.9rem}.mission-body .primary{width:100%;margin-top:12px}.status{display:inline-flex;align-items:center;gap:7px;background:#f3eef5;color:#66446f;font-size:.8rem;border-radius:30px;padding:7px 10px;margin-bottom:12px}.status .icon{width:15px;height:15px}.status.good{background:#e2f4e9;color:#386b4d}.mission-body label{display:block;font-size:.85rem;font-weight:bold;margin:0 0 8px}.booknote{font-size:.78rem;color:var(--muted);margin:9px 0 0}.chat-head{display:flex;align-items:center;gap:12px;margin:-8px 0 22px}.back{background:#eee5ef;width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.chat-head h2{font-size:1.15rem;margin:0 0 4px}.chat-head p{margin:0;font-size:.8rem;color:var(--muted)}.chat-day{text-align:center;color:#8b7288;font-size:.75rem;letter-spacing:1px;margin:20px 0}.bubble{max-width:94%;background:#fff;border:1px solid var(--line);border-radius:4px 19px 19px 19px;padding:15px 17px;margin:12px 0;line-height:1.55;font-size:.95rem;box-shadow:0 3px 0 #eee6ed}.bubble.mine{background:#dcf2e7;border-color:#bfddce;border-radius:19px 4px 19px 19px;margin-left:auto;max-width:85%}.bubble .mission-card{margin-top:15px;box-shadow:none}.quick-reply{background:#fff;border:1px solid #b8d5c6;padding:12px 16px;border-radius:30px;font-size:.88rem;margin-top:8px}.page-head{display:flex;align-items:center;justify-content:space-between}.page-head h2{margin-bottom:6px}.page-intro{font-size:.9rem;color:var(--muted);margin-bottom:20px}.tabs{display:flex;background:#efe5ef;border-radius:15px;padding:4px;margin:20px 0;gap:4px}.tabs button{flex:1;padding:11px 6px;background:none;border-radius:12px;font-size:.9rem}.tabs button.active{background:white;box-shadow:0 2px 6px #49304710;font-weight:bold}.item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.item-card{padding:12px;text-align:left;background:white;border:1px solid #dfd1df;border-radius:20px;position:relative;min-width:0}.item-art{display:block;aspect-ratio:1;background-image:url('objets/collection.png');background-size:400% 300%;background-repeat:no-repeat;border-radius:14px;background-color:white}.item-art.item-0{background-position:0 0}.item-art.item-1{background-position:33.333% 0}.item-art.item-2{background-position:66.666% 0}.item-art.item-3{background-position:100% 0}.item-art.item-4{background-position:0 50%}.item-art.item-5{background-position:33.333% 50%}.item-art.item-6{background-position:66.666% 50%}.item-art.item-7{background-position:100% 50%}.item-art.item-8{background-position:0 100%}.item-art.item-9{background-position:33.333% 100%}.item-art.item-10{background-position:66.666% 100%}.item-art.item-11{background-position:100% 100%}.item-card strong{display:block;font-size:.85rem;margin:8px 0 4px}.item-card small{font-size:.75rem}.owned{position:absolute;right:9px;top:9px;width:22px;height:22px;background:#d7f0e1;border-radius:50%;display:grid;place-items:center}.owned .icon{width:14px;height:14px}.empty{text-align:center;border:1px dashed #cbb9cc;border-radius:23px;padding:30px 22px;background:#fff}.empty .icon{width:45px;height:45px;color:#987b9a;margin-bottom:15px}.empty h3{font-size:1.05rem}.empty p{color:var(--muted);font-size:.9rem;margin-bottom:0}.ticket{border:1.5px dashed #bda4ce;border-radius:20px;padding:20px;background:#eee3f5;margin-bottom:14px}.ticket h3{margin-bottom:6px}.ticket p{font-size:.85rem;margin:0;color:var(--muted)}.progress-card{background:#f2e8f6;padding:24px;border-radius:25px;border:1px solid #e0cfe9;margin:20px 0}.progress-card .numbers{font-size:3.3rem;font-weight:bold;letter-spacing:-3px;margin:4px 0;color:#684573}.progress-card .numbers span{font-size:1.35rem;color:#927493;letter-spacing:0}.bar{height:12px;border-radius:20px;background:#dfcfe5;overflow:hidden;margin:20px 0 10px}.bar-fill{height:100%;background:#8c609c;display:block;width:var(--progress,0%)}progress{width:100%;height:13px;border:0;border-radius:20px;overflow:hidden;accent-color:#8c609c}progress::-webkit-progress-bar{background:#dfcfe5}progress::-webkit-progress-value{background:#8c609c;border-radius:20px}.stats{display:flex;justify-content:space-between;align-items:center;font-size:.9rem}.stars{background:#fff4d9;border:1px solid #e7d2a4;border-radius:30px;padding:8px 13px;font-weight:bold;font-size:.85rem}.stage{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:center}.stage-mark{width:32px;height:32px;border-radius:50%;background:#ece2ef;display:grid;place-items:center;font-weight:bold;font-size:.85rem;flex-shrink:0}.stage.done .stage-mark{background:#c9eee1}.stage.current .stage-mark{background:#e2cdef;border:2px solid #927095}.stage strong{font-size:.9rem;display:block}.stage small{font-size:.8rem}.evidence{background:#fff;border:1px solid var(--line);border-radius:22px;margin-top:22px;padding:20px}.evidence-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.evidence-top h3{margin:0}.proof-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.proof{aspect-ratio:1;display:grid;place-items:center;background:#eee8f0;border-radius:12px;color:#9e8ca4}.proof.found{background:#d9efe3;color:#4b6f59}.proof .icon{width:20px}.profile-card{padding:24px;text-align:center;background:#e6f4eb;border-radius:24px;margin-bottom:22px}.profile-card img{width:64px;height:64px}.profile-card h2{margin:10px 0 6px}.profile-card p{font-size:.85rem;word-break:break-word;margin:0;color:#667565}.setting{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);width:100%;background:none;text-align:left}.setting span{flex:1}.setting small{display:block;margin-top:5px}.setting.danger{color:#a73550}.auth{padding:0 28px 30px}.auth-hero{width:100%;aspect-ratio:1.8;object-fit:cover;mix-blend-mode:multiply}.auth h2{font-size:1.75rem;margin-bottom:10px}.auth p{font-size:.95rem;color:var(--muted)}.auth label{display:block;font-size:.85rem;font-weight:bold;margin:18px 0 8px}.auth .primary{width:100%;margin-top:22px}.auth .link{display:block;margin:10px auto}.auth .notice{font-size:.78rem;color:var(--muted);margin:18px 0 0}.inline-error{background:#ffedf0;border:1px solid #e4a5b1;color:#902c46;border-radius:14px;padding:12px 14px;font-size:.9rem;line-height:1.45;margin:14px 0}.inline-error:empty{display:none}.auth-code{letter-spacing:7px;text-align:center;font-size:1.5rem}#toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:14px 20px;border-radius:17px;box-shadow:var(--shadow);width:max-content;max-width:90%;z-index:5;display:none;font-size:.9rem}#toast.show{display:block}dialog{border:1px solid #d7c6db;border-radius:26px;padding:28px;max-width:min(420px,90vw);color:var(--ink);background:var(--cream);box-shadow:0 20px 80px #49304730}dialog::backdrop{background:#35233777}dialog h2{font-size:1.3rem}dialog .primary{width:100%;margin-top:14px}dialog .item-art{width:180px;margin:auto}.muted{color:var(--muted)}.wide{width:100%}.footer-note{text-align:center;font-size:.75rem;color:#8a758a;margin:22px 0 0}.auth-scroll{padding:0}.offline-note{padding:16px;background:#f7ecd5;border-radius:16px;font-size:.9rem;margin:18px 0}.subtle{font-size:.85rem;margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){body{background:var(--cream)}.app-shell{margin:0;border:0;border-radius:0;height:100dvh;min-height:0;box-shadow:none}.header{padding-top:max(18px,env(safe-area-inset-top))}.scroll{padding:21px}.auth-scroll{padding:0}.header h1{font-size:1.35rem}.header .day{font-size:.75rem}.nav button{font-size:.72rem}}@media(max-height:650px){.header{padding-top:12px;padding-bottom:12px}.nav{padding-top:5px;padding-bottom:5px}.nav button{min-height:50px;padding:6px 2px}.welcome{min-height:110px}.welcome img{width:110px;height:110px}}@media(prefers-reduced-motion:no-preference){.scroll>*{animation:appear .2s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}
