﻿@font-face {
    font-family: "PnBarlowCondensed";
    src: url("/content/fonts/pn-barlow-condensed-bold.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #f4f4f4;
    color: #141414;
}

button {
    border: 0;
    padding: 0;
    font: inherit;
    background: transparent;
}

.pn-page {
    position: relative;
    min-height: 100vh;
    max-width: 430px;
    margin: 0 auto;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    background: linear-gradient(180deg, #fff 0%, #f4f4f4 2%);
}

.pn-hero {
    position: relative;
    padding: 14px 0 0;
}

.pn-heroBg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
}

.pn-heroLayer {
    position: relative;
    z-index: 1;
}

.pn-heroTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 14px;
}

.pn-logo {
    display: block;
    width: 104px;
    height: 34px;
    object-fit: contain;
}

.pn-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    padding: 4px 12px;
    border-radius: 100px;
    background: #fff;
    color: #f44336;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.pn-desc {
    width: 227px;
    max-width: calc(100% - 28px);
    margin: 11px 0 0 14px;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.pn-main {
    margin-top: 0;
}

.pn-info {
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px 8px 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(179, 179, 179, 0.25);
    justify-content: center;
}

.pn-infoItem {
    display: flex;
    width: 113.5px;
    flex: 0 0 113.5px;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.pn-infoMid {
    width: 100px;
    flex-basis: 100px;
}

.pn-infoIcon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: block;
    margin-right: 8px;
}

.pn-infoText {
    min-width: 0;
}

.pn-infoMain {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.pn-infoNum {
    color: #f44336;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
}

.pn-infoUnit {
    margin-left: 2px;
    color: #141414;
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
}

.pn-infoTitle {
    color: #141414;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
}

.pn-infoSub {
    margin-top: 2px;
    color: #8e8e8e;
    font-size: 10px;
    line-height: 12px;
    white-space: nowrap;
}

.pn-infoLine {
    width: 1px;
    height: 30px;
    flex: 0 0 1px;
    margin: 0 6.75px;
    background: #eaeaea;
}

.pn-infoBadge {
    position: absolute;
    top: 3.5px;
    right: 3.5px;
    padding: 1.5px 5px;
    border-radius: 4px 2px;
    background: #f44336;
    color: #fff;
    font-size: 10px;
    line-height: 12px;
    font-weight: 600;
}

.pn-tabs {
    display: flex;
    align-items: flex-start;
    padding: 12px 0 10px 14px;
}

.pn-tab {
    position: relative;
    color: #8e8e8e;
    min-height: 30px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: color 0.22s ease;
}

    .pn-tab:nth-child(1),
    .pn-tab:nth-child(2),
    .pn-tab:nth-child(4) {
        width: 32px;
    }

    .pn-tab:nth-child(3) {
        width: 48px;
    }

    .pn-tab + .pn-tab {
        margin-left: 30px;
    }

    .pn-tab.on {
        color: #141414;
        font-size: 16px;
        line-height: 20px;
        font-weight: 500;
    }

    .pn-tab::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 20px;
        height: 4px;
        transform: translateX(-50%) scaleX(0.35);
        opacity: 0;
        border-radius: 100px;
        background: #f44336;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .pn-tab.on::after {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }

.tips-time {
    position: absolute;
    right: -14px;
    top: -13px;
    overflow: hidden;
    line-height: 0;
}

.tips-time img {
    display: block;
    max-width: none;
}

.tips-time::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    transform: skewX(-25deg);
    animation: tipsShine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tipsShine {
    0% {
        left: -60%;
    }
    40%, 100% {
        left: 150%;
    }
}

.pn-list {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
}

.pn-card + .pn-card {
    margin-top: 8px;
}

.pn-card {
    padding: 16px;
    border-radius: 6px;
    background: #fff;
}

.pn-user {
    display: flex;
    min-width: 0;
    align-items: center;
    cursor: pointer;
}

.pn-avatarBox {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

.pn-avatar {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
}

.pn-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #F44336;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    font-weight: 400;
    text-align: center;
    pointer-events: none;
}


.pn-userInfo {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 8px;
    display: flex;
    align-items: center;
}

.pn-name {
    color: #141414;
    font-size: 15px;
    line-height: 18px;
    font-weight: 500;
}

.pn-tags {
    display: flex;
    flex-wrap: wrap;
    margin-left: 8px;
    padding-right: 8px;
}

.pn-tags-se {
    display: flex;}

.pn-tag {
    padding: 2px 8px;
    border-radius: 100px;
    background: #f44336;
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.pn-tag.yellow{background-color: #ffa300;}

.pn-tag {
    margin-right: 4px;
}

.pn-profit {
    flex: 0 0 auto;
    margin-left: 6px;
    color: #f44336;
    text-align: right;
}

.pn-profitValue {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    font-family: "PnBarlowCondensed", Arial, sans-serif;
    font-weight: 500;
    color: #f44336;
    gap: 1px;
}

.pn-profitNum {
    font-size: 24px;
    line-height: 22px;
}

.pn-profitPct {
    font-size: 18px;
    line-height: 16px;
}

.pn-profitSub {
    margin-top: 4px;
    font-size: 13px;
    line-height: 12px;
}

.pn-picks {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.pn-pick + .pn-pick {
    margin-top: 6.5px;
}

.pn-pick {
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    overflow: hidden;
    border-radius: 4px;
}

.pn-pick-blue {
    background: linear-gradient(90deg, #f7faff 66.05%, rgba(247, 250, 255, 0) 100%);
}

.pn-pick-gray {
    background: linear-gradient(90deg, #f9f9f9 66.05%, rgba(247, 250, 255, 0) 100%);
}

.pn-bar {
    width: 2.5px;
    height: 28px;
    flex: 0 0 2.5px;
    border-radius: 0 4px 4px 0;
}

.pn-bar-blue {
    background: #0d75ff;
}

.pn-bar-red {
    background: #f44336;
}

.pn-bar-gray {
    background: #ccc;
}

.pn-pickMain {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.pn-pick-hit .pn-pickMain {
    padding-right: 36px;
}

.pn-stage {
    flex: 0 0 auto;
    color: #141414;
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pn-stage-1 {
    width: 52px;
}

.pn-stage-2 {
    width: 62px;
}

.pn-stage-3 {
    width: 70px;
}

.pn-stage-4 {
    width: 78px;
}

.pn-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: #efefef;
    color: #141414;
    font-size: 13px;
    line-height: 14px;
    font-weight: 500;
}

.pn-play {
    width: 40px;
    flex: 0 0 40px;
    margin-left: 12px;
    margin-right: 10px;
    color: #0d75ff;
    font-size: 13px;
    line-height: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.pn-playBlank {
    color: transparent;
}

.pn-match {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 4px;
}

.pn-team,
.pn-vs,
.pn-score,
.pn-update {
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
}

.pn-team {
    flex: 0 0 auto;
    color: #141414;
    white-space: nowrap;
}

.pn-teamTail {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pn-vs {
    flex: 0 0 auto;
    margin: 0 6px;
    color: #8e8e8e;
}

.pn-score {
    flex: 0 0 auto;
    margin: 0 6px;
    color: #f44336;
}

.pn-update {
    flex: 1 1 auto;
    min-width: 0;
    color: #8e8e8e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pn-side {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 4px;
    color: #f44336;
    font-size: 13px;
    line-height: 14px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

    .pn-side span + span {
        margin-top: 2px;
    }

.pn-seal {
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    pointer-events: none;
}

.pn-dock {
    position: fixed;
    left: 50%;
    bottom: calc(70px + env(safe-area-inset-bottom));
    z-index: 20;
    display: flex;
    align-items: center;
    width: 85.5vw;
    max-width: 336px;
    padding: 6px;
    transform: translateX(-50%);
    border-radius: 100px;
    background: linear-gradient(180deg, #1f2a3b 0%, #1a1c22 100%);
    box-shadow: 0 6px 10px 0 rgba(26, 26, 34, 0.4);
    z-index: 9999;
}


.pn-dock-buy {
    width: 180px;
    max-width: calc(100vw - 48px);
}

    .pn-dock-buy .pn-dockItem {
        flex: 1 1 0;
    }

.pn-dockItem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 0;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.28s ease, opacity 0.28s ease;
}

    .pn-dockItem + .pn-dockItem {
        margin-left: 2px;
    }

    .pn-dockItem.on {
        background-color: #f44336;
    }

.pn-dockIcon {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-right: 4px;
}

.pn-dockItem.on .pn-dockIcon,
.pn-dockItem.on span {
    animation: pnDockFade 0.28s ease both;
}

@keyframes pnDockFade {
    from {
        opacity: 0.55;
    }

    to {
        opacity: 1;
    }
}




@media (min-width: 420px) {
    .pn-infoItem {
        width: 121px;
        flex-basis: 121px;
    }

    .pn-infoMid {
        width: 108px;
        flex-basis: 108px;
    }

    .pn-desc {
        font-size: 13px;
    }
}

@media (max-width: 375px) {
    .pn-desc {
        width: 200px;
        font-size: 11.5px;
    }

    .pn-tabs {
        padding-left: 14px;
    }

    .pn-tab + .pn-tab {
        margin-left: 24px;
    }

    .pn-info {
        padding-right: 10px;
        padding-left: 10px;
    }

    .pn-infoItem {
        width: calc((100% - 118px) / 2);
        flex-basis: calc((100% - 118px) / 2);
        justify-content: center;
    }

    .pn-infoMid {
        width: 92px;
        flex-basis: 92px;
    }

    .pn-infoIcon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        margin-right: 6px;
    }

    .pn-profitNum {
        font-size: 20px;
        line-height: 20px;
    }
}

/* 榜单页面 */
.pn-boardList {
    padding-bottom: 16px;
}

.pn-boardCard {
    padding: 10px 8px;
}

.pn-boardRow {
    display: flex;
    align-items: flex-start;
    min-width: 0;
}

.pn-boardRank {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 9px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pn-boardRankIcon {
    display: block;
    width: 22px;
    height: 22px;
}

.pn-boardRankNum {
    width: 22px;
    height: 22px;
    color: #8e8e8e;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pn-boardBody {
    flex: 1 1 auto;
    min-width: 0;
}

.pn-boardUser {
    align-items: center;
}

.pn-boardMetric {
    min-width: 62px;
}

.pn-boardDesc {
    margin-top: 10px;
    color: #515151;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pn-dock-board {
    width: 180px;
    max-width: calc(100vw - 48px);
}

    .pn-dock-board .pn-dockItem {
        flex: 1 1 0;
    }


/*tab*/
:root {
      --pl-bg: #f5f6f8;
      --pl-card: #ffffff;
      --pl-text: #111;
      --pl-text-sub: #8a8f99;
      --pl-line: #eceef2;
      --pl-main: #e53935;
      --pl-shadow: 0 6px 20px rgba(20, 24, 35, 0.06);
    }

    .pl-card {
    width: 728px;
    background: var(--pl-card);
    border-radius: 6px;
    box-shadow: var(--pl-shadow);
    padding: 15px 12px 4px 20px;
    margin-bottom: 12px;
}


    .pl-tabbar {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-width: 0;
      height: 38px;
      padding-bottom: 12px;
    }

    /* 左侧文字 Tab */
    .pl-tabs {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      gap: 36px;
      min-width: 0;
      height: 100%;
    }

    .pl-tabs a.pl-tab {
      position: relative;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      height: 100%;
      padding: 0 2px;
      font-size: 16px;
      line-height: 1;
      font-weight: 500;
      color: var(--pl-text);
      cursor: pointer;
      background: none;
      border: none;
      text-decoration: none;
      letter-spacing: 1px;
    }

    .pl-tabs a.pl-tab::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -14px;
      width: 26px;
      height: 3px;
      border-radius: 2px;
      background: var(--pl-main);
      transform: translateX(-50%) scaleX(0);
      transition: transform .2s ease;
    }

    .pl-tabs a.pl-tab.pl-active {
      color: var(--pl-main);
      font-weight: 600;
    }
    .pl-tabs a.pl-tab.pl-active::after {
      transform: translateX(-50%) scaleX(1);
    }

    .pl-tabs a.pl-tab:hover:not(.pl-active) {
      color: #4a4f57;
    }

    /* 右侧胶囊筛选项 */
    .pl-filter {
      display: inline-flex;
      flex-shrink: 0;
      align-items: stretch;
      background: #f3f4f6;
      border-radius: 999px;
      padding: 4px;
      gap: 0;
      position: relative;
    }

    .pl-filter-item {
      position: relative;
      z-index: 2;
      padding: 5px 18px;
      font-size: 12px;
      color: var(--pl-text);
      background: transparent;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      white-space: nowrap;
      transition: color .2s ease;
      letter-spacing: 1px;
    }

    .pl-filter-item:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 14px;
      background: #e7e7e7;
    }

    .pl-filter-item.pl-active {
      background: var(--pl-main);
      color: #fff;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(229, 57, 53, 0.25);
    }
    .pl-filter-item.pl-active::after { display: none; }



   /* ---------- 盈利榜卡片 ---------- */
    .pl-rank-card {
      position: relative;
      background: var(--pl-card);
      border-radius: 6px;
      box-shadow: var(--pl-shadow);
      overflow: hidden;
      border: solid 1px #fff;
      margin-bottom: 10px;
      /* 就加这一行，默认底图 */
        --pl-rank-bg: url('/images/plan/7d-rank-bg.png');
    }

    /* 底图铺在整个卡片背后，head 和 body 都能透出来 */
    .pl-rank-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--pl-rank-bg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 301px auto;
    z-index: 0;
    pointer-events: none;
}

    /* 顶部区域：透明，底图从 card::before 透出 */
    .pl-rank-head {
    position: relative;
    z-index: 1;
    height: 52px;
    padding: 12px 12px 15px;
    display: flex;
    align-items: center;
}

    .pl-rank-bar {
    flex-shrink: 0;
    width: 2.5px;
    height: 20px;
    border-radius: 0 4px 4px 0px;
    background: var(--pl-main);
    /* margin-top: 3px; */
}

    .pl-rank-title {
    margin: 0 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pl-text);
    position: relative;
    /* letter-spacing: 1px; */
}

    /* 内容区：半透明 + 毛玻璃，底图从 card::before 透过来 */
    .pl-rank-body {
    position: relative;
    z-index: 1;
    padding: 4px 2px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    /* ---------- 榜单列表 ---------- */
    .pl-rank-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
   
}

    .user-boardCard{
         background: #f8f8f800;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    }

    .user-boardCard:hover{
        background: #e9cdcd1f;
    }

.pl-rank-body .pn-name{
    font-size: 13px;
}

.pl-rank-body .pn-profitSub {
    font-size: 12px;
}

.pl-rank-body .pn-userInfo{
    margin: 0 2px 0 8px;
}

.pl-rank-body .pn-avatar{
    width: 38px;
    height: 38px;
}

.pl-rank-body .pn-avatarBox {
    position: relative;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}


.border-line-rank{
    height: 0.5px;
    background: #eee;
    margin: 0 8px;
}


.pn-pick-gray:hover {
    cursor: pointer;
    background: linear-gradient(90deg, #f4f4f4 66.05%, rgba(247, 250, 255, 0) 100%);
}

.pn-pick-blue:hover {
    cursor: pointer;
    background: linear-gradient(90deg, #f1f5fc 66.05%, rgba(247, 250, 255, 0) 100%);
}

.pn-time {
    font-size: 13px;
    margin-right: 10px;
    color: #8e8e8e;
}

.no-data {
    padding: 140px 16px 16px 0;
    background: #fff url(/images/plan/plan-nodata.png) no-repeat center 40px;
    background-size: 140px auto;
    font-size: 14px;
    line-height: 22px;
    color: #515151;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    height: 240px;
    align-items: center;
    justify-content: center;
}

.period-new {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: #e62214;
    margin: 26px 0;
}

.period-new img{
    height: 12px;
}

.tips-rt{
    position: absolute;
    top: -8px;
    right: -64px;
}

.tips-rt img{
    width: 66px;
}

/*新阶段*/
.stage-card-one{ display: flex; justify-content: space-between; margin-bottom: 10px; }
.stage-card { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #f7b4ad61; border-radius: 6px; background: linear-gradient(180deg, #fff8f7 0%, #ffffff 42%, #ffffff 100%); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; margin-bottom: 24px; }
.stage-info{display:flex;flex-direction:column;justify-content:center;flex-shrink:0;gap:6px;}
.stage-title{display:flex;align-items:center;gap:6px;color:#141414;font-size:14px;line-height:18px;font-weight:500;}
.stage-title-line { display: block; width: 2.5px; height: 18px; border-radius: 0 2px 2px 0; background: #f44336; }
.stage-desc { display: flex; align-items: center; gap: 4px; color: #999; font-size: 14px; line-height: 18px; }
.stage-tags{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;position: relative;}
.stage-tag {
    height: 26px;
    box-sizing: border-box;
    padding: 0 6px;
    border: 1px solid rgba(244, 67, 54, 0.55);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #f44336;
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
}
.stage-tag-dot{width:2px;height:2px;flex-shrink:0;border-radius:50%;background:#f44336;}
.icon-result-stage { width: 64px; height: 64px; position: absolute; right: 8px; top: 4px; z-index: 999; }
.title-h1-new {
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

.stage-tag span{
    font-weight: 500 !important;
}

.pl-rank-body .pn-pick {
    padding-left: 6px;
    width: 100%;
    height: 34px;
}
.pl-rank-body  .pn-play {
    width: 40px;
    flex: 0 0 40px;
    margin-left: 8px;
    margin-right: 6px;}

.pl-rank-body .pn-team, .pn-vs, .pn-score, .pn-update {
    font-size: 13px;}    


.user-pn{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}    

.user-boardCard-se {
    background: #f8f8f800;
    padding: 10px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.user-boardCard-se:hover{
        background: #e9cdcd1f;
    }

.pl-rank-body .user-avatar-img {
    width: 24px !important;
    height: 24px !important;}    

.mainCard .pn-picks{padding: 0 16px 16px;}    




/* =========================
   单张卡片
========================= */
.ace-list{display:flex;flex-wrap:wrap;align-items:stretch;width:728px;gap:8px;}
.ace-item{flex:0 0 360px;width:360px;margin:0;padding:12px;background:#fff;border:1px solid #eee;border-radius:6px;box-sizing:border-box;box-shadow:var(--pl-shadow);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.ace-item:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.06);cursor:pointer;}

/* =========================
   顶部区域
========================= */
.ace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}
.ace-head .pn-boardMetric { min-width: 52px; }
/* 左侧专家信息 */
.ace-profile{display:flex;align-items:center;flex:1;min-width:0;}
/* 头像 */
.ace-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; object-fit: cover; }
/* 名字和标签区域 */
.ace-info{flex:1;min-width:0;margin-left:8px;}
/* =========================
   名字 + 顶部战绩
========================= */

.ace-nameRow { display: flex; align-items: center; width: 100%; min-width: 0; height: 20px; }
.ace-nameRow-se { display: flex; align-items: flex-start; width: 100%; min-width: 0; gap: 3px; flex-direction: column; }


/* 用户名 */
.ace-name { flex: 0 1 auto; min-width: 0; margin-right: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #222; font-size: 14px; line-height: 20px; font-weight: 600; }

.ace-record { display: flex; align-items: center; flex: 0 0 auto; height: 20px; margin-right: 4px; }
.ace-record:last-child { margin-right: 0; }
.ace-recordKey { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: linear-gradient(99deg, #F57E34 3.34%, #E53935 93.31%); border-radius: 4px 0 0 4px; color: #ffffff; font-size: 11px; line-height: 18px; font-weight: 500; box-sizing: border-box; }
.ace-recordValue{display:flex;align-items:center;justify-content:center;height:18px;padding:0 4px;border:1px solid #E53935;border-left:0;border-radius:0 4px 4px 0;background:#FFF5F7;color:#E53935;font-size:11px;line-height:18px;font-weight:500;box-sizing:border-box;}
/* =========================
   第二排标签
   仅影响高手推荐模块
========================= */
.ace-info .record-list-daka{display:flex;align-items:center;margin-top:6px;white-space:nowrap;}

.ace-info .record-list-daka span { display: inline-block; /* margin-right: 4px; */ padding: 1px 6px; background: #FFF3F2; border-radius: 3px; color: #E53935; font-size: 11px; line-height: 13px; font-weight: 500; box-sizing: border-box; border-radius: 100px; }
.ace-info .record-list-daka span:last-child{margin-right:0;}

.ace-head > .pn-profit{flex:0 0 auto;margin-left:4px;}
/* 如果原本盈利率太大，可以只在这里缩 */
.ace-head .pn-profitValue{line-height:22px;}
.ace-head .pn-profitSub{margin-top:2px;font-size:12px;line-height:16px;}
/* =========================
   推荐标题
========================= */
.ace-title { margin-top: 14px; color: #222; font-size: 15px; line-height: 22px; font-weight: 500; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; }
/* =========================
   底部信息
========================= */
.ace-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px;color:#999999;font-size:12px;line-height:18px;}
/* 左侧 */
.ace-meta{display:flex;align-items:center;}
/* 玩法 */
.ace-type{color:#0d75ff;}
/* 中间点 */
.ace-dot{margin:0 5px;color:#999;}
.ace-view { color: #999; }

.ace-viewNum { color: #f44336; margin-right: 2px; }
/* =========================
   价格
========================= */
.ace-price{display:flex;align-items:center;color:#fc9810;font-size:13px;line-height:18px;font-weight:500;}
.ace-coin { display: block; width: 18px; height: 18px; margin-right: 1px; object-fit: contain; }

.ace-info .pn-tags{margin: 0;padding: 0;}
.ace-info .pn-tag{font-size: 11px;}


.pn-boardRankNum-se { width: 22px; height: 22px; color: #8e8e8e; font-size: 18px; line-height: 22px; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; margin-top: 9px; margin-right: 8px; }

.ace-boardRow {
    display: flex;
    align-items: flex-start;
    min-width: 0;
}

.ace-boardRow .pn-pick {
    padding-left: 6px;
    width: 100%;
    height: auto;
    margin-top: 12px;
    overflow: visible;
    padding: 6px 0px 6px 6px;
    min-height: 34px;
    display: flex;
    justify-content: space-between;
}
.ace-boardRow .pn-team, .pn-vs, .pn-score, .pn-update {
    font-size: 14px;}   

.ace-boardRow .pn-stage{text-indent: -4px;font-size: 13px;}    

.ace-boardRow .stage-tag { height: 18px; box-sizing: border-box; padding: 0 4px; border: 1px solid rgba(244, 67, 54, 0.55); border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 4px; color: #f44336; font-size: 11px; line-height: 12px; white-space: nowrap; }
.ace-pn-pick{
    display: flex;
    align-items: center;
    flex: 1;
}

.ace-foot-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 6px 10px;
    background: linear-gradient(90deg, #f9f9f9 66.05%, rgba(247, 250, 255, 0) 100%);
    border-radius: 4px;
    gap: 24px;
}



.foot-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ace-type {
    color: #0d75ff;
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
}

.ace-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 26px;
    background: #f44336;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    line-height: 32px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ace-btn:hover {
    background: #E90F22;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(229, 57, 53, 0.18);
}


.ace-rankTab {
    display: flex;
    align-items: center;
    padding: 2px;
    border: 0.5px solid #fff;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-sizing: border-box;
    margin-left: auto;
}

.ace-rankItem {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 24px;
    border-radius: 4px;
    color: #000;
    font-size: 12px;
    line-height: 24px;
    font-weight: 400;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .2s ease, color .2s ease;
}

/* 未选中 hover */
.ace-rankItem:hover {
    color: #F44336;
    background: rgba(255, 255, 255, 0.7);
}

/* 选中 */
.ace-rankItem.on {
    color: #fff;
    font-weight: 500;
    background: #F44336;
}

/* 选中 hover */
.ace-rankItem.on:hover {
    color: #fff;
    background: #F44336;
}


.user-boardCard.more {
    background: #f8f8f800;
    padding:8px;
}


.more-rank{
    display: flex;
    justify-content: center;
    font-size: 13px;
    color: #f44336;
}

.more-rank img{
    width: 12px;
    margin-left: 2px;
}