* {
    font: inherit;
    color: inherit;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-size: 16px;
    line-height: 30px;
    font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    background: no-repeat 50% 50% / cover;
}

.fittk-select-options {
    outline-color: #d4d4d4 !important;
}

.m-body {
    width: 100%;
    height: 100%;
    position: absolute;
    background: none no-repeat 50% 0 / 100% auto;
    display: none;
}

.m-container {
    width: 100%;
    position: relative;
}

.m-chart-one {
    position: absolute;
}

.m-chart-one.focus {
    z-index: 9999 !important;
}

.m-chart-one:has(.focus) {
    z-index: 9999 !important;
}

.m-chart-one.carousel {
    transition: opacity 500ms linear;
}

.m-chart-hide {
    display: none;
}

.m-chart-error {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
}

.m-chart-area {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
}

.m-chart-area.empty:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.m-chart-one.parent > .m-chart-children {
    width: 100%;
    height: 100%;
    outline: 1px dashed #444444;
}

.m-chart-block {
    width: 100%;
    height: 100%;
    float: left;
    position: relative;
    box-sizing: border-box;
    text-overflow: ellipsis;
}

.m-chart-block * {
    transition: inherit;
}

.m-echart-area * {
    font-size: 16px;
    line-height: 30px;
}

.m-chart-breadcrumb a {
    margin-left: 8px;
}

.m-chart-block a:first-of-type {
    margin-left: 0;
}

.m-chart-article img {
    max-width: 100%;
}

.m-chart-input {
    background: none;
    outline: none;
    border: none;
    --placeholder-color: #999;
}

.m-chart-input::placeholder {
    color: var(--placeholder-color);
}

.m-chart-datalist {
    position: absolute;
    left: 0;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
    display: none;
    user-select: none;
    cursor: pointer;
}

.m-chart-datalist span {
    width: 100%;
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 10px;
}

.m-chart-image {
    float: left;
}

.m-chart-cut {
    position: absolute;
    overflow: hidden;
}

.m-chart-area-number {
    width: 100%;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
}

.m-chart-list {
    width: 100%;
    position: relative;
    user-select: text;
    float: left;
}

.m-chart-list.flow {
    overflow: hidden;
}

.m-chart-list.empty:before {
    content: '';
    width: 50%;
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url("../img/mychart/empty.png") no-repeat 50% 50% / contain;
}

.m-chart-list-one {
    float: left;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.m-chart-list-one * {
    transition: inherit;
}

.m-chart-list.flow .m-chart-list-one {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

.m-chart-list-arrow {
    position: absolute;
    box-sizing: border-box;
    --border-width: 1px;
    --border-color: #d4d4d4;
}

.m-chart-list-arrow:after {
    content: '';
    width: 100%;
    height: 100%;
    border-width: var(--border-width);
    border-color: var(--border-color);
    border-top-style: solid;
    border-right-style: solid;
    transform: translateX(-40%) rotate(45deg);
    position: absolute;
    top: 0;
    left: 0;
}

.m-chart-list-cover {
    float: left;
    box-sizing: border-box;
}

.m-chart-list-split {
    position: absolute;
}

.m-chart-list-index {
    float: left;
}

.m-chart-list-point {
    float: left;
    border-radius: 50%;
    border-style: solid;
    box-sizing: border-box;
}

.m-chart-list-title {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
    vertical-align: middle;
    background: 50% 50%;
}

.m-chart-list-title span {
    display: inline-block;
    vertical-align: middle;
}

.m-chart-list-new {
    vertical-align: middle;
}

.m-chart-list-time {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.m-chart-list-category {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.m-chart-list-time img {
    object-fit: contain;
    float: left;
}

.m-chart-list-hit {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.m-chart-list-hit img {
    object-fit: contain;
    float: left;
}

.m-chart-list-desc {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
    display: -webkit-box;
}

.m-chart-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    user-select: text;
    overflow: hidden;
}

.m-chart-carousel.empty:before {
    content: '';
    width: 50%;
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url("../img/mychart/empty.png") no-repeat 50% 50% / contain;
}

.m-chart-carousel-points {
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 0;
}

.m-chart-carousel-point {
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    border-style: solid;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
}

.m-chart-carousel-one {
    float: left;
}

.m-chart-carousel-one * {
    transition: inherit;
}

.m-chart-carousel-inner {
    position: absolute;
}

.m-chart-carousel-cover {
    float: left;
    object-fit: cover;
}

.m-chart-carousel-title {
    float: left;
    vertical-align: middle;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.m-chart-carousel-time {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.m-chart-carousel-time img {
    object-fit: contain;
    float: left;
}

.m-chart-carousel-desc {
    float: left;
    text-overflow: ellipsis;
    box-sizing: border-box;
    display: -webkit-box;
}

.m-chart-carousel-arrow {
    position: absolute;
    z-index: 100;
    cursor: pointer;
}

.m-chart-carousel-arrow.right {
    transform: rotateY(180deg);
}

.m-chart-page {
    width: 100%;
    float: left;
}

.m-chart-page * {
    user-select: none;
}

.m-chart-page-ctrl {
    display: inline-block;
}

.m-chart-page-one {
    display: inline-block;
    padding: 0 1em;
    cursor: pointer;
}

.m-chart-page-input {
    display: inline-block;
    border: none;
    outline: none;
    text-align: center;
}

.m-chart-page-btn {
    display: inline-block;
    padding: 0 1em;
    cursor: pointer;
}

.m-chart-border {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100000;
    outline: 4px dashed #64c955;
    cursor: move;
    display: none;
    clip-path: polygon(calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 10px, 10px 10px,
    -10px -10px, calc(100% + 10px) -10px, calc(100% + 10px) calc(100% + 10px), -10px calc(100% + 10px), -10px -10px,
    10px 10px, 10px calc(100% - 10px), calc(100% - 10px) calc(100% - 10px));
}

.m-chart-one.focus > .m-chart-border {
    display: block;
}

.m-chart-border.move {
    clip-path: none;
    background: rgba(0, 130, 229, 0.2);
}

.m-chart-point {
    width: 16px;
    height: 16px;
    position: absolute;
    background: #64C955;
}

.m-chart-point.lt {
    top: -10px;
    left: -10px;
    cursor: nw-resize;
}

.m-chart-point.ct {
    top: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    cursor: ns-resize;
}

.m-chart-point.rt {
    top: -10px;
    right: -10px;
    cursor: ne-resize;
}

.m-chart-point.lm {
    top: 0;
    bottom: 0;
    left: -10px;
    margin: auto 0;
    cursor: ew-resize;
}

.m-chart-point.rm {
    top: 0;
    bottom: 0;
    right: -10px;
    margin: auto 0;
    cursor: ew-resize;
}

.m-chart-point.lb {
    bottom: -10px;
    left: -10px;
    cursor: ne-resize;
}

.m-chart-point.cb {
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    cursor: ns-resize;
}

.m-chart-point.rb {
    bottom: -10px;
    right: -10px;
    cursor: nw-resize;
}

.m-chart-animation-move-top {
    animation: move-top linear forwards;
}

@keyframes move-top {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-1 * var(--animate-px)));
    }
}

.m-chart-animation-shake-top {
    animation: shake-top linear forwards;
}

@keyframes shake-top {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(calc(-1 * var(--animate-px)));
    }
    100% {
        transform: translateY(0);
    }
}

.m-chart-animation-shake-x {
    animation: shake-x linear forwards;
}

@keyframes shake-x {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(calc(-1 * var(--animate-px)));
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(var(--animate-px));
    }
    100% {
        transform: translateX(0);
    }
}
