/* FUREBATO ARENA - mobile-first navigation, private messages and profiles */
body{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
.hub-tabs{position:fixed;inset:auto 0 0;z-index:50;display:flex;justify-content:center;gap:0;
  padding:8px max(14px,env(safe-area-inset-left,0px)) calc(9px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-right,0px));
  background:rgba(12,23,43,.97);border-top:1px solid #405675;box-shadow:0 -10px 32px #0006;backdrop-filter:blur(18px)}
.hub-tab{position:relative;min-width:95px;max-width:240px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  background:transparent;border:0;color:#90a3c0;border-radius:12px;padding:6px 12px;font-size:11px;font-weight:800;line-height:1.2}
.hub-tab svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hub-tab[aria-current=page]{color:#ffca78;background:#243750}
.hub-dot{position:absolute;top:4px;left:calc(50% + 11px);width:8px;height:8px;border-radius:50%;background:#ff856d;box-shadow:0 0 0 2px #0b172b}
.hub-screen{width:min(1060px,calc(100% - 32px));margin:26px auto 50px;min-height:calc(100dvh - 230px)}
.hub-section-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}
.hub-section-head h2{margin:0;font-size:clamp(24px,3vw,33px);letter-spacing:-.03em}
.hub-section-head p{margin:2px 0 0;font-size:12px;color:#9fb3cf}
.hub-quiet{color:#9caec8;font-size:13px;line-height:1.8}
.hub-empty{border:1px dashed #405776;background:#15233a;border-radius:17px;text-align:center;padding:36px 20px;color:#b7c9e4}
.hub-empty-icon{display:block;font-size:30px;margin-bottom:7px}
.hub-empty h3{font-size:17px;margin:2px 0 6px;color:#f4f8ff}
.hub-empty p{margin:5px 0 15px;max-width:430px;display:inline-block}
.hub-chat-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.55fr);min-height:570px;
  border:1px solid #344c69;border-radius:19px;overflow:hidden;background:#122039;box-shadow:0 16px 32px #0003}
.hub-conversations{border-right:1px solid #344c69;max-height:650px;overflow-y:auto}
.hub-list-head{padding:18px;border-bottom:1px solid #344c69;display:flex;justify-content:space-between;align-items:center}
.hub-list-head strong{font-size:13px;color:#e7efff}
.hub-list-head button{background:#213653;color:#d7e7ff;border:1px solid #385676;border-radius:9px;padding:5px 10px;font-size:12px}
.hub-convo{display:flex;text-align:left;gap:12px;width:100%;padding:16px;border:0;border-bottom:1px solid #263d57;color:#f4f8ff;background:transparent;align-items:center}
.hub-convo:hover,.hub-convo.selected{background:#253b5e}
.hub-convo-icon,.hub-avatar{flex:none;background:linear-gradient(135deg,#304e82,#4e6ea8);border:1px solid #647cab;border-radius:14px;
  width:48px;height:48px;display:grid;place-items:center;color:#ffdc92;font-size:23px;font-weight:900}
.hub-convo-info{min-width:0;flex:1;display:grid;gap:2px}
.hub-convo-title{font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.hub-convo-preview{font-size:12px;color:#91a7c5;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.hub-convo-time{font-size:10px;color:#9eafc8}
.hub-unread{height:8px;width:8px;border-radius:50%;background:#ffbf67;margin-left:6px}
.hub-thread{min-width:0;display:flex;flex-direction:column;height:650px}
.hub-thread-header{padding:14px 18px;display:flex;gap:12px;align-items:center;border-bottom:1px solid #344c69;min-height:78px}
.hub-thread-header .hub-avatar{height:39px;width:39px;font-size:20px;border-radius:12px}
.hub-thread-info{flex:1;min-width:0}
.hub-thread-title{font-weight:900;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-thread-info small{font-size:11px;color:#96aecb}
.hub-back{border:0;background:transparent;color:#e8f2ff;font-size:23px;padding:6px;display:none}
.hub-chat-messages{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:22px 18px;overscroll-behavior:contain}
.hub-msg{max-width:min(82%,480px);display:flex;flex-direction:column;align-self:flex-start;gap:4px}
.hub-msg.mine{align-self:flex-end;align-items:flex-end}
.hub-bubble{border-radius:16px 16px 16px 4px;background:#283e5d;border:1px solid #456182;padding:10px 14px;
  line-height:1.65;color:#f1f6ff;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.hub-msg.mine .hub-bubble{border-color:#ad8c56;background:#73572e;color:#fff4de;border-radius:16px 16px 4px 16px}
.hub-msg-meta{font-size:10px;color:#8b9db9;display:flex;align-items:center;gap:8px}
.hub-report{background:transparent;border:0;padding:0;color:#8aa4c8;font-size:10px;text-decoration:underline}
.hub-composer{border-top:1px solid #334c68;padding:13px;display:flex;align-items:end;gap:9px}
.hub-composer textarea{flex:1;resize:vertical;min-height:44px;max-height:132px;background:#0d192c;border:1px solid #405c7f;
  color:#f3f8ff;padding:10px 12px;border-radius:11px;font-size:14px;line-height:1.5}
.hub-composer textarea:focus{outline:2px solid #ffca78;outline-offset:1px}
.hub-composer button{border:0;border-radius:10px;padding:12px 18px;background:linear-gradient(135deg,#ffdb86,#ffa95d);color:#142239;font-weight:900;flex:none}
.hub-composer button:disabled{opacity:.55}
.hub-chat-placeholder{display:grid;place-items:center;flex:1;text-align:center;color:#9cb0cd;padding:24px}
.hub-profile-card{max-width:650px;background:#172641;border:1px solid #395071;border-radius:20px;padding:24px;box-shadow:0 14px 34px #0003}
.hub-profile-header{display:flex;gap:15px;align-items:center;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid #334865}
.hub-profile-header h3{margin:0;font-size:21px;overflow-wrap:anywhere}
.hub-profile-header p{margin:4px 0 0;color:#96accb;font-size:12px}
.hub-field{margin:0 0 17px}
.hub-field label{display:block;font-size:12px;font-weight:850;color:#d6e6fa;margin-bottom:7px}
.hub-field input,.hub-field textarea{display:block;width:100%;background:#0c182b;border:1px solid #3a5373;color:#f6f9ff;border-radius:10px;padding:11px 13px;font-size:14px}
.hub-field textarea{resize:vertical;min-height:96px}
.hub-field small{display:block;margin-top:5px;color:#99abc6;font-size:11px}
.hub-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hub-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;align-items:center}
.hub-profile-actions button{border-radius:10px;padding:11px 20px;font-size:13px;font-weight:900}
.hub-save{background:linear-gradient(135deg,#ffda84,#ffad62);border:0;color:#17253a}
.hub-secondary{background:#233952;color:#ecf4ff;border:1px solid #3e5778}
.hub-status{font-size:12px;min-height:20px;color:#d1edca}
.hub-note{margin-top:20px;border:1px solid #385373;background:#13243c;padding:13px 16px;border-radius:11px;color:#9eb5d4;font-size:12px}
body[data-hub-view="chat"] #top>.push-bar,body[data-hub-view="chat"] #top>.hero,
body[data-hub-view="chat"] #top>.board-section,body[data-hub-view="chat"] #top>.private-section,
body[data-hub-view="chat"] #top>.guide-section,
body[data-hub-view="profile"] #top>.push-bar,body[data-hub-view="profile"] #top>.hero,
body[data-hub-view="profile"] #top>.board-section,body[data-hub-view="profile"] #top>.private-section,
body[data-hub-view="profile"] #top>.guide-section{display:none!important}
body[data-hub-view="chat"]>.footer,body[data-hub-view="profile"]>.footer{display:none}
@media(max-width:650px){
  .hub-screen{width:calc(100% - 24px);margin:20px auto 30px}
  .hub-chat-layout{display:block;min-height:calc(100dvh - 255px)}
  .hub-conversations{max-height:calc(100dvh - 255px);border-right:0}
  .hub-thread{height:calc(100dvh - 215px);min-height:390px}
  .hub-chat-layout.thread-open .hub-conversations{display:none}
  .hub-chat-layout:not(.thread-open) .hub-thread{display:none}
  .hub-back{display:block}
  .hub-section-head h2{font-size:25px}
  .hub-profile-card{padding:17px}
  .hub-profile-grid{grid-template-columns:1fr;gap:0}
  .hub-tab{min-width:0;padding:7px 4px;font-size:11px}
  .hub-composer{padding:10px;gap:7px}
  .hub-composer button{padding:12px 14px}
}

.hub-peer-button{border:1px solid #4d6583;border-radius:9px;background:#203654;color:#eaf3ff;font-size:11px;padding:7px 10px;white-space:nowrap}
.hub-partner-name{font-size:23px;color:#ffd38a;font-weight:900;margin:2px 0 16px}
.hub-partner-line{border-top:1px solid #394d6b;padding:10px 0;font-size:13px;color:#d8e6f9;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:650px){.hub-peer-button{font-size:10px;padding:5px 7px;max-width:88px;white-space:normal;line-height:1.3}}

/* Account-linked chat push opt-in on the Chats tab */
.hub-chat-push{margin-bottom:15px;padding:12px 15px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  border:1px solid #385373;background:#14253c;border-radius:12px;color:#c4d7f0;font-size:12px}
.hub-chat-push span{flex:1;min-width:180px;line-height:1.6}
.hub-chat-push button{flex:none;font-size:12px;padding:9px 12px}
@media(max-width:650px){.hub-chat-push button{width:100%}}

/* Public profile directory and user-selected photos */
.hub-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.hub-avatar,.hub-convo-icon{position:relative;overflow:hidden}
.hub-avatar-settings{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:-7px 0 14px}
.hub-avatar-settings .hub-secondary,.hub-directory-search button,.hub-directory-more{border-radius:10px;padding:9px 14px;font-size:12px;font-weight:800;cursor:pointer}
.hub-file-label{display:inline-flex;align-items:center}
.hub-avatar-settings button[hidden]{display:none}
#hubAvatarStatus{font-size:12px;color:#c4dfba}
.hub-directory{margin-top:32px;padding-top:25px;border-top:1px solid #394f70}
.hub-directory-search{display:flex;gap:9px;margin:0 0 17px;max-width:600px}
.hub-directory-search input{flex:1;min-width:0;border:1px solid #445b79;border-radius:10px;background:#101e33;color:#eef6ff;padding:11px 12px;font-size:14px}
.hub-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px}
.hub-directory-card{display:flex;gap:10px;align-items:center;text-align:left;min-width:0;background:#182840;border:1px solid #415979;color:#f2f7ff;border-radius:14px;padding:12px;cursor:pointer}
.hub-directory-card:hover,.hub-directory-card:focus-visible{background:#274363;border-color:#ddb06b}
.hub-directory-avatar{width:53px;height:53px;flex:none}
.hub-directory-details{display:flex;flex-direction:column;min-width:0;gap:3px}
.hub-directory-details strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-directory-details small{font-size:11px;color:#9fb6d5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-directory-more{margin:15px auto 5px;display:block}
.hub-directory-more[hidden]{display:none}
.hub-public-heading{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.hub-public-avatar{width:76px;height:76px;border-radius:18px}
.hub-public-actions{padding:12px 20px 20px}
.hub-public-actions button{cursor:pointer}
.hub-view-profile{margin-left:auto;flex:none;border:1px solid #547293;background:#1c344e;color:#f5e0b6;font-weight:800;border-radius:9px;padding:7px;font-size:11px;cursor:pointer}
@media(max-width:600px){.hub-directory-grid{grid-template-columns:1fr 1fr;gap:9px}.hub-directory-card{padding:9px;gap:8px}.hub-directory-avatar{width:44px;height:44px}.hub-directory-details strong{font-size:12px}.hub-view-profile{font-size:10px;padding:6px}}

.poster-line .avatar{position:relative;overflow:hidden}
