/* Lost it? who else? · a clean white board, transit-map lines, one bright found-tag yellow. Lab CSP: no inline styles. */
@font-face{font-family:Fraunces;src:url(/fonts/fraunces-latin-full-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:Inter;src:url(/fonts/inter-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{--board:#FFFFFF;--rail:#F2F3F5;--line:#DADDE2;--ink:#111111;--text:#3D4148;--text2:#565B63;--tag:#FFD400;--tagDeep:#E0B800;--tagText:#111111;
--aiFill:#5B3FD1;--aiBg:#EDE6FE;--aiText:#4A2EA0;--okBg:#E4F2EA;--okText:#1D6B47;--warnBg:#FFF1D6;--warnText:#7A5300;--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--board)}
body{font-family:Inter,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;min-height:100vh}
.frame{max-width:480px;margin:0 auto;min-height:100vh;position:relative;padding-bottom:150px;overflow-x:clip}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit}
:focus-visible{outline:3px solid #2A6FDB;outline-offset:2px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;z-index:50;background:#fff;padding:8px 12px;border-radius:8px}
.top{height:56px;display:flex;align-items:center;gap:8px;padding:6px 12px 0}
.ib{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;text-decoration:none}
.ib svg{width:22px;height:22px}
.tag{height:32px;padding:0 12px 0 8px;border-radius:6px 999px 999px 6px;background:var(--tag);color:var(--tagText);display:flex;align-items:center;gap:6px;font:800 12px Inter;letter-spacing:1px;text-transform:uppercase}
.tag svg{width:18px;height:18px}
.safe{margin-left:auto;min-height:44px;display:flex;align-items:center}
.safe span{height:32px;padding:0 10px;border-radius:999px;background:var(--okBg);color:var(--okText);font:700 12px Inter;display:flex;align-items:center;gap:4px}
.safe svg{width:16px;height:16px}
.me{width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
.me span{width:32px;height:32px;border-radius:50%;background:var(--rail);display:grid;place-items:center;color:var(--text)}
.me svg{width:18px;height:18px}
.hero{padding:8px 16px 12px}
.eyebrow{font:700 12px Inter;letter-spacing:1.2px;text-transform:uppercase;color:var(--text2)}
.h1{font:600 34px/37px Fraunces;letter-spacing:-.8px;margin-top:6px}
.h1 em{font-style:italic;font-weight:500;background:linear-gradient(transparent 58%,var(--tag) 58%,var(--tag) 92%,transparent 92%);padding:0 2px}
.hero p{font:400 14px/20px Inter;color:var(--text);margin-top:8px;max-width:390px}
.h2{font:600 21px/25px Fraunces;letter-spacing:-.3px}
.pad{padding:0 16px}.mt4{margin-top:4px}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}
.row{display:flex;align-items:center;gap:8px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}
.meta{font:600 12.5px/17px Inter;color:var(--text2)}
.body{font:400 14px/20px Inter;color:var(--text)}
.src{font:600 12px/16px Inter;color:var(--text2)}
.src a.srcl{display:inline-flex;align-items:center;min-height:44px;color:var(--text);text-decoration:underline}
.sec{margin:22px 16px 8px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.sec .h2{flex:1}
.btn{min-height:44px;border-radius:14px;padding:0 16px;font:700 14px Inter;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;text-align:center}
.btn.p{background:var(--ink);color:#fff}
.btn.y{background:var(--tag);color:var(--tagText);box-shadow:inset 0 0 0 1.5px var(--tagDeep)}
.btn.g{border:1.5px solid var(--line);background:#fff;color:var(--ink)}
.btn.full{width:100%}
.btn[disabled],.btn[aria-disabled=true],.chip[disabled]{opacity:1;background:#E5E7EB;color:#374151;border-color:#D1D5DB;box-shadow:none;cursor:not-allowed}
.btn svg{width:18px;height:18px;flex:none}
.chip{min-height:44px;padding:6px 14px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font:700 13px Inter;display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;max-width:100%;text-align:left}
.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.note{margin:12px 16px 0;padding:10px 12px;border-radius:14px;background:var(--warnBg);color:var(--warnText);font:600 13px/18px Inter}
.note.ok{background:var(--okBg);color:var(--okText)}
.hide{display:none!important}
/* side switch */
.sw{margin:4px 16px 0;display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--rail);border-radius:16px;padding:4px}
.sw button{min-height:48px;border-radius:12px;font:700 14px Inter;color:var(--text);display:flex;align-items:center;justify-content:center;gap:6px}
.sw button svg{width:18px;height:18px}
.sw button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 0 rgba(0,0,0,.05),0 6px 14px -8px rgba(0,0,0,.35)}
.sw button.fnd[aria-pressed=true]{background:var(--tag)}
.cities{display:flex;gap:8px;padding:12px 16px 0}
/* item grid: big icons */
.items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 16px 0}
.item{min-height:104px;border-radius:18px;border:1.5px solid var(--line);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 6px;font:700 13px/16px Inter;text-align:center}
.item svg{width:44px;height:44px}
.item[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink);background:#FFFBE0}
/* line bullets (transit map) */
.agency{margin:16px 16px 6px;font:700 12px Inter;letter-spacing:1px;text-transform:uppercase;color:var(--text2)}
.lines{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 16px}
.ln{min-height:52px;border-radius:14px;border:1.5px solid var(--line);background:#fff;display:flex;align-items:center;gap:10px;padding:4px 10px 4px 6px;text-align:left;font:700 13.5px/17px Inter;position:relative}
.ln .nm{flex:1;min-width:0}
.blt{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font:800 13px Inter;flex:none;box-shadow:inset 0 0 0 2px rgba(0,0,0,.18)}
.blt.sm{width:28px;height:28px;font-size:12px}
.blt.lg{width:56px;height:56px;font-size:17px}
.ln[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.ftag{width:22px;height:22px;flex:none;color:var(--ink)}
.hood .blt{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 3px var(--ink)}
.legend{margin:8px 16px 0;display:flex;align-items:center;gap:6px;font:600 12.5px Inter;color:var(--text2)}
.legend .ftag{width:18px;height:18px}
/* the found tag: big count */
.board{margin:12px 16px 0;display:grid;grid-template-columns:1.25fr 1fr;gap:10px}
.ftcard{position:relative;border-radius:10px 22px 22px 10px;padding:14px 14px 14px 30px;min-height:118px}
.ftcard:before{content:"";position:absolute;left:10px;top:14px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px rgba(0,0,0,.35)}
.ftcard.found{background:var(--tag)}
.ftcard.look{background:var(--rail)}
.ftcard .k{font:700 12px Inter;letter-spacing:.8px;text-transform:uppercase}
.ftcard .v{font:600 26px/29px Fraunces;margin-top:6px}
.ftcard .s{font:600 12.5px/16px Inter;margin-top:4px;color:var(--text)}
.ftcard.found .s{color:var(--ink)}
.place{display:flex;align-items:center;gap:10px;margin:4px 16px 0}
.place b{font:700 15px Inter}
/* found cards */
.cards{display:flex;flex-direction:column;gap:10px;margin:0 16px}
.fc{position:relative;background:#fff;border:1.5px solid var(--line);border-left:10px solid var(--tag);border-radius:12px 20px 20px 12px;padding:12px 12px 12px 14px}
.fc.mine{border-left-color:var(--ink)}
.fc .hd{display:flex;gap:10px;align-items:flex-start}
.fc .ic{width:48px;height:48px;border-radius:12px;background:#FFFBE0;display:grid;place-items:center;flex:none}
.fc .ic svg{width:32px;height:32px}
.fc b{font:700 15px/19px Inter;display:block}
.fc .acts{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.fc .acts .btn{flex:1 1 auto}
.fc .mini{min-width:44px;padding:0 12px}
.pill{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 8px;border-radius:6px;background:var(--rail);font:700 12px Inter;color:var(--text)}
.pill.y{background:var(--tag);color:var(--ink)}
.empty{margin:0 16px;padding:18px;border-radius:18px;border:2px dashed var(--line);text-align:center}
/* AI tip */
.ai{margin:16px 16px 0;border:1.5px solid var(--aiFill);border-radius:18px;padding:12px;display:flex;gap:10px}
.aiav{width:40px;height:40px;border-radius:8px;background:var(--aiFill);color:#fff;display:grid;place-items:center;font:700 18px Inter;flex:none}
.aib{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 7px;border-radius:6px;background:var(--aiBg);color:var(--aiText);font:700 12px Inter;white-space:nowrap}
/* handoff */
.hand{margin:0 16px;border-radius:18px;background:var(--rail);padding:12px}
.ho{display:flex;align-items:center;gap:8px;min-height:44px;font:700 14px/18px Inter;text-decoration:none;color:var(--ink)}
.ho svg{width:16px;height:16px;flex:none}
.ho .grow{text-decoration:underline;text-underline-offset:3px}
.spot{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line)}
.spot:first-child{border-top:0}
.spot .si{width:36px;height:36px;border-radius:10px;background:#fff;display:grid;place-items:center;flex:none}
.spot .si svg{width:20px;height:20px}
.hscroll{display:flex;gap:6px;overflow-x:auto;padding:2px 16px;scrollbar-width:none}.hscroll::-webkit-scrollbar{display:none}
.hscroll .chip{flex:none;white-space:nowrap}
/* mine + meet ladder */
.match{margin:0 16px 10px;border-radius:20px;background:#fff;border:2px solid var(--ink);padding:14px}
.st{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.st:last-child{border-bottom:0}
.st .ck{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:none;font:700 13px Inter}
.st .ck.done{background:var(--ink);color:#fff}.st .ck.todo{box-shadow:inset 0 0 0 2px var(--text2);color:var(--text)}
.st b{font:700 14px Inter;display:block}
.code{display:inline-block;margin-top:6px;padding:6px 12px;border-radius:8px;background:var(--tag);font:700 22px Fraunces;letter-spacing:1px}
.opts{display:flex;flex-wrap:wrap;gap:6px}
/* dock */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:0 12px calc(8px + env(safe-area-inset-bottom));background:linear-gradient(to top,#fff 72%,rgba(255,255,255,0))}
.dock>div{max-width:456px;margin:0 auto}
.ask{min-height:56px;width:100%;border-radius:18px;background:var(--tag);box-shadow:0 10px 26px -12px rgba(0,0,0,.45);display:flex;align-items:center;gap:10px;padding:0 6px 0 10px;margin-bottom:6px;text-align:left;color:var(--ink)}
.ask .t{flex:1;min-width:0}
.ask .t b{font:600 17px/20px Fraunces;display:block}
.ask .t small{font:600 12px Inter;color:var(--ink)}
.ask .go{width:44px;height:44px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;flex:none}
.ask .go svg{width:20px;height:20px}
.ask svg.lead{width:28px;height:28px;flex:none}
.ask[disabled]{background:#E5E7EB;color:#1F2937;cursor:not-allowed}.ask[disabled] .t small{color:#374151}.ask[disabled] .go{background:#4B5563}
.tabs{height:54px;display:grid;grid-template-columns:repeat(3,1fr)}
.tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:600 12px Inter;color:var(--text2);min-height:44px;position:relative}
.tabs button svg{width:22px;height:22px}
.tabs button[aria-current=page]{color:var(--ink)}
.tabs .dot{position:absolute;top:6px;right:calc(50% - 18px);min-width:18px;height:18px;border-radius:9px;background:var(--tag);color:var(--ink);font:700 12px/18px Inter;padding:0 4px;box-shadow:0 0 0 1.5px var(--ink)}
/* sheet */
.sheet{position:fixed;inset:0;z-index:40;background:rgba(17,17,17,.45);display:flex;align-items:flex-end;justify-content:center}
.sheet .in{background:#fff;width:100%;max-width:480px;max-height:92vh;overflow:auto;overflow-x:hidden;border-radius:24px 24px 0 0;padding:16px 16px calc(24px + env(safe-area-inset-bottom))}
.sheet .grab{width:44px;height:5px;border-radius:3px;background:var(--line);margin:0 auto 10px}
.sheet h2{font:600 22px/26px Fraunces}
.sheet h2 em{font-style:italic;font-weight:500;background:linear-gradient(transparent 58%,var(--tag) 58%,var(--tag) 92%,transparent 92%)}
.sheet fieldset{border:0;margin-top:14px;min-width:0}
.sheet legend{font:700 12px Inter;letter-spacing:1px;text-transform:uppercase;color:var(--text2);margin-bottom:6px}
.sheet legend + .hint{margin:-2px 0 6px}
.hint{font:500 12.5px/17px Inter;color:var(--text2)}
.check{display:flex;gap:10px;align-items:center;min-height:44px;margin-top:14px;font:600 14px Inter}
.check input{width:24px;height:24px;accent-color:var(--ink);flex:none}
.sheet .acts{display:flex;gap:8px;margin-top:16px}
.secret{margin-top:14px;border-radius:16px;background:#FFFBE0;box-shadow:inset 0 0 0 1.5px var(--tagDeep);padding:10px 12px}
.toast{position:fixed;left:50%;bottom:140px;transform:translateX(-50%);z-index:60;background:var(--ink);color:#fff;padding:10px 14px;border-radius:12px;font:600 13.5px Inter;max-width:90vw;pointer-events:none}
.foot{padding:24px 16px 0}
.foot p{font:500 12px/17px Inter;color:var(--text2);margin-top:6px}
.foot a{font-weight:700}
.foot p a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}
ul.list{padding-left:20px}ul.list li{margin-top:8px}
