* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    overflow: hidden;
}

.kj-bar {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #11bca7;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.KJ-TabBox.kj-bar {
    height: 200px;
}

.kj-tabs {
    display: flex;
    gap: 6px;
    padding: 6px 8px;
    margin: 0;
    list-style: none;
    background: #f5f5f5;
}

.kj-tabs li {
    flex: 1;
    height: 36px;
    line-height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #efe7dd 0%, #d3b594 100%);
    color: #7d5531;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.kj-tabs li.cur {
    background: #fff;
    color: #e60012;
    box-shadow: inset 0 0 0 1px #eadfce;
}

.KJ-TabBox .KJ-IFRAME {
    flex: 1;
    width: 100%;
    min-height: 0;
    border: 0;
    background: #fff;
}

.kj-panel {
    height: 100%;
    padding: 0;
    font-size: 12px;
    color: #333;
    background: #fff;
}

.kj-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 8px 4px;
    font-size: 12px;
    background: #fff;
    border-bottom: 1px solid #efefef;
    white-space: nowrap;
}

.kj-headline .issue {
    color: #333;
}

.kj-headline .issue em,
.kj-nextline em {
    font-style: normal;
    font-weight: 700;
}

.kj-headline .countdown {
    flex: 1;
    text-align: center;
    color: #e60012;
    font-weight: 700;
}

.kj-headline .history {
    color: #12a061;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.kj-balls-wrap {
    background: #f3f3f3;
    padding: 4px 6px 6px;
}

.kj-balls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 68px;
}

.kj-ball {
    flex: 0 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    background: transparent !important;
    border-radius: 0 !important;
    height: auto !important;
    margin: 0 !important;
}

.kj-ball h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 37px;
    margin: 0 auto 3px;
    padding: 0;
    color: #222;
    font-size: 20px;
    font-weight: 700;
    line-height: 37px;
    font-family: Tahoma, Geneva, sans-serif;
    background: 0 0 no-repeat;
    background-size: 100% 100%;
}

.kj-ball h2.ball-red {
    background-image: url(/skin/images/kj-ball-red.png);
}

.kj-ball h2.ball-blue {
    background-image: url(/skin/images/kj-ball-blue.png);
}

.kj-ball h2.ball-green {
    background-image: url(/skin/images/kj-ball-green.png);
}

.kj-ball .whsx {
    display: block;
    margin-top: 1px;
    font-size: 13px;
    line-height: 1.15;
    color: #666;
    background: transparent;
    padding: 0;
    border-radius: 0;
    height: auto;
}

.kj-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    padding-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin: 0 !important;
}

.kj-nextline {
    padding: 7px 8px 8px;
    color: #e60012;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
    border-top: 1px solid #efefef;
}

.kj-nextline .time {
    color: #e60012;
}

.kj-refresh {
    display: inline-block;
    padding: 2px 8px;
    color: #12a061;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.kj-font-red {
    color: #e60012 !important;
}

@media screen and (max-width: 380px) {
    .kj-balls-row {
        gap: 2px;
        padding: 0 2px;
    }

    .kj-ball {
        flex-basis: 31px;
    }

    .kj-ball h2 {
        width: 31px;
        height: 34px;
        font-size: 15px;
        line-height: 34px;
    }

    .kj-ball .whsx {
        font-size: 10px;
    }

    .kj-tabs li {
        font-size: 13px;
    }

    .kj-headline {
        gap: 6px;
        font-size: 11px;
    }
}

.domain-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    min-height: 40px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #fffdf4 0%, #f8e6a3 100%);
    border-top: 1px solid #11bca7;
    border-bottom: 1px solid #d3b594;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.domain-banner-mark {
    color: #782d09;
}

.domain-banner-num {
    font-size: 16px;
}

.domain-banner-red {
    color: #e60012;
}

.domain-banner-blue {
    color: #0000ff;
}

.domain-banner-green {
    color: #008000;
}

.domain-notice {
    display: flex;
    overflow: hidden;
    border: 1px solid #11bca7;
    border-radius: 6px;
    background: #fff;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.domain-notice-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 66px;
    padding: 6px 4px;
    color: #fff5cf;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(180deg, #917843 0%, #b88a27 100%);
    flex: 0 0 52px;
}

.domain-notice-body {
    flex: 1;
    min-width: 0;
}

.domain-notice-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    min-height: 33px;
    padding: 6px 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.domain-notice-line-title {
    background: linear-gradient(180deg, #fffdf4 0%, #f8e6a3 100%);
    border-bottom: 1px solid #efefef;
}

.domain-notice-line:last-child {
    background: #fff;
}

.domain-notice-arrow {
    max-width: 18px;
    height: auto;
    margin-right: 4px;
}
