/* ═══════ PC 时钟落地页 (skin1) ═══════ */
.pc-main {
    position: relative;
    width: 100vw;
    min-width: 120vh;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    background: #000 url('https://file.zhihuishu.com/zhs/ableCommons/uploadFile/202608/b27398ff36f848aeb95a6e034f42abfc.js') no-repeat left/cover;
}

.pc-main .fixed-logo {
    position: fixed;
    left: 3.7vh;
    top: 3.7vh;
    z-index: 9;
    pointer-events: none;
}

.pc-main .fixed-logo img {
    width: 25vh;
}

.pc-main .fixed-links {
    position: fixed;
    right: 3.7vh;
    top: 3.7vh;
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 1vh;
    pointer-events: none;
}

.pc-main .fixed-links a {
    pointer-events: auto;
}

.pc-main .fixed-links img {
    height: 4.5vh;
}

.pc-main .fixed-right-bottom {
    position: fixed;
    left: 2.77vh;
    right: auto;
    bottom: 1.5vh;
    z-index: 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.pc-main .qrcode-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 27vh;
    padding: 2vh 0;
    text-align: center;
    pointer-events: auto;
}

.pc-main .qrcode-wrap #pcQrcode {
    width: 14vh;
    height: 14vh;
    background: #fff;
    padding: 0.3vh;
    box-sizing: border-box;
}

.pc-main .qrcode-wrap #pcQrcode img,
.pc-main .qrcode-wrap #pcQrcode canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.pc-main .qrcode-text {
    font-size: 1.86vh;
    color: #fff;
    margin-top: 1.85vh;
    background-color: #ff5353;
    padding: 0.74vh 1.5vh;
    border-radius: 2vh;
}

.pc-main .tips {
    color: #fff;
    font-size: 1.48vh;
    margin-top: 1vh;
    text-align: center;
    max-width: 40vh;
    line-height: 1.5;
}

.pc-main .fixed-slogan {
    position: fixed;
    left: 50%;
    bottom: 20vh;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
    z-index: 8;
    pointer-events: none;
}

.pc-main .fixed-slogan img {
    max-width: 100%;
    width: 70vh;
}

.pc-main .clock-main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 8vh;
    user-select: none;
    pointer-events: none;
}

.pc-main .clock-main .title-main img {
    height: 13.7vh;
}

.pc-main .clock-main .title-sub img {
    height: 4.44vh;
}

.pc-main .time {
    font-size: 13.9vh;
    color: #fff;
    margin: 2vh 0;
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;
    letter-spacing: 0.2vh;
    line-height: 1;
}

/* ═══════ H5 移动端 (skin1) ═══════ */
.mobile-main {
    position: relative;
    width: 100%;
    max-width: 580px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    overflow-x: hidden;
    background-color: #000;
    color: #fff;
}

.mobile-main .fixed-links {
    position: absolute;
    left: 0.2rem;
    top: 0.2rem;
    right: 0.2rem;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.mobile-main .fixed-links a {
    pointer-events: auto;
}

.mobile-main .fixed-links img {
    height: 0.55rem;
}

.mobile-main .clock-main {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 3rem;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.mobile-main .clock-main .title-main img {
    height: 1.42rem;
}

.mobile-main .clock-main .title-sub img {
    height: 0.36rem;
}

.mobile-main .time {
    font-size: 0.85rem;
    color: #fff;
    margin: 0.2rem 0 0.14rem;
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;
    letter-spacing: 0.12rem;
    line-height: 1;
}

.mobile-main .fixed-footer {
    z-index: 9;
    position: absolute;
    left: 0;
    top: 78%;
    bottom: 0.3rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.24rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.mobile-main .fixed-footer > picture:first-of-type {
    margin-top: auto;
}

.mobile-main .fixed-footer .logo {
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.2rem;
}

.mobile-main .fixed-footer .slogan {
    height: 0.36rem;
    margin-top: 0;
    margin-bottom: 0;
}

.mobile-main .fixed-footer .download-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    width: 100%;
    padding: 0 0.32rem;
    box-sizing: border-box;
    pointer-events: none;
}

.mobile-main .fixed-footer .download-box.ios-count-1 .download-btn {
    width: 2.8rem;
}

.mobile-main .fixed-footer .download-box.ios-count-2 .download-btn {
    width: 2.8rem;
}

.mobile-main .fixed-footer .download-box.ios-count-3 {
    gap: 0.14rem;
}

.mobile-main .fixed-footer .download-box.ios-count-3 .download-btn {
    width: 2rem;
}

.mobile-main .fixed-footer .download-box.ios-count-3 .download-btn a {
    font-size: 0.24rem;
}

.mobile-main .fixed-footer .download-btn {
    pointer-events: auto;
    width: 3rem;
    height: 0.7rem;
    max-height: 7vh;
    margin-bottom: 0.2rem;
}

.mobile-main .fixed-footer .download-btn a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.45rem;
    background: #FFC928;
    font-size: 0.28rem;
    color: #2B103F;
    font-weight: 600;
    text-decoration: none;
}

.mobile-main .fixed-footer .download-btn a .iconfont {
    margin-right: 0.1rem;
    position: relative;
    top: -0.02rem;
    color: #2B103F;
    font-size: 0.32rem;
}

.mobile-main .bot-text {
    font-size: 0.28rem;
    margin-bottom: auto;
    color: #FFFFFF;
    text-shadow: 0 2px 6px rgba(0,0,0,.65);
    pointer-events: none;
}

.mobile-main .doc-btn {
    display: block;
    font-size: 0.28rem;
    margin-bottom: auto;
    color: #FFFFFF;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

/* ═══════ 安装教程弹层 (skin1 doc) ═══════ */
#install-doc {
    display: none;
    background-color: #fff;
    z-index: 9999;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    font-size: 0.24rem;
    overflow-y: auto;
}

#install-doc .fix-close {
    position: fixed;
    right: 0.35rem;
    top: 0.32rem;
    width: 0.66rem;
    height: 0.66rem;
    z-index: 10000;
    cursor: pointer;
    pointer-events: auto;
}

#install-doc .download-list {
    height: 100%;
    padding: 25px 10px;
}

#install-doc .download-list-header {
    width: 50vw;
    margin-left: 25vw;
    margin-bottom: 10px;
}

#install-doc .download-item {
    margin-top: 10px;
}

#install-doc .download-item-info {
    background-color: white;
    border-radius: 99px;
    display: flex;
    align-items: center;
    margin-bottom: 3vw;
    height: 60px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#install-doc .download-item-logo {
    width: 32px;
    height: auto;
    margin-left: 4vw;
    border-radius: 8px;
    object-fit: contain;
}

#install-doc .download-item-title {
    flex: 1;
    font-size: 14px;
    color: #333333;
    text-align: center;
}

#install-doc .download-item-detail-button {
    margin-right: 4vw;
    border-radius: 99px;
    border: 1px solid #ffc12f;
    padding: 3px 12px;
    font-size: 15px;
    color: #ffc12f;
}

#install-doc .download-item-header {
    width: 73px;
}

#install-doc .download-item-big-title {
    font-size: 22px;
    color: #191e25;
    text-align: center;
    margin-bottom: 12px;
}

#install-doc .download-item-detail {
    display: none;
    flex-direction: column;
    align-items: center;
}

#install-doc .download-item-detail.expand {
    display: flex;
}

#install-doc .download-item-des {
    margin: 15px;
    display: flex;
}

#install-doc .download-item-number {
    width: 16px;
    height: 16px;
    background-color: #e13c31;
    border-radius: 50%;
    font-size: 10px;
    color: white;
    line-height: 16px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

#install-doc .download-item-des-title {
    font-size: 14px;
    color: #333333;
    text-align: center;
    line-height: 20px;
    max-width: 298px;
    margin-left: 6px;
}

#install-doc .download-item-des-title span {
    color: #d56559;
}

#install-doc .download-item-image {
    width: 100%;
}

#install-doc .fix_title {
    text-align: center;
    font-size: 18px;
    color: #333;
    padding-top: 8px;
    padding-bottom: 16px;
}

/* 右下角浮动广告 */
.ad-float-box {
    position: fixed;
    bottom: 205px;
    right: 14px;
    width: 88px;
    height: 88px;
    z-index: 999;
}

@media (min-width: 961px) {
    .ad-float-box {
        display: none !important;
    }
}

.ad-slide {
    position: absolute;
    inset: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: auto;
}

.ad-slide.active {
    display: block;
    opacity: 1;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
    pointer-events: auto;
}

.ad-close {
    position: absolute;
    top: -4px;
    right: 4px;
    color: #555;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 2px 4px;
    pointer-events: auto;
}
