/* 简约风格样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.navbar .nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.navbar .nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.navbar .nav-links a:hover { color: #333; }

/* 卡片 */
.card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 20px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn:hover { background: #f3f4f6; }

.btn-primary {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.btn-primary:hover { background: #1557b0; }

.btn-danger {
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-danger:hover { background: #fdf2f2; }

/* 表单 */
.form-group {
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

.form-input:focus { border-color: #1a73e8; }

/* 用户信息行 */
.user-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.user-info-row:last-child { border-bottom: none; }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* 徽章 */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.badge-orange { background: #fff3e0; color: #e65100; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-red { background: #ffebee; color: #c62828; }

/* 提示信息 */
.alert {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

.alert-info { background: #e3f2fd; color: #1565c0; }
.alert-error { background: #ffebee; color: #c62828; }
.alert-success { background: #e8f5e9; color: #2e7d32; }

/* 犇犇 */
.post {
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.post:last-child { border-bottom: none; }

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

.post-author {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.post-time {
    font-size: 12px;
    color: #999;
}

.post-content {
    font-size: 15px;
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}

.post-actions {
    display: flex;
    gap: 12px;
}

.post-actions button {
    background: none;
    border: none;
    font-size: 13px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}

.post-actions button:hover { color: #333; }
.post-actions button.liked { color: #e74c3c; }

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* 响应式 */
@media (max-width: 600px) {
    .container { padding: 12px; }
    .navbar { padding: 10px 12px; }
}

a{color:#1a73e8;text-decoration:none;transition:all .2s}
a:hover{color:#1557b0}
.navbar a{text-decoration:none}
.navbar a:hover{text-decoration:none}
.btn{text-decoration:none!important;transition:all .2s;cursor:pointer}
.btn:active{transform:scale(.97)}
.btn-primary{background:#1a73e8;border-color:#1a73e8}
.btn-primary:hover{background:#1557b0;border-color:#1557b0;box-shadow:0 2px 8px rgba(26,115,232,.3)}
.card{transition:box-shadow .2s}
.card:hover{box-shadow:0 2px 12px rgba(0,0,0,.08)}
.form-input:focus{border-color:#1a73e8;box-shadow:0 0 0 3px rgba(26,115,232,.1);outline:none}
