/* NYCashPlay Social Hub — dark, Instagram-inspired layout using the existing
   site palette (navy panels, mint actions, lavender accents). */
@charset "UTF-8";
[hidden]{display:none!important}

.hub-page{background:#050a13;font-size:15px}
.hub-page a{color:inherit}
.hub-page h1{font-size:clamp(24px,3.2vw,34px);letter-spacing:-.8px;margin:0 0 6px}
.hub-page h2{font-size:18px;margin:0 0 8px}
.hub-muted{color:var(--muted);font-size:13px;line-height:1.45}
.hub-card{background:linear-gradient(160deg,var(--panel),var(--panel-2));border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:16px}

/* ---- Top bar ---- */
.hub-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 20px;background:#070d18f2;backdrop-filter:blur(10px);border-bottom:1px solid #1e2a3d}
.hub-brand{display:flex;align-items:center;gap:10px;font-weight:bold}
.hub-brand img{width:34px;height:34px;object-fit:contain}
.hub-brand small{display:block;color:var(--lav);font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:bold}
.hub-topbar-actions{display:flex;align-items:center;gap:8px}
.hub-topbar-link{color:var(--muted);font-size:13px;padding:8px 10px;border-radius:8px}
.hub-topbar-link:hover{color:var(--mint)}
.hub-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#111c2e;border:1px solid var(--line);padding:0}
.hub-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hub-icon-btn.small{width:auto;height:auto;border-radius:8px;padding:6px 9px;font-size:12px}
.hub-badge{position:absolute;top:-3px;right:-3px;min-width:17px;height:17px;border-radius:9px;background:var(--mint);color:#06160f;font-size:10px;font-weight:900;display:grid;place-items:center;padding:0 4px}
.hub-count{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:10px;background:#26374f;color:#dff7ea;font-size:11px;font-weight:bold;padding:0 5px}

/* ---- Guest ---- */
.hub-guest{min-height:70dvh;display:grid;place-items:center;padding:28px 18px}
.hub-guest-card{max-width:560px;background:linear-gradient(160deg,#111c2e,#0a1220);border:1px solid var(--line);border-radius:20px;padding:28px}
.hub-guest-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

/* ---- Shell ---- */
.hub-shell{display:grid;grid-template-columns:232px minmax(0,1fr);gap:26px;max-width:1180px;margin:0 auto;padding:22px 20px 90px}
.hub-nav{position:sticky;top:74px;align-self:start;display:grid;gap:4px;background:linear-gradient(160deg,#0e1828,#0a111d);border:1px solid var(--line);border-radius:16px;padding:12px}
.hub-nav-item{display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:11px;color:#dfe5f1;font-weight:bold;font-size:14px;transition:background .15s ease,color .15s ease}
.hub-nav-item span[aria-hidden]{color:var(--lav);font-size:16px;width:20px;text-align:center}
.hub-nav-item:hover{background:#182741}
.hub-nav-item.active{background:linear-gradient(115deg,#14513f,#123747);color:#effff7;box-shadow:inset 0 0 0 1px #299f77}
.hub-nav-item .hub-count{margin-left:auto}
.hub-nav-note{display:grid;gap:2px;margin-top:10px;padding:12px;border-top:1px solid #1e2a3d;font-size:12px}
.hub-nav-note span{color:var(--muted)}
.hub-main{min-width:0}
.hub-view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.hub-view-head .account-muted{max-width:640px}

/* ---- Feed ---- */
.hub-filters{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}
.hub-filters::-webkit-scrollbar{display:none}
.hub-chip{flex:none;border:1px solid #33425c;background:#0e1828;color:#cfd6e6;border-radius:999px;padding:7px 14px;font-size:12.5px;font-weight:bold;white-space:nowrap}
.hub-chip:hover{border-color:#4a638a}
.hub-chip.active{background:var(--mint);border-color:var(--mint);color:#06160f}
.hub-feed{display:grid;gap:16px;max-width:620px}
.hub-post{background:linear-gradient(160deg,#111c2e,#0b1421);border:1px solid #29354b;border-radius:16px;overflow:hidden}
.hub-post.pinned{border-color:#7a6397;box-shadow:inset 0 0 0 1px #d1a0f52e}
.hub-post-head{display:flex;align-items:center;gap:11px;padding:14px 15px 10px}
.hub-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#24344c;flex:none;display:grid;place-items:center;font-weight:900;color:var(--mint);font-size:14px;border:1px solid #3a4d6b}
.hub-avatar.large{width:54px;height:54px}
.hub-post-author{display:grid;line-height:1.25;min-width:0}
.hub-post-author a{display:grid;line-height:1.25;min-width:0}
.hub-post-author strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-post-author small{color:var(--muted);font-size:11.5px}
.hub-post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;text-align:right;justify-content:flex-end}
.hub-tag{display:inline-block;border:1px solid #3a5a50;background:#0f2a24;color:#a9ffd2;border-radius:999px;padding:2px 8px;font-size:10.5px;font-weight:bold;letter-spacing:.3px}
.hub-pin-tag{border-color:#7a6397;background:#1d1630;color:#e3c8ff}
.hub-time{color:#8794a9;font-size:11px}
.hub-post-body{padding:0 15px 12px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.hub-post-media{background:#060c15;max-height:520px;overflow:hidden;display:grid;place-items:center}
.hub-post-media img,.hub-post-media video{width:100%;max-height:520px;object-fit:contain;display:block}
.hub-post-actions{display:flex;align-items:center;gap:2px;padding:8px 8px;border-top:1px solid #1d283a}
.hub-action{border:0;background:none;color:#c7d0e1;padding:7px 10px;border-radius:9px;font-size:12.5px;font-weight:bold;display:inline-flex;align-items:center;gap:6px}
.hub-action:hover{background:#182741;color:#fff}
.hub-action.on{color:var(--mint)}
.hub-action.menu{margin-left:auto;color:#8794a9;font-size:16px;line-height:1;padding:6px 9px}
.hub-post-comments{border-top:1px solid #1d283a;padding:10px 14px 14px;display:grid;gap:10px}
.hub-comment{display:flex;gap:9px;font-size:13px}
.hub-comment .hub-avatar{width:28px;height:28px;font-size:11px}
.hub-comment body,.hub-comment p{margin:0}
.hub-comment strong{font-size:12.5px}
.hub-comment time{color:#8794a9;font-size:10.5px;margin-left:6px}
.hub-comment-replies{margin:6px 0 0 14px;display:grid;gap:7px;border-left:1px solid #24314a;padding-left:10px}
.hub-comment-form{display:flex;gap:8px;align-items:flex-end}
.hub-comment-form input{flex:1;min-width:0;background:#0a1320;border:1px solid #33425c;border-radius:20px;padding:9px 13px;color:#fff;font-size:13px}
.hub-load-more{display:flex;justify-content:center;padding:18px 0}

/* ---- Composer ---- */
.hub-composer{margin:0 0 16px;max-width:620px}
.hub-composer-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.hub-composer textarea{width:100%;background:#0a1320;border:1px solid #33425c;border-radius:12px;padding:11px;color:#fff;resize:vertical;min-height:74px}
.hub-composer-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px}
.hub-composer-row select{background:#0a1320;border:1px solid #33425c;border-radius:9px;padding:8px 10px;color:#dfe5f1;font-size:12.5px}
.hub-file-btn,.hub-attach-btn{border:1px dashed #4a5b78;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:bold;color:#cfd6e6;cursor:pointer;background:#0d1727}
.hub-file-btn:hover,.hub-attach-btn:hover{border-color:var(--mint);color:var(--mint)}
.hub-check{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#cfd6e6}
.account-form .hub-check{display:flex;align-items:center;gap:8px;font-weight:normal}
.account-form .hub-check input{width:auto;flex:0 0 auto;margin:0}
.hub-composer-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.hub-composer-preview img{width:86px;height:86px;object-fit:cover;border-radius:10px;border:1px solid #33425c}

/* ---- Messaging ---- */
.hub-messaging{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;min-height:calc(100dvh - 160px)}
.hub-inbox{background:linear-gradient(160deg,#0e1828,#0a111d);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;min-height:520px;max-height:calc(100dvh - 150px);overflow:hidden}
.hub-inbox-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 8px}
.hub-inbox-head h1{font-size:20px;margin:0}
.hub-search{display:flex;align-items:center;gap:8px;margin:0 12px 8px;background:#0a1320;border:1px solid #2c3a52;border-radius:10px;padding:7px 10px;color:#8794a9}
.hub-search input{flex:1;min-width:0;background:none;border:0;color:#fff;font-size:13px;outline:none}
.hub-conversation-list{flex:1;overflow-y:auto;padding:2px 6px 8px;overscroll-behavior:contain}
.hub-conversation{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:none;border:0;border-radius:12px;padding:9px 8px;color:inherit}
.hub-conversation:hover,.hub-conversation.active{background:#182741}
.hub-conversation-body{flex:1;min-width:0;display:grid;gap:2px}
.hub-conversation-body strong{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-conversation-body span{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-conversation-side{display:grid;justify-items:end;gap:4px;flex:none}
.hub-conversation-side time{color:#7d8aa1;font-size:10px}
.hub-unread{min-width:18px;height:18px;border-radius:9px;background:var(--mint);color:#06160f;font-size:10px;font-weight:900;display:grid;place-items:center;padding:0 5px}
.hub-inbox-foot{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid #1e2a3d}
.hub-inbox-link{background:none;border:0;color:var(--lav);font-size:12px;font-weight:bold;padding:4px}
.hub-request-section{margin:0 10px 6px;border:1px solid #4b3c62;background:#171227;border-radius:10px;overflow:hidden}
.hub-section-toggle{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;padding:9px 10px;font-size:12px;font-weight:bold;color:#e3c8ff;text-align:left}
.hub-request-list{display:grid;gap:6px;padding:0 8px 9px}
.hub-request{background:#0e1828;border:1px solid #2c3a52;border-radius:9px;padding:8px}
.hub-request-head{display:flex;align-items:center;gap:8px}
.hub-request-head strong{font-size:12.5px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-request p{margin:5px 0 6px;color:#c5cede;font-size:12px;overflow-wrap:anywhere}
.hub-request-actions{display:flex;gap:5px;flex-wrap:wrap}
.hub-request-actions button{padding:4px 8px;font-size:11px;border-radius:7px}
.hub-thread{position:relative;background:linear-gradient(160deg,#0e1828,#0a111d);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;min-height:520px;max-height:calc(100dvh - 150px);overflow:hidden}
.hub-thread-empty{margin:auto;max-width:420px;padding:30px;text-align:center;color:var(--muted)}
.hub-thread-empty strong{display:block;color:#fff;font-size:19px;margin-bottom:8px}
.hub-thread-empty p{font-size:13.5px;line-height:1.5}
.hub-thread-active{display:flex;flex-direction:column;height:100%;min-height:0}
.hub-thread-head{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid #1e2a3d;background:#0d1727}
.hub-thread-title{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
.hub-thread-title strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.hub-thread-title small{color:var(--muted);font-size:11px;display:block}
.hub-thread-actions{display:flex;gap:6px;flex:none}
.hub-back{display:none;background:none;border:0;font-size:20px;padding:4px 6px;color:var(--lav)}
.hub-thread-banner{padding:8px 12px;font-size:12px;background:#1d1630;border-bottom:1px solid #4b3c62;color:#e3c8ff;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hub-messages{flex:1;overflow-y:auto;padding:14px 14px 8px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.hub-bubble-row{display:flex;gap:8px;align-items:flex-end}
.hub-bubble-row.mine{justify-content:flex-end}
.hub-bubble{width:fit-content;max-width:78%;background:#152238;border:1px solid #29354b;border-radius:16px 16px 16px 5px;padding:8px 11px;font-size:13.5px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}
.hub-bubble-text{white-space:pre-wrap;overflow-wrap:anywhere}
.hub-bubble-row.mine .hub-bubble{background:linear-gradient(135deg,#12503d,#123c39);border-color:#25745a;border-radius:16px 16px 5px 16px;color:#effff7}
.hub-bubble.system{max-width:100%;background:none;border:0;color:#7d8aa1;font-size:11.5px;text-align:center;margin:0 auto;padding:2px 10px}
.hub-bubble-meta{display:flex;gap:6px;align-items:center;margin-top:4px;color:#7d8aa1;font-size:10px}
.hub-bubble-row.mine .hub-bubble-meta{justify-content:flex-end}
.hub-bubble-delete,.hub-bubble-edit,.hub-bubble-report{background:none;border:0;color:#7d8aa1;font-size:10px;padding:0;text-decoration:underline}
.hub-bubble-delete:hover,.hub-bubble-edit:hover,.hub-bubble-report:hover{color:#ffb7b7}
.hub-bubble-edited{font-style:italic;color:#7d8aa1;font-size:10px}
.hub-typing{padding:2px 14px 6px;margin:0;background:#0d1727;color:#b9a7d6;font-size:11.5px;min-height:0}
.hub-read-receipt{padding:0 14px 6px;margin:0;background:#0d1727;color:#7d8aa1;font-size:10.5px;text-align:right}
.hub-shared{display:block;border:1px solid #3a4d6b;border-radius:10px;overflow:hidden;margin-bottom:6px;background:#0a1320}
.hub-shared img{width:100%;max-height:150px;object-fit:cover}
.hub-shared-body{padding:8px 10px}
.hub-shared-body strong{display:block;font-size:11.5px;color:var(--mint)}
.hub-shared-body span{display:block;color:#cfd6e6;font-size:12px}
.hub-shared-body small{color:var(--muted);font-size:10.5px}
.hub-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.hub-attachments img{width:280px;max-width:100%;max-height:340px;object-fit:cover;border-radius:9px;border:1px solid #33425c}
.hub-attachments video{width:220px;max-height:220px;border-radius:9px;border:1px solid #33425c}
.hub-send{display:flex;align-items:flex-end;gap:7px;padding:9px 10px;border-top:1px solid #1e2a3d;background:#0d1727}
.hub-send textarea{flex:1;min-width:0;max-height:120px;resize:none;background:#0a1320;border:1px solid #33425c;border-radius:18px;padding:8px 12px;color:#fff;font-size:13.5px;line-height:1.4;scrollbar-width:none}
.hub-send textarea::-webkit-scrollbar{display:none}
.hub-attach-btn{min-width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:18px;padding:0}
.hub-attachment-preview{display:flex;gap:6px;flex-wrap:wrap;padding:0 10px 6px;background:#0d1727}
.hub-attachment-preview .chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #33425c;background:#142238;border-radius:999px;padding:3px 8px;font-size:11px}
.hub-attachment-preview .chip button{background:none;border:0;color:#ff9c9c;padding:0 2px;font-size:12px}
.hub-thread-foot{padding:0 12px 8px;margin:0;background:#0d1727}
.hub-thread-foot:empty{display:none}
.hub-dot{width:7px;height:7px;border-radius:50%;background:var(--mint);display:inline-block;margin-left:2px}

/* ---- Saved & notifications ---- */
.hub-saved-list{display:grid;gap:12px;max-width:640px}
.hub-saved-card{display:flex;gap:12px;background:linear-gradient(160deg,#111c2e,#0b1421);border:1px solid #29354b;border-radius:14px;padding:12px}
.hub-saved-card img,.hub-saved-thumb{width:84px;height:84px;border-radius:10px;object-fit:cover;background:#1b2940;flex:none;display:grid;place-items:center;color:#5c6d88;font-size:11px;font-weight:bold}
.hub-saved-body{min-width:0;flex:1}
.hub-saved-body h3{font-size:14px;margin:0 0 3px;overflow-wrap:anywhere}
.hub-saved-body p{margin:0;color:var(--muted);font-size:11.5px}
.hub-saved-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:7px}
.hub-saved-actions a,.hub-saved-actions button{font-size:11.5px;color:var(--lav);text-decoration:underline;background:none;border:0;padding:0}
.hub-notifications{display:grid;gap:8px;max-width:640px}
.hub-notification{display:flex;gap:10px;align-items:flex-start;background:#0e1828;border:1px solid #29354b;border-radius:12px;padding:11px}
.hub-notification.unread{border-color:#3f715f;background:#0f201d}
.hub-notification-body{flex:1;min-width:0}
.hub-notification-body strong{font-size:13px}
.hub-notification-body p{margin:2px 0;color:#cfd6e6;font-size:12.5px;overflow-wrap:anywhere}
.hub-notification-body small{color:#8794a9;font-size:10.5px}
.hub-notification button{font-size:11px;padding:5px 8px}

/* ---- Profile ---- */
.hub-inviter-card{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.hub-inviter-card .grow{flex:1;min-width:150px;display:grid}
.hub-prefs{display:grid;gap:9px;max-width:620px}
.hub-prefs .primary{justify-self:start;width:auto;min-width:190px}
.hub-switch{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#dfe5f1}
.hub-switch input{margin-top:2px;accent-color:#88ffc3;width:16px;height:16px}
.hub-block-list{display:grid;gap:7px}
.hub-block-row{display:flex;align-items:center;gap:9px;background:#0e1828;border:1px solid #29354b;border-radius:10px;padding:7px 9px;font-size:12.5px}
.hub-block-row span{flex:1;min-width:0}
.hub-dashboard-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}

/* ---- Modals, toast ---- */
.hub-modal{position:fixed;inset:0;z-index:80;background:#000000bb;display:grid;place-items:center;padding:18px;overflow-y:auto}
.hub-modal-card{width:min(520px,100%);max-height:88dvh;overflow-y:auto;background:linear-gradient(160deg,#111c2e,#0a1220);border:1px solid #3a4d6b;border-radius:18px;padding:18px}
.hub-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-18px;z-index:3;background:#111c2e;padding:18px 18px 12px;margin:-18px -18px 12px;border-bottom:1px solid #26344a}
.hub-modal-head h2{margin:0;font-size:18px}
.hub-people{display:grid;gap:6px;margin-top:10px}
.hub-person{display:flex;align-items:center;gap:9px;background:#0e1828;border:1px solid #29354b;border-radius:10px;padding:7px 9px;width:100%;text-align:left;color:inherit}
.hub-person:hover{border-color:#4a638a}
.hub-person .grow{flex:1;min-width:0;display:grid;line-height:1.25}
.hub-person strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-person small{color:var(--muted);font-size:11px}
.hub-toast{position:fixed;left:50%;bottom:86px;transform:translateX(-50%);z-index:90;background:#123c33;border:1px solid #299f77;color:#eafff5;border-radius:999px;padding:9px 16px;font-size:12.5px;max-width:90vw;text-align:center;box-shadow:0 10px 30px #00000080}
.hub-toast.error{background:#3a1720;border-color:#a14a5f;color:#ffd9e0}

/* ---- Mobile nav ---- */
.hub-mobile-nav{display:none}

@media(max-width:980px){
  .hub-shell{grid-template-columns:1fr;gap:14px;padding:16px 14px 96px}
  .hub-nav{display:none}
  .hub-messaging{grid-template-columns:1fr;min-height:0}
  .hub-inbox{max-height:none;min-height:62dvh}
  .hub-thread{display:none;min-height:70dvh;max-height:none}
  .hub-thread.active{display:flex;position:fixed;inset:63px 0 62px;z-index:40;border-radius:0;border-left:0;border-right:0}
  .hub-back{display:inline-block}
  .hub-feed{max-width:none}
  .hub-composer{max-width:none}
  .hub-mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:45;background:#070d18f7;border-top:1px solid #1e2a3d;padding:5px 4px calc(5px + env(safe-area-inset-bottom))}
  .hub-mobile-nav a{display:grid;justify-items:center;gap:2px;font-size:10px;color:#8e9bb1;padding:5px 2px;border-radius:8px;position:relative}
  .hub-mobile-nav a span[aria-hidden]{font-size:17px;color:inherit}
  .hub-mobile-nav a.active{color:var(--mint);background:#0f1d2c}
  .hub-toast{bottom:76px}
  .hub-saved-card{flex-direction:column}
  .hub-saved-card img,.hub-saved-thumb{width:100%;height:150px}
}
@media(max-width:560px){
  .hub-topbar{padding:9px 12px}
  .hub-brand small{display:none}
  .hub-thread-title small{display:none}
  .hub-bubble{max-width:86%}
  .hub-filters{flex-wrap:wrap;overflow:visible;row-gap:6px}
  .hub-post-meta{margin-left:0;flex-basis:100%;justify-content:flex-start;text-align:left}
  .hub-post-head{flex-wrap:wrap}
  .hub-attachments img{width:220px;max-width:100%}
  .hub-view-head h1{font-size:25px}
  .hub-messaging{gap:10px}
}
@media(prefers-reduced-motion:reduce){
  .hub-nav-item,.hub-chip{transition:none}
}

/* ---- Hub-specific chrome fixes ------------------------------------------ */
/* The shared account menu is fixed; reserve room for it in the hub top bar so
   it never covers the dashboard link or the mobile thread actions. */
.hub-page .hub-topbar{padding-right:104px}
.hub-page .account-menu{top:10px;right:18px;z-index:70}
.hub-page .account-menu-badge{display:none}
@media(max-width:700px){
  .hub-page .hub-topbar{padding-right:92px}
  .hub-page .account-menu{top:9px;right:10px}
  .hub-page .account-menu-toggle{min-height:40px;padding:6px 8px}
  .hub-page .hub-topbar-link{display:none}
  .hub-page .hub-brand{font-size:14px}
  .hub-page .hub-brand img{width:30px;height:30px}
  .hub-typing,.hub-read-receipt{font-size:11px}
  .hub-thread-title strong{max-width:46vw}
}
@media(max-width:360px){
  .hub-page .hub-topbar{padding-right:102px}
  .hub-post-actions .hub-action{flex:0 0 auto;white-space:nowrap;padding-left:6px;padding-right:6px}
  .hub-page .hub-brand span{font-size:13px}
  .hub-page .hub-brand img{width:26px;height:26px}
  .hub-mobile-nav a{font-size:9px}
}

/* Read-only feed cards (trade ideas, events) keep a real action, not an empty bar. */
.hub-action{text-decoration:none}

/* ------------------------------------------------------------------
   Public Social Hub discovery (signed-out visitors).
   Everything here is static demonstration markup: no member content,
   no private API calls, and the full Hub stays hidden until sign-in.
   ------------------------------------------------------------------ */
.hub-site-nav{display:flex;align-items:center;gap:2px;margin:0 auto}
.hub-site-nav a{padding:7px 10px;border-radius:8px;color:#a9b4c8;font-size:12.5px;font-weight:700}
.hub-site-nav a:hover,.hub-site-nav a:focus-visible{color:var(--mint);background:#12203a}
#hub-guest.hub-guest{place-items:stretch;padding:18px}
.hub-discovery{width:100%;max-width:1120px;margin:0 auto;padding:34px 0 60px}
.hub-discovery-hero{position:relative;padding:34px 30px 32px;border:1px solid #35425a;border-radius:22px;background:linear-gradient(125deg,#0d1a2b,#151130 62%,#0b2019);overflow:hidden}
.hub-discovery-hero:before{content:"";position:absolute;inset:-50% 55% auto -15%;height:280px;background:radial-gradient(closest-side,#88ffc326,transparent)}
.hub-discovery-hero:after{content:"";position:absolute;inset:auto -10% -40% 50%;height:260px;background:radial-gradient(closest-side,#d1a0f520,transparent)}
.hub-discovery-hero h1{position:relative;margin:8px 0 0;font-size:clamp(30px,4.6vw,50px);line-height:1.06;letter-spacing:-1.6px;font-weight:900;font-style:italic;max-width:760px}
.hub-discovery-hero h1 em{display:inline-block;color:var(--mint);font-style:italic}
.hub-discovery-lede{position:relative;max-width:640px;margin:16px 0 0;color:#b8c1d4;font-size:15.5px;line-height:1.6}
.hub-discovery .hub-guest-actions{position:relative;margin-top:24px}
.hub-discovery-fine{position:relative;margin:16px 0 0;color:#7f8da4;font-size:12px;line-height:1.5;max-width:560px}
.hub-guest-status{margin-top:12px}
.hub-preview{margin-top:28px;padding:22px;border:1px solid #2f3d55;border-radius:20px;background:linear-gradient(160deg,#0c1524,#0a111c)}
.hub-preview-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.hub-preview-head h2{margin:0;font-size:19px;letter-spacing:-.4px}
.hub-preview-badge{padding:4px 10px;border:1px solid #4b405f;border-radius:999px;background:#161126;color:#c6a6ef;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.hub-preview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px}
.hub-preview-feed{display:grid;gap:12px}
.hub-preview-post{padding:16px;border:1px solid #2a3a52;border-radius:14px;background:#101a2a}
.hub-preview-post-head{display:flex;align-items:center;gap:9px;margin-bottom:11px}
.hub-preview-avatar{width:26px;height:26px;flex:none;border-radius:9px;background:linear-gradient(145deg,#2b4560,#1a2a3f)}
.hub-preview-avatar.alt{background:linear-gradient(145deg,#4a3a63,#241a3a)}
.hub-preview-tag{margin-left:auto;padding:3px 8px;border-radius:999px;background:#0e2b22;color:#a8f3cc;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.hub-preview-tag.gold{background:#26210f;color:#f2cf6b}
.hub-preview-title{margin:0 0 9px;color:#d8e0ee;font-size:13.5px;font-weight:800}
.hub-preview-line{display:block;height:7px;margin:7px 0;border-radius:6px;background:linear-gradient(90deg,#243349,#1b2738 70%,#1b2738)}
.hub-preview-line.short{width:38%}
.hub-preview-line.medium{width:64%}
.hub-preview-actions{display:flex;gap:14px;margin-top:13px;color:#6f7d93;font-size:10.5px;font-weight:700}
.hub-preview-levels{display:grid;gap:6px}
.hub-preview-levels span{height:16px;border-radius:6px;background:linear-gradient(90deg,#1c3328,#16233a 65%,#16233a)}
.hub-preview-side{display:grid;gap:12px;align-content:start}
.hub-preview-card{padding:14px 16px;border:1px solid #2a3a52;border-radius:14px;background:#101a2a}
.hub-preview-card h3{margin:0 0 10px;color:#d8e0ee;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.hub-preview-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.hub-preview-list li{display:flex;align-items:center;gap:9px}
.hub-preview-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#4a5a74}
.hub-preview-dot.mint{background:#4ad19a}
.hub-preview-dot.lav{background:#b98ce0}
.hub-preview-dot.gold{background:#e0bd5c}
.hub-preview-bubble{height:20px;border-radius:9px;background:#1c2c42;margin-bottom:7px}
.hub-preview-bubble.left{width:74%}
.hub-preview-bubble.right{width:58%;margin-left:auto;background:#1d3a30}
.hub-preview-bubble.short{width:44%}
.hub-features{margin-top:30px}
.hub-features h2{margin:0 0 14px;font-size:22px;letter-spacing:-.5px}
.hub-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hub-feature-grid article{padding:18px;border:1px solid #2c3a52;border-radius:16px;background:linear-gradient(150deg,#0f1928,#0c1421)}
.hub-feature-grid h3{margin:0 0 7px;color:var(--mint);font-size:14px;letter-spacing:-.2px}
.hub-feature-grid p{margin:0;color:#a3aec2;font-size:12.5px;line-height:1.55}
.hub-membership{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px;margin-top:28px;padding:24px 26px;border:1px solid #3f5b4e;border-radius:20px;background:linear-gradient(125deg,#08241d,#0b1622 70%)}
.hub-membership h2{margin:0;font-size:21px;letter-spacing:-.4px}
.hub-membership-list{margin:12px 0 0;padding-left:18px;color:#b6c2d2;font-size:13px;line-height:1.7}
.hub-membership-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:900px){
  .hub-preview-grid{grid-template-columns:1fr}
  .hub-feature-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .hub-discovery{padding:20px 0 40px}
  .hub-discovery-hero{padding:24px 18px}
  .hub-preview{padding:16px}
  .hub-feature-grid{grid-template-columns:1fr}
  .hub-membership{padding:20px}
  .hub-site-nav{display:none}
  .hub-guest-actions{flex-direction:column;align-items:stretch}
  .hub-guest-actions .button-link{justify-content:center;text-align:center}
}
