* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

body {
    background: linear-gradient(135deg, #141e30, #243b55);
    padding: 0;
    color: #fff;
    min-height: 100vh;
}

.wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 32px 32px 60px;
    animation: fadeIn 0.5s ease-out;
    min-height: calc(100vh - 200px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.top-nav {
    background: rgba(0, 0, 0, 0.45);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.25s;
    white-space: nowrap;
}

.nav-list a.active {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    font-weight: 500;
}

.nav-list a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

/* 服务器状态指示器 */
.server-status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
    transition: all 0.3s;
    cursor: default;
}
.server-status-indicator.online {
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid rgba(0, 255, 128, 0.3);
    color: #00ff80;
}
.server-status-indicator.offline {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.online .status-dot {
    background: #00ff80;
    box-shadow: 0 0 8px #00ff80;
    animation: statusPulse 1.8s ease-in-out infinite;
}
.offline .status-dot {
    background: #ff6b6b;
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.5);
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 6px #00ff80; }
    50% { box-shadow: 0 0 14px #00ff80, 0 0 20px rgba(0, 255, 128, 0.4); }
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-user-name {
    color: #52c41a;
    font-size: 13px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    transition: 0.2s;
}

.nav-user-name:hover {
    color: #ffd700;
}

.nav-login-btn {
    color: #ffd700;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    transition: 0.25s;
    background: rgba(255, 215, 0, 0.05);
}

.nav-login-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    transform: translateY(-1px);
}

.title-box {
    text-align: center;
    margin-bottom: 30px;
}

.title-box h1 {
    font-size: 32px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.title-box p {
    color: #cccccc;
    font-size: 14px;
}

.refresh-tip {
    color: #bbbbbb;
    font-size: 13px;
    margin: 8px 0 20px;
}

.refresh-btn {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.refresh-btn:hover {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700;
}

.rank-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.rank-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-tab {
    padding: 10px 24px;
    color: #aaa;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s;
}

.rank-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.rank-tab.active {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #111;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.rank-update-time {
    font-size: 13px;
    color: #666;
}

.rank-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin: 40px 0 50px;
    padding: 0 20px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 280px;
}

.podium-crown {
    font-size: 36px;
    margin-bottom: -10px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.podium-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 3px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.podium-avatar-icon {
    font-size: 42px;
    line-height: 1;
}

.guild-avatar {
    border-radius: 16px;
}

.podium-rank-num {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.podium-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 6px;
    text-align: center;
}

.podium-name a {
    color: #fff;
    text-decoration: none;
}

.podium-name a:hover {
    color: #ffd700;
}

.guild-name {
    color: #88ddff;
}

.podium-job {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 4px;
}

.podium-guild {
    font-size: 13px;
    color: #88ddff;
    margin-bottom: 12px;
}

.podium-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.podium-stat {
    text-align: center;
}

.podium-stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.podium-stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

.podium-base {
    width: 100%;
    padding: 16px 20px;
    text-align: center;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.podium-base-text {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.podium-item.podium-1 {
    transform: translateY(-30px);
}

.podium-item.podium-1 .podium-avatar {
    width: 110px;
    height: 110px;
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.podium-item.podium-1 .podium-name {
    font-size: 24px;
    color: #ffd700;
}

.podium-item.podium-1 .podium-name a {
    color: #ffd700;
}

.podium-item.podium-1 .podium-base {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.08));
    border-color: rgba(255, 215, 0, 0.3);
    padding-top: 24px;
    padding-bottom: 24px;
}

.podium-item.podium-1 .podium-base-text {
    color: #ffd700;
    font-size: 16px;
}

.podium-item.podium-2 .podium-avatar {
    border-color: rgba(192, 192, 192, 0.4);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.2);
}

.podium-item.podium-2 .podium-base {
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.18), rgba(192, 192, 192, 0.06));
    border-color: rgba(192, 192, 192, 0.25);
}

.podium-item.podium-2 .podium-base-text {
    color: #e0e0e0;
}

.podium-item.podium-3 .podium-avatar {
    border-color: rgba(205, 127, 50, 0.4);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    box-shadow: 0 0 25px rgba(205, 127, 50, 0.2);
}

.podium-item.podium-3 .podium-base {
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.18), rgba(205, 127, 50, 0.06));
    border-color: rgba(205, 127, 50, 0.25);
}

.podium-item.podium-3 .podium-base-text {
    color: #ffbb77;
}

.rank-list-section {
    margin-top: 30px;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s;
}

.rank-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.15);
    transform: translateX(4px);
}

.rank-list-rank {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #888;
    flex-shrink: 0;
}

.rank-list-rank.top10 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.rank-list-info {
    flex: 1;
    min-width: 0;
}

.rank-list-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.rank-list-name a {
    color: #fff;
    text-decoration: none;
}

.rank-list-name a:hover {
    color: #ffd700;
}

.guild-list-name {
    color: #88ddff;
}

.rank-list-meta {
    display: flex;
    gap: 8px;
    font-size: 13px;
    align-items: center;
}

.rank-list-guild {
    color: #88ddff;
}

.rank-list-sep {
    color: #555;
}

.rank-list-job {
    color: #aaa;
}

.rank-list-stats {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.rank-list-stat {
    text-align: right;
    min-width: 80px;
}

.list-stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.list-stat-value {
    font-size: 16px;
    font-weight: bold;
}

.list-stat-value.level {
    color: #ffd700;
}

.list-stat-value.reset {
    color: #ff6b6b;
}

.list-stat-value.money {
    color: #ffd700;
}

.list-stat-value.power {
    color: #88ddff;
}

.list-stat-value.points {
    color: #00ff88;
}

.list-stat-value.yuanbao {
    color: #ff66ff;
}

.list-stat-value.goblin {
    color: #ffaa00;
}

.wealth-stats {
    gap: 20px;
}

.wealth-total {
    padding-left: 16px;
    border-left: 2px solid rgba(255, 215, 0, 0.2);
}

.wealth-total .list-stat-value {
    font-size: 18px;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .wealth-stats {
        flex-wrap: wrap;
        gap: 12px;
    }
    .rank-list-stat {
        min-width: 60px;
    }
}

@media (max-width: 900px) {
    .rank-podium {
        gap: 12px;
        padding: 0;
    }
    .podium-item {
        max-width: none;
    }
    .podium-item.podium-1 {
        transform: translateY(-20px);
    }
    .podium-avatar {
        width: 70px;
        height: 70px;
    }
    .podium-item.podium-1 .podium-avatar {
        width: 85px;
        height: 85px;
    }
    .podium-name {
        font-size: 16px;
    }
    .podium-item.podium-1 .podium-name {
        font-size: 18px;
    }
    .podium-stats {
        gap: 12px;
    }
    .podium-stat-value {
        font-size: 15px;
    }
    .rank-list-stats {
        gap: 16px;
    }
    .rank-list-stat {
        min-width: 60px;
    }
}

@media (max-width: 600px) {
    .rank-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .rank-tabs {
        width: 100%;
    }
    .rank-tab {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 14px;
    }
    .rank-podium {
        gap: 8px;
        margin: 24px 0 30px;
    }
    .podium-crown {
        font-size: 24px;
    }
    .podium-avatar {
        width: 55px;
        height: 55px;
    }
    .podium-item.podium-1 .podium-avatar {
        width: 65px;
        height: 65px;
    }
    .podium-rank-num {
        font-size: 22px;
    }
    .podium-name {
        font-size: 14px;
    }
    .podium-item.podium-1 .podium-name {
        font-size: 15px;
    }
    .podium-job, .podium-guild {
        font-size: 12px;
    }
    .podium-stats {
        gap: 8px;
        flex-direction: column;
    }
    .podium-stat-value {
        font-size: 13px;
    }
    .podium-base {
        padding: 10px 8px;
    }
    .podium-item.podium-1 .podium-base {
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .podium-base-text {
        font-size: 12px;
    }
    .rank-list-item {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .rank-list-rank {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }
    .rank-list-stats {
        width: 100%;
        justify-content: space-between;
        gap: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .rank-list-stat {
        text-align: center;
        min-width: 0;
        flex: 1;
    }
}

.table-scroll {
    overflow-x: auto;
}

.rank-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.rank-table th {
    padding: 14px 10px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
}

.rank-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    transition: all 0.2s;
}

.rank-table tr:hover td {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

.r1 { background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), transparent); }
.r2 { background: linear-gradient(90deg, rgba(192, 192, 192, 0.2), transparent); }
.r3 { background: linear-gradient(90deg, rgba(205, 127, 50, 0.2), transparent); }

.rank-num {
    font-weight: bold;
    font-size: 18px;
}

.r1 .rank-num { color: #ffd700; }
.r2 .rank-num { color: #e8e8e8; }
.r3 .rank-num { color: #ffbb77; }

.empty-tip {
    padding: 80px 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
}

.empty-tip::before {
    content: '📭';
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.page-box {
    margin-top: 24px;
    text-align: center;
}

.page-box a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s;
}

.page-box a.active {
    background: #ffd700;
    color: #111;
}

.page-box a:hover {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700;
}

.power-val {
    color: #a8f0ff;
    font-weight: bold;
}

.home-card-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.home-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.home-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
}

.home-card h3 {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 12px;
}

.home-card p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 14px;
}

.home-card a {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s;
}

.home-card a:hover {
    background: rgba(255, 215, 0, 0.3);
}

.footer {
    text-align: center;
    margin-top: 50px;
    color: #777;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero {
    text-align: center;
    padding: 50px 0;
    margin-bottom: 30px;
}

.home-hero h1 {
    font-size: 42px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 6px;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.home-hero p {
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 8px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.5), rgba(255, 107, 107, 0.5));
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.stat-card .stat-num {
    font-size: 36px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.stat-card .stat-label {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 40px;
}

@media(max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

.quick-register-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 107, 0.1));
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.quick-register-box h3 {
    text-align: center;
    color: #ffd700;
    font-size: 22px;
    margin-bottom: 20px;
}

.quick-register-box .msg-box {
    text-align: center;
    margin-bottom: 16px;
    font-size: 14px;
    min-height: 24px;
}

.quick-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.quick-form-group {
    flex: 1;
}

.quick-form-group label {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-bottom: 4px;
}

.quick-form-group input {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: 0.2s;
}

.quick-form-group input:focus {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.quick-register-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    border: none;
    border-radius: 8px;
    color: #111;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
}

.quick-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.quick-tips {
    color: #666;
    font-size: 10px;
    margin-top: 3px;
}

.quick-captcha {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quick-captcha input {
    flex: 1;
}

.quick-captcha img {
    width: 90px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
}

.section-title {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #ffd700;
}

.feature-section-header {
    position: relative;
}

.feature-decor-text {
    font-size: 12px;
    color: rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.05);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-radius: 14px;
    padding: 28px 22px 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.06));
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card:hover .feature-card-glow {
    opacity: 1;
}

.feature-card-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    opacity: 0;
    transition: all 0.3s;
}

.feature-card-corner.tl {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
}

.feature-card-corner.tr {
    top: 8px;
    right: 8px;
    border-left: none;
    border-bottom: none;
}

.feature-card-corner.bl {
    bottom: 8px;
    left: 8px;
    border-right: none;
    border-top: none;
}

.feature-card-corner.br {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
}

.feature-card:hover .feature-card-corner {
    opacity: 1;
    width: 16px;
    height: 16px;
}

.feature-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 36px;
    font-weight: bold;
    color: rgba(255, 215, 0, 0.08);
    font-family: 'Georgia', serif;
    line-height: 1;
    transition: all 0.4s;
}

.feature-card:hover .feature-num {
    color: rgba(255, 215, 0, 0.15);
    transform: scale(1.1);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 107, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 107, 107, 0.15));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.feature-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.1);
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-icon {
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-card h4 {
    font-size: 17px;
    color: #ffd700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.feature-card p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: width 0.4s;
}

.feature-card:hover .feature-divider {
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.feature-card a {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notice-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 24px;
    border-left: 4px solid rgba(255, 255, 255, 0.1);
    transition: 0.2s;
    position: relative;
}

.notice-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notice-item.top {
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
}

.notice-item .notice-top {
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 2px 8px;
    background: #ffd700;
    color: #111;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
}

.notice-item h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: bold;
}

.notice-item .notice-content {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.notice-item .notice-time {
    color: #666;
    font-size: 12px;
}

.notice-empty {
    text-align: center;
    color: #666;
    padding: 40px;
    font-size: 14px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-links a:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.2);
}

.quick-links a .icon {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    color: #ffd700;
    font-size: 12px;
}

.register-success-box {
    text-align: center;
    padding: 20px 0;
}

.register-success-box .success-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.register-success-box h4 {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 8px;
}

.register-success-box p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.success-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #888;
    font-size: 14px;
    width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    padding: 4px 12px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    margin-left: 10px;
}

.copy-btn:hover {
    background: rgba(255, 215, 0, 0.3);
}

.hero-section {
    position: relative;
    padding: 60px 0;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title h1 {
    font-size: 48px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 8px;
    margin-bottom: 12px;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.hero-title p {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 30px;
}

.server-status {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 35px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
}

.status-dot.online {
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-icon {
    font-size: 16px;
}

.status-text strong {
    color: #ffd700;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    color: #111;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.stats-bar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 25px;
}

.stats-num {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.stats-label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-link {
    color: #ffd700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.section-link:hover {
    text-decoration: underline;
}

.elite-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.elite-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
    transition: 0.2s;
    border-left: 4px solid rgba(255, 255, 255, 0.1);
}

.elite-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.elite-item.rank-1 {
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.elite-item.rank-2 {
    border-left-color: #c0c0c0;
}

.elite-item.rank-3 {
    border-left-color: #cd7f32;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    color: #111;
    background: #888;
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, #ffd700, #ffb700);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32, #b87333);
}

.elite-info {
    flex: 1;
}

.elite-name {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}

.elite-detail {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.elite-job {
    color: #aaa;
}

.elite-level {
    color: #ffd700;
}

.elite-reset {
    font-weight: bold;
}

.elite-guild {
    color: #666;
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

@media (max-width: 700px) {
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.quick-icon {
    font-size: 32px;
}

.quick-label {
    color: #fff;
    font-size: 14px;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: 0.2s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.feature-item .feature-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 15px;
    color: #ffd700;
    margin-bottom: 4px;
}

.feature-content p {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item.top {
    padding: 18px 0;
}

.timeline-dot {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 3px;
}

.dot-normal {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dot-top {
    padding: 2px 8px;
    background: #ffd700;
    color: #111;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
    font-weight: bold;
}

.timeline-content p {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.timeline-time {
    color: #555;
    font-size: 12px;
}

.copy-btn.copied {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
}

.success-tip {
    color: #888 !important;
    font-size: 12px !important;
    margin-top: 15px !important;
}

.search-box {
    text-align: center;
    margin-bottom: 30px;
}

.search-box form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.search-box input:focus {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.search-box button {
    padding: 12px 28px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    border: none;
    border-radius: 8px;
    color: #111;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.player-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.player-header {
    display: flex;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 107, 107, 0.15), rgba(138, 43, 226, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.player-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.player-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.player-avatar .avatar-icon {
    font-size: 42px;
    font-weight: bold;
    color: #111;
}

.player-info h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.player-info p {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 6px;
}

.player-info .guild-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 14px;
    background: rgba(136, 221, 255, 0.15);
    border: 1px solid rgba(136, 221, 255, 0.3);
    border-radius: 20px;
    color: #88ddff;
    font-size: 13px;
}

.player-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.player-section {
    padding: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.player-section:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.player-section h3 {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #ffd700;
    font-weight: 600;
}

.currency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.currency-item {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.currency-item:hover {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.currency-item .currency-label {
    display: block;
    color: #888;
    font-size: 11px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.currency-item .currency-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

.currency-gold .currency-value { color: #ffd700; }
.currency-points .currency-value { color: #00ff88; }
.currency-yuanbao .currency-value { color: #ff66ff; }
.currency-goblin .currency-value { color: #ffaa00; }

.attr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.attr-item {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.attr-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.attr-item .attr-label {
    display: block;
    color: #888;
    font-size: 11px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.attr-item .attr-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.player-detail {
    padding: 28px;
    background: rgba(0, 0, 0, 0.1);
}

.player-detail h3 {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #ffd700;
    font-weight: 600;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #888;
    font-size: 14px;
    width: 100px;
    flex-shrink: 0;
}

.detail-value {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.detail-value.power {
    color: #ffd700;
    font-weight: bold;
    font-size: 18px;
}

.player-equip {
    padding: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.player-equip h3 {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #ffd700;
    font-weight: 600;
}

.equip-slots {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .player-sections {
        grid-template-columns: 1fr;
    }
    .player-section:first-child {
        border-right: none;
    }
    .currency-grid, .attr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .equip-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

.equip-slot {
    padding: 16px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.25s;
    position: relative;
}

.equip-slot:hover {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.equip-slot.empty {
    opacity: 0.4;
}

.equip-slot.empty:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
    box-shadow: none;
}

.slot-label {
    display: block;
    color: #666;
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slot-item {
    display: block;
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    word-break: break-all;
    line-height: 1.4;
}

.slot-item.empty-text {
    color: #555;
    font-weight: normal;
}

.side-notice-box {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.side-header {
    margin-bottom: 16px;
}

.side-header h3 {
    font-size: 17px;
    color: #ffd700;
    font-weight: bold;
}

.side-notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.side-notice-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: #ffd700;
    transform: translateX(4px);
}

.side-notice-item.top {
    background: rgba(255, 215, 0, 0.08);
    border-left-color: #ffd700;
}

.tag-top {
    display: inline-block;
    padding: 2px 8px;
    background: #ffd700;
    color: #111;
    font-size: 10px;
    font-weight: bold;
    border-radius: 4px;
    flex-shrink: 0;
}

.tag-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 6px;
    flex-shrink: 0;
}

.side-notice-content h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
    font-weight: normal;
    line-height: 1.4;
}

.side-notice-time {
    font-size: 11px;
    color: #555;
}

.side-empty {
    text-align: center;
    color: #666;
    padding: 20px;
    font-size: 13px;
}

.notice-detail-page {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 900px) {
    .notice-detail-page {
        grid-template-columns: 1fr;
    }
}

.notice-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.notice-detail-header {
    text-align: center;
    margin-bottom: 30px;
}

.notice-detail-badge {
    margin-bottom: 16px;
}

.badge-top {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #111;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.notice-detail-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.notice-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 14px;
}

.meta-separator {
    color: #555;
}

.notice-detail-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    margin: 30px 0;
}

.notice-detail-content {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.content-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    font-size: 24px;
    background: rgba(255, 215, 0, 0.2);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.content-text {
    color: #ddd;
    font-size: 16px;
    line-height: 2;
    padding-top: 20px;
}

.content-text p {
    margin-bottom: 16px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.notice-detail-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-back, .btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-back:hover, .btn-home:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 16px;
}

.notice-error {
    text-align: center;
    padding: 60px 20px;
    color: #ff6b6b;
    font-size: 18px;
}

.notice-error a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.notice-error a:hover {
    background: rgba(255, 215, 0, 0.3);
}

.notice-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h3 {
    font-size: 17px;
    color: #ffd700;
    margin-bottom: 16px;
    font-weight: bold;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: #ffd700;
    transform: translateX(4px);
}

.sidebar-item.top {
    background: rgba(255, 215, 0, 0.08);
    border-left-color: #ffd700;
}

.sidebar-dot {
    color: #888;
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-title {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

.sidebar-empty {
    text-align: center;
    color: #666;
    padding: 20px;
    font-size: 13px;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.08));
    border-color: rgba(255, 215, 0, 0.2);
    text-align: center;
}

.highlight-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.highlight-content h4 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 6px;
}

.highlight-content p {
    color: #888;
    font-size: 13px;
    margin-bottom: 16px;
}

.highlight-btn {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    color: #111;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.highlight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.download-main-section {
    max-width: 1200px;
    margin: 0 auto;
}

.download-hero {
    margin-bottom: 30px;
}

.featured-download {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 107, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 30px;
}

.featured-badge {
    padding: 4px 14px;
    background: #ffd700;
    color: #111;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    flex-shrink: 0;
}

.featured-icon {
    font-size: 42px;
    flex-shrink: 0;
}

.featured-info {
    flex: 1;
}

.featured-info h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}

.featured-info p {
    color: #aaa;
    font-size: 14px;
}

.featured-actions {
    flex-shrink: 0;
}

.download-big-btn {
    padding: 14px 36px !important;
    font-size: 16px !important;
}

.download-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .download-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .download-grid-3 {
        grid-template-columns: 1fr;
    }
    .featured-download {
        flex-direction: column;
        text-align: center;
    }
}

.download-item-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    position: relative;
}

.download-item-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-4px);
}

.download-item-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.download-item-content h3 {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 8px;
}

.download-item-content .item-desc {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
}

.download-btn-small {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 24px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s;
}

.download-btn-small:hover {
    background: rgba(255, 215, 0, 0.3);
}

.guide-card-wrap {
    padding-bottom: 16px;
}

.guide-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-guide {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: 0.2s;
    cursor: pointer;
}

.mini-guide:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(4px);
}

.mini-icon {
    font-size: 16px;
}

.mini-title {
    font-size: 13px;
    color: #ddd;
}

.faq-section {
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-q, .faq-a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-q {
    margin-bottom: 10px;
}

.faq-q .faq-text {
    color: #fff;
    font-weight: 500;
}

.faq-a .faq-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.faq-num {
    padding: 2px 8px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    flex-shrink: 0;
}

.system-req-section {
    margin-bottom: 40px;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .req-grid {
        grid-template-columns: 1fr;
    }
}

.req-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.req-card.recommended {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.req-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.req-icon {
    font-size: 20px;
}

.req-header h4 {
    font-size: 16px;
    color: #ffd700;
}

.req-list {
    list-style: none;
    padding: 0;
}

.req-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.req-list li:last-child {
    border-bottom: none;
}

.req-list li span:first-child {
    color: #888;
}

.req-list li strong {
    color: #fff;
}

.download-page {
    width: 100%;
}

.download-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.08));
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.download-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.download-header h1 {
    font-size: 32px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.download-header p {
    color: #aaa;
    font-size: 15px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.download-card-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.download-card-title {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 8px;
    font-weight: bold;
}

.download-card-desc {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    color: #111;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
}

.download-btn:hover:not([onclick]) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.download-btn[onclick] {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 15px;
}

.download-tips {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-tips h3 {
    color: #ffd700;
    font-size: 17px;
    margin-bottom: 16px;
}

.download-tips ul {
    list-style: none;
    padding: 0;
}

.download-tips li {
    color: #aaa;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.download-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.download-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.notice-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.notice-content h4 {
    color: #ff6b6b;
    font-size: 16px;
    margin-bottom: 6px;
}

.notice-content p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

.card-redeem-page {
    width: 100%;
}

.card-redeem-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.08));
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.redeem-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.card-redeem-header h1 {
    font-size: 28px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.card-redeem-header p {
    color: #888;
    font-size: 14px;
}

.msg-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.msg-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.msg-box.success {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: #00ff88;
}

.msg-box.success::before {
    background: linear-gradient(180deg, #00ff88, #00cc6a);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.msg-box.error {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: #ff6b6b;
}

.msg-box.error::before {
    background: linear-gradient(180deg, #ff6b6b, #ee5a5a);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
}

.msg-icon {
    font-size: 22px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px currentColor);
}

.msg-box .msg-text {
    flex: 1;
    line-height: 1.5;
}

.redeem-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.redeem-form .form-group {
    margin-bottom: 20px;
}

.redeem-form label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
}

.redeem-form input {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.redeem-form input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.redeem-form input::placeholder {
    color: #666;
}

.form-hint {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 6px;
}

.redeem-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    color: #111;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.redeem-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.card-stats {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-stats h3 {
    color: #ffd700;
    font-size: 17px;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.stat-card .stat-icon {
    font-size: 24px;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-name {
    color: #ffd700;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-card .stat-value {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 2px;
}

.stat-card .total {
    color: #888;
}

.stat-card .unused {
    color: #00ff88;
}

.card-rules {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-rules h3 {
    color: #ffd700;
    font-size: 17px;
    margin-bottom: 16px;
}

.card-rules ul {
    list-style: none;
    padding: 0;
}

.card-rules li {
    color: #aaa;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.card-rules li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.login-page {
    max-width: 420px;
    margin: 40px auto;
}

.login-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 35px 30px;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header h1 {
    font-size: 26px;
    color: #ffd700;
    margin-bottom: 8px;
}

.login-header p {
    color: #aaa;
    font-size: 14px;
}

.login-box .form-group {
    margin-bottom: 18px;
}

.login-box .form-group label {
    display: block;
    color: #ddd;
    font-size: 14px;
    margin-bottom: 6px;
}

.login-box .form-group input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.login-box .form-group input:focus {
    outline: none;
    border-color: #ffd700;
}

.login-box .captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-box .captcha-row input {
    flex: 1;
}

.login-box .captcha-row img {
    height: 38px;
    border-radius: 4px;
    cursor: pointer;
}

.login-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-size: 14px;
    animation: loginMsgShake 0.45s ease-out;
    position: relative;
    overflow: hidden;
}

.login-msg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.login-msg-icon {
    font-size: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px currentColor);
}

.login-msg-text {
    flex: 1;
    line-height: 1.5;
    font-weight: 500;
}

.login-msg-error {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.04));
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff8a8a;
}

.login-msg-error::before {
    background: linear-gradient(180deg, #ff6b6b, #ee5a5a);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
}

.login-msg-success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 255, 136, 0.04));
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #66ffb3;
}

.login-msg-success::before {
    background: linear-gradient(180deg, #00ff88, #00cc6a);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

@keyframes loginMsgShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 5px;
}

.login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
}

.login-footer a {
    color: #ffd700;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.page-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 107, 107, 0.08));
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-hero .hero-icon {
    font-size: 56px;
    margin-bottom: 18px;
}

.page-hero .hero-text h1 {
    font-size: 36px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.page-hero .hero-text p {
    color: #aaa;
    font-size: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h3 {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 6px;
}

.section-header p {
    color: #888;
    font-size: 13px;
}

.section-header .section-link {
    color: #1890ff;
    font-size: 13px;
    text-decoration: none;
}

.section-header .section-link:hover {
    text-decoration: underline;
}

.card-redeem-page .redeem-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.redeem-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 14px;
    padding: 40px 48px;
}

.redeem-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.redeem-card-header h3 {
    font-size: 22px;
    color: #ffd700;
}

.redeem-card-header span {
    color: #52c41a;
    font-size: 13px;
}

.msg-box {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.msg-box.success {
    background: rgba(82, 196, 26, 0.1);
    border: 1px solid rgba(82, 196, 26, 0.3);
    color: #52c41a;
}

.msg-box.error {
    background: rgba(255, 77, 79, 0.1);
    border: 1px solid rgba(255, 77, 79, 0.3);
    color: #ff4d4f;
}

.redeem-form .form-group {
    margin-bottom: 24px;
}

.redeem-form .form-group label {
    display: block;
    color: #ddd;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 500;
}

.redeem-form .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
    transition: 0.25s;
}

.redeem-form .form-group input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.05);
}

.redeem-form .form-hint {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 12px;
}

.redeem-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.redeem-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.redeem-divider {
    text-align: center;
    margin: 32px 0 24px;
    position: relative;
}

.redeem-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.redeem-divider span {
    position: relative;
    background: transparent;
    padding: 0 16px;
    color: #888;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.3);
}

.redeem-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.note-item {
    text-align: center;
    padding: 20px 12px;
}

.note-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.note-content h4 {
    font-size: 15px;
    color: #ddd;
    margin-bottom: 6px;
}

.note-content p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.side-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.side-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.side-card-title h4 {
    font-size: 15px;
    color: #ddd;
}

.side-stats .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #aaa;
}

.side-stats .stat-row strong {
    color: #fff;
    font-size: 16px;
}

.side-stats .stat-row.highlight strong {
    color: #52c41a;
}

.type-list .type-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.type-list .type-item:last-child {
    border-bottom: none;
}

.type-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.type-info .type-name {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 2px;
}

.type-info .type-desc {
    font-size: 11px;
    color: #888;
    line-height: 1.4;
}

.warning-card {
    border-color: rgba(255, 179, 0, 0.2);
    background: rgba(255, 179, 0, 0.03);
}

.warning-card .side-card-title h4 {
    color: #ffb300;
}

.tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-list li {
    padding: 7px 0 7px 18px;
    font-size: 13px;
    color: #aaa;
    position: relative;
    line-height: 1.5;
}

.tip-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #ffb300;
}

.player-search-page .search-section {
    margin-bottom: 40px;
}

.search-box.large {
    max-width: 900px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    transition: 0.25s;
}

.search-input-wrapper:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-input-wrapper .search-icon {
    font-size: 18px;
    margin-right: 10px;
}

.search-input-wrapper input {
    flex: 1;
    padding: 14px 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: #666;
}

.search-input-wrapper button {
    padding: 12px 28px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.search-input-wrapper button:hover {
    opacity: 0.9;
}

.hot-players-section {
    margin-top: 36px;
}

.hot-players-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 20px;
}

.hot-players-section .section-header h3 {
    font-size: 20px;
}

.hot-player-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.hot-player-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: 0.25s;
    position: relative;
}

.hot-player-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hot-rank {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    color: #1a1a2e;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 12px 0;
}

.hot-player-card.rank-1 .hot-rank { background: linear-gradient(135deg, #ffd700, #ff8c00); }
.hot-player-card.rank-2 .hot-rank { background: linear-gradient(135deg, #c0c0c0, #808080); }
.hot-player-card.rank-3 .hot-rank { background: linear-gradient(135deg, #cd7f32, #8b4513); }

.hot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 12px;
}

.hot-info {
    flex: 1;
    min-width: 0;
}

.hot-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-detail {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #888;
    flex-wrap: wrap;
}

.hot-detail .hot-level {
    color: #52c41a;
}

.hot-detail .hot-reset {
    color: #ffd700;
}

.download-page .download-main-section {
    margin-bottom: 48px;
}

.featured-download {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 44px 48px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.featured-download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 14px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
}

.featured-icon {
    font-size: 72px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.featured-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.featured-info h2 {
    font-size: 28px;
    color: #ffd700;
    margin-bottom: 10px;
}

.featured-info > p {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 16px;
}

.featured-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.featured-meta span {
    font-size: 14px;
    color: #888;
}

.featured-meta span strong {
    color: #ddd;
    margin-left: 4px;
}

.featured-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.download-big-btn {
    padding: 16px 40px !important;
    font-size: 17px !important;
    white-space: nowrap;
}

.btn-secondary {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.08);
    color: #ddd;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.25s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.download-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.download-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media(max-width: 900px) {
    .download-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .download-grid-3 {
        grid-template-columns: 1fr;
    }
}

.download-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: 0.25s;
}

.download-item-card:hover {
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.download-item-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.download-item-content {
    flex: 1;
    min-width: 0;
}

.download-item-content h3 {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 4px;
}

.download-item-content .item-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.item-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #666;
}

.download-btn-small {
    padding: 8px 18px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.2s;
}

.download-btn-small:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
}

.guide-card-wrap {
    flex-direction: column;
    align-items: flex-start;
}

.guide-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
}

.mini-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 13px;
    color: #aaa;
    transition: 0.2s;
}

.mini-guide:hover {
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
}

.mini-icon {
    font-size: 14px;
}

.mini-title {
    flex: 1;
}

.guides-section {
    margin-bottom: 48px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.guide-card {
    padding: 24px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: 0.25s;
}

.guide-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.2);
}

.guide-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.guide-card h4 {
    font-size: 15px;
    color: #ffd700;
    margin-bottom: 6px;
}

.guide-card p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.faq-section {
    margin-bottom: 48px;
}

.faq-list {
    max-width: none;
}

.faq-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}

.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.faq-a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 36px;
}

.faq-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.faq-q .faq-num {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.faq-a .faq-num {
    background: rgba(82, 196, 26, 0.15);
    color: #52c41a;
}

.faq-text {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

.faq-a .faq-text {
    color: #aaa;
}

.system-req-section {
    margin-bottom: 20px;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: none;
}

.req-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.req-card.recommended {
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.06), rgba(0, 0, 0, 0.3));
}

.req-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.req-icon {
    font-size: 22px;
}

.req-header h4 {
    font-size: 16px;
    color: #ddd;
}

.req-card.recommended .req-header h4 {
    color: #ffd700;
}

.req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.req-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.req-list li:last-child {
    border-bottom: none;
}

.req-list li span {
    color: #888;
}

.req-list li strong {
    color: #ddd;
    font-weight: 500;
}

@media (max-width: 900px) {
    .card-redeem-page .redeem-layout {
        grid-template-columns: 1fr;
    }
    .hot-player-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-download {
        flex-direction: column;
        text-align: center;
    }
    .featured-meta {
        justify-content: center;
    }
    .featured-actions {
        flex-direction: row;
        width: 100%;
    }
    .featured-actions .btn-secondary,
    .featured-actions .btn-primary {
        flex: 1;
    }
    .download-grid-2 {
        grid-template-columns: 1fr;
    }
    .req-grid {
        grid-template-columns: 1fr;
    }
    .redeem-notes {
        grid-template-columns: 1fr;
    }
    .nav-list {
        display: none;
    }
}

/* ========== 个人中心 ========== */
.ucenter-page {
    width: 100%;
    animation: fadeIn 0.5s ease-out;
    position: relative;
}

.ucenter-page::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center top, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---- 顶部快捷栏 ---- */
.uc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 107, 107, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.uc-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), rgba(255, 107, 107, 0.6), transparent);
}

.uc-topbar::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.uc-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.uc-topbar-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.25);
    position: relative;
}

.uc-topbar-avatar::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(255, 215, 0, 0.5);
    animation: spin 8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.uc-topbar-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.uc-topbar-name {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.uc-topbar-hello {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.uc-topbar-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
    font-size: 13px;
    flex-wrap: wrap;
}

.uc-divider {
    color: #444;
    font-size: 10px;
}

.uc-topbar-right {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.uc-quick-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.uc-quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.uc-quick-btn:hover {
    background: rgba(255, 215, 0, 0.18);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.uc-quick-btn:hover::before {
    left: 100%;
}

.uc-quick-logout:hover {
    background: rgba(255, 77, 79, 0.18);
    border-color: rgba(255, 77, 79, 0.4);
    box-shadow: 0 6px 20px rgba(255, 77, 79, 0.25);
}

/* ---- 消息提示 ---- */
.uc-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px 16px 28px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.uc-msg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.uc-msg.success {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: #00ff88;
}

.uc-msg.success::before {
    background: linear-gradient(180deg, #00ff88, #00cc6a);
}

.uc-msg.error {
    background: rgba(255, 77, 79, 0.08);
    border: 1px solid rgba(255, 77, 79, 0.25);
    color: #ff6b6b;
}

.uc-msg.error::before {
    background: linear-gradient(180deg, #ff4d4f, #ff6b6b);
}

.uc-msg-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}

.uc-msg-text {
    flex: 1;
    line-height: 1.6;
}

/* ---- 资产概览条 ---- */
.uc-asset-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.uc-asset-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.uc-asset-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.uc-asset-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at bottom right, rgba(255, 215, 0, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
}

.uc-asset-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.05);
}

.uc-asset-item:hover::before,
.uc-asset-item:hover::after {
    opacity: 1;
}

.uc-asset-icon {
    font-size: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s;
}

.uc-asset-item:hover .uc-asset-icon {
    transform: scale(1.1) rotate(-5deg);
}

.uc-asset-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.uc-asset-label {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.uc-asset-value {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.uc-asset-zen .uc-asset-value { 
    color: #ffd700; 
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3); 
}
.uc-asset-points .uc-asset-value { 
    color: #00ff88; 
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3); 
}
.uc-asset-yuanbao .uc-asset-value { 
    color: #a855f7; 
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.3); 
}

/* ---- 主体布局：左侧导航 + 右侧内容 ---- */
.uc-main {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ---- 左侧导航 ---- */
.uc-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.uc-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #aaa;
    font-weight: 500;
    overflow: hidden;
}

.uc-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #ffd700, #ff8c00);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uc-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateX(4px);
}

.uc-nav-item:hover::before {
    height: 20px;
}

.uc-nav-item.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 140, 0, 0.12));
    color: #ffd700;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.1);
}

.uc-nav-item.active::before {
    height: 28px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.uc-nav-icon {
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.uc-nav-item:hover .uc-nav-icon,
.uc-nav-item.active .uc-nav-icon {
    transform: scale(1.1);
}

.uc-nav-text {
    font-size: 14px;
    flex: 1;
    letter-spacing: 0.5px;
}

/* ---- 右侧内容区 ---- */
.uc-content {
    min-width: 0;
}

.uc-tab-pane {
    display: none;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.uc-tab-pane.active {
    display: block;
}

/* ---- 每日签到 ---- */
.signin-calendar-section {
    margin-bottom: 36px;
}
.signin-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.signin-calendar-header h3 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    margin: 0;
}
.signin-today-reward {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #ccc;
    font-size: 14px;
}
.signin-today-done {
    color: #4ade80;
    font-weight: 600;
}
.signin-today-pending {
    color: #ffd700;
}
.signin-reward-item,
.signin-reward-currency {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 4px 12px;
    border-radius: 16px;
    color: #ffd700;
    font-size: 13px;
    font-weight: 600;
}
.signin-calendar {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
}
.signin-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
    text-align: center;
}
.signin-calendar-weekdays > div {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 0;
}
.signin-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.signin-day {
    min-height: 62px;
    max-height: 72px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 2px 2px;
    position: relative;
    transition: all 0.25s ease;
    overflow: hidden;
}
.signin-day.empty {
    background: transparent;
    border-color: transparent;
}
.signin-day.signed {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.35);
}
.signin-day.today {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}
.signin-day.future {
    opacity: 0.5;
}
.signin-day-num {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.signin-day-reward {
    font-size: 10px;
    color: #ffd700;
    line-height: 1.2;
    margin-top: 2px;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}
.signin-day-check {
    color: #4ade80;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    line-height: 1;
}
.signin-day-today {
    color: #ffd700;
    font-size: 10px;
    font-weight: 700;
    margin-top: auto;
    line-height: 1;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}
.signin-form {
    text-align: center;
}
.signin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border: none;
    border-radius: 30px;
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.35);
}
.signin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 140, 0, 0.5);
}
.signin-btn:active {
    transform: scale(0.97);
}
.signin-btn-icon {
    font-size: 20px;
}

/* ---- 累计签到奖励 ---- */
.signin-cumulative-section h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.signin-cumulative-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.signin-cumulative-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}
.signin-cumulative-item.available {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}
.signin-cumulative-item.claimed {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.3);
}
.signin-cumulative-item.locked {
    opacity: 0.7;
}
.signin-cumulative-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.signin-cumulative-day {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
.signin-cumulative-day .day-num {
    color: #ffd700;
    font-size: 20px;
    margin: 0 3px;
}
.signin-cumulative-reward {
    color: #ccc;
    font-size: 13px;
    text-align: right;
    line-height: 1.6;
}
.signin-cumulative-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}
.signin-cumulative-progress .progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}
.signin-cumulative-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border-radius: 4px;
    transition: width 0.5s ease;
}
.signin-cumulative-progress .progress-text {
    color: #888;
    font-size: 12px;
    min-width: 36px;
    text-align: right;
}
.signin-cumulative-action {
    text-align: right;
}
.signin-cumulative-action .claim-form {
    display: inline;
}
.signin-cumulative-action .claim-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border: none;
    border-radius: 18px;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
.signin-cumulative-action .claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.4);
}
.signin-cumulative-action .action-claimed {
    color: #4ade80;
    font-weight: 600;
    font-size: 13px;
}
.signin-cumulative-action .action-locked {
    color: #888;
    font-size: 13px;
}

@media (max-width: 768px) {
    .signin-cumulative-list {
        grid-template-columns: 1fr;
    }
    .signin-calendar {
        padding: 8px;
    }
    .signin-calendar-weekdays,
    .signin-calendar-days {
        gap: 4px;
    }
    .signin-day {
        min-height: 48px;
        max-height: 56px;
        border-radius: 6px;
        padding: 2px 1px 1px;
    }
    .signin-day-num {
        font-size: 11px;
    }
    .signin-day-reward {
        font-size: 8px;
    }
    .signin-day-check,
    .signin-day-today {
        font-size: 9px;
    }
}

.uc-tab-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.uc-tab-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.uc-tab-header h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.uc-tab-header p {
    color: #999;
    font-size: 14px;
}

.uc-tab-header p b {
    color: #ffd700;
    font-weight: 600;
}

/* ---- 空状态 ---- */
.uc-empty {
    padding: 80px 40px;
    text-align: center;
    color: #888;
    font-size: 15px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.uc-empty::before {
    content: '📭';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

/* ---- 角色列表 ---- */
.uc-char-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.uc-char-row {
    display: grid;
    grid-template-columns: 300px 1fr 340px;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(30, 25, 45, 0.85), rgba(20, 15, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.uc-char-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.uc-char-row::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.uc-char-row.can-reset {
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(135deg, rgba(35, 28, 50, 0.9), rgba(25, 18, 35, 0.95));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.uc-char-row.can-reset::before {
    opacity: 1;
}

.uc-char-row.can-reset::after {
    opacity: 1;
}

.uc-char-row.can-reset:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.08);
}

.uc-char-row.can-reset:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent);
}

.uc-char-row.locked {
    opacity: 0.8;
}

.uc-char-row.locked:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 左侧：头像 + 基本信息 */
.uc-char-row-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.uc-char-avatar-sm {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.3), rgba(180, 100, 50, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    flex-shrink: 0;
    border: 3px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2), inset 0 2px 6px rgba(255, 255, 255, 0.15);
    position: relative;
    transition: all 0.3s;
}

.uc-char-row.can-reset .uc-char-avatar-sm {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 2px 6px rgba(255, 255, 255, 0.2);
}

.uc-char-row.locked .uc-char-avatar-sm {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    opacity: 0.7;
    filter: grayscale(0.3);
}

.uc-char-row:hover .uc-char-avatar-sm {
    transform: scale(1.05) rotate(-3deg);
}

.uc-char-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uc-char-row-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-all;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.uc-online-dot-sm {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff88;
    flex-shrink: 0;
    animation: pulse-dot 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #00ff88;
}

.uc-char-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.uc-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid;
    white-space: nowrap;
    transition: all 0.2s;
}

.uc-chip-class {
    background: rgba(201, 169, 110, 0.15);
    color: #d4b87a;
    border-color: rgba(201, 169, 110, 0.3);
}

.uc-chip-lv {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}

.uc-chip-reset {
    background: rgba(255, 107, 107, 0.15);
    color: #ff8a8a;
    border-color: rgba(255, 107, 107, 0.3);
}

.uc-chip-map {
    background: rgba(136, 221, 255, 0.12);
    color: #88ddff;
    border-color: rgba(136, 221, 255, 0.25);
}

.uc-chip-master {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(255, 152, 0, 0.12));
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.35);
    font-weight: 600;
}

/* 中间：属性 + 进度 + 货币 */
.uc-char-row-mid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.uc-char-stats-sm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.uc-char-stats-sm span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #ccc;
    transition: all 0.25s;
}

.uc-char-stats-sm span:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 215, 0, 0.15);
    transform: translateY(-1px);
}

.uc-char-stats-sm span i {
    font-style: normal;
    font-size: 15px;
}

.uc-char-stats-sm span b {
    color: #fff;
    font-weight: 600;
    margin-left: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.uc-master-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.uc-master-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 152, 0, 0.04));
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.15);
    font-size: 13px;
    color: #ccc;
    transition: all 0.25s;
}

.uc-master-item:hover {
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}

.uc-master-item i {
    font-style: normal;
    font-size: 15px;
}

.uc-master-item em {
    font-style: normal;
    color: #94a3b8;
    font-size: 12px;
}

.uc-master-item b {
    color: #ffc107;
    font-weight: 600;
    margin-left: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.uc-progress-sm {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.uc-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #bbb;
    margin-bottom: 10px;
    font-weight: 500;
}

.uc-progress-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.uc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ff6b6b);
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-size: 200% 100%;
    animation: shimmer-bar 3s linear infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.uc-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer-spark 2s ease-in-out infinite;
}

@keyframes shimmer-bar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes shimmer-spark {
    0%, 100% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 1; transform: translateX(0); }
}

.uc-char-cur-sm {
    display: flex;
    gap: 10px;
}

.uc-cur-sm {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s;
}

.uc-cur-sm:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.1);
}

.uc-cur-sm.zen { 
    color: #ffd700; 
    border-color: rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.05);
}
.uc-cur-sm.points { 
    color: #00ff88; 
    border-color: rgba(0, 255, 136, 0.15);
    background: rgba(0, 255, 136, 0.05);
}
.uc-cur-sm.yuanbao { 
    color: #a855f7; 
    border-color: rgba(168, 85, 247, 0.15);
    background: rgba(168, 85, 247, 0.05);
}

/* 右侧：支付选择 + 按钮 */
.uc-char-row-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.uc-pay-select {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uc-pay-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.uc-pay-opt:hover {
    border-color: rgba(255, 215, 0, 0.25);
    background: rgba(255, 215, 0, 0.06);
    transform: translateX(4px);
}

.uc-pay-opt input[type="radio"] {
    margin: 0;
    accent-color: #ffd700;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.uc-pay-opt.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.uc-pay-opt.disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.uc-pay-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.uc-pay-cost {
    margin-left: auto;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.uc-pay-cost.no {
    color: #ff6b6b;
}

.uc-reset-btn-sm {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(180deg, #ffd700, #ff8c00, #ff6b6b);
    color: #1a1a2e;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

.uc-reset-btn-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.uc-reset-btn-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.uc-reset-btn-sm:hover::before {
    left: 100%;
}

.uc-reset-btn-sm:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.uc-reset-btn-sm small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.uc-reset-btn-sm.disabled {
    background: linear-gradient(180deg, #3a3a4a, #2a2a3a, #1a1a2a);
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.uc-reset-btn-sm.disabled::before {
    display: none;
}

.uc-reset-btn-sm.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.uc-detail-link {
    text-align: center;
    color: #c9a96e;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.uc-detail-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ffd700;
    transition: width 0.3s;
}

.uc-detail-link:hover {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.uc-detail-link:hover::after {
    width: 40px;
}

/* ========== 角色卡片 V2 新版设计 ========== */
.uc-char-card-v2 {
    display: block;
    position: relative;
    background: linear-gradient(145deg, rgba(30, 27, 50, 0.95), rgba(18, 16, 32, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.uc-char-card-v2.can-reset {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.06);
}

.uc-char-card-v2.can-reset:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.1);
}

.uc-char-card-v2.locked {
    opacity: 0.85;
}

.uc-char-card-v2.locked:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
}

.char-card-bg-glow {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.uc-char-card-v2.can-reset .char-card-bg-glow {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12), transparent 60%);
    animation: glowFloat 6s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.8; }
    50% { transform: translate(20px, 10px); opacity: 1; }
}

.char-card-inner {
    position: relative;
    z-index: 1;
    padding: 28px;
}

/* ---- 卡片头部 ---- */
.char-card-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.char-avatar-section {
    position: relative;
    flex-shrink: 0;
}

.char-avatar-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ffd700, #ff8c00, #ff6b6b, #a855f7, #ffd700);
    opacity: 0.6;
    animation: ringRotate 8s linear infinite;
    filter: blur(2px);
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.uc-char-card-v2.locked .char-avatar-ring {
    opacity: 0.3;
    filter: grayscale(0.5);
    animation: none;
}

.char-avatar {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(180, 100, 50, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    border: 4px solid rgba(20, 18, 35, 0.9);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.char-online-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #003322;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.4);
    z-index: 2;
}

.char-info-section {
    flex: 1;
    min-width: 0;
}

.char-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.char-name {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.char-class-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), rgba(201, 169, 110, 0.1));
    border: 1px solid rgba(201, 169, 110, 0.35);
    border-radius: 20px;
    color: #d4b87a;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.char-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.char-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.25s;
}

.char-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.char-badge i {
    font-style: normal;
    font-size: 13px;
}

.char-badge em {
    font-style: normal;
    color: #94a3b8;
    font-size: 11px;
}

.char-badge b {
    color: #fff;
    font-weight: 700;
}

.char-badge.lv-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.06));
    border-color: rgba(255, 215, 0, 0.25);
}

.char-badge.lv-badge b {
    color: #ffd700;
}

.char-badge.master-badge {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.08));
    border-color: rgba(255, 193, 7, 0.3);
}

.char-badge.master-badge b {
    color: #ffc107;
}

.char-badge.reset-badge {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.06));
    border-color: rgba(255, 107, 107, 0.25);
}

.char-badge.reset-badge b {
    color: #ff8a8a;
}

.char-badge.map-badge {
    background: linear-gradient(135deg, rgba(136, 221, 255, 0.1), rgba(136, 221, 255, 0.05));
    border-color: rgba(136, 221, 255, 0.2);
}

.char-badge.map-badge b {
    color: #88ddff;
}

/* ---- 头部右侧属性区 ---- */
.char-stats-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 240px;
}

.stats-grid-top,
.stats-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.25s;
}

.stat-mini:hover {
    border-color: rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.04);
}

.stat-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
}

.stat-mini-icon.strength {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 107, 107, 0.1));
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.12);
}

.stat-mini-icon.agility {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.25), rgba(100, 200, 255, 0.1));
    box-shadow: 0 0 10px rgba(100, 200, 255, 0.12);
}

.stat-mini-icon.vitality {
    background: linear-gradient(135deg, rgba(255, 150, 150, 0.25), rgba(255, 100, 100, 0.1));
    box-shadow: 0 0 10px rgba(255, 100, 100, 0.12);
}

.stat-mini-icon.energy {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.1));
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.12);
}

.stat-mini-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.stat-mini-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.stat-mini-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.2;
}

.master-mini-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 2px;
}

.master-mini-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 152, 0, 0.04));
    border: 1px solid rgba(255, 193, 7, 0.15);
    border-radius: 8px;
}

.master-mini-icon {
    font-size: 14px;
}

.master-mini-label {
    font-size: 10px;
    color: #d4a745;
    font-weight: 500;
}

.master-mini-value {
    font-size: 12px;
    font-weight: 700;
    color: #ffc107;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: auto;
    text-shadow: 0 0 6px rgba(255, 193, 7, 0.2);
}

.zen-mini-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.zen-mini-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    position: relative;
}

.zen-mini-icon {
    font-size: 14px;
}

.zen-mini-label {
    font-size: 10px;
    color: #daa520;
    font-weight: 500;
}

.zen-mini-value {
    font-size: 12px;
    font-weight: 700;
    color: #ffd700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: auto;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

.btn-withdraw-zen {
    position: relative;
    padding: 4px 12px;
    font-size: 11px;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #0f172a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.btn-withdraw-zen:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.45);
    filter: brightness(1.1);
}

.btn-withdraw-zen:active {
    transform: translateY(0);
}

/* ---- 卡片主体 ---- */
.char-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.char-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
}

.stat-icon.strength {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.08));
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.15);
}

.stat-icon.agility {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.2), rgba(100, 200, 255, 0.08));
    box-shadow: 0 0 15px rgba(100, 200, 255, 0.15);
}

.stat-icon.vitality {
    background: linear-gradient(135deg, rgba(255, 150, 150, 0.2), rgba(255, 100, 100, 0.08));
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.15);
}

.stat-icon.energy {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.08));
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.2;
}

/* ---- 大师等级 ---- */
.char-master-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.master-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.05));
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 14px;
    transition: all 0.3s;
}

.master-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.35);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.1);
}

.master-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 193, 7, 0.15);
    flex-shrink: 0;
}

.master-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.master-label {
    font-size: 11px;
    color: #d4a745;
    font-weight: 500;
}

.master-value {
    font-size: 17px;
    font-weight: 800;
    color: #ffc107;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

/* ---- 转生进度 ---- */
.char-progress-section {
    padding: 18px 22px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.progress-title {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.progress-num {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.progress-bar {
    flex: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ff6b6b);
    border-radius: 7px;
    position: relative;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.progress-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2.5s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percent {
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
    min-width: 55px;
    text-align: right;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* ---- 货币显示 ---- */
.char-currency-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.currency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s;
}

.currency-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.currency-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.currency-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.currency-value {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.currency-item.zen {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.02));
    border-color: rgba(255, 215, 0, 0.15);
}

.currency-item.zen .currency-value {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.25);
}

.currency-item.points {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.08), rgba(0, 255, 136, 0.02));
    border-color: rgba(0, 255, 136, 0.15);
}

.currency-item.points .currency-value {
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.25);
}

.currency-item.yuanbao {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
    border-color: rgba(168, 85, 247, 0.15);
}

.currency-item.yuanbao .currency-value {
    color: #a855f7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.25);
}

/* ---- 卡片底部 ---- */
.char-card-footer {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: stretch;
    padding-top: 24px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pay-options-title {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.pay-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pay-option:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.06);
    transform: translateY(-2px);
}

.pay-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pay-option:has(input:checked) {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.pay-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pay-option.disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.pay-icon {
    font-size: 22px;
}

.pay-cost {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pay-cost.no {
    color: #ff6b6b;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-end;
}

.btn-rebirth {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(180deg, #ffe066, #ffd700, #ff8c00);
    color: #1a1a2e;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.35);
}

.btn-rebirth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-rebirth:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(255, 215, 0, 0.45);
}

.btn-rebirth:active {
    transform: translateY(-1px);
}

.btn-rebirth.disabled {
    background: linear-gradient(180deg, #4a5568, #2d3748);
    color: #a0aec0;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-rebirth.disabled::before {
    display: none;
}

.btn-rebirth .btn-icon {
    font-size: 20px;
}

.btn-rebirth .btn-text {
    font-size: 16px;
    font-weight: 800;
}

.btn-rebirth .btn-sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.8;
}

.btn-detail {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-detail:hover {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.06);
}

/* ---- 响应式 ---- */
@media (max-width: 1100px) {
    .char-card-footer {
        grid-template-columns: 1fr;
    }

    .char-stats-section {
        min-width: 200px;
    }
}

@media (max-width: 900px) {
    .char-card-header {
        grid-template-columns: auto 1fr;
    }

    .char-stats-section {
        grid-column: 1 / -1;
        min-width: 0;
    }
}

@media (max-width: 700px) {
    .char-card-inner {
        padding: 20px;
    }

    .char-card-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .char-avatar-section {
        margin: 0 auto;
    }

    .char-name-row {
        justify-content: center;
    }

    .char-badges-row {
        justify-content: center;
    }

    .char-stats-section {
        grid-column: 1;
    }

    .stats-grid-top,
    .stats-grid-bottom,
    .master-mini-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pay-options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- 表单卡片 ---- */
.uc-form-card {
    background: linear-gradient(180deg, rgba(30, 25, 45, 0.95), rgba(20, 15, 30, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.uc-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), rgba(255, 107, 107, 0.6), transparent);
}

.uc-form-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05), transparent 60%);
    pointer-events: none;
}

.uc-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.uc-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uc-form-group label {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.uc-form-group label::before {
    content: '';
    width: 3px;
    height: 12px;
    background: linear-gradient(180deg, #ffd700, #ff8c00);
    border-radius: 2px;
}

.uc-form-group input,
.uc-form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.uc-form-group input:focus,
.uc-form-group select:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    background: rgba(10, 14, 26, 0.95);
    transform: translateY(-1px);
}

.uc-form-group input::placeholder {
    color: #475569;
}

.uc-form-group input:disabled,
.uc-form-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.uc-form-group select option {
    background: #1a1a2e;
    color: #fff;
    padding: 8px;
}

.uc-form-actions {
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.uc-btn {
    padding: 12px 28px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.uc-btn:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.2);
}

.uc-btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff8c00, #ff6b6b);
    color: #0a0e1a;
    font-weight: 700;
    border: none;
    padding: 14px 36px;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.uc-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.uc-btn-primary:hover {
    background: linear-gradient(135deg, #ffe033, #ffa033, #ff8585);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
}

.uc-btn-primary:hover::before {
    left: 100%;
}

/* ---- 改名提示 ---- */
.uc-rename-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #ffc107;
    line-height: 1.7;
    position: relative;
    overflow: hidden;
}

.uc-rename-tip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ffc107, #ff9800);
}

.uc-rename-tip-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.5;
}

.uc-rename-tip-warn {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.25);
    color: #fca5a5;
}

.uc-rename-tip-warn::before {
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

/* ---- 转生规则 ---- */
.uc-rules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.uc-rule-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.uc-rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.uc-rule-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.uc-rule-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(255, 215, 0, 0.05);
}

.uc-rule-card:hover::before,
.uc-rule-card:hover::after {
    opacity: 1;
}

.uc-rule-card-icon {
    font-size: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.uc-rule-card:hover .uc-rule-card-icon {
    transform: scale(1.15) rotate(-5deg);
}

.uc-rule-card-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.uc-rule-card-body h4 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.uc-rule-card-body p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
}

.uc-rule-card-body p b {
    color: #ffd700;
    font-weight: 700;
    font-size: 15px;
}

/* ---- 响应式适配 ---- */
@media (max-width: 1280px) {
    .uc-char-row {
        grid-template-columns: 260px 1fr 300px;
        gap: 18px;
        padding: 20px;
    }

    .uc-char-stats-sm {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .uc-main {
        grid-template-columns: 200px 1fr;
        gap: 22px;
    }

    .uc-nav {
        padding: 12px;
    }

    .uc-nav-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .uc-nav-text {
        font-size: 13px;
    }

    .uc-asset-bar {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 960px) {
    .uc-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .uc-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
        gap: 6px;
        border-radius: 16px;
    }

    .uc-nav-item {
        flex-shrink: 0;
        padding: 12px 18px;
        gap: 8px;
    }

    .uc-nav-item::before {
        display: none;
    }

    .uc-nav-item.active {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.15));
    }

    .uc-asset-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .uc-char-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .uc-char-row-left {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .uc-char-row-right {
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .uc-char-stats-sm {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 720px) {
    .uc-topbar {
        padding: 18px 20px;
        gap: 14px;
    }

    .uc-topbar-avatar {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .uc-topbar-name {
        font-size: 18px;
    }

    .uc-topbar-hello {
        display: none;
    }

    .uc-quick-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .uc-asset-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 22px;
    }

    .uc-asset-item {
        padding: 16px;
        gap: 10px;
    }

    .uc-asset-icon {
        font-size: 26px;
    }

    .uc-asset-value {
        font-size: 20px;
    }

    .uc-tab-header h2 {
        font-size: 20px;
    }

    .uc-form-card {
        padding: 24px;
    }

    .uc-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .uc-char-stats-sm {
        grid-template-columns: repeat(2, 1fr);
    }

    .uc-rules-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .uc-rule-card {
        padding: 20px;
        gap: 14px;
    }

    .uc-rule-card-icon {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .uc-topbar {
        padding: 16px;
        gap: 12px;
    }

    .uc-topbar-left {
        gap: 12px;
    }

    .uc-topbar-avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .uc-topbar-name {
        font-size: 16px;
    }

    .uc-topbar-meta {
        font-size: 12px;
    }

    .uc-topbar-right {
        gap: 8px;
    }

    .uc-quick-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .uc-asset-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .uc-asset-item {
        padding: 14px 12px;
        gap: 8px;
        border-radius: 12px;
    }

    .uc-asset-icon {
        font-size: 22px;
    }

    .uc-asset-label {
        font-size: 11px;
    }

    .uc-asset-value {
        font-size: 17px;
    }

    .uc-nav {
        padding: 8px;
        gap: 4px;
        border-radius: 14px;
    }

    .uc-nav-item {
        padding: 10px 14px;
        gap: 6px;
    }

    .uc-nav-icon {
        font-size: 16px;
    }

    .uc-nav-text {
        font-size: 12px;
    }

    .uc-tab-header {
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .uc-tab-header h2 {
        font-size: 18px;
        gap: 8px;
    }

    .uc-tab-header p {
        font-size: 13px;
    }

    .uc-char-row {
        padding: 16px;
        gap: 14px;
        border-radius: 16px;
    }

    .uc-char-avatar-sm {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .uc-char-row-name {
        font-size: 17px;
    }

    .uc-char-stats-sm {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .uc-char-stats-sm span {
        padding: 8px 10px;
        font-size: 12px;
    }

    .uc-char-cur-sm {
        flex-direction: column;
        gap: 6px;
    }

    .uc-char-cur-sm span {
        width: 100%;
    }

    .uc-pay-opt {
        padding: 10px 12px;
    }

    .uc-reset-btn-sm {
        padding: 14px 16px;
        font-size: 15px;
    }

    .uc-form-card {
        padding: 20px;
        border-radius: 16px;
    }

    .uc-form-grid {
        gap: 16px;
    }

    .uc-form-group input,
    .uc-form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }

    .uc-btn-primary {
        padding: 12px 28px;
        font-size: 14px;
    }

    .uc-rule-card {
        padding: 18px;
        gap: 12px;
        border-radius: 14px;
    }

    .uc-rule-card-icon {
        font-size: 28px;
    }

    .uc-rule-card-body h4 {
        font-size: 15px;
    }

    .uc-rule-card-body p {
        font-size: 13px;
        line-height: 1.6;
    }

    .uc-empty {
        padding: 60px 30px;
        font-size: 14px;
    }

    .uc-empty::before {
        font-size: 40px;
    }
}

@media (max-width: 360px) {
    .uc-asset-bar {
        grid-template-columns: 1fr;
    }

    .uc-char-stats-sm {
        grid-template-columns: 1fr;
    }

    .uc-topbar-name {
        font-size: 15px;
    }

    .uc-nav-item {
        padding: 8px 12px;
    }

    .uc-nav-text {
        font-size: 11px;
    }
}

/* ========== 节日横幅 ========== */
.holiday-banner {
    padding: 12px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 101;
    animation: bannerSlideDown 0.5s ease-out;
}

@keyframes bannerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.holiday-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: bannerShimmer 3s infinite;
}

@keyframes bannerShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.holiday-banner-inner {
    position: relative;
    z-index: 1;
}

.holiday-banner-link {
    display: inline-block;
    text-decoration: none;
}

.holiday-banner-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .holiday-banner {
        padding: 10px 12px;
    }
    .holiday-banner-text {
        font-size: 14px;
    }
}

/* ========== 抽奖中奖公告（横向滚动） ========== */
.lottery-announce-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.12), rgba(255, 87, 34, 0.12));
    border-bottom: 1px solid rgba(255, 193, 7, 0.15);
    padding: 10px 0;
    position: sticky;
    top: 64px;
    z-index: 150;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.announce-label {
    flex-shrink: 0;
    padding: 0 18px;
    font-weight: bold;
    color: #ffd700;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    border-right: 1px solid rgba(255, 193, 7, 0.15);
    margin-right: 14px;
    position: relative;
}

.announce-label::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700;
    animation: announceDotPulse 2s ease-in-out infinite;
}

@keyframes announceDotPulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(0.7); }
}

.announce-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.announce-track {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 120s linear infinite;
}

.announce-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-right: 300px;
}

.announce-item .announce-icon {
    color: #ffd700;
    font-size: 14px;
    flex-shrink: 0;
}

.announce-item .player-name {
    color: #88ddff;
    font-weight: 600;
    flex-shrink: 0;
}

.announce-item .prize-name {
    color: #ffd700;
    font-weight: bold;
    flex-shrink: 0;
}

.announce-item .congrats-text {
    color: #94a3b8;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.lottery-announce-bar:hover .announce-track {
    animation-play-state: paused;
}

@media (max-width: 600px) {
    .announce-label {
        font-size: 11px;
        padding: 0 10px;
        margin-right: 8px;
    }
    .announce-item {
        font-size: 11px;
        margin-right: 150px;
    }
}

/* ========== 节日特效 ========== */
.snow-container,
.firework-container,
.heart-container,
.lantern-container,
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: #fff;
    font-size: 14px;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.heart {
    position: absolute;
    color: #ff6b9d;
    font-size: 20px;
    animation: heartFloat ease-in-out infinite;
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.7;
    }
}

.lantern {
    position: absolute;
    color: #ff4757;
    font-size: 28px;
    animation: lanternSwing ease-in-out infinite;
}

@keyframes lanternSwing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.confetti {
    position: absolute;
    font-size: 16px;
    animation: confettiFall linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========== 主题色彩变量支持 ========== */
:root {
    --theme-color: #ffd700;
    --secondary-color: #ff8c00;
    --accent-color: #ff4500;
}

.top-nav a.active,
.top-nav a:hover,
.logo,
.title-box h1,
.page-hero .hero-text h1,
.rank-tab.active,
.rank-table th,
.stat-card .stat-num,
.quick-register-box h3,
.section-title,
.feature-card h4,
.feature-decor-text,
.hero-title h1,
.status-text strong,
.btn-primary,
.btn-primary:hover,
.page-hero .hero-icon + h1,
.redeem-btn,
.redeem-btn:hover,
.login-btn,
.login-btn:hover,
.nav-login-btn,
.nav-login-btn:hover {
    color: var(--theme-color) !important;
}

.rank-tab.active {
    background: linear-gradient(135deg, var(--theme-color), var(--secondary-color)) !important;
}

.btn-primary,
.redeem-btn,
.login-btn {
    background: linear-gradient(90deg, var(--theme-color), var(--secondary-color)) !important;
}

.holiday-banner {
    padding: 12px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 101;
    animation: bannerSlideDown 0.5s ease-out;
}

@keyframes bannerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.holiday-banner-inner {
    max-width: 1500px;
    margin: 0 auto;
}

.holiday-banner-link {
    text-decoration: none;
    color: #fff;
    display: block;
}

.holiday-banner-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.holiday-banner:hover .holiday-banner-text {
    animation: bannerPulse 1s ease-in-out infinite;
}

@keyframes bannerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.snow-container,
.firework-container,
.heart-container,
.lantern-container,
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: #fff;
    font-size: 14px;
    animation: snowFall linear infinite;
}

@keyframes snowFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: fireworkExplode 1s ease-out forwards;
}

@keyframes fireworkExplode {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(30);
        opacity: 0;
    }
}

.heart {
    position: absolute;
    color: #ff6b9d;
    font-size: 20px;
    animation: heartFloat ease-in-out infinite;
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.7;
    }
}

.lantern {
    position: absolute;
    color: #ff4d4d;
    font-size: 32px;
    animation: lanternSwing ease-in-out infinite;
}

@keyframes lanternSwing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========== 通用数字浮动动画 ========== */
.num-flash-up { animation: numFlashUp 1.8s ease-out; }
.num-flash-down { animation: numFlashDown 1.8s ease-out; }

@keyframes numFlashUp {
    0% { color: #00ff88; transform: scale(1.25); text-shadow: 0 0 12px rgba(0, 255, 136, 0.6); }
    40% { color: #00ff88; transform: scale(1.08); text-shadow: 0 0 8px rgba(0, 255, 136, 0.4); }
    100% { color: inherit; transform: scale(1); text-shadow: none; }
}

@keyframes numFlashDown {
    0% { color: #ff6b6b; transform: scale(0.9); text-shadow: 0 0 12px rgba(255, 107, 107, 0.6); }
    40% { color: #ff6b6b; transform: scale(0.96); text-shadow: 0 0 8px rgba(255, 107, 107, 0.4); }
    100% { color: inherit; transform: scale(1); text-shadow: none; }
}

/* ========== Toast 提示 ========== */
.toast-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    background: rgba(20, 25, 40, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: toastIn 0.35s cubic-bezier(0.4, 0, 0.2, 1), toastOut 0.35s ease-in 2.65s forwards;
    pointer-events: auto;
    min-width: 200px;
    max-width: 420px;
}

.toast.toast-success {
    border-color: rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(20, 25, 40, 0.92));
}

.toast.toast-success .toast-icon { color: #00ff88; }

.toast.toast-error {
    border-color: rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(20, 25, 40, 0.92));
}

.toast.toast-error .toast-icon { color: #ff6b6b; }

.toast.toast-info {
    border-color: rgba(100, 180, 255, 0.3);
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.12), rgba(20, 25, 40, 0.92));
}

.toast.toast-info .toast-icon { color: #64b4ff; }

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px currentColor);
}

.toast-text {
    flex: 1;
    line-height: 1.4;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

/* ========== 通用 Modal 弹窗 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.modal-show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 215, 0, 0.35);
    border-radius: 20px;
    padding: 40px 35px 30px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.modal-show .modal-box {
    transform: scale(1) translateY(0);
}

.modal-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 140, 0, 0.3), rgba(255, 215, 0, 0.3));
    z-index: -1;
    animation: modalBorderGlow 3s ease-in-out infinite;
}

@keyframes modalBorderGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 18px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.4));
    animation: modalIconBounce 1.2s ease-in-out infinite;
}

@keyframes modalIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.modal-title {
    font-size: 26px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.modal-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-message {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: break-all;
}

.modal-message.error-detail {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: monospace;
    font-size: 12px;
    color: #ff8a8a;
    text-align: left;
    max-height: 120px;
    overflow-y: auto;
}

.modal-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 1px;
    min-width: 100px;
}

.modal-btn-primary {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.45);
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.modal-btn:active {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-success .modal-icon { color: #00ff88; }
.modal-success .modal-title { color: #00ff88; text-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }

.modal-error .modal-icon { color: #ff6b6b; }
.modal-error .modal-title { color: #ff6b6b; text-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }

.modal-warning .modal-icon { color: #ffd700; }
.modal-warning .modal-title { color: #ffd700; }

.modal-info .modal-icon { color: #64b4ff; }
.modal-info .modal-title { color: #64b4ff; text-shadow: 0 0 20px rgba(100, 180, 255, 0.3); }

@media (max-width: 600px) {
    .modal-box {
        padding: 30px 20px 24px;
        border-radius: 16px;
    }
    .modal-icon { font-size: 48px; }
    .modal-title { font-size: 20px; }
    .modal-subtitle { font-size: 16px; }
    .modal-btn { padding: 10px 24px; font-size: 14px; min-width: 80px; }
}

/* ============ 仓库样式 ============ */
.wh-section-title {
    font-size: 18px;
    color: #fff;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.wh-currency-section {
    margin-bottom: 28px;
}

.wh-currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.wh-currency-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    transition: all 0.3s;
}

.wh-currency-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.wh-currency-card.zen { border-left: 3px solid #ffd700; }
.wh-currency-card.points { border-left: 3px solid #64b4ff; }
.wh-currency-card.yuanbao { border-left: 3px solid #a855f7; }
.wh-currency-card.gobcoin { border-left: 3px solid #22c55e; }

.wh-currency-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.wh-currency-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wh-currency-label {
    font-size: 13px;
    color: #94a3b8;
}

.wh-currency-amount {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.wh-currency-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wh-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.wh-btn-deposit {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.wh-btn-deposit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}

.wh-btn-withdraw {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.wh-btn-withdraw:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.wh-btn-expand {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    padding: 8px 18px;
}

.wh-btn-expand:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139,92,246,0.3);
}

.wh-items-section {
    margin-bottom: 24px;
}

.wh-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wh-items-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wh-slot-info {
    font-size: 14px;
    color: #94a3b8;
}

.wh-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    padding: 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.wh-slot {
    aspect-ratio: 1;
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.wh-slot.empty {
    cursor: default;
    opacity: 0.5;
    background: rgba(255,255,255,0.02);
}

.wh-slot:not(.empty):hover {
    border-color: rgba(255,215,0,0.5);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,215,0,0.2);
}

.wh-slot.excellent {
    border-color: rgba(0,200,255,0.4);
    background: rgba(0,200,255,0.06);
}

.wh-slot.setitem {
    border-color: rgba(255,100,200,0.4);
    background: rgba(255,100,200,0.06);
}

.wh-item-icon {
    font-size: 28px;
}

.wh-item-count {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.wh-tip {
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.wh-char-select {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}

.wh-char-select label {
    font-size: 14px;
    color: #94a3b8;
}

.wh-char-select select {
    padding: 6px 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* 弹窗 */
.wh-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.wh-modal {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.wh-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}

.wh-modal-close:hover {
    color: #fff;
}

.wh-modal h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #fff;
}

.wh-form-group {
    margin-bottom: 16px;
}

.wh-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.wh-form-group select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.wh-amount-input {
    display: flex;
    align-items: center;
    gap: 0;
}

.wh-amount-input button {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.wh-amount-input button:first-child {
    border-radius: 8px 0 0 8px;
}

.wh-amount-input button:last-child {
    border-radius: 0 8px 8px 0;
}

.wh-amount-input button:hover {
    background: rgba(255,215,0,0.2);
    border-color: rgba(255,215,0,0.4);
}

.wh-amount-input input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    border-left: none;
    border-right: none;
    color: #fff;
    font-size: 14px;
    text-align: center;
    -moz-appearance: textfield;
}

.wh-amount-input input::-webkit-outer-spin-button,
.wh-amount-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wh-quick-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.wh-quick-btns button {
    padding: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.wh-quick-btns button:hover {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.3);
    color: #ffd700;
}

.wh-fee-info {
    margin: 12px 0;
    padding: 10px 12px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 8px;
    font-size: 13px;
    color: #f59e0b;
    display: none;
}

.wh-offline-tip {
    margin: 0 0 12px;
    padding: 8px 12px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 8px;
    font-size: 12px;
    color: #fca5a5;
    text-align: center;
}

.wh-rule-tip {
    margin: 0 0 14px;
    padding: 8px 14px;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.25);
    border-radius: 8px;
    font-size: 12px;
    color: #fbbf24;
    text-align: center;
}

.wh-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.wh-btn-cancel {
    flex: 1;
    padding: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.wh-btn-cancel:hover {
    background: rgba(255,255,255,0.12);
}

.wh-btn-confirm {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.wh-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

/* 物品提示 */
.wh-item-tip {
    display: none;
    position: fixed;
    z-index: 1500;
    min-width: 200px;
    padding: 14px 16px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    pointer-events: none;
}

.wh-tip-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 8px;
}

.wh-tip-count {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.wh-tip-action {
    font-size: 12px;
    color: #22c55e;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .wh-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .wh-currency-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wh-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .wh-currency-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 补偿领取 ========== */
.uc-comp-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.uc-comp-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(30, 25, 45, 0.85), rgba(20, 15, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.uc-comp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.uc-comp-card.comp-available {
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.04);
}

.uc-comp-card.comp-available::before {
    opacity: 1;
}

.uc-comp-card.comp-available:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.12);
}

.uc-comp-card.comp-unavailable {
    opacity: 0.65;
    filter: grayscale(0.3);
}

.uc-comp-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uc-comp-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.uc-comp-desc {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
}

.uc-comp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
    color: #888;
    font-size: 13px;
}

.uc-comp-meta span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.uc-comp-meta b {
    color: #ffd700;
    font-weight: 600;
    margin-left: 4px;
}

.uc-comp-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.uc-comp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    white-space: nowrap;
}

.uc-comp-btn.comp-btn-active {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.uc-comp-btn.comp-btn-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.uc-comp-btn.comp-btn-active:hover::before {
    left: 100%;
}

.uc-comp-btn.comp-btn-active:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.uc-comp-btn.comp-btn-active:active {
    transform: translateY(0) scale(0.97);
}

.uc-comp-btn.comp-btn-disabled {
    background: linear-gradient(135deg, #3a3540, #2a2530);
    color: #666;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0.7;
}

/* 状态徽章 */
.comp-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.comp-badge.comp-status-available {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.35);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.comp-badge.comp-status-claimed {
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.comp-badge.comp-status-expired {
    background: rgba(158, 158, 158, 0.12);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.comp-badge.comp-status-disabled {
    background: rgba(244, 67, 54, 0.12);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

@media (max-width: 768px) {
    .uc-comp-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
    }
    .uc-comp-action {
        justify-content: flex-end;
    }
    .uc-comp-btn {
        width: 100%;
    }
    .uc-comp-meta {
        gap: 10px;
        font-size: 12px;
    }
}
