:root {
    --dawn-bg: #ffffff;
    --dawn-surface: #ffffff;
    --dawn-surface-muted: #ffffff;
    --dawn-border: rgba(29, 36, 28, 0.12);
    --dawn-text: #1b1e1a;
    --dawn-text-muted: #6e756c;
    --dawn-accent: #1f3a2f;
    --dawn-accent-soft: #d9e5dc;
    --dawn-shadow: 0 18px 45px rgba(31, 58, 47, 0.08);
    --dawn-radius-xl: 28px;
    --dawn-radius-lg: 20px;
    --dawn-radius-md: 16px;
    --dawn-page-width: 1200px;
}

html,
body {
    background: #ffffff;
    color: var(--dawn-text);
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
    color: inherit;
}

#app.indexNew {
    width: 100%;
    max-width: var(--dawn-page-width);
    margin: 0 auto;
    padding: .28rem .22rem 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #ffffff;
    overflow-x: hidden;
}

.dawn-home-shell {
    display: block;
    position: relative;
    flex: 1 1 auto;
}

.dawn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .16rem;
    padding: .24rem 0 .34rem;
    border-top: 1px solid rgba(29, 36, 28, 0.22);
    border-bottom: 1px solid rgba(29, 36, 28, 0.22);
    background: #ffffff;
}

.dawn-header__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .06rem;
    width: .68rem;
    height: .68rem;
    padding: 0;
    color: var(--dawn-text);
    flex: 0 0 auto;
}

.dawn-header__menu span {
    display: block;
    width: .34rem;
    height: .028rem;
    margin: 0 auto;
    background: currentColor;
    border-radius: 999px;
}

.dawn-header__brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .34rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .01rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dawn-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .12rem;
    flex: 0 0 auto;
}

.dawn-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: .68rem;
    height: .68rem;
    border-radius: 999px;
    font-size: .3rem;
    color: var(--dawn-text);
}

.dawn-user-icon {
    display: block;
    width: .4rem;
    height: .4rem;
    background: center center / contain no-repeat url("../images/dawn-user-avatar.png");
}

.dawn-drawer-mask {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 18, 0.2);
    z-index: 20;
}

.dawn-drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding: .38rem .3rem .28rem;
    background: #ffffff;
    box-shadow: none;
    transform: translateX(-110%);
    transition: transform .24s ease;
    z-index: 21;
    box-sizing: border-box;
    overflow-y: auto;
}

.dawn-drawer.is-open {
    transform: translateX(0);
}

.dawn-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .12rem;
    margin-bottom: .22rem;
    padding-top: .14rem;
    padding-bottom: .24rem;
    border-bottom: 0;
}

.dawn-drawer__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .34rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dawn-drawer__close {
    width: .68rem;
    height: .68rem;
    color: var(--dawn-text);
    flex: 0 0 auto;
}

.dawn-close-icon {
    position: relative;
    display: inline-block;
    width: .32rem;
    height: .32rem;
}

.dawn-close-icon::before,
.dawn-close-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: .32rem;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.dawn-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.dawn-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dawn-drawer__actions {
    display: flex;
    align-items: center;
    gap: .14rem;
    flex: 0 0 auto;
}

.dawn-drawer__item {
    display: flex;
    align-items: center;
    min-height: .74rem;
    border-bottom: 1px solid rgba(29, 36, 28, 0.08);
    font-size: .24rem;
    color: var(--dawn-text);
}

.dawn-drawer__item:last-child {
    border-bottom: 0;
}

.dawn-drawer__navgroup + .dawn-drawer__navgroup {
    margin-top: .02rem;
}

.dawn-drawer__panel {
    min-height: calc(100vh - 1.2rem);
}

.dawn-drawer__back {
    display: flex;
    align-items: center;
    gap: .24rem;
    min-height: .84rem;
    padding-left: .26rem;
    padding-right: .26rem;
    border-bottom: 0;
    font-size: .3rem;
    color: var(--dawn-text);
}

.dawn-drawer__back-title {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dawn-drawer__item--arrow,
.dawn-drawer__item--child,
.dawn-drawer__subchild,
.dawn-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: .82rem;
    padding-left: .36rem;
    padding-right: .36rem;
    border-bottom: 0;
    font-size: .3rem;
    color: #222222;
}

.dawn-drawer__item--split {
    display: flex;
    align-items: center;
    min-height: .82rem;
}

.dawn-drawer__item-link {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    min-height: .82rem;
    padding-left: .36rem;
    padding-right: .4rem;
    font-size: .3rem;
    color: #222222;
}

.dawn-drawer__item-arrow {
    flex: 0 0 1.28rem;
    height: .82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
}

.dawn-arrow-icon {
    position: relative;
    display: inline-block;
    width: .42rem;
    height: .28rem;
}

.dawn-arrow-icon::before,
.dawn-arrow-icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    box-sizing: border-box;
    transform-origin: center;
}

.dawn-arrow-icon::before {
    left: .2rem;
    width: .16rem;
    height: .16rem;
    border-top: 2px solid #111111;
    border-right: 2px solid #111111;
    transform: translateY(-50%) rotate(45deg);
}

.dawn-arrow-icon::after {
    left: 0;
    width: .28rem;
    height: 2px;
    border: 0;
    background: #111111;
    transform: translateY(-50%);
}

.dawn-arrow-icon.is-left {
    transform: scaleX(-1);
}

.dawn-drawer__link {
    justify-content: flex-start;
}

.dawn-drawer__item-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dawn-drawer__empty {
    padding: .28rem 0;
    font-size: .23rem;
    color: #999999;
}

.dawn-header__icon .fa,
.dawn-drawer__close .fa {
    font-size: .34rem;
}

.dawn-footer-note {
    margin-top: auto;
    padding: .08rem .12rem 0;
    margin-bottom: -.14rem;
    line-height: 1.9;
    font-size: .18rem;
    text-align: center;
    color: #b6b6b6;
    font-weight: 400;
}

.dawn-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .12rem .2rem;
    border: 1px solid var(--dawn-border);
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.75);
    color: var(--dawn-text);
    font-size: .18rem;
}

.dawn-subject-sections {
    padding: .22rem 0 0;
}

.dawn-subject-section {
    margin: 0 0 .42rem;
}

.dawn-subject-section__title {
    margin: 0 0 .24rem;
    padding: 0 .02rem;
    font-size: .36rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .04rem;
    color: var(--dawn-text);
}

.dawn-subject-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .28rem .18rem;
}

.dawn-subject-card {
    display: block;
    min-width: 0;
    color: var(--dawn-text);
    text-align: center;
}

.dawn-subject-card__image {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 100%;
    border: 1px solid rgba(29, 36, 28, 0.18);
    background: #ffffff;
    overflow: hidden;
}

.dawn-subject-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .18rem;
    box-sizing: border-box;
}

.dawn-subject-card__name {
    display: block;
    padding-top: .16rem;
    font-size: .23rem;
    line-height: 1.35;
    letter-spacing: .04rem;
}

.dawn-subject-card__arrow {
    display: inline-block;
    margin-left: .04rem;
}

.indexNew .banner,
.indexNew .nav,
.indexNew .news,
.indexNew .activity,
.indexNew .news-section,
.indexNew .broadcast,
.indexNew .teacher,
.indexNew .essential,
.indexNew .curriculum,
.indexNew .boutique,
.indexNew .public_list,
.indexNew .special,
.indexNew .hot,
.indexNew .list {
    box-sizing: border-box;
}

.indexNew .banner {
    background: transparent;
    margin-top: 0;
    margin-left: -.22rem;
    margin-right: -.22rem;
    padding: 0;
}

.indexNew #carousel {
    width: 100% !important;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none;
}

.indexNew #carousel .swiper-slide,
.indexNew #carousel img {
    min-height: 4.2rem;
    border-radius: 0 !important;
}

.indexNew .news {
    display: flex;
    align-items: center;
    gap: .16rem;
    margin-top: .18rem;
    padding: .22rem .28rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    border: 1px solid rgba(29, 36, 28, 0.08);
}

.indexNew .news .pictrue {
    width: .48rem;
    flex: 0 0 .48rem;
}

.dawn-news-ticker #news .swiper-slide a {
    display: block;
    font-size: .22rem;
    color: var(--dawn-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.indexNew .nav,
.indexNew .activity,
.indexNew .news-section,
.indexNew .broadcast,
.indexNew .teacher,
.indexNew .essential {
    display: none !important;
}

.indexNew .curriculum {
    margin-top: .26rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.indexNew .activity {
    overflow: hidden;
}

.indexNew .activity .left,
.indexNew .activity .right .item {
    background: transparent;
}

.indexNew .activity .left {
    padding: .28rem;
}

.indexNew .activity .right .item {
    padding: .22rem .24rem;
    border-top: 1px solid rgba(27, 30, 26, 0.06);
}

.indexNew .news-section .title,
.indexNew .public_title,
.indexNew .teacher-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .2rem;
    padding: .28rem .28rem .12rem;
}

.indexNew .news-section .title > div,
.indexNew .public_title .name,
.indexNew .teacher-hd .name,
.indexNew .activity-offline .public_title .name {
    font-size: .32rem;
    font-weight: 700;
    color: var(--dawn-text);
}

.indexNew .news-section .link,
.indexNew .public_title .more,
.indexNew .teacher-hd .link {
    font-size: .19rem;
    color: var(--dawn-text-muted);
}

.indexNew .news-section .list,
.indexNew .activity-offline .list {
    padding: .04rem .22rem .22rem;
}

.indexNew .news-section .list .link,
.indexNew .activity-offline .list .item,
.indexNew .public_list .item {
    margin-top: .12rem;
    border: 1px solid rgba(27, 30, 26, 0.07);
    border-radius: var(--dawn-radius-lg);
    background: #fff;
    box-shadow: 0 8px 20px rgba(27, 30, 26, 0.04);
}

.indexNew .public_list {
    padding: 0;
}

.indexNew .public_list .item {
    padding: 0;
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.indexNew .public_list .pictrue,
.indexNew .activity-offline .pictrue,
.indexNew .news-section .img {
    border-radius: .12rem;
    overflow: hidden;
}

.indexNew .public_list .text,
.indexNew .activity-offline .text,
.indexNew .news-section .text {
    min-width: 0;
}

.indexNew .public_list .title .name,
.indexNew .activity-offline .title .name,
.indexNew .news-section .name {
    color: var(--dawn-text);
    font-weight: 600;
}

.indexNew .public_list .labelItem {
    border-radius: 999px;
    background: #eef4ff;
    color: #5383d3;
}

.dawn-products .public_title {
    padding: 0 0 .18rem;
}

.dawn-products .public_title .name {
    font-size: .34rem;
}

.dawn-products .public_title .more {
    font-size: .2rem;
}

.dawn-products .swiper-container {
    padding: 0;
}

.dawn-products .public_list .item .text {
    padding-top: .16rem;
}

.dawn-products .public_list .title {
    margin-bottom: .12rem;
}

.dawn-products .public_list .title .name {
    font-size: .22rem;
    font-weight: 500;
}

.dawn-products .public_list .labelList {
    margin-bottom: .12rem;
}

.dawn-products .public_list .money,
.dawn-products .public_list .free {
    color: #c08a2b;
    font-weight: 600;
}

.dawn-products .public_list .item {
    border-bottom: 1px solid rgba(29, 36, 28, 0.08);
    padding-bottom: .2rem;
    margin-bottom: .2rem;
}

.dawn-products .public_list .item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#footer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.indexNew .broadcast .swiperScroll,
.indexNew .teacher #teacher,
.indexNew .curriculum .swiper-container {
    padding: 0 .22rem .24rem;
}

.indexNew .broadcast .item,
.indexNew .teacher .link {
    overflow: hidden;
    border: 1px solid rgba(27, 30, 26, 0.07);
    border-radius: var(--dawn-radius-lg);
    background: #fff;
    box-shadow: 0 10px 24px rgba(27, 30, 26, 0.05);
}

.indexNew .teacher .link {
    display: block;
    padding: .14rem;
}

.indexNew .teacher .img {
    border-radius: .16rem;
}

.indexNew .teacher .name {
    padding: .14rem .04rem .02rem;
    font-size: .2rem;
    font-weight: 600;
    text-align: center;
}

@media screen and (min-width: 768px) {
    #app.indexNew {
        padding: 20px 20px 0;
    }

    .dawn-brandbar {
        padding-bottom: 10px;
    }

    .dawn-chip,
    .indexNew .news-section .link,
    .indexNew .public_title .more,
    .indexNew .teacher-hd .link {
        font-size: 14px;
    }

    .dawn-header {
        padding: 12px 0 20px;
    }

    .dawn-header__menu,
    .dawn-header__icon {
        width: 46px;
        height: 46px;
    }

    .dawn-header__menu span {
        width: 24px;
    }

    .dawn-header__brand {
        font-size: 23px;
    }

    .dawn-header__icon .fa,
    .dawn-drawer__close .fa {
        font-size: 20px;
    }

    .dawn-user-icon {
        width: 20px;
        height: 20px;
    }

    .dawn-drawer {
        padding: 34px 26px 24px;
    }

    .dawn-drawer__title {
        font-size: 23px;
    }

    .dawn-drawer__item {
        min-height: 54px;
        font-size: 15px;
    }

    .dawn-drawer__back,
    .dawn-drawer__item--arrow,
    .dawn-drawer__item--child,
    .dawn-drawer__subchild,
    .dawn-drawer__link,
    .dawn-drawer__item-link {
        font-size: 19px;
    }

    .dawn-arrow-icon {
        width: 24px;
        height: 16px;
    }

    .dawn-close-icon {
        width: 22px;
        height: 22px;
    }

    .dawn-close-icon::before,
    .dawn-close-icon::after {
        width: 22px;
    }

    .dawn-footer-note {
        margin-top: auto;
        padding-bottom: 0;
        margin-bottom: -8px;
        font-size: 13px;
    }

    .indexNew #carousel .swiper-slide,
    .indexNew #carousel img {
        min-height: 520px;
    }

    .indexNew .teacher .name {
        font-size: 15px;
    }

    .indexNew .news {
        margin-top: 18px;
        padding: 16px 24px;
    }
    .indexNew .public_title .name {
        font-size: 24px;
    }
}
