.container { width: 100%; max-width: 820px; margin: 0 auto; padding: 20px; }
.back { display: inline-block; margin-bottom: 20px; color: #9ca3af; font-size: 0.9em; }
.back:hover { color: #10b981; }
.site-header { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; }
.site-logo { height: 80px; width: auto; object-fit: contain; }
.site-logo:hover { opacity: 0.85; }
.city-title { text-align: center; font-size: 2.5em; color: #10b981; margin: 0 0 6px; }
.timeline-grid { display: flex; flex-direction: column; gap: 20px; }
.day-card { background-color: #1f2937; border-radius: 12px; padding: 22px; display: flex; align-items: flex-start; box-shadow: 0 10px 15px rgba(0,0,0,0.3); border-left: 6px solid #3b82f6; flex-wrap: wrap; gap: 16px; }
.day-card.tomorrow { border-left-color: #f59e0b; }
.day-card.after-tomorrow { border-left-color: #ef4444; }
.day-meta { width: 120px; flex-shrink: 0; }
.day-label { font-size: 1.2em; font-weight: bold; }
.day-date { font-size: 0.85em; color: #9ca3af; margin-top: 3px; }
.day-picto { width: 80px; flex-shrink: 0; }
.day-picto svg { width: 72px; height: 72px; display: block; }
.day-details { flex-grow: 1; min-width: 260px; }
.day-temp { font-size: 1.05em; font-weight: bold; margin-bottom: 10px; }
.day-temp span { color: #10b981; }
.day-joke { font-style: italic; color: #d1d5db; line-height: 1.5; margin-bottom: 10px; }
.day-dicton { margin: 0 0 14px; padding: 8px 14px; border-left: 3px solid #78716c; background: rgba(120,113,108,0.1); border-radius: 0 6px 6px 0; color: #a8a29e; font-style: italic; font-size: 0.9em; line-height: 1.5; }
.dicton-icon { margin-right: 4px; }
.periodes-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.periode-block { flex: 1; min-width: 80px; background: #111827; border-radius: 8px; padding: 10px; text-align: center; border: 1px solid #374151; }
.periode-label { font-size: 0.75em; color: #9ca3af; margin-bottom: 4px; }
.periode-picto svg { width: 32px; height: 32px; margin: 4px auto; display: block; }
.periode-temp { font-size: 1.3em; font-weight: bold; color: #10b981; }
.periode-wind { font-size: 0.8em; color: #6b7280; margin-top: 3px; }
.survival-stats { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.85em; background: #111827; padding: 10px; border-radius: 8px; border: 1px solid #374151; }
.stat-badge { display: flex; align-items: center; gap: 5px; color: #9ca3af; }
.stat-badge strong { color: #f3f4f6; }
.faq { margin-top: 40px; }
.faq-title { font-size: 1.4em; color: #10b981; margin-bottom: 16px; }
.faq-item { background: #1f2937; border-radius: 10px; margin-bottom: 10px; border: 1px solid #374151; }
.faq-item summary { padding: 14px 18px; cursor: pointer; font-weight: bold; color: #f3f4f6; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: #10b981; font-size: 1.3em; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 18px 14px; margin: 0; color: #d1d5db; line-height: 1.6; }

/* Joke submission form */
.joke-submit { margin-top: 30px; }
.joke-submit > details { background: #1f2937; border-radius: 10px; border: 1px solid #374151; }
.joke-submit > details > summary { padding: 14px 18px; cursor: pointer; font-weight: bold; color: #10b981; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.joke-submit > details > summary::after { content: '+'; color: #10b981; font-size: 1.3em; }
'; }
.joke-submit__body { padding: 0 18px 18px; }
.joke-submit__body p { color: #9ca3af; font-size: 0.9em; margin-top: 0; }
.joke-submit__field { display: flex; flex-direction: column; gap: 6px; }
.joke-submit__field label { color: #f3f4f6; font-weight: 600; }
.joke-submit__field textarea { background: #111827; border: 1px solid #374151; color: #f3f4f6; border-radius: 6px; padding: 10px; font-size: 0.95em; font-family: inherit; resize: vertical; }
.joke-submit__hint { color: #6b7280; font-size: 0.82em; }
.joke-submit__btn { margin-top: 12px; background: #10b981; color: #fff; border: none; border-radius: 6px; padding: 10px 20px; font-size: 0.95em; cursor: pointer; font-weight: 600; }
.joke-submit__btn:hover { background: #059669; }
.flash--success { background: #065f46; color: #a7f3d0; padding: 12px 18px; border-radius: 8px; margin-bottom: 16px; }
.flash--error { background: #7f1d1d; color: #fca5a5; padding: 12px 18px; border-radius: 8px; margin-bottom: 16px; }

/* Nearby cities mesh */
.nearby-cities { margin-top: 40px; padding-top: 24px; border-top: 1px solid #374151; }
.nearby-cities__title { font-size: 1.1em; color: #9ca3af; margin-bottom: 14px; font-weight: 600; }
.nearby-cities__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nearby-cities__list li a { display: inline-block; padding: 6px 14px; background: #1f2937; border: 1px solid #374151; border-radius: 20px; color: #10b981; font-size: 0.88em; text-decoration: none; transition: background 0.15s; }
.nearby-cities__list li a:hover { background: #374151; color: #fff; }

/* Share buttons */
.share-section { margin: 32px 0; text-align: center; }
.share-title { color: #9ca3af; font-size: 0.95em; margin-bottom: 12px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 8px; font-size: 0.9em; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: opacity 0.2s, transform 0.1s; }
.share-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-btn--x { background: #000; color: #fff; }
.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--whatsapp { background: #25d366; color: #fff; }
.share-btn--copy { background: #374151; color: #e5e7eb; }
.share-btn--copied { background: #10b981 !important; color: #fff; }

/* Narrative summary */
.forecast-narrative { margin: 16px 0 24px; padding: 16px 20px; background: #1f2937; border-left: 4px solid #10b981; border-radius: 0 8px 8px 0; }
.forecast-narrative__text { color: #d1d5db; line-height: 1.7; font-size: 1em; margin: 0; }

/* Practical tips */
.forecast-tips { margin: 32px 0; }
.forecast-tips__title { font-size: 1.1em; color: #9ca3af; margin-bottom: 14px; font-weight: 600; }
.forecast-tips__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tip-card { background: #1f2937; border: 1px solid #374151; border-radius: 10px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; }
.tip-icon { font-size: 1.5em; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.tip-text { color: #d1d5db; font-size: 0.88em; line-height: 1.5; margin: 0; }

/* Vigilance banner */
.vigilance-banner { margin: 16px 0 24px; border-radius: 10px; overflow: hidden; border: 1px solid #374151; }
.vigilance-header { background: #111827; padding: 10px 16px; font-size: 0.85em; font-weight: 600; color: #9ca3af; border-bottom: 1px solid #374151; }
.vigilance-alerts { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: #111827; }
.vigilance-alert { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; font-size: 0.9em; }
.vigilance-alert__icon { font-size: 1.3em; }
.vigilance-alert__body { display: flex; flex-direction: column; }
.vigilance-alert__level { font-weight: 700; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.05em; }
.vigilance-alert__phenom { font-size: 0.9em; }
.vigilance--yellow  { background: rgba(234,179,8,0.15);  border: 1px solid #ca8a04; color: #fef08a; }
.vigilance--orange  { background: rgba(249,115,22,0.15); border: 1px solid #ea580c; color: #fed7aa; }
.vigilance--red     { background: rgba(239,68,68,0.15);  border: 1px solid #dc2626; color: #fca5a5; }
.vigilance--green   { background: rgba(34,197,94,0.1);   border: 1px solid #16a34a; color: #bbf7d0; }
.vigilance-source { padding: 6px 16px 10px; font-size: 0.75em; color: #6b7280; background: #111827; margin: 0; }
.vigilance-source a { color: #4b9af8; text-decoration: none; }
.vigilance-source a:hover { text-decoration: underline; }
