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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    background: var(--bg-color, #f5f7fa);
    color: #333;
    color: var(--text-color, #333);
    overflow-x: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* 主题变量 */
:root {
    /* 默认主题 - 紫色 */
    --primary-gradient: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-color: #f5f7fa;
    --text-color: #333;
    --card-bg: #ffffff;
    --banner-gradient: -webkit-linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --banner-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

    color: #ff6b6b;
}

/* 页面切换动画 */
.page {
    display: block;
    opacity: 1;
}

.page.active {
    display: block;
    opacity: 1;
}

/* 顶部导航 */
.navbar {
    background: var(--primary-gradient);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 10px;
    gap: 10px;
    position: relative;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    display: -webkit-inline-flex;
    display: inline-flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.logo-label {
    font-size: 24px;
    margin-right: 2px;
}

.logo-web-container {
    position: relative;
    display: inline-block;
    min-width: 60px;
    height: 32px;
    vertical-align: middle;
}

.logo-web {
    display: inline-block;
    background: #ffd54f;
    color: #333;
    padding: 4px 10px;
    font-size: 24px;
    transform: rotate(-3deg);
    box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-3deg);
    z-index: 10;
    transition: all 0.3s ease;
}

.logo-web::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

.logo-web:hover {
    transform: translateY(-52%) rotate(-3deg);
    box-shadow: 3px 5px 12px rgba(0,0,0,0.3);
}

.logo-web.falling {
    animation: fall 0.8s ease-in forwards;
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(-50%) rotate(-3deg);
        opacity: 1;
    }
    50% {
        transform: translateY(250px) rotate(15deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(550px) rotate(25deg);
        opacity: 0;
    }
}

.logo-vibe {
    display: inline-block;
    opacity: 0;
    font-size: 24px;
    color: white;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
}

.logo-vibe.show {
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.nav-links {
    display: -webkit-flex;
    display: flex;
    -webkit-gap: 40px;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 5px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.nav-links a:hover {
    border-bottom-color: rgba(255,255,255,0.5);
}

.nav-links a.active {
    border-bottom-color: rgba(255,255,255,0.8);
}

.user-actions {
    display: -webkit-flex;
    display: flex;
    -webkit-gap: 15px;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.user-profile-wrapper {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-text {
    color: white;
    font-weight: 500;
    white-space: nowrap;
}

.btn-notification {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    font-size: 18px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.btn-notification:hover {
    background: rgba(255,255,255,0.3);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-profile-wrapper {
    position: relative;
}

.user-avatar-dropdown {
    cursor: pointer;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: -webkit-linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.user-avatar-small:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.user-dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown-menu.active {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

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

.dropdown-item {
    padding: 12px 20px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 10px;
    gap: 10px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f5f7fa;
    color: #667eea;
}

.dropdown-item.logout {
    color: #ff4757;
}

.dropdown-item.logout:hover {
    background: #fff5f5;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

/* 摸鱼皮肤按钮 */

.btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Banner样式 */
.banner {
    background: var(--banner-gradient);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.banner h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.banner p {
    font-size: 16px;
    opacity: 0.9;
}

/* 任务广场页面头部 */
.page-header {
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 14px;
    opacity: 0.9;
}

/* 快速导航 */
.quick-nav {
    display: -webkit-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    -webkit-gap: 15px;
    gap: 15px;
    margin-bottom: 30px;
}

.quick-nav-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #333;
}

.quick-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(102,126,234,0.2);
}

.quick-nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3) !important;
}

.quick-nav-item.active .icon,
.quick-nav-item.active .title {
    color: white !important;
}

.quick-nav-item .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.quick-nav-item .title {
    font-weight: bold;
}

/* 主要内容区 - 桌面端默认双栏 */
.main-content {
    display: grid !important;
    grid-template-columns: 1fr 320px !important;
    gap: 20px !important;
    align-items: start;
}

/* 返修模块侧边栏 */
.revision-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
}

/* 帖子列表 */
.posts-section {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.tabs {
    display: -webkit-flex;
    display: flex;
    -webkit-gap: 20px;
    gap: 20px;
    margin-bottom: 20px;
}

.tab {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 14px;
    background: #f0f2f5;
}

.tab.active {
    background: #667eea;
    color: white;
}

.post-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.post-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.post-tags {
    display: -webkit-flex;
    display: flex;
    -webkit-gap: 8px;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    padding: 3px 10px;
    background: #f0f2f5;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.tag.hot {
    background: #fff3e0;
    color: #ff6b6b;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.post-meta {
    display: -webkit-flex;
    display: flex;
    -webkit-gap: 20px;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

/* 发帖按钮 (头部) */
.btn-post-new {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 6px;
    gap: 6px;
    padding: 10px 20px;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 3px 12px rgba(102,126,234,0.35);
    transition: all 0.3s ease;
}

.btn-post-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(102,126,234,0.45);
}

/* 发帖按钮 (浮动) */
.create-post-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 8px;
    gap: 8px;
    padding: 15px 25px;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

/* 图片预览区域 */
.image-preview-area {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    min-height: 80px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.image-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: #666;
    transition: all 0.2s;
}

.image-preview-item .remove-image:hover {
    background: #ff4757;
    color: white;
}

.image-preview-item .upload-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 11px;
    text-align: center;
}

.image-preview-item .upload-status.success {
    background: rgba(46,213,115,0.8);
}

.image-preview-item .upload-status.error {
    background: rgba(255,71,87,0.8);
}

/* 帖子列表图片预览 */
.post-images-preview {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    flex-shrink: 0;
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-count {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.image-indicator {
    margin-left: 8px;
    font-size: 14px;
}

.create-post-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: -webkit-flex !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
}

/* 确保没有active类时隐藏 */
.modal-overlay:not(.active) {
    display: none !important;
    opacity: 0 !important;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 20px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #ffebee;
    color: #f44336;
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.form-label .required {
    color: #f44336;
    margin-left: 3px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
    -webkit-gap: 15px;
    gap: 15px;
}

.btn-cancel {
    padding: 12px 25px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-submit {
    padding: 12px 30px;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

/* 登录注册弹窗 */
#loginModal .modal-content,
#registerModal .modal-content {
    max-width: 450px;
}

/* ===== 今天你返修了吗模块样式 ===== */
.revision-module {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.revision-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 8px;
    gap: 8px;
    color: #333;
}

.revision-icon {
    font-size: 24px;
}

/* 模式切换开关样式 */
.mode-toggle {
    display: -webkit-flex;
    display: flex;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 4px;
    margin-bottom: 15px;
    position: relative;
}

.mode-toggle-btn {
    flex: 1;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.mode-toggle-btn.active {
    color: #fff;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mode-toggle-btn:hover:not(.active) {
    color: #333;
}

/* 情绪状态 */
.mood-display {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.5s ease;
}

.mood-icon {
    font-size: 36px;
    margin-bottom: 8px;
    display: block;
}

.mood-text {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.mood-desc {
    font-size: 12px;
    opacity: 0.8;
}

/* 今日吐槽区 */
.complaint-area {
    margin-bottom: 15px;
}

.complaint-header {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 6px;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.complaint-content {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    color: white;
    margin-bottom: 10px;
    min-height: 80px;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.complaint-emoji {
    font-size: 28px;
    margin-bottom: 8px;
}

.complaint-text {
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

.complaint-author {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 8px;
}

.refresh-btn {
    width: 100%;
    padding: 10px;
    background: #f0f2f5;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.refresh-btn:hover {
    background: #e4e6eb;
    color: #333;
}

/* 统计卡片 */
.stats-grid {
    display: -webkit-grid;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-gap: 10px;
    gap: 10px;
    margin-bottom: 15px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.stat-card.highlight {
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label {
    color: white;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: #999;
}

/* 打卡按钮 */
.checkin-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-gap: 8px;
    gap: 8px;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.checkin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

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

.checkin-btn.crazy {
    background: -webkit-linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.checkin-btn.crazy:hover {
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* 个人中心卡片 */
.profile-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile-card-header {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 10px;
    gap: 10px;
    margin-bottom: 12px;
}

.profile-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
}

.profile-level {
    font-size: 11px;
    color: #667eea;
    background: rgba(102,126,234,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 2px;
}

.profile-edit-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 12px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.profile-edit-btn:hover {
    background: #667eea;
    color: white;
}

.profile-stats {
    display: -webkit-flex;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.profile-stat {
    text-align: center;
}

.profile-stat .stat-num {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #667eea;
}

.profile-stat .stat-text {
    font-size: 10px;
    color: #999;
}

.profile-skills {
    margin-bottom: 10px;
}

.skills-title {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
}

.skills-list {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-gap: 5px;
    gap: 5px;
}

.profile-card .skill-tag {
    padding: 3px 8px;
    background: rgba(102,126,234,0.1);
    border-radius: 10px;
    font-size: 10px;
    color: #667eea;
}

.profile-details {
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.detail-row {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    -webkit-gap: 6px;
    gap: 6px;
    padding: 4px 0;
    font-size: 11px;
}

.detail-row .detail-icon {
    font-size: 12px;
}

.detail-row .detail-label {
    color: #999;
    min-width: 30px;
}

.detail-row .detail-value {
    color: var(--text-color);
    font-weight: 500;
}

.profile-radar {
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.radar-title {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.radar-mini {
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
}

.radar-mini svg {
    width: 100%;
    height: 100%;
}

.radar-legend {
    display: -webkit-flex;
    display: flex;
    justify-content: space-around;
    font-size: 9px;
    color: #999;
}

/* 倒计时提示 */
.countdown-timer {
    margin-top: 15px;
    padding: 15px;
    background: -webkit-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    text-align: center;
    color: #e0e0e0;
}

.countdown-text {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.countdown-value {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #ff6b6b;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.countdown-subtext {
    font-size: 12px;
    opacity: 0.7;
}

/* ====================
   响应式设计 - v1.2.0
   ==================== */

/* 大屏幕 (1200px+) - 默认桌面端 */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    .nav-container {
        max-width: 1200px;
    }
    .main-content {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }
    .quick-nav {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 中等屏幕 (768px - 1199px) - 平板横屏/小桌面 */
@media (max-width: 1199px) and (min-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    .nav-container {
        max-width: 100%;
        padding: 0 15px;
    }
    .main-content {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }
    .quick-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .quick-nav-item {
        padding: 15px 10px;
    }
    .banner {
        padding: 30px;
    }
    .banner h1 {
        font-size: 28px;
    }
}

/* 小屏幕 (576px - 767px) - 平板竖屏/大手机 */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
        margin: 15px auto;
    }
    .nav-container {
        max-width: 100%;
        padding: 0 12px;
    }
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .revision-sidebar {
        order: -1;
        position: static;
    }
    .quick-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .quick-nav-item {
        padding: 12px 8px;
    }
    .quick-nav-item .icon {
        font-size: 28px;
    }
    .quick-nav-item .title {
        font-size: 13px;
    }
    .banner {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    .banner h1 {
        font-size: 24px;
    }
    .banner p {
        font-size: 14px;
    }
    .nav-links {
        display: none;
    }
    .create-post-btn {
        bottom: 80px;
        right: 15px;
        padding: 12px 18px;
        font-size: 14px;
    }
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }
    .category-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 超小屏幕 (< 576px) - 手机端 */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
        margin: 10px auto;
    }
    .nav-container {
        max-width: 100%;
        padding: 0 10px;
    }
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .revision-sidebar {
        order: -1;
        position: static;
        margin-bottom: 15px;
    }
    .quick-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .quick-nav-item {
        padding: 10px 5px;
        border-radius: 10px;
    }
    .quick-nav-item .icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
    .quick-nav-item .title {
        font-size: 12px;
    }
    .banner {
        padding: 20px 15px;
        margin-bottom: 15px;
        border-radius: 12px;
    }
    .banner h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .banner p {
        font-size: 13px;
    }
    .nav-links {
        display: none;
    }
    .nav-right {
        gap: 10px;
    }
    .theme-switcher {
        padding: 6px 12px;
        font-size: 13px;
    }
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .tabs {
        gap: 8px;
        margin-bottom: 15px;
    }
    .tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    .create-post-btn {
        bottom: 70px;
        right: 12px;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 25px;
    }
    .post-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    .post-title {
        font-size: 14px;
    }
    .post-meta {
        font-size: 12px;
    }
    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        min-height: 100vh;
    }
    .modal-header {
        padding: 15px;
    }
    .modal-title {
        font-size: 18px;
    }
    .modal-body {
        padding: 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    .category-selector {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .category-label {
        padding: 10px;
        font-size: 13px;
    }
    .btn-submit, .btn-cancel {
        padding: 12px 20px;
        font-size: 14px;
    }
    .editor-toolbar {
        padding: 8px;
    }
    .toolbar-btn {
        padding: 5px 10px;
        font-size: 13px;
    }
    .image-preview-area {
        min-height: 60px;
        padding: 8px;
    }
    .image-preview-item {
        width: 80px;
        height: 80px;
    }
}

/* 导航栏移动端适配 */
@media (max-width: 767px) {
    .navbar {
        padding: 10px 0;
    }
    .logo {
        font-size: 20px;
    }
    .logo-web, .logo-vibe {
        font-size: 20px;
        padding: 3px 8px;
    }
    .revision-module {
        padding: 15px;
    }
    .revision-title {
        font-size: 16px;
    }
    .mode-switcher {
        width: 160px;
        height: 32px;
    }
    .mode-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    .countdown-box {
        padding: 12px 15px;
    }
    .countdown-number {
        font-size: 28px;
    }
    .quote-section {
        padding: 12px;
    }
    .quote-text {
        font-size: 13px;
    }
    .stat-card {
        padding: 12px 8px;
    }
    .stat-number {
        font-size: 20px;
    }
    .stat-label {
        font-size: 11px;
    }
    .checkin-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* 横屏手机优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .modal-content {
        max-height: 95vh;
    }
    .banner {
        padding: 15px 20px;
    }
    .banner h1 {
        font-size: 18px;
    }
}

/* ==================== 右侧广告位侧边栏 ==================== */
.main-content {
    display: flex !important;
    gap: 24px !important;
    align-items: flex-start !important;
}

.posts-section {
    flex: 1 !important;
    min-width: 0 !important;
}

.sidebar-ads {
    width: 300px !important;
    flex-shrink: 0 !important;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.ad-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.ad-item {
    display: block;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    background: white;
    border: 1px solid #f0f0f0;
}

.ad-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.ad-image-wrapper {
    width: 100%;
    overflow: hidden;
    display: block;
    border-radius: 8px;
}

.ad-footer {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 6px;
}

.ad-footer small {
    color: #bbb;
    font-size: 10px;
}

/* 资料完善弹窗样式 */
.profile-complete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-complete-modal .modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.profile-complete-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.profile-complete-modal .modal-title {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.profile-complete-modal .modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-complete-modal .modal-body {
    padding: 24px;
}

.profile-complete-modal .form-group {
    margin-bottom: 20px;
}

.profile-complete-modal .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.profile-complete-modal .form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.profile-complete-modal .btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

/* 响应式：平板和手机隐藏侧边栏 */
@media (max-width: 1200px) {
    .sidebar-ads {
        display: none !important;
    }
    .main-content {
        display: block !important;
    }
}


/* ==================== 隐藏分享按钮 ==================== */
.ct-share-box {
    display: none !important;
}

.ct-share-box[data-location="bottom"],
.ct-share-box[data-location="top"] {
    display: none !important;
}

.ct-tooltip {
    display: none !important;
}
/* ==================== 隐藏分享按钮结束 ==================== */
