/* ============================================================
   effects.css — 高手区精确复刻 v7
   参照原网站截图，逐项对齐
   ============================================================ */

/* ---- 容器 ---- */
.master-section {
    margin: 4px 0;
    overflow: hidden;
    border: none;
}

/* ============================================================
   标题栏
   ============================================================ */
.master-title {
    background: linear-gradient(180deg, #9933dd 0%, #7722bb 100%);
    color: #00ff00;
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    padding: 9px 0;
    letter-spacing: 0px;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    text-shadow:
        0 0 3px  #00ff00,
        0 0 8px  #00ff00,
        0 0 18px #00ff00,
        0 0 35px #00ee00,
        0 0 55px #00cc00;
    animation: masterGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
    user-select: none;
    cursor: default;
}
.master-title .arrow {
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    animation: arrowBounce 0.8s ease-in-out infinite alternate;
    vertical-align: middle;
    letter-spacing: 0px;
}
.master-title::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 50%; height: 100%;
    background: linear-gradient(110deg,
        transparent 0%,
        rgba(255,255,255,0.10) 45%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.10) 55%,
        transparent 100%);
    animation: masterSweep 4s linear infinite;
}
@keyframes masterGlow {
    from { text-shadow: 0 0 4px #00ff00, 0 0 10px #00ff00, 0 0 18px #00cc00; }
    to   { text-shadow: 0 0 6px #00ff00, 0 0 14px #00ff00, 0 0 28px #00ff00, 0 0 48px #33ff33; }
}
@keyframes masterSweep {
    0%   { left: -120%; }
    100% { left: 180%; }
}
@keyframes arrowBounce {
    from { transform: translateY(0); }
    to   { transform: translateY(3px); }
}

/* ============================================================
   列表容器 — 白底，无多余padding
   ============================================================ */
.slide.slideList ul {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: #ffffff;
}

/* ============================================================
   每一行 — 紧凑白底，细分隔线，无圆角卡片
   高度：约40px
   左右padding：8px
   底部细线：1px #eeeeee
   ============================================================ */
.slide.slideList ul li.master-row,
.master-row {
    display: flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    list-style: none !important;
    margin: 0 !important;
    cursor: default;
    overflow: hidden;
    transition: background 0.1s;
}
.slide.slideList ul li.master-row:last-child,
.master-row:last-child {
    border-bottom: none !important;
}
.slide.slideList ul li.master-row:hover,
.master-row:hover {
    background: #fafafa !important;
}

/* ============================================================
   推荐贴标签
   - 橙红渐变
   - 白字 12px bold
   - 高22px，圆角3px
   - NEW角标右上角
   ============================================================ */
.master-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #ffaa00 0%, #ff5500 100%) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 0 6px !important;
    border-radius: 3px !important;
    white-space: nowrap !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    font-family: "Microsoft YaHei", sans-serif !important;
    height: 22px !important;
    line-height: 22px !important;
    min-width: 42px !important;
    position: relative;
    border: none !important;
    box-shadow: 0 1px 2px rgba(180,60,0,0.3);
}
/* 高手贴深橙红 */
.master-tag.vip {
    background: linear-gradient(180deg, #ff6600 0%, #bb2200 100%) !important;
    box-shadow: 0 1px 2px rgba(100,0,0,0.3);
}
/* NEW角标 */
.master-tag .new-badge {
    position: absolute !important;
    top: -5px !important;
    right: -4px !important;
    background: #ee0000 !important;
    color: #ffff00 !important;
    font-size: 8px !important;
    font-weight: bold !important;
    padding: 0 2px !important;
    border-radius: 2px !important;
    line-height: 1.6 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    display: block !important;
}

/* ============================================================
   中间内容区
   期数：蓝色 #0055cc，bold，14px
   【关键词】：橙色 #ff6600，bold
   ≡ 符号和描述文字：黑色 #333，normal，14px
   ============================================================ */
.master-content {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    font-weight: normal !important;
    line-height: 40px !important;
}
.master-content .issue {
    color: #0055cc !important;
    font-weight: bold !important;
    font-size: 14px !important;
}
.master-content .title {
    color: #0055cc!important;
    font-size: 14px !important;
    font-weight: normal !important;
}
/* 【关键词】— 橙色加粗 */
.master-content .title .keyword {
    color: #0055cc !important;
    font-weight: bold !important;
}

/* ============================================================
   右侧名人名字
   红色 #cc0000，bold，14px，右对齐，不换行
   ============================================================ */
.master-name {
    color: #cc0000 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 8px !important;
    font-family: "Microsoft YaHei", sans-serif !important;
    line-height: 40px !important;
}

/* ============================================================
   防止 slideTitle click 折叠高手区
   ============================================================ */
.slideTitle.master-title {
    pointer-events: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 520px) {
    .master-title        { font-size: 16px; padding: 8px 0; }
    .master-title .arrow { font-size: 11px; }
    .slide.slideList ul li.master-row,
    .master-row          { height: 36px !important; min-height: 36px !important; line-height: 36px !important; padding: 0 6px !important; }
    .master-content      { font-size: 12px !important; line-height: 36px !important; }
    .master-content .issue { font-size: 12px !important; }
    .master-name         { font-size: 12px !important; line-height: 36px !important; }
    .master-tag          { font-size: 11px !important; min-width: 36px !important; height: 20px !important; line-height: 20px !important; }
}

/* ============================================================
   名人贴样式 (master-fold) — 严格按 li > img + p 结构
   ============================================================ */

/* 普通列表标题样式；不覆盖推荐高手区/特邀高手区的 master-title */
.slide.slideList .slideTitle:not(.master-title) {
    background: linear-gradient(180deg, #9933dd 0%, #7722bb 100%);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 8px 10px;
    line-height: 1.4;
    cursor: pointer;
}
.slide.slideList .slideTitle span {
    color: #ffff00;
    font-weight: bold;
}

/* li 内部：img 左浮动，p 文字 */
.slide.slideList ul li {
    display: flex !important;
    align-items: flex-start !important;
    padding: 6px 8px !important;
    border-bottom: 1px solid #eeeeee !important;
    background: #ffffff !important;
    min-height: 36px !important;
    height: auto !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.slide.slideList ul li:hover {
    background: #fdf8ff !important;
}
.slide.slideList ul li img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    flex-shrink: 0;
    margin-top: 2px;
}
.slide.slideList ul li p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
    word-break: break-all;
}
.slide.slideList ul li p span {
    color: #0066cc;
    font-weight: bold;
}

/* master-row（推荐高手区/特邀高手区专用）不受上面影响 */
.slide.slideList ul li.master-row {
    display: flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
}
.slide.slideList ul li.master-row img { display: none; }
.slide.slideList ul li.master-row p   { display: none; }

/* ---- master-row 折叠箭头 ---- */
.master-fold-arrow {
    color: #aaa;
    font-size: 11px;
    margin-left: 6px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

/* ---- 详情块 li（包裹 ul）---- */
.master-detail-block {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fafafa !important;
    border-bottom: 2px solid #dddddd !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.master-detail-block:hover {
    background: #fafafa !important;
}

/* ---- 详情内每条 li（img + p）---- */
.master-detail-item {
    display: flex !important;
    align-items: flex-start !important;
    padding: 5px 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fff !important;
    list-style: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
    line-height: 1.6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.master-detail-item:hover { background: #fdf8ff !important; }
.master-detail-item img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}
.master-detail-item p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #333 !important;
    line-height: 1.6 !important;
    flex: 1 !important;
    min-width: 0 !important;
    word-break: break-all !important;
    white-space: normal !important;
}
