﻿/* 必看榜/热搜榜图标下沉 2px，别顶着文字 */
.searchbar .phb {
  display: inline-block;
  transform: translateY(2px);
}
.mx-vip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  min-width: 28px;
  height: 14px;
  line-height: 14px;
  font-size: 8px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: .15px;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow:
    0 2px 4px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.25);
}
.mx-vip-badge--vip {
  color: #f2cf7b;
  background-image:
    radial-gradient(120% 120% at 20% 0%, rgba(255,236,190,.45) 0%, rgba(255,236,190,0) 55%),
    linear-gradient(135deg,#0f1115 0%,#151820 45%,#2a2214 100%);
  border-color: rgba(212,175,55,.5);
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
  box-shadow: none;
}
.mx-vip-badge--free {
  color: #0d4a2b;
  background-image:
    radial-gradient(120% 120% at 20% 0%, rgba(232,255,245,.9) 0%, rgba(232,255,245,0) 55%),
    linear-gradient(135deg,#dff7ea 0%,#8fdcb7 50%,#46b781 100%);
  border-color: rgba(33,130,85,.4);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
  box-shadow: none;
}
.module-item-cover .mx-vip-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 7;
}
@media (max-width: 559px) {
  :root {
    --mx-mobile-top-right-width: 112px;
    --mx-mobile-top-right-gap: 2px;
  }

  .homepage .navbar {
    width: calc(100vw - 112px);
  }

  .navbar.open,
  .page .navbar {
    width: calc(100vw - 118px);
  }

  .side-op {
    width: var(--mx-mobile-top-right-width);
    padding-right: 0;
    box-shadow: none !important;
  }

  .side-op .header-op-list {
    width: var(--mx-mobile-top-right-width);
    justify-content: flex-end;
  }

  .searchbar > a[href*="label/hot"] {
    display: none;
  }

  .searchbar .search-input {
    min-width: 0;
    flex: 1 1 auto;
  }

  .searchbar .search-btn {
    flex: 0 0 50px;
  }
}
.mx-rank-inline-badge {
  margin-left: auto;
  flex-shrink: 0;
}
.banner.mx-banner-has-badge {
  position: relative;
}
.mx-slide-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
}
.mx-slide-inline-badge {
  margin-left: 4px;
  transform: scale(.86);
  transform-origin: left center;
  vertical-align: middle;
}

    .header .search-box.nonenav {display:flex!important;}
    .homepage .side-op:not(.open) .header-op-search{display:none!important;}
    .mac_user.is-loading{
        pointer-events:none;
        cursor:wait;
        user-select:none;
    }
    .header-op-user.main-btn.is-loading,
    .mac_user.btnlogin.is-loading{
        position:relative;
        padding-right:34px;
        opacity:.92;
    }
    .header-op-user.main-btn.is-loading::after,
    .mac_user.btnlogin.is-loading::after,
    .member_group .mac_user.is-loading::after{
        content:"";
        position:absolute;
        top:50%;
        width:14px;
        height:14px;
        margin-top:-7px;
        border:2px solid rgba(255,255,255,.45);
        border-top-color:#fff;
        border-radius:50%;
        animation:mx-login-spin .72s linear infinite;
    }
    .header-op-user.main-btn.is-loading::after,
    .mac_user.btnlogin.is-loading::after{
        right:12px;
    }
    .member_group .mac_user.is-loading{
        position:relative;
    }
    .member_group .mac_user.is-loading::after{
        left:50%;
        margin-left:-7px;
    }
    .member_group .mac_user.is-loading img{
        opacity:.4;
    }
    @keyframes mx-login-spin{
        to{transform:rotate(360deg);}
    }

    .member_group .user_list_drop .logout .mx-logout-form{
        margin:0;
    }
    .member_group .user_list_drop .logout .mx-logout-link{
        border:0;
        background:transparent;
        color:inherit;
        font-family:inherit;
        font-size:inherit;
        font-weight:inherit;
        text-align:left;
        cursor:pointer;
    }

.global-notify-badge{
    position:absolute;
    top:-2px;
    right:-2px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-radius:999px;
    background:#ff4f64;
    display:none;
    color:#fff;
    font-size:11px;
    line-height:16px;
    text-align:center;
    box-shadow:0 0 8px rgba(255,79,100,0.6);
}
.menu-notify-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    height:18px;
    padding:0 5px;
    font-size:11px;
    line-height:18px;
    border-radius:999px;
    background:#ff4f64;
    color:#fff;
}
.menu-notify-pill.is-hidden{
    display:none;
}
.liuyan-reply-badge{
    display:none;
}
.js-open-global-notify.notify-entry{
    position:relative;
    display:flex;
    align-items:center;
    gap:6px;
    line-height:inherit;
    color:inherit;
    white-space:nowrap;
    padding-right:28px;
}
.js-open-global-notify.notify-entry .notify-icon{
    width:18px;
    height:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}
.js-open-global-notify.notify-entry .notify-icon svg{
    width:100%;
    height:100%;
    display:block;
    fill:currentColor;
}
.js-open-global-notify.notify-entry .notify-label{
    display:inline-flex;
    align-items:center;
    flex:1;
    min-width:0;
    margin-left:-8px;
}
.js-open-global-notify.notify-entry .menu-notify-pill{
    position:absolute;
    top:2px;
    right:1px;
    transform:none;
}
.global-notify-layer{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
}
.global-notify-layer.is-active{
    display:block;
}
.global-notify-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}
.global-notify-panel{
    position:absolute;
    top:70px;
    right:20px;
    width:min(440px,92vw);
    max-height:72vh;
    background:#1f2230;
    color:#f7f8ff;
    border-radius:20px;
    box-shadow:0 30px 80px rgba(5,10,30,0.6);
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.global-notify-panel__header{
    padding:18px 22px;
    border-bottom:1px solid rgba(255,255,255,0.05);
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.global-notify-panel__title{
    font-weight:600;
    font-size:16px;
}
.global-notify-panel__subtitle{
    font-size:13px;
    color:#8e93b8;
    margin-top:4px;
}
.global-notify-panel__close{
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
    color:#c2c5db;
}
.global-notify-panel__body{
    flex:1;
    background:#181b28;
    overflow:auto;
    scrollbar-width:thin;
    scrollbar-color:#3f4567 transparent;
}
.global-notify-panel__body::-webkit-scrollbar{
    width:8px;
}
.global-notify-panel__body::-webkit-scrollbar-track{
    background:transparent;
    border-radius:999px;
}
.global-notify-panel__body::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#3f4567,#2b3047);
    border-radius:999px;
}
.global-notify-panel__body::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,#4e5478,#3b405e);
}
.global-notify-list{
    list-style:none;
    margin:0;
    padding:0;
}
.global-notify-item{
    padding:14px 18px;
    border-bottom:1px solid rgba(255,255,255,0.04);
    display:block;
}
.global-notify-main{
    display:flex;
    align-items:flex-start;
    gap:14px;
}
.global-notify-item:last-child{
    border-bottom:none;
}
.global-notify-item.is-unread{
    background:rgba(255,255,255,0.02);
}
.global-notify-avatar{
    position:relative;
    width:46px;
    height:46px;
    border-radius:50%;
    flex-shrink:0;
    box-shadow:0 10px 18px rgba(0,0,0,0.45);
}
.global-notify-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}
.global-notify-indicator{
    position:absolute;
    right:-2px;
    bottom:-2px;
    width:22px;
    height:22px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    color:#fff;
    border:2px solid #1f2230;
    background:linear-gradient(135deg,#3e7cff,#2fbdf5);
}
.global-notify-indicator svg{
    width:14px;
    height:14px;
    display:block;
    fill:#fff;
}
.global-notify-indicator svg path,
.global-notify-indicator svg circle,
.global-notify-indicator svg rect,
.global-notify-indicator svg polygon,
.global-notify-indicator svg polyline{
    fill:#fff;
    stroke:none;
}
.global-notify-indicator.is-like{
    background:linear-gradient(135deg,#ff5f6d,#ffc371);
}
.global-notify-content{
    flex:1;
    min-width:0;
}
.global-notify-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}
.global-notify-name{
    font-weight:600;
    color:#ffffff;
    max-width:70%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.global-notify-time{
    font-size:12px;
    color:#8e93b8;
    flex-shrink:0;
}
.global-notify-action{
    font-size:13px;
    color:#c5c8d3;
    margin-top:2px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.global-notify-action__text{
    flex:1;
    min-width:0;
    line-height:1.5;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
}
.global-notify-action__prefix{
    color:#2f80ed;
    font-weight:600;
    margin-right:4px;
}
.global-notify-action__text.admin-notice{
    white-space:pre-wrap;
    word-break:break-word;
    -webkit-line-clamp:unset;
    overflow:visible;
}
.global-notify-admin-label{
    font-weight:700;
    color:#d4af37;
    margin-right:4px;
    display:inline-block;
}
.global-notify-action__comment{
    color:#9c9c9c;
}
.global-notify-action__like{
    color:#ff4f64;
    font-weight:600;
}
.global-notify-excerpt{
    font-size:13px;
    color:#ffffff;
    margin-top:4px;
    line-height:1.6;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    white-space:normal;
    overflow:hidden;
    text-overflow:ellipsis;
}
.global-notify-reply{
    margin-top:12px;
    margin-left:0;
    padding:10px 12px 6px;
    border-radius:16px;
    background:#0d1119;
    border:1px solid rgba(255,255,255,0.05);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,0.02);
    display:flex;
    flex-direction:column;
    gap:8px;
    position:relative;
}
.global-notify-reply__title{
    font-size:12px;
    color:#9da2c1;
    letter-spacing:0.2px;
}
.global-notify-reply__shell{
    display:flex;
    align-items:flex-end;
    gap:10px;
    border-radius:999px;
    background:#1b1f2c;
    border:1px solid rgba(255,255,255,0.06);
    padding:8px 12px;
}
.global-notify-reply__input{
    flex:1;
    border:none;
    background:transparent;
    color:#f5f6ff;
    min-height:32px;
    max-height:90px;
    resize:none;
    font-size:13px;
    line-height:1.5;
    scrollbar-width:thin;
    scrollbar-color:#4a6dff transparent;
}
.global-notify-reply__input:focus{
    outline:none;
}
.global-notify-reply__input::-webkit-scrollbar{
    width:4px;
    background:transparent;
}
.global-notify-reply__input::-webkit-scrollbar-track{
    background:transparent;
    border-radius:999px;
}
.global-notify-reply__input::-webkit-scrollbar-thumb{
    background:rgba(74,109,255,0.7);
    border-radius:999px;
}
.global-notify-reply__input::-webkit-scrollbar-button{
    width:0;
    height:0;
    background:transparent;
    border:none;
}
.global-notify-reply__input::-webkit-scrollbar-button:start:decrement,
.global-notify-reply__input::-webkit-scrollbar-button:end:increment{
    display:none;
}
.global-notify-reply__input::-webkit-scrollbar-button:single-button{
    display:none;
    width:0;
    height:0;
}
.global-notify-reply__buttons{
    display:flex;
    align-items:center;
    gap:6px;
}
.global-notify-reply__emoji{
    width:34px;
    height:34px;
    border-radius:50%;
    border:none;
    background:#131722;
    color:#f7f8ff;
    font-size:15px;
    cursor:pointer;
}
.global-notify-reply__emoji-panel{
    position:absolute;
    right:12px;
    bottom:calc(100% + 8px);
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    padding:8px;
    border-radius:12px;
    background:#1b1f2c;
    box-shadow:0 10px 30px rgba(5,10,30,0.45);
    min-width:160px;
    z-index:20;
    max-height:220px;
    overflow-y:auto;
}
.global-notify-reply__emoji-panel--below{
    bottom:auto;
    top:calc(100% + 8px);
}
.global-notify-reply__emoji-panel[hidden]{
    display:none;
}
.global-notify-reply__emoji-panel.is-visible{
    display:flex;
}
.global-notify-reply__emoji-panel::-webkit-scrollbar{
    width:6px;
}
.global-notify-reply__emoji-panel::-webkit-scrollbar-track{
    background:rgba(255,255,255,0.03);
    border-radius:999px;
}
.global-notify-reply__emoji-panel::-webkit-scrollbar-thumb{
    background:rgba(74,109,255,0.6);
    border-radius:999px;
}
.global-notify-reply__emoji-option{
    width:32px;
    height:32px;
    border-radius:8px;
    border:none;
    background:#131722;
    color:#f7f8ff;
    font-size:16px;
    cursor:pointer;
    padding:0;
    line-height:32px;
    text-align:center;
}
.global-notify-reply__emoji-option:hover{
    background:#2a3044;
}
.global-notify-reply__submit{
    border:none;
    border-radius:999px;
    padding:6px 16px;
    font-size:12px;
    font-weight:600;
    background:linear-gradient(135deg,#00b4ff,#5bd9ff);
    color:#04121c;
    cursor:pointer;
    transition:transform 0.18s ease, box-shadow 0.18s ease;
}
.global-notify-reply__submit:disabled{
    opacity:0.5;
    cursor:not-allowed;
    box-shadow:none;
}
.global-notify-reply__submit:not(:disabled):hover{
    transform:translateY(-1px);
    box-shadow:0 6px 15px rgba(0,180,255,0.25);
}
.global-notify-reply__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:12px;
    color:#8e93b8;
}
.global-notify-reply__limit{
    font-size:12px;
    color:#8e93b8;
}
.global-notify-reply__limit.is-over{
    color:#ff7088;
}
.global-notify-reply__meta-actions{
    display:flex;
    align-items:center;
    gap:12px;
}
.global-notify-reply__status{
    font-size:12px;
    color:#8e93b8;
}
.global-notify-reply__status.is-error{
    color:#ff7088;
}
.global-notify-reply__status.is-success{
    color:#4cd4a9;
}
.global-notify-reply__status.is-info{
    color:#8e93b8;
}
.global-notify-reply__cancel{
    border:none;
    background:none;
    color:#8e93b8;
    font-size:12px;
    cursor:pointer;
}
.global-notify-reply.is-loading .global-notify-reply__input{
    opacity:0.65;
}
.global-notify-reply.is-disabled{
    opacity:0.8;
}
.global-notify-reply.is-disabled .global-notify-reply__input,
.global-notify-reply.is-disabled .global-notify-reply__emoji,
.global-notify-reply.is-disabled .global-notify-reply__submit{
    pointer-events:none;
}
.global-notify-reply--full{
    margin-left:0;
}
.global-notify-cover{
    width:54px; /* 封面宽度固定 54px，保持统一视觉 */
    height:71px; /* 封面高度 96px，形成竖向海报比例 */
    border-radius:12px; /* 92px 大圆角，让封面呈椭圆/胶囊形 */
    overflow:hidden; /* 超出圆角的图像部分直接裁掉 */
    flex-shrink:0; /* 不被 flex 布局压缩，尺寸始终不变 */
    margin-left:14px; /* 和正文之间留 14px 间距 */
    box-shadow:0 12px 25px rgba(0,0,0,0.45); /* 加投影凸显卡片 */
    align-self:center; /* 在当前 flex 行里垂直居中 */
}
.global-notify-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.global-notify-panel__footer{
    padding:12px 20px;
    border-top:1px solid rgba(255,255,255,0.05);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    background:#1a1d2b;
}
.global-notify-panel__footer button{
    border:none;
    background:rgba(74,109,255,0.25);
    color:#cfd4ff;
    border-radius:999px;
    padding:6px 14px;
    font-size:13px;
    cursor:pointer;
}
.global-notify-empty{
    padding:40px 20px;
    text-align:center;
    color:#8e93b8;
}
.global-notify-loading,
.global-notify-end{
    padding:16px 12px;
    text-align:center;
    color:#7f84a7;
    font-size:13px;
}
.global-notify-end{
    color:#5f6385;
}
.global-notify-sentinel{
    height:1px;
    width:100%;
}
.member_group{
    position:relative;
}

