/* ===== Block 1: Main page styles ===== */
.rules-hero { background: linear-gradient(135deg, #1e3a5f 0%, #0d47a1 100%); padding: 48px 0; color: white; }
.rules-hero h1 { font-size: 36px; font-weight: 800; margin: 0 0 12px 0; }
.rules-hero p { font-size: 16px; opacity: 0.9; margin: 0; }

/* GPS定位状态指示器 */
.location-banner { background: linear-gradient(90deg, #065f46 0%, #047857 100%); padding: 16px 24px; margin-bottom: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.location-banner.banned { background: linear-gradient(90deg, #991b1b 0%, #b91c1c 100%); }
.location-banner.partial { background: linear-gradient(90deg, #92400e 0%, #b45309 100%); }
.location-banner.loading { background: linear-gradient(90deg, #475569 0%, #64748b 100%); }
.location-info { display: flex; align-items: center; gap: 12px; color: white; }
.location-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.location-text .label { font-size: 12px; opacity: 0.9; }
.location-text .value { font-size: 18px; font-weight: 700; }
.location-status { display: flex; align-items: center; gap: 8px; }
.status-badge { padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.status-badge.can-fish { background: white; color: #065f46; }
.status-badge.no-fish { background: white; color: #991b1b; }
.status-badge.partial { background: white; color: #92400e; }
.location-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 6px; transition: all 0.2s; }
.location-btn:hover { background: rgba(255,255,255,0.3); }
.location-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.location-btn svg { animation: none; }
.location-btn.loading svg { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.stats-bar { display: flex; gap: 32px; margin-top: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; }
.stat-label { font-size: 12px; opacity: 0.8; }

.search-box { background: white; border-radius: 12px; padding: 4px; display: flex; max-width: 500px; margin-top: 24px; position: relative; }
.search-box input { flex: 1; border: none; padding: 12px 16px; font-size: 16px; outline: none; border-radius: 8px; }
.search-box button { background: var(--fb-blue); color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* 搜索自动补全 */
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: white; border-radius: 0 0 12px 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); max-height: 300px; overflow-y: auto; display: none; z-index: 100; }
.search-suggestions.show { display: block; }
.suggestion-item { padding: 12px 16px; cursor: pointer; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f1f5f9; }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f8fafc; }
.suggestion-item .icon { width: 32px; height: 32px; background: var(--fb-gray-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.suggestion-item.province .icon { background: #dbeafe; color: #2563eb; }
.suggestion-item.water .icon { background: #d1fae5; color: #059669; }
.suggestion-item.basin .icon { background: #fef3c7; color: #d97706; }
.suggestion-item .text { font-weight: 500; }
.suggestion-item .label { font-size: 12px; color: var(--fb-gray-text); }

.tab-nav { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn { padding: 10px 20px; border-radius: 20px; border: 1px solid var(--fb-gray-200); background: white; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.tab-btn:hover { border-color: var(--fb-blue); color: var(--fb-blue); }
.tab-btn.active { background: var(--fb-blue); color: white; border-color: var(--fb-blue); }

.calendar-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-bottom: 32px; }
.month-cell { padding: 8px 4px; text-align: center; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.month-cell:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.month-cell.selected { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.month-cell.banned { background: #fecaca; color: #991b1b; }
.month-cell.partial { background: #fef3c7; color: #92400e; }
.month-cell.open { background: #d1fae5; color: #065f46; }

/* 月份详情弹出层 */
.month-detail-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 12px; padding: 24px; max-width: 400px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 2000; display: none; }
.month-detail-popup.show { display: block; animation: slideIn 0.3s ease; }
.month-detail-popup h4 { font-size: 18px; margin: 0 0 12px 0; display: flex; align-items: center; gap: 8px; }
.month-detail-popup .close-btn { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 20px; cursor: pointer; color: #666; }
.month-detail-popup .status-indicator { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.month-detail-popup .status-indicator.banned { background: #fecaca; color: #991b1b; }
.month-detail-popup .status-indicator.partial { background: #fef3c7; color: #92400e; }
.month-detail-popup .status-indicator.open { background: #d1fae5; color: #065f46; }
.month-detail-popup .ban-list { margin-top: 16px; max-height: 200px; overflow-y: auto; }
.month-detail-popup .ban-item-mini { padding: 10px; background: #f8fafc; border-radius: 6px; margin-bottom: 8px; font-size: 13px; }
.popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1999; display: none; }
.popup-overlay.show { display: block; }

/* 省份下拉选择器 */
.province-selector { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.province-select-wrapper { position: relative; flex: 1; max-width: 320px; }
.province-select { width: 100%; padding: 14px 44px 14px 16px; font-size: 15px; font-weight: 600; border: 2px solid var(--fb-gray-200); border-radius: 10px; background: white; cursor: pointer; appearance: none; -webkit-appearance: none; }
.province-select:focus { outline: none; border-color: var(--fb-blue); }
.province-select-wrapper::after { content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--fb-gray-text); pointer-events: none; }
.province-status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.province-status-tag.banned { background: #fecaca; color: #991b1b; }
.province-status-tag.safe { background: #d1fae5; color: #065f46; }
.province-quick-stats { display: flex; gap: 12px; font-size: 13px; color: var(--fb-gray-text); }

.info-card { background: white; border-radius: 12px; border: 1px solid var(--fb-gray-200); padding: 24px; margin-bottom: 24px; }
.info-card h2 { font-size: 20px; font-weight: 700; margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px; }
.info-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 12px 0; }

.ban-item { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.ban-item.warning { background: #fffbeb; border-color: #fde68a; }
.ban-item .title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.ban-item .meta { font-size: 13px; color: #666; line-height: 1.6; }
.ban-item .exception { background: white; padding: 8px 12px; border-radius: 6px; margin-top: 10px; font-size: 13px; }

.species-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.species-card { background: var(--fb-gray-100); border-radius: 8px; padding: 14px; }
.species-card .name { font-weight: 600; font-size: 14px; }
.species-card .level { font-size: 11px; color: #dc2626; margin-top: 4px; }
.species-card .habitat { font-size: 12px; color: var(--fb-gray-text); margin-top: 4px; }

.edu-section { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.edu-section h3 { color: #065f46; margin: 0 0 16px 0; font-size: 18px; }
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.edu-item { background: white; padding: 16px; border-radius: 8px; }
.edu-item .icon { font-size: 24px; margin-bottom: 8px; }
.edu-item .title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.edu-item .desc { font-size: 12px; color: var(--fb-gray-text); line-height: 1.5; }

.legal-section { background: #1e293b; color: white; padding: 40px 0; }
.legal-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.legal-section ul { margin: 12px 0; padding-left: 20px; }
.legal-section li { margin-bottom: 8px; line-height: 1.6; }
.legal-section .disclaimer { opacity: 0.7; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 13px; }

/* 倒计时样式 */
.countdown-section { background: white; border-radius: 12px; border: 2px solid #fef3c7; padding: 20px; margin-bottom: 24px; }
.countdown-section.urgent { border-color: #fecaca; }
.countdown-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.countdown-header .icon { width: 36px; height: 36px; background: #fef3c7; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.countdown-section.urgent .countdown-header .icon { background: #fecaca; }
.countdown-header .title { font-weight: 600; font-size: 15px; }
.countdown-timer { display: flex; gap: 8px; }
.countdown-unit { background: var(--fb-gray-100); padding: 12px 16px; border-radius: 8px; text-align: center; min-width: 60px; }
.countdown-unit .num { font-size: 24px; font-weight: 800; color: #f59e0b; }
.countdown-section.urgent .countdown-unit .num { color: #dc2626; }
.countdown-unit .label { font-size: 11px; color: var(--fb-gray-text); margin-top: 2px; }

/* 快速查询卡片 */
.quick-status { background: white; border-radius: 12px; padding: 20px; margin-bottom: 24px; border: 1px solid var(--fb-gray-200); }
.quick-status-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.quick-status-title { font-weight: 600; font-size: 15px; }
.add-reminder-btn { background: var(--fb-blue); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.add-reminder-btn:hover { opacity: 0.9; }
.reminder-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1e293b; color: white; padding: 12px 24px; border-radius: 8px; font-size: 14px; z-index: 1000; display: none; }
.reminder-toast.show { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

@media (max-width: 768px) {
    .rules-hero { padding: 32px 0; }
    .rules-hero h1 { font-size: 24px; }
    .rules-hero p { font-size: 14px; }
    .stats-bar { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .stat-item { min-width: 70px; }
    .stat-num { font-size: 20px; }
    .stat-label { font-size: 12px; }
    .calendar-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .month-cell { padding: 10px 6px; font-size: 11px; }
    .location-banner { flex-direction: column; text-align: center; padding: 14px 16px; }
    .location-info { flex-direction: column; }
    .location-text .value { font-size: 16px; }
    .status-badge { padding: 6px 14px; font-size: 13px; }
    .countdown-timer { flex-wrap: wrap; justify-content: center; }
    .countdown-unit { min-width: 50px; padding: 10px 12px; }
    .countdown-unit .num { font-size: 20px; }
    .province-selector { flex-direction: column; align-items: stretch; gap: 12px; }
    .province-select-wrapper { max-width: 100%; }
    .province-select { padding: 12px 40px 12px 14px; font-size: 14px; }
    .province-status-tag { justify-content: center; }
    .tab-nav { gap: 6px; margin-bottom: 16px; }
    .tab-btn { padding: 8px 14px; font-size: 13px; }
    .search-box { margin-top: 16px; flex-direction: column; gap: 8px; padding: 8px; }
    .search-box input { width: 100%; padding: 14px 16px; }
    .search-box button { width: 100%; padding: 14px; }
    .search-suggestions { position: static; box-shadow: none; border: 1px solid var(--fb-gray-200); border-radius: 8px; margin-top: 8px; }
    .edu-section { padding: 20px 16px; margin-bottom: 20px; }
    .edu-section h3 { font-size: 16px; margin-bottom: 12px; }
    .edu-grid { gap: 12px; }
    .edu-item { padding: 14px; }
    .edu-item .icon { font-size: 20px; }
    .edu-item .title { font-size: 13px; }
    .edu-item .desc { font-size: 12px; }
    .info-card { padding: 16px; margin-bottom: 16px; }
    .info-card h2 { font-size: 16px; margin-bottom: 14px; }
    .ban-item { padding: 12px; margin-bottom: 10px; }
    .ban-item .title { font-size: 14px; }
    .ban-item .meta { font-size: 12px; }
    .species-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .species-card { padding: 12px; }
    .species-card .name { font-size: 13px; }
    .legal-section { padding: 28px 0; }
    .legal-section h3 { font-size: 16px; }
    .legal-section ul { font-size: 13px; }
    .add-reminder-btn { width: 100%; justify-content: center; margin-top: 12px; }

    /* 快速操作悬浮按钮 */
    .quick-action-fab { position: fixed; bottom: 80px; right: 16px; width: 48px; height: 48px; background: var(--fb-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); z-index: 999; cursor: pointer; }
}

@media (max-width: 480px) {
    .rules-hero h1 { font-size: 20px; }
    .stats-bar { gap: 8px; }
    .stat-item { min-width: 60px; }
    .stat-num { font-size: 18px; }
    .calendar-grid { grid-template-columns: repeat(3, 1fr); }
    .month-cell { padding: 8px 4px; font-size: 10px; }
    .tab-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .tab-btn { flex-shrink: 0; white-space: nowrap; }
    .species-grid { grid-template-columns: 1fr; }
    .countdown-unit { min-width: 45px; padding: 8px 10px; }
    .countdown-unit .num { font-size: 18px; }
    .edu-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Block 2: AI 咨询浮窗样式 ===== */
.ai-chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }
.ai-chat-toggle { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4); display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s; position: relative; }
.ai-chat-toggle:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5); }
.ai-badge { position: absolute; top: -4px; right: -4px; background: #10b981; color: white; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; }
.ai-chat-panel { position: absolute; bottom: 70px; right: 0; width: 360px; max-height: 500px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; overflow: hidden; }
.ai-chat-panel.open { display: flex; animation: slideUp 0.3s ease; }
.ai-chat-header { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); color: white; padding: 16px; display: flex; align-items: center; gap: 12px; }
.ai-avatar { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ai-title { flex: 1; }
.ai-name { font-weight: 700; font-size: 15px; display: block; }
.ai-status { font-size: 12px; opacity: 0.9; }
.ai-close { background: none; border: none; color: white; cursor: pointer; opacity: 0.8; padding: 4px; }
.ai-close:hover { opacity: 1; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 16px; max-height: 280px; }
.ai-message { margin-bottom: 16px; }
.ai-message.bot .message-content { background: #f1f5f9; border-radius: 12px 12px 12px 4px; padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.ai-message.user .message-content { background: #2563eb; color: white; border-radius: 12px 12px 4px 12px; padding: 12px 16px; font-size: 14px; margin-left: auto; max-width: 85%; }
.ai-message.user { text-align: right; }
.ai-message .typing { display: flex; gap: 4px; padding: 12px 16px; }
.ai-message .typing span { width: 8px; height: 8px; background: #94a3b8; border-radius: 50%; animation: typingBounce 1s infinite; }
.ai-message .typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-message .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.ai-chat-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid #e2e8f0; }
.ai-chat-input input { flex: 1; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; font-size: 16px; outline: none; }
.ai-chat-input input:focus { border-color: #2563eb; }
.ai-chat-input button { width: 40px; height: 40px; border-radius: 8px; background: #2563eb; border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ai-chat-input button:hover { background: #1d4ed8; }
.ai-chat-input button:disabled { background: #94a3b8; cursor: not-allowed; }
.ai-suggestions { display: flex; gap: 8px; padding: 0 16px 12px; flex-wrap: wrap; }
.suggestion-chip { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 16px; padding: 6px 12px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.suggestion-chip:hover { background: #e2e8f0; border-color: #2563eb; }
.ban-warning { background: #fef2f2; border-left: 3px solid #ef4444; padding: 10px 12px; margin-top: 10px; border-radius: 0 8px 8px 0; font-size: 13px; }
.ban-safe { background: #f0fdf4; border-left: 3px solid #22c55e; padding: 10px 12px; margin-top: 10px; border-radius: 0 8px 8px 0; font-size: 13px; }
@media (max-width: 480px) {
    .ai-chat-panel { width: calc(100vw - 32px); right: -8px; bottom: 60px; max-height: calc(100vh - 120px); }
    .ai-chat-widget { bottom: 16px; right: 16px; }
    .ai-chat-toggle { width: 48px; height: 48px; }
    /* iOS防缩放：input font-size >= 16px */
    .ai-chat-input input { font-size: 16px; }
}

/* ===== Block 3: 三级联动区域选择器 ===== */
.region-selector { background: white; border-radius: 12px; border: 1px solid var(--fb-gray-200); padding: 16px 20px; margin-bottom: 24px; }
.region-selects { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.region-select-wrapper { flex: 1; min-width: 120px; }
.region-label { display: block; font-size: 12px; font-weight: 600; color: var(--fb-gray-text); margin-bottom: 6px; }
.region-select { width: 100%; padding: 10px 32px 10px 12px; font-size: 14px; font-weight: 500; border: 1px solid var(--fb-gray-200); border-radius: 8px; background: white; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.region-select:focus { outline: none; border-color: var(--fb-blue); }
.region-select:disabled { background-color: #f8fafc; color: #94a3b8; cursor: not-allowed; }
.region-search-btn { padding: 10px 20px; background: var(--fb-blue); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: all 0.2s; }
.region-search-btn:hover { background: #1d4ed8; }
.region-status-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--fb-gray-100); flex-wrap: wrap; gap: 10px; }
.region-current { display: flex; align-items: center; gap: 12px; }
.region-path { font-size: 15px; font-weight: 600; color: #1e293b; }
.region-reset { font-size: 12px; color: var(--fb-blue); text-decoration: none; }
.region-reset:hover { text-decoration: underline; }
.region-actions { display: flex; align-items: center; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: white; border: 1px solid var(--fb-gray-200); border-radius: 8px; cursor: pointer; transition: all 0.2s; color: var(--fb-gray-text); }
.share-btn:hover { border-color: var(--fb-blue); color: var(--fb-blue); }
.province-status-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.province-status-tag.banned { background: #fef2f2; color: #dc2626; }
.province-status-tag.safe { background: #f0fdf4; color: #16a34a; }

@media (max-width: 768px) {
    .region-selects { flex-direction: column; gap: 10px; }
    .region-select-wrapper { min-width: 100%; }
    .region-search-btn { width: 100%; justify-content: center; }
    .region-status-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .region-actions { width: 100%; justify-content: space-between; }
}

/* ===== Block 4: 订阅提醒横幅 ===== */
.subscribe-banner { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.subscribe-banner-content { display: flex; align-items: center; gap: 14px; }
.subscribe-banner-icon { width: 44px; height: 44px; background: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15); }
.subscribe-banner-text { }
.subscribe-banner-text strong { display: block; font-size: 15px; color: #1e40af; margin-bottom: 2px; }
.subscribe-banner-text span { font-size: 13px; color: #3b82f6; }
.subscribe-banner-btn { background: #2563eb; color: white; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.subscribe-banner-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
@media (max-width: 640px) {
    .subscribe-banner { flex-direction: column; text-align: center; padding: 20px 16px; }
    .subscribe-banner-content { flex-direction: column; }
    .subscribe-banner-btn { width: 100%; }
}

/* ===== Block 5: 搜索无结果状态 ===== */
.no-results-card { background: white; border-radius: 12px; border: 1px solid var(--fb-gray-200); padding: 48px 32px; text-align: center; margin-bottom: 24px; }
.no-results-icon { margin-bottom: 20px; }
.no-results-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px 0; color: #334155; }
.no-results-card p { color: var(--fb-gray-text); margin-bottom: 24px; }
.no-results-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; }
.no-results-actions .btn-primary { background: var(--fb-blue); color: white; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.no-results-actions .btn-secondary { background: var(--fb-gray-100); color: #334155; padding: 12px 24px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; }
.search-tips { text-align: left; background: #f8fafc; padding: 16px 20px; border-radius: 8px; font-size: 14px; }
.search-tips ul { margin: 8px 0 0 16px; padding: 0; color: var(--fb-gray-text); }
.search-tips li { margin-bottom: 4px; }
@media (max-width: 480px) {
    .no-results-actions { flex-direction: column; }
    .no-results-card { padding: 32px 20px; }
}

/* ===== Block 6: 禁渔位置标签 ===== */
.ban-location { font-size: 12px; color: #64748b; font-weight: normal; background: #f1f5f9; padding: 2px 8px; border-radius: 4px; margin-left: 6px; }

/* ===== Block 7: 移动端快速操作按钮 ===== */
.mobile-fab-container { display: none; position: fixed; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); right: 12px; flex-direction: column; gap: 8px; z-index: 998; opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.mobile-fab-container.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-fab { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--fb-blue); color: white; box-shadow: 0 2px 10px rgba(58, 111, 140, 0.35); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; opacity: 0.85; }
.mobile-fab:active { transform: scale(0.95); }
.mobile-fab.secondary { width: 36px; height: 36px; background: var(--fb-surface); color: var(--fb-gray-text); box-shadow: 0 2px 8px rgba(0,0,0,0.12); opacity: 0.85; }
.mobile-fab.secondary:hover { color: var(--fb-blue); }

@media (max-width: 768px) {
    .mobile-fab-container { display: flex; }
    .ai-chat-widget { bottom: 90px; right: 16px; }
}

/* ===== Block 8: 订阅弹窗 ===== */
.subscribe-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; padding: 16px; }
.subscribe-modal.show { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.subscribe-modal-content { background: white; border-radius: 16px; padding: 28px; max-width: 400px; width: 100%; position: relative; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.close-modal { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; color: var(--fb-gray-text); cursor: pointer; line-height: 1; }
.close-modal:hover { color: #333; }
.subscribe-modal-content h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px 0; }
.modal-desc { color: var(--fb-gray-text); font-size: 14px; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #333; }
.form-group input, .form-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--fb-gray-200); border-radius: 8px; font-size: 16px; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--fb-blue); }
.subscribe-btn { width: 100%; padding: 14px; background: var(--fb-blue); color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.subscribe-btn:hover { background: #1d4ed8; }
.subscribe-btn:disabled { background: #94a3b8; cursor: not-allowed; }
.modal-footer { text-align: center; font-size: 12px; color: var(--fb-gray-text); margin-top: 16px; margin-bottom: 0; }
