/* Readability pass: make everyday text comfortable without changing layout. */
body{font-size:15px;line-height:1.65}
p{line-height:1.65}
.sidebar .nav-item{font-size:13.5px!important;min-height:46px}
.sidebar .nav-caption{font-size:10.5px!important;letter-spacing:1.5px}
.sidebar .sidebar-profile-card strong{font-size:13px!important}
.sidebar .sidebar-profile-card small{font-size:10.5px!important}
.breadcrumb{font-size:12.5px!important}
.header-panel .header-panel-heading h2{font-size:18px!important}
.header-search input{font-size:14px!important}
.account-panel a,.account-panel button{font-size:13px!important;min-height:40px!important}
.btn{font-size:13px!important}
.btn-small{font-size:11.5px!important}
.field{font-size:12.5px!important;line-height:1.5}
.field small{font-size:11px!important;line-height:1.55}
.field input,.field select,.field textarea{font-size:14.5px!important}
.tag,.status-pill{font-size:10.5px!important;line-height:1.5}
.eyebrow{font-size:10px!important;line-height:1.5}
.page-intro p,.welcome-line p,.hero p,.section-heading p{font-size:14px!important;line-height:1.7}
.panel p{font-size:13.5px;line-height:1.7}
.panel small{font-size:11.5px}
.muted{font-size:12.5px;line-height:1.65}
.conversation-copy p,.conversation-copy small{font-size:11.5px!important}
.section-heading h2{font-size:22px}
.section-heading p{font-size:12.5px!important}

/* Chat */
.thread-person-details strong{font-size:15px!important}
.thread-person-sub{font-size:11.5px!important}
.message-bubble p{font-size:14.5px!important;line-height:1.6}
.message-bubble>small{font-size:10px!important}
.message-compose>input{font-size:15px!important}
.chat-quick-replies button,.chat-quick-replies span{font-size:11.5px!important}
.chat-compose-hint{font-size:10.5px!important}
.call-history-copy{font-size:13.5px!important}
.chat-aside-companion-card p,.chat-side-safety-card p{font-size:12.5px!important;line-height:1.7}

/* Timeline */
.timeline-hero p{font-size:14px!important}
.timeline-hero-stats span{font-size:11px!important}
.timeline-hero-stats strong{font-size:12px!important}
.timeline-feed-tabs a{font-size:12px!important}
.timeline-story-heading h2{font-size:19px!important}
.timeline-story-heading>a{font-size:11.5px!important}
.timeline-quick-compose>div>button{font-size:14px!important}
.timeline-quick-compose footer>button,.timeline-quick-compose footer>a{font-size:11.5px!important}
.timeline-feed-page .post-author strong{font-size:13.5px!important}
.timeline-feed-page .post-author small{font-size:11px!important}
.timeline-feed-page .post-body{font-size:15px!important;line-height:1.75}
.timeline-feed-page .post-interactions .btn,.timeline-feed-page .post-comment-focus,.timeline-feed-page .post-share{font-size:11.5px!important}
.timeline-feed-page .post-comments p{font-size:12.5px!important}
.timeline-rail-card h2{font-size:18px!important}
.timeline-rail-card p,.timeline-rail-note{font-size:12px!important}
.timeline-trending-tags a{font-size:11px!important}
.timeline-person-row strong{font-size:12.5px!important}
.timeline-room-shortcut strong{font-size:12.5px!important}
.timeline-room-shortcut small{font-size:11px!important}

/* Offers */
.offer-request-compact .field{font-size:12px!important}
.offer-request-compact .field input,.offer-request-compact .field select,.offer-request-compact .field textarea{font-size:14px!important}
.offer-balance-inline,.offer-transaction-fee-note,.offer-fee-breakdown{font-size:11px!important;line-height:1.6}
.offer-author-tagline{font-size:12px!important}
.offer-author-meta{font-size:10.5px!important}
.offer-author-services span{font-size:10px!important}
.offer-created-banner,.offer-money-note{font-size:12.5px!important;line-height:1.7}
.board-card h2{font-size:23px}
.board-card p{font-size:13.5px!important}

/* Profile */
.profile-bio,.profile-headline{font-size:14px!important;line-height:1.8}
.profile-details dt,.profile-details dd{font-size:12.5px!important}
.profile-details small{font-size:11px!important}
.profile-availability-toggle .availability-copy strong{font-size:11.5px!important}
.profile-availability-toggle .availability-copy small{font-size:10px!important}
.service-row strong{font-size:14px!important}
.service-row small{font-size:12px!important}

/* Mobile: larger reading size and a clearer bottom dock */
@media(max-width:850px){
  body{font-size:16px}
  .page{padding-bottom:116px}
  .topbar .breadcrumb{font-size:13px!important}
  .header-actions .icon-button{width:40px!important;height:40px!important}
  .mobile-nav{
    left:0;right:0;bottom:0;z-index:58;
    gap:1px;justify-content:space-between;
    padding:7px 3px calc(7px + env(safe-area-inset-bottom));
    border:1px solid var(--line);border-bottom:0;
    border-radius:18px 18px 0 0;
    background:color-mix(in srgb,var(--surface) 94%,transparent)!important;
    box-shadow:0 -10px 35px color-mix(in srgb,var(--ink) 10%,transparent);
    backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
  }
  .mobile-nav a{
    flex:1 1 0;min-width:0;min-height:56px;gap:3px;
    padding:6px 0 5px;border-radius:13px;
    font-size:11px!important;line-height:1.25;font-weight:600;letter-spacing:-.1px;
    text-align:center
  }
  .mobile-nav a span:not(.nav-live-count){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-nav .icon,.mobile-nav .icon-3d,.mobile-nav hoom-icon,.mobile-nav svg{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important}
  .mobile-nav a.active{background:var(--lavender);color:var(--accent);font-weight:800}
  .mobile-nav a.active .icon,.mobile-nav a.active .icon-3d,.mobile-nav a.active hoom-icon{transform:translateY(-2px) scale(1.12)}
  .mobile-nav .nav-live-count{top:2px;right:8px;font-size:9px;min-width:16px;height:16px}
  .btn{min-height:42px;padding:9px 14px;font-size:13.5px!important}
  .btn-small{min-height:38px;padding:7px 12px;font-size:12.5px!important}
  .icon-button{min-width:40px;min-height:40px}
  .icon-button .icon,.icon-button svg{width:20px!important;height:20px!important}
  .btn .icon,.btn svg{width:18px!important;height:18px!important}
  .field input,.field select,.field textarea,.message-compose>input{font-size:16px!important}
  .message-bubble p{font-size:15px!important}
  .thread-person-details strong{font-size:14px!important}
  .has-active-chat .conversation-page .thread-layout>div,
  .has-active-chat .thread-panel,
  .chat-header,
  .message-compose{width:100%!important;max-width:100%!important;min-width:0!important}
  .chat-header .thread-header-main{min-width:0!important;width:100%!important;max-width:100%!important;gap:6px!important;padding:8px 8px!important}
  .chat-header .chat-back-btn{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex:0 0 38px!important}
  .chat-header .thread-person{max-width:110px!important;gap:6px!important;min-width:0}
  .chat-header .thread-avatar-wrap img{width:34px!important;height:34px!important}
  .chat-header .thread-person-sub{display:none!important}
  .chat-header .thread-header-controls{gap:5px!important;min-width:0}
  .chat-header .thread-header-controls .icon-button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex:0 0 36px!important}
  .chat-header .btn-offer-header{height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:11.5px!important;flex:0 0 auto}
  .chat-header .chat-safety-menu>summary{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
  .thread-panel{min-width:0!important}
  .message-compose{min-width:0!important;width:100%!important;padding:6px 6px!important;gap:4px!important}
  .message-compose>input{min-width:0!important;font-size:15px!important}
  .chat-compose-actions{min-width:0!important;gap:4px!important}
  .chat-compose-actions .icon-button,.chat-send-btn,.composer-round{width:40px!important;min-width:40px!important;height:40px!important;flex:0 0 40px!important}
  .composer-round .icon,.composer-round svg{width:20px!important;height:20px!important}
  .chat-quick-replies{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px}
  .chat-quick-replies::-webkit-scrollbar{display:none}
  .chat-quick-replies>*{flex:0 0 auto}
  .timeline-feed-tabs a{font-size:12px!important}
  .timeline-feed-page .post-body{font-size:15px!important}
  .offer-request-compact .field input,.offer-request-compact .field select,.offer-request-compact .field textarea{font-size:15px!important}
  .btn{font-size:13px!important}
  .field{font-size:13px!important}
}
@media(max-width:380px){
  .mobile-nav a{font-size:10.5px!important;min-height:54px}
  .mobile-nav .icon,.mobile-nav .icon-3d,.mobile-nav hoom-icon,.mobile-nav svg{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
}

/* Chat: five readable rows, framed media, paste counter */
.message-stream{min-height:clamp(340px,52vh,460px)}
.chat-attachment{display:block;max-width:min(100%,440px);padding:6px;border:1px solid var(--line);border-radius:16px;background:var(--canvas);overflow:hidden}
.chat-attachment a{display:block;line-height:0}
.chat-attachment img{display:block;width:auto;max-width:100%;max-height:340px;margin:0 auto;border-radius:11px;background:var(--surface);object-fit:contain}
.chat-attachment--video video{display:block;width:100%;aspect-ratio:16/9;max-height:340px;border-radius:11px;background:#10120f;object-fit:contain}
.chat-attachment audio{display:block;width:100%;min-width:min(250px,100%);max-width:340px;height:44px;margin:2px 0}
.chat-attachment--voice{padding:6px 2px;width:100%;min-width:min(260px,100%);box-sizing:border-box}
.chat-character-count{margin:0;padding:0 12px 5px;text-align:right;font-size:10px;line-height:1.4;color:var(--muted);background:var(--surface)}
.chat-character-count.is-near{color:var(--accent);font-weight:700}
@media(max-width:640px){
  .message-stream{min-height:clamp(340px,54vh,430px)}
  .chat-attachment{max-width:100%;padding:5px;border-radius:14px}
  .chat-attachment img,.chat-attachment--video video{max-height:260px;border-radius:9px}
  .chat-attachment audio{max-width:100%}
  .chat-character-count{padding-right:9px;font-size:10.5px}
}
.header-balance{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:11px;font-weight:800;white-space:nowrap;text-decoration:none;transition:border-color .18s,background .18s}
.header-balance:hover{border-color:var(--accent);background:var(--lavender);color:var(--accent)}
.header-balance .icon{width:14px;height:14px;color:var(--accent)}
@media(max-width:640px){.header-balance{height:34px;padding:0 8px;font-size:10.5px;gap:0}.header-balance .icon{display:none}.header-balance span{max-width:76px;overflow:hidden;text-overflow:ellipsis}}
