/* V208 — account bottom navigation is always 4 tabs: 论坛 / 高手榜 / 热门网站 / 账户. */
.v186-bottom.v189-bottom-three{
  grid-template-columns:repeat(4,1fr)!important;
  height:58px;
  padding-bottom:env(safe-area-inset-bottom);
  border-top:1px solid #c8c8c8;
  background:rgba(255,255,255,.98);
}
.v186-bottom.v189-bottom-three a{font-size:12px;gap:1px;color:#6f6f6f}
.v186-bottom.v189-bottom-three .v187-nav-icon{width:25px;height:26px}
.v186-bottom.v189-bottom-three a.on{color:#d42d4f}
.v186-bottom.v207-bottom-four.v207-has-hot{grid-template-columns:repeat(4,1fr)!important}
.v186-bottom.v207-bottom-four .v207-hot-site{color:#8a73cf}
.v186-account{padding-bottom:calc(58px + env(safe-area-inset-bottom))!important}
.v186-page{padding-bottom:calc(58px + env(safe-area-inset-bottom));box-sizing:border-box}
.v186-board-list{padding-bottom:calc(126px + env(safe-area-inset-bottom))!important}
.v186-board-compose{bottom:calc(58px + env(safe-area-inset-bottom))!important}

/* Larger, clearer top-left return control on all account sub pages. */
.v186-page .v186-head>a:first-child{
  font-family:Arial,"Helvetica Neue",sans-serif!important;
  font-size:44px!important;
  font-weight:300!important;
  line-height:1!important;
  padding:0 0 5px!important;
  overflow:visible;
}
.v186-contacts .v186-head>a:first-child,.v186-manage .v186-head>a:first-child{font-size:44px!important}
@media(max-width:420px){
  .v186-page .v186-head>a:first-child,.v186-contacts .v186-head>a:first-child,.v186-manage .v186-head>a:first-child{font-size:42px!important}
}

/* Recent contacts are real chat targets. Keep the recording's row geometry. */
.v189-contact-chat{position:relative}
.v189-contact-chat .v189-unread{min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ef4a4a;color:#fff;font-size:11px;line-height:18px;text-align:center;font-style:normal;box-sizing:border-box}
.v189-contact-chat .v189-row-tail{display:flex;align-items:center;gap:7px;color:#aaa;font-size:18px}
.v189-contact-chat small.v189-preview{max-width:218px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v189-request-actions{display:flex;align-items:center;gap:7px}
.v189-request-actions form{margin:0}
.v189-request-actions button{height:29px;padding:0 10px;border:0;border-radius:3px;font-size:13px;cursor:pointer}
.v189-request-actions .ok{background:#19a9d5;color:#fff}.v189-request-actions .no{background:#eee;color:#666}
.v189-unblock{height:29px;padding:0 9px;border:0;border-radius:3px;background:#eee;color:#666;font-size:13px}
.v189-contact-empty-note{text-align:center;color:#999;font-size:13px;padding:8px 0 14px}

/* Finance rows now carry live request status and actionable pending recharge entries. */
.v186-finance-table-head .v189-direction{color:inherit;text-decoration:none;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.v186-finance-row.v189-pending{background:#fffaf3}
.v186-finance-row.v189-rejected{background:#fafafa;color:#999}
.v186-finance-row .v189-finance-note{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}
.v186-finance-row .v189-finance-note span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v189-finance-status{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:17px;padding:0 5px;border-radius:9px;font-size:10px;line-height:17px;box-sizing:border-box}
.v189-finance-status.pending{background:#fff0d6;color:#c27b00}.v189-finance-status.approved{background:#e6f7ed;color:#18834e}.v189-finance-status.rejected{background:#f1f1f1;color:#888}
.v189-finance-pay{color:#d62b4b;text-decoration:none;font-size:11px;white-space:nowrap}
.v189-finance-amount.muted{color:#b88936!important}

@media(max-width:420px){
  .v186-bottom.v189-bottom-three{height:56px}
  .v186-account{padding-bottom:calc(56px + env(safe-area-inset-bottom))!important}
  .v186-page{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
  .v186-board-compose{bottom:calc(56px + env(safe-area-inset-bottom))!important}
  .v186-board-list{padding-bottom:calc(122px + env(safe-area-inset-bottom))!important}
  .v189-contact-chat small.v189-preview{max-width:185px}
}

/* Contact shortcut state badges: real unread system messages / pending friend requests. */
.v186-contact-shortcuts .v189-shortcut-icon{position:relative;display:inline-flex;align-items:center;justify-content:center}
.v186-contact-shortcuts .v189-shortcut-icon>img{display:block}
.v189-shortcut-badge{position:absolute;right:-7px;top:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:#ef4c55;color:#fff;border:2px solid #fff;box-sizing:content-box;font:10px/17px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;text-align:center;font-style:normal}
.v189-system-row .v189-row-tail{margin-left:auto;display:flex;align-items:center;gap:5px;white-space:nowrap}
.v189-system-row .v189-row-tail small{color:#aaa;font-size:10px}
.v189-system-row .v189-row-tail b{font-size:20px;font-weight:300;color:#aaa}
.v189-finance-adminnote{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a5a5a5;font-size:9px;font-style:normal}

/* Private chat entered from recent contacts: proper back/header alignment above fixed 3-tab nav. */
.v189-private-chat{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
.v189-private-chat-head{height:52px;background:#fff;border-bottom:1px solid #e2e2e2;display:grid;grid-template-columns:52px 1fr 52px;align-items:center;position:sticky;top:0;z-index:30}
.v189-private-chat-head>a:first-child{height:52px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#555;font:300 44px/1 Arial,"Helvetica Neue",sans-serif;padding-bottom:5px;box-sizing:border-box}
.v189-private-chat-head .person{min-width:0;text-align:center;text-decoration:none;color:#333}
.v189-private-chat-head .person b{display:block;font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v189-private-chat-head .person small{display:block;margin-top:2px;color:#999;font-size:10px}
.v189-private-chat-head>span{width:52px}
@media(max-width:420px){.v189-private-chat-head>a:first-child{font-size:42px}}
.v186-contact-shortcuts .v189-shortcut-icon{margin:0 auto 7px}
.v186-contact-shortcuts .v189-shortcut-icon>img{margin:0!important}
.v186-contact-shortcuts i.v189-shortcut-badge{display:block!important;width:auto!important;min-width:17px!important;height:17px!important;margin:0!important;border-radius:10px!important;background:#ef4c55!important;color:#fff!important;font-size:10px!important;line-height:17px!important}
