:root {
    --primary-yellow: #F0B90B;
    --dark-yellow: #DAA300;
    --light-yellow: #FEF6E1;
    --accent-yellow: #F8D12F;
    --dark-bg: #0B0E11;
    --light-bg: #FFFFFF;
    --gray-bg: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-dark: #1E2026;
    --text-light: #FFFFFF;
    --text-gray: #707A8A;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部样式 - 更加现代化 */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 20px;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text span {
    color: var(--text-dark);
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
    border-radius: 3px;
}

nav a:hover:after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-yellow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-cta {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
    color: var(--dark-bg);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
}

.download-cta-large {
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 800;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* 主横幅区域 - 更加现代化，包含下载按钮 */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF9E6 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, rgba(240, 185, 11, 0.05) 0%, rgba(248, 209, 47, 0.05) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(240, 185, 11, 0.1);
    color: var(--primary-yellow);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: var(--text-gray);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-download-btn {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
    color: var(--dark-bg);
    border: none;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(240, 185, 11, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(240, 185, 11, 0.4);
}

.hero-secondary-btn {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-yellow);
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-secondary-btn:hover {
    background-color: rgba(240, 185, 11, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    border-radius: 30px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}

/* 软件页面展示区 */
.screenshots-section {
    padding: 120px 0;
    background-color: var(--gray-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.screenshots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.screenshot {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.screenshot-main {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255, 255, 255, 0.8);
}

.screenshot:hover {
    transform: translateY(-10px);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot:hover .screenshot-label {
    opacity: 1;
}

/* 软件特点区域 */
.features-section {
    padding: 120px 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 50px 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240, 185, 11, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(240, 185, 11, 0.3);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(248, 209, 47, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

.feature-link {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.feature-link:hover {
    gap: 12px;
    color: var(--dark-yellow);
}

/* 软件优势区域 */
.advantages-section {
    padding: 120px 0;
    background-color: var(--gray-bg);
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05) 0%, rgba(248, 209, 47, 0.05) 100%);
    top: 0;
    left: 0;
    z-index: 0;
}

.advantages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.advantages-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.advantages-list {
    list-style: none;
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.advantages-list i {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.advantage-content h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.advantage-content p {
    color: var(--text-gray);
}

.advantages-visual {
    position: relative;
}

.advantages-visual img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.floating-element {
    position: absolute;
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.floating-element-1 {
    top: -30px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
    bottom: 30px;
    left: -30px;
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(248, 209, 47, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 软件下载区域 */
.download-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF9E6 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    z-index: 0;
}

.download-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(248, 209, 47, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    z-index: 0;
}

.download-container {
    position: relative;
    z-index: 1;
}

.download-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 80px 60px;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(240, 185, 11, 0.1);
}

.download-card h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.download-card p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.download-option {
    background-color: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 280px;
    text-align: center;
    border: 2px solid transparent;
}

.download-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(248, 209, 47, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.option-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.download-option h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.download-option p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.qr-container {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.qr-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.qr-code {
    display: inline-block;
    padding: 25px;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.qr-code img {
    width: 180px;
    height: 180px;
}

.qr-container p {
    font-size: 1rem;
    color: var(--text-gray);
}

/* 页脚 */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 25px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    gap: 15px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact i {
    color: var(--primary-yellow);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #777;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .advantages-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .advantages-visual {
        order: -1;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .download-option {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-download-btn, .hero-secondary-btn {
        width: 100%;
        max-width: 350px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .screenshots-container {
        flex-direction: column;
    }

    .screenshot-main {
        transform: scale(1);
    }

    .download-card {
        padding: 50px 30px;
    }

    .download-card h2 {
        font-size: 2.2rem;
    }
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.immersive-translate-input {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2147483647;
    display: flex;
    justify-content: center;
    align-items: center;
}

.immersive-translate-attach-loading::after {
    content: " ";

    --loading-color: #f78fb6;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    margin: 12px auto;
    position: relative;
    color: white;
    left: -100px;
    box-sizing: border-box;
    animation: immersiveTranslateShadowRolling 1.5s linear infinite;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-2000%, -50%);
    z-index: 100;
}

.immersive-translate-loading-spinner {
    vertical-align: middle !important;
    width: 10px !important;
    height: 10px !important;
    display: inline-block !important;
    margin: 0 4px !important;
    border: 2px rgba(221, 244, 255, 0.6) solid !important;
    border-top: 2px rgba(0, 0, 0, 0.375) solid !important;
    border-left: 2px rgba(0, 0, 0, 0.375) solid !important;
    border-radius: 50% !important;
    padding: 0 !important;
    -webkit-animation: immersive-translate-loading-animation 0.6s infinite linear !important;
    animation: immersive-translate-loading-animation 0.6s infinite linear !important;
}

@-webkit-keyframes immersive-translate-loading-animation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes immersive-translate-loading-animation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.immersive-translate-input-loading {
    --loading-color: #f78fb6;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    margin: 12px auto;
    position: relative;
    color: white;
    left: -100px;
    box-sizing: border-box;
    animation: immersiveTranslateShadowRolling 1.5s linear infinite;
}

@keyframes immersiveTranslateShadowRolling {
    0% {
        box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0),
        0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }

    12% {
        box-shadow: 100px 0 var(--loading-color), 0px 0 rgba(255, 255, 255, 0),
        0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }

    25% {
        box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color),
        0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }

    36% {
        box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color),
        100px 0 var(--loading-color), 0px 0 rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color),
        110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }

    62% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 var(--loading-color),
        120px 0 var(--loading-color), 110px 0 var(--loading-color);
    }

    75% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
        130px 0 var(--loading-color), 120px 0 var(--loading-color);
    }

    87% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
        200px 0 rgba(255, 255, 255, 0), 130px 0 var(--loading-color);
    }

    100% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
        200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
    }
}

.immersive-translate-modal {
    position: fixed;
    z-index: 2147483647;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 15px;
}

.immersive-translate-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px 24px 24px;
    border-radius: 12px;
    width: 350px;
    font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
    "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
    position: relative;
}

@media screen and (max-width: 768px) {
    .immersive-translate-modal-content {
        margin: 25% auto !important;
    }
}

@media screen and (max-width: 480px) {
    .immersive-translate-modal-content {
        width: 80vw !important;
        margin: 20vh auto !important;
        padding: 20px 12px 12px !important;
    }

    .immersive-translate-modal-title {
        font-size: 14px !important;
    }

    .immersive-translate-modal-body {
        font-size: 13px !important;
        max-height: 60vh !important;
    }

    .immersive-translate-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
        margin: 0 4px !important;
    }

    .immersive-translate-modal-footer {
        gap: 6px !important;
        margin-top: 16px !important;
    }
}

.immersive-translate-modal .immersive-translate-modal-content-in-input {
    max-width: 500px;
}

.immersive-translate-modal-content-in-input .immersive-translate-modal-body {
    text-align: left;
    max-height: unset;
}

.immersive-translate-modal-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.immersive-translate-modal-body {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    margin-top: 24px;
}

@media screen and (max-width: 768px) {
    .immersive-translate-modal-body {
        max-height: 250px;
        overflow-y: auto;
    }
}

.immersive-translate-close {
    color: #666666;
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 20px;
    font-weight: bold;
}

.immersive-translate-close:hover,
.immersive-translate-close:focus {
    text-decoration: none;
    cursor: pointer;
}

.immersive-translate-modal-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.immersive-translate-btn {
    width: fit-content;
    color: #fff;
    background-color: #ea4c89;
    border: none;
    font-size: 14px;
    margin: 0 8px;
    padding: 9px 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.immersive-translate-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.immersive-translate-btn:hover {
    background-color: #f082ac;
}

.immersive-translate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.immersive-translate-btn:disabled:hover {
    background-color: #ea4c89;
}

.immersive-translate-link-btn {
    background-color: transparent;
    color: #ea4c89;
    border: none;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
}

.immersive-translate-cancel-btn {
    /* gray color */
    background-color: rgb(89, 107, 120);
}

.immersive-translate-cancel-btn:hover {
    background-color: hsl(205, 20%, 32%);
}

.immersive-translate-action-btn {
    background-color: transparent;
    color: #ea4c89;
    border: 1px solid #ea4c89;
}

.immersive-translate-btn svg {
    margin-right: 5px;
}

.immersive-translate-link {
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
    color: #ea4c89;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.immersive-translate-primary-link {
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
    color: #ea4c89;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.immersive-translate-modal input[type="radio"] {
    margin: 0 6px;
    cursor: pointer;
}

.immersive-translate-modal label {
    cursor: pointer;
}

.immersive-translate-close-action {
    position: absolute;
    top: 2px;
    right: 0px;
    cursor: pointer;
}

.imt-image-status {
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
}

.imt-image-status img,
.imt-image-status svg,
.imt-img-loading {
    width: 28px !important;
    height: 28px !important;
    margin: 0 0 8px 0 !important;
    min-height: 28px !important;
    min-width: 28px !important;
    position: relative !important;
}

.imt-img-loading {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAMAAACfWMssAAAAtFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////oK74hAAAAPHRSTlMABBMIDyQXHwyBfFdDMSw+OjXCb+5RG51IvV/k0rOqlGRM6KKMhdvNyZBz9MaupmxpWyj437iYd/yJVNZeuUC7AAACt0lEQVRIx53T2XKiUBCA4QYOiyCbiAsuuGBcYtxiYtT3f6/pbqoYHVFO5r+iivpo6DpAWYpqeoFfr9f90DsYAuRSWkFnPO50OgR9PwiCUFcl2GEcx+N/YBh6pvKaefHlUgZd1zVe0NbYcQjGBfzrPE8Xz8aF+71D8gG6DHFPpc4a7xFiCDuhaWgKgGIJQ3d5IMGDrpS4S5KgpIm+en9f6PlAhKby4JwEIxlYJV9h5k5nee9GoxHJ2IDSNB0dwdad1NAxDJ/uXDHYmebdk4PdbkS58CIVHdYSUHTYYRWOJblWSyu2lmy3KNFVJNBhxcuGW4YBVCbYGRZwIooipHsNqjM4FbgOQqQqSKQQU9V8xmi1QlgHqQQ6DDBvRUVCDirs+EzGDGOQTCATgtYTnbCVLgsVgRE0T1QE0qHCFAht2z6dLvJQs3Lo2FQoDxWNUiBhaP4eRgwNkI+dAjVOA/kUrIDwf3CG8NfNOE0eiFotSuo+rBiq8tD9oY4Qzc6YJw99hl1wzpQvD7ef2M8QgnOGJfJw+EltQc+oX2yn907QB22WZcvlUpd143dqQu+8pCJZuGE4xCuPXJqqcs5sNpsI93Rmzym1k4Npk+oD1SH3/a3LOK/JpUBpWfqNySxWzCfNCUITuDG5dtuphrUJ1myeIE9bIsPiKrfqTai5WZxbhtNphYx6GEIHihyGFTI69lje/rxajdh0s0msZ0zYxyPLhYCb1CyHm9Qsd2H37Y3lugVwL9kNh8Ot8cha6fUNQ8nuXi5z9/ExsAO4zQrb/ev1yrCB7lGyQzgYDGuxq1toDN/JGvN+HyWNHKB7zEoK+PX11e12G431erGYzwmytAWU56fkMHY5JJnDRR2eZji3AwtIcrEV8Cojat/BdQ7XOwGV1e1hDjGGjXbdArm8uJZtCH5MbcctVX8A1WpqumJHwckAAAAASUVORK5CYII=");
    background-size: 28px 28px;
    animation: image-loading-rotate 1s linear infinite !important;
}

.imt-image-status span {
    color: var(--bg-2, #fff) !important;
    font-size: 14px !important;
    line-height: 14px !important;
    font-weight: 500 !important;
    font-family: "PingFang SC", Arial, sans-serif !important;
}

.imt-primary-button {
    display: flex;
    padding: 12px 80px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #ea4c89;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    border: none;
    cursor: pointer;
}

.imt-retry-text {
    color: #999;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    cursor: pointer;
}

.imt-action-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.imt-modal-content-text {
    text-align: left;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@keyframes image-loading-rotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.imt-linear-gradient-text {
    background: linear-gradient(90deg, #00a6ff 0%, #c369ff 52.4%, #ff4590 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.imt-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.imt-linear-black-btn {
    border-radius: 50px;
    background: linear-gradient(66deg, #222 19%, #696969 94.25%);
    height: 48px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}

:root,
#mount[data-theme="light"],
#mount:not([data-theme="dark"]) {
    /* 中性灰阶（light） */
    --c-00: #000000;
    --c-22: #222222;
    --c-33: #333333;
    --c-66: #666666;
    --c-83: #838383;
    --c-99: #999999;
    --c-c7: #c7c7c7;
    --c-cc: #cccccc;
    --c-e6: #e6e6e6;
    --c-f5: #f5f5f5;
    --c-ff: #ffffff;
    /* 品牌主色阶（light） */
    --p-main: #ea4c89;
    --p-hover: #ec5e95;
    --p-active: #e34a85;
    --p-special: #ee71a2;
    --p-disabled: #f4a5c4;
    --p-text-disabled: #f9c9dc;
    --p-weak: #fdedf3;
    /* Surface 层级（light，TC 填充-1） */
    --s-1: #f3f5f6;
    --s-1-hover: #f6f8f9;
    --s-1-active: #edf1f2;
    --s-1-weak: #fafbfb;
    /* 输入/边框（light，TC 填充-2） */
    --input-bg-base: #fafbfc;
    --input-border: #ecf0f7;
    --input-border-strong: #e0e0e6;
    --input-bg-strong: #fafdff;
}

:root[data-theme="dark"],
[data-theme="dark"] {
    /* 中性灰阶（dark） */
    --c-00: #ffffff;
    --c-22: #dbdbdb;
    --c-33: #dbdbdb;
    --c-66: #b3b3b3;
    --c-83: #838383;
    --c-99: #707070;
    --c-c7: #666666;
    --c-cc: #5c5c5c;
    --c-e6: #3b3b3b;
    --c-f5: #262626;
    --c-ff: #222222;
    /* 品牌主色阶（dark） */
    --p-main: #e23c7c;
    --p-hover: #ea4c89;
    --p-active: #d5467d;
    --p-special: #a93a65;
    --p-disabled: #7e2f4d;
    --p-text-disabled: #522335;
    --p-weak: #26171d;
    /* Surface 层级（dark，TC 填充-1） */
    --s-1: #2d2e2f;
    --s-1-hover: #323434;
    --s-1-active: #202121;
    --s-1-weak: #262627;
    /* 输入/边框（dark，TC 填充-2） */
    --input-bg-base: #2b2d30;
    --input-border: #3e434b;
    --input-border-strong: #43474b;
    --input-bg-strong: #1f2123;
}

:root,
#mount [data-theme] {
    /* 业务/通用变量引用色阶（全局可见，含 Shadow DOM） */
    --primary: var(--p-main);
    --primary-hover: var(--p-hover);
    --primary-inverse: #fff;
    --modal-background: var(--s-1);
    --modal-border: var(--input-border);
    --modal-text: var(--c-22);
    --modal-text-secondary: var(--c-66);
    --modal-error: var(--p-main);
    --modal-required: #f53f3f;
    --modal-success: #68cd52;
    --modal-button-background: var(--p-main);
    --modal-button-text: var(--c-ff);
    --modal-input-background: var(--input-bg-base);
    --modal-check-color: var(--p-main);
    --background-color: var(--c-ff);
    --background-light-green: var(--s-1-weak, #f5f7f9);
    --text-black-2: var(--c-22);
    --text-gray-2: var(--c-22);
    --text-gray-6: var(--c-66);
    --text-gray-9: var(--c-99);
    --text-gray-c2: var(--c-c7);
    --switch-background-color: var(--c-c7, hsl(205deg, 16%, 77%));
    --float-ball-more-button-border-color: var(--c-f5, #f6f6f6);
    --float-ball-more-button-background-color: var(--c-ff);
    --float-ball-more-button-svg-color: #6c6f73;
    --service-bg-hover: var(--s-1-hover, #f7faff);
    --service-bg: var(--s-1-weak, #fafbfb);
}

#mount {
    --font-family: var(
        system-ui,
        -apple-system,
        "Segoe UI",
        "Roboto",
        "Ubuntu",
        "Cantarell",
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji"
    );
    /* PC/H5 兼容的字号、间距、圆角、阴影变量 */
    --f-12: 12px;
    --f-14: 14px;
    --f-15: 15px;
    --f-16: 16px;
    --f-18: 18px;
    --f-20: 20px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-18: 18px;
    --space-24: 24px;
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --control-height-lg: 44px;
    --width-28: 28px;
    --width-24: 24px;
    --width-20: 20px;
    --width-18: 18px;
    --width-16: 16px;
    --width-label-md: 56px;
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.12);

    /* 常规变量 */
    --line-height: 1.5;
    --font-weight: 400;
    --font-size: 16px;
    --border-radius: 4px;
    --border-width: 2px;
    --outline-width: 3px;
    --spacing: 16px;
    --typography-spacing-vertical: 24px;
    --block-spacing-vertical: calc(var(--spacing) * 2);
    --block-spacing-horizontal: var(--spacing);
    --grid-spacing-vertical: 0;
    --grid-spacing-horizontal: var(--spacing);
    --form-element-spacing-vertical: 12px;
    --form-element-spacing-horizontal: 16px;
    --nav-element-spacing-vertical: 16px;
    --nav-element-spacing-horizontal: 8px;
    --nav-link-spacing-vertical: 8px;
    --nav-link-spacing-horizontal: 8px;
    --form-label-font-weight: var(--font-weight);
    --transition: 0.2s ease-in-out;
    --modal-overlay-backdrop-filter: blur(4px);
    --switch-color: var(--primary-inverse);
    --switch-checked-background-color: var(--primary);
    --icon-xia: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyYW1lIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTguMDAyOTEgOS42Nzk4M0wzLjgzMzM5IDUuNTEyMjFMMy4wMjUzOSA2LjMxOTgzTDguMDAzMjkgMTEuMjk1MUwxMi45NzYyIDYuMzE5ODNMMTIuMTY3OSA1LjUxMjIxTDguMDAyOTEgOS42Nzk4M1oiIGZpbGw9IiM4MzgzODMiLz4KPC9nPgo8L3N2Zz4K");
    /* 兼容旧变量：主色直接引用品牌主色阶 */
    --primary: var(--p-main);
    --primary-hover: var(--p-hover);
    --primary-inverse: #fff;
    /* Modal 业务变量引用色阶 */
    --modal-background: var(--s-1);
    --modal-border: var(--input-border);
    --modal-text: var(--c-22);
    --modal-text-secondary: var(--c-66);
    --modal-error: var(--p-main);
    --modal-required: #f53f3f;
    --modal-success: #68cd52;
    --modal-button-background: var(--p-main);
    --modal-button-text: var(--c-ff);
    --modal-input-background: var(--input-bg-base);
    --modal-check-color: var(--p-main);
    --background-color: var(--c-ff);
    --background-light-green: var(--s-1-weak, #f5f7f9);
    --text-black-2: var(--c-22);
    --text-gray-2: var(--c-22);
    --text-gray-6: var(--c-66);
    --text-gray-9: var(--c-99);
    --text-gray-c2: var(--c-c7);
    --switch-background-color: var(--c-c7, hsl(205deg, 16%, 77%));
    --float-ball-more-button-border-color: var(--c-f5, #f6f6f6);
    --float-ball-more-button-background-color: var(--c-ff);
    --float-ball-more-button-svg-color: #6c6f73;
    --service-bg-hover: var(--s-1-hover, #f7faff);
    --service-bg: var(--s-1-weak, #fafbfb);
    line-height: var(--line-height);
    font-family: var(--font-family);
    font-size: var(--font-size);
}

@media (max-width: 480px) {
    :root,
    #mount {
        --f-12: 10px;
        --f-14: 12px;
        --f-15: 13px;
        --f-16: 14px;
        --f-18: 16px;
        --f-20: 18px;
        --space-4: 4px;
        --space-6: 4px;
        --space-8: 6px;
        --space-12: 8px;
        --space-16: 12px;
        --space-18: 14px;
        --space-24: 18px;
        --radius-8: 6px;
        --radius-12: 10px;
        --radius-16: 12px;
        --control-height-lg: 38px;
        --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
        --width-28: 24px;
        --width-24: 20px;
        --width-20: 16px;
        --width-18: 14px;
        --width-16: 12px;
        --width-label-md: 52px;
    }
}

#mount * {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

:where(#mount) a,
:where(#mount) [role="link"] {
    --color: var(--primary);
    --background-color: transparent;
    outline: none;
    background-color: var(--background-color);
    color: var(--color);
    -webkit-text-decoration: var(--text-decoration);
    text-decoration: var(--text-decoration);
    transition: background-color var(--transition), color var(--transition),
    box-shadow var(--transition), -webkit-text-decoration var(--transition);
    transition: background-color var(--transition), color var(--transition),
    text-decoration var(--transition), box-shadow var(--transition);
    transition: background-color var(--transition), color var(--transition),
    text-decoration var(--transition), box-shadow var(--transition),
    -webkit-text-decoration var(--transition);
}

:where(#mount) a:is([aria-current], :hover, :active, :focus),
:where(#mount) [role="link"]:is([aria-current], :hover, :active, :focus) {
    --color: var(--primary-hover);
    --text-decoration: underline;
}

:where(#mount) label {
    font-size: 13px;
    line-height: 1.3;
    color: var(--text-gray-2, #222222);
}

:where(#mount) button {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    min-height: 44px;
    border-radius: 12px;
    padding: 0 14px;
    border: none;
    background-color: var(--primary, #ea4c89);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

:where(#mount) button:hover {
    background-color: var(--primary-hover, #f082ac);
}

:where(#mount) button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

:where(#mount) select,
:where(#mount) input,
:where(#mount) textarea {
    font-family: inherit;
    color: var(--text-gray-2, #222222);
}

:where(#mount) select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    color: var(--text-gray-2, inherit);
    font-size: 13px;
    line-height: 1.3;
    outline: none;
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    background-color: var(--popup-item-background-color, transparent);
    background-image: var(--icon-xia, none);
    background-repeat: no-repeat;
    background-position: center right 12px;
    background-size: 16px auto;
    cursor: pointer;
}

:where(#mount) input[type="checkbox"] {
    accent-color: var(--primary, #ea4c89);
}

[type="checkbox"],
[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.25em;
    height: 1.25em;
    margin-top: -0.125em;
    margin-right: 0.375em;
    margin-left: 0;
    -webkit-margin-start: 0;
    margin-inline-start: 0;
    -webkit-margin-end: 0.375em;
    margin-inline-end: 0.375em;
    border-width: var(--border-width);
    font-size: inherit;
    vertical-align: middle;
    cursor: pointer;
}

[type="checkbox"]::-ms-check,
[type="radio"]::-ms-check {
    display: none;
}

[type="checkbox"]:checked,
[type="checkbox"]:checked:active,
[type="checkbox"]:checked:focus,
[type="radio"]:checked,
[type="radio"]:checked:active,
[type="radio"]:checked:focus {
    --background-color: var(--primary);
    --border-color: var(--primary);
    background-image: var(--icon-checkbox);
    background-position: center;
    background-size: 0.75em auto;
    background-repeat: no-repeat;
}

[type="checkbox"] ~ label,
[type="radio"] ~ label {
    display: inline-block;
    margin-right: 0.375em;
    margin-bottom: 0;
    cursor: pointer;
}

[type="checkbox"]:indeterminate {
    --background-color: var(--primary);
    --border-color: var(--primary);
    background-image: var(--icon-minus);
    background-position: center;
    background-size: 0.75em auto;
    background-repeat: no-repeat;
}

[type="radio"] {
    border-radius: 50%;
}

[type="radio"]:checked,
[type="radio"]:checked:active,
[type="radio"]:checked:focus {
    --background-color: var(--primary-inverse);
    border-width: 0.35em;
    background-image: none;
}

:where(#mount) [type="checkbox"][role="switch"] {
    --background-color: var(--switch-background-color);
    --border-color: var(--switch-background-color);
    --color: var(--switch-color);
    width: 2.25em;
    height: 1.25em;
    border: var(--border-width) solid var(--border-color);
    border-radius: 1.25em;
    background-color: var(--background-color);
    line-height: 1.25em;
}

:where(#mount) [type="checkbox"][role="switch"]:focus {
    --background-color: var(--switch-background-color);
    --border-color: var(--switch-background-color);
}

:where(#mount) [type="checkbox"][role="switch"]:checked {
    --background-color: var(--switch-checked-background-color);
    --border-color: var(--switch-checked-background-color);
}

:where(#mount) [type="checkbox"][role="switch"]:before {
    display: block;
    width: calc(1.25em - (var(--border-width) * 2));
    height: 100%;
    border-radius: 50%;
    background-color: var(--color);
    content: "";
    transition: margin 0.1s ease-in-out;
}

:where(#mount) [type="checkbox"][role="switch"]:checked {
    background-image: none;
}

:where(#mount) [type="checkbox"][role="switch"]:checked::before {
    margin-left: calc(1.125em - var(--border-width));
    -webkit-margin-start: calc(1.125em - var(--border-width));
    margin-inline-start: calc(1.125em - var(--border-width));
}

:where(#mount) [type="checkbox"][aria-invalid="false"],
:where(#mount) [type="checkbox"]:checked[aria-invalid="false"],
:where(#mount) [type="radio"][aria-invalid="false"],
:where(#mount) [type="radio"]:checked[aria-invalid="false"],
:where(#mount) [type="checkbox"][role="switch"][aria-invalid="false"],
:where(#mount) [type="checkbox"][role="switch"]:checked[aria-invalid="false"] {
    --border-color: var(--form-element-valid-border-color);
}

:where(#mount) [type="checkbox"][aria-invalid="true"],
:where(#mount) [type="checkbox"]:checked[aria-invalid="true"],
:where(#mount) [type="radio"][aria-invalid="true"],
:where(#mount) [type="radio"]:checked[aria-invalid="true"],
:where(#mount) [type="checkbox"][role="switch"][aria-invalid="true"],
:where(#mount) [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
    --border-color: var(--form-element-invalid-border-color);
}

.text-black {
    color: var(--text-black-2);
}

.text-gray-2 {
    color: var(--text-gray-2);
}

.text-gray-6 {
    color: var(--text-gray-6);
}

.text-gray-9 {
    color: var(--text-gray-9);
}

.text-gray-c2 {
    color: var(--text-gray-c2);
}

.pt-4 {
    padding-top: 16px;
}

.p-2 {
    padding: 8px;
}

.pl-5 {
    padding-left: 48px;
}

.p-0 {
    padding: 0;
}

.pl-2 {
    padding-left: 8px;
}

.pl-4 {
    padding-left: 24px;
}

.pt-2 {
    padding-top: 8px;
}

.pb-2 {
    padding-bottom: 8px;
}

.pb-4 {
    padding-bottom: 16px;
}

.pb-5 {
    padding-bottom: 20px;
}

.pr-5 {
    padding-right: 48px;
}

.text-sm {
    font-size: 13px;
}

.text-base {
    font-size: 16px;
}

.w-full {
    width: 100%;
}

.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-end {
    justify-content: flex-end;
}

.flex-grow {
    flex-grow: 1;
}

.justify-between {
    justify-content: space-between;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 12px;
}

.inline-block {
    display: inline-block;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-2-5 {
    padding-top: 6px;
    padding-bottom: 6px;
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 12px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-5 {
    margin-top: 20px;
}

.mt-6 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 4px;
}

.ml-4 {
    margin-left: 24px;
}

.ml-3 {
    margin-left: 16px;
}

.ml-2 {
    margin-left: 8px;
}

.ml-1 {
    margin-left: 4px;
}

.mr-1 {
    margin-right: 4px;
}

.mr-2 {
    margin-right: 8px;
}

.mr-3 {
    margin-right: 16px;
}

.mx-2 {
    margin-left: 8px;
    margin-right: 8px;
}

.pl-3 {
    padding-left: 12px;
}

.pr-3 {
    padding-right: 12px;
}

.p-3 {
    padding: 12px;
}

.px-1 {
    padding-left: 4px;
    padding-right: 4px;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.pt-3 {
    padding-top: 12px;
}

.px-6 {
    padding-left: 18px;
    padding-right: 18px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.pt-6 {
    padding-top: 20px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.left-auto {
    left: auto !important;
}

.max-h-28 {
    max-height: 112px;
}

.max-h-30 {
    max-height: 120px;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.text-xs {
    font-size: 12px;
}

.inline-flex {
    display: inline-flex;
}

.flex-1 {
    flex: 1;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-2 {
    flex: 2;
}

.items-center {
    align-items: center;
}

.max-content {
    width: max-content;
}

.justify-center {
    justify-content: center;
}

.items-end {
    align-items: flex-end;
}

.items-baseline {
    align-items: baseline;
}

.my-5 {
    margin-top: 48px;
    margin-bottom: 48px;
}

.my-4 {
    margin-top: 24px;
    margin-bottom: 24px;
}

.my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.pt-3 {
    padding-top: 12px;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.pt-2 {
    padding-top: 8px;
}

.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.pt-1 {
    padding-top: 4px;
}

.px-1 {
    padding-left: 4px;
    padding-right: 4px;
}

.pb-2 {
    padding-bottom: 8px;
}

.justify-end {
    justify-content: flex-end;
}

.w-auto {
    width: auto;
}

.shrink-0 {
    flex-shrink: 0;
}

.text-right {
    text-align: right;
}

.clickable {
    cursor: pointer;
}

.close {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-image: var(--icon-close);
    background-position: center;
    background-size: auto 1rem;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: opacity var(--transition);
}

.padding-two-column {
    padding-left: 40px;
    padding-right: 40px;
}

.muted {
    color: #999;
}

.text-label {
    color: #666;
}

.display-none {
    display: none;
}

/* dark use #18232c */
@media (prefers-color-scheme: dark) {
    .text-label {
        color: #9ca3af;
    }
}

.text-decoration-none {
    text-decoration: none;
}

.text-decoration-none:is([aria-current], :hover, :active, :focus),
[role="link"]:is([aria-current], :hover, :active, :focus) {
    --text-decoration: none !important;
    background-color: transparent !important;
}

.text-overflow-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.max-w-20 {
    max-width: 180px;
    white-space: nowrap;
}

[data-theme="light"],
#mount:not([data-theme="dark"]) {
    --popup-footer-background-color: #e8eaeb;
    --popup-content-background-color: #ffffff;
    --popup-item-background-color: #f3f5f6;
    --popup-item-hover-background-color: #eaeced;
    --popup-trial-pro-background-color: #f9fbfc;
    --service-select-content-shadow: 0px 2px 12px 0px rgba(75, 76, 77, 0.2);
    --service-select-border-color: #fafafa;
    --service-select-selected-background-color: #f3f5f6;
    --download-app-background: #f3f5f6;
}

[data-theme="dark"] {
    --popup-footer-background-color: #0d0d0d;
    --popup-content-background-color: #191919;
    --popup-item-background-color: #272727;
    --popup-item-hover-background-color: #333333;
    --popup-trial-pro-background-color: #222222;
    --service-select-content-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.9);
    --service-select-border-color: #2c2c2c;
    --service-select-selected-background-color: #333333;
    --download-app-background: #333;
}

#mount {
    min-width: 268px;
}

body {
    padding: 0;
    margin: 0 auto;
    min-width: 268px;
    border-radius: 10px;
}

.popup-container {
    font-size: 16px;
    --font-size: 16px;
    color: #666;
    background-color: var(--popup-footer-background-color);
    width: 316px;
    min-width: 316px;
}

.popup-content {
    background-color: var(--popup-content-background-color);
    border-radius: 0px 0px 12px 12px;
    padding: 16px 20px;
}

.immersive-translate-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    touch-action: none;
}

.immersive-translate-popup-wrapper {
    background: var(--background-color);
    border-radius: 10px;
    border: 1px solid var(--muted-border-color);
}

.main-button {
    font-size: 15px;
    vertical-align: middle;
    border-radius: 12px;
    padding: unset;
    height: 44px;
    line-height: 44px;
}

select.language-select,
select.translate-service,
select.min-select {
    --form-element-spacing-horizontal: 0;
    margin-bottom: 0px;
    max-width: unset;
    flex: 1;
    overflow: hidden;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    padding-right: 30px;
    padding-left: 0px;
    background-position: center right 12px;
    background-size: 16px auto;
    background-image: var(--icon-xia);
    text-overflow: ellipsis;
    color: var(--text-gray-2);
    background-color: transparent;
    box-shadow: unset !important;
    cursor: pointer;
}

select.more {
    background-position: center right;
    padding-right: 20px;
}

select.translate-service {
    color: var(--text-black-2);
}

.min-select-container.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.popup-footer {
    background-color: var(--popup-footer-background-color);
    height: 40px;
}

.language-select-container {
    position: relative;
    width: 100%;
    background-color: var(--popup-item-background-color);
    height: 55px;
    border-radius: 12px;
}

select.language-select {
    color: var(--text-black-2);
    font-size: 14px;
    padding: 8px 24px 24px 16px;
    position: absolute;
    border-radius: 12px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.language-select-container label {
    position: absolute;
    bottom: 10px;
    left: 16px;
    font-size: 12px;
    color: var(--text-gray-9);
    line-height: 12px;
    margin: 0;
}

.translation-service-container {
    background-color: var(--popup-item-background-color);
    border-radius: 12px;
}

.min-select-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    background-color: var(--popup-item-background-color);
    padding-left: 16px;
}

.min-select-container:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.min-select-container:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.min-select-container:only-child {
    border-radius: 10px;
}

.translate-mode {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background-color: var(--popup-item-background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.translate-mode svg {
    fill: var(--text-gray-2);
}

.widgets-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: 9px;
}

/* 当只有两个小组件时的样式优化 */
.widgets-container.widgets-two-items {
    gap: 16px;
}

.widgets-container.widgets-two-items .widget-item {
    flex: 0 1 auto;
    min-width: 93px;
    max-width: 120px;
}

.widget-item {
    display: flex;
    max-width: 93px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--popup-item-background-color);
    font-size: 12px;
    min-height: 44px;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    padding: 8px 4px;
    text-align: center;
}

.widget-icon-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-gray-2);
}

.widgets-container svg {
    fill: var(--text-gray-2);
    color: var(--text-gray-2);
}

.share-button-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 2px 3px 0 8px;
}

.share-button-container svg {
    fill: var(--text-gray-9);
}

.min-select-container:hover,
.language-select-container:hover,
.widget-item:hover,
.translate-mode:hover {
    background-color: var(--popup-item-hover-background-color);
}

.main-button:hover {
    background-color: #f5508f;
}

.share-button-container:hover {
    background-color: var(--popup-item-background-color);
    border-radius: 6px;
}

.error-boundary {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    display: flex;
    padding: 12px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
    word-break: break-all;
    margin: 12px;
    border-radius: 12px;
    flex-direction: column;
}

.upgrade-pro {
    border-radius: 11px;
    background: linear-gradient(57deg, #272727 19.8%, #696969 82.2%);
    padding: 2px 8px;
    transform: scale(0.85);
}

.upgrade-pro span {
    background: linear-gradient(180deg, #ffeab4 17.65%, #f8c235 85.29%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 12px;
    margin-left: 4px;
}

.upgrade-pro svg {
    margin-top: -2px;
}

.upgrade-pro:hover {
    background: linear-gradient(57deg, #3d3d3d 19.8%, #949494 82.2%);
}

.border-bottom-radius-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.trial-pro-container {
    border-radius: 0px 0px 12px 12px;
    background: var(--popup-trial-pro-background-color);
    display: flex;
    align-items: center;
    height: 44px;
    padding-left: 16px;
    padding-right: 12px;
    font-size: 12px;
}

.trial-pro-container label {
    line-height: 13px;
    color: var(--text-black-2);
}

.trial-pro-container img {
    margin-left: 5px;
}

.cursor-pointer {
    cursor: pointer;
}

.upgrade-pro-discount-act {
    height: 25px;
    display: flex;
    padding: 0 4px;
    align-items: center;
    border-radius: 15px;
    background: linear-gradient(
        90deg,
        #cefbfa 11.33%,
        #d7f56f 63.75%,
        #fccd5e 100%
    );
    transform: scale(0.9);
    box-shadow: 0px 1.8px 3.6px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.upgrade-pro-discount-act span {
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    color: #222222;
}

.upgrade-pro-discount-act:hover {
    text-decoration: unset;
    background: linear-gradient(
        90deg,
        #e2fffe 11.33%,
        #e6ff91 63.75%,
        #ffdf93 100%
    );
}

.custom-select-container {
    width: 200px;
    position: relative;
    flex: 1;
}

#translation-service-select {
    padding-right: 12px;
    padding-left: 6px;
}

.custom-select-content {
    border-radius: 12px;
    background: var(--popup-content-background-color);
    box-shadow: var(--service-select-content-shadow);
    border: 1px solid var(--service-select-border-color);
    padding: 4px 5px;
    position: absolute;
    left: -10px;
    right: 0;
    z-index: 100;
    overflow-y: auto;
}

.custom-select-item.default {
    width: 100%;
    padding: 0;
}

.custom-select-item {
    font-size: 13px;
    padding: 5px 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-black-2);
    width: auto;
    overflow: hidden;
    height: 30px;
    line-height: 30px;
}

.custom-select-item-img {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

@media (prefers-color-scheme: dark) {
    .custom-select-item-img {
        margin-right: 6px;
    }
}

.custom-select-content .custom-select-item.selected,
.custom-select-content .custom-select-item:hover {
    background: var(--service-select-selected-background-color);
}

.custom-select-item > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-item-pro {
    font-size: 12px;
    margin-left: 6px;
    display: flex;
}

.custom-select-item-pro img {
    margin: 0 3px;
    width: 20px;
    flex-shrink: 0;
}

.custom-select-group-header {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray-9);
    padding: 6px 8px 4px;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-container {
    position: relative;
}

.new-menu-indicator {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ef3434;
    border-radius: 50%;
    right: 18px;
    top: 4px;
}

.download-app {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--download-app-background);
    padding: 4px 8px;
    color: var(--text-gray-6);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Popup 动画效果 */
@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popup-fade-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
}

.popup-generic-content {
    animation: popup-fade-in 0.2s ease-out;
}

.popup-generic-content.hiding {
    animation: popup-fade-out 0.15s ease-in;
}

select.min-select {
    --form-element-spacing-horizontal: 0;
    margin-bottom: 4px;
    max-width: 128px;
    overflow: hidden;
    color: var(--primary);
    font-size: 13px;
    border: none;
    padding: 0;
    padding-right: 20px;
    text-overflow: ellipsis;
    color: var(--color);
}

select.min-select-secondary {
    color: var(--color);
}

select.min-select:focus {
    outline: none;
    border: none;
    --box-shadow: none;
}

select.min-select-left {
    padding-right: 0px;
    /* padding-left: 24px; */
    /* background-position: center left 0; */
    text-overflow: ellipsis;
    text-align: left;
}

select.transform-padding-left {
    padding-left: 12px;
    transform: translateX(-12px);
    background-position: center right 0px;
}

select.text-gray-6 {
    color: var(--text-gray-6);
}

/* dark use black, for windows */
@media (prefers-color-scheme: dark) {
    select.language-select option,
    select.translate-service option,
    select.min-select option {
        background-color: #666666;
    }
}

select.min-select-no-arrow {
    background-image: none;
    padding-right: 0;
}


.activity-tips {
    border-radius: 8px;
    padding: 0px 8px;
    min-height: 28px;
    background: linear-gradient(83deg, #FACCDE -0.87%, #FCE7EF 43.13%, #FBD6E4 72.08%, #FFB3D1 96.34%);
    gap: 2px;
    color: #333;
    cursor: pointer;
    gap: 4px;
}

.activity-tips-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.countdown-container {
    min-width: 50px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.01em;
}

.activity-tips-text {
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html {
    font-size: 17px;
}

@media print {
    .imt-fb-container {
        display: none !important;
    }
}

#mount {
    position: absolute;
    display: none;
    min-width: 250px;
    height: auto;
    --font-size: 17px;
    font-size: 17px;
}

/* float-ball */
.imt-fb-container {
    position: fixed;
    padding: 0;
    top: 335px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    display: none;
    direction: ltr;
}

.imt-fb-container.left {
    align-items: flex-start;
    left: 0;
}

.imt-fb-container.right {
    align-items: flex-end;
    right: 0;
}

.imt-fb-btn {
    cursor: pointer;
    background: var(--float-ball-more-button-background-color);
    height: 36px;
    width: 56px;
    box-shadow: 2px 6px 10px 0px #0e121629;
}

.imt-fb-btn.left {
    border-top-right-radius: 36px;
    border-bottom-right-radius: 36px;
}

.imt-fb-btn.right {
    border-top-left-radius: 36px;
    border-bottom-left-radius: 36px;
}

.imt-fb-btn div {
    background: var(--float-ball-more-button-background-color);
    height: 36px;
    width: 54px;
    display: flex;
    align-items: center;
}

.imt-fb-btn.left div {
    border-top-right-radius: 34px;
    border-bottom-right-radius: 34px;
    justify-content: flex-end;
}

.imt-fb-btn.right div {
    border-top-left-radius: 34px;
    border-bottom-left-radius: 34px;
}

.imt-fb-logo-img {
    width: 20px;
    height: 20px;
    margin: 0 10px;
}

.imt-fb-logo-img-big-bg {
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 4px;
    background-color: #ed6d8f;
    border-radius: 50%;
    margin: 0 5px;
}

.imt-float-ball-translated {
    position: absolute;
    width: 11px;
    height: 11px;
    bottom: 4px;
    right: 20px;
}

.btn-animate {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform ease-out 250ms;
    transition: -webkit-transform ease-out 250ms;
    transition: transform ease-out 250ms;
    transition: transform ease-out 250ms, -webkit-transform ease-out 250ms;
}

.imt-fb-setting-btn {
    margin-right: 18px;
    width: 28px;
    height: 28px;
}

.immersive-translate-popup-wrapper {
    background: var(--background-color);
    border-radius: 20px;
    box-shadow: 2px 10px 24px 0px #0e121614;
    border: none;
}

.popup-container {
    border-radius: 20px;
}

.popup-content {
    border-radius: 20px 20px 12px 12px;
}

.popup-footer {
    border-radius: 20px;
}

.imt-fb-close-button {
    pointer-events: all;
    cursor: pointer;
    position: absolute;
    margin-top: -10px;
}

.imt-fb-close-content {
    padding: 22px;
    width: 320px;
    pointer-events: all;
}

.imt-fb-close-title {
    font-weight: 500;
    color: var(--h2-color);
}

.imt-fb-close-radio-content {
    background-color: var(--background-light-green);
    padding: 8px 20px;
}

.imt-fb-radio-sel,
.imt-fb-radio-nor {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    flex-shrink: 0;
}

.imt-fb-radio-sel {
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.imt-fb-radio-sel div {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: var(--primary);
}

.imt-fb-radio-nor {
    border: 2px solid #d3d4d6;
}

.imt-fb-primary-btn {
    background-color: var(--primary);
    width: 72px;
    height: 32px;
    color: white;
    border-radius: 8px;
    text-align: center;
    line-height: 32px;
    font-size: 16px;
    cursor: pointer;
}

.imt-fb-default-btn {
    border: 1px solid var(--primary);
    width: 72px;
    height: 32px;
    border-radius: 8px;
    color: var(--primary);
    line-height: 32px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}

.imt-fb-guide-container {
    width: 312px;
    transform: translateY(-45%);
}

.imt-fb-guide-bg {
    position: absolute;
    left: 30px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    height: 100%;
    width: 90%;
}

.imt-fb-guide-bg.left {
    transform: scaleX(-1);
}

.imt-fb-guide-content {
    margin: 16px -30px 80px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imt-fb-guide-content.left {
    margin: 16px 21px 60px 32px;
}

.imt-fb-guide-img {
    width: 220px;
    height: 112px;
}

.imt-fb-guide-message {
    font-size: 14px;
    line-height: 28px;
    color: #333333;
    white-space: pre-wrap;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.imt-manga-guide-message {
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-align: center;
    font-weight: 500;
    margin-bottom: 12px;
}

.imt-fb-guide-button {
    margin-top: 16px;
    line-height: 40px;
    height: 40px;
    padding: 0 20px;
    width: unset;
}

.imt-fb-more-buttons {
    box-shadow: 0px 2px 10px 0px #00000014;
    border: none;
    background: var(--float-ball-more-button-background-color);
    width: 36px;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    margin-top: 0px;
    padding: 7px 0 7px 0;
}

.imt-fb-more-buttons > div {
    margin: auto;
}

.imt-fb-side,
.imt-fb-reward {
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    position: relative;
}

.imt-fb-side {
    margin: 10px 0;
}

.imt-fb-new-badge {
    width: 26px;
    height: 14px;
    padding: 3px;
    background-color: #f53f3f;
    border-radius: 4px;
    position: absolute;
    top: -5px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imt-fb-side *,
.imt-fb-reward * {
    pointer-events: all;
}

.imt-fb-more-button {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Sheet.css */
.immersive-translate-sheet {
    position: fixed;
    transform: translateY(100%);
    /* Start off screen */
    left: 0;
    right: 0;
    background-color: white;
    transition: transform 0.3s ease-out;
    /* Smooth slide transition */
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    /* Ensure it's above other content */
    bottom: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
}

.immersive-translate-sheet.visible {
    transform: translateY(0);
}

.immersive-translate-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.immersive-translate-sheet-backdrop.visible {
    opacity: 1;
}

.popup-container-sheet {
    max-width: 100vw;
    width: 100vw;
}

.imt-no-events svg * {
    pointer-events: none !important;
}

.imt-manga-button {
    width: 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    margin: 0 0 10px 0;
    background-color: var(--float-ball-more-button-background-color);
    border-radius: 18px;
    filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.08));
    opacity: 0.5;
    right: 8px;
    padding: 10px 0 4px 0;
}

.imt-manga-feedback {
    cursor: pointer;
    margin-bottom: 10px;
}

.imt-fb-feedback {
    cursor: pointer;
    margin-top: 10px;
}

.imt-fb-upgrade-button {
    cursor: pointer;
    margin-top: 10px;
}

.imt-manga-button:hover {
    opacity: 1;
}

.imt-manga-translated {
    position: absolute;
    left: 24px;
    top: 20px;
}

.imt-float-ball-loading {
    animation: imt-loading-animation 0.6s infinite linear !important;
}

.imt-manga-guide-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    transform: translateY(-50%);
}

.imt-manga-guide-content {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    margin: 0 40px 0;
}

.img-manga-guide-button {
    width: fit-content;
    margin: 0 auto;
}

.img-manga-close {
    position: absolute;
    bottom: -200px;
    width: 32px;
    height: 32px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
}

.imt-fb-container.dragging .imt-fb-more-buttons,
.imt-fb-container.dragging .imt-manga-button,
.imt-fb-container.dragging .btn-animate:not(.imt-fb-btn) {
    display: none !important;
}

.imt-fb-container.dragging .imt-fb-btn {
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: move !important;
}

.imt-fb-container.dragging .imt-fb-btn div {
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.imt-fb-container.dragging .imt-fb-btn.left,
.imt-fb-container.dragging .imt-fb-btn.right {
    border-radius: 50% !important;
}

.imt-fb-container.dragging .imt-fb-btn.left div,
.imt-fb-container.dragging .imt-fb-btn.right div {
    border-radius: 50% !important;
}

.imt-fb-container.dragging .imt-fb-logo-img {
    margin: 0 !important;
    padding: 4px !important;
}

.imt-fb-container.dragging .imt-float-ball-translated {
    right: 2px !important;
    bottom: 2px !important;
}

@-webkit-keyframes imt-loading-animation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes imt-loading-animation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.imt-fb-icon {
    color: #666666;
}

[data-theme="dark"] .imt-fb-icon {
    color: #b3b3b3;
}

[data-theme="light"] .imt-fb-icon {
    color: #666666;
}


.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #F0B90B;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #F0B90B;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.pagination-wrap .active a{
    background-color: #F0B90B !important;
    color: #fff !important;
    font-weight: bold;
}

.additional{
    text-decoration: none;
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0 !important;
    background: transparent !important;
    margin-left:auto !important;
    margin-top: auto !important;
    border-radius:0 !important;
}
