@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");:root{color-scheme:light dark;--bg:light-dark(#f8f7fa,#201f25);--panel:light-dark(#fff,#29272f);--glass:light-dark(#fffffff2,#29272ff2);--ink:light-dark(#292532,#f2eff7);--muted:light-dark(#827c8c,#aba5b8);--line:light-dark(#eeebf3,#403b49);--soft:light-dark(#f3f0f8,#35303f);--accent:light-dark(#7965b3,#aa93df);--button:light-dark(#7965b3,#8870be);--green:light-dark(#578477,#8fbfaf);--shadow:0 12px 45px #2821390d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.55}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:wait;opacity:.6}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}a{color:inherit}h1,h2,h3,p{margin:0}h2{font-size:24px;font-weight:700;letter-spacing:-1px;line-height:1.25}h3{font-size:16px}small{display:block;font-size:12px;color:var(--muted)}svg{flex-shrink:0}.desktop-rail,.echo-app{min-height:100dvh;display:flex}.desktop-rail{width:268px;flex:none;padding:38px 24px 24px;flex-direction:column;background:var(--panel);z-index:2;border-right:1px solid var(--line)}.wordmark{font-size:38px;font-weight:800;letter-spacing:-2.6px;text-decoration:none;line-height:1.2}.wordmark span{color:var(--accent)}.rail-nav{display:grid;gap:7px;margin:48px 0 24px}.rail-item{display:flex;align-items:center;gap:13px;text-align:left;padding:14px;border-radius:15px;font-weight:600;color:var(--muted)}.rail-item.active,.rail-item:hover{color:var(--accent);background:var(--soft)}.count{margin-left:auto;font-size:12px}.primary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;padding:13px 18px;background:var(--button);color:#fff;border-radius:15px;font-size:13px;font-weight:600;transition:filter .15s}.primary:hover{filter:brightness(1.08)}.rail-note{margin-top:60px;padding:0 12px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--accent)}.rail-note .eyebrow{font-size:8px;letter-spacing:1.1px}.rail-note h1{font-size:29px;letter-spacing:-1.1px;line-height:1.28;margin:15px 0 10px}.rail-note p{color:var(--muted);font-size:13px}.echo-orbits{height:160px;display:grid;place-items:center;position:relative;margin:20px 0;color:var(--accent)}.echo-orbits span{position:absolute;width:110px;height:110px;border:1px solid var(--line);border-radius:50%}.echo-orbits span:nth-child(2){width:65px;height:65px;background:var(--soft)}.echo-orbits svg{z-index:1}.profile-row{display:flex;align-items:center;gap:12px;text-align:left;margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}.profile-row>svg{margin-left:auto;color:var(--muted)}.profile-row strong{font-size:13px}.avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-weight:700;font-size:15px;flex-shrink:0}.peach{background:#edd5c6;color:#856454}.blue{background:#cbdbe1;color:#58747f}.lavender{background:#ded5ed;color:#7b659b}.green{background:#d5e3d4;color:#658563}.map-shell{position:relative;flex:1 1;min-width:0;height:100dvh;overflow:hidden;background:var(--soft)}.map-canvas{position:absolute;inset:0}.map-loading{padding:50px;text-align:center;color:var(--muted)}.map-header{position:absolute;top:26px;left:30px;z-index:2;width:380px;border-radius:24px;padding:23px 24px;background:var(--glass);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.header-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.header-meta h2{font-size:21px;margin-top:4px}.header-meta .eyebrow{font-size:9px}.demo-badge{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.demo-badge>span{width:5px;height:5px;background:var(--accent);border-radius:50%}.mobile-heading{display:none}.friends-strip{display:flex;align-items:center;gap:17px;margin-top:22px}.friend-bubble{display:grid;gap:7px;justify-items:center;padding:0;font-size:11px}.friend-bubble .avatar{outline:2px solid var(--accent);border:3px solid var(--panel);width:43px;height:43px}.friend-bubble .add-friend{outline:1px dashed var(--muted);background:var(--soft);color:var(--muted)}.strip-caption{font-size:11px;color:var(--muted);margin-left:auto;line-height:1.7}.strip-caption strong{font-weight:600;color:var(--ink)}.map-filters{position:absolute;top:240px;left:30px;z-index:2;display:flex;gap:7px}.map-filters button{min-height:38px;padding:8px 15px;background:var(--glass);border-radius:30px;font-size:12px;display:flex;align-items:center;gap:6px;box-shadow:0 2px 10px #00000005}.map-filters button.active{background:var(--ink);color:var(--panel)}.nearby-card{position:absolute;bottom:64px;left:30px;z-index:2;width:380px;background:var(--glass);padding:22px 24px 12px;border-radius:26px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.pill{background:var(--soft);padding:4px 8px;border-radius:12px;font-size:10px;color:var(--accent)}.nearby-card h2{font-size:19px;margin:9px 0 8px;letter-spacing:-.6px}.capsule-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 0}.capsule-row+.capsule-row{border-top:1px solid var(--line)}.story-thumb{height:60px;width:53px;border-radius:15px;display:grid;place-items:center;font-size:25px;flex-shrink:0}.coffee{background:linear-gradient(150deg,#e7d8c9,#a3aa92);color:#fff}.leaf{background:linear-gradient(150deg,#d9e5d2,#839983);color:#fff}.sun{background:linear-gradient(150deg,#e6d7b7,#c38f7d);color:#fff}.heart{background:linear-gradient(150deg,#dcd2ed,#a18bb8);color:#fff}.capsule-info{min-width:0;flex:1 1}.capsule-info strong{font-size:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:700}.capsule-info small{font-size:11px;margin-top:2px}.availability{display:flex;align-items:center;gap:4px;color:var(--green);font-size:10px;margin-top:4px}.availability>span{width:4px;height:4px;background:var(--green);border-radius:50%}.capsule-row>svg,.muted{color:var(--muted)}.location-button{position:absolute;right:24px;bottom:130px;z-index:2;display:grid;place-items:center;background:var(--panel);border-radius:17px;width:48px;height:48px;box-shadow:var(--shadow);color:var(--accent)}.bottom-nav{display:none}.demo-caption{position:absolute;bottom:20px;left:30px;font-size:10px;color:var(--muted);z-index:2;background:var(--glass);padding:6px 10px;border-radius:8px}.map-pin{width:52px;height:57px;display:grid;place-items:center;background:var(--panel);border:2px solid var(--accent);border-radius:21px 21px 21px 5px;box-shadow:0 5px 20px #36254820;font-size:25px;padding:0}.map-pin.is-selected{box-shadow:0 0 0 5px #937bce25,0 5px 20px #36254820}.map-pin.is-locked{width:43px;height:48px;border:1px solid var(--line);font-size:17px;filter:grayscale(1)}.user-location{width:17px;height:17px;background:#8a70bd;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 9px #7965b325}.maplibregl-ctrl-bottom-right{bottom:37px!important;right:18px!important}.maplibregl-ctrl-attrib{font:10px/1.5 sans-serif!important}.maplibregl-ctrl-group{box-shadow:var(--shadow)!important;border-radius:12px!important;overflow:hidden}.tile-error{position:absolute;z-index:3;bottom:7px;left:50%;transform:translateX(-50%);max-width:90%;padding:10px;background:var(--panel);border-radius:10px;font-size:12px}.drag-handle{display:none}.echo-dialog{border:1px solid var(--line);border-radius:28px;background:var(--panel);color:var(--ink);padding:0;max-width:calc(100% - 24px);width:440px;max-height:90dvh;box-shadow:0 25px 100px #17102340;overscroll-behavior:contain}.echo-dialog::backdrop{background:#19132142;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dialog-content{padding:30px;position:relative}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--soft);color:var(--muted)}.close-button{position:absolute;right:16px;top:16px}.dialog-content h2{margin:12px 34px 12px 0;font-size:27px}.secondary-text{color:var(--muted);font-size:12px;line-height:1.8}.upload{margin:20px 0 16px;min-height:115px;border:1px dashed var(--line);border-radius:18px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;overflow:hidden;color:var(--accent);cursor:pointer}.upload strong{font-size:12px}.upload small{font-size:10px}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload:focus-within{outline:3px solid var(--accent)}.upload img{height:140px;width:100%;object-fit:cover}.field-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;margin:18px 0 9px}.field-label>span{color:var(--muted);font-weight:400;font-size:10px}.field-label strong{color:var(--accent)}.search-input,textarea{width:100%;background:var(--soft);border:1px solid var(--line);border-radius:14px;color:var(--ink);padding:13px 14px;font-size:14px;resize:vertical}.search-input::placeholder,textarea::placeholder{color:var(--muted)}.mood-picker{display:flex;gap:8px;margin-top:9px}.mood-picker button{height:36px;width:43px;background:var(--soft);border-radius:10px;font-size:18px}.mood-picker button.active{box-shadow:inset 0 0 0 1.5px var(--accent)}input[type=range]{width:100%;accent-color:var(--accent);margin:6px 0}input[type=checkbox]{width:21px;height:21px;accent-color:var(--accent)}.range-labels{justify-content:space-between;font-size:10px}.plan-hint,.range-labels{display:flex;color:var(--muted)}.plan-hint{gap:8px;align-items:center;font-size:11px;background:var(--soft);padding:12px;border-radius:12px;margin-top:15px}.plan-hint.premium{color:var(--accent)}.segmented{display:flex;background:var(--soft);padding:4px;border-radius:13px;gap:4px}.segmented button{flex:1 1;border-radius:10px;font-size:12px;padding:9px 5px;color:var(--muted)}.segmented button.active{background:var(--panel);box-shadow:0 2px 8px #00000008;color:var(--ink)}.location-note{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin:18px 0}.full{width:100%}.error{color:light-dark(#a33b4e,#f398a9);font-size:12px;margin:12px 0}.text-button{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 0;font-size:12px;color:var(--accent)}.story-art{position:relative;min-height:350px;border-radius:21px;overflow:hidden;margin-top:21px;display:flex;flex-direction:column;justify-content:flex-end}.story-art-content{padding:25px;position:relative;z-index:1}.story-art p{white-space:pre-wrap;font-size:21px;line-height:1.6;letter-spacing:-.4px;overflow-wrap:anywhere}.story-art small{color:#fff9;font-size:10px;margin-top:24px}.story-emoji{font-size:52px;display:block;margin-bottom:30px}.story-art img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.story-art.with-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#101014e6,#10101422)}.story-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.story-footer>span{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.liked{color:var(--accent)}.locked-state{text-align:center;padding:25px 0 0}.lock-circle{width:100px;height:100px;border-radius:50%;background:var(--soft);color:var(--accent);display:grid;place-items:center;margin:10px auto 24px}.locked-state h3{font-size:24px}.locked-state p{color:var(--muted);font-size:12px;margin:12px 0 30px}.title-count{color:var(--muted);font-size:20px}.search-input{margin:20px 0 10px}.person-row{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.person-row strong{font-size:13px}.person-row small,.small-button{font-size:11px}.small-button{margin-left:auto;padding:9px 11px;background:var(--soft);color:var(--accent);border-radius:10px;display:flex;align-items:center;gap:5px;min-height:39px}.local-note{font-size:10px;color:var(--muted);line-height:1.8;margin:20px 0 0}.empty-state{text-align:center;padding:32px 0;color:var(--muted);font-size:13px}.empty-state>svg{margin-bottom:20px;color:var(--accent)}.empty-state h3{color:var(--ink);margin-bottom:10px}.empty-state .primary{margin-top:25px}.my-capsule{padding:17px 0;border-bottom:1px solid var(--line)}.my-capsule>button:first-child{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:0}.my-capsule strong{display:block;font-size:13px;overflow-wrap:anywhere}.danger{color:light-dark(#a45a65,#e6a8b1)}.profile-summary{display:flex;align-items:center;gap:15px;margin:25px 0}.large{width:65px;height:65px;font-size:24px}.plan-card{padding:18px 14px;background:var(--soft);display:flex;gap:12px;text-align:left;align-items:center;border-radius:18px;width:100%;margin-bottom:30px;color:var(--accent)}.plan-card>svg:last-child{margin-left:auto}.plan-card small{font-size:10px}.toggle-row{display:flex;align-items:center;justify-content:space-between;margin:18px 0 24px}.toggle-row small{font-size:11px}.secondary{background:var(--soft);border-radius:14px;padding:14px;font-size:12px}.plus-art{display:grid;place-items:center;color:var(--accent);height:145px;background:radial-gradient(circle,var(--soft) 0,var(--panel) 70%);margin:20px 0}.price{font-size:42px;font-weight:700;letter-spacing:-1px}.price small{font-size:11px;letter-spacing:0;font-weight:400}.feature-row{display:flex;align-items:center;gap:10px;margin:24px 0 15px;color:var(--accent);font-size:13px}.feature-row~.primary{margin-top:24px}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;background:var(--ink);color:var(--panel);border-radius:15px;padding:14px 17px;max-width:calc(100% - 28px);width:max-content;display:flex;align-items:center;gap:12px;font-size:12px;box-shadow:var(--shadow)}.toast button{display:grid;place-items:center;color:inherit;padding:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.desktop-rail{width:300px;padding-left:35px;padding-right:35px}.map-header{left:40px;top:36px}.map-filters{left:40px;top:250px}.nearby-card{left:40px;bottom:70px}}@media(max-width:900px){.desktop-rail{width:215px;padding:30px 17px}.rail-note{padding:0 7px}.rail-note h1{font-size:25px}.map-header,.nearby-card{width:335px;left:20px}.map-header{padding:20px}.strip-caption{display:none}.map-filters{left:20px}.nearby-card{padding:19px 20px 10px}.demo-badge{font-size:9px}.header-meta h2{font-size:18px}.header-meta .eyebrow{font-size:8px}}@media(max-width:650px){.desktop-rail{display:none}.map-shell{height:100dvh;min-height:640px}.map-header{top:0;left:0;width:100%;padding:calc(20px + env(safe-area-inset-top)) 24px 18px;border-radius:0;background:linear-gradient(var(--panel),var(--glass) 72%,transparent);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;pointer-events:none}.map-header button{pointer-events:auto}.mobile-heading{display:flex;align-items:center;justify-content:space-between}.mobile-heading .wordmark{font-size:32px;letter-spacing:-2px}.mobile-heading .avatar{width:36px;height:36px;font-size:13px}.header-meta{margin-top:6px}.header-meta>div{display:none}.demo-badge{font-size:10px}.friends-strip{margin-top:22px;gap:22px}.friend-bubble .avatar{width:44px;height:44px}.friend-bubble{font-size:11px}.strip-caption{display:block;margin-left:auto;font-size:10px}.map-filters{top:calc(212px + env(safe-area-inset-top));left:20px}.map-filters button{font-size:11px;min-height:34px;padding:7px 12px}.nearby-card{bottom:calc(106px + env(safe-area-inset-bottom));left:14px;right:14px;width:auto;padding:16px 19px 5px;border-radius:26px}.drag-handle{display:block;width:30px;height:4px;background:var(--line);border-radius:8px;margin:-5px auto 13px}.nearby-card h2{font-size:18px;margin:9px 0 2px}.nearby-card .capsule-row:nth-of-type(2){display:none}.capsule-row{padding:12px 0}.story-thumb{height:57px;width:51px}.capsule-info strong{font-size:12px}.bottom-nav{position:absolute;justify-content:space-around;bottom:calc(25px + env(safe-area-inset-bottom));left:14px;right:14px;height:64px;border-radius:24px;background:var(--glass);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:2;padding:0 8px}.bottom-nav,.bottom-nav button{display:flex;align-items:center}.bottom-nav button{flex-direction:column;justify-content:center;gap:4px;min-width:52px;min-height:48px;font-size:9px;color:var(--muted);padding:0}.bottom-nav button.active{color:var(--accent)}.bottom-nav .create-button{width:48px;min-width:48px;height:48px;min-height:48px;border-radius:18px;background:var(--button);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;gap:0}.location-button{right:17px;bottom:calc(304px + env(safe-area-inset-bottom));width:44px;height:44px;border-radius:16px}.maplibregl-ctrl-bottom-right{right:4px!important;bottom:0!important}.maplibregl-ctrl-group{display:none}.demo-caption{left:16px;bottom:4px;padding:0;background:none;font-size:8px}.maplibregl-ctrl-attrib{font-size:8px!important}.echo-dialog{width:100%;max-width:100%;max-height:92dvh;border-radius:28px 28px 0 0;margin:auto 0 0;border-bottom:0}.dialog-content{padding:28px 24px calc(26px + env(safe-area-inset-bottom))}.dialog-content h2{font-size:25px}.toast{bottom:105px;max-width:calc(100% - 28px);font-size:11px}.tile-error{top:270px;bottom:auto}.story-art{min-height:340px}.search-input,textarea{font-size:16px}}@media(max-width:360px){.strip-caption{display:none}.friends-strip{gap:20px}.nearby-card h2{font-size:16px}.nearby-card{padding-left:16px;padding-right:16px}.capsule-info strong{font-size:11px}.dialog-content{padding-left:20px;padding-right:20px}.demo-caption{font-size:7px}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body,html{height:100%;overflow:hidden}.echo-app{height:100dvh;min-height:0;overflow:hidden}.desktop-rail{overflow-y:auto}.desktop-rail,.map-shell{height:100%;min-height:0}.map-shell>.map-canvas{position:absolute;inset:0;width:100%;height:100%}.profile-row{flex-shrink:0}@media(min-width:651px) and (max-height:820px){.rail-note{margin-top:28px}.echo-orbits{display:none}.rail-note h1{font-size:24px}.rail-nav{margin-top:30px}.profile-row{margin-top:auto}.rail-note{margin-bottom:24px}}@media(min-width:651px) and (max-height:640px){.rail-note{display:none}}@media(max-width:650px){.map-shell{height:100%;min-height:0}}.auth-stage{height:100dvh;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:28px 18px;background:radial-gradient(ellipse at 25% 10%,var(--soft),var(--bg) 70%)}.auth-card{flex-shrink:0;margin:auto 0;width:100%;max-width:420px;padding:32px;border-radius:28px;background:var(--panel);box-shadow:var(--shadow)}.auth-card h1{font-size:28px;line-height:1.25;letter-spacing:-1px;margin:20px 0 12px}.auth-card h2{margin:20px 0}.auth-emblem{display:grid;place-items:center;width:65px;height:65px;background:var(--soft);color:var(--accent);border-radius:22px;margin-top:28px}.auth-card .segmented{margin-top:24px}.auth-card .search-input,.dialog-content input.search-input{margin:0}.auth-card .primary,.live-app .dialog-content .primary{margin-top:22px}.form-message{padding:12px;border-radius:12px;background:var(--soft);color:var(--green);font-size:12px;margin:16px 0}.demo-exit{position:fixed;z-index:5;right:18px;top:16px;box-shadow:var(--shadow);font-size:11px}.live-brand-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.live-brand-row .wordmark{font-size:28px}.live-header .text-button{margin-top:12px}.live-header h2{overflow-wrap:anywhere}.inline-search{display:flex;gap:8px;align-items:center}.inline-search input{min-width:0}.person-row>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.live-app .nearby-card>.primary{margin:14px 0}.live-app .nearby-card .section-heading .icon-button{width:30px;height:30px}@media(max-width:650px){.auth-card{padding:25px}.auth-stage{padding:20px 14px}.live-header{pointer-events:none}.live-header button{pointer-events:auto}.live-brand-row{margin-bottom:12px}.live-header .text-button{margin-top:0}.demo-exit{top:auto;bottom:calc(96px + env(safe-area-inset-bottom));right:20px;padding:7px 10px;font-size:10px}}.capsule-photo{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:18px;margin:16px 0;background:var(--soft)}.auth-card,.dialog-content{overflow-wrap:anywhere}.google-login{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px}.google-icon{flex-shrink:0;color:var(--accent)}.password-field{position:relative}.password-field .search-input{padding-right:54px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;color:var(--muted);border-radius:12px}.password-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.dialog-content input[type=file]{max-width:100%;font-size:14px}.echo-dialog{overflow-y:auto;scroll-padding-block:24px}.dialog-content input,.dialog-content textarea{scroll-margin-block:28px}.connection-status{position:fixed;z-index:20;top:calc(8px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);padding:10px 16px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);box-shadow:var(--shadow);font-size:12px;pointer-events:none}.auth-card a.primary{text-decoration:none;margin-top:24px}@media(max-width:650px){.dialog-content .segmented button,.dialog-content .small-button,.dialog-content .text-button,.icon-button{min-height:44px}.icon-button{min-width:44px}.live-app .nearby-card .section-heading .icon-button{width:44px;height:44px}.person-row{flex-wrap:wrap}.person-row>span:nth-child(2){flex:1 1;min-width:100px}.inline-search{flex-wrap:wrap}.inline-search input{flex:1 1;min-width:140px}.auth-card h1{font-size:26px}}@media(max-width:360px){.dialog-content{padding-inline:16px}.auth-card{padding:22px 18px}.map-header,.nearby-card{padding-inline:16px}}.folding-nearby{clip-path:inset(0 0 0 0 round 26px);transition:clip-path .36s cubic-bezier(.22,1,.36,1)}.folding-nearby.is-collapsed{clip-path:inset(calc(100% - 56px) calc(100% - 56px) 0 0 round 28px);pointer-events:none}.nearby-content{transition:opacity .16s ease,transform .3s ease}.is-collapsed .nearby-content{opacity:0;transform:translateY(12px);pointer-events:none}.nearby-expand{position:absolute;left:0;bottom:0;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--glass);color:var(--accent);opacity:0;pointer-events:none;transition:opacity .18s ease}.is-collapsed .nearby-expand{opacity:1;pointer-events:auto;transition-delay:.12s}.nearby-expand:focus-visible{outline:2px solid var(--accent);outline-offset:-5px}.live-app .nearby-content>.primary{margin:14px 0}@media(prefers-reduced-motion:reduce){.folding-nearby,.nearby-content,.nearby-expand{transition:none!important}}.chat-dialog{width:min(600px,calc(100% - 28px));height:min(740px,90dvh);max-height:90dvh;overflow:hidden}.chat-dialog .dialog-content{height:100%;padding:0;display:flex;flex-direction:column}.chat-dialog .close-button{z-index:3;top:18px;right:16px}.chat-window{display:flex;flex-direction:column;height:100%;min-height:0}.chat-header{display:flex;align-items:center;gap:12px;padding:18px 60px 18px 16px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-header>div{min-width:0}.chat-header h2{font-size:18px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header small{color:var(--muted)}.chat-messages{flex:1 1;min-height:0;overflow-y:auto;padding:16px;overscroll-behavior:contain;background:radial-gradient(ellipse at top,var(--soft),transparent 70%)}.chat-bubble{width:fit-content;max-width:85%;padding:11px 14px 7px;margin-bottom:8px;border-radius:18px;background:var(--soft)}.chat-bubble.outgoing{margin-left:auto;background:var(--button);color:#fff;border-bottom-right-radius:5px}.chat-bubble.incoming{border-bottom-left-radius:5px}.chat-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.chat-bubble time{display:block;text-align:right;font-size:10px;opacity:.7;margin-top:4px}.chat-date{text-align:center;color:var(--muted);font-size:11px;margin:16px 0}.chat-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--muted)}.chat-composer{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:8px;padding:12px 16px;border-top:1px solid var(--line);flex-shrink:0}.chat-composer textarea{min-height:48px;max-height:120px;margin:0;resize:none;font-size:16px}.chat-composer small{grid-column:1/-1;font-size:10px;color:var(--muted)}.chat-send{width:46px;height:46px;align-self:end;display:grid;place-items:center;background:var(--button);color:#fff;border-radius:50%}.chat-error{margin:0;padding:8px 16px;font-size:12px}.chat-older{display:block;margin:auto}@media(max-width:650px){.chat-dialog{width:100%;height:92dvh;max-height:92dvh}.chat-composer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.chat-header .avatar{width:36px;height:36px;flex-shrink:0}}.person-row.friend-with-chat{justify-content:flex-start;gap:12px}.person-row.friend-with-chat>.friend-details{flex:0 1 auto;min-width:0;max-width:45%}.friend-with-chat>.friend-chat-button{margin-left:0;margin-right:auto}.friend-with-chat>.avatar{flex-shrink:0}.chat-fab{right:24px;bottom:80px;z-index:3;width:54px;height:54px;place-items:center;border-radius:50%;background:var(--panel);color:var(--accent);box-shadow:var(--shadow);border:1px solid var(--line)}.chat-fab,.unread-badge{position:absolute;display:grid}.unread-badge{right:-5px;top:-5px;min-width:22px;height:22px;padding:0 5px;border-radius:20px;background:#ed5268;color:white;font-size:11px;font-weight:700;place-items:center;border:2px solid var(--panel)}.inbox-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px 0;border-bottom:1px solid var(--line)}.inbox-row>span:nth-child(2){flex:1 1;min-width:0}.inbox-row small,.inbox-row strong{display:block;overflow-wrap:anywhere}.inbox-row small{color:var(--muted);margin-top:4px}.inbox-count{border-radius:20px;padding:4px 7px;background:var(--accent);color:white;font-size:11px}.chat-notification{position:fixed;top:calc(16px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(360px,calc(100% - 32px));padding:12px;display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);z-index:1100}.chat-notification>button:first-child{display:flex;align-items:center;gap:12px;flex:1 1;text-align:left;min-width:0}.chat-notification small,.chat-notification strong{display:block;overflow-wrap:anywhere}.chat-notification small{font-size:11px;color:var(--muted);margin-top:4px}.chat-notification>button:last-child{min-width:32px;min-height:32px}.echo-dialog .chat-notification{position:absolute;top:8px}@media(max-width:650px){.chat-fab{right:18px;bottom:calc(370px + env(safe-area-inset-bottom))}.person-row.friend-with-chat{gap:8px}.friend-with-chat .small-button{padding-inline:10px}}.map-actions{position:absolute;right:24px;bottom:80px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:18px}.map-actions>.chat-fab,.map-actions>.location-button{position:relative;inset:auto;flex-shrink:0;margin:0}@media(max-width:650px){.map-actions{right:18px;bottom:calc(304px + env(safe-area-inset-bottom))}}.map-canvas .maplibregl-ctrl-top-right{top:16px;right:14px}.map-canvas .maplibregl-ctrl-bottom-left{left:8px;bottom:8px;max-width:calc(100% - 24px)}.map-canvas .maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib{margin:0;max-width:100%}@media(max-width:650px){.map-canvas .maplibregl-ctrl-bottom-left{bottom:0;left:4px}.demo-caption{left:auto;right:8px;bottom:32px;pointer-events:none}}.capsule-delete-button{display:flex;align-items:center;justify-content:center;gap:8px}.capsule-delete-button>svg{display:block;flex-shrink:0}.recording-tools{padding:12px;border-radius:18px;background:var(--soft);margin:12px 0;min-width:0}.recording-actions{display:flex;gap:8px;flex-wrap:wrap}.recording-tools .secondary{display:inline-flex;align-items:center;gap:7px}.recording-tools small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.round-media{width:220px;height:auto;aspect-ratio:1;max-width:100%;border-radius:50%;object-fit:cover;background:#17151c;display:block;margin:10px auto}.round-media[hidden]{display:none}.media-player audio,.recording-tools audio{width:100%;max-width:300px}.media-player{margin-top:8px;max-width:100%}.chat-window>.recording-tools{margin:0 12px 8px;flex-shrink:0;max-height:35dvh;overflow:auto}.chat-bubble:has(.media-player){min-width:min(260px,70vw)}.chat-bubble:has(.circle-player){background:transparent;color:var(--text);padding:0;min-width:0;width:240px;max-width:80%}.chat-bubble:has(.circle-player)>p{background:var(--soft);padding:10px 14px;border-radius:16px;margin-bottom:6px}.chat-bubble:has(.circle-player)>time{padding-right:12px}.media-player{margin-top:0}.voice-content{display:flex;align-items:center;gap:12px;min-width:0;padding:5px 0}.media-play-button{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border:0;border-radius:50%;background:var(--accent,#b49cda);color:#211c2d;cursor:pointer}.media-play-button:disabled{opacity:.5;cursor:wait}.media-play-button:focus-visible{outline:3px solid white;outline-offset:3px}.voice-track{position:relative;flex:1 1;min-width:0}.voice-wave{height:30px;display:flex;align-items:center;gap:2px;overflow:hidden}.voice-wave span{flex:1 1;min-width:2px;border-radius:2px;background:currentColor;opacity:.35}.voice-wave span.played{opacity:1}.voice-track small{display:block;font-size:11px;opacity:.7;margin-top:5px}.voice-seek{position:absolute;left:0;top:0;width:100%;height:30px;opacity:0;cursor:pointer;margin:0}.voice-track:focus-within{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}.circle-frame{position:relative;width:100%;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#201c2a}.circle-frame video{width:100%;height:100%;object-fit:cover;display:block}.circle-frame .media-play-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#16121a80;color:white}.circle-frame:has(video:not([src])){background:radial-gradient(circle at 30% 30%,#5f5079,#25202f)}.circle-duration{bottom:15px;left:50%;transform:translateX(-50%);background:#0007;color:white;font-size:11px;padding:3px 8px;border-radius:12px;white-space:nowrap}.circle-duration,.circle-progress{position:absolute;pointer-events:none}.circle-progress{inset:0;width:100%;height:100%;transform:rotate(-90deg)}.circle-progress circle{fill:none;stroke:#c6afea;stroke-width:1.5}.media-error{font-size:11px;padding:8px;overflow-wrap:anywhere}.circle-player{max-width:260px}.chat-bubble:has(.voice-player){width:320px;max-width:90%;min-width:0}.chat-bubble:has(.voice-player)>p{margin-bottom:6px}.chat-composer{grid-template-columns:minmax(0,1fr) 42px 46px;align-items:center}.record-mode-button{grid-column:2;grid-row:1;display:grid;place-items:center;width:42px;height:46px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}.record-mode-button:hover{color:var(--text);background:var(--soft)}.record-mode-button.is-recording{color:#f39aa8;background:#f39aa820}.record-mode-button:focus-visible{outline:2px solid currentColor}.chat-composer>.chat-send{grid-column:3;grid-row:1}.chat-composer>textarea{grid-column:1;grid-row:1}.compact-recording{grid-column:1/-1;grid-row:2;margin:0;max-height:32dvh;overflow:auto}.compact-recording[hidden]{display:none}.compact-recording .round-media{width:160px}.chat-window{position:relative}.chat-composer>.chat-send,.chat-composer>.record-mode-button{align-self:center;justify-self:center;width:44px;height:44px;margin:0;padding:0}.chat-composer{grid-template-columns:minmax(0,1fr) 44px 44px}.record-mode-button.is-recording{position:relative;z-index:9}.chat-composer>.recording-overlay{position:absolute;inset:0;z-index:5;max-height:none;margin:0;border-radius:0;background:#15111a99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;pointer-events:none;overflow:hidden;padding:28px}.recording-overlay .round-media{width:min(280px,70%);margin:0;box-shadow:0 0 0 4px #c5afe859,0 15px 60px #0005;transform:scaleX(-1)}.recording-overlay>.secondary{pointer-events:auto;background:#332b42;color:#fff}.recording-overlay .error{color:#fff}.compact-recording .circle-player{width:180px;margin:auto}.compact-recording .voice-player{max-width:320px;margin:auto}.media-player audio::-webkit-media-controls,.media-player video::-webkit-media-controls{display:none!important}.chat-header{padding-right:106px}.chat-menu-toggle{position:absolute;right:62px;top:18px;z-index:3}.chat-menu{position:absolute;right:16px;top:64px;z-index:4;background:var(--panel);border:1px solid var(--line);box-shadow:0 12px 40px #0004;border-radius:16px;padding:8px;min-width:215px}.chat-menu strong{display:block;font-size:11px;color:var(--muted);padding:9px}.chat-menu button{display:block;width:100%;padding:12px;text-align:left;border-radius:10px;font-size:13px}.chat-menu button:hover{background:var(--soft)}.chat-confirm{position:absolute;inset:0;z-index:10;display:grid;place-items:center;padding:24px;background:#15111aa6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.chat-confirm>div{width:100%;max-width:350px;padding:24px;border-radius:22px;background:var(--panel);box-shadow:0 15px 50px #0004}.chat-confirm h3{margin:0 0 12px}.chat-confirm p{font-size:13px;line-height:1.6;color:var(--muted)}.chat-confirm-actions{margin-top:20px}.chat-confirm-actions,.message-footer{display:flex;justify-content:flex-end;gap:8px}.message-footer{align-items:center;margin-top:4px}.chat-bubble .message-footer time{margin:0}.message-delete{display:grid;place-items:center;color:inherit;opacity:.65;width:28px;height:26px;border-radius:8px;padding:0}.message-delete:hover{opacity:1;background:#aaa2}.chat-bubble:has(.circle-player) .message-footer{padding-right:10px}.gesture-record{transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s,box-shadow .18s;transform-origin:center;position:relative;z-index:8}.gesture-record.is-recording{background:var(--button);color:#fff;box-shadow:0 0 0 9px #aa93df20;animation:record-breathe 1.4s ease-in-out infinite}.gesture-record.is-locked{box-shadow:0 0 0 13px #aa93df25}.record-lock-hint{position:absolute;right:76px;bottom:104px;z-index:8;display:flex;align-items:center;flex-direction:column;gap:8px;color:var(--accent);padding:12px 10px;border-radius:24px;background:var(--panel);animation:record-enter .2s ease-out;pointer-events:none}.record-lock-hint.locked{color:#fff;background:var(--button);transform:scale(1.1)}.chat-record-stage{position:absolute;inset:0;background:#15111a99;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;pointer-events:none}.chat-record-stage[hidden]{display:none}.chat-record-stage>.circle-player,.chat-record-stage>.round-media{width:min(280px,70%);max-width:280px;margin:0;animation:record-enter .22s ease-out}.chat-record-stage>.round-media{transform:scaleX(-1);box-shadow:0 0 0 4px #c5afe860,0 12px 50px #0005}.chat-record-stage .media-player{pointer-events:auto}.record-stage-status{gap:8px;color:white;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.record-stage-status,.voice-record-hud{display:flex;align-items:center;font-size:13px}.voice-record-hud{position:absolute;bottom:38px;left:30px;right:132px;z-index:7;gap:12px;background:var(--panel);min-height:46px;color:var(--accent);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;pointer-events:none}.record-dot{width:8px;height:8px;border-radius:50%;background:#ea879c;animation:record-breathe 1s infinite}.record-wave{display:flex;align-items:center;gap:3px;height:30px;overflow:hidden}.record-wave i{display:block;width:3px;border-radius:4px;background:var(--accent);transform:scaleY(.3)}.record-wave.running i{animation:voice-dance .65s ease-in-out infinite alternate}.record-locked-actions{position:absolute;bottom:115px;left:24px;right:24px;z-index:8;display:flex;align-items:center;justify-content:center;gap:18px;color:var(--ink);animation:record-enter .2s ease-out}.record-locked-actions span{background:var(--panel);padding:6px 10px;border-radius:12px;font-size:11px}.record-discard,.record-submit{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--panel);color:#d0788b;box-shadow:0 4px 20px #0002}.record-submit{background:var(--button);color:#fff}.record-inline-error{position:absolute;bottom:130px;left:20px;right:20px;z-index:10;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:14px;font-size:12px}.record-inline-error button{float:right;font-size:18px}.record-spinner{animation:record-spin 1s linear infinite}@keyframes voice-dance{to{transform:scaleY(1)}}@keyframes record-breathe{50%{opacity:.7}}@keyframes record-enter{0%{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes record-spin{to{rotate:1turn}}@media(prefers-reduced-motion:reduce){.chat-record-stage>.circle-player,.chat-record-stage>.round-media,.gesture-record,.record-dot,.record-lock-hint,.record-locked-actions,.record-spinner,.record-wave.running i{animation:none;transition:none}}.message-holdable{position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.message-selected{outline:2px solid var(--accent);outline-offset:3px}.message-context-menu{position:absolute;right:0;bottom:calc(100% + 7px);z-index:4;min-width:180px;max-width:calc(100vw - 64px);padding:5px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 35px #0004;animation:record-enter .15s ease-out}.message-context-menu button{display:block;width:100%;text-align:left;white-space:nowrap;padding:10px 12px;font-size:12px;border-radius:10px}.message-context-menu button:hover{background:var(--soft)}.message-context-menu.below{bottom:auto;top:calc(100% + 7px)}.message-selected{z-index:4}.chat-composer>.voice-record-hud{position:relative;grid-column:1;grid-row:1;inset:auto;align-self:stretch;min-width:0;min-height:48px;margin:0;padding:13px 14px;gap:10px;border:1px solid var(--line);border-radius:14px;background:var(--soft);z-index:7;overflow:hidden}.voice-record-hud .record-dot{flex-shrink:0}.voice-record-hud .record-wave{min-width:0;flex:1 1;justify-content:flex-start;gap:3px}.record-wave i{flex-shrink:0}.chat-composer:has(.record-locked-actions)>textarea,.chat-composer:has(.voice-record-hud)>textarea{visibility:hidden}.record-locked-actions{display:contents;animation:none}.record-locked-actions>.record-discard,.record-locked-actions>.record-submit{position:relative;grid-row:1;align-self:center;justify-self:center;width:44px;height:44px;z-index:9;box-shadow:none;margin:0;padding:0}.record-locked-actions>.record-discard{grid-column:2;background:var(--soft)}.record-locked-actions>.record-submit{grid-column:3}.record-locked-actions>span{position:relative;grid-column:1;grid-row:1;align-self:stretch;display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:13px 14px;background:var(--soft);color:var(--accent);border:1px solid var(--line);border-radius:14px;font-size:12px;z-index:7}.chat-composer:has(.voice-record-hud) .record-locked-actions>span{display:none}.chat-composer:has(.record-locked-actions)>.chat-send{visibility:hidden}.gesture-record.is-locked{opacity:0;pointer-events:none;animation:none;box-shadow:none}.chat-composer>.record-lock-hint{position:relative;grid-column:2;grid-row:1;right:auto;bottom:auto;justify-self:center;align-self:start;transform:translateY(calc(-100% - 20px));margin:0;width:40px;padding:10px 8px;gap:4px;box-shadow:0 3px 18px #0002}.chat-composer:has(.record-locked-actions)>small,.chat-composer:has(.voice-record-hud)>small{opacity:0}.chat-composer .record-discard:hover{background:color-mix(in srgb,var(--soft),#dc8295 12%)}.chat-composer .record-submit:hover{filter:brightness(1.1)}