/**
 * 游戏结果查询页面样式
 * 
 * 功能模块：
 * 1. 基础布局和背景样式
 * 2. 游戏选择界面样式
 * 3. 输入表单样式
 * 4. 结果显示样式
 * 5. 游戏特定显示样式（Shake、Racing、Fishing等）
 * 6. 响应式设计适配
 * 
 * @author GitHub Copilot
 * @version 1.0.0
 * @date 2025-08-26
 */

/* ===== 基础布局样式 ===== */

.wrapper {
    background: url(../image/results_query/topbg.png) no-repeat;
    background-size: 100% auto;
}

.results-content {
    width: 100%;
    min-height: 100vh;
    background-color: linear-gradient(135deg, #8B7BD8 0%, #B794F6 50%, #E6DDFF 100%);
    padding: 80px 0 60px;
    position: relative;
}

.results-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.results-container {
    max-width: 1224px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 20px 90px 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12px);
    padding-right: 20px;
    margin-top: 100px;
}

/* 左侧游戏列表 */
.game-list {
    width: 288px;
    height: 100%;
    background: rgba(255, 255, 255);
    border-radius: 28px;
    padding: 24px 16px;
    padding-right: 0;
}

.game-item {
    display: block;
    padding: 10px 24px;
    margin-bottom: 6px;
    border-radius: 16px 0 0 16px;
    color: #727781;
    background: transparent;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    height: 54px;
    text-align: left;
    cursor: pointer;
    font-weight: 400;
    position: relative;
}

.game-item:hover {
    background: #F0F0FE;
    color: #7a52f4;
}

.game-item.active {
    background: #F0F0FE;
    color: #7a52f4;
    font-weight: 500;
}

.game-item.active::after {
    content: ' ';
    margin-right: 6px;
    background: #7a52f4;
    font-weight: 500;
    width: 4px;
    height: 37px;
    flex-shrink: 0;
    border-radius: 6px 0 0 6px;
    background: #7A52F4;
    display: block;
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 2;
    margin: 0;
}

/* 中间主要内容区域 */
.query-main {
    flex: 1;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(139, 123, 216, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 30px;
}

.query-main .top-tip {
    color: #727781;
    font-family: "PingFang SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 24px;
}

.query-section {
    margin-bottom: 24px;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(122, 82, 244, 0.60);
    padding: 8px 12px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #2D3748;
    font-size: 16px;
    font-weight: 600;
}

.section-icon {
    width: 100px;
    height: 59px;
    margin-right: 10px;
    color: white;
}

.section-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-right {
    color: #212529;
    font-family: "PingFang SC";
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.section-right p {
    color: #727781;
    font-family: "PingFang SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.seed-input-group {
    position: relative;
}

.seed-input {
    width: 100%;
    padding: 18px 45px 18px 16px;
    border-radius: 16px;
    border: 1px solid #D6CFEE;
    background: #F0F0FE;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "PingFang SC";
    font-weight: 600;
    color: #212529;
}

.copy-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
    border-radius: 20px;
    background: #D6CFEE;

}

.copy-btn img {
    width: 18px;
    height: 18px;
}

.player-label {
    display: block;
    color: #4A5568;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    margin-top: 12px;
}

.inspection-btn {
    margin: 0 auto;
    width: 297px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #E4DCFD;
    color: #7a52f4;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    margin-bottom: 30px;
}

.inspection-btn img {
    width: 34px;
    height: 40px;
    margin-right: 8px;
}

.inspection-btn:hover {
    transform: translateY(-2px);
    background: #D6CFEE;
}


/* 右侧结果区域 */
.results-panel {
    width: 368px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 24px 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(139, 123, 216, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 30px;
}

.results-panel-tip {
    color: #727781;
    font-family: "PingFang SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
}

.result-item-top {
    margin-bottom: 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-item-top .left img {
    width: 66px;
    height: 59px;
    margin-right: 12px;
}

.result-item-top .right {
    color: #212529;
    font-family: "PingFang SC";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.result-item-top .right p {
    color: #727781;
    font-family: "PingFang SC";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 6px;
}



.results-panel h3 {
    color: #2D3748;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

.hash-section {
    margin-bottom: 20px;
}

.hash-title {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #2D3748;
    font-size: 14px;
    font-weight: 600;
}

.hash-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: linear-gradient(45deg, #8B7BD8, #B794F6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
}

.hash-description {
    color: #718096;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hash-value {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Monaco', 'SF Mono', 'Courier New', monospace;
    font-size: 11px;
    color: #4A5568;
    word-break: break-all;
    line-height: 1.5;
    min-height: 60px;
    max-height: 120px;
    overflow-y: auto;
}

.result-item {
    margin-bottom: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.result-label {
    color: #4A5568;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 3px;
}

.result-value {
    background: #F6F5F7;
    padding: 12px 12px;
    border-radius: 16px;
    color: #212529;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    min-height: 48px;
    word-break: break-all;
    display: flex;
    align-items: center;
}

.result-item-last-red {
    color: #E11616;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}


/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-list {
    animation: fadeInLeft 0.6s ease-out;
}

.query-main {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.results-panel {
    animation: fadeInRight 0.6s ease-out 0.2s both;
}

.game-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seed-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inspection-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.hash-value {
    transition: all 0.3s ease;
}

.hash-value:not(:empty) {
    background: linear-gradient(45deg, #F7FAFC, #EDF2F7);
    border-color: #8B7BD8;
}

/* 移动端游戏列表展开/收起功能 */
.mobile-game-toggle {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(15px);
    padding: 0;
}

.mobile-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    background: #F0F0FE;
    border-radius: 16px 16px 0 0;

}

.mobile-toggle-title {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-game-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6337C5;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
    font-weight: bold;
}

.toggle-arrow img {
    width: 18px;
    height: 18px;
}

.toggle-arrow.expanded {
    transform: rotate(180deg);
}

.mobile-games-grid {
    display: flex;
    flex-wrap: wrap;
    /* 允许子元素换行 */

    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.mobile-games-grid.expanded {
    max-height: 800px;
    opacity: 1;
    padding: 0 16px;
    padding-top: 20px;

}

.mobile-game-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: #F0F0FE;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    min-height: 29px;
}

.mobile-game-item:hover,
.mobile-game-item.active {
    background: #8B7BD8;
    color: white;
    border-color: #8B7BD8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 123, 216, 0.3);
}

.mobile-game-name {
    padding: 0 13px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    color: #4A5568;
    font-size: 12px;
    transition: color 0.3s ease;
}

.mobile-game-item:hover .mobile-game-name,
.mobile-game-item.active .mobile-game-name {
    color: white;
    font-weight: 600;
}

/* 响应式设计 */
/* 强制移动端样式（通过JavaScript控制） */
body.mobile-device .game-list {
    display: none !important;
}

body.mobile-device .mobile-game-toggle {
    display: block !important;
}

body.mobile-device .results-container {
    flex-direction: column !important;
}

@media screen and (max-width: 768px),
screen and (max-device-width: 768px),
(pointer: coarse) {
    .results-content {
        padding: 70px 16px 40px;
    }

    .results-container {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 16px;
        padding: 0;
        margin-top: 20px;
    }

    .game-list {
        display: none;
    }

    .mobile-game-toggle {
        display: block;
        order: 1;
    }

    .query-main {
        order: 2;
        padding: 20px 16px;
        margin-top: 0;
    }

    .section-title {
        font-size: 14px;
    }

    .seed-input {
        padding: 12px 40px 12px 14px;
        font-size: 14px;
    }

    .inspection-btn {
        padding: 14px;
        font-size: 15px;
    }

    .results-panel {
        width: 100%;
        order: 3;
        padding: 20px 16px;
        margin-top: 0;
    }

    .results-panel h3 {
        font-size: 14px;
    }

    .hash-value {
        font-size: 10px;
        padding: 10px;
        max-height: 100px;
    }

    .result-item {
        padding: 10px;
        margin-bottom: 8px;
    }

    .result-label {
        font-size: 11px;
    }

    .result-value {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px),
screen and (max-device-width: 480px) {
    .query-main {
        padding: 16px 12px;
        margin-top: 0;
    }

    .results-panel {
        padding: 16px 12px;
        margin-top: 0;
    }


    .mobile-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .mobile-game-item {
        padding: 8px 4px;
    }

    .mobile-game-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-bottom: 4px;
    }

    .mobile-game-name {
        font-size: 12px;
    }

    .current-game-display {
        padding: 6px 10px;
        font-size: 13px;
    }

    .seed-input {
        padding: 10px 35px 10px 12px;
        font-size: 13px;
    }

    .copy-btn {
        right: 8px;
        width: 24px;
        height: 24px;
        padding: 0;
    }

    .copy-btn img {
        width: 14px;
        height: 14px;
    }

    .hash-value {
        font-size: 9px;
        padding: 8px;
        line-height: 1.4;
    }

    .inspection-btn {
        padding: 12px;
        font-size: 14px;
    }

    .section-title {
        font-size: 13px;
    }

    .section-icon {
        width: 68px;
        height: 40px;
    }
}

/* 游戏特定样式 */
.game-specific-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

.game-specific-section:empty {
    display: none;
}

/* 游戏结果面板样式 */
.game-results-container {
    margin: 20px 0;
}

.game-result-panel {
    animation: fadeInUp 0.4s ease-out;
    position: relative;
}

.game-result-panel::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(139, 123, 216, 0.05), transparent);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-result-panel:hover::before {
    opacity: 1;
}

.game-result-panel .result-item {
    margin: 12px 0;
    padding: 12px;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 8px;
    border-left: 4px solid #E2E8F0;
    transition: all 0.3s ease;
}

.game-result-panel .result-item:hover {
    background: rgba(139, 123, 216, 0.05);
    border-left-color: #8B7BD8;
    transform: translateX(3px);
}

/* 特殊结果项样式 */
.winner-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1)) !important;
    border-left-color: #FFD700 !important;
}

.final-result {
    background: linear-gradient(135deg, rgba(139, 123, 216, 0.1), rgba(102, 126, 234, 0.1)) !important;
    border-left-color: #8B7BD8 !important;
    font-weight: 600;
}

/* 钓鱼游戏特殊样式 */
.fishing-special {
    background: linear-gradient(135deg, rgba(139, 123, 216, 0.05), rgba(102, 126, 234, 0.05));
    border-radius: 12px;
    padding: 16px;
    border: 2px solid rgba(139, 123, 216, 0.2);
}

/* 特定游戏的主题色彩 */
#cowboy-results .result-item {
    border-left-color: #D4A845;
}

#cowboy-results .result-item:hover {
    background: rgba(212, 168, 69, 0.1);
    border-left-color: #D4A845;
}

#ufo-results .result-item {
    border-left-color: #4FD1C7;
}

#ufo-results .result-item:hover {
    background: rgba(79, 209, 199, 0.1);
}

#racing-results .result-item {
    border-left-color: #E53E3E;
}

#racing-results .result-item:hover {
    background: rgba(229, 62, 62, 0.1);
}

#shake-results .result-item {
    border-left-color: #38A169;
}

#shake-results .result-item:hover {
    background: rgba(56, 161, 105, 0.1);
}

#weightlifting-results .result-item {
    border-left-color: #805AD5;
}

#weightlifting-results .result-item:hover {
    background: rgba(128, 90, 213, 0.1);
}

#jump-results .result-item {
    border-left-color: #DD6B20;
}

#jump-results .result-item:hover {
    background: rgba(221, 107, 32, 0.1);
}

#aviator-results .result-item {
    border-left-color: #3182CE;
}

#aviator-results .result-item:hover {
    background: rgba(49, 130, 206, 0.1);
}

/* 特定游戏的样式调整 */
[data-game="fishing"].active~.results-container .query-main {
    background: rgba(139, 123, 216, 0.1);
    border: 2px solid rgba(139, 123, 216, 0.3);
}

[data-game="fishing"].active~.results-container .results-panel {
    background: rgba(139, 123, 216, 0.1);
    border: 2px solid rgba(139, 123, 216, 0.3);
}

[data-game="cowboy"].active~.results-container .query-main {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
}

[data-game="racing"].active~.results-container .query-main {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
}

[data-game="shake"].active~.results-container .query-main {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid rgba(40, 167, 69, 0.3);
}

/* 动态结果区域样式 */
#gameSpecificResults .result-item {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.seed-input-group {
    animation: slideIn 0.3s ease-out;
}

/* 加载状态样式 */
.loading-dots::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        color: rgba(0, 0, 0, 0);
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    40% {
        color: #8B7BD8;
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    60% {
        text-shadow: .25em 0 0 #8B7BD8, .5em 0 0 rgba(0, 0, 0, 0);
    }

    80%,
    100% {
        text-shadow: .25em 0 0 #8B7BD8, .5em 0 0 #8B7BD8;
    }
}

/* Results Display Styles - moved from inline styles */
.result-description {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.4;
}




.error-result .result-value {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.hash-info {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
}

.result-label {
    font-weight: 400;
    margin-bottom: 3px;
    color: #212529;
    font-size: 16px;
    line-height: 1.4;
}

.winner-highlight .result-value {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
    font-weight: bold;
}

/* 游戏结果容器样式调整 */
.game-result-panel .result-item {
    margin: 8px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-left: none;
}

.game-result-panel .result-item:hover {
    background: transparent;
    transform: none;
}

/* New Cowboy Duel 专用样式 */
.result-section {
    margin-bottom: 20px;
}

.section-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 8px 0;
}

.section-header.red-party {
    color: #dc3545;
}

.section-header.blue-square {
    color: #007bff;
}

.section-header.result-round {
    color: #28a745;
}

.result-value.final-result {
    background: #e8f5e8;
    border-color: #28a745;
    color: #155724;
    font-weight: 600;
}

/* Shake Game Styles */
.ball-section {
    padding: 15px;
}

.ball-title {
    font-size: 16px;
    font-weight: 400;
    color: #212529;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.combined-section {
    padding: 15px;
}

/* Racing Game Styles */
.car-section {
    padding: 15px;
}

.car-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.car-icon img {
    width: 60px;
    height: 36px;
}

/* Bottle Flipping 瓶子图标样式 */
.bottle-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    /* 放在数字后面，左边距 */
}

.bottle-icon img {
    height: 24px;
    width: auto;
    /* 宽度自适应 */
    vertical-align: middle;
}

/* COSMIC QUEST 火箭游戏样式 - 使用与 Racing 相同的样式 */
/* 种子组合显示 */
.seed-combinations {
    padding: 15px;
}

.seed-block {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.seed-block:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.seed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-bottom: 8px;
}

.seed-label {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.seed-value {
    color: #666;
    font-size: 14px;
}

.hash-display {
    border-radius: 4px;
    padding: 8px;
    font-size: 16px;
    border-radius: 16px;
    background: #F6F5F7;
    color: #495057;
    word-break: break-all;
    line-height: 1.4;
    min-height: 48px;
}

.rocket-section {
    padding: 15px;
}

.rocket-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rocket-icon {
    font-size: 24px;
}

/* 总结结果样式 */
.result-summary {
    padding: 15px;
}

.summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F6F5F7;
    padding: 12px 12px;
    border-radius: 16px;
    color: #212529;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    min-height: 48px;
    word-break: break-all;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #727781;
    font-size: 16px;
}

.summary-value {
    color: #212529;
    font-size: 16px;
    font-weight: 600;

}



.ranking-section {
    padding: 15px;
}

.ranking-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.ranking-section .car-icon img {
    width: 40px;
    height: 24px;
}



/* Fishing Game Styles */
.fishing-section {
    padding: 15px;
}

/* ===== 轻提示组件样式 ===== */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 12px 16px;
    max-width: 350px;
    min-width: 280px;
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
    border: 1px solid #E2E8F0;
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-right: 12px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message {
    font-size: 14px;
    color: #2D3748;
    line-height: 1.4;
    word-wrap: break-word;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #A0AEC0;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.toast-close:hover {
    background: #F7FAFC;
    color: #4A5568;
}

/* 不同类型的Toast样式 */
.toast-success {
    border-left: 4px solid #48BB78;
}

.toast-success .toast-icon {
    background: #48BB78;
}

.toast-error {
    border-left: 4px solid #F56565;
}

.toast-error .toast-icon {
    background: #F56565;
}

.toast-warning {
    border-left: 4px solid #ED8936;
}

.toast-warning .toast-icon {
    background: #ED8936;
}

.toast-info {
    border-left: 4px solid #4299E1;
}

.toast-info .toast-icon {
    background: #4299E1;
}

/* Toast动画 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .toast-notification {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        min-width: auto;
        padding: 10px 14px;
    }

    .toast-message {
        font-size: 13px;
    }

    .toast-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
        margin-right: 10px;
    }

    .toast-close {
        width: 18px;
        height: 18px;
        font-size: 16px;
        margin-left: 6px;
    }
}