/* 基础样式与重置 */
@import "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap";

/* 来自 _goober 和 styled-components 的样式 */
#_goober {
    /* 此处粘贴原本 <style id="_goober"> 中的所有内容 */
    /* 为了简洁，省略重复代码，实际使用时请将 <style id="_goober"> 内容复制于此 */
}

[data-styled] {
    /* 此处粘贴原本 <style data-styled="active"> 中的所有内容 */
    /* 为了简洁，省略重复代码，实际使用时请将 <style data-styled="active"> 内容复制于此 */
}

/* 自定义弹窗样式 */
.cn-modal-container {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.cn-modal-container.active {
    display: flex;
}
.cn-modal-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cn-modal-block {
    width: 100%;
    max-width: 420px;
    background: rgb(15, 26, 31);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #fff;
    padding: 30px 25px 25px;
    margin: 0 15px;
    border-radius: 20px;
    border: 1px solid rgb(39, 48, 53);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    position: relative;
    text-align: center;
}
.cn-modal-block * {
    padding: 0;
    margin: 0;
    user-select: none;
    box-sizing: border-box;
}
.cn-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cn-modal-heading {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    flex: 1;
    text-align: center;
}
.cn-close-btn {
    background: rgb(15, 26, 31);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.cn-close-btn:hover {
    background: #1e2a32;
}
.cn-close-btn svg {
    stroke: #0f1a20;
}
.cn-modal-content {
    padding: 10px 0 5px;
}
.app-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: #1e2a32;
    padding: 10px;
}
.app-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.app-desc {
    font-size: 15px;
    color: #aab;
    margin-bottom: 25px;
    line-height: 1.4;
}
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
}
.download-btn.android {
    background: #3DDC84;
    color: #000;
}
.download-btn.android:hover {
    background: #4eea94;
}
.download-btn.ios {
    background: #000;
    border: 1px solid #444;
}
.download-btn.ios:hover {
    background: #1a1a1a;
}
.download-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.cn-footer-text {
    margin-top: 20px;
    font-size: 13px;
    color: #889;
}
.cn-footer-text span {
    color: #5974f0;
    cursor: pointer;
    border-bottom: 1px solid #5974f0;
    padding-bottom: 1px;
}
@media (max-width: 460px) {
    .cn-modal-block {
        padding: 25px 20px 20px;
    }
    .app-logo {
        width: 70px;
        height: 70px;
    }
    .app-name {
        font-size: 22px;
    }
    .download-btn {
        font-size: 15px;
        padding: 12px 16px;
    }
}