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

body {
    background: #000000;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    line-height: 1.45;
}

.header {
    background: #171717;
    padding: 24px 32px;
    font-size: 2.4rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    flex-shrink: 0;
}

.content {
    max-width: 1100px;
    margin: 32px auto;
    background: white;
    border-radius: 25px;
    padding: 40px 44px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    width: calc(100% - 32px);
    flex: 1 0 auto;
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .content {
        padding: 28px 28px;
        margin: 24px auto;
        width: calc(100% - 28px);
        border-radius: 20px;
    }
    .header {
        padding: 20px 20px;
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .content { padding: 24px 20px; }
    .title-bar { font-size: 1.8rem !important; }
    .version-title h3 { font-size: 1.8rem !important; }
}

@media (max-width: 480px) {
    .content { padding: 20px 16px; }
    .action-btn {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
    }
}

.title-bar {
    font-size: 1.9rem;
    padding-bottom: 18px;
    border-bottom: 2px solid #e2edf7;
    margin-bottom: 32px;
    font-weight: 500;
    color: #0a2b44;
}

.password-notice {
    background: #fef5f0;
    padding: 20px 28px;
    border-left: 6px solid #e25c5c;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    justify-content: space-between;
    border-radius: 18px;
    font-size: 1rem;
}

.password-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.password-label {
    background: #c95a5a;
    color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
}

.password-value {
    font-weight: 700;
    color: #a12b2b;
    font-size: 1.2rem;
    background: #fff0f0;
    padding: 4px 14px;
    border-radius: 40px;
    font-family: monospace;
}

.issues-link {
    color: #b14141;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-size: 1.1rem;
    font-weight: 500;
}

.version-section {
    margin: 48px 0 32px 0;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, #cbdae9, #eef3fc, #cbdae9);
    margin: 28px 0 24px 0;
    border-radius: 2px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 20px;
}

.version-title h3 {
    font-size: 2.1rem;
    font-weight: 600;
    color: #0c2e42;
}

.btn-group {
    display: flex;
    gap: 18px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 60px;
    background: white;
    text-decoration: none;
    font-weight: 560;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1.5px solid;
}

.video-btn {
    border-color: #6d9ec0;
    color: #1f6390;
}

.video-btn:hover {
    background: #eef5fc;
    border-color: #2c6e9b;
    transform: translateY(-3px);
}

.flow-btn {
    border-color: #358856;
    color: #267c48;
}

.flow-btn:hover {
    background: #edf7f1;
    border-color: #1d6a3e;
    transform: translateY(-3px);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #2b6a94;
}

.flow-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.flow-icon::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    top: 2px;
    left: 0;
    background-color: #267c48;
    box-shadow: 0 7px 0 #267c48, 0 14px 0 #267c48;
}

.flow-icon::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2.5px;
    top: 9px;
    left: 8px;
    background: #267c48;
    border-radius: 4px;
}

.disk-item {
    margin: 0 0 10px 0;
    padding: 4px 0;
}

.disk-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.disk-links::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #b81b3c;
    border-radius: 50%;
    flex-shrink: 0;
}

.baidu-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 1.18rem;
    font-weight: 530;
    cursor: pointer;
}

.baidu-link:hover {
    text-decoration: underline;
}

.comment-divider {
    height: 2px;
    background: linear-gradient(90deg, #cbdae9, #eef3fc, #cbdae9);
    margin: 48px 0 28px 0;
    border-radius: 2px;
}

.comment-form-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px 28px;
    margin-top: 28px;
    border: 1px solid #eef2f9;
}

.comment-form-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3e50;
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a627a;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5f9bc0;
    box-shadow: 0 0 0 3px rgba(79, 132, 174, 0.1);
}

.textarea-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-right: 70px;
}

.site-logo-corner {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #2d4f6e;
    pointer-events: none;
}

.site-logo-corner .logo-icon {
    width: 18px;
    height: 18px;
    background: #1f6390;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 10px;
}

.btn-submit {
    background: #1f6390;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #0e4a70;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background: #96b5cc;
    cursor: not-allowed;
    transform: none;
}

.comment-list {
    max-height: 450px;
    overflow-y: auto;
}

.comment-item {
    border-radius: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f9;
    transition: all 0.2s;
}

.comment-item:hover {
    background: #fefefe;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f9bc2, #2c6e9b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f3b4c;
}

.comment-time {
    font-size: 0.65rem;
    color: #8a9bb0;
    margin-left: auto;
}

.comment-content {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #2c3e50;
    word-break: break-word;
    padding-left: 46px;
    white-space: pre-wrap;
}

.comment-reply {
    margin-top: 10px;
    margin-left: 46px;
    padding: 8px 12px;
    background: #f5f7fa;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #3a5a6e;
    white-space: pre-wrap;
    word-break: break-word;
}

.reply-btn {
    display: inline-block;
    margin-top: 8px;
    margin-left: 46px;
    font-size: 0.7rem;
    color: #8a9bb0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.reply-btn:hover {
    background: #eef2f9;
    color: #1f6390;
}

.inline-reply-form {
    position: relative;
    margin-top: 10px;
    margin-left: 46px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
}

.inline-reply-form textarea {
    width: 100%;
    padding: 12px;
    padding-right: 100px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
    background: white;
}

.inline-reply-form textarea:focus {
    outline: none;
    border-color: #1f6390;
}

.reply-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
}

.reply-submit {
    background: #1f6390;
    color: white;
    border: none;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
}

.reply-submit:hover {
    background: #0e4a70;
}

.reply-cancel {
    background: #f0f2f5;
    border: none;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
}

.reply-cancel:hover {
    background: #e4e8ef;
}

.empty-message {
    text-align: center;
    color: #98a9c2;
    padding: 32px 12px;
    font-size: 0.9rem;
}

.comment-stats {
    font-size: 0.8rem;
    color: #8a9bb0;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2f9;
}

.footer {
    background: #171717;
    text-align: center;
    padding: 22px 18px;
    font-size: 0.9rem;
    color: #cacaca;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

a.no-link {
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: auto !important;
    text-decoration: none !important;
}

a.no-link.action-btn:hover {
    background: white !important;
    transform: none !important;
}

a.no-link.baidu-link {
    cursor: not-allowed !important;
    opacity: 0.65;
    text-decoration: none !important;
}

/* ========== 悬浮聊天窗样式 ========== */
.chat-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc71, #1e8a3e);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5), 0 0 0 4px rgba(46, 204, 113, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
    border: none;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    animation: btnPulse 1.5s infinite;
}

.chat-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6), 0 0 0 6px rgba(46, 204, 113, 0.25);
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5), 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5), 0 0 0 12px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5), 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.chat-float-btn svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.chat-float-btn span {
    font-size: 10px;
    margin-top: 2px;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.chat-badge {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    color: white;
    font-size: 8px;
    text-align: center;
    line-height: 10px;
    box-shadow: 0 0 0 2px white;
    animation: badgeBlink 1s ease infinite;
}

@keyframes badgeBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.chat-float-container {
    position: fixed;
    bottom: 105px;
    right: 24px;
    width: 380px;
    height: 560px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    display: none;
    overflow: hidden;
    border: 1px solid #e4e8ec;
    transition: all 0.3s ease;
}

.chat-float-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    overflow: hidden;
}

.chat-float-container.show {
    display: block;
    animation: slideUpChat 0.3s ease;
}

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

@media (max-width: 500px) {
    .chat-float-container {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
        right: 16px;
        bottom: 86px;
    }
    .chat-float-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    .chat-float-btn svg {
        width: 24px;
        height: 24px;
    }
    .chat-float-btn span {
        font-size: 9px;
    }
}

/* 快速提示 */
.quick-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 9999;
    pointer-events: none;
    animation: toastFade 2s ease forwards;
}

@keyframes toastFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); visibility: hidden; }
}

/* 下拉刷新样式 */
.pull-to-refresh {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #8a9bb0;
    background: transparent;
    margin-top: -40px;
    transition: transform 0.15s ease-out;
    pointer-events: none;
}