/* shared-styles.css — SINGLE SOURCE for WhimTrav's shared components (hero/buttons/content boxes/...).
   Generated by tools/consolidate_css.py from the reference page (index.html); pages keep only page-unique CSS inline.
   The page SKELETON (header/nav/footer/sticky bar/ad slot) is the shared skeleton.css appended at the end. */



/* ---- promoted: shared-component rules that pages defined and the reference page did not ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary-color: #2563eb; --secondary-color: #64748b; --success-color: #10b981; --danger-color: #ef4444; --warning-color: #f59e0b; --bg-color: #f8fafc; --card-bg: #ffffff; --text-color: #1e293b; --text-muted: #64748b; --border-color: #e2e8f0; --shadow: 0 1px 3px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.main-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.main-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; padding: 0.5rem 0.75rem; border-radius: 0.375rem; transition: all 0.2s; white-space: nowrap; }
.main-nav a:hover,
.main-nav a.active { color: var(--primary-color); background-color: #eff6ff; }
.auth-section { display: flex; align-items: center; gap: 1rem; }
#userInfo { display: flex; align-items: center; gap: 1rem; }
#userName { font-weight: 500; color: var(--text-color); }
.btn-primary, .btn-secondary { padding: 0.5rem 1.25rem; border: none; border-radius: 0.375rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: #1d4ed8; }
.btn-primary:disabled { background-color: var(--text-muted); cursor: not-allowed; }
.btn-secondary { background-color: var(--secondary-color); color: white; }
.btn-secondary:hover { background-color: #475569; }
.page-hero { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); color: white; padding: 3rem 2rem; text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.map-section { background: var(--card-bg); margin-top: 2rem; padding: 2rem 0; border-radius: 0.5rem; box-shadow: var(--shadow); }
.map-controls { margin-bottom: 1rem; }
.map-controls h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.map-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1rem; border: 1px solid var(--border-color); background: white; border-radius: 0.375rem; cursor: pointer; transition: all 0.2s; font-size: 0.875rem; }
.filter-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.filter-btn.active { background-color: var(--primary-color); color: white; border-color: var(--primary-color); }
#map { height: 500px; border-radius: 0.5rem; margin: 1rem 0; border: 1px solid var(--border-color); }
.map-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; padding: 1rem; background: var(--bg-color); border-radius: 0.375rem; margin-top: 1rem; align-items: center; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; white-space: nowrap; }
.marker { width: 12px; height: 12px; min-width: 12px; min-height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.marker.validated { background-color: var(--success-color); }
.marker.pending { background-color: var(--warning-color); }
.marker.dump-station { background-color: var(--primary-color); }
.forum-section { margin-top: 3rem; margin-bottom: 3rem; }
.forum-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.forum-header h2 { font-size: 1.75rem; }
.forum-controls { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 300px; padding: 0.625rem 1rem; border: 1px solid var(--border-color); border-radius: 0.375rem; font-size: 0.875rem; }
.search-input:focus { outline: none; border-color: var(--primary-color); }
.sort-select, .filter-select { padding: 0.625rem 1rem; border: 1px solid var(--border-color); border-radius: 0.375rem; background: white; cursor: pointer; font-size: 0.875rem; }
.thread-list { display: flex; flex-direction: column; gap: 1rem; }
.thread-item { background: var(--card-bg); padding: 1.5rem; border-radius: 0.5rem; box-shadow: var(--shadow); cursor: pointer; transition: all 0.2s; border: 1px solid var(--border-color); }
.thread-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.thread-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 0.75rem; }
.thread-title { font-size: 1.125rem; font-weight: 600; color: var(--text-color); margin-bottom: 0.5rem; }
.thread-meta { display: flex; gap: 1rem; font-size: 0.875rem; color: var(--text-muted); flex-wrap: wrap; }
.author { font-weight: 500; color: var(--primary-color); }
.thread-stats { display: flex; gap: 2rem; font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; }
.stat { display: flex; align-items: center; gap: 0.25rem; }
.category { background: var(--bg-color); padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 500; }
.loading { text-align: center; padding: 3rem; color: var(--text-muted); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 2rem; }
.page-btn { padding: 0.5rem 1rem; border: 1px solid var(--border-color); background: white; border-radius: 0.375rem; cursor: pointer; }
.page-btn:hover { background: var(--bg-color); }
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); overflow-y: auto; }
.modal-content { background-color: var(--card-bg); margin: 3% auto; padding: 2rem; border-radius: 0.5rem; max-width: 900px; width: 90%; box-shadow: var(--shadow-lg); }
.modal-content.small { max-width: 500px; }
.close { color: var(--text-muted); float: right; font-size: 28px; font-weight: bold; cursor: pointer; }
.close:hover { color: var(--text-color); }
.thread-header-modal { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
#threadTitle { font-size: 1.5rem; margin-bottom: 0.75rem; }
.thread-body { margin-bottom: 2rem; line-height: 1.8; }
.thread-rating { display: flex; gap: 1rem; margin-bottom: 2rem; padding: 1rem; background: var(--bg-color); border-radius: 0.375rem; }
.vote-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid var(--border-color); background: white; border-radius: 0.375rem; cursor: pointer; font-weight: 500; }
.vote-btn:hover { background: var(--bg-color); }
.replies-section { margin-top: 2rem; }
.replies-section h3 { margin-bottom: 1rem; }
#repliesList { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.reply-item { background: var(--bg-color); padding: 1rem; border-radius: 0.375rem; border-left: 3px solid var(--primary-color); }
.reply-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.875rem; }
.reply-body { line-height: 1.6; }
.reply-form { margin-top: 1rem; }
#replyText { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 0.375rem; resize: vertical; font-family: inherit; margin-bottom: 1rem; }
.login-prompt { text-align: center; padding: 2rem; background: var(--bg-color); border-radius: 0.375rem; color: var(--text-muted); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 0.375rem; font-family: inherit; font-size: 0.875rem; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary-color); }
.trial-notice { margin-top: 1rem; text-align: center; font-size: 0.875rem; color: var(--text-muted); }
.google-signin-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.75rem 1.5rem; background-color: white; border: 1px solid var(--border-color); border-radius: 0.375rem; font-size: 0.9375rem; font-weight: 500; color: var(--text-color); cursor: pointer; transition: all 0.2s; }
.google-signin-btn:hover { background-color: var(--bg-color); box-shadow: var(--shadow); }
.google-signin-btn svg { flex-shrink: 0; }
.login-divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; }
.login-divider::before,
.login-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border-color); }
.login-divider span { padding: 0 1rem; color: var(--text-muted); font-size: 0.875rem; }
.trip-panel { position: fixed; right: 20px; top: 120px; width: 320px; max-height: calc(100vh - 140px); background: var(--card-bg); border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); z-index: 900; overflow: hidden; display: flex; flex-direction: column; }
.trip-panel-header { padding: 16px; background: linear-gradient(135deg, #10b981, #059669); color: white; }
.trip-panel-header h3 { margin: 0 0 8px 0; font-size: 18px; }
.trip-name-input { width: 100%; padding: 8px 12px; border: none; border-radius: 6px; font-size: 14px; background: rgba(255, 255, 255, 0.9); }
.trip-name-input:focus { outline: none; background: white; }
.trip-stops-list { flex: 1; overflow-y: auto; padding: 12px; max-height: 180px; min-height: 80px; }
.trip-stop-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-color); border-radius: 8px; margin-bottom: 8px; transition: all 0.2s; }
.trip-stop-item:hover { background: #e2e8f0; }
.trip-stop-number { width: 28px; height: 28px; background: #10b981; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0; }
.trip-stop-info { flex: 1; min-width: 0; }
.trip-stop-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-stop-location { font-size: 12px; color: var(--text-muted); }
.trip-stop-remove { width: 24px; height: 24px; background: #ef4444; color: white; border: none; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; flex-shrink: 0; transition: background 0.2s; }
.trip-stop-remove:hover { background: #dc2626; }
.trip-panel-footer { padding: 16px; border-top: 1px solid var(--border-color); background: var(--card-bg); flex-shrink: 0; margin-top: auto; }
.amenity-checkbox { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--bg-color); border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.amenity-checkbox:hover { background: #e2e8f0; }
.amenity-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: #10b981; }
.serper-marker { background: transparent; border: none; }
.search-input.loading { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8Z'%3E%3CanimateTransform attributeName='transform' dur='1s' repeatCount='indefinite' type='rotate' values='0 12 12; 360 12 12'/%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.toast-notification { animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateX(-50%) translateY(20px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
.trip-section { padding: 12px 16px; border-bottom: 1px solid var(--border-color); }
.trip-location-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.trip-location-row:last-child { margin-bottom: 0; }
.location-input-group { display: flex; align-items: center; gap: 0; background: white; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.location-input-group:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1); }
.location-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; color: white; flex-shrink: 0; margin-left: 8px; }
.location-icon.start-icon { background: #22c55e; }
.location-icon.dest-icon { background: #ef4444; }
.location-input { flex: 1; border: none; padding: 10px 8px; font-size: 14px; outline: none; min-width: 0; }
.location-input::placeholder { color: #94a3b8; font-size: 13px; }
.btn-map-pick { background: var(--bg-color); border: none; border-left: 1px solid var(--border-color); padding: 8px 12px; cursor: pointer; font-size: 16px; transition: background 0.2s; }
.btn-map-pick:hover { background: #e2e8f0; }
.location-text { font-size: 11px; color: var(--text-muted); padding-left: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-input-wrapper { position: relative; }
.autocomplete-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 8px 8px; max-height: 200px; overflow-y: auto; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: none; }
.autocomplete-dropdown.active { display: block; }
.autocomplete-item { padding: 10px 12px; cursor: pointer; border-bottom: 1px solid var(--border-color); font-size: 13px; transition: background 0.15s; }
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: #f0f9ff; }
.autocomplete-item-name { font-weight: 500; color: var(--text-color); }
.autocomplete-item-address { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.autocomplete-loading { padding: 12px; text-align: center; color: var(--text-muted); font-size: 13px; }
.leaflet-control-attribution { z-index: 800 !important; left: 0 !important; right: auto !important; }
#mapInfoPanel { position: fixed; top: 120px; right: 20px; z-index: 1000; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); max-width: 320px; min-width: 280px; display: none; }
body.trip-planning-active #mapInfoPanel { right: 360px; top: 310px; }
#mapInfoPanel.visible { display: block; }
#mapInfoPanel .info-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; border-radius: 8px 8px 0 0; }
#mapInfoPanel .info-title { font-weight: 600; font-size: 15px; color: #1e293b; flex: 1; padding-right: 8px; }
#mapInfoPanel .info-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #64748b; padding: 0; line-height: 1; }
#mapInfoPanel .info-close:hover { color: #ef4444; }
#mapInfoPanel .info-content { padding: 12px; max-height: 400px; overflow-y: auto; }
#mapInfoPanel .info-content p { margin: 0 0 8px 0; font-size: 13px; color: #475569; }
#mapInfoPanel .info-content .info-label { font-weight: 600; color: #1e293b; }
#mapInfoPanel .info-actions { padding: 12px; border-top: 1px solid #e5e7eb; display: flex; flex-direction: column; gap: 8px; }
#mapInfoPanel .info-actions button { width: 100%; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; }
.trip-prefs-title { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.trip-prefs-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.trip-prefs-row:last-child { margin-bottom: 0; }
.trip-prefs-row label { color: var(--text-color); }
.trip-prefs-row input[type="number"] { width: 70px; padding: 6px 8px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; text-align: center; }
.trip-prefs-row input[type="number"]:focus { outline: none; border-color: var(--primary-color); }
.btn-search-route { width: 100%; padding: 12px 16px; background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-search-route:hover:not(:disabled) { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }
.btn-search-route:disabled { background: #94a3b8; cursor: not-allowed; }
.map-login-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.95); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(5px); }
.map-login-overlay.hidden { display: none; }
.map-login-content { text-align: center; padding: 40px; background: white; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 400px; }
.map-login-content h2 { margin-bottom: 16px; color: var(--text-color); }
.map-login-content p { margin-bottom: 24px; color: var(--text-muted); }
.map-login-content .btn-primary { padding: 12px 32px; font-size: 16px; }
.blog-article { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.blog-header { margin-bottom: 30px; }
.blog-category { display: inline-block; background: #10b981; color: #0f0f1a; padding: 4px 12px; border-radius: 20px; font-size: 12px; text-transform: uppercase; margin-bottom: 15px; font-weight: 600; }
.blog-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 15px; color: #fff; }
.blog-meta { color: #888; font-size: 14px; }
.blog-content { line-height: 1.8; color: #374151; }
.blog-content h2 { color: #1e40af; margin-top: 40px; margin-bottom: 20px; font-size: 1.75rem; }
.blog-content h3 { color: #1f2937; margin-top: 30px; margin-bottom: 15px; font-size: 1.25rem; }
.blog-content p { margin-bottom: 20px; }
.blog-content ul, .blog-content ol { margin-bottom: 20px; padding-left: 25px; }
.blog-content li { margin-bottom: 10px; }
.blog-content a { color: #10b981; }
.blog-content a:hover { text-decoration: underline; }
.blog-content a.cta-button { display: inline-block; background: #10b981; color: white; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: 600; margin-top: 20px; }
.blog-content a.cta-button:hover { background: #059669; text-decoration: none; }
.back-link { display: inline-block; color: #10b981; margin-bottom: 20px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.blog-footer { background: #1a1a2e; text-align: center; padding: 2rem; color: #94a3b8; font-size: 0.9rem; border-top: 1px solid #2d2d4a; margin-top: 3rem; }
.blog-footer a { color: #10b981; text-decoration: none; margin: 0 10px; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #f8fafc; }
.blog-content th, .blog-content td { border: 1px solid #e2e8f0; padding: 12px; text-align: left; }
.blog-content th { background: #1e40af; color: white; }
.blog-container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.warning-box { background-color: #fff3cd; border: 1px solid #ffc107; border-radius: 8px; padding: 20px; margin: 20px 0; }
.warning-box h3 { margin-top: 0; color: #856404; }
.contact-box { background-color: #e3f2fd; border: 1px solid #3498db; border-radius: 8px; padding: 20px; margin-top: 30px; }
.contact-box p { margin-bottom: 8px; }
.deals-container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.app-promo { background: linear-gradient(90deg, #3b82f6, #1e40af); border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.app-promo h3 { color: white; font-size: 1.3rem; margin: 0; }
.app-promo p { color: rgba(255,255,255,0.9); margin: 0.25rem 0 0 0; }
.app-promo .btn-app { background: white; color: #1e40af; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: transform 0.2s; }
.app-promo .btn-app:hover { transform: scale(1.05); }
.deals-footer { text-align: center; padding: 2rem; color: #64748b; font-size: 0.85rem; border-top: 1px solid #e2e8f0; margin-top: 2rem; }
.deals-footer a { color: #3b82f6; text-decoration: none; }
.toc { background: #f8f9fa; padding: 25px; border-radius: 8px; margin-bottom: 30px; }
.toc h2 { margin-top: 0; font-size: 1.3rem; }
.toc ul { list-style: none; padding-left: 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: #3498db; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.deals-banner { background: linear-gradient(90deg, #10b981, #059669); border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.deals-banner h3 { color: white; font-size: 1.3rem; margin: 0; }
.deals-banner p { color: rgba(255,255,255,0.9); margin: 0.25rem 0 0 0; }
.deals-banner .btn-deals { background: white; color: #059669; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: transform 0.2s; }
.deals-banner .btn-deals:hover { transform: scale(1.05); }
.page-hero .resource-header { max-width: 960px; margin: 0 auto; padding: 30px 20px 50px; color: #fff; }
.page-hero .resource-title { color: #fff !important; font-size: 2.4rem; line-height: 1.15; margin: 8px 0 12px; font-weight: 700; }
.page-hero .resource-meta { color: rgba(255,255,255,0.85); font-size: 14px; }
.page-hero .resource-category { background: #fff; color: #1e40af; padding: 4px 12px; border-radius: 20px; font-size: 11px; text-transform: uppercase; font-weight: 700; display: inline-block; }
@media (max-width: 768px) {
    .page-hero h1 { font-size: 2rem; }
    .page-hero p { font-size: 1rem; }
    .main-nav { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .main-nav a { font-size: 0.875rem; padding: 0.5rem 0.75rem; }
    .auth-section { justify-content: center; flex-wrap: wrap; }
    #userName { font-size: 0.875rem; }
    .forum-controls { flex-direction: column; gap: 0.75rem; }
    .search-input { min-width: 100%; }
    .sort-select, .filter-select { width: 100%; }
    #map { height: 350px; }
    .map-legend { flex-direction: column; gap: 0.5rem; }
    .map-filters { justify-content: center; }
    .filter-btn { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
    .thread-item { padding: 1rem; }
    .thread-title { font-size: 1rem; }
    .thread-meta { flex-direction: column; gap: 0.5rem; }
    .thread-stats { flex-direction: column; gap: 0.5rem; }
    .modal-content { width: 95%; margin: 5% auto; padding: 1.5rem; }
    .modal-content.small { max-width: 95%; }
    .btn-primary, .btn-secondary { padding: 0.625rem 1rem; font-size: 0.875rem; }
    .container { padding: 0 15px; }
    .pagination { flex-direction: column; gap: 1rem; }
    .page-btn { width: 100%; }
    .trip-panel { position: fixed; right: 10px; left: 10px; top: auto; bottom: 10px; width: auto; max-height: 50vh; }
    .trip-stops-list { max-height: 200px; }
    .trip-prefs-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .trip-prefs-row input[type="number"] { width: 100%; }
    .blog-title { font-size: 1.75rem; }
    .warning-box,
            .danger-box,
            .info-box,
            .success-box,
            .contact-box,
            .step-box { padding: 15px; }
    .toc { padding: 20px; }
    .toc h2 { font-size: 1.2rem; }
    .contact-box,
            .highlight-section { padding: 15px; }
    .contact-box,
            .warning-section { padding: 15px; }
    .page-hero .resource-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .page-hero h1 { font-size: 1.75rem; }
    .main-nav { gap: 0.25rem; }
    .main-nav a { font-size: 0.75rem; padding: 0.4rem 0.6rem; }
    .thread-item { padding: 0.75rem; }
    .thread-title { font-size: 0.9rem; }
    .modal-content { padding: 1rem; }
    .warning-box,
            .danger-box,
            .info-box,
            .success-box,
            .contact-box,
            .step-box { padding: 12px; }
    .toc { padding: 15px; }
}
@media (max-width: 600px) {
    .deals-hero h1 { font-size: 1.8rem; }
    .deals-container { padding: 1rem; }
    .app-promo { flex-direction: column; text-align: center; }
    .deals-banner { flex-direction: column; text-align: center; }
}

/* ---- site theme: the values behind the skeleton's --sk-* variables ---- */
:root { --sk-header-bg: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); --sk-header-border: #1e3a8a; --sk-header-shadow: 0 4px 20px rgba(0,0,0,0.25); --sk-logo-text: #ffffff; --sk-logo-a: #ffffff; --sk-logo-b: #dbeafe; --sk-nav-link: rgba(255,255,255,0.9); --sk-nav-link-hover: #ffffff; --sk-nav-divider: rgba(255,255,255,0.25); --sk-nav-social: rgba(255,255,255,0.75); --sk-nav-social-hover: #ffffff; --sk-toggle-border: rgba(255,255,255,0.4); --sk-toggle-bar: #ffffff; --sk-footer-bg: #1a202c; --sk-footer-border: #2d3748; --sk-footer-text: #a0aec0; --sk-footer-link: #90cdf4; --sk-social: #a0aec0; --sk-social-hover: #ffffff; --sk-social-hover-fill: #60a5fa; --sk-sticky-bg: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%); --sk-sticky-text: #ffffff; --sk-sticky-btn-bg: #ffffff; --sk-sticky-btn-text: #1e40af; --sk-sticky-shadow: 0 -4px 20px rgba(0,0,0,0.3); --sk-amazon-bg: linear-gradient(90deg, #2563eb, #1e40af); --sk-amazon-text: #ffffff; --sk-link: #2563eb; --sk-card-gap: 30px; --sk-card-bg: #1a1a2e; --sk-card-border: transparent; --sk-card-shadow: none; --sk-card-border-hover: transparent; --sk-card-shadow-hover: 0 10px 40px rgba(16, 185, 129, 0.3); --sk-card-tag-bg: #10b981; --sk-card-tag-text: #0f0f1a; --sk-card-title: #fff; --sk-card-text: #999; --sk-card-meta: #666; --sk-card-link: #10b981; }

/* skeleton.css — the SHARED page skeleton for every JB-AI site (WEB_STANDARD.md): header, logo, nav + mobile hamburger,
   social icons, footer, sticky app CTA bar, ad slot, affiliate button, base link color.

   NO COLORS LIVE HERE (founder 2026-09-09: "the template should have no specific colors, it should just be a skeleton").
   Every color, gradient and shadow is a `--sk-*` variable with NO fallback; each site defines the full set in its
   site.json "theme" block (consolidate_css.py refuses to build a site whose theme misses one). Layout only below.
   Appended AFTER each site's own sheet by tools/consolidate_css.py. */

.header { background: var(--sk-header-bg); border-bottom: 1px solid var(--sk-header-border); padding: 1rem 2rem; position: sticky; top: 0; z-index: 100; box-shadow: var(--sk-header-shadow); }
.header-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--sk-logo-text); }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.logo span { font-size: 1.4rem; font-weight: 700; background: linear-gradient(135deg, var(--sk-logo-a) 0%, var(--sk-logo-b) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--sk-nav-link); text-decoration: none; font-weight: 500; transition: color 0.2s; font-size: 0.95rem; white-space: nowrap; }
.nav-links a:hover { color: var(--sk-nav-link-hover); text-decoration: underline; }
.nav-social { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; padding-left: 1rem; border-left: 1px solid var(--sk-nav-divider); }
.nav-social a { color: var(--sk-nav-social); transition: color 0.2s, transform 0.2s; display: flex; }
.nav-social a:hover { color: var(--sk-nav-social-hover); transform: scale(1.1); text-decoration: none; }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer { background: var(--sk-footer-bg); border-top: 1px solid var(--sk-footer-border); text-align: center; padding: 2rem; margin-top: 3rem; padding-bottom: 100px; color: var(--sk-footer-text); font-size: 0.9rem; }
.footer a { color: var(--sk-footer-link); text-decoration: none; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; margin-top: 1rem; }
.footer-disclaimer { font-size: 0.85rem; opacity: 0.7; max-width: 600px; margin: 1rem auto 0; }
.social-icons { display: flex; justify-content: center; gap: 1.25rem; margin: 1rem 0; }
.social-icons a { color: var(--sk-social); transition: color 0.2s, transform 0.2s; }
.social-icons a:hover { color: var(--sk-social-hover); transform: scale(1.1); text-decoration: none; }
.social-icons svg { width: 24px; height: 24px; fill: currentColor; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--sk-sticky-bg); padding: 12px 20px; display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 1000; box-shadow: var(--sk-sticky-shadow); }
.sticky-cta span { color: var(--sk-sticky-text); font-weight: 500; font-size: 0.95rem; }
.sticky-cta-buttons { display: flex; gap: 10px; }
.sticky-cta-buttons a { background: var(--sk-sticky-btn-bg); color: var(--sk-sticky-btn-text); padding: 8px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: transform 0.2s; }
.sticky-cta-buttons a:hover { transform: scale(1.05); }
@media (max-width: 600px) {
    .header-content { flex-direction: column; }
    .nav-social { margin-left: 0; padding-left: 0; border-left: none; margin-top: 0.5rem; }
    .sticky-cta { flex-direction: column; gap: 10px; padding: 10px 15px; }
    .sticky-cta span { font-size: 0.85rem; text-align: center; }
}
.logo:hover { text-decoration: none; }
.footer p { color: var(--sk-footer-text); margin-bottom: 0.75rem; }
.footer-links a { color: var(--sk-footer-link); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; }
.social-icons a:hover svg { fill: var(--sk-social-hover-fill); }
@media (max-width: 768px) {
    .header { padding: 1rem; }
    .header-content { flex-direction: column; gap: 1rem; }
    .nav-links { gap: 0.75rem 1rem; justify-content: center; }
    .nav-social { margin-left: 0; padding-left: 0; border-left: none; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--sk-nav-divider); }
    .footer { padding: 1.5rem 1rem; }
    .footer-links { gap: 0.5rem 1rem; }
}
@media (max-width: 480px) {
    .logo-text { font-size: 1.1rem; }
    .nav-links { font-size: 0.9rem; }
}
.nav-toggle { display: none; background: none; border: 1px solid var(--sk-toggle-border); border-radius: 8px; width: 42px; height: 38px; padding: 7px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--sk-toggle-bar); border-radius: 2px; }
@media (max-width: 768px) {
    .header-content { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
    .nav-toggle { display: flex; }
    .nav-links, .nav-social { display: none; }
    .header.nav-open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 0.75rem; padding-top: 0.75rem; font-size: 1rem; }
    .header.nav-open .nav-social { display: flex; width: 100%; margin: 0.5rem 0 0; padding: 0.5rem 0 0; border-left: none; border-top: 1px solid var(--sk-nav-divider); }
}
.btn-amazon { display: block; background: var(--sk-amazon-bg); color: var(--sk-amazon-text); text-align: center; padding: 0.65rem 1.25rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: opacity 0.2s, transform 0.2s; }
.btn-amazon:hover { color: var(--sk-amazon-text); text-decoration: none; opacity: 0.92; transform: translateY(-1px); }
.ad-slot { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }
.ad-slot ins.adsbygoogle[data-ad-status="unfilled"] { display: none; }
.ad-slot ins.adsbygoogle[data-ad-status="filled"] { margin: 8px 0; }
.ad-slot ins.adsbygoogle { display: inline-block; width: 320px; height: 100px; }
@media (min-width: 500px) {
    .ad-slot ins.adsbygoogle { width: 468px; height: 60px; }
}
@media (min-width: 800px) {
    .ad-slot ins.adsbygoogle { width: 728px; height: 90px; }
}
a { color: var(--sk-link); }

/* ---- optional sign-in slot (site.json "auth": true): #loginBtn / #userInfo+#userName / #logoutBtn, driven by the site's own auth script ---- */
.auth-section { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }
.auth-section #userInfo { align-items: center; gap: 0.6rem; color: var(--sk-nav-link); font-size: 0.9rem; }
.auth-section button { background: var(--sk-sticky-btn-bg); color: var(--sk-sticky-btn-text); border: none; border-radius: 6px; padding: 6px 14px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: transform 0.2s; }
.auth-section button:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .auth-section { display: none; }
    .header.nav-open .auth-section { display: flex; width: 100%; margin: 0.5rem 0 0; }
}

/* ---- blog card (Decision #9, founder 2026-09-09: "the boxes in blog ... paychunk is different"). ONE structure on every site:
   <a class="blog-card"> > .blog-card-category, h2, p, .blog-card-meta, .read-more — inside a .blog-grid. Colors via --sk-card-*. ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sk-card-gap); }
.blog-card { background: var(--sk-card-bg); border-radius: 12px; padding: 1.5rem; border: 1px solid var(--sk-card-border); box-shadow: var(--sk-card-shadow); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; text-decoration: none; display: block; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--sk-card-border-hover); box-shadow: var(--sk-card-shadow-hover); }
.blog-card-category { display: inline-block; background: var(--sk-card-tag-bg); color: var(--sk-card-tag-text); padding: 4px 12px; border-radius: 20px; font-size: 11px; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.blog-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--sk-card-title); line-height: 1.4; text-align: left; }
.blog-card p { font-size: 0.9rem; color: var(--sk-card-text); margin-bottom: 1rem; text-align: left; }
.blog-card-meta { color: var(--sk-card-meta); font-size: 0.85rem; margin-bottom: 0.5rem; }
.read-more { color: var(--sk-card-link); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}
