.player-scroll-bar-wrap {
    position: relative;
    width: 1200px;
    margin: 40px auto 14 auto;
}
.player-scroll-bar {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    border-radius: 6px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    position: relative;
    padding: 0;
    height: 90px;
    display: flex;
    align-items: center;
}
.player-scroll-list {
    display: flex;
    align-items: center;
    animation: scrollLeft 30s linear infinite;
    min-width: 100%;
    height: 90px;
}
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.player-scroll-list li {
    display: flex;
    align-items: center;
    margin-right: 24px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px 16px;
    transition: box-shadow 0.3s, background 0.3s, transform 0.3s;
    position: relative;
    cursor: pointer;
    height: 60px;
    min-width: 260px;
    max-width: 280px;
}
.player-scroll-list li:hover {
    background: linear-gradient(90deg, #ffd900 0%, #ff6a00 100%);
    box-shadow: 0 6px 24px rgba(255, 218, 0, 0.18);
    transform: scale(1.04);
    z-index: 2;
}
.player-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid #ffd900;
    box-shadow: 0 2px 8px rgba(255, 218, 0, 0.18);
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.2s;
}
.player-scroll-list li:hover .player-avatar {
    transform: scale(1.08);
}
.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-mask {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(34,34,34,0.7);
    color: #ffd900;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.player-avatar:hover .avatar-mask {
    opacity: 1;
    pointer-events: auto;
}
.avatar-username {
    font-weight: 400 !important;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0.5px;
    font-size: calc(21px + 0.5vw);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    text-align: center;
    word-break: break-all;
    white-space: normal;
    line-height: 1.1;
    display: block;
}
.player-action {
    color: #fff;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 400;
}
.game-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid #444;
    background: #222;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s;
}
.player-scroll-list li:hover .game-thumb {
    transform: scale(1.08);
}
.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-mask {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(34,34,34,0.7);
    color: #ffd900;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.game-thumb:hover .game-mask {
    opacity: 1;
    pointer-events: auto;
}
.game-title {
    font-weight: 400 !important;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0.5px;
    font-size: calc(11px + 0.5vw);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    text-align: center;
    word-break: break-all;
    white-space: normal;
    line-height: 1.1;
    display: block;
}
.server-link {
    color: #fff;
    font-weight: 400;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0,0,0,0.18);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-size: 13px;
}
.server-link:hover {
    background: #ffd900;
    color: #222;
    font-weight: 400;
    box-shadow: 0 2px 8px #ffd90044;
}

/* 气泡提示 */
#play-tip-bubble {
    display: none;
    position: absolute;
    z-index: 99;
    pointer-events: none;
    top: -45%;
    left: 0;
    transform: translateX(-50%);
}
#play-tip-bubble a {
    display: inline-block;
    background: linear-gradient(90deg, #ffb347 0%, #ff6a00 100%);
    color: #fff;
    padding: 7px 22px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0 2px 8px #ff6a00aa;
    text-decoration: none;
    white-space: nowrap;
    animation: shakeBtn 0.5s;
    pointer-events: auto;
}
#play-tip-bubble .bubble-arrow {
    display: block;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #ff6a00 transparent transparent transparent;
    filter: drop-shadow(0 2px 2px #ff6a00aa);
}
@keyframes shakeBtn {
    0% { transform: translateY(0);}
    20% { transform: translateY(-2px) rotate(-2deg);}
    40% { transform: translateY(3px) rotate(2deg);}
    60% { transform: translateY(-2px) rotate(-1deg);}
    80% { transform: translateY(2px) rotate(1deg);}
    100% { transform: translateY(0);}
}

.game-type-tag {
    position: absolute;
    left: 26px;
    padding: 2px 12px;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    z-index: 20;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: #888;
    pointer-events: none;
    display: inline-block;
    opacity: 1;
    overflow: hidden; /* 关键：裁剪高光 */
}
.game-type-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shine-move 2.2s linear infinite;
    pointer-events: none;
    border-radius: 4px; /* 跟随父元素圆角 */
}

@keyframes shine-move {
    0% { left: -40%; }
    100% { left: 100%; }
}
.game-type-yy { background: #ff9800 !important; }   /* 页游橙色 */
.game-type-h5 { background: #2196f3 !important; }   /* H5蓝色 */
.game-type-pc { background: #43a047 !important; }   /* 端游绿色 */
.game-type-sd { background: #8e24aa !important; }   /* 三端游戏紫色，可自定义 */






    .server-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: #fff;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      border-radius: 10px;
      overflow: hidden;
    }
    .server-table th {
      padding: 16px 12px;
      text-align: center;
      font-size: 16px;
      background: #222;
      color: #fff;
      font-weight: 600;
      letter-spacing: 1px;
    }
    .server-table tbody td {
      height: 40px;
      padding: 0 12px;
      text-align: center;
      font-size: 16px;
    }
    .server-table tr:nth-child(even) td {
      background: #fffbe6;
    }
    .server-table tr:nth-child(odd) td {
      background: #fff7d6;
    }
    .server-table tr:hover td {
      background: #ffe0a3 !important;
      transition: background 0.2s;
    }
    .type-legend {
      color: #1e90ff;
      font-weight: bold;
    }
    .type-role {
      color: #ff9800;
      font-weight: bold;
    }
    .start-btn {
      background: linear-gradient(90deg, #ff4b2b, #ff416c);
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 5px 17px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(255,65,108,0.08);
      transition: background 0.2s, transform 0.2s;
      display: inline-block;
      text-decoration: none;
    }
    .start-btn:hover {
      background: linear-gradient(90deg, #ff416c, #ff4b2b);
      transform: translateY(-2px) scale(1.04);
      text-decoration: none;
    }
    .server-table td {
      color: #333;
    }
    .server-table td:nth-child(1) a {
      color: #e91e63;
      font-weight: bold;
      font-size: 17px;
    }
    .server-table td:nth-child(5) a {
      color: #607d8b;
      font-size: 15px;
    }
    /* a标签去除下划线，悬停也无下划线 */
    a, a:visited, a:hover, a:active {
      text-decoration: none !important;
      outline: none;
    }
    /* 游戏详情浮层样式 */
    .game-detail-popup {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 370px;
      background: linear-gradient(135deg, #2b2d42 80%, #ff416c 100%);
      color: #fff;
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(44,0,60,0.18);
      padding: 24px 24px 18px 24px;
      font-size: 16px;
      animation: fadeInUp 0.3s;
      overflow: visible;
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px);}
      to { opacity: 1; transform: translateY(0);}
    }
    .game-detail-popup .game-thumb {
      width: 180px;
      height: 102px;
      border-radius: 12px;
      object-fit: cover;
      box-shadow: 0 2px 12px rgba(0,0,0,0.18);
      float: left;
      margin-right: 22px;
      border: 2px solid #ff416c;
      background: #fff;
    }
    .game-detail-popup .game-info {
      overflow: hidden;
      min-height: 102px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
        .game-detail-popup .game-title {
      font-size: 20px;
      font-weight: bold;
      color: #ffb300;
      margin-bottom: 6px;
      margin-top: 2px;
      letter-spacing: 1px;
      text-shadow: 0 2px 8px rgba(255,65,108,0.18);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: clip;
      max-width: 160px;
    }
    .game-detail-popup .game-desc {
      color: #f2f6fc;
      font-size: 15px;
      margin-bottom: 8px;
      line-height: 1.6;
    }
    /* 单行省略号样式 */
    .single-line-ellipsis {
  display: inline-block;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip; /* 由 ellipsis 改为 clip */
  vertical-align: middle;
}
    .feature-ellipsis {
      display: inline-block;
      max-width: 220px; /* 游戏特色 */
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: middle;
    }
    .brand-badge {
      position: absolute;
      top: 4px;
      right: 4px;
      background: linear-gradient(90deg, #ffb300 0%, #ff9800 100%);
      color: #fff;
      font-size: 13px;
      font-weight: bold;
      padding: 3px 12px 3px 12px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(255,152,0,0.12);
      letter-spacing: 3px;
      z-index: 2;
      user-select: none;
      pointer-events: none;
      border: 1.5px solid #fff3;
      text-shadow: 0 1px 4px rgba(255,152,0,0.12);
    }
    /* 浮层网址样式 */
    .popup-website {
      display: inline-block;
      text-align: right;
      color: #fffbe6;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 1px;
      background: rgba(255, 152, 0, 0.22);
      border-radius: 16px;
      padding: 3px 16px 2px 16px;
      box-shadow: 0 1px 4px rgba(255,152,0,0.08);
      user-select: text;
      margin-left: auto;
      margin-right: 0;
    }
    /* 表格每行卡片阴影和圆角 */
    .server-table tbody tr {
      box-shadow: 0 2px 8px rgba(255, 193, 7, 0.10);
      border-radius: 8px;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    /* 鼠标悬浮放大效果 */
    .server-table tbody tr:hover {
      box-shadow: 0 8px 24px rgba(255, 193, 7, 0.18);
      transform: scale(1.025);
      z-index: 2;
      position: relative;
    }
    
    
    
    
    /* 基础样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #fff;
}

/* 容器样式 */
.album-container {
    width: 100%;
    box-sizing: border-box;
}

/* 卡片样式 */
.album-card {
    width: 100%;
    display: flex;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1f35 0%, #2d3250 100%);
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 缩略图样式 */
.album-thumb {
    flex: 0 0 240px;
    height: 135px;
    position: relative;
    border-radius: 8px;
    overflow: hidden; /* 改为 hidden 以裁切超出部分 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.thumb-overlay {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.08)
    );
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.15);
}

/* 火爆标签 */
.album-thumb::after {
    content: '火爆';
    position: absolute;
    top: 23px;
    right: -13px;
    width: 50px; /* 固定宽度 */
    background: linear-gradient(135deg, #ff6b00, #ff4500);
    color: white;
    padding: 1px 0; /* 移除左右padding，使用固定宽度 */
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: right top; /* 修改旋转原点 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    white-space: nowrap;
    text-align: center; /* 文字居中 */
}

/* 内容样式 */
.album-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0; /* 确保文字可以正确截断 */
    padding-right: 30px; /* 进一步增加右侧内边距 */2
}

.album-title {
    font-size: 24px;
    margin: 0;
    background: linear-gradient(45deg, #fff, #a5d8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 2em; /* 添加首行缩进 */
}

/* 关键词容器 */
.keywords-container {
    display: flex;
    flex-wrap: nowrap; /* 防止换行 */
    gap: 8px;
    margin-top: 4px;
    margin-right: -10px;
    overflow-x: hidden; /* 隐藏水平溢出 */
    white-space: nowrap; /* 强制单行 */
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

/* 关键词标签 */
.keyword-tag {
    padding: 4px 12px;
    border-radius: 15px;
    background: #fff;
    color: rgba(0, 0, 0, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.2px;
    position: relative;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    white-space: nowrap; /* 确保标签文字不换行 */
    flex-shrink: 0; /* 防止标签被压缩 */
}

.keyword-tag:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 关键词动画 */
@keyframes pulse {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -1px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.keyword-tag.pulse {
    animation: pulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 确保动画过程中文字清晰 */
.keyword-tag,
.keyword-tag:hover,
.keyword-tag.pulse {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    text-rendering: geometricPrecision;
}

/* 悬浮效果 */
.album-card:hover .album-thumb img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .album-card {
        flex-direction: column;
        padding: 15px;
    }

    .album-thumb {
        width: 100%;
        flex: 0 0 auto;
        height: 180px;
    }

    .album-title {
        font-size: 20px;
    }

    .album-desc {
        font-size: 13px;
    }
} 