/* Community application surface. Icons: Lucide (license in vendor/lucide). */
body[data-ui-shell="community"]{--paper:#f6f7f9;--ink:#20232b;--muted:#737985;--green:#3563df;--green-light:#edf2ff;background:var(--paper);color:var(--ink)}
body[data-ui-shell="community"] .main{padding:26px 30px 0}
body[data-ui-shell="community"] :is(h1,h2,h3){font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft Yahei',sans-serif!important;letter-spacing:0!important}
body[data-ui-shell="community"] .brand-mark{color:#3563df;border:0;background:#edf2ff;border-radius:12px}
body[data-ui-shell="community"] .brand small{font-size:11px;letter-spacing:.8px;color:#7d8491}
body[data-ui-shell="community"] :is(.button,.button.small){background:#3563df;border-radius:11px;font-size:13px;font-weight:600}
body[data-ui-shell="community"] .button.secondary{background:#eef1f7;color:#435067}
body[data-ui-shell="community"] .button.outline{background:white;color:#3563df}
body[data-ui-shell="community"] .sidebar a.active{background:#edf2ff;color:#3563df}
.community-hub{max-width:1260px;margin-inline:auto}.community-hub svg{width:19px;height:19px;flex-shrink:0}
.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.hub-heading h1{font-size:27px!important;line-height:1.4!important;margin:0;font-weight:700;display:flex;align-items:center;gap:12px}.hub-heading h1>span{font-size:11px;line-height:1;border:1px solid #e3e7ef;border-radius:7px;padding:6px 8px;background:#fff;color:#71809b;font-weight:500}.hub-heading p{font-size:13px;color:#7e8795;margin:5px 0 0}.hub-search{display:flex;gap:10px;align-items:center;padding:11px 14px;background:#fff;border:1px solid #e7eaf0;border-radius:12px;min-height:44px;color:#8a93a1;font-size:13px;width:260px}.hub-search-key{margin-left:auto;font-size:11px;color:#a0a7b3}
.hub-dock{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;border:1px solid #e8ebf1;background:#fff;border-radius:17px;padding:14px 12px;margin-bottom:22px}.hub-dock a{display:flex;flex-direction:column;align-items:center;gap:9px;padding:8px 4px;border-radius:12px;min-width:0}.hub-dock a>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#f2f5fa;color:#596d90;transition:background 180ms,transform 220ms}.hub-dock a:nth-child(3)>span{color:#a2624f;background:#fbf2ee}.hub-dock a:nth-child(2)>span{color:#526b95;background:#eff3fd}.hub-dock a:nth-child(7)>span{color:#757094;background:#f4f1f8}.hub-dock strong{font-size:13px;font-weight:500;color:#535d70;white-space:nowrap}
.hub-columns{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:24px;align-items:start}.hub-stream,.hub-rail{min-width:0}.hub-rail{display:grid;gap:18px}.hub-composer{border:1px solid #e4e9f2;border-radius:17px;background:white;padding:19px 20px 13px;box-shadow:0 3px 14px #1e3b6b03;transition:border-color 200ms,box-shadow 200ms}.hub-composer:focus-within{border-color:#a4bbed;box-shadow:0 0 0 4px #3563df07}.hub-composer-input{display:flex;align-items:flex-start;gap:13px}.hub-avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid #e3e8f4;border-radius:50%;background:#eff3fc;color:#7188b4}.hub-avatar svg{width:20px;height:20px}
body[data-ui-shell="community"] .hub-composer textarea{background:transparent;border:0;box-shadow:none;outline:none;padding:8px 0;width:100%;min-height:70px;resize:vertical;font-size:14px;line-height:1.7;color:#3b4556}.hub-composer textarea::placeholder{color:#9099a8}.hub-composer-bar{display:flex;align-items:center;gap:12px;border-top:1px solid #f0f2f6;padding-top:11px}.hub-composer-bar label{display:flex;gap:5px;align-items:center;color:#8492ad}.hub-composer-bar label svg{width:16px;height:16px}body[data-ui-shell="community"] .hub-composer select{border:0;background:transparent;padding:7px 20px 7px 3px;color:#62718a;font-size:12px;min-height:36px;width:auto}.hub-composer-bar>span{color:#959dac;font-size:11px}.hub-composer-bar .button{margin-left:auto;padding:9px 16px;min-height:38px}.hub-composer-bar .button svg{width:16px;height:16px}
.hub-feed-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0 14px}.hub-segment{display:flex;align-items:center;gap:3px;background:#e9ecf2;border-radius:11px;padding:4px}.hub-segment button{display:flex;gap:6px;align-items:center;justify-content:center;min-height:36px;min-width:65px;padding:7px 13px;border-radius:8px;font-size:13px;font-weight:500;color:#7b8596}.hub-segment button.active{background:#fff;color:#253c67;box-shadow:0 2px 5px #1a365216}.hub-segment svg{width:14px;height:14px}.hub-result-count{font-size:12px;color:#8b95a5}.hub-topics.community-topics{display:flex;flex-wrap:wrap;margin:0 0 18px;gap:7px}.hub-topics.community-topics .chip{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px 10px;font-size:12px;border:1px solid #e4e8ef;border-radius:9px;background:transparent;color:#798495}.hub-topics.community-topics .chip.active{background:#edf2ff;border-color:#ccd9fc;color:#3563df}.hub-topics .chip svg{width:14px;height:14px}
.hub-post-list{display:grid;gap:18px}body[data-ui-shell="community"] .hub-post.post-card{padding:20px 22px 13px;border:1px solid #e5e9f0;border-radius:17px;box-shadow:0 3px 12px #253f5b03;background:#fff;min-width:0}.hub-post-top{display:flex;align-items:center;gap:10px}.hub-post-top>div{display:flex;flex-direction:column;gap:3px}.hub-post-top strong{font-size:13px;font-weight:600;color:#465166}.hub-post-top small{font-size:11px;color:#969faf}.hub-category{display:flex;align-items:center;gap:4px;margin-left:auto;color:#7e8eab;font-size:11px;background:#f6f8fc;padding:6px 8px;border-radius:7px}.hub-category svg{width:12px;height:12px}.hub-post:nth-child(2n) .hub-avatar{color:#a87b69;background:#fbf2eb;border-color:#f0e5dc}.hub-post-open{display:block;text-align:left;width:100%;padding:0;margin:15px 0 13px}.hub-post-open h2{font-size:18px;line-height:1.6;font-weight:650;margin:0 0 8px;color:#293143}.hub-post-open p{font-size:14px;line-height:1.85;color:#788394;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;white-space:pre-line}.hub-post-media{display:block;position:relative;width:100%;aspect-ratio:1.95;border-radius:11px;overflow:hidden;padding:0;background:#f0f2ef}.hub-post-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 550ms var(--ease)}.hub-post-media>span:first-of-type{position:absolute;left:11px;bottom:10px;color:#fff;background:#25332dbb;border-radius:5px;padding:4px 7px;font-size:10px;backdrop-filter:blur(8px)}.hub-image-action{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#ffffffde;color:#586568}.hub-image-action svg{width:14px;height:14px}.hub-post-actions{display:flex;align-items:center;gap:17px;padding-top:13px;margin-top:10px;border-top:1px solid #f1f3f7}.hub-post-actions button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:#8691a4;min-height:34px;padding:4px 5px;border-radius:8px}.hub-post-actions button svg{width:17px;height:17px;transition:transform 200ms,fill 200ms,stroke 200ms}.hub-post-actions .on{color:#cb627a}.hub-post-actions .on svg{fill:#faeaf0;stroke:#cb627a}.hub-post-actions .saved{color:#3563df}.hub-post-actions .saved svg{fill:#e9efff}.hub-post-actions .hub-join-discussion{margin-left:auto;color:#5571a2;font-size:11px}.hub-join-discussion svg{width:13px!important;height:13px!important}.hub-demo{display:flex;gap:5px;align-items:center;justify-content:center;color:#919aa8;font-size:11px;margin:20px 0}.hub-demo svg{width:13px;height:13px}.hub-empty{background:#fff;border:1px solid #e6eaf1;border-radius:17px;padding:38px 20px;text-align:center}.hub-empty>svg{width:32px;height:32px;color:#8ea7d8;margin-bottom:15px}.hub-empty h2{font-size:18px;margin-bottom:8px}.hub-empty p{font-size:13px;color:#8692a4;margin-bottom:20px}
.hub-rail>section{background:#fff;border:1px solid #e5e9ef;border-radius:17px;overflow:hidden}.hub-rail header{display:flex;align-items:center;justify-content:space-between;padding:18px 17px}.hub-rail header h2{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;margin:0;color:#475267}.hub-rail header>a,.hub-rail header>svg{color:#8390a5}.hub-rail header svg{width:16px;height:16px}.hub-map-canvas{position:relative;height:230px;margin:0 10px;border-radius:11px;overflow:hidden;background:#f2f4ed}.hub-map-canvas>svg{width:100%;height:100%;display:block;touch-action:none}.hub-map-canvas .world-map-controls{right:9px;bottom:55px;gap:4px;box-shadow:none;border:0;background:transparent}.hub-map-canvas .world-map-controls button{background:#ffffffed;width:31px;height:31px;min-height:31px;border-radius:8px;display:grid;place-items:center;color:#63758c}.hub-map-canvas .world-map-controls svg{width:15px;height:15px}.hub-map-link{position:absolute;bottom:10px;left:10px;right:10px;display:flex;align-items:center;gap:6px;justify-content:center;background:#ffffffeb;backdrop-filter:blur(15px);padding:10px;border:1px solid #ffffffb3;border-radius:9px;font-size:12px;color:#42618a;box-shadow:0 3px 8px #2b453512}.hub-map-link svg{width:14px;height:14px}.hub-map-card footer{font-size:10px;line-height:1.6;padding:11px;color:#929ba5;display:flex;justify-content:space-between;gap:4px}.hub-map-card footer a{color:#798798;white-space:nowrap}.hub-meet-card header{padding-bottom:6px}.hub-event{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 17px;border-top:1px solid #f3f5f7}.hub-event>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}.hub-event>span:nth-child(2)>strong{font-size:13px;color:#4a566b;font-weight:500}.hub-event>span:nth-child(2)>small{font-size:11px;color:#9ba4b3}.hub-event>svg{margin-left:auto;width:13px;height:13px;color:#97a3b6}.hub-date{width:42px;border:1px solid #e8edf7;border-radius:10px;display:flex;flex-direction:column;align-items:center;background:#f6f8fc;padding:6px 0;flex-shrink:0}.hub-date small{font-size:10px;color:#8b9ab2}.hub-date strong{font-size:21px;line-height:1.3;font-weight:600;color:#5a749e}.hub-event-state{display:flex;align-items:center;gap:3px;color:#6785bc;font-size:11px}.hub-event-state svg{width:12px;height:12px}.hub-event-state.joined{color:#477b6a}.hub-event-note{display:block;padding:0 17px 15px;color:#a2aab6;font-size:10px}.hub-topics-card{padding-bottom:8px}.hub-topics-card header{padding-bottom:8px}.hub-topics-card>button{display:flex;align-items:center;gap:10px;padding:10px 17px;width:100%;text-align:left}.hub-topics-card>button>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#8b86a0;background:#f4f3f8}.hub-topics-card>button:nth-child(2)>span{color:#ab8370;background:#fbf4ed}.hub-topics-card>button>span svg{width:16px;height:16px}.hub-topics-card strong{font-size:12px;font-weight:500;color:#68768d}.hub-topics-card>button>svg{margin-left:auto;width:13px;height:13px;color:#a1aec2}.hub-topics-card>button[aria-pressed="true"]{background:#f1f5ff}.hub-merchant{display:flex;align-items:center;gap:11px;padding:18px;border:1px dashed #d8e0ee;border-radius:14px;color:#8593ac}.hub-merchant span{display:flex;flex-direction:column;gap:5px}.hub-merchant strong{font-size:12px;color:#6d7a91;font-weight:500}.hub-merchant small{font-size:11px;color:#8d9bb3}.hub-merchant>svg:last-child{margin-left:auto;width:14px;height:14px}
@media(hover:hover){.hub-dock a:hover{background:#f5f7fc;transform:translateY(-2px)}.hub-dock a:hover>span{background:#eaf0ff;color:#3563df;transform:scale(1.07)}.hub-post-media:hover img{transform:scale(1.035)}.hub-post-actions button:hover{background:#f2f5fb;color:#5277bd}.hub-post-actions button:hover svg{transform:scale(1.1)}.hub-event:hover,.hub-topics-card>button:hover{background:#f6f8fc}.hub-post-open:hover h2{color:#3563df}.hub-search:hover{border-color:#c9d6ed}.hub-segment button:not(.active):hover{background:#f3f5f9}}
::view-transition-group(feed-indicator){animation-duration:320ms}::view-transition-old(feed-indicator),::view-transition-new(feed-indicator){height:100%;mix-blend-mode:normal}
@media(max-width:1180px){.hub-columns{grid-template-columns:minmax(0,1fr) 275px;gap:18px}body[data-ui-shell="community"] .main{padding:24px 22px 0}.hub-dock strong{font-size:12px}.hub-composer-bar>span{display:none}.hub-post-actions{gap:10px}.hub-map-card footer{font-size:9px}}
@media(max-width:850px){.hub-columns{grid-template-columns:minmax(0,1fr)}.hub-rail{grid-template-columns:1fr 1fr}.hub-topics-card,.hub-merchant{display:none}.hub-map-canvas{height:215px}.hub-search{width:220px}}
@media(max-width:760px){body[data-ui-shell="community"] .main{padding:22px 14px calc(94px + env(safe-area-inset-bottom))}.hub-heading{margin-bottom:18px;gap:8px}.hub-heading h1{font-size:24px!important;gap:9px}.hub-heading p{font-size:12px}.hub-search{width:42px;height:42px;padding:10px;justify-content:center;border-radius:12px}.hub-search>span{display:none}.hub-dock{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:9px 7px;margin-bottom:16px;border-radius:15px}.hub-dock a{padding:8px 2px;gap:6px}.hub-dock a>span{height:35px;width:35px;border-radius:11px}.hub-dock a>span svg{width:20px;height:20px}.hub-dock strong{font-size:12px}.hub-composer{padding:16px 15px 11px;border-radius:15px}.hub-composer-input{gap:10px}.hub-composer-input .hub-avatar{width:34px;height:34px}body[data-ui-shell="community"] .hub-composer textarea{font-size:14px;padding:5px 0;min-height:66px}.hub-composer-bar .button{min-height:36px;padding:8px 13px;font-size:12px}.hub-feed-nav{margin:18px 0 13px}.hub-segment button{min-width:64px;font-size:13px;min-height:34px}.hub-result-count{font-size:11px}.hub-topics.community-topics{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;gap:6px;scrollbar-width:none}.hub-topics.community-topics .chip{flex-shrink:0;font-size:12px;padding:7px 10px;min-height:35px}.hub-topics .chip svg{width:13px;height:13px}body[data-ui-shell="community"] .hub-post.post-card{padding:17px 16px 11px;border-radius:15px}.hub-post-top .hub-avatar{height:36px;width:36px}.hub-post-top strong{font-size:13px}.hub-post-open h2{font-size:17px}.hub-post-open p{font-size:14px;line-height:1.8}.hub-post-media{aspect-ratio:1.45}.hub-post-actions{gap:14px}.hub-post-actions .hub-join-discussion{display:none}.hub-post-actions button{font-size:12px;min-height:38px}.hub-post-actions button:nth-child(3){margin-left:auto}.hub-rail{grid-template-columns:1fr;gap:16px}.hub-map-canvas{height:255px}.hub-map-card footer{font-size:10px}.hub-topics-card{display:block}.hub-demo{font-size:10px;flex-wrap:wrap}.community-hub~.main-footer{margin-top:24px}body[data-ui-shell="community"] #dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:88dvh;border-radius:23px 23px 0 0;padding-bottom:env(safe-area-inset-bottom)}body[data-ui-shell="community"] .mobile-nav a.active{background:#edf2ff;color:#3563df}}
@media(max-width:360px){.hub-heading h1{font-size:22px!important}.hub-post-open h2{font-size:16px}.hub-topics.community-topics{gap:5px}.hub-dock strong{font-size:11px}.hub-post-actions{gap:10px}}
/* Shared-element continuity: stable controls stay in place while content changes. */
::view-transition{pointer-events:none}
::view-transition-group(*){animation-duration:360ms;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
::view-transition-old(*){animation:hub-exit 160ms both;mix-blend-mode:normal}
::view-transition-new(*){animation:hub-enter 270ms 60ms both;mix-blend-mode:normal}
::view-transition-old(root),::view-transition-new(root),::view-transition-old(site-header),::view-transition-new(site-header),::view-transition-old(site-sidebar),::view-transition-new(site-sidebar),::view-transition-old(site-mobile-nav),::view-transition-new(site-mobile-nav),::view-transition-old(hub-heading),::view-transition-new(hub-heading),::view-transition-old(hub-dock),::view-transition-new(hub-dock),::view-transition-old(hub-composer),::view-transition-new(hub-composer),::view-transition-old(hub-rail),::view-transition-new(hub-rail),::view-transition-old(hub-feed-nav),::view-transition-new(hub-feed-nav),::view-transition-old(hub-topics),::view-transition-new(hub-topics),::view-transition-old(topic-indicator),::view-transition-new(topic-indicator),::view-transition-old(feed-indicator),::view-transition-new(feed-indicator){animation:none;mix-blend-mode:normal}
::view-transition-old(site-content){animation:hub-exit 150ms both}::view-transition-new(site-content){animation:hub-enter 260ms 40ms both}
@keyframes hub-enter{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
@keyframes hub-exit{to{opacity:0;filter:blur(2px)}}
.community-hub :is(button,a){transition:transform 180ms cubic-bezier(.2,.8,.2,1),background-color 180ms,color 180ms,border-color 180ms,box-shadow 220ms;touch-action:manipulation}
body[data-ui-shell="community"] .community-hub :is(button,a):active{transform:scale(.97)}
.hub-post-actions button:active svg{transform:scale(.85)}
.hub-composer:focus-within .hub-avatar{background:#e8efff;border-color:#ccdafa;color:#4b70bd;transition:background 200ms,border-color 200ms,color 200ms}
.hub-composer textarea{transition:min-height 240ms cubic-bezier(.2,.8,.2,1)}
body[data-ui-shell="community"] .hub-composer:focus-within textarea{min-height:94px}
.hub-post-actions button.on span,.hub-post-actions button.saved span{font-weight:600}
@media(hover:hover){.hub-merchant:hover{border-color:#9cb5e6;background:#f0f4fd;transform:translateY(-2px)}.hub-post-top .hub-category:hover{background:#ebf1fc;color:#4369ae}.hub-map-link:hover{background:#fff;box-shadow:0 5px 15px #203b5726;transform:translateY(-2px)}}
@media(max-width:760px){body[data-ui-shell="community"] #dialog:before{content:'';display:block;width:36px;height:4px;border-radius:9px;background:#d5dce7;margin:10px auto 0}body[data-ui-shell="community"] #dialog.is-closing::backdrop{animation-duration:210ms}}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}.community-hub :is(button,a,textarea){transition:none!important}}

@media(max-width:760px){body[data-ui-shell="community"] #dialog:not(.world-phone-native){width:100%;max-width:100%;max-height:88dvh;border-radius:23px 23px 0 0;margin:0;inset:auto 0 0}}
