/* OneNav Social 赞助页面样式 */
.onenav-sponsors-page {
    background: #f5f6f8;
    padding: 24px 0 48px;
    min-height: 100vh;
}

.onenav-sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.onenav-sponsors-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    line-height: 1.4;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 127, 40, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8a2b 0%, #ff6b12 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 127, 40, 0.35);
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: #ff9f43;
    border: 1px solid #ffd8b8;
}

.btn-outline:hover {
    background: #fff8f2;
    border-color: #ff9f43;
    color: #ff7e28;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-large {
    padding: 12px 32px;
    font-size: 16px;
    border-radius: 50px;
}

/* 友情赞助 */
.onenav-friend-sponsors {
    overflow: hidden;
}

.friend-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.friend-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.friend-title-wrap .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-style: italic;
}

.friend-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.friend-marquee {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.friend-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 20s ease-in-out infinite alternate;
}

.friend-marquee-track.reverse {
    animation: marquee-reverse 20s ease-in-out infinite alternate;
}

.friend-marquee:hover .friend-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-distance, 0));
    }
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(var(--scroll-distance, 0));
    }
    100% {
        transform: translateX(0);
    }
}

.friend-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f6f8;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    perspective: 1000px;
    cursor: pointer;
}

.friend-avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.friend-avatar:hover .friend-avatar-inner {
    transform: rotateY(180deg);
}

.friend-avatar-front,
.friend-avatar-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.friend-avatar-front {
    background: #f5f6f8;
}

.friend-avatar-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-avatar-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
}

.friend-amount {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    padding: 4px;
    word-break: break-all;
}

.friend-avatar.placeholder {
    opacity: 0.7;
}

.friend-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* 主网格 */
.onenav-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.leaderboard-column,
.current-column {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.current-header {
    align-items: center;
}

.column-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.column-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.column-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #ff9f43 0%, #ff7e28 100%);
    border-radius: 2px;
}

.count-badge {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.column-subtitle {
    font-size: 13px;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    font-size: 11px;
    cursor: help;
}

/* 排行榜标签 */
.leaderboard-tabs {
    display: flex;
    background: #f5f6f8;
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
}

.tab-btn {
    padding: 5px 12px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    background: #ff9f43;
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 159, 67, 0.25);
}

/* 前三名 */
.top-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.top-card {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    padding: 2px;
    transition: transform 0.25s ease;
}

.top-card:hover {
    transform: translateY(-3px);
}

.top-card.gold {
    background: linear-gradient(135deg, #fff9e6 0%, #ffefc2 100%);
}

.top-card.silver {
    background: linear-gradient(135deg, #f7f7f7 0%, #e8e8e8 100%);
}

.top-card.bronze {
    background: linear-gradient(135deg, #fff0e6 0%, #ffd9c2 100%);
}

.top-card-inner {
    background: #fff;
    border-radius: 12px;
    padding: 16px 12px 14px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f6f8;
    margin-bottom: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.top-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-meta {
    margin-bottom: 10px;
}

.top-amount {
    font-size: 12px;
    color: #999;
}

.top-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.medal-icon {
    font-size: 20px;
    line-height: 1;
}

.top-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.top-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 排行榜列表 */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.leaderboard-item:hover {
    background: #f9f9f9;
}

.list-rank {
    width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ff9f43;
    flex-shrink: 0;
}

.list-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f6f8;
}

.list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.list-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.list-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-amount-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.list-amount {
    font-size: 14px;
    font-weight: 600;
    color: #ff7e28;
}

.list-count {
    font-size: 11px;
    color: #bbb;
    font-weight: 500;
}

/* 正在发电 */
.current-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.current-list::-webkit-scrollbar {
    width: 4px;
}

.current-list::-webkit-scrollbar-track {
    background: #f5f6f8;
    border-radius: 2px;
}

.current-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.current-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.current-item:hover {
    border-color: #ffd8b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.new-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0 0 8px 0;
    z-index: 1;
}

.current-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f6f8;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.current-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.current-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.current-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.current-amount {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.current-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    grid-column: 1 / -1;
}

/* 特别鸣谢 */
.section-header {
    margin-bottom: 20px;
}

.section-header .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header .section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #ff9f43 0%, #ff7e28 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.thanks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.thanks-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.thanks-card:hover {
    border-color: #ffd8b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.thanks-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0 0 0 8px;
}

.thanks-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f6f8;
}

.thanks-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.thanks-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.thanks-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA */
.onenav-cta-section {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe3 100%);
    text-align: center;
    padding: 48px 24px;
}

.cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.cta-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 24px 0;
}

/* 加载状态 */
.leaderboard-content.loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* 赞助弹窗 */
.onenav-sponsor-modal-dialog {
    max-width: 460px;
}

.onenav-sponsor-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.onenav-sponsor-modal-content .io-modal-content {
    background: transparent;
    padding: 0;
}

.onenav-sponsor-modal {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.sponsor-modal-header {
    position: relative;
    padding: 24px 24px 12px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.sponsor-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.sponsor-modal-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: #999;
}

.sponsor-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.sponsor-modal-close:hover {
    background: #eee;
    color: #333;
}

.sponsor-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px;
}

.sponsor-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.sponsor-tab {
    flex: 1;
    max-width: 100px;
    padding: 8px 4px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.sponsor-tab.active {
    color: #ff9f43;
}

.sponsor-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #ff9f43;
    border-radius: 2px;
}

/* 匿名说明 */
.sponsor-anonymous-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff8f2;
    border-radius: 12px;
    margin-bottom: 14px;
}

.sponsor-anonymous-icon {
    flex-shrink: 0;
    color: #ff9f43;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sponsor-anonymous-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.sponsor-anonymous-text .sponsor-highlight {
    color: #ff9f43;
    font-weight: 600;
}

/* 金额分组容器 */
.sponsor-amount-group {
    margin-bottom: 12px;
}

.sponsor-field-group {
    margin-bottom: 14px;
}

.sponsor-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.sponsor-field-name {
    font-style: italic;
}

.sponsor-required {
    color: #ff4d4f;
    margin-left: 2px;
}

.sponsor-field-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.2s;
    outline: none;
}

.sponsor-field-input:focus {
    border-color: #ff9f43;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.1);
}

.sponsor-input-with-btn {
    display: flex;
    gap: 8px;
}

.sponsor-input-with-btn .sponsor-field-input {
    flex: 1;
}

.btn-random-desc {
    padding: 0 14px;
    border: 1px solid #ffd8b8;
    background: #fff8f2;
    color: #ff9f43;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-random-desc:hover {
    background: #ffecd8;
}

.sponsor-amount-section {
    margin-top: 20px;
}

.sponsor-amounts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.sponsor-amount-item,
.sponsor-special-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    background: #f5f6f8;
    border: 1px solid transparent;
    transition: all 0.2s;
    overflow: hidden;
}

.sponsor-amount-item input,
.sponsor-special-item input {
    position: absolute;
    opacity: 0;
}

.sponsor-amount-item .sponsor-amount-text {
    display: block;
    padding: 12px 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.sponsor-amount-item.active,
.sponsor-special-item.active {
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
    border-color: #ff7e28;
    box-shadow: 0 4px 10px rgba(255, 126, 40, 0.25);
}

.sponsor-amount-item.active .sponsor-amount-text,
.sponsor-special-item.active .sponsor-special-title,
.sponsor-special-item.active .sponsor-special-desc {
    color: #fff;
}

.sponsor-special-item {
    display: flex;
    padding: 14px;
    align-items: flex-start;
    gap: 10px;
}

.sponsor-special-item input {
    position: relative;
    opacity: 1;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #ff9f43;
}

.sponsor-special-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sponsor-special-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.sponsor-special-desc {
    font-size: 12px;
    color: #999;
}

.sponsor-pay-methods {
    margin-top: 18px;
}

.sponsor-pay-methods-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sponsor-balance-info {
    font-size: 12px;
    color: #ff7e28;
    font-weight: 600;
    white-space: nowrap;
}

.sponsor-pay-methods-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.sponsor-pay-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    border: 0.8px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

.sponsor-pay-method input {
    position: absolute;
    opacity: 0;
}

.sponsor-pay-method.active {
    border-color: #ff9f43;
    background: #fff8f2;
}

.sponsor-pay-method-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-pay-method-img img {
    width: 17px;
    height: 17px;
}

.sponsor-pay-method-img svg {
    display: block;
    width: 17px;
    height: 17px;
    color: #ff9f43;
}

.sponsor-pay-method-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
}

.sponsor-pay-login-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.sponsor-pay-method-balance.active {
    border-color: #ff9f43;
    background: #fff8f2;
}

.sponsor-pay-method-balance.active .sponsor-pay-method-name {
    color: #ff7e28;
}

.sponsor-pay-error {
    margin-top: 12px;
    padding: 12px;
    background: #fff2f0;
    color: #ff4d4f;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.sponsor-modal-footer {
    display: flex;
    padding: 14px 24px 14px;
    gap: 12px;
    flex-shrink: 0;
}

.sponsor-modal-footer .btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sponsor-modal-footer .btn-cancel {
    background: #f5f6f8;
    color: #555;
    border: none;
}

.sponsor-modal-footer .btn-cancel:hover {
    background: #eee;
}

.sponsor-modal-footer .btn-confirm {
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e28 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 126, 40, 0.25);
}

.sponsor-modal-footer .btn-confirm:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff8a2b 0%, #ff6b12 100%);
}

.sponsor-modal-footer .btn-confirm:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 1024px) {
    .onenav-main-grid {
        grid-template-columns: 1fr;
    }

    .thanks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .onenav-sponsors-section {
        padding: 16px;
    }

    .friend-header {
        flex-direction: column;
    }

    .friend-actions {
        width: 100%;
    }

    .friend-actions .btn {
        flex: 1;
    }

    .top-three {
        grid-template-columns: 1fr;
    }

    .top-card-inner {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 14px;
    }

    .top-info {
        align-items: flex-start;
        margin-top: 0;
    }

    .top-meta {
        margin-bottom: 0;
        margin-left: auto;
    }

    .top-amount {
        font-size: 13px;
        color: #ff7e28;
        font-weight: 600;
    }

    .thanks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .column-header {
        flex-direction: column;
    }

    .leaderboard-tabs {
        width: 100%;
    }

    .tab-btn {
        flex: 1;
    }

    .current-header {
        align-items: flex-start;
    }

    .current-header .btn {
        width: 100%;
    }

    .current-list {
        grid-template-columns: 1fr;
    }

    .onenav-sponsor-modal-dialog {
        max-width: 100%;
        margin: 10px;
    }

    .sponsor-modal-body {
        padding: 16px;
    }

    .sponsor-modal-header,
    .sponsor-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sponsor-amounts {
        grid-template-columns: repeat(3, 1fr);
    }

    .sponsor-pay-methods-list {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .sponsor-pay-method {
        padding: 5px;
        border-radius: 7px;
    }

    .sponsor-pay-method-img {
        width: 22px;
        height: 22px;
    }

    .sponsor-pay-method-img img,
    .sponsor-pay-method-img svg {
        width: 15px;
        height: 15px;
    }

    .sponsor-pay-method-name {
        font-size: 13px;
    }
}

/* ========================================
   eeenav 风格侧边栏赞助小工具
   完全复刻 eeenav.com 赞助伙伴组件样式
   ======================================== */
.widget_onenav_sponsors .e_sponsor-widget-ios {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.widget_onenav_sponsors .e_sponsor-widget-ios .sidebar-header {
    position: relative;
}

.widget_onenav_sponsors .e_sponsor-widget-ios .card-header {
    position: relative;
    border-bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    margin: 0;
}

.widget_onenav_sponsors .e_sponsor-widget-ios .card-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(116, 116, 116, 0.1);
    transition: background-color 0.3s;
}

.widget_onenav_sponsors .e_sponsor-widget-ios .card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    height: 1px;
    width: 0;
    background: var(--theme-color, #0066CC);
    box-shadow: 0 0 5px rgba(220, 65, 75, 0.6);
    transition: 0.3s ease-out;
}

.widget_onenav_sponsors .e_sponsor-widget-ios:hover .card-header::after {
    width: calc(100% - 40px);
}

.widget_onenav_sponsors .e_sponsor-widget-ios .card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.widget_onenav_sponsors .e_sponsor-widget-ios .card-header h3 .e_sponsor-icon {
    margin-right: 0.5rem;
    font-size: 15px;
    color: var(--theme-color, #0066CC);
    text-shadow: 2px 2px 3px rgba(220, 65, 75, 0.4);
    flex-shrink: 0;
}

.widget_onenav_sponsors .e_sponsor-link {
    font-size: 13px;
    color: var(--bh-theme, var(--theme-color, #0066CC));
    text-decoration: none;
    font-weight: 500;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.widget_onenav_sponsors .e_sponsor-link:hover {
    opacity: 0.8;
    color: var(--bh-theme, var(--theme-color, #0066CC));
}

.widget_onenav_sponsors .e_sponsor-list {
    padding: 8px 0;
}

.widget_onenav_sponsors .e_sponsor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.08);
    transition: background-color 0.15s ease;
}

.widget_onenav_sponsors .e_sponsor-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.widget_onenav_sponsors .e_sponsor-item.last {
    border-bottom: none;
}

.widget_onenav_sponsors .e_sponsor-avatar-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f2f2f7;
    flex-shrink: 0;
    overflow: hidden;
}

.widget_onenav_sponsors .e_sponsor-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.widget_onenav_sponsors .e_sponsor-info {
    flex: 1;
    min-width: 0;
}

.widget_onenav_sponsors .e_sponsor-name {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
    transition: color 0.2s;
}

.widget_onenav_sponsors .e_sponsor-name:hover {
    color: var(--theme-color, #0066CC);
}

.widget_onenav_sponsors .e_sponsor-desc {
    font-size: 12px;
    color: #8e8e93;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
    line-height: 1.4;
}

.widget_onenav_sponsors .e_sponsor-amount {
    font-size: 13px;
    font-weight: 600;
    color: #ff3b30;
    white-space: nowrap;
    flex-shrink: 0;
}

.widget_onenav_sponsors .e_sponsor-empty {
    text-align: center;
    padding: 30px 20px;
    color: #8e8e93;
    font-size: 13px;
}

.widget_onenav_sponsors .e_sponsor-empty p {
    margin: 0;
}

/* 深色模式 */
.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios {
    background: #2D2E2F !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .card-header h3,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .card-header h3,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .card-header h3 {
    color: #b4b8bf !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .card-header::before,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .card-header::before,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .card-header::before {
    background: rgba(255, 255, 255, 0.08);
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-name,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-name,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-name {
    color: #b4b8bf !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-desc,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-desc,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-desc {
    color: #73757a !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-amount,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-amount,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-amount {
    color: #ff453a !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-avatar-wrap,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-avatar-wrap,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-avatar-wrap {
    background: #43464a !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-item,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-item,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-item {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-item:hover,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-item:hover,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.io-black-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-empty,
.io_dark .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-empty,
.dark-mode .widget_onenav_sponsors .e_sponsor-widget-ios .e_sponsor-empty {
    color: #73757a !important;
}
