/* ========== 鱼王榜页面 - 浅色系清新简洁风格 v20260704v6 ========== */

/* 页面整体 */
.kings-page {
    min-height: 100vh;
    background: #f0f7f7;
    padding-bottom: 20px;
}

/* ========== 顶部英雄区 ========== */
.kings-hero {
    position: relative;
    padding: 28px 16px 24px;
    background: linear-gradient(180deg, #e0f2f1 0%, #f0f7f7 100%);
    overflow: hidden;
}

.kings-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.kings-hero-icon {
    font-size: 36px;
    margin-bottom: 6px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.kings-hero-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.kings-hero-title .gold-text {
    color: #0ea5a0;
    -webkit-text-fill-color: #0ea5a0;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.kings-hero-subtitle {
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
    font-weight: 400;
}

.kings-hero-divider {
    width: 36px;
    height: 2px;
    margin: 12px auto 0;
    background: #0ea5a0;
    border-radius: 2px;
    opacity: 0.6;
}

/* ========== 奖项网格容器 - 默认2列布局 ========== */
.awards-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 16px 12px 0;
}

.awards-grid .award-section {
    width: 48.5%;
    margin-bottom: 20px;
    margin-top: 0;
}

/* 移除网格布局下的区块分隔线 */
.awards-grid .award-section + .award-section::before {
    display: none;
}

.awards-grid .award-section + .award-section {
    margin-top: 0;
}

/* ========== 奖项区块（原Tab内容区） ========== */
.tab-content {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 奖项区块标题（小屏优化） ========== */
.award-section-title {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(14, 165, 160, 0.15);
    position: relative;
}

.award-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5a0, #06b6d4);
    border-radius: 1px;
}

.award-section-title .title-icon {
    font-size: 16px;
    line-height: 1;
}

.award-section-title .title-text {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

/* 奖项区块之间的分隔（兼容非网格场景） */
.award-section + .award-section {
    margin-top: 0;
    padding-top: 0;
}

.award-section + .award-section::before {
    display: none;
}

/* ========== 冠军展示台（小屏优化） ========== */
.champion-podium {
    position: relative;
    margin-bottom: 12px;
    text-align: center;
    padding: 16px 10px 14px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(14, 165, 160, 0.06);
}

.podium-bg {
    display: none;
}

.podium-crown {
    font-size: 20px;
    margin-bottom: 4px;
    filter: none;
}

.champion-avatar-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
}

.champion-avatar-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5a0, #06b6d4, #0ea5a0);
    padding: 2px;
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.champion-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f0f0f0 center/cover no-repeat;
    border: 2px solid #ffffff;
    position: relative;
    z-index: 1;
}

.champion-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 24px;
}

.champion-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    text-shadow: none;
}

.champion-title {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    color: #0ea5a0;
    background: rgba(14, 165, 160, 0.1);
    border: 1px solid rgba(14, 165, 160, 0.15);
    border-radius: 16px;
    font-weight: 500;
}

/* ========== 时间范围条（小屏优化） ========== */
.period-bar {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 7px 10px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(14, 165, 160, 0.08);
    font-size: 11px;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.period-bar .period-icon {
    font-size: 12px;
}

.period-bar .period-label {
    color: #999;
}

.period-bar .period-date {
    color: #0ea5a0;
    font-weight: 600;
}

/* ========== 信息卡片通用（小屏优化） ========== */
.info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(14, 165, 160, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.info-card-title {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.info-card-title .card-icon {
    font-size: 14px;
}

.info-card-title .card-decor {
    width: 2px;
    height: 12px;
    background: linear-gradient(180deg, #0ea5a0, #06b6d4);
    border-radius: 2px;
}

/* ========== 鱼获信息卡片（小屏优化） ========== */
.fish-info-grid {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fish-info-item {
    width: calc(50% - 4px);
    background: #f8fafb;
    border-radius: 8px;
    padding: 10px 8px;
    border: 1px solid #eef2f4;
}

.fish-info-label {
    font-size: 10px;
    color: #999;
    margin-bottom: 4px;
}

.fish-info-value {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.fish-info-value.gold {
    color: #0ea5a0;
    font-weight: 600;
}

/* ========== 连竿王统计卡片（小屏优化） ========== */
.rod-stats {
    text-align: center;
    padding: 10px 0 6px;
}

.rod-count {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #0ea5a0 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rod-count .unit {
    font-size: 12px;
    margin-left: 2px;
    -webkit-text-fill-color: #999;
    color: #999;
    font-weight: 400;
}

.rod-desc {
    font-size: 11px;
    color: #999;
}

/* ========== 奖项说明卡片（小屏优化） ========== */
.award-desc-text {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

.award-prize-list {
    list-style: none;
    margin-top: 8px;
}

.award-prize-list li {
    position: relative;
    padding-left: 18px;
    font-size: 11px;
    color: #555;
    line-height: 1.7;
}

.award-prize-list li::before {
    content: "🎁";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 10px;
}

/* ========== 空状态（小屏优化） ========== */
.empty-state {
    text-align: center;
    padding: 20px 12px 16px;
}

.empty-illustration {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    position: relative;
}

.empty-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(14, 165, 160, 0.08);
    border: 1px dashed rgba(14, 165, 160, 0.25);
}

.empty-icon {
    position: relative;
    z-index: 1;
    font-size: 28px;
    line-height: 64px;
    opacity: 0.7;
}

.empty-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 600;
}

.empty-desc {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

/* ========== 加载状态（小屏优化） ========== */
.loading-state {
    text-align: center;
    padding: 32px 12px;
    color: #999;
    font-size: 12px;
}

.loading-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(14, 165, 160, 0.15);
    border-top-color: #0ea5a0;
    border-radius: 50%;
    margin-bottom: 10px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 确认状态标签（小屏优化） ========== */
.status-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 9px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
    font-weight: 500;
}

.status-badge.confirmed {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* ========== 装饰元素 ========== */
.gold-border-top {
    position: relative;
}

.gold-border-top::before {
    display: none;
}

.corner-badge {
    position: absolute;
    top: -1px;
    right: 12px;
    padding: 3px 8px;
    font-size: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5a0, #06b6d4);
    border-radius: 0 0 8px 8px;
    font-weight: 500;
}

/* ========== 底部导航 - 浅色适配 ========== */
.kings-page .bottom-nav {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.kings-page .bottom-nav .nav-item {
    color: #999;
}

.kings-page .bottom-nav .nav-item.active {
    color: #0ea5a0;
}

.kings-page .bottom-nav .nav-icon svg {
    width: 22px;
    height: 22px;
}

.kings-page .bottom-nav .nav-publish {
    background: linear-gradient(135deg, #0ea5a0, #06b6d4);
    box-shadow: 0 4px 12px rgba(14, 165, 160, 0.35);
}

.kings-page .bottom-nav .nav-text {
    font-size: 11px;
}

/* 页面背景覆盖 */
.kings-page.page {
    background: #f0f7f7;
    padding-bottom: 70px;
}

/* ========== 响应式适配 ========== */
/* 480px 及以上：适当放大 */
@media (min-width: 480px) {
    .kings-hero {
        padding: 32px 20px 28px;
    }

    .kings-hero-icon {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .kings-hero-title {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .kings-hero-subtitle {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .kings-hero-divider {
        width: 40px;
        height: 3px;
        margin: 14px auto 0;
    }

    .awards-grid {
        padding: 20px 16px 0;
    }

    .awards-grid .award-section {
        margin-bottom: 24px;
    }

    .award-section-title {
        gap: 8px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .award-section-title::before {
        width: 52px;
    }

    .award-section-title .title-icon {
        font-size: 18px;
    }

    .award-section-title .title-text {
        font-size: 16px;
    }

    .champion-podium {
        padding: 20px 14px 16px;
        margin-bottom: 16px;
        border-radius: 16px;
    }

    .podium-crown {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .champion-avatar-wrapper {
        width: 64px;
        height: 64px;
        margin-bottom: 10px;
    }

    .champion-avatar-ring {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        padding: 3px;
    }

    .champion-avatar {
        border-width: 3px;
    }

    .champion-avatar-placeholder {
        font-size: 28px;
    }

    .champion-name {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .champion-title {
        padding: 4px 14px;
        font-size: 11px;
        border-radius: 20px;
    }

    .period-bar {
        gap: 8px;
        margin-bottom: 14px;
        padding: 9px 14px;
        font-size: 12px;
        border-radius: 12px;
    }

    .period-bar .period-icon {
        font-size: 13px;
    }

    .info-card {
        padding: 14px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .info-card-title {
        gap: 7px;
        font-size: 13px;
        margin-bottom: 12px;
        padding-bottom: 9px;
    }

    .info-card-title .card-icon {
        font-size: 16px;
    }

    .info-card-title .card-decor {
        width: 3px;
        height: 14px;
    }

    .fish-info-grid {
        gap: 10px;
    }

    .fish-info-item {
        width: calc(50% - 5px);
        padding: 12px 10px;
        border-radius: 10px;
    }

    .fish-info-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .fish-info-value {
        font-size: 13px;
    }

    .rod-stats {
        padding: 14px 0 8px;
    }

    .rod-count {
        font-size: 38px;
        margin-bottom: 8px;
    }

    .rod-count .unit {
        font-size: 14px;
        margin-left: 3px;
    }

    .rod-desc {
        font-size: 12px;
    }

    .award-desc-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .award-prize-list {
        margin-top: 10px;
    }

    .award-prize-list li {
        padding-left: 20px;
        font-size: 12px;
    }

    .award-prize-list li::before {
        font-size: 11px;
    }

    .empty-state {
        padding: 28px 16px 22px;
    }

    .empty-illustration {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .empty-circle {
        width: 65px;
        height: 65px;
    }

    .empty-icon {
        font-size: 36px;
        line-height: 80px;
    }

    .empty-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .empty-desc {
        font-size: 12px;
        line-height: 1.6;
    }

    .loading-state {
        padding: 40px 16px;
        font-size: 13px;
    }

    .loading-spinner {
        width: 26px;
        height: 26px;
        margin-bottom: 12px;
    }

    .status-badge {
        padding: 3px 7px;
        font-size: 10px;
        border-radius: 6px;
        margin-left: 5px;
    }

    .corner-badge {
        right: 16px;
        padding: 4px 10px;
        font-size: 10px;
        border-radius: 0 0 10px 10px;
    }
}

/* ========== 平板及以上：保持2列，元素适当放大 ========== */
@media (min-width: 768px) {
    .awards-grid {
        padding: 28px 24px 0;
    }

    .awards-grid .award-section {
        width: 48.5%;
        margin-bottom: 28px;
    }

    .award-section-title {
        margin-bottom: 16px;
        padding-bottom: 12px;
        gap: 10px;
    }

    .award-section-title::before {
        width: 60px;
    }

    .award-section-title .title-text {
        font-size: 18px;
    }

    .award-section-title .title-icon {
        font-size: 22px;
    }

    .champion-podium {
        padding: 22px 16px 18px;
        margin-bottom: 18px;
        border-radius: 18px;
    }

    .podium-crown {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .champion-avatar-wrapper {
        width: 72px;
        height: 72px;
        margin-bottom: 12px;
    }

    .champion-name {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .champion-title {
        padding: 5px 16px;
        font-size: 12px;
    }

    .period-bar {
        margin-bottom: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .info-card {
        padding: 16px;
        margin-bottom: 14px;
        border-radius: 16px;
    }

    .info-card-title {
        font-size: 15px;
        margin-bottom: 14px;
        padding-bottom: 10px;
        gap: 8px;
    }

    .info-card-title .card-icon {
        font-size: 18px;
    }

    .fish-info-item {
        padding: 14px 12px;
        border-radius: 12px;
    }

    .fish-info-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .fish-info-value {
        font-size: 14px;
    }

    .rod-stats {
        padding: 16px 0 10px;
    }

    .rod-count {
        font-size: 44px;
        margin-bottom: 10px;
    }

    .rod-count .unit {
        font-size: 16px;
    }

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

    .award-desc-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .award-prize-list li {
        font-size: 13px;
        line-height: 1.8;
    }

    .empty-state {
        padding: 32px 20px 24px;
    }

    .empty-illustration {
        width: 100px;
        height: 100px;
        margin-bottom: 14px;
    }

    .empty-circle {
        width: 82px;
        height: 82px;
    }

    .empty-icon {
        font-size: 44px;
        line-height: 100px;
    }

    .empty-title {
        font-size: 16px;
    }

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

    .loading-state {
        padding: 50px 20px;
        font-size: 14px;
    }

    .loading-spinner {
        width: 28px;
        height: 28px;
    }

    .status-badge {
        padding: 3px 8px;
        font-size: 10px;
    }
}


/* ========== 鱼获照片展示 ========== */
.fish-photo-container {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafb;
    border: 1px solid #eef2f4;
}

.fish-photo-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

/* 上期获奖者的鱼获照片 */
.prev-fish-photo-area {
    margin-top: 8px;
    cursor: pointer;
}

.prev-fish-photo {
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafb;
    border: 1px solid #eef2f4;
}

.prev-fish-photo img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

/* 当前鱼王照片 */
.fish-photo-container {
    cursor: pointer;
    margin: 8px 0;
}

.fish-photo-img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    display: block;
}

/* 图片放大弹窗 */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.photo-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
}
.prev-avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
}

.prev-avatar .champion-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 上期获奖者头像+信息横向布局 */
.previous-winner-card .prev-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.previous-winner-card .prev-info {
    flex: 1;
    min-width: 0;
}

.previous-winner-card .prev-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.previous-winner-card .prev-extra {
    font-size: 13px;
    color: #666;
}
