img {
    -webkit-user-drag: none;
}

a {
    color: #333;
    text-decoration: none;
}

@font-face {
    font-family: "xp_title";
    src: url("/assets/font/SourceHanSerifCN-Bold.otf");
}

@font-face {
    font-family: "xp_yahei";
    src: url("/assets/font/MicrosoftYaHei.otf");
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

html {
    --xp-content-width: 1600px;
    --xp-min-content-width: 1400px;
    --xp-image-hover-scale: 1.02;
    --xp-time-day-font-size: 30px;
    --xp-default-font-size: 16px;
    min-width: 1400px;
}

body {
    font-family: Helvetica Neue, PingFang SC, Hiragino Sans GB, HeitiSC, Helvetica, Arial, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
    letter-spacing: 0;
    line-height: 1.5;
    color: #333;
    --webkit-appearance: none;
    font-size: 16px;
}

.app_text_line1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.app_text_line2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.app_text_line3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* 500 */

.app_feedback_container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.app_feedback_container img {
    width: 400px;
    margin-top: -120px;
}

.app_feedback_box {
    width: 500px;
    text-align: center;
    color: #999;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
    background-color: #fafafa;
}

.app_to_home {
    color: #4258b8;
    text-decoration: underline;
    padding: 20px;
    margin-top: 20px;
}

/* 组件空 */
.component_null {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #666;
}

.component_null img {
    height: 220px;
    color: #eee;
    font-size: 18px;
}

/* 布局 */
.app-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 1350px;
    position: relative;
}

.app-box {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    transform: translateY(100vh);
    transition: all ease .7s;
}

.app-box-open {
    transform: translateY(0vh);
}

.app-header {
    width: 100%;
}

.app-content-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.app-column-content {
    width: var(--xp-content-width);
    max-width: var(--xp-content-width);
    display: flex;
}

.app-content {
    flex: 1;
    min-height: 800px;
}

.app-column {
    height: 100%;
}

.app-footer {
    width: 100%;
}

/* 编辑器文章内容 */
.app_edit_info {
    font-size: 16px;
}

.app_edit_info p {
    line-height: 32px;
    margin: 10px 0px;
    color: #333;
}

.app_edit_info video,
.app_edit_info img {
    max-width: 100%;
}

.app_edit_info video {
    width: 100%;
    background-color: #000;
}

.app_edit_info table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app_edit_info tr,
.app_edit_info td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.app_edit_info th {
    background-color: #999;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.app_edit_info tr:nth-child(even) {
    background-color: #f2f2f2;
}

.app_edit_info tr:hover {
    background-color: #ddd;
}

.app_edit_info p {
    line-height: 2.5;
    text-align: justify;
}

.app_edit_info img {
    margin-top: 2em;
    margin-bottom: 2em;
}

.app_edit_info a {
    cursor: pointer;
    text-decoration: underline;
    color: #4258b8;
}

/* 站点变灰白 */
.app_ashen {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}

@media screen and (max-width: 1600px) {
    html {
        --xp-content-width: 1300px;
    }
}

@media screen and (max-width: 1000px) {
    html {
        --xp-min-content-width: 100vw;
        min-width: 100vw;
        width: 100vw;
    }

    body {
        min-width: 100%;
        width: 100vw;
    }

    .app-content {
        min-height: 100%;
        padding: 0px 0px 0px 0px !important;
    }

    .app-container {
        width: 100%;
        min-width: 100%;
    }

    .app-column-content {
        width: 100%;
        flex-direction: column;
    }

    .app-column-left,
    .app-column-right {
        width: 100% !important;
        padding: 0px !important;
    }

    .app_feedback_container img {
        width: 600px;
        margin-top: -20vh;
    }

    .app_feedback_box {
        width: 800px;
        font-size: 42px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .app_to_home {
        padding: 40px;
        margin-top: 20px;
        font-size: 36px;
    }

    .app_edit_info img {
        display: block;
        width: 100% !important;
        margin-top: 0em;
        margin-bottom: 0em;
    }

    .app_edit_info p {
        padding: 10px 0px;
    }
}
