/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 表单卡片样式 */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 30px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    margin: 0 auto;
}

.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
    word-break: break-word;
}

.logo p {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 5px;
    line-height: 1.4;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    background: #fff;
    outline: none;
}

.form-group input.error, .form-group textarea.error, .form-group select.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

/* 提示文字样式 */
.hint-text {
    font-size: 12px;
    color: #95a5a6;
    margin-top: 6px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.hint-text i {
    margin-right: 5px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 按钮样式 */
.btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

/* 链接样式 */
.link-group {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.link-group a {
    color: #6a11cb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.link-group a:hover {
    color: #2575fc;
    text-decoration: underline;
}

/* 提示框样式 */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: calc(100vw - 40px);
    width: 400px;
    pointer-events: none;
}

.alert {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    animation: slideInRight 0.4s ease, fadeOut 0.4s ease 3.6s forwards;
    border-left: 4px solid;
    transform-origin: right;
    pointer-events: auto;
    max-width: 100%;
}

.alert-success {
    border-left-color: #27ae60;
    background: linear-gradient(135deg, #d5f4e6 0%, #f0f9f4 100%);
}

.alert-error {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea 0%, #fff5f5 100%);
}

.alert-warning {
    border-left-color: #f39c12;
    background: linear-gradient(135deg, #fef5e7 0%, #fff9eb 100%);
}

.alert-info {
    border-left-color: #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
}

.alert-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
    min-width: 0;
}

.alert-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 3px;
    color: #2c3e50;
    line-height: 1.3;
}

.alert-message {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.4;
    word-break: break-word;
}

.alert-close {
    background: none;
    border: none;
    color: #95a5a6;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.alert-close:hover {
    color: #e74c3c;
}

/* 动画 */
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* 响应式设计 - 手机优先 */
@media (max-width: 768px) {
    body {
        padding: 15px;
        align-items: flex-start;
        min-height: auto;
        height: auto;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .form-card {
        padding: 25px 20px;
        border-radius: 15px;
        margin: 0 auto;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo p {
        font-size: 13px;
    }
    
    .alert-container {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: calc(100vw - 30px);
        width: auto;
    }
    
    .alert {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .alert-icon {
        font-size: 18px;
        margin-right: 10px;
    }
    
    .alert-title {
        font-size: 14px;
    }
    
    .alert-message {
        font-size: 12px;
    }
    
    .alert-close {
        font-size: 16px;
        width: 20px;
        height: 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .btn {
        padding: 14px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .hint-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .form-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .form-group input, .form-group textarea, .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px;
        font-size: 14px;
        min-height: 46px;
    }
    
    .link-group {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .link-group a {
        font-size: 13px;
    }
}

/* 密码强度提示 */
.password-strength {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
    width: 100%;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    background: #e74c3c;
    width: 33%;
}

.strength-medium {
    background: #f39c12;
    width: 66%;
}

.strength-strong {
    background: #27ae60;
    width: 100%;
}

/* ===== 个人主页样式 ===== */
.user-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 30px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.user-header {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 32px;
}

.user-info {
    margin-bottom: 25px;
    width: 100%;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    width: 100%;
}

.info-label {
    color: #666;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
    flex: 1;
    min-width: 120px;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    flex: 2;
    text-align: right;
    word-break: break-word;
    min-width: 0;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: #d5f4e6;
    color: #27ae60;
}

.status-banned {
    background: #ffeaea;
    color: #e74c3c;
}

.status-disabled {
    background: #fef5e7;
    color: #f39c12;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 25px;
    width: 100%;
}

.action-btn {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    text-decoration: none;
    text-align: center;
    word-break: break-word;
}

.btn-logout {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.btn-profile {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.btn-home {
    background: linear-gradient(135deg, #a8e6cf 0%, #6aecd8 100%);
    color: #2c3e50;
}

.btn-settings {
    background: linear-gradient(135deg, #ffd3b6 0%, #ffaaa5 100%);
    color: #2c3e50;
}

.btn-bind {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.btn-qq {
    background: linear-gradient(135deg, #12c2e9 0%, #c471ed 100%);
    color: white;
}

.btn-feedback {
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* ===== 绑定管理页面样式 ===== */
.bind-status {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
    width: 100%;
}

.bind-status h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.bind-status p {
    color: #7f8c8d;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.bind-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.bind-form h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.bind-form h3 i {
    color: #6a11cb;
}

/* ===== QQ绑定管理页面样式 ===== */
.qq-list {
    margin-top: 15px;
    width: 100%;
}

.qq-list h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.qq-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border-left: 4px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}

.qq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qq-card-normal {
    border-left-color: #3498db;
}

.qq-card-approved {
    border-left-color: #27ae60;
}

.qq-card-blacklist {
    border-left-color: #e74c3c;
}

.qq-info {
    flex: 1;
    min-width: 0;
}

.qq-number {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qq-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: #fef5e7;
    color: #f39c12;
}

.status-approved {
    background: #d5f4e6;
    color: #27ae60;
}

.status-blacklist {
    background: #ffeaea;
    color: #e74c3c;
}

.qq-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.qq-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
}

.btn-unbind {
    background: #e74c3c;
    color: white;
}

.btn-unbind:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.empty-state {
    text-align: center;
    padding: 30px 15px;
    color: #95a5a6;
    width: 100%;
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.4;
}

/* ===== 问题反馈页面样式 ===== */
.feedback-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.feedback-type {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.feedback-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feedback-type.selected {
    border-color: #6a11cb;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 100%);
}

.type-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: #6a11cb;
}

.type-name {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
}

.type-desc {
    font-size: 11px;
    color: #7f8c8d;
    line-height: 1.3;
}

.feedback-details {
    margin-top: 15px;
    width: 100%;
}

.feedback-details h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.3;
}

/* JSON显示样式 */
.json-display {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    font-family: monospace;
    font-size: 11px;
    max-height: 100px;
    overflow-y: auto;
    margin-top: 5px;
    white-space: pre-wrap;
    word-break: break-all;
    width: 100%;
}

/* 导航栏样式 */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    min-height: 60px;
}

.nav-logo {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.nav-logo i {
    color: #6a11cb;
    font-size: 18px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.3;
    word-break: break-word;
    max-width: 150px;
    text-align: right;
}

.logout-btn {
    padding: 6px 12px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
}

.logout-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* 页面内容容器 */
.page-content {
    margin-top: 70px;
    width: 100%;
    margin-bottom: 20px;
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 150px;
    justify-content: center;
    
    /* 新增的边框动画样式 */
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* 渐变边框层 */
.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #6a11cb, #2575fc, #6a11cb, #2575fc);
    background-size: 400% 400%;
    border-radius: 17px; /* 比主元素大2px */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: #6a11cb;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.4;
}

/* 渐变动画关键帧 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
}

/* 确认对话框 */
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.confirm-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.confirm-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.confirm-message {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: 14px;
}

.confirm-message strong {
    color: #2c3e50;
    font-weight: 600;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.confirm-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-btn-cancel {
    background: #f8f9fa;
    color: #7f8c8d;
}

.confirm-btn-confirm {
    background: #e74c3c;
    color: white;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

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

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

/* 响应式调整 */
@media (max-width: 768px) {
    .user-avatar {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-value {
        text-align: left;
        width: 100%;
    }
    
    .action-buttons {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .action-btn {
        font-size: 12px;
        padding: 10px;
        min-height: 40px;
    }
    
    .nav-bar {
        padding: 10px 12px;
        min-height: 56px;
    }
    
    .nav-logo {
        font-size: 14px;
    }
    
    .user-name {
        font-size: 13px;
        max-width: 120px;
    }
    
    .logout-btn {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .page-content {
        margin-top: 66px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 18px;
        min-height: 140px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 15px;
    }
    
    .feature-desc {
        font-size: 12px;
    }
    
    .confirm-content {
        padding: 20px;
        max-width: 320px;
    }
    
    .confirm-title {
        font-size: 16px;
    }
    
    .confirm-message {
        font-size: 13px;
    }
    
    .confirm-btn {
        padding: 8px 15px;
        font-size: 13px;
        min-height: 38px;
    }
    
    .feedback-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .feedback-type {
        padding: 12px;
        min-height: 110px;
    }
    
    .type-icon {
        font-size: 22px;
    }
    
    .type-name {
        font-size: 13px;
    }
    
    .type-desc {
        font-size: 10px;
    }
    
    .qq-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .qq-actions {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .nav-logo span {
        display: none;
    }
    
    .nav-logo i {
        font-size: 20px;
    }
    
    .user-name {
        max-width: 100px;
        font-size: 12px;
    }
    
    .page-content {
        margin-top: 62px;
    }
    
    .feedback-types {
        grid-template-columns: 1fr;
    }
    
    .feedback-type {
        min-height: 100px;
    }
    
    .confirm-content {
        padding: 15px;
        max-width: 280px;
    }
    
    .confirm-title {
        font-size: 15px;
    }
    
    .confirm-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .confirm-actions {
        justify-content: center;
    }
}

/* 防止iOS输入框缩放 */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea {
        font-size: 16px !important;
    }
}

/* 防止移动端点击延迟 */
* {
    touch-action: manipulation;
}

/* 优化滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}