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

:root {
    --primary-color: #1890ff;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --border-color: #e8e8e8;
    --hover-color: #f0f0f0;
    --active-color: #ffd700;
    --tab-active-border: #ffd700;
    --wechat-overlay-shift: 0px;
    --wechat-overlay-extra-offset: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

/* PC端优化 (1025px+) */
@media (min-width: 1025px) {
    body {
        padding: 30px;
    }
    
    .container {
        max-width: 1400px;
    }
    
    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .category {
        padding: 40px;
    }
    
    .detail-main {
        padding: 40px;
        border-width: 2px;
    }
    
    .detail-container {
        max-width: 1000px;
    }
    
    .download-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .download-btn {
        padding: 24px 20px;
    }
    
    .download-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 20px;
}

header h1 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

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

.site-logo {
    height: 80px;          /* PC 端按原始高度展示 */
    max-width: 260px;      /* 对应 260x80 原始尺寸 */
    object-fit: contain;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

main {
    margin-bottom: 60px;
}

.category {
    margin-bottom: 50px;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-header {
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 1.8rem;
}

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

.tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--hover-color);
}

.tab-btn.active {
    color: var(--text-primary);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tab-active-border);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.app-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.app-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .app-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    .app-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    .tab-btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .tab-btn:active {
        background: var(--hover-color);
    }
    
    .back-btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .back-btn:active {
        transform: scale(0.98);
    }
    
    .download-btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .download-btn:active {
        transform: scale(0.98);
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .app-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .tabs {
        margin-bottom: 15px;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    
    .tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    .app-card {
        padding: 12px 8px;
    }
    
    .app-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .download-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

.app-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card-inner {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
    width: 100%;
    align-items: center;
}

.app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* 图标与文字之间的纵向间距 */
    text-align: center;
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
    font-weight: bold;
    box-shadow: none;
}

/* 当图标是图片时，容器背景设为透明，避免有色底 */
.app-icon.app-icon-image {
    background: transparent;
    box-shadow: none;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.app-info {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.app-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px; /* 标题与描述之间的间距 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-platforms {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-style: italic;
}

/* 空状态响应式 */
@media (max-width: 768px) {
    .empty-state {
        padding: 40px 15px;
        font-size: 0.9rem;
    }
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    font-size: 0.9rem;
}

/* 平板设备适配 (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        padding: 15px;
    }
    
    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category {
        padding: 25px;
    }
    
    .detail-main {
        padding: 25px;
    }
    
    .detail-container {
        max-width: 100%;
    }
    
    .download-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .download-btn {
        padding: 20px 16px;
    }
    
    .download-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
}

/* 手机端适配 (最大768px) */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header {
        margin-bottom: 10px;
        padding: 8px 10px;
    }
    
    .site-logo {
        height: 40px;       /* 在之前 30px 基础上放大约 50% */
        max-width: 130px;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }

    .category {
        padding: 15px;
        margin-bottom: 30px;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .app-card {
        padding: 15px 10px;
    }
    
    .app-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .app-header {
        gap: 8px;
    }
    
    .app-name {
        font-size: 0.9rem;
    }
    
    .app-description {
        font-size: 0.75rem;
    }
    
    .app-name {
        font-size: 1rem;
    }
    
    .app-description {
        font-size: 0.8rem;
    }
    
    .app-platforms {
        font-size: 0.7rem;
    }

    .detail-main {
        padding: 15px;
        border-width: 1px;
    }
    
    .back-btn {
        padding: 8px;
        margin-bottom: 20px;
        width: 40px;
        height: 40px;
    }
    
    .back-btn svg {
        width: 18px;
        height: 18px;
    }

    .section-title {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .title-bar {
        width: 3px;
        height: 18px;
    }

    .detail-content {
        padding: 16px;
        font-size: 0.85rem;
        line-height: 1.7;
    }
    
    .platform-label {
        font-size: 0.9rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .platform-download {
        margin-bottom: 20px;
        padding: 18px;
    }

    .download-buttons {
        gap: 12px;
        justify-content: flex-start;
    }
    
    .download-btn {
        padding: 10px 6px;
        font-size: 0.8rem;
        flex: 0 1 calc(33.33% - 12px);
        max-width: 120px;
    }
    
    .download-icon {
        width: 26px;
        height: 26px;
        font-size: 0.95rem;
    }
    
    .download-text {
        font-size: 0.8rem;
    }
    
    footer {
        padding: 30px 15px;
        margin-top: 40px;
        font-size: 0.85rem;
    }
}

/* 小屏手机适配 (最大480px) */
@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    header {
        padding: 6px 8px;
        margin-bottom: 8px;
    }
    
    .site-logo {
        height: 40px;       /* 比原来的 26px 放大约 50% */
        max-width: 130px;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .category {
        padding: 12px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    .app-grid {
        gap: 10px;
    }
    
    .app-card {
        padding: 12px 6px;
    }
    
    .app-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .app-name {
        font-size: 0.85rem;
    }
    
    .app-description {
        font-size: 0.7rem;
    }
    
    .app-platforms {
        font-size: 0.7rem;
    }
    
    .detail-main {
        padding: 15px;
        border-width: 1px;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .detail-content {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .platform-download {
        padding: 15px;
    }
    
    .download-buttons {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .download-btn {
        padding: 8px 4px;
        font-size: 0.75rem;
        flex: 0 1 calc(50% - 10px);
        max-width: 110px;
    }
    
    .download-icon {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }
    
    .download-text {
        font-size: 0.7rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 隐藏类 */
.hidden {
    display: none;
}

/* 详情页样式 */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.detail-main {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.back-btn {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.back-btn:hover {
    background: var(--hover-color);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.detail-section {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-bar {
    width: 4px;
    height: 20px;
    background: var(--tab-active-border);
    border-radius: 2px;
    flex-shrink: 0;
}

.detail-content {
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 10px;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.platform-download {
    margin-bottom: 30px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.platform-download:last-child {
    margin-bottom: 0;
}

/* 同一页中多个平台下载块之间的额外间距（例如 安卓 与 iOS 之间） */
.platform-download + .platform-download {
    margin-top: 16px;
}

.platform-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tab-active-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    width: 100%;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none;
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    flex: 0 1 calc(25% - 12px);
    max-width: none;
    min-width: 0;
}

.download-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.download-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 26px;
    height: 26px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.download-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.download-text {
    flex: 1;
    line-height: 1.3;
    word-break: keep-all;
    color: var(--text-primary);
    font-weight: 600;
}

/* 超小屏手机适配 (最大360px) */
@media (max-width: 360px) {
    .app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .app-card {
        padding: 10px 5px;
    }
    
    .app-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .app-name {
        font-size: 0.8rem;
    }
    
    .app-description {
        font-size: 0.65rem;
    }
    
    .app-platforms {
        font-size: 0.65rem;
    }
}

/* 添加到桌面提示样式 */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    transform: none;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.install-prompt.hidden {
    display: none;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-prompt-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    max-width: 340px;
    width: calc(100% - 40px);
    margin: 0 auto;
    position: relative;
    pointer-events: auto;
    animation: slideInUp 0.3s ease-out;
}

.install-prompt-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.install-prompt-text {
    flex: 1;
    min-width: 0;
}

.install-prompt-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.install-prompt-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.install-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #40a9ff 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.install-btn:hover {
    background: linear-gradient(135deg, #40a9ff 0%, #69c0ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.install-btn:active {
    transform: scale(0.98);
}


/* 手机端优化 */
@media (max-width: 768px) {
    .install-prompt {
        bottom: 15px;
        left: 0;
        right: 0;
    }
    
    .install-prompt-content {
        padding: 14px;
        gap: 10px;
        width: calc(100% - 30px);
        max-width: 360px;
    }
    
    .install-prompt-icon {
        font-size: 28px;
    }
    
    .install-prompt-title {
        font-size: 0.9rem;
    }
    
    .install-prompt-desc {
        font-size: 0.75rem;
    }
    
    .install-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .install-prompt {
        bottom: 12px;
        left: 0;
        right: 0;
    }
    
    .install-prompt-content {
        padding: 12px;
        gap: 8px;
        width: calc(100% - 20px);
        max-width: 360px;
    }
    
    .install-prompt-icon {
        font-size: 24px;
    }
    
    .install-prompt-title {
        font-size: 0.85rem;
    }
    
    .install-prompt-desc {
        font-size: 0.7rem;
    }
    
    .install-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* 微信内打开提示样式 */
.wechat-tip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1101;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.85rem;
    text-align: left;
}

.wechat-tip-content {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .wechat-tip {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* 微信遮罩提示 */
.wechat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 18px 18px 30px;
    overflow: hidden;
}

.wechat-overlay.hidden {
    display: none;
}

.wechat-overlay-active .container,
body.wechat-overlay-active .container {
    margin-top: var(--wechat-overlay-shift, 0px);
}

.wechat-overlay-arrow {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 140px;
    height: 140px;
    pointer-events: none;
    opacity: 0.9;
}

.wechat-overlay-panel {
    position: relative;
    margin-top: 6px;
    max-width: 320px;
    width: min(80vw, 320px);
    background: #fff;
    color: var(--text-primary);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.35);
    animation: overlayFade 0.3s ease, overlaySlide 0.3s ease;
}

.wechat-overlay-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    right: 28px;
    width: 22px;
    height: 22px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.wechat-overlay-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.wechat-overlay-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.wechat-overlay-close {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 0;
    background: linear-gradient(135deg, #40a9ff 0%, #69c0ff 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(64, 169, 255, 0.35);
}

.wechat-overlay-close:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .wechat-overlay {
        padding: 12px;
    }
    
    .wechat-overlay-arrow {
        width: 110px;
        height: 110px;
        right: 12px;
    }
    
    .wechat-overlay-panel {
        width: calc(100% - 24px);
        max-width: none;
        margin-right: 4px;
    }
    
    .wechat-overlay-panel::before {
        right: 40px;
    }
}

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

@keyframes overlaySlide {
    from {
        transform: translateY(-6px);
    }
    to {
        transform: translateY(0);
    }
}
