.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: 745px;
    margin: 0 auto 75px;
    background: #fff;
    border: 1px solid #dcdfe6;
}

.hero-search select {
    width: 125px;
    border: 0;
    border-right: 1px solid #dcdfe6;
    padding: 0 21px;
    color: #303133;
    font-size: 16px;
    outline: none;
}

.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;
}

.chart-row {
    display: grid;
    grid-template-columns: 430px 230px;
    gap: 54px;
    padding: 0 34px;
}

.line-chart h3,
.donut-chart h3 {
    margin: 0 0 14px;
    color: #303133;
    font-size: 18px;
}

.chart-area {
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    height: 190px;
}

.chart-area svg {
    width: 100%;
    height: 100%;
    display: block;
}

.grid-lines line {
    stroke: #eee;
    stroke-width: 1;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
    color: #777;
    font-size: 12px;
}

.chart-legend span:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 8px;
    margin-right: 5px;
}

.chart-legend .blue:before { background: #48aee9; }
.chart-legend .green:before { background: #55c7c3; }
.chart-legend .orange:before { background: #f17930; }
.chart-legend .gray:before { background: #d9d9d9; }

.donut-chart {
    text-align: center;
}

.donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 12px auto 0;
    position: relative;
}

.donut svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(-90deg);
}

.donut circle {
    fill: none;
    stroke-width: 42;
}

.donut-track {
    stroke: #e5e7eb;
}

.donut-value {
    stroke: #f6792c;
    stroke-linecap: butt;
    stroke-dasharray: 291 383;
    transition: stroke-width .2s ease, filter .2s ease;
}

.donut-hole {
    position: absolute;
    inset: 43px;
    border-radius: 50%;
    background: #fff;
}

.donut-chart:hover .donut-value {
    stroke-width: 46;
    filter: drop-shadow(0 4px 8px rgba(246, 121, 44, .22));
}

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

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

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

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

.info-list a {
    display: block;
    padding: 14px 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;
}

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

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

.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;
}
