/* 首页样式（机顶盒兼容） */

.home-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top, #89d4e7 0%, #bde9f5 55%, #dbeea6 56%, #d6e89a 100%);
    background: linear-gradient(to bottom, #89d4e7 0%, #bde9f5 55%, #dbeea6 56%, #d6e89a 100%);
    overflow: hidden;
    color: #173047;
    font-family: "Microsoft YaHei", sans-serif;
}

.home-page .home-cloud {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}


.home-top {
    position: relative;
    z-index: 2;
    padding: 26px 34px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.home-brand {
    max-width: 520px;
}

.home-brand-main {
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
    color: #0f4a67;
    letter-spacing: 2px;
    text-shadow: 0 2px 0 rgba(255,255,255,0.28);
}

.home-brand-sub {
    margin-top: 12px;
    font-size: 34px;
    color: #0b5a70;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-user {
    min-width: 310px;
    height: 74px;
    border-radius: 38px;
    padding: 0 20px;
    background: rgba(106, 198, 230, 0.85);
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(20, 98, 130, 0.2);
}

.home-user-text {
    font-size: 34px;
    font-weight: 700;
}

.home-user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    overflow: hidden;
    background: #fff;
}

.home-user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-main {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    height: 74%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.home-lion {
    width: 31%;
    min-width: 360px;
    position: relative;
    padding-left: 34px;
}

.home-bubble {
    width: 290px;
    min-height: 116px;
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
    color: #4a5662;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    padding: 18px 22px;
    box-shadow: 0 8px 22px rgba(65, 93, 111, 0.14);
}

.home-bubble:after {
    content: '';
    position: absolute;
    left: 80px;
    top: 142px;
    border-width: 18px 14px 0 14px;
    border-style: solid;
    border-color: rgba(255,255,255,0.9) transparent transparent transparent;
}

.home-lion-figure {
    margin-top: 22px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: #f7b54b;
    color: #fff;
    font-size: 108px;
    text-align: center;
    line-height: 300px;
    box-shadow: 0 14px 32px rgba(125, 78, 18, 0.25);
}

.home-lion-btn {
    margin-top: 16px;
    width: 190px;
    height: 52px;
    border-radius: 26px;
    border: none;
    background: rgba(245, 229, 127, 0.95);
    color: #5e5a2a;
    font-size: 24px;
    font-weight: 700;
}

.home-cards-wrap {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    padding-right: 34px;
    padding-left: 10px;
    overflow: hidden;
    position: relative;
}

.home-cards-row {
    margin-top: 58px;
    white-space: nowrap;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: -webkit-transform 0.22s ease;
    transition: transform 0.22s ease;
}

.home-card {
    display: inline-block;
    vertical-align: top;
    width: 470px;
    height: 335px;
    margin-right: 22px;
    border-radius: 24px;
    border: 4px solid transparent;
    background: rgba(32, 58, 79, 0.88);
    color: #fff;
    box-shadow: 0 8px 18px rgba(17, 36, 50, 0.2);
    -webkit-transform: scale(0.82);
    transform: scale(0.82);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-transition: -webkit-transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    opacity: 0.86;
}

.home-card:last-child {
    margin-right: 0;
}

.home-card-inner {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #2a4258;
    padding: 18px 20px 12px;
}

.home-card-tag {
    display: inline-block;
    min-width: 130px;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    text-align: center;
    font-size: 20px;
    background: rgba(255,255,255,0.16);
    margin-bottom: 12px;
}

.home-card-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 12px;
}

.home-card-topic {
    font-size: 24px;
    color: rgba(255,255,255,0.86);
    margin-bottom: 18px;
}

.home-card-strip {
    height: 118px;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.home-card-strip:before,
.home-card-strip:after {
    content: '';
    position: absolute;
    border-radius: 14px;
    background: rgba(255,255,255,0.24);
}

.home-card-strip:before {
    width: 132px;
    height: 90px;
    left: 14px;
    top: 14px;
}

.home-card-strip:after {
    width: 188px;
    height: 90px;
    right: 14px;
    top: 14px;
}

.home-card-foot {
    height: 54px;
    border-radius: 27px;
    background: #2e3f53;
    padding: 0 18px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
}

.home-card-foot .sep {
    display: inline-block;
    width: 24px;
}

.home-card.focused {
    outline: none;
    border-color: #ffe065;
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(255,224,101,0.25), 0 14px 28px rgba(17,36,50,0.28);
}

.home-card.focused .home-card-foot {
    background: #44596f;
}

.home-hint {
    position: absolute;
    left: 50%;
    bottom: 16px;
    margin-left: -270px;
    width: 540px;
    text-align: center;
    font-size: 20px;
    color: rgba(16, 59, 77, 0.85);
    font-weight: 700;
}
