/* ============================================================
   Météo Montagne Conseils – style.css v1.2.0
   Design fidèle aux captures : conditions + scroll 7j + scroll heures + dots
   ============================================================ */

:root {
    --mmc-green:   #10b981;
    --mmc-blue:    #3b82f6;
    --mmc-orange:  #f59e0b;
    --mmc-red:     #ef4444;
    --mmc-gray:    #6b7280;
    --mmc-dark:    #111827;
    --mmc-light:   #f9fafb;
    --mmc-radius:  20px;
    --mmc-shadow:  0 2px 16px rgba(0,0,0,.08);
    --mmc-font:    inherit;
}

/* ---- Reset ---- */
.mmc-conditions-wrap *, .mmc-activites-grid *, .mmc-7j-block *,
.mmc-heures-block *, .mmc-comp-block *, .mmc-conseil-global *,
.mmc-cr-card *, .mmc-scroll-outer * { box-sizing: border-box; }

/* ================================================================
   ERREUR
================================================================ */
.mmc-error {
    background: #fef2f2;
    border-left: 4px solid var(--mmc-red);
    border-radius: 10px;
    padding: 16px 20px;
    color: #7f1d1d;
    font-size: 0.95em;
}

/* ================================================================
   SCROLL HORIZONTAL – wrapper universel
   outer = clip Y, visible X
   rail  = flex nowrap + overflow-x:auto
   cartes = triple-lock width
================================================================ */
.mmc-scroll-outer {
    display: block;
    width: 100%;
    overflow-x: visible;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.mmc-7j-rail,
.mmc-h-rail {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    gap: 12px;
    padding: 8px 2px 16px;
    scrollbar-width: none;    /* Firefox – on n'affiche pas la scrollbar native */
    touch-action: pan-x;
    cursor: grab;
}
.mmc-7j-rail:active,
.mmc-h-rail:active { cursor: grabbing; }

/* Masquer scrollbar webkit */
.mmc-7j-rail::-webkit-scrollbar,
.mmc-h-rail::-webkit-scrollbar { display: none; }

/* ================================================================
   DOTS DE NAVIGATION
================================================================ */
.mmc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 10px;
    min-height: 10px;
}

.mmc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background 0.25s, transform 0.25s;
    cursor: pointer;
    flex-shrink: 0;
}

.mmc-dot.mmc-dot-active {
    background: var(--mmc-blue);
    transform: scaleX(2.8);
    border-radius: 4px;
}

/* ================================================================
   CONDITIONS EN DIRECT – design Image 3
================================================================ */
.mmc-conditions-wrap { margin: 0 0 10px; }

.mmc-conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media(max-width:640px) { .mmc-conditions-grid { grid-template-columns: 1fr; } }

.mmc-cond-card {
    background: #fff;
    border-radius: var(--mmc-radius);
    box-shadow: var(--mmc-shadow);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

/* En-tête */
.mmc-cond-header { margin-bottom: 18px; }
.mmc-cond-header strong { font-size: 1em; font-weight: 700; color: var(--mmc-dark); }

/* Hero : grande température + emoji décoratif */
.mmc-cond-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mmc-cond-hero-left { display: flex; flex-direction: column; gap: 4px; }

.mmc-cond-big-temp {
    font-size: 3.4em;
    font-weight: 800;
    color: var(--mmc-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.mmc-cond-ressenti {
    font-size: 0.92em;
    color: var(--mmc-gray);
}

/* Emoji décoratif large en fond à droite */
.mmc-cond-hero-emoji {
    font-size: 4.5em;
    line-height: 1;
    opacity: 0.18;
    position: absolute;
    right: 20px;
    top: 50px;
    pointer-events: none;
    user-select: none;
}

/* Grille 3 colonnes x 2 lignes de métriques */
.mmc-cond-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
}

.mmc-cond-metric { display: flex; flex-direction: column; gap: 3px; }

.mmc-cond-metric-head {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78em;
    color: var(--mmc-gray);
}

.mmc-cond-metric-icon { font-size: 1em; }
.mmc-cond-metric-label { font-size: 0.72em; color: #6b7280; }

.mmc-cond-metric-val {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--mmc-dark);
}

.mmc-cond-bar {
    height: 3px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 2px;
}

.mmc-cond-bar-fill {
    height: 100%;
    border-radius: 99px;
}

/* ================================================================
   GRILLE ACTIVITÉS – cartes avec photos
================================================================ */
.mmc-activites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 4px 0 10px;
}
@media(max-width:900px) { .mmc-activites-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:520px) { .mmc-activites-grid { grid-template-columns: 1fr 1fr; gap:10px; } }

.mmc-act-card {
    position: relative;
    border-radius: var(--mmc-radius);
    overflow: hidden;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 16px rgba(0,0,0,.15);
}
.mmc-act-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.22); }

.mmc-act-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--mmc-radius);
}

.mmc-act-score-badge {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--mmc-dark);
    font-weight: 800;
    font-size: 0.88em;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    z-index: 2;
}
.mmc-act-hs { font-size: 0.7em; color: var(--mmc-gray); }

.mmc-act-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 16px 16px;
    z-index: 2;
    color: #fff;
}

.mmc-act-title {
    font-size: 1.1em; font-weight: 800;
    margin: 0 0 4px; color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
    border: none; padding: 0;
}

.mmc-act-advice {
    font-size: 0.74em; color: rgba(255,255,255,.92);
    line-height: 1.4; margin: 0 0 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.mmc-act-bottom { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.mmc-act-statut {
    font-size: 0.68em; font-weight: 700;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px; padding: 3px 10px;
    color: #fff; text-transform: uppercase; letter-spacing: 0.05em;
}

.mmc-act-creneau { font-size: 0.68em; color: rgba(255,255,255,.75); }

/* ================================================================
   PRÉVISIONS 7 JOURS + 15 JOURS – même design que les cartes heures
================================================================ */
.mmc-7j-block { margin: 4px 0 6px; }

.mmc-7j-card {
    flex: 0 0 140px !important;
    width: 140px !important;
    min-width: 140px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;

    background: #fff;
    border-radius: 18px;
    padding: 16px 12px 14px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

/* Même mise en valeur que mmc-h-now */
.mmc-7j-today {
    background: #f0f4ff;
    border: 2px solid #c7d7fb;
    box-shadow: 0 2px 14px rgba(59,130,246,.12);
}
.mmc-7j-good { border-top: 3px solid #86efac; }
.mmc-7j-bad  { border-top: 3px solid var(--mmc-red); background: #fef2f2; }
.mmc-15j-uncertain { opacity: 0.75; }

/* En-tête : jour + date (= .mmc-h-time) */
.mmc-7j-header { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-bottom: 2px; }
.mmc-7j-dname  { font-size: 0.95em; font-weight: 700; color: var(--mmc-dark); }
.mmc-7j-date   { font-size: 0.72em; color: var(--mmc-gray); }

/* Emoji grand — même taille que .mmc-h-emoji */
.mmc-7j-emoji  { font-size: 2.4em; line-height: 1; margin: 6px 0 4px; }

/* Condition météo courte */
.mmc-7j-cond   { font-size: 0.7em; color: var(--mmc-gray); line-height: 1.3; min-height: 2.2em; text-align: center; margin-bottom: 2px; }

/* Températures max/min (= .mmc-h-temp style) */
.mmc-7j-temps  { display: flex; gap: 6px; align-items: baseline; margin: 2px 0 4px; }
.mmc-tmax      { font-size: 1.25em; font-weight: 800; color: var(--mmc-dark); letter-spacing: -0.01em; line-height: 1; }
.mmc-tmin      { font-size: 0.88em; color: var(--mmc-gray); }

/* Métriques bas — même style que .mmc-h-metrics */
.mmc-7j-metrics {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 9px;
    border-top: 1px solid #f3f4f6;
    width: 100%;
    justify-content: center;
}
.mmc-7j-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.mmc-7j-mi { font-size: 0.95em; color: var(--mmc-gray); }
.mmc-7j-mv { font-size: 0.68em; color: var(--mmc-dark); font-weight: 600; }

/* badge ~ 15j */
.mmc-15j-approx { font-size: 0.62em; color: rgba(0,0,0,.3); font-weight: 700; margin-left: 2px; }
.mmc-15j-note   { font-size: 0.74em; color: #9ca3af; text-align: center; margin: 6px 0 0; font-style: italic; }

/* ================================================================
   PRÉVISIONS HEURE PAR HEURE – design Image 2
================================================================ */
.mmc-heures-block { margin: 4px 0 6px; }

.mmc-h-card {
    /* Triple-lock */
    flex: 0 0 155px !important;
    width: 155px !important;
    min-width: 155px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;

    background: #fff;
    border-radius: 18px;
    padding: 18px 14px 16px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mmc-h-now {
    background: #f0f4ff;
    border: 2px solid #c7d7fb;
    box-shadow: 0 2px 14px rgba(59,130,246,.12);
}

/* Heure – "Maintenant" en texte, sinon "16h" */
.mmc-h-time {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--mmc-dark);
    margin-bottom: 2px;
}

.mmc-h-now .mmc-h-time { color: var(--mmc-blue); }

.mmc-h-emoji { font-size: 2.4em; line-height: 1; margin: 6px 0 4px; }

.mmc-h-temp {
    font-size: 1.9em;
    font-weight: 800;
    color: var(--mmc-dark);
    letter-spacing: -0.01em;
    line-height: 1;
}

.mmc-h-apt { font-size: 0.8em; color: var(--mmc-gray); margin-bottom: 4px; }

/* Ligne de 3 métriques avec icône + valeur */
.mmc-h-metrics {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
    width: 100%;
    justify-content: center;
}

.mmc-h-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mmc-h-mi { font-size: 1em; color: var(--mmc-gray); }
.mmc-h-mv { font-size: 0.72em; color: var(--mmc-dark); font-weight: 600; }

.mmc-h-uv { font-size: 0.72em; color: #f59e0b; font-weight: 600; margin-top: 4px; }




/* ================================================================
   COMPARAISON – tableau HTML natif, rendu garanti partout
================================================================ */
.mmc-comp-block   { margin: 4px 0 10px; }
.mmc-comp-block * { box-sizing: border-box; }

.mmc-comp-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: transparent;
}

.mmc-comp-table thead tr th,
.mmc-comp-table tbody tr td { border: none; }

/* Colonnes : 28% label | 34% bas | 4% vs | 34% haut */
.mmc-comp-th-label { width: 28%; background: transparent; padding: 0; }
.mmc-comp-th-vs    { width: 4%;  background: transparent; text-align: center; vertical-align: middle;
                     font-size: 0.62em; font-weight: 800; color: #aaa; padding: 0 2px; }
.mmc-comp-td-vs    { background: transparent; }

.mmc-comp-th {
    padding: 16px 18px 14px;
    text-align: left;
    color: #fff;
    vertical-align: bottom;
}
.mmc-comp-th-bas  {
    background: linear-gradient(135deg, #1a3d9e 0%, #2c52c4 100%);
    border-radius: 14px 0 0 0;
}
.mmc-comp-th-haut {
    background: linear-gradient(135deg, #0f7252 0%, #15a572 100%);
    border-radius: 0 14px 0 0;
}

.mmc-comp-lieu-icon { font-size: 1.2em; display: block; margin-bottom: 6px; }
.mmc-comp-th strong { display: block; font-size: 0.88em; font-weight: 800; line-height: 1.3; }
.mmc-comp-lieu-alt  { display: block; font-size: 0.7em; color: rgba(255,255,255,.6); margin-top: 2px; }

/* Lignes de données */
.mmc-comp-tr { border-bottom: 1px solid #f0f0f0; }
.mmc-comp-tr:last-child { border-bottom: none; }

.mmc-comp-td-label {
    padding: 11px 10px 11px 0;
    font-size: 0.8em;
    color: #6b7280;
    vertical-align: middle;
    white-space: nowrap;
}
.mmc-comp-row-icon { margin-right: 4px; }

.mmc-comp-td {
    padding: 11px 18px;
    font-size: 0.92em;
    font-weight: 700;
    color: #fff;
    vertical-align: middle;
}

.mmc-comp-td-bas  { background: rgba(26,61,158,.9); }
.mmc-comp-td-haut { background: rgba(15,114,82,.9); }

/* Coins bas arrondis sur la dernière ligne */
.mmc-comp-tr:last-child .mmc-comp-td-bas  { border-radius: 0 0 0 14px; }
.mmc-comp-tr:last-child .mmc-comp-td-haut { border-radius: 0 0 14px 0; }

/* Flèches tendance */
.mmc-tr         { font-size: 0.8em; font-weight: 700; margin-left: 4px; }
.mmc-tr-good    { color: #6ee7b7; }
.mmc-tr-bad     { color: #fca5a5; }
.mmc-tr-neutral { font-size: 0.7em; color: rgba(255,255,255,.4); }

/* Message de synthèse */
.mmc-comp-synthese {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    background: #f0fdf4;
    border-left: 3px solid var(--mmc-green);
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    font-size: 0.85em;
    color: #374151;
    line-height: 1.5;
}

/* ---- 15 jours ---- */
.mmc-15j-uncertain { opacity: 0.78; }
.mmc-15j-approx    { font-size: 0.65em; color: rgba(0,0,0,.3); font-weight: 700; margin-left: 2px; }
.mmc-15j-note      { font-size: 0.74em; color: #9ca3af; text-align: center; margin: 6px 0 0; font-style: italic; }

.mmc-nd { color: #d1d5db; }

/* Responsive mobile */
@media(max-width:480px) {
    .mmc-comp-th  { padding: 12px 12px 10px; }
    .mmc-comp-td  { padding: 10px 12px; font-size: 0.85em; }
    .mmc-comp-th strong { font-size: 0.8em; }
    .mmc-comp-td-label { font-size: 0.72em; }
}
@media(max-width:360px) {
    .mmc-comp-th-vs, .mmc-comp-td-vs { display: none; }
}

/* ================================================================

/* ================================================================
   CONSEIL GLOBAL – design premium
================================================================ */
.mmc-cg-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,.09);
    overflow: hidden;
    margin: 4px 0 10px;
}
.mmc-cg-card * { box-sizing: border-box; }

/* Bandeau supérieur */
.mmc-cg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px 18px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}

.mmc-cg-top-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mmc-cg-big-emoji { font-size: 2.8em; line-height: 1; flex-shrink: 0; }

.mmc-cg-wlabel {
    font-size: 0.82em;
    color: #9ca3af;
    margin-bottom: 6px;
    font-weight: 500;
}

.mmc-cg-temps { display: flex; flex-direction: column; gap: 4px; }

.mmc-cg-lieu-temp {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1em;
}

.mmc-cg-lieu-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mmc-cg-dot-bas  { background: #3b82f6; }
.mmc-cg-dot-haut { background: #10b981; }

.mmc-cg-lieu-name {
    font-size: 0.78em;
    color: #6b7280;
    font-weight: 500;
    min-width: 60px;
}

.mmc-cg-lieu-val {
    font-size: 1.25em;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
}

/* Score pill */
.mmc-cg-score-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.mmc-cg-score-num {
    font-size: 1.5em;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.mmc-cg-score-den {
    font-size: 0.65em;
    color: rgba(255,255,255,.75);
    font-weight: 600;
    margin-top: -1px;
}

/* Séparateur */
.mmc-cg-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 0 26px;
}

/* Corps phrases */
.mmc-cg-body {
    padding: 18px 26px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mmc-cg-phrase {
    font-size: 0.9em;
    line-height: 1.65;
    color: #374151;
    margin: 0;
    padding: 0;
}

.mmc-cg-phrase--lead {
    font-size: 1em;
    font-weight: 500;
    color: #111827;
    padding: 12px 16px;
    background: #f8faff;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
    margin-bottom: 4px;
}

.mmc-cg-phrase strong { font-weight: 700; color: #111827; }

/* Créneau pill */
.mmc-cg-creneau-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 26px 22px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1.5px solid;
    font-size: 0.88em;
}

.mmc-cg-creneau-ic  { font-size: 1.3em; flex-shrink: 0; }
.mmc-cg-creneau-lbl { color: inherit; opacity: 0.7; font-size: 0.9em; }
.mmc-cg-creneau-val { font-weight: 800; font-size: 1em; margin-left: auto; }

@media(max-width:480px) {
    .mmc-cg-top        { padding: 18px 18px 14px; }
    .mmc-cg-body       { padding: 16px 18px 12px; }
    .mmc-cg-creneau-pill { margin: 4px 18px 18px; }
    .mmc-cg-big-emoji  { font-size: 2.2em; }
    .mmc-cg-score-pill { width: 54px; height: 54px; }
    .mmc-cg-score-num  { font-size: 1.2em; }
    .mmc-cg-phrase--lead { padding: 10px 12px; }
}

/* ================================================================
   MEILLEUR CRÉNEAU – carte dégradé immersive
================================================================ */
.mmc-cr-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 4px 0 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.mmc-cr-card * { box-sizing: border-box; }

/* Emoji décoratif géant en fond */
.mmc-cr-deco {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9em;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 0;
}

.mmc-cr-content {
    position: relative;
    z-index: 1;
    padding: 28px 32px 24px;
    color: #fff;
}

.mmc-cr-pre {
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.65);
    margin: 0 0 14px;
}

.mmc-cr-main-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.mmc-cr-icon-big { font-size: 2.8em; line-height: 1; flex-shrink: 0; }

.mmc-cr-title {
    font-size: 1.8em;
    font-weight: 900;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.1;
    border: none;
    padding: 0;
    letter-spacing: -0.02em;
}

.mmc-cr-desc {
    font-size: 0.82em;
    color: rgba(255,255,255,.65);
    margin: 0;
}

/* Stats 3 colonnes */
.mmc-cr-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.15);
}

.mmc-cr-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mmc-cr-stat-icon { font-size: 1.2em; flex-shrink: 0; }

.mmc-cr-stat-val {
    display: block;
    font-size: 1em;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.mmc-cr-stat-lbl {
    display: block;
    font-size: 0.68em;
    color: rgba(255,255,255,.6);
    font-weight: 500;
}

@media(max-width:480px) {
    .mmc-cr-content   { padding: 22px 22px 20px; }
    .mmc-cr-title     { font-size: 1.5em; }
    .mmc-cr-deco      { font-size: 7em; right: -8px; }
    .mmc-cr-stats     { grid-template-columns: repeat(3,1fr); gap: 8px; padding: 12px; }
    .mmc-cr-stat-val  { font-size: 0.92em; }
}

/* ================================================================
   ATTRIBUTION
================================================================ */
.mmc-attribution { font-size: 0.72em; color: #9ca3af; margin: 12px 0 0; line-height: 1.4; }
.mmc-attribution a { color: #6b7280; text-decoration: underline; }

/* ================================================================
   RESPONSIVE MOBILE
================================================================ */
@media(max-width:640px) {
    .mmc-cond-card       { padding: 18px 18px; }
    .mmc-cond-big-temp   { font-size: 2.8em; }
    .mmc-cond-hero-emoji { font-size: 3.5em; top: 40px; right: 14px; }
    .mmc-cond-metrics    { grid-template-columns: repeat(2,1fr); gap: 12px 10px; }
    .mmc-act-card        { min-height: 175px; }
    .mmc-7j-card         { flex: 0 0 120px !important; width: 120px !important; min-width: 120px !important; }
    .mmc-h-card          { flex: 0 0 135px !important; width: 135px !important; min-width: 135px !important; }
    .mmc-h-emoji         { font-size: 2em; }
    .mmc-h-temp          { font-size: 1.6em; }
}

@media(max-width:380px) {
    .mmc-7j-card { flex: 0 0 108px !important; width: 108px !important; min-width: 108px !important; }
    .mmc-h-card  { flex: 0 0 120px !important; width: 120px !important; min-width: 120px !important; }
    .mmc-activites-grid  { grid-template-columns: 1fr; }
    .mmc-conditions-grid { grid-template-columns: 1fr; }
}
