html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.root,
.root1 {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 0 !important;
    margin: 0;
    background: #ffffff url(https://fish-partner.oss-cn-hangzhou.aliyuncs.com/web/tre.png) fixed center center;
    background-size: cover;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
}

.root1 {
    background-image: url(https://fish-partner.oss-cn-hangzhou.aliyuncs.com/web/der.png);
}

.box-black-shadow {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

.header-bar {
    height: 8%;
    background: rgba(255, 255, 255, 0.2);
}

.header-bar-pc {
    height: 9%;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.brand-area {
    width: 75%;
    height: 100%;
}

.brand-logo {
    border-radius: 100%;
}

.tab-area {
    width: 35%;
    z-index: 20;
}

.tab-item {
    cursor: pointer;
    padding: 10px 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.tab-item.active {
    background-image: linear-gradient(to right, #F5EA43, #97F343);
    border-radius: 100px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    color: #000;
}

.tab-item.on-home:not(.active) {
    color: #000;
}

.menu-btn {
    z-index: 30;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
}

.foot-bottom {
    width: 100%;
    position: fixed;
    bottom: 10px;
    left: 0;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
    z-index: 2;
    pointer-events: none;
}

.foot-bottom a {
    pointer-events: auto;
}

.beian-link {
    cursor: pointer;
}

.agreement-links {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.agreement-links a {
    margin: 0 6px;
    text-decoration: underline;
}

.wechat-tip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.wechat-tip img {
    width: 220px;
    height: auto;
    max-height: none;
    margin-right: 5px;
    margin-top: 5px;
    object-fit: contain;
    align-self: flex-start;
    flex-shrink: 0;
}

.hero-left {
    margin-left: 3%;
}

.hero-right {
    width: 20%;
    height: 700px;
    margin-right: 3%;
}

.ewm-box {
    width: 400px;
    height: 165px;
    overflow: hidden;
}

#mobileHome {
    padding-bottom: 110px;
    max-height: calc(100vh - 8%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-download-row {
    position: relative;
    z-index: 6;
    margin-bottom: 12px;
}

.mobile-swiper {
    width: 100%;
    height: min(380px, 42vh);
}

.pc-swiper {
    width: 100%;
    height: 800px;
}

.swiper-wrap {
    overflow: hidden;
    position: relative;
}

.swiper-track {
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.swiper-slide {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.mobile-poster {
    height: min(320px, 36vh);
    width: auto;
}

.pc-poster {
    width: 80%;
    height: auto;
}

.dots .dot {
    cursor: pointer;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.mobile-card {
    width: 90%;
    margin-top: -100px;
}

.content-card {
    width: 60%;
}

.mobile-panel {
    width: 100%;
    height: 100vh;
}

.panel {
    width: 100%;
    height: calc(100vh - 80px);
    padding-bottom: 100px;
    box-sizing: border-box;
}

.panel[data-panel="0"] .download-btn {
    position: relative;
    z-index: 6;
}

.type-text {
    line-height: 40px;
    width: 80%;
    min-height: 120px;
    white-space: pre-wrap;
}

.contact-block {
    width: 80%;
    line-height: 40px;
}

.contact-label {
    line-height: 40px;
    margin-top: 20px;
}

.corner-img {
    width: 20%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
}

.copyable {
    cursor: pointer;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    z-index: 100000;
    font-size: 14px;
}

/* 协议页 */
.agreement-page {
    margin: 0;
    background: #f8f8f8;
    color: #303133;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.agreement-header {
    background: #fff;
    padding: 24px 20px 16px;
    border-bottom: 1px solid #eee;
}

.agreement-header h1 {
    margin: 12px 0 8px;
    font-size: 24px;
}

.back-link {
    color: #409eff;
    font-size: 14px;
}

.update-time {
    margin: 0;
    color: #909399;
    font-size: 13px;
}

.agreement-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    background: #fff;
}

.agreement-main section {
    margin-bottom: 28px;
}

.agreement-main h2 {
    font-size: 18px;
    margin: 0 0 12px;
}

.agreement-main p {
    margin: 0 0 8px;
    line-height: 1.8;
    font-size: 15px;
    color: #606266;
    white-space: pre-wrap;
}
