/* Pages terrain (/fr/terrain/…) et widget (/widget/…) : bandeau horaire du jour J. */
.icao { color: #777; font-size: .7em; font-weight: 600; letter-spacing: .03em; }
.clubs { color: #555; margin: 0 0 12px; }
.day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 16px 0 8px; font-size: 17px; }
.stars { color: #e69500; font-size: 22px; letter-spacing: 2px; white-space: nowrap; }
.stars .off { color: #ccc; }
/* Graphique du jour J : repris du dashboard (templates/dashboard.html,
   palette claire body.embedded). Positions verticales en % de .dc-ch. */
.dc { position: relative; margin: 8px 0 4px 36px; }
.dc-row { display: flex; height: 14px; margin-bottom: 2px; position: relative; gap: 1px; padding: 0 1px; }
.dc-lab { position: absolute; left: -36px; top: 0; width: 33px; padding-right: 3px; text-align: right;
          font-size: 10px; line-height: 14px; color: #444; }
.dc-c { flex: 1; min-width: 0; text-align: center; font-size: 11px; line-height: 14px; color: #222; }
.dc-rainv { color: #1565c0; }
.dc-ce { display: flex; height: 28px; margin-bottom: 2px; position: relative; gap: 1px; padding: 0 1px; }
.dc-celab { position: absolute; left: -36px; top: 1px; bottom: 0; width: 33px; padding-right: 3px;
            display: flex; flex-direction: column; justify-content: space-between;
            font-size: 9px; line-height: 1; color: #444; text-align: right; }
.dc-ce.one .dc-celab { justify-content: center; }
.dc-cec { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding-top: 1px; }
.dc-cb { width: 90%; height: 8px; background: #3d5577; }
.dc-cb.tcc { height: 24px; }
.dc-ch { display: flex; height: 180px; position: relative; gap: 1px; padding: 0 1px;
         border-bottom: 1px solid #777; border-left: 1px solid #777; }
.dc-ya { position: absolute; left: -36px; top: 0; bottom: 0; width: 32px; font-size: 11px; color: #333; }
.dc-ya span { position: absolute; right: 0; line-height: 1; transform: translateY(50%); }
.dc-co { flex: 1; min-width: 0; position: relative; z-index: 2; }
.dc-ba { position: absolute; left: 5%; width: 90%; min-height: 1px; border-radius: 3px 3px 0 0;
         display: flex; justify-content: center; }
.dc-vl { font-size: 10px; font-weight: 700; line-height: 1; padding-top: 1px; color: #000;
         text-shadow: 0 0 2px rgba(255,255,255,.6); }
/* Contrastes mesures (WCAG) : fonds >= 1,5:1 + contour >= 3:1 sur blanc, valeur noire >= 9:1. */
.dc-ba.q0 { background: #c9d0da; box-shadow: inset 0 0 0 1px #8a94a3; }
.dc-ba.q1 { background: #7fb0e3; box-shadow: inset 0 0 0 1px #3b78b8; }
.dc-ba.q2 { background: #6cc28a; box-shadow: inset 0 0 0 1px #3f8f5a; }
.dc-ba.q3 { background: #dcc23a; box-shadow: inset 0 0 0 1px #8f7a0c; }
.dc-ba.q4 { background: #ec9a5e; box-shadow: inset 0 0 0 1px #b0581f; }
.dc-wbox { position: absolute; left: 0; right: 0; display: flex; justify-content: center;
           line-height: 0; z-index: 4; pointer-events: none; }
.dc-wb { display: block; color: #222; overflow: visible; }
.dc-og { position: absolute; left: 0; right: 0; height: 1px; background: #555; z-index: 3; }
.dc-og span { position: absolute; left: 2px; top: -12px; font-size: 9px; color: #555;
              background: rgba(255,255,255,.7); padding: 0 2px; }
.dc-ogf { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(140,90,55,.14); z-index: 0; }
.dc-grid { position: absolute; left: 0; right: 0; height: 1px; background: rgba(0,0,0,.25); z-index: 1; }
.dc-xa { display: flex; margin-top: 1px; gap: 1px; padding: 0 1px; }
.dc-xa span { flex: 1; min-width: 0; text-align: center; font-size: 11px; color: #333; }
.dc-lg { font-size: 11px; color: #444; margin-top: 4px; }
.dc-cu { position: absolute; left: 50%; transform: translateX(-50%); width: 26px; height: 17px;
         background: url('/static/img/cloud_lcc.png') no-repeat center/contain; z-index: 3; }
.dc-cu.n { width: 13px; height: 8px; background-size: 100% 100%; }
.dc-cu.d62 { filter: brightness(.62); } .dc-cu.d80 { filter: brightness(.8); } .dc-cu.d55 { filter: brightness(.55); }
.dc-sc { position: absolute; left: 50%; transform: translateX(-50%); width: 15px; height: 5px; z-index: 3;
         background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 10'><path d='M1,9.2 Q0.6,6 4,5.6 Q5,2.6 8.6,3.4 Q11,1 14.4,2.8 Q17.6,0.8 20.6,3 Q24.4,2 25.4,5 Q28.6,5.4 28,9.2 Z' fill='%23c3c8ce' stroke='%237b838d' stroke-width='0.7'/></svg>") no-repeat center/contain; }
.dc-rain { position: absolute; left: 50%; transform: translateX(-50%); width: 22px; height: 18px; z-index: 1; overflow: hidden; }
.dc-rain svg { display: block; width: 100%; height: 100%; }
.dc-rain line { stroke: #2a7ad9; stroke-width: 1.3; stroke-linecap: round; animation: dc-rainfall 1.2s linear infinite; }
.dc-rain.heavy line { stroke: #0f3460; stroke-width: 1.8; animation-duration: .65s; }
.dc-rain line:nth-child(2) { animation-delay: .3s; } .dc-rain line:nth-child(3) { animation-delay: .6s; }
.dc-rain line:nth-child(4) { animation-delay: .9s; }
@keyframes dc-rainfall { 0% { transform: translateY(-8px); opacity: 0; } 15%, 85% { opacity: .85; }
                         100% { transform: translateY(18px); opacity: 0; } }
@media (max-width: 600px) { .dc-ch { height: 140px; } .dc-xa span { font-size: 9px; } .dc-vl { font-size: 9px; } }
.snippet { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 10px 12px;
           font-size: 13px; white-space: pre-wrap; word-break: break-all; user-select: all; }
.club-list { list-style: none; margin: 8px 0 16px; }
.club-list li { margin: 0 0 10px; }
.club-list a { font-weight: 600; }
.club-list span { color: #555; font-size: 14px; }

/* Widget : page autonome dans une iframe, fond blanc, compacte. */
body.widget { margin: 0; padding: 8px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
              color: #333; background: #fff; line-height: 1.4; }
body.widget * { box-sizing: border-box; }
.w-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
          text-decoration: none; color: #1a1a2e; }
.w-name { font-weight: 700; font-size: 16px; }
.widget .stars { font-size: 18px; }
.w-day { color: #555; font-size: 13px; margin: 0 0 6px; }
.w-foot { display: block; margin-top: 6px; font-size: 12px; color: #1565c0; text-decoration: none; text-align: right; }
.snippet-langs { font-size: 14px; margin: 0 0 6px; }
.snippet-langs label { margin-left: 12px; white-space: nowrap; cursor: pointer; }
.situ { margin: 18px 0 8px; }
.situ-map { height: 240px; border: 1px solid #ccc; border-radius: 6px; }
.situ-links { font-size: 13px; color: #444; margin-top: 6px; }
