@import url("./route-preview.css");
/* libenest.com's community design (the approved Codex sample): stays, stories and personal maps.
   Loaded on the marketplace only. Everything sits inside .cm; the map page's classes are .dx- so the hosts' explore.css keeps its own. */
:where(.cm),:where(.cm) *{box-sizing:border-box}
.cm{font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue','PingFang TC','Noto Sans TC',Arial,sans-serif;color:var(--lb-text,#101113);background:var(--lb-bg,#fff)}
:where(.cm) button,:where(.cm) input{font:inherit}
:where(.cm) button{color:inherit;cursor:pointer;background:none;border:0;padding:0}
:where(.cm) a{color:inherit;text-decoration:none}
:where(.cm) img{display:block;width:100%;height:100%;object-fit:cover}
:where(.cm) p,:where(.cm) figure,:where(.cm) h1,:where(.cm) h2,:where(.cm) h3,:where(.cm) ul,:where(.cm) ol{margin:0}
:where(.cm) ul,:where(.cm) ol{padding:0;list-style:none}
:where(.cm) h1,:where(.cm) h2,:where(.cm) h3{font-weight:700}
:where(.cm) svg{flex-shrink:0}
:where(.cm) p{line-height:1.65}
:where(.cm) [hidden]{display:none!important}
.community-home{width:calc(100% - 88px);max-width:1280px;margin:0 auto;padding:34px 0 28px}.home-intro h1{font-size:clamp(34px,3.4vw,48px);line-height:1.25;letter-spacing:-.04em;font-weight:750}.home-intro>p{font-size:17px;color:var(--lb-text-2,#647185);margin-top:8px}.home-search{display:flex;gap:16px;margin-top:22px;align-items:stretch}.home-search-input{display:flex;align-items:center;gap:13px;flex:1;min-width:0;min-height:56px;padding:4px 4px 4px 20px;border:1px solid var(--lb-line,#dde4ed);border-radius:19px;box-shadow:0 3px 10px #1c334508}.home-search-input>svg{color:var(--lb-text,#1c2636)}.home-search-input input{flex:1;min-width:0;border:0;outline:0;font-size:15px;color:var(--lb-text-2,#263349);background:none;padding:9px 0}.home-search-input input:focus-visible{outline:0}.home-search-input:focus-within{outline:2px solid #83b8ff;outline-offset:2px}.home-search-input input::placeholder{color:var(--lb-text-2,#8390a2)}.home-search-input .community-primary{min-width:132px;min-height:46px;align-self:stretch;border-radius:15px}.home-clear{padding:6px;display:grid;place-items:center}.home-city{display:flex;align-items:center;border:1px solid var(--lb-line,#e0e6ed);border-radius:18px;box-shadow:0 3px 10px #1c334508;padding:0 16px;background:var(--lb-bg,#fff)}.home-city select{font:inherit;border:0;background:none;min-width:105px;color:var(--lb-text-2,#4d5c70);min-height:46px;font-size:14px;padding-right:8px}.home-section{margin-top:29px}.home-section-heading{display:flex;align-items:center;gap:24px;margin-bottom:14px;min-width:0}.home-section-heading>div:first-child{display:flex;align-items:baseline;gap:19px}.home-section-heading h2{font-size:26px;font-weight:700;letter-spacing:-.03em;white-space:nowrap}.home-section-heading p{font-size:13px;color:var(--lb-text-2,#6d7a8e)}.home-section-heading>a{color:var(--lb-link,#006bff);display:inline-flex;align-items:center;gap:8px;white-space:nowrap;margin-left:auto;font-size:13px;font-weight:600}.home-stay-grid,.home-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.home-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-topic-tabs{display:flex;gap:6px;align-items:center;overflow:auto;scrollbar-width:none}.home-topic-tabs button{border:1px solid var(--lb-line,#e0e5ec);border-radius:30px;padding:8px 16px;font-size:12px;white-space:nowrap;color:var(--lb-text-2,#5f6d81);min-height:36px}.home-topic-tabs button.selected{background:#006bff;color:#fff;border-color:var(--lb-link,#006bff)}.home-map-section .home-section-heading{gap:18px}.home-map-section .home-section-heading h2{font-size:24px}.home-filter-button{border:1px solid var(--lb-line,#dfe5ed);border-radius:16px;padding:0 18px;display:flex;gap:8px;align-items:center;font-size:14px}.home-filter-button.selected{color:var(--lb-link,#006bff);background:var(--lb-surface,#edf5ff);border-color:#b5d6ff}.home-filter-panel{display:flex;gap:20px;align-items:center;padding:16px;margin-top:12px;background:var(--lb-surface,#f7f9fb);border-radius:14px}.home-filter-panel label{display:flex;gap:16px;align-items:center;font-size:13px}.home-filter-panel select{font:inherit;padding:7px;border:1px solid var(--lb-line,#dce3ed);border-radius:8px;background:var(--lb-elevated,#fff)}.home-filter-panel button{font-size:12px;color:var(--lb-link,#006bff)}.home-search-result{margin-top:16px;font-size:13px;color:var(--lb-text-2,#637389)}.home-search-result button{color:var(--lb-link,#006bff);margin-left:10px}.home-saved-tabs{display:flex;gap:30px;border-bottom:1px solid var(--lb-line,#e5eaf0);margin-top:24px}.home-saved-tabs button{padding:10px 10px 14px;font-size:15px;color:var(--lb-text-2,#647185);border-bottom:2px solid transparent}.home-saved-tabs button.selected{color:var(--lb-link,#006bff);border-color:var(--lb-link,#006bff)}.home-favorites,.home-library{min-height:65dvh}.home-library>.home-section>.home-topic-tabs{margin-bottom:20px}.home-map-entry{display:flex;width:fit-content;align-items:center;gap:9px;margin:30px auto 0;border:1px solid var(--lb-line,#dfe6f0);border-radius:30px;padding:12px 20px;font-size:14px;color:var(--lb-link,#006bff)}.home-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.home-place-card{position:relative;border:1px solid var(--lb-line,#e2e7ee);border-radius:13px;padding:12px}.home-place-card>a{display:flex;align-items:center;gap:15px;padding-right:35px}.home-place-card img{width:95px;height:85px;border-radius:8px}.home-place-card h3{font-size:16px}.home-place-card p{display:flex;align-items:center;gap:5px;color:var(--lb-text-2,#6d7b8e);font-size:12px;margin-top:6px}.home-place-card>.community-save{position:absolute;right:10px;top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:821px) and (max-width:1200px){.home-map-section .home-section-heading{flex-wrap:wrap;row-gap:10px}.home-map-section .home-section-heading>.home-topic-tabs{order:3;width:100%}.home-section-heading p{display:none}}
@media(max-width:820px){.community-home{width:calc(100% - 40px);padding:25px 0 25px}.home-intro h1{font-size:30px;line-height:1.3}.home-desktop-title{display:none}.home-intro>p{font-size:13px;margin-top:6px}.home-search{margin-top:16px;gap:10px;flex-wrap:wrap}.home-search-input{flex-basis:100%;min-height:44px;height:44px;padding:0 12px;border-radius:15px;gap:9px;margin-bottom:40px;position:relative}.home-search-input input{font-size:12px}.home-search-input>svg{width:19px}.home-search-input .community-primary{position:absolute;left:-1px;right:-1px;top:49px;width:calc(100% + 2px);height:35px;min-height:35px;border-radius:15px;font-size:13px;padding:6px}.home-city{border-radius:18px;box-shadow:none;padding:0 13px;min-height:36px}.home-city select{font-size:12px;min-height:34px;min-width:94px}.home-section{margin-top:22px}.home-section-heading{gap:8px;margin-bottom:10px}.home-section-heading h2{font-size:22px;white-space:normal}.home-section-heading p{display:none}.home-section-heading>a{font-size:11px;gap:5px}.home-section-heading>a svg{width:14px}.home-stay-grid,.home-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-map-grid{grid-template-columns:1fr;gap:14px}.home-map-section .home-section-heading{flex-wrap:wrap;gap:10px}.home-map-section .home-section-heading h2{font-size:22px}.home-map-section .home-section-heading>.home-topic-tabs{order:3;width:100%;gap:5px}.home-topic-tabs button{font-size:11px;padding:6px 12px;min-height:32px}.home-map-section .home-topic-tabs button{flex:1}.home-library>.home-section>.home-topic-tabs{margin-bottom:14px}.home-filter-button{padding:0 12px;font-size:12px;min-height:36px;border-radius:18px}.home-saved-tabs{margin-top:20px;gap:16px}.home-saved-tabs button{font-size:14px}.home-place-grid{grid-template-columns:1fr}.home-search-result{font-size:12px}.home-map-entry{font-size:13px;margin-top:22px}.home-section-heading .home-upload-link{font-size:11px}.home-section-heading .home-upload-link svg{display:none}}
@media(max-width:360px){.community-home{width:calc(100% - 32px)}.home-intro h1{font-size:27px}.home-stay-grid,.home-story-grid{gap:9px}.home-topic-tabs button{padding-inline:9px}.home-section-heading h2{font-size:20px}}
.stories-filters .home-region-tabs{margin-bottom:10px}.home-region-tabs button{font-weight:600}
/* Chips can empty the page; the scrollbar's place stays reserved so the layout does not jump sideways. */
html:has([data-cm-topics]){scrollbar-gutter:stable}
@media(max-width:820px){.home-discovery .community-stay-actions{display:none}.home-discovery .community-stay-image{aspect-ratio:1.9}.home-discovery .home-story-grid>.community-story:nth-of-type(n+3){display:none}.home-discovery .home-map-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc(100% - 18px);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none}.home-discovery .home-map-grid>.community-map-card{scroll-snap-align:start}.home-discovery .home-map-grid>.community-empty{grid-column:auto;width:calc(100vw - 40px)}}

.community-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;overflow:hidden;font-weight:650;color:var(--lb-text-2,#384049);line-height:1}.community-avatar img{object-fit:cover}.community-save{width:36px;height:36px;border:1px solid var(--lb-line,#e4e8ed);background:var(--lb-glass,rgba(255,255,255,.95));border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .18s,color .18s}.community-save:hover,.community-save.is-saved{color:var(--lb-link,#006bff);background:var(--lb-surface,#edf4ff)}.community-save.with-label{width:auto;padding:9px 15px;border-radius:12px;gap:8px;height:42px}.community-stay,.community-map-card{min-width:0;border:1px solid var(--lb-line,#e5e9ef);border-radius:12px;overflow:hidden;background:var(--lb-bg,#fff)}.community-stay-image{position:relative;aspect-ratio:1.8;overflow:hidden}.community-stay-image>a,.community-stay-image>button,.community-story-image>button{padding:0;display:block;width:100%;height:100%;text-align:left}.community-stay-image img,.community-story-image img{transition:transform .4s ease}.community-stay-image>a:hover img,.community-stay-image>button:hover img,.community-story-image>button:hover img{transform:scale(1.035)}.community-stay-image .community-save,.community-story-image .community-save{position:absolute;right:9px;top:9px;color:#fff;background:rgba(20,25,31,.22);border:1px solid rgba(255,255,255,.4);backdrop-filter:blur(10px)}.community-stay-image .community-save.is-saved,.community-story-image .community-save.is-saved{color:var(--lb-link,#006bff);background:var(--lb-bg,#fff)}.community-demo-label{position:absolute;left:10px;bottom:9px;border-radius:5px;background:var(--lb-bg,#fff);padding:3px 7px;font-size:10px;color:var(--lb-text-2,#485260)}.community-stay-copy{padding:10px 12px}.community-stay h3{font-size:16px;letter-spacing:-.02em;margin-bottom:7px;line-height:1.3}.community-stay p{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.7;color:var(--lb-text-2,#667182)}.community-stay-actions{display:flex;align-items:center;margin-top:10px;gap:12px;justify-content:space-between}.community-stay-actions a,.community-stay-actions button{display:inline-flex;align-items:center;gap:4px;padding:3px 0;color:var(--lb-link,#006bff);font-size:12px;font-weight:600}.community-story{min-width:0}.community-story-image{aspect-ratio:1.64;overflow:hidden;position:relative;border-radius:12px;background:var(--lb-surface,#f1f3f5)}.community-story-image video{width:100%;height:100%;object-fit:cover}.community-media-kind{position:absolute;top:10px;left:10px;display:flex;align-items:center;gap:5px;border-radius:20px;padding:5px 8px;background:rgba(19,24,28,.48);color:#fff;backdrop-filter:blur(10px);font-size:10px}.community-story-title{display:block;padding:9px 0 5px;text-align:left}.community-story-title:hover{color:var(--lb-link,#006bff)}.community-story h3{font-size:16px;font-weight:650;line-height:1.3;letter-spacing:-.01em}.community-byline{display:flex;align-items:center;gap:15px;font-size:12px;color:var(--lb-text-2,#5d6b7c)}.community-byline>a,.community-byline>span{display:flex;align-items:center;gap:6px}.community-map-cover{position:relative;height:118px;background:var(--lb-surface,#eef2f4);overflow:hidden}.community-map-cover>a{position:relative;display:block;height:100%}.community-map-cover>a>img{opacity:.85;object-position:center}.community-map-previews{position:absolute;inset:18px 55px 18px 32px;display:flex;gap:20px;align-items:center;justify-content:space-around}.community-map-previews img{width:54px;height:54px;border:3px solid var(--lb-bg,#fff);border-radius:9px;box-shadow:0 3px 12px #20374726;transform:rotate(-5deg)}.community-map-previews img:nth-child(2){transform:rotate(5deg)}.community-map-cover .community-save{position:absolute;right:10px;top:10px}.community-map-count{display:flex;gap:5px;align-items:center;position:absolute;bottom:7px;right:9px;background:var(--lb-glass,rgba(255,255,255,.9));border-radius:10px;padding:3px 7px;font-size:10px;color:var(--lb-text-2,#4c596b)}.community-map-copy{padding:10px;display:flex;gap:9px;align-items:center}.community-map-copy h3{font-size:14px;line-height:1.4}.community-map-copy p{display:flex;gap:4px;align-items:center;color:var(--lb-text-2,#687589);font-size:11px;line-height:1.5}.community-empty{text-align:center;padding:40px 20px;border:1px dashed var(--lb-line,#dae0e8);border-radius:16px;color:var(--lb-text-2,#6b7686);display:flex;flex-direction:column;align-items:center;gap:8px;grid-column:1/-1}.community-empty h3{color:var(--lb-text,#1b2430);font-size:18px}.community-empty p{font-size:14px}.community-empty a,.community-inline-link{color:var(--lb-link,#006bff)}.community-dialog{border:0;padding:0;width:min(940px,calc(100% - 36px));max-height:90dvh;overflow:auto;border-radius:22px;box-shadow:0 24px 120px #0004}.community-dialog::backdrop{background:#12213066;backdrop-filter:blur(7px)}.community-dialog-close{position:absolute;top:13px;right:13px;z-index:4;display:grid;place-items:center;width:38px;height:38px;background:var(--lb-glass,#fffffff0);border-radius:50%;box-shadow:0 1px 10px #0002}.community-story-dialog[open]{display:grid;grid-template-columns:54% 46%}.community-story-stage{position:relative;background:var(--lb-surface,#edf0f2);min-height:520px}.community-story-stage>img,.community-story-stage>video{width:100%;height:100%;max-height:80dvh;object-fit:contain}.community-media-pager{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;background:var(--lb-bg,#fff);border-radius:30px;padding:5px;box-shadow:0 1px 15px #0002}.community-media-pager button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%}.community-media-pager span{font-size:12px;white-space:nowrap}.community-dialog-copy{padding:32px;align-self:center}.community-dialog-copy h2{font-size:26px;line-height:1.4;margin:22px 0 12px}.community-dialog-copy>p{font-size:14px;color:var(--lb-text-2,#667182);line-height:1.8}.community-dialog-author{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:12px}.community-dialog-author>a{display:flex;align-items:center;gap:10px}.community-dialog-author small{display:block;margin-top:3px;font-size:11px;color:var(--lb-text-2,#677484)}.community-detail-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.community-detail-links a{display:flex;gap:6px;align-items:center;font-size:12px;padding:7px 9px;background:var(--lb-surface,#f3f6fa);border-radius:7px}.community-inline-link{display:flex;align-items:center;gap:7px;margin-top:15px;font-size:13px}.community-dialog-copy>.community-disclaimer{font-size:11px;margin-top:24px;border-top:1px solid var(--lb-line,#edf0f4);padding-top:15px;color:var(--lb-text-2,#83909d)}.community-eyebrow{font-size:12px;color:var(--lb-text-2,#6a7788)}.demo-room-image{max-height:400px}.community-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#006bff;color:#fff;border-radius:999px;padding:12px 22px;font-size:14px;font-weight:600;min-height:43px}.community-primary:hover{background:#005bdc}.community-dialog-copy .community-primary{margin-top:20px}
@media(max-width:820px){.community-stay-copy{padding:8px}.community-stay h3{font-size:13px;margin-bottom:5px}.community-stay p{font-size:11px;gap:4px;line-height:1.5}.community-stay-actions{gap:5px;margin-top:6px}.community-stay-actions a,.community-stay-actions button{font-size:10px}.community-stay-actions a svg,.community-stay-actions button svg{width:12px}.community-save{width:32px;height:32px}.community-stay-image .community-save,.community-story-image .community-save{right:6px;top:6px;width:29px;height:29px}.community-stay-image .community-save svg,.community-story-image .community-save svg{width:18px}.community-story-image{aspect-ratio:1.45;border-radius:9px}.community-story h3{font-size:13px}.community-story-title{padding:7px 0 5px}.community-byline{font-size:10px;gap:7px}.community-byline .community-avatar{width:23px!important;height:23px!important}.community-media-kind{left:7px;top:7px;padding:4px 6px}.community-media-kind span{display:none}.community-map-cover{height:106px}.community-map-copy h3{font-size:14px}.community-dialog{width:calc(100% - 24px);max-height:90dvh;border-radius:18px}.community-story-dialog[open]{display:block}.community-story-stage{min-height:0;height:290px}.community-story-stage>img,.community-story-stage>video{max-height:290px}.community-dialog-copy{padding:20px}.community-dialog-copy h2{font-size:22px;margin-top:18px}.community-dialog-copy>p{font-size:13px}.community-stay-image{aspect-ratio:1.55}.community-demo-label{left:6px;bottom:6px;font-size:9px;padding:2px 5px}}
.community-stay-image>button.community-save,.community-story-image>button.community-save{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;text-align:center;z-index:2}
@media(max-width:820px){.community-stay-image>button.community-save,.community-story-image>button.community-save{width:29px;height:29px}}
.community-share-page{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--lb-line,#dce4ef);border-radius:12px;padding:11px 17px;font-size:13px;color:var(--lb-text-2,#344760);white-space:nowrap;background:var(--lb-bg,#fff)}.community-share-page:hover{border-color:#92baff;background:var(--lb-surface,#f6f9ff)}.community-share-page.is-compact{width:44px;height:44px;padding:0}.community-share-dialog{max-width:490px}.community-share-field{display:block;margin-top:22px;color:var(--lb-text-2,#65758a);font-size:12px}.community-share-field input{display:block;width:100%;padding:12px;border:1px solid var(--lb-line,#dce4ed);border-radius:10px;font-size:13px;margin-top:8px;color:var(--lb-text-2,#25354b);background:var(--lb-surface,#f8fafc)}

.collection-page{width:calc(100% - 88px);max-width:1280px;margin:0 auto;padding:26px 0 24px;color:var(--lb-text,#111419);}
.personal-map-page{animation:none;transform:none}
.collection-page h1{font-size:34px;line-height:1.25;letter-spacing:-.035em;font-weight:750}
.collection-page h2{font-size:22px;line-height:1.35;letter-spacing:-.025em;font-weight:650}
.collection-text-link{display:inline-flex;align-items:center;gap:9px;color:var(--lb-link,#006bff);font-size:14px;font-weight:550;line-height:1.5;padding:4px 0;white-space:nowrap}
.collection-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.collection-breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--lb-text-2,#79818d);margin-bottom:22px}
.collection-breadcrumb a:hover{color:var(--lb-link,#006bff)}
.collection-library-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:4px 0 22px}
.collection-library-heading p{margin-top:9px;color:var(--lb-text-2,#6d7581);font-size:15px}
.collection-search{display:flex;align-items:center;gap:12px;border:1px solid var(--lb-line,#e1e6ed);border-radius:12px;max-width:620px;height:48px;padding:0 16px;margin-bottom:16px}
.collection-search:focus-within{border-color:#8ab8ff;box-shadow:0 0 0 3px #006bff0b}
.collection-search input{border:0;outline:0!important;width:100%;min-width:0;background:transparent;font-size:14px;color:var(--lb-text,#15191f)}
.collection-search input::placeholder{color:var(--lb-text-2,#89909a)}
.collection-search input::-webkit-search-cancel-button{appearance:none}
.collection-search button{display:grid;place-items:center;flex-shrink:0;width:28px;height:32px;padding:0;color:var(--lb-text-2,#7a8492)}
.collection-topics{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.collection-topics button{min-height:37px;padding:8px 20px;border:1px solid var(--lb-line,#e2e7ee);border-radius:999px;white-space:nowrap;font-size:13px;line-height:1.3;background:var(--lb-bg,#fff);color:var(--lb-text-2,#566173)}
.collection-topics button:hover{background:var(--lb-surface,#f6f8fb)}
.collection-topics button.is-active{background:var(--lb-surface,#eaf1ff);border-color:var(--lb-line,#eaf1ff);color:var(--lb-link,#006bff);font-weight:650}
.collection-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 14px}
.collection-section-heading>div{display:flex;align-items:baseline;gap:16px;min-width:0}
.collection-section-heading p,.collection-section-heading>span{font-size:12px;color:var(--lb-text-2,#7a8492)}
.collection-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.collection-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.collection-sample-note{font-size:10px;line-height:1.6;color:var(--lb-text-2,#8a929e);margin-top:26px}
.collection-empty{border:1px solid var(--lb-line,#e5e9ef);border-radius:15px;padding:40px 24px;text-align:center;color:var(--lb-text-2,#7b8590);min-height:220px;margin:16px 0}
.collection-empty>svg{margin:0 auto 14px}
.collection-empty h2{color:var(--lb-text,#202630);font-size:22px}
.collection-empty p{font-size:14px;margin:9px auto 17px;max-width:450px}
.collection-empty .collection-text-link{justify-content:center}
.collection-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.collection-map-heading{display:flex;gap:22px;align-items:center;margin-bottom:24px;position:relative}
.collection-heading-avatar{flex-shrink:0;display:block}
.collection-map-intro{min-width:0;flex:1}
.collection-map-intro p{color:var(--lb-text-2,#697486);font-size:14px;margin-top:5px}
.collection-author-byline{display:flex;align-items:center;width:fit-content;gap:3px;font-size:14px;color:var(--lb-link,#006bff);margin-top:7px}
.collection-author-visit{display:inline-flex;align-items:center;gap:4px}
.collection-map-save{align-self:flex-start;flex-shrink:0;margin-top:3px}
.collection-map-save>.community-save{position:static;display:flex;align-items:center;justify-content:center;gap:9px;width:auto;min-width:46px;height:44px;border:1px solid var(--lb-line,#dfe5ee);border-radius:12px;padding:10px 15px;background:var(--lb-bg,#fff);color:var(--lb-text,#1b2434);font-size:13px;box-shadow:none}
.collection-mobile-back,.collection-mobile-avatar,.collection-mobile-list-title{display:none}
.collection-map-layout{display:grid;grid-template-columns:36% minmax(0,1fr);gap:16px;align-items:stretch}
.collection-map-sidebar{min-width:0;display:flex;flex-direction:column}
.collection-map-sidebar .collection-topics{gap:8px;flex-wrap:nowrap;padding:0 8px 18px}
.collection-map-sidebar .collection-topics button{padding-inline:15px;flex:1}
.collection-place-list{display:grid;align-content:start;gap:5px;border:1px solid var(--lb-line,#edf0f4);border-radius:10px;padding:5px;flex:1}
.collection-place-list>li{min-width:0;position:relative;border-radius:8px;background:var(--lb-bg,#fff);transition:background .18s}
.collection-place-list>li.is-selected{background:var(--lb-surface,#edf4ff)}
.collection-place-list>li.is-selected:before{content:'';position:absolute;left:-6px;top:5px;bottom:5px;width:3px;border-radius:3px;background:#006bff}
.collection-place-select{display:flex;text-align:left;align-items:center;gap:16px;width:100%;padding:7px;min-height:115px}
.collection-place-photo{position:relative;width:42%;height:106px;border-radius:6px;overflow:hidden;flex-shrink:0;background:var(--lb-surface,#edf0f3)}
.collection-place-photo>span{position:absolute;left:8px;top:7px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--lb-bg,#fff);color:var(--lb-text,#121820);font-size:13px;font-weight:650;box-shadow:0 1px 4px #0000000c}
.is-selected .collection-place-photo>span{color:var(--lb-link,#006bff)}
.collection-place-copy{min-width:0;flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.collection-place-copy strong{width:100%;font-size:15px;line-height:1.45;letter-spacing:-.02em}
.collection-place-topic{background:var(--lb-surface,#f1f3f6);color:var(--lb-text-2,#647083);padding:3px 8px;border-radius:4px;font-size:11px;line-height:1.5}
.collection-place-story{display:flex;gap:7px;align-items:center;margin-left:auto;font-size:12px;color:var(--lb-link,#006bff)}
.collection-place-stay{position:absolute;left:calc(42% + 20px);bottom:15px;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--lb-link,#006bff)}
.collection-place-list>li:has(.collection-place-stay) .collection-place-copy{padding-bottom:25px}
.collection-no-places{display:flex;align-items:center;flex-direction:column;justify-content:center;padding:35px 20px;gap:12px;flex:1;min-height:230px;background:var(--lb-surface,#f8f9fb);border-radius:10px;color:var(--lb-text-2,#7a8491);text-align:center;font-size:14px}
.collection-no-places button{color:var(--lb-link,#006bff);font-size:13px}
.collection-map-panel{position:relative;min-width:0;height:570px;overflow:hidden;border-radius:10px;background:var(--lb-surface,#eef1ee);isolation:isolate}
.collection-map-panel .discovery-map{height:100%;min-height:100%}
.collection-map-panel .discovery-map-controls{top:auto;bottom:155px;right:16px}
.collection-map-panel .discovery-map-hint{bottom:12px}
.collection-map-panel .discovery-map .maplibregl-ctrl-bottom-right{bottom:0}
.collection-selected-card{position:absolute;z-index:6;bottom:30px;left:12px;right:12px;padding:12px;display:grid;grid-template-columns:95px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--lb-line,#e6e8ec);border-radius:14px;box-shadow:0 5px 18px #27344512;background:var(--lb-bg,#fff)}
.collection-selected-close{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:26px;height:26px;color:var(--lb-text-2,#374152);padding:0;border-radius:50%}
.collection-selected-close:hover{background:var(--lb-surface,#f0f3f7)}
.collection-selected-photo{height:98px;width:95px;object-fit:cover;border-radius:6px}
.collection-selected-copy{min-width:0;padding-right:7px}
.collection-selected-copy h2{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:16px;line-height:1.4;letter-spacing:-.02em;padding-right:15px}
.collection-selected-copy h2>span{background:var(--lb-surface,#f1f3f7);border-radius:4px;padding:3px 7px;color:var(--lb-text-2,#6b7586);font-size:10px;font-weight:400}
.collection-selected-copy>p{font-size:12px;line-height:1.6;color:var(--lb-text-2,#6b7586);margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collection-selected-authors{display:flex;align-items:center;gap:9px;margin-top:8px}
.collection-selected-authors>span{display:flex;padding-left:0}
.collection-selected-authors>span>*+*{margin-left:-7px;box-shadow:0 0 0 2px var(--lb-bg,#fff)}
.collection-selected-authors small{font-size:10px;color:var(--lb-text-2,#7a8595)}
.collection-selected-actions{align-self:end;display:flex;gap:8px}
.collection-place-primary{display:flex;align-items:center;justify-content:center;gap:8px;background:#006bff;color:#fff;font-size:12px;white-space:nowrap;border-radius:9px;padding:11px 13px;line-height:1.4}
.collection-place-primary:hover{background:#005ce1}
.collection-place-nearby,.collection-sheet-handle{display:none}
.collection-related-stories,.collection-related-stays{margin-top:28px;scroll-margin-top:90px}
.collection-story-disclosure{margin-top:15px}
.collection-story-disclosure>summary{display:flex;align-items:center;gap:9px;width:fit-content;padding:6px 0;color:var(--lb-text-2,#65738a);font-size:12px;list-style:none;cursor:pointer}
.collection-story-disclosure>summary::-webkit-details-marker{display:none}
.collection-story-disclosure[open]>summary{color:var(--lb-link,#006bff)}
.collection-story-disclosure[open]>summary>svg{transform:rotate(180deg)}
.collection-story-disclosure .collection-related-stories{margin-top:13px;margin-bottom:24px}
.collection-story-disclosure+.collection-related-stays{margin-top:17px}
.collection-related-stories .collection-story-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.collection-inline-empty{padding:22px;border:1px solid var(--lb-line,#e8ecf1);border-radius:10px;font-size:14px;color:var(--lb-text-2,#75808e)}
.collection-inline-empty>a{color:var(--lb-link,#006bff);display:inline-flex;align-items:center;gap:7px;margin-left:12px}
.collection-stay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.collection-stay-grid>article{display:grid;grid-template-columns:148px minmax(0,1fr);border:1px solid var(--lb-line,#e6ebf2);border-radius:10px;overflow:hidden;gap:14px;align-items:center}
.collection-stay-grid>article>:first-child{height:96px;border-radius:0;aspect-ratio:auto}
.collection-stay-grid>article>:last-child{padding:8px 12px 8px 0}
.collection-stay-grid .community-stay h3{font-size:14px;margin-bottom:4px}
.collection-stay-grid .community-stay p{font-size:11px}
.collection-stay-grid .community-stay-copy>p:nth-of-type(2){display:none}
.collection-stay-grid .community-stay-actions{margin-top:5px}
.collection-stay-grid .community-stay-actions a{font-size:11px}
.collection-author-heading{display:flex;gap:28px;align-items:center;margin:0 0 22px}
.collection-author-heading>div:last-child{min-width:0;flex:1}
.collection-author-heading h1{font-size:39px;line-height:1.2;margin-bottom:8px}
.collection-author-heading p{font-size:15px;color:var(--lb-text-2,#647084);margin-top:4px}
.collection-author-heading .collection-author-role{font-size:17px;color:var(--lb-text-2,#455268)}
.collection-author-location{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--lb-text-2,#5d6a80);margin-top:8px}
.collection-local-note{font-size:13px;color:var(--lb-text-2,#6e7b8d);margin:0 0 17px}
.collection-author-tabs{display:flex;gap:28px;border-bottom:1px solid var(--lb-line,#e4e9f0);margin-bottom:20px}
.collection-author-tabs>button{font-size:17px;color:var(--lb-text-2,#657189);min-width:76px;min-height:48px;padding:12px 20px;border-bottom:2px solid transparent;margin-bottom:-1px}
.collection-author-tabs>button.is-active{color:var(--lb-link,#006bff);border-bottom-color:var(--lb-link,#006bff);font-weight:650}
.collection-author-content{outline-offset:6px}
.collection-author-content>.collection-section-heading:first-child{margin-top:0}
.collection-author-map-preview{margin-top:30px}
.collection-author-stays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.collection-author-stays>div{border-radius:10px;overflow:hidden;position:relative}
.collection-author-stays>div>article>:first-child{border-radius:0}
.collection-author-stays>div>article>:last-child{padding-inline:14px}
@media(min-width:1400px){.collection-map-panel{height:590px}.collection-place-photo{height:116px}.collection-place-select{min-height:130px}.collection-place-copy strong{font-size:16px}}
@media(min-width:821px) and (max-width:1100px){.collection-page{width:calc(100% - 56px)}.collection-map-layout{grid-template-columns:38% minmax(0,1fr);gap:12px}.collection-map-sidebar .collection-topics{gap:5px;padding-inline:0}.collection-map-sidebar .collection-topics button{padding-inline:9px}.collection-place-select{gap:10px}.collection-place-photo{height:95px;width:38%}.collection-place-stay{left:calc(38% + 15px)}.collection-selected-card{grid-template-columns:70px minmax(0,1fr);gap:10px}.collection-selected-photo{width:70px;height:86px}.collection-selected-actions{grid-column:2;justify-content:flex-end}.collection-selected-copy h2{font-size:14px}.collection-map-panel .discovery-map-controls{bottom:205px}.collection-section-heading>div{display:block}.collection-section-heading p{margin-top:5px}.collection-stay-grid>article{grid-template-columns:130px minmax(0,1fr);gap:12px}}
@media(max-width:820px){
 .collection-page{width:calc(100% - 40px);padding:20px 0 30px}.collection-page h1{font-size:27px}.collection-page h2{font-size:20px}.collection-breadcrumb{font-size:11px;margin-bottom:17px}.collection-library-heading{display:block;margin-bottom:18px}.collection-library-heading p{font-size:13px;max-width:330px;line-height:1.65}.collection-library-heading>.collection-text-link{margin-top:8px;font-size:12px}.collection-search{height:46px;padding-inline:14px;gap:10px;margin-bottom:13px}.collection-search input{font-size:13px}.collection-topics{gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 0}.collection-topics button{min-height:35px;font-size:12px;padding:8px 17px}.collection-section-heading{gap:10px;margin:20px 0 12px;align-items:flex-start}.collection-section-heading>div{display:block}.collection-section-heading p{font-size:12px;margin-top:3px}.collection-section-heading>span{font-size:11px;white-space:nowrap;padding-top:5px}.collection-section-heading>.collection-text-link{font-size:11px}.collection-map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.collection-story-grid,.collection-related-stories .collection-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.collection-sample-note{font-size:9px;margin-top:22px}.collection-empty{padding:32px 20px;min-height:210px}.collection-empty h2{font-size:20px}.collection-empty p{font-size:13px}.collection-text-link{font-size:13px}
 .personal-map-page{padding-top:17px}.personal-map-page>.collection-breadcrumb{display:none}.collection-map-heading{gap:10px;align-items:flex-start;flex-wrap:wrap;margin:0 0 12px}.collection-mobile-back{display:grid;place-items:center;flex-shrink:0;width:22px;height:30px}.collection-heading-avatar{display:none}.collection-map-intro{flex-basis:calc(100% - 78px)}.collection-map-intro h1{font-size:21px;line-height:1.4;min-height:30px;padding-right:30px}.collection-map-intro>p{display:none}.collection-map-save{position:absolute;top:-3px;right:-4px;margin:0}.collection-map-save>.community-save{width:37px;height:37px;min-width:37px;padding:8px;border-radius:10px;font-size:0;gap:0}.collection-map-save>.community-save svg{width:20px;height:20px}.collection-map-save>.community-save span{display:none}.collection-author-byline{font-size:13px;color:var(--lb-text-2,#53627b);gap:10px;margin-top:12px;margin-left:-32px}.collection-mobile-avatar{display:block}.collection-author-visit{font-size:0;gap:0}.collection-author-visit svg{width:13px;height:13px;margin-left:3px}.collection-map-layout{display:flex;flex-direction:column;gap:0}.collection-map-sidebar{display:contents}.collection-map-sidebar .collection-topics{order:0;padding:1px 0 13px;gap:7px;margin:0;overflow:visible}.collection-map-sidebar .collection-topics button{font-size:12px;padding-inline:10px;min-height:35px}.collection-map-panel{order:1;height:calc(100svh - 245px);min-height:430px;max-height:650px;margin-inline:-20px;border-radius:0;overflow:visible;isolation:auto}.collection-map-panel .discovery-map{min-height:0;overflow:hidden}.collection-map-panel .discovery-map-controls{bottom:225px;top:auto;right:16px}.collection-map-panel .discovery-map-hint{top:12px;bottom:auto}.collection-map-panel .discovery-map .maplibregl-ctrl-bottom-right{bottom:0}.collection-map-panel .discovery-map-status{padding-bottom:170px}.collection-selected-card{display:none;position:fixed;z-index:35;left:10px;right:10px;bottom:94px;border-radius:20px;padding:29px 16px 13px;grid-template-columns:80px minmax(0,1fr);gap:10px 13px;box-shadow:0 -3px 20px #172c4410;max-height:calc(100dvh - 180px);overflow:auto}.collection-selected-card.is-in-view{display:grid}.collection-sheet-handle{display:flex;position:absolute;top:3px;left:42px;right:42px;width:calc(100% - 84px);height:25px;align-items:center;justify-content:center;color:var(--lb-text-2,#9da7b6);gap:10px;padding:0}.collection-sheet-handle>span{width:33px;height:4px;border-radius:5px;background:var(--lb-surface-2,#c1c7d1)}.collection-sheet-handle>svg{width:12px;height:12px}.collection-selected-close{top:12px;right:10px}.collection-selected-photo{width:80px;height:85px;border-radius:6px}.collection-selected-copy{padding:0 9px 0 0}.collection-selected-copy h2{font-size:15px;line-height:1.4;gap:5px;padding:0;display:block}.collection-selected-copy h2>span{display:table;font-size:10px;margin-top:5px}.collection-selected-copy>p{font-size:11px;margin-top:6px;line-height:1.55;-webkit-line-clamp:2}.collection-selected-authors{display:none}.collection-selected-actions{grid-column:1 / -1;display:flex;gap:9px;width:100%;margin-top:2px}.collection-place-primary{flex:1;min-height:39px;font-size:13px;border-radius:10px;padding:9px 12px}.collection-place-nearby{display:flex;flex:1;align-items:center;justify-content:center;gap:8px;border:1px solid var(--lb-line,#e1e6ee);border-radius:10px;min-height:39px;font-size:13px;color:var(--lb-text-2,#25324a);padding:8px}.collection-selected-card.is-collapsed{grid-template-columns:minmax(0,1fr);padding:27px 40px 12px 16px}.collection-selected-card.is-collapsed .collection-selected-photo,.collection-selected-card.is-collapsed .collection-selected-copy h2>span,.collection-selected-card.is-collapsed .collection-selected-copy>p,.collection-selected-card.is-collapsed .collection-selected-actions{display:none}.collection-selected-card.is-collapsed .collection-selected-copy h2{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-mobile-list-title{order:2;display:flex;align-items:center;justify-content:space-between;margin:23px 0 12px}.collection-mobile-list-title h2{font-size:20px}.collection-mobile-list-title>span{font-size:11px;color:var(--lb-text-2,#7b8798)}.collection-place-list,.collection-no-places{order:3}.collection-place-list{gap:4px}.collection-place-select{gap:15px;min-height:100px;padding:6px}.collection-place-photo{width:106px;height:85px}.collection-place-copy strong{font-size:14px}.collection-place-story{font-size:11px}.collection-place-stay{left:127px;bottom:10px}.collection-place-photo>span{width:24px;height:24px;font-size:12px}.collection-place-list>li:has(.collection-place-stay) .collection-place-copy{padding-bottom:20px}.collection-related-stories,.collection-related-stays{margin-top:25px}.collection-inline-empty{font-size:13px;padding:18px}.collection-inline-empty>a{margin:8px 0 0;display:flex}.collection-stay-grid{grid-template-columns:1fr;gap:13px}.collection-stay-grid>article{grid-template-columns:112px minmax(0,1fr);gap:13px}.collection-stay-grid>article>:first-child{height:130px}.collection-stay-grid>article>:last-child{padding:9px 9px 9px 0}
 .author-page>.collection-breadcrumb{display:none}.collection-author-heading{align-items:flex-start;gap:18px;margin:4px 0 20px}.collection-author-heading>:first-child{width:76px!important;height:76px!important;min-width:76px;font-size:35px!important}.collection-author-heading h1{font-size:25px;margin-bottom:7px;line-height:1.15}.collection-author-heading p{font-size:13px;line-height:1.55;margin-top:4px}.collection-author-heading .collection-author-role{font-size:14px}.collection-author-location{font-size:12px;margin-top:7px;gap:6px}.collection-author-location svg{width:15px;height:15px}.collection-author-tabs{gap:0;margin:0 -20px 20px;padding:0 20px}.collection-author-tabs>button{flex:1;min-height:44px;font-size:16px;padding:11px 15px}.collection-author-map-preview{margin-top:26px}.collection-author-stays{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.collection-author-stays>div{padding-bottom:10px}.collection-author-stays>div>article>:last-child{padding-inline:11px}.collection-stay-map-link{padding:9px 12px 0;font-size:12px}.collection-local-note{font-size:12px;line-height:1.6}.collection-author-content>.collection-section-heading:first-child{margin-top:0}
}
@media(max-width:540px){.collection-map-grid{grid-template-columns:1fr;gap:19px}.collection-author-stays{grid-template-columns:1fr;gap:20px}.collection-author-stays>div>article>:first-child{aspect-ratio:1.85}.collection-author-heading{gap:15px}.collection-author-heading h1{font-size:23px}.collection-author-heading>:first-child{width:72px!important;height:72px!important;min-width:72px}.author-page.is-host .collection-author-heading h1{font-size:22px;letter-spacing:-.035em}.collection-author-heading .collection-author-location{display:none}.collection-author-content>.collection-section-heading>span{display:none}.collection-related-stories .collection-section-heading{display:block}.collection-related-stories .collection-section-heading>.collection-text-link{margin-top:6px}}
@media(max-width:370px){.collection-page{width:calc(100% - 36px)}.collection-map-panel{margin-inline:-18px}.collection-page h1{font-size:25px}.collection-map-intro h1{font-size:18px;padding-right:28px}.collection-map-sidebar .collection-topics{gap:5px}.collection-map-sidebar .collection-topics button{font-size:11px;padding-inline:8px}.collection-place-photo{width:90px}.collection-place-copy strong{font-size:13px}.collection-place-stay{left:111px}.collection-selected-card{left:7px;right:7px;padding-inline:12px;gap:10px;grid-template-columns:69px minmax(0,1fr)}.collection-selected-photo{width:69px;height:81px}.collection-selected-copy h2{font-size:14px}.collection-selected-copy>p{font-size:10px}.collection-place-primary,.collection-place-nearby{font-size:12px}.collection-author-heading{gap:12px}.collection-author-heading>:first-child{width:60px!important;height:60px!important;min-width:60px}.collection-author-heading h1,.author-page.is-host .collection-author-heading h1{font-size:21px}.collection-author-tabs{margin-inline:-18px;padding-inline:18px}}
@media(max-width:820px){.personal-map-page{animation:none;transform:none}.collection-selected-card{display:grid;position:absolute;bottom:calc(84px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.collection-page{animation:none}.collection-place-list>li{transition:none}}
.collection-map-save{display:flex;gap:12px}.collection-author-share{margin-left:auto}.collection-author-heading .collection-author-share{flex-shrink:0}.collection-author-heading>div{flex:1}
@media(max-width:820px){.collection-map-share,.collection-author-share{display:none}}

.discovery-map{position:relative;height:100%;min-height:480px;min-width:0;isolation:isolate;overflow:hidden;background:var(--lb-surface,#f0f2ef)}
.discovery-map .discovery-map-canvas{position:absolute;inset:0;width:100%;height:100%}
/* 探索地圖's globe (community-map.js) hangs in a pale sky, light enough for the header and the bottom bar over it to stay
   readable; close to the ground the map covers it all. */
.discovery-map .discovery-map-canvas.is-globe{background:#000}
/* A marker on the far side of the globe: MapLibre only fades it to 0.2, so it showed through the earth and could be tapped there. */
.discovery-map .maplibregl-marker-covered{visibility:hidden;pointer-events:none}
.discovery-map-canvas .maplibregl-canvas{outline-offset:-5px}
.discovery-map-location{position:absolute;top:20px;left:20px;display:flex;align-items:center;gap:8px;border:1px solid var(--lb-line,#e5e8ee);background:var(--lb-glass,#ffffffed);border-radius:999px;padding:11px 15px;font-size:13px;box-shadow:0 3px 14px #263b5010;pointer-events:none}
.discovery-map-location>svg{color:var(--lb-link,#075bff)}
.discovery-map-count{padding-left:10px;margin-left:3px;border-left:1px solid var(--lb-line,#dfe3ea);color:var(--lb-text-2,#687386);font-size:12px}
.discovery-marker-anchor{z-index:1}
.discovery-marker-anchor:has(.is-selected){z-index:3}
.discovery-marker-anchor:focus-within{z-index:4}
.discovery-map-pin{position:relative;display:grid;place-items:center;width:53px;height:53px;padding:0;border:3px solid #fff;border-radius:50%;background:var(--lb-bg,#fff);color:var(--lb-text-2,#425271);box-shadow:0 2px 9px #253b4240;transition:box-shadow .18s;touch-action:manipulation}
.discovery-pin-video{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:18px;height:18px;border:1px solid #fff;border-radius:50%;background:#24292f;color:#fff;font-size:10px}
.discovery-map-pin>img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.discovery-pin-initial{font-size:20px;font-weight:650;line-height:1}
.discovery-map-pin:hover{box-shadow:0 0 0 2px var(--lb-link,#075bff),0 2px 12px #075bff38}
.discovery-map-pin.is-selected{width:63px;height:63px;border-width:4px;box-shadow:0 0 0 3px var(--lb-link,#075bff),0 4px 16px #075bff40}
.discovery-pin-category{position:absolute;right:-3px;bottom:-3px;width:20px;height:20px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#075bff;color:#fff}
.discovery-map-controls{position:absolute;z-index:5;right:19px;top:20px;display:flex;flex-direction:column;gap:7px}
.discovery-map-controls button{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--lb-line,#e3e7ec);border-radius:50%;background:var(--lb-bg,#fff);color:var(--lb-text,#1b2534);box-shadow:0 2px 10px #263b5018}
.discovery-map-controls button:hover:not(:disabled){background:var(--lb-surface,#f1f6ff);color:var(--lb-link,#075bff)}
.discovery-map-controls button:disabled{opacity:.5;cursor:default}
.discovery-map-controls button:focus-visible{outline-offset:3px}
.discovery-map-hint{position:absolute;left:16px;bottom:13px;font-size:10px;line-height:1.5;padding:6px 9px;border-radius:7px;background:var(--lb-glass,#fffffff0);color:var(--lb-text-2,#667080);pointer-events:none}
.discovery-map .maplibregl-ctrl-attrib{font-family:inherit;font-size:10px}
.discovery-map-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:30px;background:var(--lb-glass,#f3f5f3ed);z-index:5;color:var(--lb-text-2,#77818c)}
.discovery-map-status strong{font-size:19px;color:var(--lb-text,#1c2633);font-weight:550;margin-top:7px}
.discovery-map-status p{font-size:13px}
.discovery-map-status button{display:flex;align-items:center;gap:8px;margin-top:9px;min-height:44px;background:#075bff;color:#fff;padding:11px 20px;border-radius:999px;font-size:14px}
@media(max-width:820px){.discovery-map{height:100%;min-height:0}.discovery-map-location{display:none}.discovery-map-controls{right:14px;top:16px;gap:7px}.discovery-map-controls button{width:42px;height:42px}.discovery-map-hint{left:11px;bottom:auto;top:13px;font-size:9px;padding:6px 8px}.discovery-map-pin{width:49px;height:49px}.discovery-map-pin.is-selected{width:58px;height:58px}.discovery-map .maplibregl-ctrl-bottom-right{bottom:168px}.discovery-map-status{padding-bottom:180px}}
@media(prefers-reduced-motion:reduce){.discovery-map-pin{transition:none}}

.discovery-page{width:calc(100% - 88px);max-width:1280px;margin:auto;padding:24px 0 22px;color:var(--lb-text,#11151c)}
.dx-toolbar{display:flex;align-items:center;gap:18px;margin-bottom:20px}
.dx-search-bar{display:flex;align-items:center;border:1px solid var(--lb-line,#e0e5ed);border-radius:12px;min-height:47px;flex:1;min-width:230px;max-width:570px;background:var(--lb-elevated,#fff);box-shadow:0 2px 6px #1b345009}
.dx-search{display:flex;align-items:center;gap:9px;padding:0 13px;min-width:0;flex:1;color:var(--lb-text-2,#657185)}
.dx-search-bar:focus-within{border-color:#77a6f5;box-shadow:0 0 0 3px #075bff12}
.dx-search input{font:inherit;font-size:13px;width:100%;min-width:0;border:0;outline:0;background:none;height:45px;color:var(--lb-text,#172232)}
.dx-search input::-webkit-search-cancel-button{display:none}
.dx-search button{display:grid;place-items:center;padding:5px;min-width:28px;min-height:34px}
.dx-filters{display:flex;gap:7px;align-items:center;flex-shrink:0}
.dx-filters button{border:1px solid var(--lb-line,#e2e7ef);border-radius:999px;min-height:37px;padding:7px 16px;font-size:12px;white-space:nowrap;color:var(--lb-text-2,#4e5a6e)}
.dx-filters button:hover{background:var(--lb-surface,#f2f6fe)}
.dx-filters button[aria-pressed=true]{background:#075bff;border-color:var(--lb-link,#075bff);color:#fff;font-weight:600}
.dx-all-maps{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:12px;color:var(--lb-link,#075bff);white-space:nowrap;min-height:40px}
.dx-workspace{display:grid;grid-template-columns:minmax(300px,36%) minmax(0,64%);height:clamp(610px,calc(100dvh - 190px),820px);min-height:610px;border:1px solid var(--lb-line,#e4e7ed);border-radius:18px;overflow:hidden;background:var(--lb-bg,#fff)}
.dx-sidebar{min-width:0;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid var(--lb-line,#e4e7ed);background:var(--lb-bg,#fff);position:relative;z-index:6}
.dx-panel-content{padding:24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0}
.dx-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-bottom:19px}
.dx-list-heading p{font-size:11px;color:var(--lb-text-2,#828a97);margin-bottom:5px}
.dx-list-heading h2{font-size:24px;letter-spacing:-.03em;line-height:1.35;font-weight:700}
.dx-list-heading>span{font-size:11px;color:var(--lb-text-2,#758092);white-space:nowrap;padding-bottom:3px}
.dx-place-list{display:grid}
.dx-place-list li{border-top:1px solid var(--lb-line,#edf0f4)}
.dx-place-row{width:100%;display:flex;align-items:center;gap:13px;padding:17px 0;text-align:left}
.dx-place-row img{width:92px;height:80px;object-fit:cover;border-radius:9px;flex-shrink:0}
.dx-place-row-initial{display:grid;place-items:center;width:92px;height:80px;border-radius:9px;flex-shrink:0;background:var(--lb-surface,#eef2f7);color:var(--lb-text-2,#425271);font-size:26px;font-weight:650}
.dx-place-row-copy{flex:1;min-width:0}
.dx-place-row-copy small{display:block;font-size:10px;color:var(--lb-text-2,#778397);margin-bottom:5px}
.dx-place-row-copy strong{display:block;font-size:14px;font-weight:650;line-height:1.5}
.dx-place-row-copy>span{display:block;font-size:10px;color:var(--lb-text-2,#788496);margin-top:8px;line-height:1.5}
.dx-place-row>svg{color:var(--lb-text-2,#8b94a1);width:17px}
.dx-place-row:hover strong{color:var(--lb-link,#075bff)}
.dx-place-row:hover img{filter:brightness(.96)}
.dx-data-note{font-size:10px;line-height:1.7;color:var(--lb-text-2,#89919e);border-top:1px solid var(--lb-line,#edf0f3);padding-top:18px;margin-top:17px}
.dx-map-wrap{min-width:0;position:relative}
.dx-detail-actions{display:flex;justify-content:space-between;align-items:center;margin:-8px 0 13px}
.dx-detail-tools{display:flex;align-items:center;gap:8px}
.dx-detail-tools .community-save{width:40px;height:40px}
.dx-back{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--lb-text-2,#67758a);min-height:40px;padding:0}
.dx-back:hover{color:var(--lb-link,#075bff)}
.dx-place-hero{aspect-ratio:1.25;position:relative;border-radius:12px;overflow:hidden;background:var(--lb-surface,#f1f3f6)}
.dx-place-hero>span{position:absolute;bottom:7px;right:8px;background:var(--lb-glass,#ffffffed);border-radius:4px;padding:3px 6px;font-size:9px;color:var(--lb-text-2,#536078)}
.dx-place-intro{padding-top:18px}
.dx-place-intro>span{font-size:11px;color:var(--lb-link,#075bff)}
.dx-place-intro h2{font-size:25px;line-height:1.35;margin:6px 0 9px;letter-spacing:-.035em}
.dx-place-intro p{font-size:13px;color:var(--lb-text-2,#778190);line-height:1.75}
.dx-detail-section{padding-top:22px;margin-top:21px;border-top:1px solid var(--lb-line,#e8ecf2)}
.dx-detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.dx-detail-section-head h3{font-size:17px;line-height:1.4;font-weight:700}
.dx-detail-section-head h3>span{font-size:12px;color:var(--lb-text-2,#818c9e);font-weight:500;margin-left:4px}
.dx-detail-section-head>button,.dx-detail-section-head>a{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--lb-link,#075bff);min-height:32px;padding:0}
.dx-nearby-stays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}
.dx-nearby-stays .community-stay h3{font-size:13px}.dx-nearby-stays .community-stay-copy{padding:9px}.dx-nearby-stays .community-stay p{font-size:11px}.dx-nearby-stays .community-stay-actions{gap:5px;flex-wrap:wrap}.dx-nearby-stays .community-stay-actions a{font-size:10px}
.dx-related-maps{display:grid;gap:12px}
.dx-related-maps>a{display:flex;align-items:center;gap:11px;min-height:66px;padding:8px;border:1px solid var(--lb-line,#e7ebf0);border-radius:10px}
.dx-related-maps>a:hover{border-color:#97bafe}
.dx-related-maps img{width:62px;height:48px;border-radius:6px;object-fit:cover;flex-shrink:0}
.dx-related-maps>a>span:not(.ai-pic){flex:1;min-width:0}
.dx-related-maps strong{display:block;font-size:12px;line-height:1.45;font-weight:600}
.dx-related-maps small{display:block;font-size:10px;color:var(--lb-text-2,#7b8798);margin-top:5px}
.dx-related-maps>a>svg{color:var(--lb-text-2,#8590a1)}
.dx-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:55px 5px;gap:12px;color:var(--lb-text-2,#7c8799)}
.dx-empty h2{font-size:20px;color:var(--lb-text,#1b2431)}
.dx-empty p{font-size:13px;max-width:260px}
.dx-empty button{color:var(--lb-link,#075bff);font-size:13px;min-height:44px;margin-top:4px}
.dx-story-empty{background:var(--lb-surface,#f6f8fc);border-radius:10px;padding:20px 15px}
.dx-story-empty p{font-size:12px;color:var(--lb-text-2,#78859a)}
.dx-story-empty button{display:flex;align-items:center;gap:5px;margin-top:7px;min-height:35px;color:var(--lb-link,#075bff);font-size:12px;padding:0}
/* A picture the AI office made carries its mark on the picture: AI 示意圖, or AI on a small thumbnail and a wall tile. */
.ai-pic{position:relative;display:inline-block;flex-shrink:0;line-height:0;vertical-align:top}
.ai-pic-fill{display:block;overflow:hidden}.ai-pic-fill>img{display:block;width:100%;height:100%;object-fit:cover}
.ai-mark{position:absolute;left:6px;bottom:6px;z-index:2;padding:2px 6px;border-radius:5px;background:rgba(19,24,28,.62);color:#fff;font-size:10px;font-weight:600;line-height:1.5;letter-spacing:0;white-space:nowrap;pointer-events:none}
.cm-rank-list .ai-mark,.dx-card-main .ai-mark{left:3px;bottom:3px;padding:0 4px;font-size:9px}
.dx-place-hero>.ai-mark{left:8px;bottom:7px}
.discovery-map-pin>.ai-mark{left:50%;bottom:-7px;padding:0 5px;border:1.5px solid #fff;border-radius:999px;font-size:9px;transform:translateX(-50%)}
.dx-place-intro .dx-place-added{margin:0 0 6px;font-size:12px}.dx-place-added a{color:var(--lb-link,#075bff);font-weight:600}
/* 這裡的照片: square tiles three across, as on a photo app's place page, under one 在這裡拍照分享 button. */
.dx-checkin{width:100%;gap:7px}
.dx-story-empty>.dx-checkin{justify-content:center;min-height:43px;margin-top:12px;color:#fff;font-size:14px}
.dx-wall-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:12px;border-radius:10px;overflow:hidden}
.dx-wall-tile{position:relative;display:block;aspect-ratio:1;overflow:hidden;background:var(--lb-surface,#f1f3f6)}
.dx-wall-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .15s}
.dx-wall-tile:hover img{opacity:.88}
.dx-wall-text{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:8px;font-size:11px;line-height:1.5;color:var(--lb-text-2,#4d5664)}
.dx-wall-play{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(19,24,28,.48);color:#fff}
.dx-wall-tile .ai-mark{left:5px;bottom:5px;padding:0 5px}
/* A map card's photos tilt as before with the mark's frame around them; the frame of a related map's photo keeps its size. */
.community-map-previews>.ai-pic:nth-child(2) img{transform:rotate(5deg)}
.community-map-previews .ai-mark,.dx-related-maps .ai-mark{left:5px;bottom:5px;padding:0 4px;font-size:9px}
.dx-map-filter{display:flex;align-items:center;gap:7px;color:var(--lb-text-2,#536784);background:var(--lb-surface,#f2f6fe);border:1px solid var(--lb-line,#e4ecfc);border-radius:9px;padding:9px 12px;margin-bottom:12px;font-size:12px}
.dx-map-filter a{font-weight:600;color:var(--lb-link,#075bff)}
.dx-map-filter button{margin-left:auto;display:grid;place-items:center;min-height:30px;min-width:30px}
.dx-trip-back{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-bottom:12px;padding:8px 14px;border-radius:999px;background:var(--lb-strong,#101113);color:#fff;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 14px rgba(16,17,19,.2)}
.dx-trip-back:hover{background:#006bff}
.dx-notice{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--lb-text-2,#245d3e);background:var(--lb-surface,#f1f8f4);border:1px solid var(--lb-line,#dcece2);border-radius:10px;padding:10px 14px;margin-bottom:12px}
.dx-notice button{display:grid;place-items:center;min-width:30px;min-height:30px;margin-left:auto}
.dx-sheet-handle,.dx-mobile-view,.dx-collapsed-preview{display:none}
.home-discover-links{display:flex;gap:24px;align-items:center;margin-top:18px}.home-discover-links a{display:flex;align-items:center;gap:8px;min-height:40px;font-size:14px;color:var(--lb-text-2,#586675)}.home-discover-links a:hover{color:var(--lb-link,#006bff)}
.creator-upload-entry{display:flex;flex-direction:column;gap:6px;margin-top:16px;padding-top:17px;border-top:1px solid var(--line)}.creator-upload-entry .text-link{min-height:44px}.creator-upload-entry>span{font-size:12px;color:var(--lb-text-2,#78818b)}
@media(max-width:1160px) and (min-width:821px){.discovery-page{width:calc(100% - 64px)}.dx-toolbar{gap:12px}.dx-filters{gap:5px}.dx-filters button{padding-inline:12px}.dx-all-maps{font-size:0;gap:0}.dx-all-maps>svg:last-child{display:none}.dx-all-maps>svg{width:23px;height:23px}.dx-panel-content{padding:20px}.dx-place-row{gap:10px}.dx-place-row img{width:75px;height:72px}.dx-list-heading h2{font-size:21px}.dx-list-heading{align-items:flex-start;flex-direction:column;gap:6px}.dx-nearby-stays{grid-template-columns:1fr}}
@media(max-width:820px){
 .discovery-page{width:100%;max-width:none;margin:0;padding:0;display:flex;flex-direction:column;height:calc(100dvh - 70px - 94px - env(safe-area-inset-bottom));min-height:430px;overflow:hidden}
 .dx-toolbar{display:flex;flex-wrap:wrap;gap:11px;margin:0;padding:10px 16px 12px;flex-shrink:0;border-bottom:1px solid var(--lb-line,#e8ecf2)}
 .dx-search-bar{width:100%;max-width:none;min-width:0;flex:1 1 100%;min-height:43px;border-radius:11px}
 .dx-search{gap:8px;padding:0 11px}.dx-search>svg{width:18px}.dx-search input{height:42px;font-size:12px}
 .dx-filters{display:flex;width:100%;justify-content:space-between;gap:7px}.dx-filters button{min-height:32px;padding:6px 13px;font-size:11px;flex:1}.dx-filters button[aria-pressed=true]{background:#d9e5ff;border-color:#d9e5ff;color:var(--lb-link,#075bff)}
 .dx-all-maps{display:none}
 .dx-workspace{position:relative;display:block;flex:1;min-height:0;height:auto;border:0;border-radius:0;overflow:hidden;background:var(--lb-surface,#f2f5f2)}
 .dx-map-wrap{position:absolute;inset:0}
 .dx-sidebar{position:absolute;left:0;right:0;bottom:0;border:1px solid var(--lb-line,#e4e8ef);border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -5px 20px #20304a09;max-height:76%;z-index:8;padding:0 16px 12px;overflow:hidden}
 .dx-sheet-handle{display:flex;align-items:center;justify-content:center;height:24px;min-height:24px;width:80px;align-self:center;padding:0;color:#a1adc0}
 .dx-mobile-view{display:flex;gap:4px;background:var(--lb-surface,#f0f3f8);padding:3px;border-radius:999px;margin-bottom:12px;flex-shrink:0}
 .dx-mobile-view button{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-height:32px;font-size:11px;border-radius:999px;color:var(--lb-text-2,#58667c)}
 .dx-mobile-view button[aria-pressed=true]{background:#075bff;color:#fff;font-weight:600}
 .dx-collapsed-preview{display:block}
 .dx-collapsed-preview>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid var(--lb-line,#e7ebf1);border-radius:12px;background:var(--lb-bg,#fff);padding:8px;box-shadow:0 2px 7px #1e375008;min-height:76px}
 .dx-collapsed-preview img{width:72px;height:57px;border-radius:7px;object-fit:cover;flex-shrink:0}
 .dx-collapsed-preview>button>span{flex:1;min-width:0}.dx-collapsed-preview strong{font-size:13px;line-height:1.5;display:block;font-weight:650}.dx-collapsed-preview small{display:block;font-size:10px;color:var(--lb-text-2,#7c899e);line-height:1.5;margin-top:5px}.dx-collapsed-preview>button>svg{color:var(--lb-text-2,#65748a)}
 .dx-collapsed-empty{display:flex;justify-content:space-between;align-items:center;min-height:65px;padding:12px 4px}.dx-collapsed-empty button{font-size:12px;color:var(--lb-link,#075bff);min-height:40px}
 .dx-panel-content{display:none;padding:0 0 8px}
 .is-panel-expanded .dx-panel-content{display:block}
 .is-panel-expanded .dx-collapsed-preview{display:none}
 .dx-view-list .dx-map-wrap{visibility:hidden;pointer-events:none}
 .dx-view-list .dx-sidebar{position:relative;inset:auto;max-height:none;height:100%;border-radius:0;border:0;padding:12px 16px 0;box-shadow:none}
 .dx-view-list .dx-sheet-handle{display:none}
 .dx-view-list .dx-panel-content{display:block}
 .dx-view-list .dx-collapsed-preview{display:none}
 .dx-list-heading{padding:7px 0 13px;gap:8px}.dx-list-heading p{font-size:10px;margin-bottom:4px}.dx-list-heading h2{font-size:21px}.dx-list-heading>span{font-size:10px}
 .dx-place-row{padding:13px 0;gap:12px}.dx-place-row img{width:87px;height:73px}.dx-place-row-copy strong{font-size:13px}.dx-place-row-copy small{font-size:10px;margin-bottom:3px}.dx-place-row-copy>span{font-size:10px;margin-top:6px}
 .dx-detail-actions{margin:0 0 8px}.dx-back{min-height:36px;font-size:11px}.dx-place-hero{border-radius:10px}.dx-place-intro{padding-top:13px}.dx-place-intro h2{font-size:23px;margin:4px 0 6px}.dx-place-intro>span{font-size:10px}.dx-place-intro p{font-size:12px}
 .dx-detail-section{padding-top:16px;margin-top:17px}.dx-detail-section-head{margin-bottom:10px}.dx-detail-section-head h3{font-size:16px}.dx-nearby-stays{gap:14px 12px}
 .dx-data-note{font-size:9px;margin-top:16px;padding-top:12px}
 .dx-map-filter{margin:0;padding:5px 16px;border-radius:0;border:0;font-size:10px;gap:5px;flex-shrink:0}.dx-map-filter>span{min-width:0}.dx-map-filter button{min-height:26px}
 .dx-notice{margin:0;border-radius:0;border:0;font-size:10px;line-height:1.5;padding:8px 16px;flex-shrink:0}
 .dx-empty{padding:38px 12px}.dx-empty h2{font-size:19px}.dx-empty p{font-size:12px}
}
@media(max-width:360px){.dx-toolbar{padding-inline:12px}.dx-filters{gap:5px}.dx-filters button{padding-inline:9px;font-size:10px}.dx-sidebar{padding-inline:12px}.dx-view-list .dx-sidebar{padding-inline:12px}.dx-place-row img{width:75px;height:66px}.dx-place-row-copy strong{font-size:12px}.dx-list-heading h2{font-size:19px}}

.dx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.community-save{text-decoration:none;color:var(--lb-text,#101214)}
.community-stay-image .community-save.ag-is-saved svg,.community-story-image .community-save.ag-is-saved svg,.community-save.ag-is-saved svg{fill:currentColor;color:var(--lb-link,#006bff)}
.community-stay-image>.community-save,.community-story-image>.community-save{width:36px;height:36px;z-index:2}
.community-map-cover>.community-save{z-index:2}
.community-stay h3,.community-story-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.community-stay h3{min-height:2.6em}
.community-story-title{font-size:16px;font-weight:650;line-height:1.3;padding:9px 0 5px}
.community-story-text{display:flex;align-items:center;padding:16px;height:100%;background:var(--lb-surface,#f1f3f5);font-size:13px;color:var(--lb-text-2,#4d5664)}
.community-service .community-stay-image{background:var(--lb-surface,#f1f3f5)}
.community-byline>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:820px){.community-stay-image>.community-save,.community-story-image>.community-save{width:29px;height:29px}.community-story-title{font-size:13px;padding:7px 0 5px}}
.community-stay h3{font-size:16px;font-weight:650;letter-spacing:-.02em}
.community-map-copy h3{font-size:14px;font-weight:650}
.community-stay-image>.community-save,.community-story-image>.community-save{display:inline-flex}
.community-map-cover>a.community-save{position:absolute;display:inline-flex;right:10px;top:10px;width:36px;height:36px}
.community-byline>a,.community-byline>span{min-width:0}
.community-byline>a>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-map-copy>a:last-child{min-width:0}
.discovery-pin-number{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--lb-bg,#fff);color:var(--lb-text,#111419);font-size:12px;font-weight:650;box-shadow:0 1px 4px #0002}
.discovery-map-pin.is-selected .discovery-pin-number{background:#075bff;color:#fff}
.dx-place-intro .community-primary{margin-top:12px}
.dx-detail-section-head>a{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--lb-link,#075bff);min-height:32px}
.dx-story-empty>a{display:flex;align-items:center;gap:5px;margin-top:7px;min-height:35px;color:var(--lb-link,#075bff);font-size:12px}
.dx-empty>a{color:var(--lb-link,#075bff);font-size:13px;min-height:44px;margin-top:4px}
@media(min-width:821px){.collection-map-layout{align-items:start}.collection-map-panel{position:sticky;top:20px}}
@media(max-width:820px){.community-stay h3{font-size:13px}}
.community-photo-fallback{display:grid;place-items:center;width:100%;height:100%;background:var(--lb-surface,#f1f3f5);color:var(--lb-text-2,#667182);font-size:12px}
@media(max-width:820px){.home-search-input{margin-bottom:49px}.home-search-input .community-primary{top:49px;height:44px;min-height:44px}}
/* Where you are, and handing a place to the phone's own map. */
.discovery-map-controls button.is-locating{color:var(--lb-link,#075bff)}
.discovery-map-controls button.is-locating svg{animation:cm-locating 1.1s ease-in-out infinite}
.discovery-map-controls button.is-located{color:var(--lb-link,#075bff)}
@keyframes cm-locating{50%{opacity:.3}}
.discovery-map-me{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#075bff;box-shadow:0 0 0 7px #075bff2e,0 1px 5px #0004;pointer-events:none}
.discovery-map-notice{position:absolute;z-index:6;top:64px;left:16px;max-width:min(320px,calc(100% - 84px));padding:9px 13px;border-radius:12px;background:#17202bea;color:#fff;font-size:13px;line-height:1.5}
.dx-place-intro .community-primary{display:inline-flex}
.collection-place-route,.collection-place-checkin{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--lb-line,#e1e6ee);border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.4;white-space:nowrap;color:var(--lb-text-2,#25324a);background:var(--lb-bg,#fff)}
.collection-place-route:hover{color:var(--lb-link,#075bff);border-color:#b5d6ff}
/* 在這裡拍照分享 on a map's place card: on a phone it takes its own row under the other two. */
.collection-place-checkin{color:var(--lb-link,#075bff);border-color:#b5d6ff}
.collection-place-checkin:hover{background:var(--lb-surface,#f3f8ff)}
.collection-selected-actions{flex-wrap:wrap}
@media(max-width:820px){.collection-selected-actions{gap:7px}.collection-place-primary,.collection-place-route,.collection-place-checkin,.collection-place-nearby{flex:1 1 0;min-width:0;min-height:39px;padding:8px 6px;font-size:12px;border-radius:10px;gap:4px}}
@media(max-width:820px){.collection-selected-actions>.collection-place-checkin{flex-basis:100%}}
@media(min-width:821px) and (max-width:1100px){.collection-map-panel .discovery-map-controls{bottom:220px}}
@media(prefers-reduced-motion:reduce){.discovery-map-controls button.is-locating svg{animation:none}}
/* Cards close to Airbnb's: a 5:4 photo with soft corners and the words underneath, no frame. */
.community-stay{border:0;border-radius:0;overflow:visible;background:none}
.community-stay-image,.community-story-image{aspect-ratio:1.25;border-radius:18px;overflow:hidden;background:var(--lb-surface,#f1f3f5)}
.community-stay-copy{padding:11px 2px 0}
.community-stay h3,.community-story-title{font-size:15px;font-weight:600;line-height:1.35;letter-spacing:-.01em}
.community-stay h3{min-height:2.7em;margin-bottom:4px}
.community-stay p{font-size:13px;line-height:1.6}
.community-story-title{padding:11px 2px 4px}
.community-byline{padding-inline:2px}
.home-stay-grid,.home-story-grid{gap:24px 18px}
.home-discovery .community-stay-image{aspect-ratio:1.25}
.collection-stay-grid>article{border:1px solid var(--lb-line,#e6ebf2);border-radius:10px;overflow:hidden}
.collection-stay-grid>article>:first-child{aspect-ratio:auto;border-radius:0}
.collection-stay-grid>article>:last-child{padding:8px 12px 8px 0}
.collection-stay-grid .community-stay h3{min-height:0}
.collection-author-stays>div>article>:first-child{border-radius:18px}
.collection-author-stays>div>article>:last-child{padding-inline:2px}
@media(max-width:820px){
 .community-stay-image,.community-story-image,.home-discovery .community-stay-image{aspect-ratio:1.25;border-radius:14px}
 .community-stay-copy{padding:8px 1px 0}
 .community-stay h3,.community-story-title{font-size:13px}
 .community-stay p{font-size:11px;line-height:1.5}
 .community-story-title{padding:8px 1px 3px}
 .community-byline{padding-inline:1px}
 .home-stay-grid,.home-story-grid{gap:18px 12px}
 .collection-author-stays>div>article>:first-child{aspect-ratio:1.25}
 .collection-stay-grid>article>:first-child{height:130px}
 .collection-stay-grid>article>:last-child{padding:9px 9px 9px 0}
}
/* Four round buttons do not fit above the phone's place card, so they lie in a row at the top of the map. */
@media(max-width:820px){.collection-map-panel .discovery-map-controls{top:12px;bottom:auto;right:14px;flex-direction:row}}
@media(max-width:340px){.collection-map-panel .discovery-map-hint{display:none}}
/* The map as the phone's page, as in a maps app: a full map, search floating on it, and a row of places that can set off at once. */
.dx-carousel,.dx-float-list,.dx-row-go{display:none}
.dx-filter-row{display:contents}
.dx-place-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.dx-place-actions .community-primary{margin-top:0}
.dx-go-outline{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:43px;padding:10px 18px;border:1px solid var(--lb-line,#dfe5ed);border-radius:999px;font-size:14px;color:var(--lb-text-2,#25324a)}
@media(max-width:820px){
 body.explore-body{overflow:hidden}
 .explore-body .ag-footer{display:none}
 .discovery-page{position:relative;display:block;height:calc(100dvh - 70px);min-height:0}
 .dx-toolbar{position:absolute;z-index:9;top:0;left:0;right:0;gap:6px;padding:10px 12px 0;border:0;background:none;pointer-events:none}
 .dx-toolbar>*{pointer-events:auto}
 .dx-search-bar{flex-basis:100%;min-height:46px;border:0;border-radius:14px;background:var(--lb-elevated,#fff);box-shadow:0 2px 12px #1b345024}
 .dx-search input{height:44px;font-size:16px}
 .dx-filters{justify-content:flex-start;width:calc(100% + 24px);margin-inline:-12px;padding:2px 12px 6px;overflow-x:auto;scrollbar-width:none}
 .dx-filters button{flex:0 0 auto;min-height:34px;padding:6px 15px;border-color:var(--lb-bg,#fff);background:var(--lb-bg,#fff);font-size:13px;box-shadow:0 1px 6px #1b34501c}
 .dx-filters button[aria-pressed=true]{border-color:var(--lb-link,#075bff);background:#075bff;color:#fff}
 .dx-notice{position:absolute;z-index:9;top:108px;left:12px;right:12px;border-radius:10px}
 .dx-trip-back{position:absolute;z-index:9;top:108px;left:12px;margin:0}
 .dx-workspace{position:absolute;inset:0}
 .dx-map-wrap .discovery-map-controls{top:112px}
 .dx-map-wrap .discovery-map-hint{display:none}
 .dx-map-wrap .discovery-map-notice{top:112px;left:12px}
 .dx-map-wrap .maplibregl-ctrl-bottom-right{bottom:calc(238px + env(safe-area-inset-bottom))}
 .discovery-page:not(.is-panel-expanded):not(.dx-view-list) .dx-sidebar{display:none}
 .is-panel-expanded:not(.dx-view-list) .dx-sidebar{height:76%;max-height:none}
 .is-panel-expanded:not(.dx-view-list) .dx-mobile-view{display:none}
 .dx-panel-content{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .dx-view-list .dx-sidebar{position:absolute;inset:0;height:auto;padding:182px 16px 0}
 .dx-view-list .dx-mobile-view{margin-top:0}
 .dx-carousel{display:flex;position:absolute;z-index:7;left:0;right:0;bottom:calc(84px + env(safe-area-inset-bottom));gap:10px;padding:4px 22px 6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
 .dx-carousel{pointer-events:none}.dx-carousel>*{pointer-events:auto}
 .is-panel-expanded .dx-carousel,.dx-view-list .dx-carousel,.dx-view-list .dx-float-list,.is-panel-expanded .dx-float-list{display:none}
 /* 探索地圖: the map stays clear until a pin is tapped or a topic chosen; then the cards show, a swipe apart. */
 .explore-body [data-cm-map-page]:not(.has-selected):not(.has-filter) .dx-carousel{display:none}
 /* The weather card steps aside while a place's card or panel, or the list, is up (the place's card says its weather). */
 .explore-body .map-weather{bottom:calc(100px + env(safe-area-inset-bottom))}
 .explore-body [data-cm-map-page]:is(.has-selected,.has-filter,.is-panel-expanded,.dx-view-list) .map-weather{display:none}
 .dx-card{flex:0 0 100%;max-width:400px;scroll-snap-align:center;padding:10px;border:2px solid transparent;border-radius:18px;background:var(--lb-bg,#fff);box-shadow:0 3px 16px #1b345026}
 .dx-card.is-selected{border-color:var(--lb-link,#075bff)}
 .dx-card-main{display:flex;align-items:center;gap:11px;width:100%;text-align:left}
 .dx-card-main img{flex:0 0 68px;width:68px;height:60px;border-radius:10px}
 .dx-card-main>span:not(.ai-pic){flex:1;min-width:0}
 .dx-card-main small{display:block;font-size:11px;color:var(--lb-text-2,#778397)}
 .dx-card-main strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:650;line-height:1.35}
 .dx-card-main em{display:block;margin-top:2px;font-size:12px;font-style:normal;color:var(--lb-link,#075bff)}
 .dx-card-actions{display:flex;gap:8px;margin-top:9px}
 .dx-go{flex:2;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:12px;background:#075bff;color:#fff;font-size:15px;font-weight:650}
 .dx-more{flex:1;min-height:44px;border:1px solid var(--lb-line,#e1e6ee);border-radius:12px;font-size:14px;color:var(--lb-text-2,#25324a)}
 /* 列表 ends the row of topics, which slide under it when they do not fit. */
 .dx-filter-row{display:flex;align-items:flex-start;gap:6px;flex:1 1 100%;min-width:0}
 .dx-filter-row .dx-filters{flex:1;gap:5px;width:auto;min-width:0;margin:0 0 0 -12px;padding-right:2px}
 .dx-filter-row .dx-filters button{padding-inline:11px}
 .dx-float-list{display:inline-flex;flex:none;align-items:center;gap:4px;min-height:34px;margin-top:2px;padding:6px 11px;border-radius:999px;background:var(--lb-bg,#fff);font-size:13px;box-shadow:0 1px 6px #1b34501c}
 .dx-row{position:relative}
 .dx-row .dx-place-row{padding-right:50px}
 .dx-row .dx-place-row>svg{display:none}
 .dx-row-go{display:grid;place-items:center;position:absolute;z-index:1;right:0;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:#075bff;color:#fff}
 .collection-place-primary{min-height:44px}
}
/* The phone map runs under the header, whose words and buttons float on it with nothing behind them, and under the clear glass tab bar. */
@media(max-width:820px){
 .explore-body .ag-header{position:absolute;top:0;left:0;right:0;border:0;background:none;pointer-events:none}
 .explore-body .ag-header-inner>*,.explore-body .ag-header .mobile-menu{pointer-events:auto}
 .explore-body .ag-header-inner{text-shadow:0 0 3px var(--lb-bg,#fff),0 0 9px var(--lb-bg,#fff),0 0 14px var(--lb-bg,#fff)}
 .explore-body .ag-header-inner a,.explore-body .ag-header-inner summary{color:var(--lb-text,#101113)}
 .explore-body .ag-header-inner svg{filter:drop-shadow(0 0 3px var(--lb-bg,#fff)) drop-shadow(0 0 6px var(--lb-bg,#fff))}
 .explore-body .ag-header .language-switch nav{text-shadow:none}
 .explore-body .bottom-nav[data-glass-nav][data-tone="light"]{background:linear-gradient(180deg,rgb(255 255 255 / 22%),rgb(255 255 255 / 4%) 60%),rgb(255 255 255 / 6%)}
 .discovery-page{height:100dvh}
 .dx-toolbar{padding-top:80px}
 .dx-notice{top:178px}
 .dx-map-wrap .discovery-map-controls,.dx-map-wrap .discovery-map-notice{top:252px}
 .dx-view-list .dx-sidebar{padding-top:252px}
 .is-panel-expanded:not(.dx-view-list) .dx-sidebar{height:76%}
}
/* On a short phone the four round buttons would reach the place cards, so they lie in a row under the chips. */
@media(max-width:820px) and (max-height:720px){
 .dx-map-wrap .discovery-map-controls{top:184px;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;width:calc(100vw - 28px)}
 .dx-map-wrap .discovery-map-notice{top:236px}
 .is-panel-expanded:not(.dx-view-list) .dx-sidebar{height:calc(100% - 72px)}
 .is-panel-expanded:not(.dx-view-list) .dx-toolbar{display:none}
 .dx-place-hero{width:100%;max-height:40dvh}
}

/* On a computer too, 探索地圖 is all map under the header (the owner, 2026-11-14, after z3house 生活圈's map): search and
   topics float on it, and the list, or the place chosen, opens in a panel at its left. Only /explore. */
@media(min-width:821px){
 body.explore-body{overflow:hidden}
 .explore-body .ag-footer{display:none}
 /* The header floats on the map as words only (no bar, no line), as on a phone; the map runs under it to the top. */
 .explore-body .ag-header{position:absolute;top:0;left:0;right:0;z-index:20;border:0;background:none;box-shadow:none;backdrop-filter:none;pointer-events:none}
 .explore-body .ag-header::before,.explore-body .ag-header::after{display:none}
 .explore-body .ag-header-inner>*,.explore-body .ag-header .mobile-menu{pointer-events:auto}
 .explore-body .ag-header-inner{text-shadow:0 0 3px var(--lb-bg,#fff),0 0 9px var(--lb-bg,#fff),0 0 14px var(--lb-bg,#fff)}
 .explore-body .ag-header-inner svg{filter:drop-shadow(0 0 3px var(--lb-bg,#fff)) drop-shadow(0 0 6px var(--lb-bg,#fff))}
 .explore-body .discovery-page{position:relative;width:100%;max-width:none;margin:0;padding:0;height:100dvh;min-height:480px}
 .explore-body .dx-map-wrap .discovery-map-controls{top:84px}
 .explore-body .dx-toolbar{position:absolute;z-index:9;top:84px;left:16px;right:76px;margin:0;gap:8px 10px;flex-wrap:wrap;align-items:flex-start;pointer-events:none}
 .explore-body .dx-toolbar>*{pointer-events:auto}
 .explore-body .dx-search-bar{flex:0 1 360px;min-width:220px;min-height:44px;border:0;border-radius:14px;box-shadow:0 2px 12px #1b345024}
 .explore-body .dx-search input{height:42px}
 .explore-body .dx-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;flex:1 1 auto}
 .explore-body .dx-filters{flex-wrap:wrap;gap:6px;flex-shrink:1}
 .explore-body .dx-filters button{min-height:36px;padding:6px 14px;border-color:var(--lb-bg,#fff);background:var(--lb-bg,#fff);box-shadow:0 1px 6px #1b34501c}
 .explore-body .dx-filters button[aria-pressed=true]{border-color:var(--lb-link,#075bff);background:#075bff;color:#fff}
 .explore-body .dx-float-list{display:inline-flex;flex:none;align-items:center;gap:5px;min-height:36px;padding:6px 13px;border-radius:999px;background:var(--lb-bg,#fff);font-size:12px;box-shadow:0 1px 6px #1b34501c}
 .explore-body .dx-float-list[aria-pressed=true]{background:#075bff;color:#fff}
 .explore-body .dx-all-maps{min-height:36px;margin-left:0;padding:0 13px;border-radius:999px;background:var(--lb-bg,#fff);box-shadow:0 1px 6px #1b34501c}
 /* Beside the panel, never over it. */
 .explore-body .dx-notice,.explore-body .dx-trip-back{position:absolute;z-index:9;top:auto;bottom:16px;left:calc(min(400px,40vw) + 32px);margin:0;max-width:420px}
 .explore-body .dx-trip-back+.dx-notice{bottom:68px}
 .explore-body .dx-workspace{position:absolute;inset:0;display:block;height:auto;min-height:0;border:0;border-radius:0}
 .explore-body .dx-map-wrap{position:absolute;inset:0}
 .explore-body .dx-sidebar{position:absolute;z-index:8;top:188px;left:16px;bottom:16px;width:min(400px,40vw);border:1px solid var(--lb-line,#e4e7ed);border-radius:18px;box-shadow:0 6px 28px #1b345030}
 .explore-body .discovery-page:not(.has-selected):not(.has-filter):not(.dx-view-list) .dx-sidebar{display:none}
 .explore-body .dx-view-list .dx-mobile-view{display:flex;gap:4px;margin:16px 16px 0;padding:3px;border-radius:999px;background:var(--lb-surface,#f0f3f8);flex-shrink:0}
 .explore-body .dx-mobile-view button{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-height:32px;font-size:12px;border-radius:999px;color:var(--lb-text-2,#58667c)}
 .explore-body .dx-mobile-view button[aria-pressed=true]{background:#075bff;color:#fff;font-weight:600}
}
/* Wide enough for search and topics on one line: the panel starts right under them. */
@media(min-width:1180px){.explore-body .dx-sidebar{top:138px}}
/* The home's rows slide sideways: four stays across on a computer, the next card peeking on a phone. */
.home-stay-rail,.home-story-rail{display:grid;grid-template-columns:none;grid-auto-flow:column;align-items:start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 1px 10px}
.home-stay-rail::-webkit-scrollbar,.home-story-rail::-webkit-scrollbar{display:none}
.home-stay-rail:focus-visible,.home-story-rail:focus-visible{outline:2px solid var(--lb-link,#006bff);outline-offset:4px;border-radius:12px}
.home-stay-rail{grid-auto-columns:calc((100% - 54px) / 4);gap:18px}
.home-stay-rail>[hidden]{display:none}
.home-stay-rail>*,.home-story-rail>*{scroll-snap-align:start;min-width:0}
.home-story-rail{grid-auto-columns:224px;gap:14px}
.home-rail-controls{display:flex;gap:8px}
.home-rail-controls[hidden]{display:none}
.home-rail-controls button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--lb-line,#dfe4eb);border-radius:50%;background:var(--lb-bg,#fff);color:var(--lb-text,#20252b);cursor:pointer}
.home-rail-controls button:hover:not(:disabled){border-color:var(--lb-line-strong,#8794a4);background:var(--lb-surface,#f5f7fa)}
.home-rail-controls button:disabled{opacity:.3;cursor:default}
.home-story-rail-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:6px;padding-top:5px;border-top:1px solid var(--lb-line,#edf0f3)}
.home-story-more{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:600;color:var(--lb-link,#006bff)}
.home-story-more:hover{text-decoration:underline;text-underline-offset:4px}
.home-stay-city-tabs{margin:-2px 0 14px;gap:8px}
.home-discovery{padding-top:4px}
/* 旅人動態 is upright everywhere, like a phone screen; a landscape photo is cropped to its middle, the file itself stays whole. */
.community-story-image,.home-story-grid .community-story-image{aspect-ratio:9 / 16;border-radius:14px}
.community-story-image img{width:100%;height:100%;object-fit:cover}
@media(max-width:820px){
 .home-discovery{padding-top:0}
 .home-stay-rail{grid-auto-columns:clamp(150px,44vw,240px);gap:12px}
 .home-stay-rail .community-stay{border:0;border-radius:0;background:transparent}
 .home-stay-rail .community-stay-image,.home-discovery .home-stay-rail .community-stay-image{aspect-ratio:1.25;border-radius:14px}
 .home-stay-rail .community-stay-copy{padding:8px 1px 0}
 .home-stay-rail .community-stay h3{margin-bottom:4px;font-size:13px;line-height:1.4}
 .home-stay-rail .community-stay p{font-size:11px;line-height:1.6}
 .home-story-rail{grid-auto-columns:clamp(108px,30vw,140px);gap:8px}
 .home-story-rail .community-story-title{min-height:46px;padding:7px 1px 5px}
 .home-story-rail .community-story h3{display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
 .home-story-rail .community-byline>span{display:none}
 .home-rail-controls{display:none}
 .home-story-rail-footer{justify-content:center;margin-top:2px;padding-top:0;border-top:0}
 .home-story-more{justify-content:center;width:100%;color:var(--lb-text-2,#4c5663)}
 .home-stay-city-tabs{margin:0 0 10px;gap:6px}
}
@media(max-width:360px){.home-stay-rail,.home-story-rail{padding-inline:16px;scroll-padding-left:16px}}
@media(prefers-reduced-motion:reduce){.ag-header-tabs{transition:none}}
.community-story-image a{position:relative;display:block;height:100%}.feed-clip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .2s}.feed-clip.is-playing{opacity:1}

/* A phone's rows run edge to edge as on Airbnb: a free swipe that settles on a card, one line of name, and a round arrow to see them all. */
@media(max-width:820px){
 .home-stay-rail,.home-story-rail{box-sizing:border-box;width:100vw;margin-left:calc(50% - 50vw);padding-inline:20px;scroll-padding-left:20px;scroll-snap-type:x proximity}
 .home-stay-rail .community-stay h3{min-height:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
 .home-discovery .home-section-heading>div>p{display:none}
 .home-discovery .home-section-heading{align-items:center}
 .home-discovery .home-section-heading>a{display:grid;flex:none;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--lb-surface,#f2f3f5);color:var(--lb-text,#15171b);font-size:0;line-height:0}
 .home-discovery .home-section-heading>a svg{display:block;margin:0}
}

/* 旅人動態 on a phone, as in a social app: the header stays, one row of categories under it slips away on the way down and returns on the way up. */
.stories-filters{display:contents}
@media(max-width:820px){
 .stories-body .ag-header{position:sticky;top:0}
 .stories-body .community-home{width:calc(100% - 16px);padding-top:0}
 .stories-body .home-intro{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .stories-body .home-section{margin-top:0}
 .stories-body .home-section-heading{display:none}
 .stories-filters{position:sticky;top:60px;z-index:20;display:flex;align-items:center;gap:20px;height:44px;margin:0 -8px 6px;padding:0 14px;overflow-x:auto;background:var(--lb-bg,#fff);scrollbar-width:none;transition:transform .22s ease}
 .stories-filters::-webkit-scrollbar{display:none}
 .stories-filters.is-hidden{transform:translateY(-100%)}
 .stories-filters .home-topic-tabs{display:contents}
 .stories-filters .home-region-tabs button{order:2}
 .stories-filters button,.stories-filters button.selected{flex:none;min-height:44px;padding:0;border:0;border-radius:0;background:none;color:var(--lb-text-2,#737780);font-size:15px;font-weight:500}
 .stories-filters button.selected{color:var(--lb-text,#15171b);font-weight:650}
 .stories-body .home-story-grid{gap:14px 8px}
}
@media(prefers-reduced-motion:reduce){.stories-filters{transition:none}}

/* With 住宿 chosen on the map, a link to every stay (/stays/) sits after the chips. */
.dx-filters .dx-stays-link{display:inline-flex;align-items:center;gap:4px;flex:none;min-height:37px;padding:7px 14px;border:1px solid #c9dafc;border-radius:999px;background:var(--lb-bg,#fff);color:var(--lb-link,#075bff);font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none}
.dx-filters .dx-stays-link[hidden]{display:none}
/* A storm's card on 探索地圖's globe (globe-storms.js), in MapLibre's own popup. */
.cm-storm-card{display:grid;gap:4px;font-size:13px;line-height:1.45;padding-right:12px}.cm-storm-card strong{font-size:15px}.cm-storm-card p{margin:0}.cm-storm-card small{opacity:.7}
.cm-globe-card img{width:100%;max-height:140px;object-fit:cover;border-radius:10px;margin-bottom:4px}
/* The globe's small cards (earthquakes, planes, satellites, launches) stay small: the map is what they are about. */
.cm-globe-card{gap:1px;font-size:12px;line-height:1.4;padding-right:14px}.cm-globe-card strong{font-size:14px}.cm-globe-card a{font-size:12px}.cm-globe-card small{font-size:10.5px}
/* 跟著它飛 (globe-follow.js): the card's button, and the glass bar while the camera rides along */
.cm-globe-card__action{justify-self:start;margin:4px 0 2px;padding:5px 12px;border:0;border-radius:999px;background:#1c7ed6;color:#fff;font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer}.cm-globe-card__action[aria-pressed="true"]{background:#495057}
.cm-ride{position:absolute;z-index:13;left:50%;bottom:28px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:8px 8px 8px 16px;border:1px solid rgb(255 255 255 / 55%);border-radius:999px;background:linear-gradient(180deg,rgb(255 255 255 / 66%),rgb(255 255 255 / 40%));-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:0 4px 18px rgb(20 30 50 / 16%);color:#10151c;font-size:13px;line-height:1.35}
.cm-ride strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw}.cm-ride__line{opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-ride__stop{flex:none;margin-left:auto;padding:6px 14px;border:0;border-radius:999px;background:#10151c;color:#fff;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .cm-ride{border-color:rgb(255 255 255 / 18%);background:linear-gradient(180deg,rgb(52 58 72 / 66%),rgb(18 20 26 / 50%));color:#fff}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .cm-ride__stop{background:#fff;color:#10151c}
body[data-riding] .map-weather{display:none}
@media(max-width:820px){.cm-ride{bottom:calc(100px + env(safe-area-inset-bottom));flex-wrap:wrap;border-radius:18px;row-gap:2px}.cm-ride__line{order:3;flex-basis:100%;font-size:12px}}
.cm-storm-popup .maplibregl-popup-content{padding:9px 11px 8px}
@media(max-width:820px){.cm-storm-popup{max-width:calc(100vw - 32px)!important}.cm-globe-card img{max-height:112px}}
/* Map-owned glass keeps small text legible over imagery, in daylight, at night and in space. */
.explore-body,.cm-storm-popup,.lc-sheet,.pc,.lc-peek{--cm-card-top-opacity:.78;--cm-card-opacity:.60;--cm-card:rgb(255 255 255 / var(--cm-card-opacity));--cm-card-glass:linear-gradient(180deg,rgb(255 255 255 / var(--cm-card-top-opacity)),var(--cm-card));--cm-card-ink:#10151c;--cm-action-bg:#eff2f6;--cm-card-soft:#47505f;--cm-card-link:#084fa8;--cm-card-edge:rgb(255 255 255 / 70%);--cm-card-line:rgb(16 21 28 / 16%);--cm-card-shadow:0 6px 24px rgb(20 30 50 / 20%),inset 0 1px 0 rgb(255 255 255 / 80%)}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body),:is(.explore-in-space,html[data-map-theme="dark"]) :is(.cm-storm-popup,.lc-sheet,.pc,.lc-peek){--cm-card:rgb(18 20 26 / var(--cm-card-opacity));--cm-card-glass:linear-gradient(180deg,rgb(56 62 76 / var(--cm-card-top-opacity)),var(--cm-card));--cm-card-ink:#f1f3f5;--cm-action-bg:#2c3340;--cm-card-soft:#d3d9e3;--cm-card-link:#b4d4ff;--cm-card-edge:rgb(255 255 255 / 22%);--cm-card-line:rgb(255 255 255 / 22%);--cm-card-shadow:0 6px 24px rgb(0 0 0 / 34%),inset 0 1px 0 rgb(255 255 255 / 16%)}
.explore-body .maplibregl-popup-content,.cm-storm-popup .maplibregl-popup-content{border:1px solid var(--cm-card-edge);border-radius:18px;background:var(--cm-card);background-image:var(--cm-card-glass);color:var(--cm-card-ink);box-shadow:var(--cm-card-shadow);-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%)}
.cm-storm-popup{max-width:calc(100vw - 32px)}
.cm-storm-popup .maplibregl-popup-content{box-sizing:border-box;max-width:100%;padding:13px 14px 12px}
.cm-spot-popup{position:fixed;top:auto;left:auto;right:80px;bottom:24px;transform:none!important}
.cm-spot-popup .maplibregl-popup-tip{display:none}
.cm-spot-popup .cm-globe-card{max-height:min(70dvh,calc(100dvh - 160px));overflow-y:auto;overscroll-behavior:contain}
@media(max-width:820px){.cm-spot-popup{right:12px;left:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:auto;max-width:none!important}.cm-spot-popup .maplibregl-popup-content{width:100%;border-radius:20px 20px 12px 12px}}
.explore-body .maplibregl-popup-content :is(strong,p){color:inherit}
.explore-body .maplibregl-popup-content small,.cm-storm-popup .maplibregl-popup-content small{color:var(--cm-card-soft);opacity:1}
.explore-body .maplibregl-popup-content a{color:var(--cm-card-link)}
.explore-body .maplibregl-popup-close-button{color:var(--cm-card-ink);font-size:18px;line-height:1}
:is(.explore-body,.cm-storm-popup) :is(.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right) .maplibregl-popup-tip,.cm-storm-popup:is(.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right) .maplibregl-popup-tip{border-top-color:var(--cm-card)}
:is(.explore-body,.cm-storm-popup) :is(.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right) .maplibregl-popup-tip,.cm-storm-popup:is(.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right) .maplibregl-popup-tip{border-bottom-color:var(--cm-card)}
.explore-body .maplibregl-popup-anchor-left .maplibregl-popup-tip,.cm-storm-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip{border-right-color:var(--cm-card)}
.explore-body .maplibregl-popup-anchor-right .maplibregl-popup-tip,.cm-storm-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:var(--cm-card)}
.cm-globe-card__head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:5px;min-width:0}
.cm-globe-card__head>strong{flex:1 1 auto;overflow-wrap:anywhere}
.cm-globe-card__head .cm-card-sky{margin:0!important}
.cm-globe-card__actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px}
.cm-globe-card__actions .cm-globe-card__action{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:40px;margin:0;padding:8px 11px;border:1px solid var(--cm-card-line);background:rgb(127 127 127 / 10%);color:var(--cm-card-ink);white-space:nowrap}
.cm-globe-card__actions .cm-globe-card__action.is-primary{border-color:#1864ab;background:#1864ab;color:#fff}
.cm-globe-card__action:focus-visible{outline:2px solid var(--cm-card-link,#084fa8);outline-offset:3px}
.cm-globe-card__actions .cm-globe-card__action:hover{filter:brightness(.92)}
/* A ground spot's weather and air sit beside the title, wrapping together when space is tight. */
.cm-card-sky{display:flex;flex-wrap:wrap;gap:4px;margin:3px 0 4px!important}
.cm-card-sky:empty{display:none}
.cm-card-sky span{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid var(--cm-card-line);border-radius:999px;font-size:11.5px;font-weight:600;line-height:1.4}
.cm-card-sky .cm-card-sky__air{border-color:var(--air)}
.cm-card-sky .cm-card-sky__air::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--air)}
@media(max-width:480px){.cm-globe-card__actions .cm-globe-card__action{min-height:44px}.cm-globe-card__head .cm-card-sky{flex-basis:100%}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .explore-body,.cm-storm-popup,.lc-sheet,.pc,.lc-peek{--cm-card-top-opacity:1;--cm-card-opacity:1}
}
@media(prefers-reduced-transparency:reduce){
 .explore-body,.cm-storm-popup,.lc-sheet,.pc,.lc-peek{--cm-card-top-opacity:1;--cm-card-opacity:1}
 .explore-body .maplibregl-popup-content,.cm-storm-popup .maplibregl-popup-content,.lc-sheet{-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* 回到太陽系 and 看銀河系 on 探索地圖's globe (community-map.js): a planet and a galaxy in the round buttons. On a tall
   phone the column would reach the place cards, so these two stand in a second column to its left. */
.cm-solar-button span{font-size:19px;line-height:1}
@media(max-width:820px) and (min-height:721px){
 .dx-map-wrap .discovery-map-controls{display:grid;grid-auto-flow:column;grid-template-rows:repeat(5,auto);direction:rtl}
 .dx-map-wrap .discovery-map-controls>*{direction:ltr}
}
/* 圖層 on 探索地圖 (map-layers.js): a panel beside the round buttons on a computer, a sheet from the bottom on a phone. */
.cm-layers{position:absolute;z-index:12;top:84px;right:76px;width:min(340px,calc(100% - 100px));max-height:calc(100% - 110px);overflow:auto;padding:16px 18px 18px;border:1px solid var(--cm-card-edge);border-radius:20px;background:var(--cm-card-glass);color:var(--cm-card-ink);box-shadow:var(--cm-card-shadow);-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);--lb-text:var(--cm-card-ink);--lb-text-2:var(--cm-card-soft);--lb-line:var(--cm-card-line);--lb-elevated:var(--cm-action-bg);--lb-surface:color-mix(in srgb,var(--cm-action-bg) 72%,transparent)}
.cm-layers-note{display:block;margin-top:8px;color:var(--cm-card-soft);font-size:11px;line-height:1.5}.cm-layers-note[hidden]{display:none}
@media(prefers-reduced-transparency:reduce){.cm-layers{-webkit-backdrop-filter:none;backdrop-filter:none}}
.cm-layers[hidden]{display:none}
.cm-layers-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.cm-layers-head h2{font-size:18px;font-weight:700}
.cm-layers-close{width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;color:var(--lb-text-2,#58667c);background:var(--lb-surface,#f0f3f8)}
.cm-layers h3{margin:14px 0 8px;font-size:12px;font-weight:600;color:var(--lb-text-2,#6b778a)}
.cm-layers-scheme{display:flex;gap:4px;padding:3px;border-radius:999px;background:var(--lb-surface,#f0f3f8)}
.cm-layers-scheme button{flex:1;min-height:36px;border-radius:999px;font-size:13px;color:var(--lb-text-2,#4e5a6e)}
.cm-layers-scheme button[aria-pressed=true]{background:#075bff;color:#fff;font-weight:600}
.cm-transport-section{margin:8px 0;border:1px solid var(--lb-line,#e2e7ef);border-radius:12px;padding:0 10px 10px}
.cm-transport-section:not([open]){padding-bottom:0}
.cm-transport-section summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;cursor:pointer;font-size:13px;font-weight:600;list-style:none}
.cm-transport-section summary::-webkit-details-marker{display:none}
.cm-transport-section summary::after{content:'＋';font-size:18px}
.cm-transport-section[open] summary::after{content:'−'}
.cm-layers-chips{display:flex;flex-wrap:wrap;gap:8px}
.cm-layers-chip{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:6px 14px;border:1.5px solid var(--lb-line,#e2e7ef);border-radius:999px;font-size:13px;color:var(--lb-text-2,#7a8496)}
.cm-layers-chip[aria-pressed=true]{border-color:var(--camera-colour,var(--lb-text,#11151c));color:var(--lb-text,#11151c);font-weight:600}
.cm-layers-dot{width:9px;height:9px;border-radius:50%;opacity:.45}
.cm-layers-chip[aria-pressed=true] .cm-layers-dot{opacity:1}
.cm-layers-button[aria-expanded=true]{color:var(--lb-link,#075bff)}
/* 白天／夜晚／自動 beside 圖層: its words show to the left for a moment after a press. */
.cm-scheme-tip{position:fixed;z-index:2000;transform:translateY(-50%);padding:5px 10px;border-radius:999px;background:rgb(16 21 28 / 82%);color:#fff;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none}
.cm-scheme-tip[hidden]{display:none}
@media(max-width:820px){.cm-layers{position:fixed;top:auto;right:0;left:0;bottom:0;width:auto;max-height:70dvh;border-radius:22px 22px 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom));z-index:60}}
/* 規劃路線 (map-route.js): one grey line on a place's card opens it; the panel sits over the map like 圖層, a sheet on a phone. */
.cm-route-open{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin-top:10px;padding:8px 12px;border-radius:12px;background:var(--lb-surface,#f4f6f9);color:var(--lb-text-2,#3f4652);font-size:13px;line-height:1.5;text-align:left}
.cm-route-open>span{flex:1;min-width:0}
.cm-route{position:absolute;z-index:13;top:84px;right:76px;width:min(360px,calc(100% - 100px));max-height:calc(100% - 110px);overflow:auto;padding:16px 18px 14px;border-radius:20px;background:var(--lb-elevated,#fff);color:var(--lb-text,#11151c);box-shadow:0 10px 36px #1b34503a}
.dx-map-wrap:has(>.cm-route-preview:not([hidden]))>.cm-route:not([data-nav]){max-width:calc(50% - 24px)}
.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav]))>.cm-route-preview{width:min(380px,calc(50% - 24px))}
.cm-route[hidden]{display:none}
.cm-route-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cm-route-head h2{min-width:0;font-size:17px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cm-route-close{flex:none;width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;color:var(--lb-text-2,#58667c);background:var(--lb-surface,#f0f3f8)}
.cm-route-from>p{margin:10px 0 6px;font-size:13px;color:var(--lb-text-2,#4e5a6e)}
.cm-route-chips,.cm-route-modes{display:flex;flex-wrap:wrap;gap:6px}
.cm-route-modes{margin-top:10px}
.cm-route-chip{min-height:36px;padding:6px 12px;border:1.5px solid var(--lb-line,#e2e7ef);border-radius:999px;font-size:13px;color:var(--lb-text-2,#4e5a6e)}
.cm-route-chip[aria-pressed=true]{border-color:#075bff;background:#075bff;color:#fff;font-weight:600}
.cm-route-note,.cm-route-consent>p{margin:12px 0 0;font-size:13px;line-height:1.6;color:var(--lb-text-2,#4e5a6e)}
.cm-route-consent .cm-route-chips{margin-top:8px}
.cm-route-agree,.cm-drive-agree{min-height:36px;padding:6px 16px;border-radius:999px;background:#075bff;color:#fff;font-size:13px;font-weight:600}
.cm-route-summary{margin:12px 0 0;font-size:16px;font-weight:700}
.cm-route-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cm-route-go{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border-radius:12px;background:var(--lb-surface,#f0f3f8);color:var(--lb-link,#075bff);font-size:13px;font-weight:600}
.cm-route-credit,.cm-drive-credit{display:block;margin-top:12px;font-size:11px;line-height:1.5;color:var(--lb-text-2,#7a8496)}
/* 路線導航's stops (map-route.js): one line from the start through each stop to the end, as a car's navigator lists them. */
.cm-route-eyebrow{display:block;font-size:12px;color:var(--lb-text-2,#6b778a)}
.cm-route-stops{position:relative;display:grid;gap:2px;margin:12px 0 0;padding:0;list-style:none}
.cm-route-stop{position:relative;display:grid;grid-template-columns:22px 1fr auto;align-items:start;gap:10px;padding:6px 0}
.cm-route-stop>div{min-width:0}
.cm-route-stop strong{display:block;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.cm-route-stop small{display:block;font-size:12px;line-height:1.5;color:var(--lb-text-2,#5f6b7d)}
.cm-route-stop .cm-route-chips{margin-top:6px}
.cm-route-stop:not(:last-child)::after{content:"";position:absolute;left:10px;top:24px;bottom:-8px;width:2px;border-radius:2px;background:var(--lb-line,#dfe5ee)}
.cm-route-dot{position:relative;z-index:1;display:grid;place-items:center;width:22px;height:22px;margin-top:1px;border:3px solid var(--lb-elevated,#fff);border-radius:50%;background:#2f9e44;color:#fff;font-size:11px;font-weight:700;box-shadow:0 0 0 1.5px #2f9e44}
.is-via .cm-route-dot{background:#f08c00;box-shadow:0 0 0 1.5px #f08c00}
.is-end .cm-route-dot{background:#e03131;box-shadow:0 0 0 1.5px #e03131}
.cm-route-tools{display:flex;gap:2px}
.cm-route-tool{width:32px;height:32px;border-radius:50%;font-size:16px;line-height:1;color:var(--lb-text-2,#58667c);background:var(--lb-surface,#f0f3f8)}
.cm-route-tool:disabled{opacity:.35}
.cm-route-drag{cursor:grab;touch-action:none;user-select:none;font-size:18px;outline-offset:5px}
.cm-route-drag::before{content:"";position:absolute;inset:-11px}
.cm-route-drag:disabled{cursor:default;opacity:.5}
.cm-route-stop.is-dragging{z-index:3;background:var(--lb-elevated,#fff);box-shadow:0 4px 18px #0002;opacity:.9}
.cm-route-stop.is-dragging .cm-route-drag{cursor:grabbing}
.cm-route-stop.is-drop-before{box-shadow:0 -3px 0 #075bff}
.cm-route-stop.is-drop-after{box-shadow:0 3px 0 #075bff}
.cm-route-merchant{margin-top:16px;padding:12px;border:1px solid var(--lb-line,#d6dde6);border-radius:14px;background:var(--lb-surface,#f4f7fb)}
.cm-route-merchant h3{margin:0}
.cm-route-merchant p{margin:6px 0;font-size:12px;line-height:1.6;color:var(--lb-text-2,#5f6b7d)}
.cm-route-merchant .cm-route-go{margin-top:4px;background:#075bff;color:#fff}
.cm-route-start{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:10px;border-radius:14px;background:#075bff;color:#fff;font-size:15px;font-weight:700}
.cm-route h3{margin:16px 0 6px;font-size:14px;font-weight:700}
.cm-route-pills{display:flex;flex-wrap:wrap;gap:6px}
.cm-route-pill{padding:4px 10px;border:1.5px solid var(--lb-line,#d6dde6);border-radius:999px;background:var(--lb-surface,#f4f7fb);color:var(--lb-text,#1b2534);font-size:12px;line-height:1.4}
.cm-route-fold{margin-top:12px;border-radius:14px;background:var(--lb-surface,#f4f7fb)}
.cm-route-fold>summary{display:grid;gap:2px;padding:10px 12px 10px 40px;position:relative;cursor:pointer;list-style:none}
.cm-route-fold>summary::-webkit-details-marker{display:none}
.cm-route-fold>summary::before{content:"+";position:absolute;left:10px;top:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#075bff;color:#fff;font-size:16px;line-height:1}
.cm-route-fold[open]>summary::before{content:"−"}
.cm-route-fold>summary strong{font-size:14px}
.cm-route-fold>summary small{font-size:12px;line-height:1.5;color:var(--lb-text-2,#5f6b7d)}
.cm-route-fold>:not(summary){margin-left:12px;margin-right:12px}
.cm-route-fold>:last-child{padding-bottom:10px}
.cm-route-section{margin:4px 0 8px;padding:8px 10px;border-radius:10px;background:color-mix(in srgb,#f59f00 16%,transparent);font-size:12.5px;line-height:1.55}
.cm-route-list{display:grid;margin:8px 0 0;padding:0;list-style:none}
.cm-route-row{display:flex;align-items:center;gap:6px;border-top:1px solid var(--lb-line,#e2e7ef)}
.cm-route-row-open{display:grid;grid-template-columns:auto 10px 1fr;align-items:baseline;gap:8px;flex:1;min-width:0;padding:9px 0;text-align:left;color:inherit;font:inherit}
.cm-route-along{font-size:13px;font-weight:700;color:var(--lb-link,#1c7ed6);font-variant-numeric:tabular-nums;white-space:nowrap}
.cm-route-kind{width:10px;height:10px;border-radius:50%;background:var(--kind)}
.cm-route-words{display:grid;min-width:0}
.cm-route-words strong{font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.cm-route-words small{font-size:12px;color:var(--lb-text-2,#5f6b7d)}
.cm-route-add{flex:none;min-height:32px;padding:4px 10px;border:1.5px solid var(--lb-link,#075bff);border-radius:999px;color:var(--lb-link,#075bff);font-size:12px;font-weight:600}
.cm-route-add:disabled{border-color:var(--lb-line,#d6dde6);color:var(--lb-text-2,#7a8496)}
.cm-route-near .cm-route-list{margin-top:0}
.cm-route-setoff .cm-route-chips{margin-top:8px}
/* 開始導航: the next turn big, the stretch left, the next camera in red; on a phone it sits at the top of the map. */
.cm-route[data-nav]{padding:0;overflow:visible;background:none;box-shadow:none}
.cm-nav{display:grid;gap:6px;padding:14px 16px;border-radius:20px;background:#075bff;color:#fff;box-shadow:0 10px 36px #1b34503a}
.cm-nav-head{display:flex;align-items:baseline;gap:10px}
.cm-nav-far{flex:none;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums}
.cm-nav-turn{margin:0;font-size:17px;font-weight:700;line-height:1.35}
.cm-nav-left,.cm-nav-section{margin:0;font-size:13px;opacity:.92}
.cm-nav-section[hidden]{display:none}
.cm-nav-section[data-over=true]{padding:4px 8px;border-radius:8px;background:#e03131;opacity:1}
.cm-nav-alert:empty{display:none}
.cm-nav-flash{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:14px;background:#e03131;color:#fff;text-align:left;font:inherit;font-size:14px;line-height:1.35;animation:cm-nav-flash 1s ease-in-out 3}
.cm-nav-flash strong{flex:none;font-size:20px;font-weight:800}
@keyframes cm-nav-flash{50%{background:#b02525}}
@media(prefers-reduced-motion:reduce){.cm-nav-flash{animation:none}}
.cm-nav-controls{display:flex;flex-wrap:wrap;gap:6px}
.cm-nav .cm-route-chip{border-color:rgb(255 255 255 / 45%);background:rgb(255 255 255 / 16%);color:#fff}
.cm-nav .cm-route-chip[aria-pressed=true]{border-color:#fff;background:#fff;color:#075bff}
.cm-route-more{max-height:40dvh;overflow:auto;margin-top:8px;padding:4px 12px 12px;border-radius:18px;background:var(--lb-elevated,#fff);color:var(--lb-text,#11151c);box-shadow:0 10px 36px #1b34503a}
/* 行車語音提醒 (map-drive.js): the car's speed and the next camera, over the map's top left corner. */
.cm-drive{position:absolute;z-index:12;top:140px;left:16px;width:min(300px,calc(100% - 32px));padding:12px 14px;border-radius:18px;background:var(--lb-elevated,#fff);color:var(--lb-text,#11151c);box-shadow:0 10px 36px #1b34503a}
.cm-drive[hidden]{display:none}
.cm-drive-row{display:flex;align-items:center;gap:12px}
.cm-drive-speed{display:flex;align-items:baseline;gap:4px}
.cm-drive-speed strong{font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}
.cm-drive-speed span{font-size:12px;color:var(--lb-text-2,#6b778a)}
.cm-drive[data-over=true] .cm-drive-speed strong{color:#e03131}
.cm-drive-limit{display:grid;place-items:center;width:44px;height:44px;border:5px solid #e03131;border-radius:50%;background:#fff;color:#11151c;font-size:16px;font-weight:800}
.cm-drive-limit[hidden]{display:none}
.cm-drive-close{margin-left:auto;width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;color:var(--lb-text-2,#58667c);background:var(--lb-surface,#f0f3f8)}
.cm-drive-next{margin:8px 0 0;font-size:13px;line-height:1.5}
.cm-drive-ask p{margin:10px 0 6px;font-size:12px;line-height:1.6;color:var(--lb-text-2,#4e5a6e)}
.cm-drive-ask[hidden]{display:none}
.cm-drive-choices{display:flex;gap:8px}
.cm-drive-choices button:not(.cm-drive-agree){min-height:36px;padding:6px 14px;border-radius:999px;background:var(--lb-surface,#f0f3f8);font-size:13px}
@media(max-width:820px){.cm-route{position:fixed;top:auto;right:0;left:0;bottom:0;width:auto;max-height:60dvh;border-radius:22px 22px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom));z-index:60}.cm-drive{position:fixed;top:calc(170px + env(safe-area-inset-top));left:12px;width:calc(100% - 120px);z-index:55}}
@media(max-width:820px){.dx-map-wrap:has(>.cm-route-preview:not([hidden]))>.cm-route:not([data-nav]){max-width:none;max-height:42dvh}.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav]))>.cm-route-preview{position:fixed;inset:96px 8px auto;width:auto;max-height:38dvh}.dx-map-wrap:has(>.cm-route[data-nav]:not([hidden]))>.cm-route-preview{width:auto}.dx-map-wrap:has(>.cm-route-preview:not([hidden]))>.cm-route[data-nav]{max-width:none}}
@media(max-width:820px){.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav])) .cm-route-preview-body img,.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav])) .cm-route-preview-body iframe{max-height:14dvh}.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav])) .cm-route-preview-count,.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav])) .cm-route-preview-distance,.dx-map-wrap:has(>.cm-route:not([hidden]):not([data-nav])) .cm-route-preview-credit{margin-block:4px}}
@media(max-width:820px){.cm-route[data-nav]{top:calc(12px + env(safe-area-inset-top));bottom:auto;left:12px;right:12px;max-height:none;padding-bottom:0}[data-cm-navigating] .cm-drive{top:auto;bottom:calc(84px + env(safe-area-inset-bottom));width:auto;right:auto}}
/* Out in black space (community-map.js) or on 夜晚 colours (map-layers.js), 探索地圖's floating header is light: its own
   words and buttons only, never the language list that opens on white. */
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .ag-header-inner{text-shadow:0 0 3px #000,0 0 9px #000}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) :is(.ag-wordmark,.ag-header-tab,.ag-header-tools>a,.ag-header-tools>button,.language-switch>summary){color:#fff}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) :is(.ag-header-tools>a,.ag-header-tools>button,.language-switch>summary) svg{filter:drop-shadow(0 0 3px #000)}
.explore-body .ag-header .language-switch nav{text-shadow:none}
/* 探索地圖's floating search, topics and round buttons are frosted glass, like the phone's tab bar (the owner,
   2026-11-14): light glass on a day map, dark glass out in space or on 夜晚 colours. A chosen topic stays solid blue. */
.explore-body :is(.dx-search-bar,.dx-filters button,.dx-float-list,.dx-all-maps,.discovery-map-controls button){border:1px solid rgb(255 255 255 / 62%);background:linear-gradient(180deg,rgb(255 255 255 / 62%),rgb(255 255 255 / 36%));-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);box-shadow:0 4px 18px rgb(20 30 50 / 14%),inset 0 1px 0 rgb(255 255 255 / 75%);color:#10151c}
.explore-body .dx-search input::placeholder{color:rgb(16 21 28 / 62%)}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) :is(.dx-search-bar,.dx-filters button,.dx-float-list,.dx-all-maps,.discovery-map-controls button){border-color:rgb(255 255 255 / 20%);background:linear-gradient(180deg,rgb(52 58 72 / 58%),rgb(18 20 26 / 42%));box-shadow:0 4px 18px rgb(0 0 0 / 30%),inset 0 1px 0 rgb(255 255 255 / 16%);color:#fff}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .dx-search,:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .dx-search input{color:#fff}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .dx-search input::placeholder{color:rgb(255 255 255 / 70%)}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .dx-all-maps{color:#9cc3ff}
.explore-body .dx-filters button[aria-pressed=true],.explore-body .dx-float-list[aria-pressed=true],:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .dx-filters button[aria-pressed=true],:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .dx-float-list[aria-pressed=true]{border-color:#075bff;background:#075bff;color:#fff;box-shadow:0 4px 14px rgb(7 91 255 / 30%)}
/* 天氣 on 探索地圖 (map-weather.js): a small glass card under the search at a place, rain over the map, a chip on cards. */
.map-weather{position:absolute;z-index:8;top:186px;left:16px;display:grid;gap:2px;max-width:260px;padding:10px 14px 9px;border:1px solid rgb(255 255 255 / 55%);border-radius:16px;background:linear-gradient(180deg,rgb(255 255 255 / 60%),rgb(255 255 255 / 34%));-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:0 4px 18px rgb(20 30 50 / 14%);color:#10151c;font-size:13px;line-height:1.45;pointer-events:none}
.map-weather[hidden]{display:none}
.map-weather__head{display:flex;align-items:center;gap:6px}
.map-weather__icon{font-size:22px;line-height:1}
.map-weather__temp{font-size:22px;font-weight:700}
.map-weather__arrow{display:inline-block;margin-right:4px;font-style:normal;transition:transform .3s}
.map-weather small{font-size:10px;opacity:.7}
.map-weather__air::before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:var(--air);vertical-align:1px}
/* Beside the panel when the list or a place is open on a computer. */
@media(min-width:821px){.explore-body :is(.has-selected,.has-filter,.dx-view-list) .map-weather{left:calc(min(400px,40vw) + 32px)}}
:is(.explore-body.explore-in-space,html[data-map-theme="dark"] .explore-body) .map-weather{border-color:rgb(255 255 255 / 18%);background:linear-gradient(180deg,rgb(52 58 72 / 58%),rgb(18 20 26 / 42%));color:#fff}
.map-rain{position:absolute;inset:0;z-index:5;width:100%;height:100%;pointer-events:none}
.map-rain[hidden]{display:none}
.place-weather{display:block;margin-top:3px;font-size:12px;font-style:normal;color:var(--lb-text-2,#4e5a6e)}
/* Beside the place's name, as on z3house; a long name pushes them to the next line. */
.dx-place-intro>h2:has(+.place-sky){display:inline-block;margin-right:10px;vertical-align:middle}
.dx-place-intro:has(>.place-sky)>span:first-child{display:block}
.place-sky{display:inline-flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px;vertical-align:middle}
.place-sky span{display:inline-flex;align-items:center;gap:5px;padding:4px 11px;border:1.5px solid var(--lb-line,#d6dde6);border-radius:999px;background:var(--lb-surface,#f4f7fb);color:var(--lb-text,#1b2534);font-size:13px;font-weight:600;line-height:1.3}
.place-sky .place-sky__air{border-color:var(--air)}
.place-sky .place-sky__air::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--air)}
@media(min-width:1180px){.explore-body .map-weather{top:136px}}
@media(max-width:820px){
 .map-weather{top:auto;bottom:calc(270px + env(safe-area-inset-bottom));left:12px;max-width:200px;padding:8px 12px;font-size:12px}
 .map-weather [data-more]{display:none}
 .map-weather__icon,.map-weather__temp{font-size:18px}
}

/* 退回銀河系 (community-map.js): the map's own buttons step aside while it flies; a dot marks where the reader is. */
.cm-filming :is(.dx-toolbar,.dx-filter-row,.discovery-map-controls,.map-weather,.dx-carousel,.dx-sidebar,.dx-notice){opacity:0;pointer-events:none;transition:opacity .5s}
.cm-you{width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#075bff;box-shadow:0 0 0 0 rgb(7 91 255 / 55%);animation:cm-you 1.6s ease-out infinite}
@keyframes cm-you{to{box-shadow:0 0 0 22px rgb(7 91 255 / 0%)}}
@media(prefers-reduced-motion:reduce){.cm-you{animation:none}}
/* 探索地圖's search list (map-search.js): Libenest's own places, then Taiwan's, under the box. */
.dx-search-bar{position:relative}
.dx-search-bar:has(.cm-search-results:not([hidden])){z-index:15}
.cm-search-results{position:absolute;z-index:14;top:calc(100% + 6px);left:0;right:0;max-height:min(60vh,420px);overflow:auto;margin:0;padding:6px;list-style:none;border-radius:14px;background:var(--lb-elevated,#fff);color:var(--lb-text,#172232);box-shadow:0 10px 30px #1b345033}
.cm-search-results[hidden]{display:none}
.cm-search-results button{display:grid;gap:1px;width:100%;padding:8px 10px;border-radius:10px;text-align:left;font:inherit;color:inherit;background:none;cursor:pointer}
.cm-search-results button:hover,.cm-search-results button:focus-visible{background:var(--lb-surface,#f0f3f8)}
.cm-search-results strong{font-size:14px;font-weight:600}
.cm-search-results span{font-size:12px;color:var(--lb-text-2,#657185)}
.cm-search-results .is-flight strong{color:#1864ab}
.cm-search-results-head{padding:8px 10px 2px;font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--lb-text-2,#657185)}
/* 追蹤航班's card (flight-track.js), and a place's YouTube videos (globe-videos.js). */
.cm-track-stop{justify-self:start;margin:4px 0 2px;padding:5px 12px;border-radius:999px;font:inherit;font-size:12px;color:#1864ab;background:#e7f1ff;cursor:pointer}
.cm-video-thumbs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:4px 0}
.cm-video-thumbs button{padding:0;border-radius:8px;overflow:hidden;background:#000;cursor:pointer;aspect-ratio:16/9}
.cm-globe-card .cm-video-thumbs img{display:block;width:100%;height:100%;max-height:none;margin:0;border-radius:0;object-fit:cover}
.cm-video-dialog{width:min(720px,calc(100vw - 24px));padding:0;border:0;border-radius:16px;background:#111;color:#fff}
.cm-video-dialog::backdrop{background:#000b}
.cm-video-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 8px 8px 14px}
.cm-video-close{width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;color:#fff;background:#ffffff1f;cursor:pointer}
.cm-video-frame iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.cm-video-credit{margin:0;padding:8px 14px 12px;font-size:11px;line-height:1.5;color:#ffffffb3}
.cm-video-credit a{color:#fff}

.cm-spot-notice{position:fixed;z-index:1200;left:50%;bottom:calc(100px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:calc(100vw - 32px);box-sizing:border-box;padding:10px 16px;border-radius:14px;background:#10151c;color:#fff;font-size:14px;box-shadow:0 4px 18px rgb(0 0 0 / 24%)}

/* Event/spot booking recommendations stay compact beneath the card's actions. */
.cm-nearby-stays{border-top:1px solid var(--cm-card-line);margin-top:9px;padding-top:8px;display:grid;gap:7px;font-size:12px}
.cm-globe-card .cm-nearby-stay{display:flex;align-items:center;gap:7px;text-decoration:none;min-height:40px}
.cm-globe-card .cm-nearby-stay img{width:36px;height:36px;max-height:none;object-fit:cover;border-radius:6px;margin:0;flex:none}
.cm-nearby-stay>span{min-width:0}.cm-nearby-stay>span>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
.cm-nearby-stay small{display:block!important;margin:2px 0 0!important;font-size:10px!important}.cm-nearby-stay__book{margin-left:auto;flex:none}
.cm-globe-card .cm-nearby-stay { display:flex; flex-wrap:wrap; gap:6px; padding:5px 0; }
.cm-nearby-stay__select { display:flex; align-items:center; gap:8px; min-width:0; flex:1 1 180px; padding:0; border:0; background:transparent; color:inherit; text-align:left; font:inherit; cursor:pointer; }
.cm-nearby-stay__select > span { min-width:0; }
.cm-nearby-stay__select b { display:block; overflow-wrap:anywhere; }
.cm-nearby-stay--compact { border:1px solid var(--cm-card-line); border-radius:12px; padding:10px!important; }
.cm-nearby-stay--compact[data-card-kind="microsite-paid"] { border-color:#c4a15b; }
.cm-nearby-stay--compact[data-card-kind="standard"] { background:var(--lb-surface-2,#f1f3f5); }
.cm-nearby-stay--compact[data-card-kind="flagship"] { border-color:#c69a3a; background:color-mix(in srgb,var(--lb-elevated,#fff) 92%,#d7ac47); }
.cm-globe-card .cm-nearby-stay--compact img { width:90px; height:70px; object-fit:contain; }
.cm-nearby-stay__3d { border-radius:5px; padding:2px 5px; background:#e8c25f; color:#2a1c03; font-weight:800; }
.cm-globe-card .cm-nearby-owner { display:block; margin-top:12px; color:var(--cm-card-link,#084fa8); font-size:11px; text-decoration:underline; }

.cm-creator-videos{display:flex;gap:12px;overflow:auto;scroll-snap-type:x proximity;margin-top:12px}.cm-creator-video{flex:0 0 240px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #8884;border-radius:12px;overflow-wrap:anywhere}.cm-creator-video>a:first-child{display:flex;align-items:center;gap:8px;font-weight:600}.cm-creator-video>a:first-child img{border-radius:50%;width:28px;height:28px}.cm-creator-video>button:not(.text-button){background:transparent;border:0;padding:0;text-align:start;color:inherit;cursor:pointer}.cm-creator-video>button>img{width:100%;height:128px;object-fit:cover;border-radius:8px}.cm-creator-video p{white-space:pre-wrap;margin:0;font-size:13px}.cm-creator-video>a{font-size:13px}.cm-creator-video .text-button{align-self:start}
.cm-route:not([data-nav]){left:16px;right:auto;background:color-mix(in srgb,var(--lb-elevated,#fff) 91%,transparent);backdrop-filter:blur(18px)}
@media(min-width:821px){.explore-body .discovery-page:has(.cm-route:not([hidden]):not([data-nav])) .dx-sidebar{left:auto;right:76px}}
@media(max-width:820px){.discovery-page:has(.cm-route:not([hidden]):not([data-nav])).is-panel-expanded .dx-sidebar{z-index:61}}
.cm-route-row.is-selected{background:#fff3bf;outline:2px solid #228be6;border-radius:9px;color:#182533}
.cm-route-camera-counts{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;margin-top:8px}
.cm-route-camera-strip{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 0}
.cm-route-camera-tile{flex:0 0 180px;scroll-snap-align:start;text-align:left;border:1px solid var(--lb-line,#dde4ef);border-radius:10px;overflow:hidden}
.cm-route-camera-tile img{width:180px;height:auto;aspect-ratio:16/9;object-fit:cover}
.cm-route-camera-tile strong,.cm-route-camera-tile small{display:block;padding:3px 8px;font-size:12px}
.cm-route-roads{margin-top:6px;font-size:13px;line-height:1.6;color:var(--lb-text-2,#526079)}
.cm-route-traffic-reading{margin-top:8px;font-size:13px;line-height:1.6}
.cm-route-traffic-reading small{display:block;font-size:11px;color:var(--lb-text-2,#627087)}
.cm-route-row-open:has(.cm-route-kind:not(:empty)) .cm-route-kind{background:none;color:var(--kind);border-radius:0}
@media(max-width:820px){.cm-route:not([data-nav]){top:auto;left:8px;right:8px;width:auto;bottom:12px;max-height:56dvh}.cm-route-camera-tile{flex-basis:150px}.cm-route-camera-tile img{width:150px}}

/* Compact place photos: one public traveller at a time, with bounded activity rings. */
.discovery-map-pin{width:38px;height:38px;aspect-ratio:1;box-sizing:border-box;border:1px solid rgb(255 255 255 / 40%);grid-template:1fr / 1fr}
.discovery-map-pin.is-selected{width:46px;height:46px;border:1px solid #268bff;box-shadow:0 0 0 2px #268bff,0 4px 16px #075bff40}
.is-pin-distant .discovery-map-pin{width:28px;height:28px}
.is-pin-distant .discovery-map-pin.is-selected{width:34px;height:34px}
.discovery-pin-media{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:1;border-radius:50%;overflow:hidden;background:var(--lb-bg,#fff)}
.discovery-pin-media>img{display:block;min-width:0;min-height:0;width:100%;height:100%;object-fit:cover;border-radius:50%;animation:pin-photo-in .45s ease-out}
.discovery-map-pin::after{content:"";position:absolute;inset:-8px;border-radius:50%}
.discovery-pin-wave{position:absolute;inset:-2px;border-radius:50%;border:1px solid #69c6ff;pointer-events:none;animation:pin-checkin-wave 3s ease-out infinite;animation-delay:var(--pin-wave-delay,0s)}
.discovery-map-pin:has(:focus-visible) .discovery-pin-wave{animation-play-state:paused}
.discovery-marker-anchor:is(.is-pin-crowded,.is-model-covered){display:none}
@keyframes pin-checkin-wave{0%{transform:scale(1);opacity:.65}100%{transform:scale(var(--pin-wave-scale,1.4));opacity:0}}
@keyframes pin-photo-in{from{opacity:.35}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.discovery-pin-wave{animation:none;opacity:.35;transform:scale(1.15)}.discovery-pin-media>img{animation:none}}

/* Every ground place uses the same six actions, including map, transit and camera cards. */
.cm-place-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin-top:12px}
.cm-place-actions .cm-place-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;max-width:100%;margin:0;padding:10px 13px;border:1px solid var(--cm-card-line,rgb(127 127 127 / 35%));border-radius:12px;background:var(--cm-action-bg,#eff2f6);color:var(--cm-card-ink,var(--lb-text,#17202c));font:inherit;font-size:13px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-decoration:none;cursor:pointer}
.cm-place-actions .cm-place-action svg{flex:0 0 18px}
.cm-place-actions .cm-place-action.is-primary{background:#0869df;border-color:#0869df;color:#fff}
.cm-place-actions .cm-place-action:hover{filter:brightness(.94)}
.cm-place-actions .cm-place-action:focus-visible{outline:2px solid var(--cm-card-link,#084fa8);outline-offset:3px}
.cm-place-actions .cm-place-action:disabled{opacity:.65;cursor:wait}
.has-place-actions .dx-detail-tools,.has-place-actions .cm-route-open{display:none}
.has-place-actions>.dx-go-outline,.dx-place-intro>.dx-go-outline{display:inline-flex;margin-top:12px}
@media(max-width:480px){.cm-place-actions .cm-place-action{flex:1 1 calc(50% - 8px)}}
