.portal-home {
    font-family: "Source Han Sans CN-Regular", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.portal-home *,
.portal-home *:before,
.portal-home *:after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Source Han Sans CN-Regular";
    src: url("../../../skin/web/font/SourceHanSansCN-Regular_1.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Alimama ShuHeiTi-Bold";
    src: url("../../../skin/web/font/AlimamaShuHeiTi-Bold_1.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

.portal-home {
    background: #fff;
    color: #333;
    min-width: 1260px;
}

.portal-container,
.portal-inner {
    width: 1260px;
    margin: 0 auto;
}

.portal-topbar {
    height: 32px;
    background: #f3f3f3;
    border-bottom: 1px solid #ebebeb;
}

.portal-topbar .portal-inner {
    height: 32px;
    display: flex;
    align-items: center;
}

.portal-topbar-link {
    color: #999;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

.portal-topbar-link:hover {
    color: #f17930;
}

.portal-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 12px rgba(153, 153, 153, .08);
    position: relative;
    z-index: 5;
}

.portal-header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.portal-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.portal-logo img {
    height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.portal-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    min-width: 0;
    padding: 0 16px;
}

.portal-nav a {
    color: #303133;
    font-size: 16px;
    line-height: 78px;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}

.portal-nav a.active,
.portal-nav a:hover {
    color: #f17930;
}

.portal-nav a.active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: #f17930;
    transform: translateX(-50%);
}

.portal-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

.portal-search {
    width: 188px;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 6px 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    background: #fff;
    flex-shrink: 0;
}

.portal-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 14px;
    outline: none;
}

.portal-search input::placeholder {
    color: #b8b8b8;
}

.portal-search button {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #f17930;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-search button:hover {
    color: #e06a22;
}

.portal-search button .iconfont {
    font-size: 17px;
}

.portal-login {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f17930;
    font-size: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.portal-login:hover {
    color: #e06a22;
}

.portal-login-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #f17930;
    color: #f17930;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portal-login-icon svg {
    display: block;
}

.portal-hero {
    position: relative;
    height: 491px;
    overflow: hidden;
}

.portal-hero-bg {
    position: absolute;
    inset: 0;
    background: url("../../../skin/web/img/home_hero.png") center center / cover no-repeat;
}

.portal-hero-content {
    position: relative;
    width: 1260px;
    margin: 0 auto;
    padding-top: 124px;
    color: #fff;
    text-align: center;
}

.portal-hero h1 {
    font-size: 36px;
    font-family: "Alimama ShuHeiTi-Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 23px;
}

.hero-search {
    height: 57px;
    display: flex;
    width: min(900px, 100%);
    max-width: 900px;
    margin: 0 auto 75px;
    background: #fff;
    border: 1px solid #dcdfe6;
}

.hero-search select {
    flex: 0 0 280px;
    width: 280px;
    border: 0;
    border-right: 1px solid #dcdfe6;
    padding: 0 16px;
    color: #303133;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.hero-search input {
    flex: 1;
    border: 0;
    padding: 0 28px;
    color: rgba(117, 117, 117, .7);
    font-size: 16px;
    outline: none;
}

.hero-search button {
    width: 108px;
    border: 0;
    background: #f17930;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.portal-hero p {
    max-width: 1260px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
}

.quick-entry {
    background: #fbfbfb;
    height: 280px;
    padding: 25px 0 26px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.quick-card {
    width: 420px;
    height: 229px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-bottom: 4px solid transparent;
    box-shadow: 0 1px 16px rgba(153, 153, 153, .14);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.quick-card.active,
.quick-card:hover {
    border-color: #f17930;
    box-shadow: 0 8px 28px rgba(153, 153, 153, .24);
    transform: translateY(-2px);
}

.quick-card img {
    width: 126px;
    height: 81px;
    object-fit: contain;
    margin-bottom: 34px;
}

.quick-card span {
    color: #303133;
    font-size: 20px;
}

.portal-section {
    padding: 74px 0 60px;
}

.board-section {
    background: #fff;
    padding-top: 97px;
}

.board-layout {
    display: grid;
    grid-template-columns: 814px 423px;
    gap: 24px;
    align-items: start;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-title h2 {
    margin: 0;
    color: #333;
    font-size: 30px;
    font-family: "Alimama ShuHeiTi-Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 700;
    line-height: 36px;
}

.section-title a {
    color: #666;
    font-size: 14px;
}

.data-panel,
.info-panel {
    background: #fff;
    height: 440px;
    box-shadow: 0 1px 16px rgba(153, 153, 153, .2);
}

.data-panel {
    padding: 0 0 28px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 32px 36px 24px;
}

.stat-grid div {
    background: rgba(241, 121, 48, .06);
    height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-grid strong {
    color: #f17930;
    font-size: 26px;
    line-height: 1.3;
}

.stat-grid span {
    color: #757575;
    font-size: 16px;
}

.distribution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 34px;
}

.distribution-panel {
    min-width: 0;
}

.distribution-panel h3 {
    margin: 0 0 12px;
    color: #303133;
    font-size: 18px;
    line-height: 24px;
}

.distribution-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 222px;
    overflow: auto;
    padding-right: 4px;
}

.distribution-item {
    min-width: 0;
}

.distribution-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #555;
    font-size: 13px;
    line-height: 18px;
}

.distribution-head span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.distribution-head strong {
    color: #f17930;
    font-size: 14px;
}

.distribution-bar,
.distribution-mini {
    height: 8px;
    margin-top: 5px;
    border-radius: 99px;
    background: #f1f3f6;
    overflow: hidden;
    position: relative;
}

.distribution-bar i,
.distribution-mini i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.distribution-bar i.single {
    background: #f17930;
}

.distribution-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.distribution-mini {
    height: 9px;
}

.distribution-mini em {
    position: absolute;
    right: 4px;
    top: -1px;
    z-index: 1;
    color: #777;
    font-style: normal;
    font-size: 10px;
    line-height: 10px;
}

.distribution-mini i.registered,
.distribution-legend .registered:before {
    background: #55c7c3;
}

.distribution-mini i.participating,
.distribution-legend .participating:before {
    background: #f17930;
}

.distribution-legend {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    color: #777;
    font-size: 12px;
    line-height: 16px;
    margin: -2px 0 2px;
}

.distribution-legend span:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 7px;
    border-radius: 1px;
    margin-right: 4px;
}

.distribution-empty {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    background: #fafafa;
}

.info-panel {
    padding-bottom: 18px;
    overflow: hidden;
}

.info-list {
    padding: 20px 28px 0;
}

.info-list.is-scrolling {
    animation-name: homeInfoScroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.info-panel:hover .info-list.is-scrolling {
    animation-play-state: paused;
}

@keyframes homeInfoScroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

.info-list li {
    border-bottom: 1px solid #eee;
}

.info-list .info-empty {
    display: block;
    padding: 18px 0;
    color: #999;
    font-size: 14px;
}

.info-list li:last-child {
    border-bottom: 0;
}

.info-list a {
    display: block;
    padding: 10px 0;
}

.info-list strong,
.info-list span,
.info-list em {
    display: block;
}

.info-list strong {
    color: #333;
    font-size: 18px;
    margin-bottom: 7px;
}

.info-list span {
    color: #666;
    font-size: 16px;
}

.info-list em {
    color: #aaa;
    font-size: 12px;
    font-style: normal;
    margin-top: 7px;
}

.home-rwtp-section {
    background: #fff;
    padding: 18px 0 0;
}

.home-rwtp-carousel {
    position: relative;
    width: 100%;
    /*height: 150px;*/
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 16px rgba(153, 153, 153, .14);
}

.home-rwtp-track {
    height: 100%;
    display: flex;
    gap: 24px;
    transition: transform .42s ease;
    will-change: transform;
}

.home-rwtp-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3);
    height: 100%;
}

.home-rwtp-slide a,
.home-rwtp-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-rwtp-slide img {
    object-fit: cover;
}

.home-rwtp-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, opacity .2s ease;
}

.home-rwtp-arrow:hover {
    background: rgba(241, 121, 48, .9);
}

.home-rwtp-arrow:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.home-rwtp-arrow.prev {
    left: 14px;
}

.home-rwtp-arrow.next {
    right: 14px;
}

.home-rwtp-arrow.prev:before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.home-rwtp-arrow.next:before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.news-section {
    background: #fff;
    padding: 28px 0 58px;
}

.news-title > div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.news-section .news-title {
    margin-bottom: 40px;
}

.news-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
}

.news-tabs button {
    min-width: 108px;
    height: 34px;
    padding: 0 22px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    color: #666;
    font-size: 16px;
    line-height: 32px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.news-tabs button.active,
.news-tabs button:hover {
    background: #f17930;
    border-color: #f17930;
    color: #fff;
}

.news-slider {
    width: 100%;
    overflow: hidden;
}

.news-track {
    width: 200%;
    display: flex;
    transition: transform .36s ease;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 50%;
    flex: 0 0 50%;
}

.news-card {
    background: #fff;
    width: 405px;
    border: 0;
    box-shadow: 0 1px 16px rgba(153, 153, 153, .2);
}

.news-card img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    display: block;
}

.news-card div {
    padding: 25px 24px 22px;
}

.news-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #303133;
    font-weight: 700;
}

.news-card p {
    margin: 0 0 16px;
    color: #666;
    font-size: 16px;
    line-height: 24px;
}

.news-card time {
    color: #aaa;
    font-size: 16px;
}

.portal-footer {
    background: #2b2c2e;
    color: rgba(255, 255, 255, .78);
}

.footer-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0 32px;
}

.footer-main {
    flex: 1;
    min-width: 0;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    margin-bottom: 18px;
}

.footer-nav a {
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #f17930;
}

.footer-contact {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.7;
}

.footer-qr {
    display: flex;
    flex-shrink: 0;
    gap: 28px;
    padding-top: 4px;
}

.footer-qr-item {
    text-align: center;
}

.footer-qr-item img {
    width: 88px;
    height: 88px;
    display: block;
    margin: 0 auto 10px;
    padding: 4px;
    background: #fff;
    object-fit: contain;
}

.footer-qr-item span {
    display: block;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    line-height: 1.4;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    line-height: 40px;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.back-top {
    position: fixed;
    right: 32px;
    bottom: 72px;
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, visibility .25s, transform .25s, filter .2s;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    filter: brightness(1.05);
}

.back-top img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}
