/* One responsive community shell. World canvases and the in-game phone retain their own UI. */
body[data-ui-shell="community"]{--paper:#f5f6f2;--white:#fffefa;--ink:#243d34;--muted:#64746b;--line:#e1e7df;--green:#285c4b;--green-light:#e9f0e9;--radius:16px;font-size:14px;line-height:1.6;background:var(--paper);color:var(--ink)}
body[data-ui-shell="community"] :is(.main,.main *,#dialog:not(.world-phone-native) *){overflow-wrap:anywhere}
body[data-ui-shell="community"] :is(button,a,input,select,textarea){scroll-margin-block:100px}
body[data-ui-shell="community"] h1{font-family:'Noto Sans SC','PingFang SC',sans-serif;letter-spacing:-1px;font-size:32px;line-height:1.4}
body[data-ui-shell="community"] :is(h2,h3){line-height:1.5}
body[data-ui-shell="community"] .topbar{height:76px;padding:0 28px;gap:26px;background:#fffefbf5}
body[data-ui-shell="community"] .brand{min-width:190px;flex-shrink:0}
body[data-ui-shell="community"] .brand strong{font-size:19px;letter-spacing:.3px}
body[data-ui-shell="community"] .brand small{letter-spacing:1px;color:var(--muted)}
body[data-ui-shell="community"] .topnav{gap:26px;flex-shrink:0}
body[data-ui-shell="community"] .topnav a{font-size:14px;white-space:nowrap;min-height:44px}
body[data-ui-shell="community"] .top-actions{gap:14px}
body[data-ui-shell="community"] .searchbox{min-width:44px;min-height:44px}
body[data-ui-shell="community"] .top-actions .avatar{width:40px;height:40px;flex-shrink:0}
body[data-ui-shell="community"] .layout{grid-template-columns:184px minmax(0,1fr);max-width:1600px;min-height:calc(100dvh - 76px)}
body[data-ui-shell="community"] .sidebar{top:76px;height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;padding:24px 14px;gap:5px}
body[data-ui-shell="community"] .sidebar a{min-height:46px;flex-shrink:0;font-size:13px;gap:12px}
body[data-ui-shell="community"] .sidebar-caption{padding-top:28px;font-size:13px}
body[data-ui-shell="community"] .main{padding:28px 32px 0;min-width:0}
body[data-ui-shell="community"] .page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px}
body[data-ui-shell="community"] .page-heading>div:first-child{min-width:0;flex:1 1 240px}
body[data-ui-shell="community"] .heading-tools{flex:0 1 auto;flex-wrap:wrap}
body[data-ui-shell="community"] .page-heading p{font-size:14px;line-height:1.8;color:var(--muted)}
body[data-ui-shell="community"] :is(.button,.button.small){min-height:44px;font-size:13px;border-radius:11px;line-height:1.5}
body[data-ui-shell="community"] .button{flex-shrink:0}
body[data-ui-shell="community"] .chip{min-height:42px;font-size:13px;padding:8px 16px;line-height:1.5}
body[data-ui-shell="community"] .eyebrow{color:var(--muted);font-size:11px;line-height:1.6}
body[data-ui-shell="community"] :is(.muted,.note,.side-card p){font-size:13px;line-height:1.8;color:var(--muted)}
body[data-ui-shell="community"] :is(.card,.list-shell){box-shadow:none}
body[data-ui-shell="community"] :is(.split,.grid,.job-card,.vendor-card,.food-card,.profile-row,.wallet,.formgrid)>*{min-width:0}
body[data-ui-shell="community"] .post-card{padding:24px 26px}
body[data-ui-shell="community"] .post-card h3{font-size:18px;line-height:1.65;margin:14px 0 8px}
body[data-ui-shell="community"] .post-card>button{display:block;max-width:100%}
body[data-ui-shell="community"] .post-card .excerpt{font-size:14px;line-height:1.85;color:#56695e}
body[data-ui-shell="community"] .profile-row .avatar{width:40px;height:40px;flex-shrink:0}
body[data-ui-shell="community"] .profile-row p{font-size:14px;font-weight:500}
body[data-ui-shell="community"] .profile-row small{font-size:12px;color:var(--muted)}
body[data-ui-shell="community"] .post-actions{gap:16px;flex-wrap:wrap;margin-top:12px;font-size:12px}
body[data-ui-shell="community"] .post-actions button{min-height:44px;padding:4px;line-height:1.4}
body[data-ui-shell="community"] :is(.vendor-meta,.event-bottom,.form-actions,.profile-stats,.wallet){flex-wrap:wrap}
body[data-ui-shell="community"] .main-footer{line-height:1.8;font-size:12px;flex-wrap:wrap;color:var(--muted);padding-bottom:28px}
body[data-ui-shell="community"] #dialog:not(.world-phone-native){max-height:calc(100dvh - 32px);width:min(600px,calc(100vw - 32px));overflow:auto;overscroll-behavior:contain;border-radius:20px}
body[data-ui-shell="community"] #dialog:not(.world-phone-native) .dialog-header{padding:16px 22px;gap:12px;align-items:flex-start}
body[data-ui-shell="community"] .dialog-header h2{min-width:0;font-size:18px;line-height:1.6}
body[data-ui-shell="community"] .dialog-header button{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:var(--green-light)}
body[data-ui-shell="community"] .dialog-body{padding:22px}
body[data-ui-shell="community"] :is(.prose,.comment p,.field){font-size:14px;line-height:1.8}
body[data-ui-shell="community"] :is(input,select,textarea){font-size:16px;line-height:1.5;min-height:46px}
body[data-ui-shell="community"] textarea{min-height:140px}
body[data-ui-shell="community"]:has(#dialog[open]){overflow:hidden}
.community-welcome{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:center;min-height:185px;padding:20px 28px;background:#e7eee5;border:1px solid #dce5da;border-radius:20px;isolation:isolate}
.home-kicker{display:block;font-size:11px;line-height:1.7;letter-spacing:1.3px;color:#61796b}
.community-welcome h1{font-size:38px!important;font-weight:600;margin:6px 0 10px}
.community-welcome p{font-size:14px;line-height:1.8;color:#556f60}
.welcome-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:6px;font-size:12px;font-weight:500}
.welcome-link svg{width:15px;height:15px}.mobile-break{display:none}
.welcome-art{height:145px;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;border-radius:12px}
.welcome-art img{width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.community-shortcuts{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;padding:24px 0 26px}
.community-shortcuts a{display:flex;align-items:center;flex-direction:column;gap:9px;min-height:76px;text-align:center}
.community-shortcuts a>span{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#e9eee5;color:#4e7059;transition:background .15s}
.community-shortcuts a:nth-child(3n+2)>span{background:#f1e9dd;color:#926b47}.community-shortcuts a:hover>span{background:#d9e5d5}
.community-shortcuts strong{font-size:12px;font-weight:500;line-height:1.6}
.community-columns{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:28px;align-items:start}
.community-stream{min-width:0}.community-feed-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 17px}.community-feed-heading h2{font-size:22px;margin-top:3px}.community-feed-heading .home-kicker{font-size:10px;letter-spacing:1.8px}
.community-compose{display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid var(--line);background:var(--white);border-radius:14px}
.community-compose .avatar{width:38px;height:38px;flex:0 0 38px}.community-compose button{min-width:0;flex:1;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;color:var(--muted);font-size:13px}.community-compose svg{width:20px;height:20px}
.community-topics{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 10px}.community-topics .chip{background:transparent}.community-topics .chip.active{background:var(--green)}
.community-demo-note{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.7;color:#69796d;margin:0 0 13px}.community-demo-note svg{width:14px;height:14px}
.community-aside{padding-top:6px;min-width:0}.home-side-section{padding:0 0 22px;margin-bottom:23px;border-bottom:1px solid var(--line)}.home-side-section h2{font-size:17px;margin:7px 0 12px}.home-side-section p{font-size:13px;line-height:1.9;color:var(--muted)}
.home-interest-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.home-interest-links button{min-height:45px;text-align:left;border:1px solid var(--line);border-radius:9px;padding:10px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:5px;background:var(--white)}.home-interest-links svg{width:12px;height:12px}
.home-side-link{display:flex;gap:12px;align-items:center;min-height:76px}.home-side-link>svg{width:20px;height:20px;color:#719079}.home-side-link>svg:last-child{width:13px;height:13px;margin-left:auto}.home-side-link strong{font-size:13px;font-weight:500}.home-side-link small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.home-world-link{display:flex;align-items:center;gap:12px;padding:15px;border:1px dashed #ccd8cb;border-radius:12px;font-size:13px}.home-world-link span{flex:1}.home-world-link small{display:block;font-size:11px;margin-top:4px;color:var(--muted)}.home-world-link>svg:last-child{width:14px;height:14px}
@media(max-width:1200px){body[data-ui-shell="community"] .topbar{gap:20px;padding-inline:22px}body[data-ui-shell="community"] .topnav{gap:20px}body[data-ui-shell="community"] .searchbox{width:44px;padding:10px}body[data-ui-shell="community"] .searchbox span{display:none}.community-columns{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.community-welcome{grid-template-columns:minmax(0,1fr) 210px;padding:24px}}
@media(max-width:1020px){body[data-ui-shell="community"] .layout{grid-template-columns:76px minmax(0,1fr)}body[data-ui-shell="community"] .sidebar{padding:20px 8px}body[data-ui-shell="community"] .sidebar a{justify-content:center;padding:12px}body[data-ui-shell="community"] .sidebar a span,body[data-ui-shell="community"] .sidebar-caption{display:none}body[data-ui-shell="community"] .top-actions .entry-link{display:none}body[data-ui-shell="community"] .main{padding-inline:24px}.community-columns{grid-template-columns:minmax(0,1fr)}.community-aside{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-world-link{grid-column:1/-1}.community-welcome{grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:760px){body[data-ui-shell="community"] .topnav{display:none}body[data-ui-shell="community"] .topbar{height:68px;padding:0 18px}body[data-ui-shell="community"] .brand{min-width:0}body[data-ui-shell="community"] .brand small{display:none}body[data-ui-shell="community"] .brand img{width:34px}body[data-ui-shell="community"] .brand strong{font-size:18px}body[data-ui-shell="community"] .top-actions .text-link{display:none}body[data-ui-shell="community"] .top-actions{gap:8px}body[data-ui-shell="community"] .layout{display:block;min-height:calc(100dvh - 68px)}body[data-ui-shell="community"] .sidebar{display:none}body[data-ui-shell="community"] .main{padding:20px 16px calc(100px + env(safe-area-inset-bottom))}body[data-ui-shell="community"] .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:25;padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:#fffefbf5;border-top:1px solid var(--line)}body[data-ui-shell="community"] .mobile-nav a{min-height:50px;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1.5;color:#687a6e}body[data-ui-shell="community"] .mobile-nav a.active{color:var(--green);background:var(--green-light);border-radius:12px}body[data-ui-shell="community"] h1{font-size:27px}body[data-ui-shell="community"] .page-heading{display:block}body[data-ui-shell="community"] .heading-tools{margin-top:16px}body[data-ui-shell="community"] .page-heading p{font-size:14px}body[data-ui-shell="community"] .split{grid-template-columns:minmax(0,1fr)}body[data-ui-shell="community"] .post-card{padding:19px 18px}body[data-ui-shell="community"] .post-card h3{font-size:17px}body[data-ui-shell="community"] .post-actions{gap:14px}body[data-ui-shell="community"] .chipbar{gap:6px}body[data-ui-shell="community"] .main-footer{font-size:12px}body[data-ui-shell="community"] #toast{bottom:calc(85px + env(safe-area-inset-bottom));font-size:13px}body[data-ui-shell="community"] #dialog:not(.world-phone-native){max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:calc(100vw - 24px)}body[data-ui-shell="community"] .dialog-body{padding:18px}body[data-ui-shell="community"] #dialog:not(.world-phone-native) .dialog-header{padding:12px 16px}body[data-ui-shell="community"] .form-actions{justify-content:stretch}body[data-ui-shell="community"] .form-actions .button{flex:1}.community-welcome{grid-template-columns:minmax(0,1fr) 92px;padding:18px;gap:12px;min-height:175px;border-radius:17px}.community-welcome h1{font-size:28px!important;letter-spacing:-.5px}.community-welcome .home-kicker{font-size:10px;letter-spacing:.5px}.community-welcome p{font-size:13px;line-height:1.85}.welcome-art{height:110px}.welcome-link{font-size:12px;margin-top:3px}.community-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;padding:20px 0}.community-shortcuts a{min-height:64px;gap:6px}.community-shortcuts strong{font-size:12px}.community-shortcuts a>span{width:44px;height:44px}.community-feed-heading h2{font-size:21px}.community-feed-heading .home-kicker{display:none}.community-feed-heading{margin:4px 0 14px}.community-feed-heading .button{padding:10px 13px}.community-compose{padding:10px 12px;gap:9px}.community-compose button{font-size:13px}.community-topics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin-top:12px}.community-topics .chip{padding:8px 3px;min-height:44px}.community-aside{display:block;margin-top:12px}.home-side-section{padding-bottom:20px}.community-columns{gap:24px}.community-demo-note{font-size:11px}}
@media(max-width:380px){.community-welcome{grid-template-columns:minmax(0,1fr);padding:20px}.welcome-art{display:none}.community-topics .chip{padding-inline:9px}body[data-ui-shell="community"] .post-actions{gap:9px}body[data-ui-shell="community"] .brand strong{font-size:17px}body[data-ui-shell="community"] .job-card{flex-direction:column}body[data-ui-shell="community"] .job-right{flex-direction:row;align-items:center;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.community-shortcuts a>span{transition:none}}

body[data-ui-shell="community"] .merchant-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,35%);gap:24px;align-items:center;min-height:0;padding:28px}
body[data-ui-shell="community"] .merchant-hero img{position:static;grid-column:2;grid-row:1;width:100%;max-height:220px;object-fit:contain;transform:none}
body[data-ui-shell="community"] .merchant-hero .hero-copy{grid-column:1;grid-row:1;max-width:none;min-width:0}
body[data-ui-shell="community"] .merchant-hero p{font-size:14px;line-height:1.8}
@media(max-width:480px){body[data-ui-shell="community"] .merchant-hero{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px}body[data-ui-shell="community"] .merchant-hero img{grid-column:1;grid-row:2;max-height:160px}body[data-ui-shell="community"] .job-card{flex-direction:column}body[data-ui-shell="community"] .job-right{flex-direction:row;justify-content:space-between;align-items:center}body[data-ui-shell="community"] .wallet{gap:16px}body[data-ui-shell="community"] .coupon{flex-wrap:wrap}}
