/*
|--------------------------------------------------------------------------
| 个股SuperView页面
|--------------------------------------------------------------------------
*/

.sv-page {
    width: calc(100% - 24px);
    max-width: 1000px;
    margin: 18px auto;
    color: #344554;
    font-size: 14px;
    line-height: 1.75;
}

/*
|--------------------------------------------------------------------------
| 面包屑
|--------------------------------------------------------------------------
*/

.sv-breadcrumb {
    margin-bottom: 12px;
    padding: 9px 13px;
    color: #7a8790;
    background: #fff;
    border: 1px solid #e0e8ee;
    border-radius: 6px;
}

.sv-breadcrumb a {
    color: #1677c8;
    text-decoration: none;
}

.sv-breadcrumb span {
    margin: 0 7px;
    color: #a2acb3;
}

.sv-breadcrumb strong {
    color: #566872;
    font-weight: 400;
}

/*
|--------------------------------------------------------------------------
| 标题区域
|--------------------------------------------------------------------------
*/

.sv-header {
    margin-bottom: 14px;
    padding: 20px 23px;
    color: #fff;
    background: linear-gradient(
        135deg,
        #146eb5,
        #35a7df
    );
    border-radius: 8px;
}

.sv-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sv-header h1 {
    margin: 0;
    font-size: 23px;
    line-height: 1.45;
}

.sv-date {
    margin: 5px 0 0;
    color: rgba(255,255,255,.9);
}

.sv-date strong {
    color: #fff6a3;
}

.sv-market-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sv-market-links a {
    padding: 6px 10px;
    color: #fff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.sv-market-links a:hover {
    background: rgba(255,255,255,.25);
}

/*
|--------------------------------------------------------------------------
| 图片卡片
|--------------------------------------------------------------------------
*/

.sv-card {
    margin-bottom: 13px;
    padding: 16px;
    background: #fff;
    border: 1px solid #dfe7ed;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(24,48,70,.05);
}

.sv-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.sv-card-title h2 {
    margin: 0;
    color: #1677c8;
    font-size: 18px;
}

.sv-card-title span {
    color: #788994;
    font-size: 13px;
}

.sv-image-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background: #000;
    border-radius: 4px;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
}

.sv-image-stage {
    position: relative;
    width: max-content;
    min-width: 100%;
    min-height: 180px;
    background: #000;
}

.sv-image-stage img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 100px;
    margin: 0 auto;
}

.sv-watermark {
    position: absolute;
    top: 58px;
    left: 30px;
    color: rgba(255,255,255,.9);
    font-family:
        "Microsoft YaHei",
        Arial,
        sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-shadow: 3px 2px 6px #f93;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

.sv-image-error {
    padding: 45px 15px;
    color: #6d7d87;
    text-align: center;
    background: #f7f9fa;
}

.sv-image-error strong {
    color: #d04444;
    font-size: 17px;
}

/*
|--------------------------------------------------------------------------
| 上一只和下一只
|--------------------------------------------------------------------------
*/

.sv-stock-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-bottom: 12px;
}

.sv-stock-navigation > div {
    max-width: 49%;
}

.sv-stock-navigation a {
    display: block;
    padding: 8px 13px;
    color: #1677c8;
    background: #fff;
    border: 1px solid #cfe0ec;
    border-radius: 5px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sv-stock-navigation a:hover {
    color: #fff;
    background: #1677c8;
    border-color: #1677c8;
}

/*
|--------------------------------------------------------------------------
| 说明
|--------------------------------------------------------------------------
*/

.sv-tip {
    margin-bottom: 13px;
    padding: 10px 13px;
    color: #436276;
    background: #edf7fd;
    border-left: 4px solid #2d98d4;
}

.sv-highlight {
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #79530b;
    background: #fff8df;
    border: 1px solid #eed990;
    border-radius: 5px;
}

.sv-highlight strong {
    color: #d82727;
}

.sv-risk {
    margin-bottom: 16px;
    padding: 12px 14px;
    color: #8a4a16;
    background: #fff6ed;
    border: 1px solid #efd1b3;
    border-radius: 6px;
}

/*
|--------------------------------------------------------------------------
| PC端：图片完整缩放显示
|--------------------------------------------------------------------------
*/

@media screen and (min-width: 769px) {

    /*
     * 放宽整个页面，充分利用电脑屏幕
     */
    .sv-page {
        width: calc(100% - 30px);
        max-width: 1400px;
    }

    /*
     * PC端关闭横向滚动
     */
    .sv-image-scroll {
        width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
    }

    /*
     * 图片容器使用100%宽度
     */
    .sv-image-stage {
        width: 100%;
        min-width: 0;
        min-height: 0;
    }

    /*
     * 图片按容器宽度等比例缩放，
     * 保证整张图片一次显示
     */
    .sv-image-stage img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        object-fit: contain;
    }
}
/*
|--------------------------------------------------------------------------
| 手机
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 768px) {

    .sv-page {
        width: 100%;
        margin: 0;
        font-size: 14px;
    }

    .sv-breadcrumb {
        margin: 0;
        padding: 8px 10px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        white-space: nowrap;
        overflow-x: auto;
    }

    .sv-header {
        margin: 0;
        padding: 16px 12px;
        border-radius: 0;
    }

    .sv-title-row {
        display: block;
    }

    .sv-header h1 {
        font-size: 19px;
    }

    .sv-market-links {
        justify-content: flex-start;
        margin-top: 11px;
    }

    .sv-market-links a {
        padding: 5px 8px;
        font-size: 13px;
    }

    .sv-card {
        margin: 9px 0;
        padding: 10px 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .sv-card-title {
        display: block;
        padding: 0 10px;
    }

    .sv-card-title h2 {
        font-size: 17px;
    }

    .sv-card-title span {
        display: block;
        margin-top: 3px;
    }

        .sv-image-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;

        /*
         * 允许图片横向拖动，
         * 同时允许手指上下滑动整个页面
         */
        touch-action: auto;
    }

    .sv-watermark {
        top: 42px;
        left: 15px;
        font-size: 18px;
    }

    .sv-stock-navigation {
        padding: 0 8px;
    }

    .sv-stock-navigation > div {
        max-width: 50%;
    }

    .sv-stock-navigation a {
        padding: 7px 8px;
        font-size: 13px;
    }

    .sv-tip,
    .sv-risk {
        margin: 9px 8px;
    }

    .sv-description {
        margin-top: 9px;
    }
}