/* ---------- 全局重置 & 放大基调 ---------- */
* {
    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;
    letter-spacing: 1px;
}

/* 主卡片 */
.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;
    transition: all 0.2s;
}

@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;
    letter-spacing: 1px;
}

.password-value {
    font-weight: 700;
    color: #a12b2b;
    font-size: 1.2rem;
    background: #fff0f0;
    padding: 4px 14px;
    border-radius: 40px;
    font-family: monospace;
}

.more-issues {
    display: flex;
    align-items: center;
}

.issues-link {
    display: inline-block;
    padding: 10px 0;
    color: #b14141;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
    transition: color 0.2s;
}

.issues-link:hover {
    color: #6e2626;
    text-decoration-thickness: 2px;
}

.notice-text {
    background: #f8fafc;
    padding: 20px 26px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid #e9edf2;
}

.notice-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 570;
    color: #1a3e50;
}

.notice-text p {
    margin: 10px 0;
    line-height: 1.5;
}

.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;
    letter-spacing: -0.3px;
}

.btn-group {
    display: flex;
    gap: 18px;
    align-items: center;
}

.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;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    cursor: pointer;
    border: 1.5px solid;
    font-family: inherit;
}

.video-btn {
    border-color: #6d9ec0;
    color: #1f6390;
}

.video-btn:hover {
    background: #eef5fc;
    border-color: #2c6e9b;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(31, 99, 144, 0.12);
}

.flow-btn {
    border-color: #358856;
    color: #267c48;
}

.flow-btn:hover {
    background: #edf7f1;
    border-color: #1d6a3e;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(29, 106, 62, 0.12);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #2b6a94;
    transition: transform 0.2s;
}

.video-btn:hover .play-icon {
    transform: scale(1.2);
}

.flow-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.flow-icon::before,
.flow-icon::after {
    content: "";
    position: absolute;
    background-color: #267c48;
}

.flow-icon::before {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    top: 2px;
    left: 0;
    box-shadow: 0 7px 0 #267c48, 0 14px 0 #267c48;
}

.flow-icon::after {
    width: 14px;
    height: 2.5px;
    top: 9px;
    left: 8px;
    background: #267c48;
    border-radius: 4px;
}

.flow-btn:hover .flow-icon::before,
.flow-btn:hover .flow-icon::after {
    background-color: #0f5232;
}

.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;
    transition: background 0.2s;
}

.baidu-link {
    display: inline-block;
    padding: 10px 0;
    color: #0066cc;
    text-decoration: none;
    font-size: 1.18rem;
    font-weight: 530;
    background: transparent;
    border: none;
    outline: none;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s, text-decoration 0.2s;
}

.baidu-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #2b489b;
}

.disk-item + .disk-item {
    margin-top: 8px;
}

/* ========= 共享留言板样式 ========= */
.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;
    position: relative;
}

.comment-form-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3e50;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.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;
    transition: all 0.2s;
    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 的容器成为相对定位的参考，用于放置右下角 logo */
.textarea-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-right: 70px;  /* 给右下角logo留出空间，避免文字被遮挡 */
}

/* 网站Logo - 放置在 textarea 输入框内部的右下角 */
.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: 10px;
  /*box-shadow: 0 1px 4px rgba(0,0,0,0.1);*/
    font-size: 0.7rem;
    font-weight: 500;
    color: #2d4f6e;
  /*border: 1px solid rgba(100, 148, 180, 0.25);*/
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
}

.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;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

@media (max-width: 550px) {
    .form-group textarea {
        padding-right: 60px;
    }
    .site-logo-corner {
        bottom: 10px;
        right: 10px;
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    .site-logo-corner .logo-icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

.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;
    margin-top: 4px;
}

.btn-submit:hover {
    background: #0e4a70;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background: #96b5cc;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 10px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.alert-success {
    background: #e6f7e6;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* 留言列表区域 */
.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;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.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.7rem;
    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;
}

.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;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f0f2f6;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #bdc7d6;
    border-radius: 10px;
}

/* 页脚 */
.footer {
    background: #171717;
    text-align: center;
    padding: 22px 18px;
    font-size: 0.9rem;
    color: #cacaca;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    letter-spacing: 0.3px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* 禁止图标样式 */
a.no-link {
    cursor: not-allowed !important;
    opacity: 0.7;
    filter: grayscale(0.05);
    pointer-events: auto !important;
    text-decoration: none !important;
}

a.no-link.action-btn {
    transform: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    background: white !important;
    cursor: not-allowed !important;
    pointer-events: auto;
}

a.no-link.action-btn:hover {
    background: white !important;
    border-color: currentColor !important;
    transform: none !important;
}

a.no-link.baidu-link {
    cursor: not-allowed !important;
    opacity: 0.65;
    text-decoration: none !important;
    pointer-events: auto;
}

a.no-link.baidu-link:hover {
    text-decoration: none !important;
    color: #0066cc;
}