/* 用户端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f7fa; color: #333; line-height: 1.6; }
a { color: #667eea; text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #f0f0f0; padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* 容器 */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 导航栏 */
.site-header { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 60px; }
.nav-brand { font-size: 20px; font-weight: 700; color: #667eea; }
.nav-brand a { color: inherit; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { color: #666; font-size: 14px; }
.nav-link:hover { color: #667eea; text-decoration: none; }
.nav-link-primary { background: #667eea; color: #fff !important; padding: 8px 18px; border-radius: 8px; }
.nav-link-primary:hover { background: #5a6fd6; }
.nav-balance { color: #52c41a; font-weight: 600; font-size: 14px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: #667eea; color: #fff; }
.btn-primary:hover { background: #5a6fd6; }
.btn-outline { background: transparent; border: 1px solid #ddd; color: #666; }
.btn-outline:hover { border-color: #667eea; color: #667eea; }
.btn-danger { background: #ff4d4f; color: #fff; }
.btn-success { background: #52c41a; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero区域 */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 16px; }
.hero-desc { font-size: 18px; opacity: 0.9; margin-bottom: 12px; }
.hero-bonus { font-size: 16px; opacity: 0.85; margin-bottom: 32px; }
.hero-bonus strong { color: #ffd700; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* 特性区域 */
.features { padding: 60px 20px; }
.features h2 { text-align: center; font-size: 28px; margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card { background: #fff; padding: 32px 24px; border-radius: 12px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: #666; font-size: 14px; }

/* API演示 */
.api-demo { padding: 60px 20px; background: #fff; }
.api-demo h2 { text-align: center; font-size: 28px; margin-bottom: 8px; }
.section-desc { text-align: center; color: #666; margin-bottom: 32px; }
.code-block { background: #1e1e1e; border-radius: 12px; padding: 24px; overflow-x: auto; max-width: 700px; margin: 0 auto; }
.code-block pre { margin: 0; }
.code-block code { color: #d4d4d4; background: none; padding: 0; font-family: 'Consolas', 'Monaco', monospace; font-size: 14px; line-height: 1.7; }

/* 页脚 */
.site-footer { background: #333; color: #999; padding: 24px 20px; text-align: center; font-size: 14px; }

/* 登录/注册页 */
.auth-page { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-container { width: 100%; max-width: 420px; padding: 20px; }
.auth-card { background: #fff; border-radius: 16px; padding: 40px 32px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo { font-size: 24px; font-weight: 700; color: #667eea; display: block; margin-bottom: 16px; }
.auth-header h2 { font-size: 22px; color: #333; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; margin-bottom: 6px; font-weight: 500; color: #555; font-size: 14px; }
.auth-form input { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color 0.2s; }
.auth-form input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }
.auth-footer { text-align: center; margin-top: 24px; color: #666; font-size: 14px; }

/* 警告框 */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-error { background: #fff2f0; border: 1px solid #ffccc7; color: #ff4d4f; }
.alert-success { background: #f6ffed; border: 1px solid #b7eb8f; color: #52c41a; }

/* 控制台 */
.dashboard-main { padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 24px; }
.stat-card { background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-align: center; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: #667eea; }
.stat-card .stat-label { font-size: 13px; color: #999; margin-top: 4px; }

/* 卡片 */
.card { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 24px; }
.card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f0f0f0; }
.card-header h3 { font-size: 16px; }
.card-body { padding: 20px; }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.data-table th { background: #fafafa; font-weight: 600; color: #666; }
.data-table tr:hover { background: #fafafa; }

/* 状态标签 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.badge-success { background: #f6ffed; color: #52c41a; }
.badge-danger { background: #fff2f0; color: #ff4d4f; }
.badge-warning { background: #fffbe6; color: #faad14; }

/* 空状态 */
.empty-state { text-align: center; color: #999; padding: 40px 20px; }

/* API Key显示 */
.key-display { margin-right: 8px; }
.btn-copy { background: none; border: 1px solid #ddd; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 12px; color: #666; }
.btn-copy:hover { border-color: #667eea; color: #667eea; }

/* 模型网格 */
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.model-item { background: #f9f9f9; padding: 14px 16px; border-radius: 8px; }
.model-name { font-weight: 600; color: #333; margin-bottom: 4px; }
.model-price { font-size: 12px; color: #999; }

/* 模型定价（首页区块 + 控制台弹窗共用） */
.pricing { padding: 60px 20px; scroll-margin-top: 70px; }
.pricing h2 { text-align: center; font-size: 28px; margin-bottom: 8px; }
.pricing-wrap { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pricing-table th { text-align: left; padding: 14px 20px; background: #1a1a2e; color: #fff; font-size: 14px; white-space: nowrap; }
.pricing-table td { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; color: #333; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table td small { color: #999; margin-left: 2px; font-size: 12px; }
.pt-name { font-weight: 600; }
.pricing-note { text-align: center; color: #999; font-size: 13px; margin-top: 16px; }
.pricing-modal-wrap { max-height: 50vh; overflow-y: auto; border: 1px solid #eef0f5; border-radius: 8px; }
.pricing-modal-wrap .pricing-table th { background: #f5f6fa; color: #555; padding: 10px 14px; }
.pricing-modal-wrap .pricing-table td { padding: 10px 14px; font-size: 13px; }
.dash-modal-body .pricing-note { margin-top: 12px; }

/* API 接入信息 */
.api-access-card { background: linear-gradient(135deg, #1f2544 0%, #302b63 100%); color: #e8eaff; border-radius: 14px; overflow: hidden; }
.api-access-card .card-header { border-bottom: 1px solid rgba(255,255,255,.12); }
.api-access-card .card-header h3 { color: #fff; }
.api-badge { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: rgba(102,126,234,.35); color: #c7d0ff; border: 1px solid rgba(150,170,255,.3); }
.api-field { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.api-field:last-of-type { border-bottom: none; }
.api-label { font-size: 12px; color: #8f97bd; min-width: 62px; }
.api-value { flex: 1; min-width: 200px; background: rgba(255,255,255,.08); color: #d8e0ff; padding: 8px 12px; border-radius: 8px; font-family: 'Consolas', monospace; font-size: 13px; word-break: break-all; }
.api-access-card .btn-copy { border-color: rgba(255,255,255,.25); color: #c7d0ff; }
.api-access-card .btn-copy:hover { border-color: #7f9bff; color: #fff; }
.api-sample { margin-top: 10px; }
.api-sample summary { cursor: pointer; font-size: 13px; color: #9fb0ff; }
.api-code { margin-top: 10px; background: rgba(0,0,0,.35); color: #c9d4ff; padding: 14px; border-radius: 10px; font-size: 12px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.api-sample-actions { margin-top: 8px; }
.api-access-card .btn-outline { border-color: rgba(255,255,255,.3); color: #c7d0ff; }

/* Key 列表 */
.key-table-wrap { overflow-x: auto; }
.key-table { min-width: 860px; }
.key-name { font-weight: 600; }
.key-perms { min-width: 130px; }
.chip { display: inline-block; padding: 2px 8px; margin: 2px 4px 2px 0; border-radius: 20px; font-size: 11px; background: #eef1ff; color: #5a6fd6; white-space: nowrap; }
.chip-dim { background: #f2f3f5; color: #888; }
.muted { color: #aaa; font-size: 12px; }
.quota-bar { height: 6px; background: #eef0f4; border-radius: 6px; overflow: hidden; margin-bottom: 4px; width: 110px; }
.quota-bar span { display: block; height: 100%; background: linear-gradient(90deg, #667eea, #8f9dff); border-radius: 6px; }
.key-quota small, .key-today small { display: block; color: #999; font-size: 11px; }
.key-actions { min-width: 220px; white-space: nowrap; }
.key-actions .btn { margin: 2px 2px 2px 0; }
.key-row-expired { opacity: .6; }
.key-empty { padding: 50px 20px; }
.key-empty-icon { font-size: 46px; margin-bottom: 10px; }
.key-empty-sub { font-size: 13px; margin: 6px 0 18px; }
.btn-warning { background: #faad14; color: #fff; }
.key-new-tip { font-size: 13px; color: #d4380d; background: #fff2e8; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.reveal-box { background: #f6f8ff; border: 1px dashed #c7d2ff; border-radius: 10px; padding: 14px; word-break: break-all; }
.reveal-box code { background: none; font-size: 14px; color: #3b4a8c; }

/* 控制台弹窗 */
.dash-modal-overlay { position: fixed; inset: 0; background: rgba(20,24,45,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.dash-modal { background: #fff; border-radius: 16px; width: 520px; max-width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,.3); animation: dashModalIn .22s ease; }
@keyframes dashModalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dash-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #f0f2f7; }
.dash-modal-header h3 { font-size: 17px; }
.dash-modal-close { background: none; border: none; font-size: 24px; line-height: 1; color: #aaa; cursor: pointer; }
.dash-modal-close:hover { color: #333; }
.dash-modal-body { padding: 20px 24px; }
.dash-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid #f0f2f7; }
.dash-modal .form-group { margin-bottom: 16px; }
.dash-modal .form-group > label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.dash-modal input[type=text], .dash-modal input[type=number], .dash-modal input[type=datetime-local], .dash-modal .form-select { width: 100%; padding: 9px 12px; border: 1px solid #dde1ea; border-radius: 8px; font-size: 14px; background: #fff; }
.dash-modal input:focus, .dash-modal .form-select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,.12); }
.form-row2 { display: flex; gap: 14px; }
.form-row2 .form-group { flex: 1; }
.check-inline { display: block; font-weight: 400 !important; font-size: 14px !important; color: #444 !important; margin: 6px 0 !important; cursor: pointer; }
.check-inline input { margin-right: 6px; }
.model-checks { margin-top: 8px; max-height: 150px; overflow-y: auto; border: 1px solid #eef0f5; border-radius: 8px; padding: 8px 10px; background: #fafbff; }
.model-check { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #555; margin: 3px 10px 3px 0; cursor: pointer; }
.model-check input { margin: 0; }

/* 卡密充值 */
.redeem-box { display: flex; gap: 12px; }
.redeem-box input { flex: 1; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; font-family: 'Consolas', monospace; letter-spacing: 1px; text-transform: uppercase; }
.redeem-box input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }
.redeem-tip { margin-top: 12px; font-size: 13px; color: #999; }

/* 邀请页 */
.invite-hero { text-align: center; padding: 32px; }
.invite-hero h2 { color: #667eea; margin-bottom: 12px; }
.invite-desc { color: #666; font-size: 15px; }
.invite-link-box { display: flex; gap: 12px; margin-bottom: 16px; }
.invite-link-box input { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; background: #f9f9f9; }
.invite-code-display { display: flex; align-items: center; gap: 10px; }
.invite-code-display code { font-size: 18px; padding: 6px 12px; background: #f0f5ff; color: #667eea; }

/* 响应式 */
/* 站内信弹窗 */
.site-msg-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 99999; backdrop-filter: blur(8px); }
.site-msg-overlay.fade-out { animation: fadeOut 0.3s ease forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.site-msg-box { position: relative; width: 460px; max-width: 90vw; max-height: 85vh; border-radius: 24px; padding: 40px 32px 32px; text-align: center; overflow: hidden; box-shadow: 0 25px 80px rgba(0,0,0,0.4); }
.site-msg-particles { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; background: rgba(255,255,255,0.3); border-radius: 50%; animation: floatUp linear infinite; }
@keyframes floatUp { 0% { transform: translateY(100%) scale(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-100vh) scale(1); opacity: 0; } }
.site-msg-icon { font-size: 56px; margin-bottom: 16px; animation: iconBounce 0.6s ease; }
@keyframes iconBounce { 0% { transform: scale(0) rotate(-180deg); } 60% { transform: scale(1.2) rotate(10deg); } 100% { transform: scale(1) rotate(0deg); } }
.site-msg-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.site-msg-content { font-size: 15px; line-height: 1.8; margin-bottom: 28px; opacity: 0.9; max-height: 40vh; overflow-y: auto; }
.site-msg-actions { display: flex; gap: 12px; justify-content: center; }
.site-msg-btn { padding: 12px 32px; border-radius: 12px; border: none; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.site-msg-btn { background: rgba(255,255,255,0.25); color: inherit; }
.site-msg-btn:hover { background: rgba(255,255,255,0.4); transform: translateY(-2px); }
.site-msg-btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.4); }
.site-msg-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* 弹窗动画 */
.anim-zoomIn { animation: zoomIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
.anim-slideIn { animation: slideIn 0.5s cubic-bezier(0.23,1,0.32,1); }
@keyframes slideIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
.anim-bounceIn { animation: bounceIn 0.6s cubic-bezier(0.68,-0.55,0.265,1.55); }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(0.3); } 50% { transform: scale(1.08); } 70% { transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }
.anim-fadeIn { animation: fadeInMsg 0.6s ease; }
@keyframes fadeInMsg { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.anim-flipIn { animation: flipIn 0.6s ease; }
@keyframes flipIn { from { opacity: 0; transform: perspective(400px) rotateY(90deg); } to { opacity: 1; transform: perspective(400px) rotateY(0); } }
.anim-rotateIn { animation: rotateIn 0.6s cubic-bezier(0.23,1,0.32,1); }
@keyframes rotateIn { from { opacity: 0; transform: rotate(-200deg) scale(0); } to { opacity: 1; transform: rotate(0) scale(1); } }

/* 光晕特效 */
.site-msg-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); animation: glowPulse 3s ease-in-out infinite; pointer-events: none; }
@keyframes glowPulse { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .nav-links { gap: 12px; }
    .nav-balance { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .invite-link-box { flex-direction: column; }
    .data-table { font-size: 12px; }
    .data-table th, .data-table td { padding: 8px 10px; }
    .chat-widget { max-width: 100%; }
}

/* 在线体验聊天 */
.chat-demo { padding: 60px 20px; background: #fff; scroll-margin-top: 70px; }
.chat-demo h2 { text-align: center; font-size: 28px; margin-bottom: 8px; }
.chat-widget { max-width: 700px; margin: 0 auto; background: #1a1a2e; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.chat-messages { height: 400px; overflow-y: auto; padding: 20px; }
.chat-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #666; }
.chat-welcome-icon { font-size: 48px; margin-bottom: 12px; }
.chat-msg { margin-bottom: 16px; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg-header { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.chat-msg-icon { font-size: 14px; }
.chat-msg-label { font-size: 12px; color: #888; font-weight: 500; }
.chat-msg-content { padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.chat-msg-user .chat-msg-content { background: #667eea; color: #fff; margin-left: 40px; border-bottom-right-radius: 4px; }
.chat-msg-assistant .chat-msg-content { background: #2a2a3e; color: #e0e0e0; margin-right: 40px; border-bottom-left-radius: 4px; }
.chat-msg-system .chat-msg-content { background: #3d2020; color: #ff8a80; text-align: center; font-size: 13px; margin: 0 40px; }
.chat-input-area { border-top: 1px solid #333; padding: 16px; }
.chat-model-select { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.chat-model-select select { background: #2a2a3e; color: #e0e0e0; border: 1px solid #444; padding: 8px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.chat-model-select select:focus { outline: none; border-color: #667eea; }
.chat-limit { font-size: 12px; color: #888; }
.chat-input-row { display: flex; gap: 10px; align-items: flex-end; }
.chat-input-row textarea { flex: 1; background: #2a2a3e; color: #e0e0e0; border: 1px solid #444; border-radius: 12px; padding: 12px 16px; font-size: 14px; resize: none; font-family: inherit; line-height: 1.5; }
.chat-input-row textarea:focus { outline: none; border-color: #667eea; }
.chat-input-row textarea::placeholder { color: #666; }
.chat-send-btn { width: 44px; height: 44px; border-radius: 12px; background: #667eea; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s; }
.chat-send-btn:hover { background: #5a6fd6; }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-loading { display: flex; gap: 4px; padding: 8px 0; }
.chat-loading span { width: 8px; height: 8px; background: #667eea; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out; }
.chat-loading span:nth-child(1) { animation-delay: -0.32s; }
.chat-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%,80%,100% { transform: scale(0); } 40% { transform: scale(1); } }

/* 公告弹窗 */
.announcement-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; z-index: 9999; backdrop-filter: blur(4px); }
.announcement-modal { background: #fff; border-radius: 16px; width: 500px; max-width: 90vw; max-height: 80vh; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.announcement-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #f0f0f0; }
.announcement-header h3 { font-size: 18px; color: #333; }
.announcement-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #999; padding: 4px 8px; }
.announcement-close:hover { color: #333; }
.announcement-body { padding: 24px; font-size: 15px; line-height: 1.8; color: #555; max-height: 50vh; overflow-y: auto; }
.announcement-footer { padding: 16px 24px; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; gap: 10px; }
