/* 移动端首页样式 - 所有类名使用 ohome-m- 前缀避免冲突 */

.o-home-m-shadow {
    box-shadow: 0px 4px 24px 0px rgba(0, 159, 255, 0.12);
}
.line-height-1 {
    line-height: 1;
}
.padding-12 {
    padding: 12px;
}
.px-12 {
    padding-Left: 12px;
    padding-right: 12px;
}
.px-16 {
    padding-Left: 16px;
    padding-right: 16px;
}
.m-color-blue-1 {
    color: rgba(9, 93, 196, 1);
}
.o-home-m {
    height: 100vh;
    overflow-y: auto;
    background: #ebeef1;
}

/* 图片懒加载样式 */
.ohome-m-lazy-img {
    background: #F0F3F8;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ohome-m-lazy-loaded {
    opacity: 1;
}

/* 头部样式 */
.ohome-m-header {
    background: linear-gradient(180.00deg, rgba(236, 242, 255, 1), rgba(255, 255, 255, 1) 100%);
    height: 52px;
    padding: 0 16px;
}

.ohome-m-header-logo {
    flex: 1;
}

.ohome-m-logo-img {
    width: 150px;
    height: auto;
    margin-right: 10px;
    flex-shrink: 0;
}

.ohome-m-header-selector {
    flex-shrink: 0;
}

.ohome-m-selector-btn {
    min-width: 100px;
    padding: 0 12px;
    height: 32px;
    background: rgba(217, 227, 249, 1);
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 100px;
}

.ohome-m-selector-icon {
    font-size: 16px;
    margin-right: 6px;
    color: #696969;
}

.ohome-m-selector-text {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.ohome-m-selector-arrow {
    margin-left: 5px;
}

/* 导航Tab样式 */
.ohome-m-nav {
    position: sticky;
    top: 0;
    gap: 40px;
    z-index: 99;
    padding: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.ohome-m-nav::-webkit-scrollbar {
    display: none; /* Chrome Safari */
}

.ohome-m-nav-item {
    flex: 1;
    position: relative;
    min-width: fit-content;
    height: 50px;
}
.ohome-m-nav-item::after {
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 20px;
    background: #E3E2E2;
    top: 16px;
    right: -15px;
}
.ohome-m-nav-item:last-child::after {
    display: none;
}
.ohome-m-nav-text {
    text-align: center;
    width: 100%;
    transition: all 0.3s;
}

.ohome-m-nav-line {
    bottom: 2px;
    left: 50%;
    width: 16px;
    height: 4px;
    border-radius: 4px;
    background: #009FFF;
    transition: all .3s;
    transform: translateX(-50%) scaleX(0);
}
.ohome-m-nav-item-active .ohome-m-nav-line {
    transform: translateX(-50%) scaleX(1);
}

/* Banner样式 */
.ohome-m-banner {
    overflow: hidden;
    margin-bottom: -28px;
    z-index: 0;
}

.ohome-m-banner .swiper-slide {
    height: 188px;
}

.ohome-m-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-banner-title {
    bottom: 16px;
    left: 16px;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 应用网格样式 */
.ohome-m-app-grid-container {
    position: relative;
    overflow: visible;
    margin: 0 16px;
}

.ohome-m-app-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.ohome-m-app-item {
    flex-shrink: 0;
    width: auto;
}

.ohome-m-app-icon {
    width: 46px;
    height: 46px;
    position: relative;
}

.ohome-m-app-icon-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-app-name {
    width: 100%;
    text-align: center;
    line-height: 16px;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ohome-m-app-more {
    height: 44px;
    background: rgba(248, 252, 255, 1);
}

/* 底部弹出选择器组件样式 */
.ohome-m-bottom-selector-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: ohome-m-fadeIn 0.3s ease-out;
}

@keyframes ohome-m-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ohome-m-bottom-selector-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    max-height: 70vh;
    overflow: hidden;
    animation: ohome-m-slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes ohome-m-slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.ohome-m-bottom-selector-header {
    border-bottom: 1px solid #E8E8E8;
}

.ohome-m-bottom-selector-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
}

.ohome-m-bottom-selector-option {
    border-bottom: 1px solid #F0F3F8;
    transition: background 0.2s;
    padding: 0 20px;
    height: 36px;
}

.ohome-m-bottom-selector-option:active {
    background: #F0F3F8;
}

.ohome-m-bottom-selector-option:last-child {
    border-bottom: none;
}

.ohome-m-bottom-selector-option-active {
    background: #F0F3F8;
}

/* 课程列表模块样式 - 只包含头部框架 */
.ohome-m-course-module {
    width: 100%;
    margin-top: 24px;
    background: #fff;
    border-radius: 8px;
}

.ohome-m-course-header {
    height: 36px;
    position: relative;
}
.course-header-left {
    position: absolute;
    left: 0;
    z-index: 3;
    height: 48px;
    bottom: 0;
    width: 110px;
    background: url(../../images/siteHome/ohome/mobile/m-bg-8.png);
    padding-left: 12px;
    padding-top: 14px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}
.big-head-tab .course-header-left {
    width: 164px;
    background: url(../../images/siteHome/ohome/mobile/m-bg-7.png);
}
span.header-left-title::after {
    content: "";
    display: block;
    background: url(../../images/siteHome/ohome/mobile/m-bg-1.png) no-repeat;
    height: 2px;
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 25px;
    transform: translateX(-50%);
}
.course-header-main {
    position: absolute;
    bottom: 0;
    height: 36px;
    background: #f8fcff;
    width: 100%;
    border-radius: 0 8px 0 0;
    padding-right: 10px;
}
.ohome-m-course-title {
    white-space: nowrap;
}

/* 课程内容区样式（在插槽中使用） */
.ohome-m-course-banner {
    position: relative;
    overflow: hidden;
    height: 48px;
    padding-left: 8px;
}
.ohome-m-course-banner-1 {
    background: url(../../images/siteHome/ohome/mobile/m-bg-3.png) no-repeat;
    background-size: cover;
}
.ohome-m-course-banner-2 {
    background: url(../../images/siteHome/ohome/mobile/m-bg-4.png) no-repeat;
    background-size: cover;
}
.ohome-m-course-banner-3 {
    background: url(../../images/siteHome/ohome/mobile/m-bg-5.png) no-repeat;
    background-size: cover;
}

.ohome-m-course-banner-icon {
    width: 28px;
    height: 28px;
    background: #0089ff;
    margin-right: 10px;
}
.ohome-m-course-banner-icon-1 {
    background: rgba(252, 143, 17, 1);
}

.ohome-m-course-banner-icon-2 {
    background: rgba(49, 225, 170, 1);
}

.ohome-m-course-banner-text {
    line-height: 24px;
}

.ohome-m-course-banner-tip {
    margin: 0 8px;
    font-size: 20px;
    line-height: 1;
}

.ohome-m-course-banner-decor {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    right: -20px;
    top: -20px;
}

.ohome-m-course-filter {
    margin: 16px 0;
}

.ohome-m-course-filter-label {
    white-space: nowrap;
}

.ohome-m-course-filter-tag {
    align-items: center;
    background: rgba(240, 249, 254, 1);
    border-radius: 20px;
    padding: 0 14px;
    height: 32px;
    gap: 6px;
}

.ohome-m-course-filter-close {
    font-size: 14px;
    color: #696969;
}

.ohome-m-course-list {
    padding-top: 0;
    /* max-height: 500px;
    overflow-y: auto; */
}

.ohome-m-course-item {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    padding: 12px 16px;
    border: 1px solid rgba(223, 232, 249, 1);
}

.ohome-m-course-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-course-thumbnail {
    width: 100%;
    height: 160px;
}
.ohome-m-course-thumbnail:last-child {
    margin-bottom: 0;
}

.ohome-m-course-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-course-info {
    padding: 12px 0;
}

.ohome-m-course-item-title {
    line-height: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-course-metrics {
    align-items: baseline;
}

.ohome-m-course-metric-icon {
    font-size: 14px;
    color: #696969;
    margin-right: 6px;
    flex-shrink: 0;
}

.ohome-m-course-metric-text {
    flex: 1;
    line-height: 18px;
}

/* 第二课堂列表样式 */
.ohome-m-second-class-list {
    width: calc(100% + 32px);
    background: #fff;
    transform: translateX(-16px);
    margin-top: 20px;
    padding: 10px 0;
}

.ohome-m-second-class-item {

}

.ohome-m-second-class-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-second-class-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.ohome-m-resource-swiper .swiper-slide {
    height: 428px;
}
.lesson-pre-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 0;
}
.lesson-pre-item {
    height: 76px;
    padding: 13px 10px;
    color: #095dc4;
}
.lesson-pre-item .icon-box{
    width: 48px;
    height: 50px;
    margin-right: 12px;
}
.lesson-pre-item .icon-box-0{
    background: rgba(255, 246, 244, 1);
}
.lesson-pre-item .icon-box-1{
    background: rgba(235, 244, 255, 1);
}
.lesson-pre-item .icon-box-2{
    background: rgba(241, 243, 254, 1);
}
.lesson-pre-item .info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.lesson-pre-item p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}
.lesson-pre-item .sub-title{
    font-size: 14px;
    color: rgba(9, 93, 196, .4);
}
.lesson-pre-item:hover {
    color: #EA5F49;
}
.lesson-pre-item:hover .sub-title{
    color: rgba(234, 95, 73, .4);
}
.lesson-pre-item:not(:last-child) {
    border-bottom: 1px solid rgba(239, 240, 241, 1);
}

/* 直播预告模块样式 */
.ohome-m-live-preview-container {
    width: 100%;
}

/* 图片区域 */
.ohome-m-live-preview-img-box {
    width: 100%;
    height: 140px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ohome-m-live-preview-img-item {
    position: relative;
}

.ohome-m-live-preview-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-live-preview-status {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 10px 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.ohome-m-live-status-0 {
    background: rgba(255, 152, 0, 0.9);
    color: #ffffff;
}

.ohome-m-live-status-1 {
    background: rgba(76, 175, 80, 0.9);
    color: #ffffff;
}

.ohome-m-live-status-2 {
    background: rgba(158, 158, 158, 0.9);
    color: #ffffff;
}

.ohome-m-live-preview-img-mask {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ohome-m-live-preview-img-box:active .ohome-m-live-preview-img-mask {
    opacity: 1;
}

.ohome-m-live-preview-play-icon {
    font-size: 48px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 统计信息 */
.ohome-m-live-preview-stats {
    align-items: center;
    background: linear-gradient(129.81deg, rgba(89, 176, 252, 1),rgba(0, 137, 255, 1) 100%);
    height: 48px;
    padding-left: 12px;
}

.ohome-m-live-preview-stats-text {
    flex: 1;
    line-height: 20px;
    gap: 6px;
}

/* 列表区域 */
.ohome-m-live-preview-list {
    /* max-height: 400px; */
    /* overflow: hidden; */
}

.ohome-m-live-preview-list-scroll {
    /* max-height: 400px; */
    /* overflow-y: auto;
    -webkit-overflow-scrolling: touch; */
}

.ohome-m-live-preview-list-item {
    border: 1px solid rgba(210, 230, 255, 1);
    transition: all 0.3s;
    align-items: center;
    height: 100px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.ohome-m-live-preview-list-item:last-child {
    margin-bottom: 0;
}

.ohome-m-live-preview-list-item:active {
    background: #F0F3F8;
}

.ohome-m-live-preview-list-item-active {
    background: #E8F4FF;
}

.ohome-m-live-preview-list-item-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ohome-m-live-preview-list-item-top {
    align-items: center;
    flex-wrap: wrap;
}

.ohome-m-live-preview-week,
.ohome-m-live-preview-date,
.ohome-m-live-preview-time {
    flex-shrink: 0;
    white-space: nowrap;
}

.ohome-m-live-preview-title {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
}

.ohome-m-live-preview-desc {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 18px;
}

.ohome-m-live-preview-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
    transition: all 0.3s;
}

.ohome-m-live-preview-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.ohome-m-live-btn-status-0 {
    background: #009FFF;
    color: #ffffff;
}

.ohome-m-live-btn-status-1 {
    background: #4CAF50;
    color: #ffffff;
}

.ohome-m-live-btn-status-2 {
    background: #ffffff;
    color: #009FFF;
    border: 1px solid #009FFF;
}

/* 首席信息讲座模块样式 */
.ohome-m-expert-module {
    width: 100%;
}

.ohome-m-expert-title {
    white-space: nowrap;
}

.ohome-m-expert-tabs {
    padding: 10px 0 20px 0;
}

.ohome-m-expert-tab-item {
    position: relative;
    transition: all 0.3s;
}

.ohome-m-expert-tab-item:active {
    opacity: 0.7;
}

.ohome-m-expert-tab-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #009FFF;
    border-radius: 2px;
}

.ohome-m-expert-list {
    padding-top: 0;
}

.ohome-m-expert-card {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    padding: 12px 16px;
    border: 1px solid rgba(223, 232, 249, 1);
}
.ohome-m-expert-card:last-child {
    margin-bottom: 0;
}

.ohome-m-expert-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

/* 图片区域 */
.ohome-m-expert-img-box {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    position: relative;
    background: #F0F3F8;
    overflow: hidden;
}

.ohome-m-expert-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 内容区 */
.ohome-m-expert-content {
    padding: 12px 0;
}

.ohome-m-expert-info {
    align-items: center;
}

.ohome-m-expert-info-icon {
    font-size: 16px;
    color: #696969;
    margin-right: 8px;
    flex-shrink: 0;
}

.ohome-m-expert-info-text {
    flex: 1;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* 数字教材模块样式 */
.ohome-m-textbook-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ohome-m-textbook-item {
    transition: all 0.3s;
    border: 1px solid rgba(229, 236, 241, 1);
}

.ohome-m-textbook-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-textbook-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 133.33%; /* 3:4 比例，适合教材封面 */
    position: relative;
    background: #F0F3F8;
    overflow: hidden;
}

.ohome-m-textbook-thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-textbook-info {
    padding-top: 12px;
}

.ohome-m-textbook-title {
    font-size: 14px;
}

.ohome-m-textbook-desc {
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 人工智能模块样式 */
.ohome-m-ai-cards {
    background: #ffffff;
}

.ohome-m-ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ohome-m-ai-card {
    flex-direction: column;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(211, 232, 255, 1);
}

.ohome-m-ai-card:active {
    transform: scale(0.95);
    background: #E0E7F0;
}

.ohome-m-ai-card-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.ohome-m-ai-card-text {
    text-align: center;
    line-height: 20px;
    white-space: nowrap;
    color: rgba(9, 93, 196, 1);
}

.ohome-m-ai-tab-selector {
    align-items: center;
    padding-bottom: 16px;
}

.ohome-m-ai-tab-label {
    flex-shrink: 0;
}

.ohome-m-ai-tab-btn {
    align-items: center;
}

.ohome-m-ai-list {
    padding-bottom: 16px;
}

.ohome-m-ai-item {
    transition: all 0.3s;
    border: 1px solid rgba(211, 236, 255, 1);
}
.ohome-m-ai-item:last-child {
    margin-bottom: 0;
}

.ohome-m-ai-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-ai-item-img {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    position: relative;
    background: #F0F3F8;
    overflow: hidden;
}

.ohome-m-ai-item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-ai-item-mask {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.ohome-m-ai-item:active .ohome-m-ai-item-mask {
    opacity: 1;
}

.ohome-m-ai-item-play-icon {
    font-size: 48px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ohome-m-ai-item-info {
    padding-top: 12px;
}

.ohome-m-ai-item-title {
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-ai-item-desc {
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(0, 144, 255, 1);
}


/* 推荐课程模块样式 */
.ohome-m-recommend-course-list {
    padding: 16px 4px;
}

.ohome-m-recommend-course-item {
    height: 48px;
    border-bottom: 1px solid rgba(232, 237, 241, 1);
    padding: 0 10px;
}
.ohome-m-recommend-course-item:last-child {
    border-bottom: 0;
}

.ohome-m-recommend-course-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-recommend-course-order {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #FF9800;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-right: 12px;
}

.ohome-m-recommend-course-title {
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.ohome-m-recommend-course-hot {
    padding: 2px 8px;
    border-radius: 4px;
    background: #ffffff;
    color: #FF9800;
    font-size: 14px;
    border: 1px solid #FF9800;
    margin-left: 12px;
    white-space: nowrap;
}


/* 研修活动模块样式 */
.ohome-m-activity-level-selector,
.ohome-m-activity-type-selector {

}

.ohome-m-activity-level-label,
.ohome-m-activity-type-label {
    flex-shrink: 0;
}

.ohome-m-activity-level-btn,
.ohome-m-activity-type-btn {
    align-items: center;
}

.ohome-m-activity-type-tabs {
    padding: 0 10px;
    background: #ffffff;
}

.ohome-m-activity-type-tab-item {
    position: relative;
    transition: all 0.3s;
}

.ohome-m-activity-type-tab-item:active {
    opacity: 0.7;
}

.ohome-m-activity-type-tab-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #009FFF;
    border-radius: 2px;
}

.ohome-m-activity-list {
    padding-bottom: 1px;
}

.ohome-m-activity-list-scroll {
   
}

.ohome-m-activity-item {
    padding: 16px;
    align-items: flex-start;
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(226, 242, 254, 1);
    border-radius: 8px;
    box-shadow: 0px 4px 24px 0px rgba(0, 159, 255, 0.12);
    margin: 14px 16px;
}

.ohome-m-activity-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

/* 活动图片区域 */
.ohome-m-activity-banner {
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    position: relative;
    background: #F0F3F8;
    overflow: hidden;
}

/* 集体备课背景图 */
.ohome-m-activity-banner-0-0 {
    background: url("../../images/siteHome/ohome/img/activity-0-0.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

.ohome-m-activity-banner-0-1 {
    background: url("../../images/siteHome/ohome/img/activity-0-1.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

.ohome-m-activity-banner-0-2 {
    background: url("../../images/siteHome/ohome/img/activity-0-2.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

.ohome-m-activity-banner-0-3 {
    background: url("../../images/siteHome/ohome/img/activity-0-3.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

/* 听评课背景图 */
.ohome-m-activity-banner-1-0 {
    background: url("../../images/siteHome/ohome/img/activity-1-0.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

.ohome-m-activity-banner-1-1 {
    background: url("../../images/siteHome/ohome/img/activity-1-1.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

.ohome-m-activity-banner-1-2 {
    background: url("../../images/siteHome/ohome/img/activity-1-2.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

.ohome-m-activity-banner-1-3 {
    background: url("../../images/siteHome/ohome/img/activity-1-3.jpg") no-repeat;
    background-size: cover;
    background-position: bottom;
}

/* 课后研讨背景图 */
.ohome-m-activity-banner-2-0 {
    background: url("../../images/siteHome/ohome/img/activity-2-0.jpg") no-repeat;
    background-size: cover;
}

.ohome-m-activity-banner-2-1 {
    background: url("../../images/siteHome/ohome/img/activity-2-1.jpg") no-repeat;
    background-size: cover;
}

.ohome-m-activity-banner-2-2 {
    background: url("../../images/siteHome/ohome/img/activity-2-2.jpg") no-repeat;
    background-size: cover;
}

.ohome-m-activity-banner-2-3 {
    background: url("../../images/siteHome/ohome/img/activity-2-3.jpg") no-repeat;
    background-size: cover;
}

.ohome-m-activity-status {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 10px 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.ohome-m-activity-info {
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.ohome-m-activity-title {
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.ohome-m-activity-host {
    line-height: 20px;
    margin-bottom: 10px;
}

.ohome-m-activity-deadline {
    align-items: center;
    padding: 8px 12px;
    background: #FFF9E6;
    border-radius: 100px;
    color: #FF9800;
}

.ohome-m-activity-deadline-icon {
    font-size: 16px;
    color: #FF9800;
    margin-right: 6px;
}

.ohome-m-activity-empty {
    min-height: 200px;
}


/* 教研社区模块样式 */
.ohome-m-community-level-selector {
    border-bottom: 1px solid #E8E8E8;
    align-items: center;
}

.ohome-m-community-level-label {
    flex-shrink: 0;
}

.ohome-m-community-level-btn {
    align-items: center;
}

.ohome-m-community-list {
    padding-top: 0;
}

.ohome-m-community-list-scroll, .ohome-m-workroom-list-scroll {
    /*max-height: 420px;*/
    /*overflow-y: auto;*/
    /*-webkit-overflow-scrolling: touch;*/
}

.ohome-m-community-item {
    padding: 16px;
    align-items: flex-start;
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(226, 242, 254, 1);
    border-radius: 8px;
    box-shadow: 0px 4px 24px 0px rgba(0, 159, 255, 0.12);
    margin: 14px 16px;
}

.ohome-m-community-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-community-logo-box {
    width: 64px;
    height: 64px;
    position: relative;
}

.ohome-m-community-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    background: #009FFF;
}

.ohome-m-community-level-tag {
    padding: 2px 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    font-size: 11px;
    white-space: nowrap;
    z-index: 2;
    margin-top: -8px;
    position: relative;
}

.ohome-m-community-level-tag-low {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
}

.ohome-m-community-level-tag i {
    margin-right: 2px;
}

.ohome-m-community-info {
    min-width: 0;
}

.ohome-m-community-name {
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-community-desc {
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-community-manager {
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-community-stats {
    align-items: center;
}

.ohome-m-community-stat-item {
    align-items: center;
}

.ohome-m-community-stat-icon {
    font-size: 16px;
    color: #696969;
    margin-right: 4px;
}

.ohome-m-community-stat-text {
    line-height: 20px;
}

.ohome-m-community-empty {
    min-height: 200px;
}


/* 名师工作室模块样式 */
.ohome-m-workroom-level-selector {
    border-bottom: 1px solid #E8E8E8;
    align-items: center;
}

.ohome-m-workroom-level-label {
    flex-shrink: 0;
}

.ohome-m-workroom-level-btn {
    align-items: center;
}

.ohome-m-workroom-list {
    padding-top: 0;
}


.ohome-m-workroom-item {
    padding: 16px;
    align-items: flex-start;
    border: 1px solid rgba(226, 242, 254, 1);
    border-radius: 8px;
    box-shadow: 0px 4px 24px 0px rgba(0, 159, 255, 0.12);
    margin: 14px 16px;
}

.ohome-m-workroom-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-workroom-img-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.ohome-m-workroom-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: #F5F5F5;
}

/* 工作室默认背景图（当没有logoUrl时使用） */
.ohome-m-workroom-img-0 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ohome-m-workroom-img-1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.ohome-m-workroom-img-2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.ohome-m-workroom-img-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.ohome-m-workroom-info {
    min-width: 0;
    flex: 1;
}

.ohome-m-workroom-name {
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-workroom-stats {
    align-items: center;
    flex-wrap: wrap;
}

.ohome-m-workroom-stat-item {
    align-items: center;
}

.ohome-m-workroom-stat-icon {
    font-size: 14px;
    color: #696969;
    margin-right: 4px;
}

.ohome-m-workroom-stat-text {
    line-height: 20px;
    white-space: nowrap;
}

.ohome-m-workroom-desc {
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-workroom-view {
    align-items: center;
}

.ohome-m-workroom-view-icon {
    font-size: 14px;
    color: #333333;
    margin-right: 4px;
}

.ohome-m-workroom-view-text {
    line-height: 20px;
}

.ohome-m-workroom-empty {
    min-height: 200px;
}

/* 助乡村模块样式 */
/* 指南模块 */
.ohome-m-guide-container {
    margin-top: 20px;
}

.ohome-m-guide-cover {
    width: 100%;
    padding: 0 16px;
}

.ohome-m-guide-cover-img {
    width: 100%;
    height: auto;
    display: block;
}

.ohome-m-guide-swiper-container {
    width: 100%;
    height: 200px;
    background: #F5F5F5;
}

.ohome-m-guide-swiper-container .swiper-container {
    width: 100%;
    height: 100%;
}

.ohome-m-guide-swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-guide-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
    z-index: 10;
}

.ohome-m-guide-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.ohome-m-guide-nav-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 1);
}

.ohome-m-guide-nav-btn i {
    font-size: 16px;
    color: #333;
}

.ohome-m-guide-check-btn {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 159, 255, 0.3);
    transition: all 0.3s;
}

.ohome-m-guide-check-btn:active {
    transform: translateX(-50%) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 159, 255, 0.2);
}

/* 视频资源模块 */
.ohome-m-video-list {
    padding-top: 0;
}

.ohome-m-video-list-scroll {
    /* max-height: calc(3 * (280px + 16px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px; */
}

.ohome-m-video-item {
    padding: 12px;
    border: 1px solid rgba(201, 215, 229, 1);
    border-radius: 4px;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.04);
}
.ohome-m-video-item:last-child {
    margin-bottom: 0;
}
.ohome-m-video-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-video-img-box {
    width: 100%;
    height: 140px;
}

.ohome-m-video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-video-title {
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 8px;
}

.ohome-m-video-source {
    line-height: 20px;
}

.ohome-m-video-empty {
    min-height: 200px;
}

/* 案例成果模块 */
.ohome-m-case-container {
    /*padding-top: 0;*/
}

.ohome-m-case-cover {
    width: 100%;
    height: 180px;
}

.ohome-m-case-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-case-list {
    margin-top: 16px;
}

.ohome-m-case-item {
    border: 1px solid rgba(201, 215, 229, 1);
    border-radius: 4px;
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.04);
}
.ohome-m-case-item:last-child{
    margin-bottom: 0;
}

.ohome-m-case-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-case-img-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.ohome-m-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-case-info {
    min-width: 0;
}

.ohome-m-case-title {
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-case-desc {
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ohome-m-case-empty {
    min-height: 200px;
}


/* 特殊教育模块样式 */
.ohome-m-special-edu {
    padding-bottom: 20px;
    margin-top: 20px;
}

.ohome-m-special-content-item {
    margin-bottom: 20px;
}

/* 助管 - 平台数据模块样式 */
/* plat-data-one: 身份活跃数据 */
.ohome-m-plat-data-container {
    background: rgba(233, 237, 241, 1);
    box-shadow: 0 4px 24px 0 rgba(0, 159, 255, 0.12);
    border: 1px solid rgba(241, 250, 255, 1);
}
.ohome-m-plat-data-one {
    padding: 12px 0;
}

.ohome-m-ident-data-list {
    gap: 12px;
    flex-wrap: wrap;
}

.ohome-m-ident-data-item {
    width: 100%;
    padding: 16px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.ohome-m-ident-data-header {
    align-items: flex-start;
    margin-bottom: 12px;
}

.ohome-m-ident-base-info {
    flex: 1;
    min-width: 0;
}

.ohome-m-ident-label {
    display: block;
    line-height: 22px;
}

.ohome-m-ident-count {
    line-height: 36px;
}

.ohome-m-ident-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.ohome-m-avatar-2 {
    background-image: url("../../images/siteHome/ohome/img/def-photo-0.png");
}

.ohome-m-avatar-3 {
    background-image: url("../../images/siteHome/ohome/img/def-photo-1.png");
}

.ohome-m-avatar-4 {
    background-image: url("../../images/siteHome/ohome/img/def-photo-2.png");
}

.ohome-m-ident-active-rate {
    /* padding-top: 12px; */
}

.ohome-m-ident-rate-header {
    align-items: center;
    line-height: 20px;
}

.ohome-m-ident-month-label {
    line-height: 20px;
}

.ohome-m-ident-month-count {
    line-height: 28px;
    width: 110px;
}

.ohome-m-ident-change-rate {
    align-items: center;
    line-height: 20px;
}


.ohome-m-status-rate.up {
    color: #47CA93FF;
}

.ohome-m-status-rate.down {
    color: rgba(251, 125, 124, 1);
}

.ohome-m-status-rate i {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
}

.ohome-m-status-rate.up i {
    width: 7px;
    height: 12px;
    background: url("../../images/siteHome/ohome/img/arrow-up.png");
}

.ohome-m-status-rate.down i {
    width: 7px;
    height: 12px;
    background: url("../../images/siteHome/ohome/img/arror-down.png");
}

/* plat-data-two: 用户活跃趋势图表 */
.ohome-m-plat-data-two {

}

.ohome-m-plat-data-two-title {
    line-height: 22px;
    font-weight: 500;
}

.ohome-m-plat-data-two-box {
    height: 380px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ohome-m-plat-data-chart-wrapper {
    width: 1300px;
    height: 380px;
}

/* plat-data-three: 应用统计 */
.ohome-m-plat-data-three {
    padding-top: 0;
}

.ohome-m-app-type-selector {

}

.ohome-m-app-type-selector-label {
    flex-shrink: 0;
}

.ohome-m-app-type-selector-btn {
    align-items: center;
}

.ohome-m-plat-data-app-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ohome-m-app-box-item {

}

.ohome-m-app-total-box {
    position: relative;
    height: 172px;
    align-items: flex-start;
}
.ohome-m-app-box-item-t{
    position: relative;
    height: 156px;
    align-items: flex-start;
    border-bottom: 1px dashed #E6ECF1;
}
.ohome-m-app-box-item-t .ohome-m-app-active-num {
    width: 120px;
}
.ohome-m-app-total-label {
    line-height: 22px;
}

.ohome-m-app-total-count {
    line-height: 1;
    margin-top: 10px;
}

.ohome-m-app-circle-progress .el-progress__text{
    color: #333;
    font-weight: bold;
}
.ohome-m-app-circle-progress .el-progress-circle__path {
    stroke: url(#gradient); /* 引用 SVG 渐变 */
}
.ohome-m-app-circle-progress .el-progress-circle__track {
    stroke: #EBEEF5;
}

.ohome-m-progress-circle-1 .el-progress-circle__path {
    stroke: url(#gradientTwo); /* 引用 SVG 渐变 */
}
.ohome-m-progress-circle-2 .el-progress-circle__path {
    stroke: url(#gradientThree); /* 引用 SVG 渐变 */
}

.ohome-m-circle-title {
    font-size: 14px;
    color: #3480ED;
}

.ohome-m-app-active-info {
    margin-top: 12px;
}

.ohome-m-app-active-count-box {
    line-height: 20px;
}

.ohome-m-app-active-num {
    line-height: 1;
    width: 70px;
}

.ohome-m-app-active-change {
    align-items: center;
    line-height: 20px;
}

.ohome-m-app-type-title-box {
    line-height: 1;
}

.ohome-m-app-type-name {
    line-height: 22px;
}


.ohome-m-app-type-count {
    line-height: 30px;
}

.ohome-m-app-type-visits {
    line-height: 20px;
}

.ohome-m-app-type-change {
    line-height: 20px;
    bottom: 16px;
}

.ohome-m-mini-app-list {
    gap: 12px;
    flex-wrap: wrap;
}

.ohome-m-mini-app-item {
    align-items: center;
    min-width: 60px;
}

.ohome-m-mini-app-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.ohome-m-mini-app-title {
    line-height: 16px;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* plat-app-rank-container: 应用排行 */
.ohome-m-plat-app-rank-container {
    padding-top: 0;
}

.ohome-m-rank-type-selector {
    align-items: center;
}

.ohome-m-rank-type-selector-label {
    flex-shrink: 0;
}

.ohome-m-rank-type-selector-btn {
    align-items: center;
}

.ohome-m-plat-app-rank {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.ohome-m-rank-head {
    align-items: center;
}

.rank-tab {
    background: linear-gradient(to right, #8ebaea, #a5c9fb);
    height: 36px;
}

.rank-tab .filter-item {
    width: 48px;
    height: 100%;
}
.rank-tab .filter-item.active {
    color: #095DC4;
}

.rank-tab .move {
    position: absolute;
    bottom: 4px;
    width: 48px;
    height: 26px;
    transition: all .3s;
    z-index: 0;
}

.ohome-m-rank-tab {
    background: #009FFF;
    align-items: center;
}

.ohome-m-rank-tab-move {
    position: absolute;
    top: 6px;
    bottom: 6px;
    width: 36px;
    transition: left 0.3s;
}

.ohome-m-rank-tab-item {
    width: 48px;
    height: 28px;
    padding: 0 6px;
    font-size: 12px;
}

.ohome-m-rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ohome-m-rank-item {
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F0F3F8;
}

.ohome-m-rank-item:last-child {
    border-bottom: none;
}

.ohome-m-rank-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    margin-right: 20px;
    background: rgba(228, 241, 255, 1);
    color: rgba(1, 145, 255, 1);
}

.ohome-m-show-rank.ohome-m-item-index-0 .ohome-m-rank-num {
    background: url(../../images/siteHome/ohome/img/rank-top-1.png) no-repeat;
    background-size: contain;
}

.ohome-m-show-rank.ohome-m-item-index-1 .ohome-m-rank-num {
    background: url(../../images/siteHome/ohome/img/rank-top-2.png) no-repeat;
    background-size: contain;
}

.ohome-m-show-rank.ohome-m-item-index-2 .ohome-m-rank-num {
    background: url(../../images/siteHome/ohome/img/rank-top-3.png) no-repeat;
    background-size: contain;
}

.ohome-m-rank-name {
    line-height: 22px;
    width: 120px;
}

.ohome-m-rank-progress-box {
    min-width: 80px;
}

.ohome-m-rank-count {
    line-height: 20px;
    min-width: 60px;
    text-align: right;
}

.ohome-m-rank-rate {
    align-items: center;
    min-width: 50px;
}

.ohome-m-rank-rate i {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
}

.ohome-m-rank-rate.up {
    color: #F05A51;
}

.ohome-m-rank-rate.up i {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #F05A51;
}

.ohome-m-rank-rate.down {
    color: #1ECB6D;
}

.ohome-m-rank-rate.down i {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #1ECB6D;
}

/* 各地应用模块样式 */
.ohome-m-plat-data-four {

}

/* 年各县区应用情况图表 */
.ohome-m-area-chat {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.ohome-m-area-chat-title {
    line-height: 22px;
    font-weight: 500;
}

.ohome-m-area-chat-box {
    height: 300px;
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ohome-m-area-chart-wrapper {
    width: 1300px;
    height: 300px;
}

.ohome-m-area-chart-legend {
    top: 10px;
    left: 10px;
    z-index: 10;
    gap: 16px;
}

.ohome-m-chart-legend-item {
    gap: 8px;
}

.ohome-m-chart-legend-active .ohome-m-chart-legend-icon{
    background: #095DC4;
}

.ohome-m-chart-legend-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    background: #eff1f1;
    transition: all .2s;
    text-align: center;
    line-height: 14px;
    color: #fff;
}

.ohome-m-chart-legend-text {
    line-height: 20px;
}

/* 各县区应用情况排行 */
.ohome-m-plat-app-rank-month {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.ohome-m-plat-app-rank-month-title {
    line-height: 22px;
    font-weight: 500;
}

.ohome-m-area-rank-type-selector {
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E8E8E8;
}

.ohome-m-area-rank-type-selector-label {
    flex-shrink: 0;
}

.ohome-m-area-rank-type-selector-btn {
    align-items: center;
}

.ohome-m-area-plat-app-rank {
    margin-top: 16px;
}

.ohome-m-area-rank-head {
    align-items: center;
}

.ohome-m-area-chart-box {
    height: 240px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ohome-m-area-chart-box > div {
    /*width: 1300px;*/
    /*height: 300px;*/
}



/* 基础设施模块样式 */
.ohome-m-infrastructure-container {
    /* padding-top: 0; */
}

.ohome-m-infrastructure-type-selector {
    align-items: center;
    padding-top: 12px;
    margin-bottom: 12px;
}

.ohome-m-infrastructure-type-selector-label {
    flex-shrink: 0;
}

.ohome-m-infrastructure-type-selector-btn {
    align-items: center;
}

.ohome-m-infrastructure-item {

}

.ohome-m-infrastructure-title {
    line-height: 22px;
    font-weight: 500;
}

.ohome-m-infrastructure-header {
    line-height: 20px;
}

.ohome-m-infrastructure-chart-box {
    height: 240px;
    border-radius: 8px;
}

.ohome-m-network-chart {
    width: 100%;
    height: 100%;
}

.ohome-m-chart-info {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px;
}

.ohome-m-network-status {
    flex-wrap: wrap;
    gap: 4px;
}

.ohome-m-icon-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 4px;
}

.ohome-m-icon-color-1 {
    background: #40C392;
}

.ohome-m-icon-color-2 {
    background: #1DB2CC;
}

.ohome-m-icon-color-3 {
    background: #F0C730;
}

.ohome-m-icon-color-4 {
    background: #EE6857;
}

.ohome-m-network-attack {
    gap: 4px;
    background: rgba(243, 247, 252, 1);
    border-radius: 4px;
    height: 60px;
}

.ohome-m-infrastructure-stats {
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #E6ECF1;
}

.ohome-m-stat-item {
    min-width: 0;
}

.ohome-m-progress-circle {
    width: 100px;
    height: 100px;
}

.ohome-m-stat-info {
    flex-wrap: wrap;
    text-align: center;
}

.ohome-m-stat-rate {
    flex-wrap: wrap;
}

.ohome-m-infrastructure-rank {
    margin-top: 16px;
}

.ohome-m-network-rank-list {
    /*max-height: 400px;*/
    /*overflow-y: auto;*/
}

.ohome-m-network-rank-item {
    background: #f5f7fa;
    border: 1px solid rgba(232, 241, 247, 1);
    border-radius: 4px;
    margin-bottom: 8px;
}
.ohome-m-network-rank-item:last-child {
    margin-bottom: 0;
}

.ohome-m-network-rank-info {
    padding-left: 12px;
    flex: 1;
    line-height: 36px;
}

.ohome-m-network-rank-chart {
    flex-shrink: 0;
    padding-top: 6px;
}

.ohome-m-blackboard-chart,
.ohome-m-tablet-chart {
    width: 100%;
}

/* 机构空间模块样式 */
.ohome-m-space-container {
    padding-top: 0;
}

.ohome-m-space-type-selector {
    align-items: center;
    padding: 12px 0;
}

.ohome-m-space-type-selector-label {
    flex-shrink: 0;
}

.ohome-m-space-type-selector-btn {
    align-items: center;
}

.ohome-m-space-list {
    /* max-height: 600px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; */
}

.ohome-m-space-item {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(223, 232, 249, 1);
}
.ohome-m-space-item:last-child {
    margin-bottom: 0;
}

.ohome-m-space-item:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.ohome-m-space-img-box {
    width: 100%;
    height: 180px;
    background: #f5f7fa;
}

.ohome-m-space-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ohome-m-space-title {
    line-height: 22px;
}

/* 应用指标统计模块 */
.ohome-m-app-metrics-container {
    margin-top: 16px;
}

.ohome-m-app-metrics-selector {
    align-items: center;
}

.ohome-m-app-metrics-selector-label {
    flex-shrink: 0;
}

.ohome-m-app-metrics-selector-btn {
    align-items: center;
}

.ohome-m-app-metrics-item {
    margin-top: 16px;
}

.ohome-m-app-metrics-title {
    line-height: 25px;
}

.ohome-m-app-metrics-content {
}

.ohome-m-app-metrics-top {
    width: 100%;
    align-items: flex-start;
    border-bottom: 1px dashed #E6ECF1;
}

.ohome-m-app-metrics-info {
    flex: 1;
}

.ohome-m-app-metrics-visit-box {
    padding-bottom: 16px;
}

.ohome-m-app-metrics-visit-count-box {
    line-height: 1;
}

.ohome-m-app-metrics-visit-count {
    color: rgb(9, 93, 196);
}

.ohome-m-app-metrics-change {
    align-items: center;
    line-height: 20px;
}

.ohome-m-app-metrics-chart {
    flex-shrink: 0;
}

.ohome-m-app-metrics-chart .chat-top {
    display: flex;
    justify-content: center;
}

.ohome-m-app-metrics-chart .chat-top.gradient .el-progress-circle__path {
    stroke: url(#gradient);
}

.ohome-m-app-metrics-chart .chat-top.gradient-two .el-progress-circle__path {
    stroke: url(#gradientTwo);
}

.ohome-m-app-metrics-chart .chat-top.gradient-three .el-progress-circle__path {
    stroke: url(#gradientThree);
}

.ohome-m-app-metrics-chart .el-progress__text {
    color: #EF4025;
    font-weight: bold;
}

.ohome-m-app-metrics-chart .el-progress-circle__track {
    stroke: #EBEEF5;
}

.ohome-m-app-metrics-ranking {
    margin-top: 16px;
}

.ohome-m-app-metrics-ranking-header {
    align-items: center;
}

.ohome-m-app-metrics-ranking-list {
    margin-top: 12px;
}

.ohome-m-app-metrics-ranking-item {
    padding: 8px 0;
    align-items: center;
    border-bottom: 1px solid #F0F3F8;
    justify-content: space-around;
}

.ohome-m-app-metrics-ranking-item:last-child {
    border-bottom: none;
}

.ohome-m-app-metrics-ranking-name {
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.ohome-m-app-metrics-ranking-progress {
    width: 50px;
    min-width: 0;
    margin: 0 10px;
}

.ohome-m-app-metrics-ranking-rate {
    flex-shrink: 0;
    min-width: 50px;
    text-align: right;
    font-size: 14px;
}

.ohome-m-app-metrics-ranking-count {
    flex-shrink: 0;
    min-width: 70px;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    color: rgb(9, 93, 196);
}
