.header-actions{display:flex;align-items:flex-start;gap:6px}
.community-open{min-height:38px;margin-top:2px;padding:8px 11px;border:1px solid #314664;border-radius:12px;background:#101b2d;color:#f5c766;font-size:12px;font-weight:800;display:flex;align-items:center;gap:7px;white-space:nowrap;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.community-open:active{transform:translateY(1px);background:#182640}
.community-open-icon{position:relative;display:block;width:22px;height:17px}
.community-open-icon i{position:absolute;width:8px;height:8px;border:2px solid #5de0b4;border-radius:50%;background:#101b2d}
.community-open-icon i:nth-child(1){left:0;top:5px}.community-open-icon i:nth-child(2){left:7px;top:0;border-color:#f5c766;z-index:2}.community-open-icon i:nth-child(3){right:0;top:5px}
.community-open b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#174a3c;color:#67e5bb;font-size:10px}
.community-wallets{position:fixed;inset:0;z-index:1300;display:flex;align-items:flex-end;justify-content:center;padding-top:max(24px,env(safe-area-inset-top))}
.community-backdrop{position:absolute;inset:0;width:100%;height:100%;background:rgba(1,5,12,.78);backdrop-filter:blur(5px)}
.community-sheet{position:relative;width:min(100%,620px);max-height:calc(100dvh - max(24px,env(safe-area-inset-top)));overflow:auto;overscroll-behavior:contain;padding:9px 16px calc(92px + env(safe-area-inset-bottom));border:1px solid #2c405e;border-bottom:0;border-radius:24px 24px 0 0;background:linear-gradient(180deg,#101b2e 0,#09111f 100%);box-shadow:0 -20px 60px rgba(0,0,0,.48)}
.community-handle{width:42px;height:4px;margin:0 auto 14px;border-radius:2px;background:#43536b}
.community-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 2px 17px}
.community-head>div>span{color:#f1bb4f;font-size:10px;font-weight:800;letter-spacing:.08em}
.community-head h2{margin:7px 0 4px;color:#f7f9fc;font-size:25px;line-height:1.1;text-transform:none;letter-spacing:-.02em}
.community-head p{margin:0;color:#8393ab;font-size:12px;line-height:1.45}
#community-close{flex:0 0 38px;width:38px;height:38px;border:1px solid #2f4361;border-radius:12px;background:#142138;color:#aebbd0;font-size:25px;line-height:1}
.community-overview{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.community-overview>div{padding:13px 14px;border:1px solid #2a3d59;border-radius:15px;background:rgba(14,25,43,.85)}
.community-overview span{display:block;margin-bottom:6px;color:#8090a7;font-size:11px}
.community-overview strong{color:#f6c765;font-size:22px;font-variant-numeric:tabular-nums}
.community-list{display:grid;gap:9px}
.community-card{position:relative;overflow:hidden;width:100%;padding:14px;border:1px solid #263b58;border-radius:16px;background:linear-gradient(145deg,#111d31,#0c1626);color:inherit;font:inherit;text-align:left;cursor:pointer}
.community-card:active{border-color:#4b6688;background:linear-gradient(145deg,#162640,#101d31)}
.community-card::before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:2px;background:#46556a}
.community-card.is-farming::before{background:#4bd6a6;box-shadow:0 0 12px rgba(75,214,166,.5)}
.community-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.community-wallet-id{display:flex;align-items:center;gap:10px;min-width:0}
.community-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #355073;border-radius:12px;background:#17253c;color:#f4c45d;font-size:14px;font-weight:900}
.community-wallet-id strong{display:block;color:#f2f5fa;font-size:14px}.community-wallet-id small{display:block;margin-top:4px;color:#74849b;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}
.community-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #37465a;border-radius:10px;color:#9aa8bb;font-size:10px;font-weight:800;white-space:nowrap}
.community-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:#6d7888}
.community-card.is-farming .community-badge{border-color:#225f4e;background:#102d27;color:#63e0b3}.community-card.is-farming .community-badge::before{background:#52dda9;box-shadow:0 0 8px #52dda9}
.community-card-main{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #21324a}
.community-pair span,.community-money span{display:block;margin-bottom:5px;color:#7889a1;font-size:10px}.community-pair strong{color:#eef2f8;font-size:14px}.community-pair small{display:block;margin-top:4px;color:#8b9ab0;font-size:10px}.community-pair small.in-range{color:#55dbaa}.community-pair small.out-range{color:#f5bd59}
.community-money{text-align:right}.community-money strong{display:block;color:#f6c765;font-size:19px;font-variant-numeric:tabular-nums}.community-money small{display:block;margin-top:4px;color:#72839a;font-size:10px;font-variant-numeric:tabular-nums}
.community-card-loading{height:14px;width:92px;margin-left:auto;border-radius:7px;background:linear-gradient(90deg,#1c2a3d 25%,#2c3d55 50%,#1c2a3d 75%);background-size:200% 100%;animation:community-shimmer 1.2s infinite}
.community-status{min-height:18px;margin:13px 2px 0;color:#8494aa;font-size:11px;text-align:center}.community-status.error{color:#f17b87}
.wallet-community-head{align-items:flex-start}.wallet-community-head>div:first-child{display:grid;gap:7px;justify-items:start}.wallet-community-head .community-wallet-open{padding:7px 10px;border:1px solid #3b665d;border-radius:9px;background:#123029;color:#78e3c1;font-size:12px;line-height:1.2;text-align:left}.wallet-community-head .community-wallet-open:active{background:#184139}
.community-inline{margin:0 4px calc(94px + env(safe-area-inset-bottom));padding:18px 14px;border:1px solid #2b405e;border-radius:18px;background:linear-gradient(180deg,#0e1a2d 0,#091321 100%);box-shadow:0 14px 38px rgba(0,0,0,.22)}
.community-inline[hidden]{display:none}
.community-inline-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding:0 2px}
.community-inline-head>div{min-width:0}.community-inline-head span{color:#f1bb4f;font-size:10px;font-weight:800;letter-spacing:.08em}.community-inline-head h2{margin:6px 0 5px;color:#f7f9fc;font-size:22px;line-height:1.1;text-transform:none;letter-spacing:-.02em}.community-inline-head p{margin:0;color:#8393ab;font-size:12px;line-height:1.45}
.community-inline-head>strong{flex:0 0 auto;display:grid;place-items:center;min-width:54px;height:32px;padding:0 10px;border:1px solid #275e50;border-radius:10px;background:#102d27;color:#67e0b6;font-size:12px;font-variant-numeric:tabular-nums}
.community-inline-list{gap:11px}
body.community-opened{overflow:hidden}
body.wallet-open main>#community-wallets#community-wallets:not([hidden]){display:flex!important}
.community-position-back{position:sticky;z-index:8800;top:0;display:block;width:calc(100% - 24px);min-height:44px;margin:0 12px 12px;border:1px solid #355273;border-radius:12px;background:rgba(13,27,45,.96);color:#a9dcca;font-size:13px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.34);backdrop-filter:blur(10px)}
.community-position-back:active{background:#17354a}
body.community-observer #profiles{display:none!important}
@keyframes community-shimmer{to{background-position:-200% 0}}
@media(max-width:420px){.community-open{padding:8px 9px}.community-open-icon{display:none}.community-sheet{padding-left:12px;padding-right:12px}.community-overview strong{font-size:19px}.community-inline{margin-left:0;margin-right:0;padding:16px 11px}.community-inline-head h2{font-size:20px}.community-inline-head p{font-size:11px}.community-card-main{align-items:flex-start}.community-money strong{font-size:17px}}
@media(max-width:340px){.community-open>span{display:none}.community-open-icon{display:block}.community-open{padding:8px}.community-head h2{font-size:22px}}
