/* Carte des trains Arverne (arverne-carte.html) — CSS autonome, indépendante de la compilation Tailwind */
.acarte { display: grid; grid-template-columns: 1fr; height: calc(100vh - 5.5rem); min-height: 34rem; }
@media (min-width: 1024px) { .acarte { grid-template-columns: 24rem 1fr; } }
@media (max-width: 1023px) { .acarte { height: auto; } .acarte-zone { order: 1; height: 60vh; } .acarte-panneau { order: 2; max-height: none; } }
.acarte-panneau { display: flex; flex-direction: column; min-height: 0; background: var(--color-calcaire, #E9E6E1); color: #1E2229; border-right: 1px solid rgba(30, 34, 41, 0.15); }
[data-theme="night"] .acarte-panneau { background: #14171c; color: #E9E6E1; border-color: rgba(233, 230, 225, 0.12); }
.acarte-tete { padding: 1.25rem; border-bottom: 1px solid rgba(30, 34, 41, 0.15); }
.acarte-tete h1 { margin-top: 0.4rem; font-size: 1.7rem; }
.acarte-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1rem; background: rgba(30, 34, 41, 0.18); border: 1px solid rgba(30, 34, 41, 0.18); text-align: center; }
.acarte-chiffres > div { background: var(--color-calcaire, #E9E6E1); padding: 0.55rem 0.25rem; }
[data-theme="night"] .acarte-chiffres > div { background: #14171c; }
.acarte-chiffres b { display: block; font-size: 1.25rem; font-weight: 900; }
.acarte-chiffres span { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.acarte-filtres { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.acarte-filtres button { display: inline-flex; align-items: center; gap: 0.4rem; border: 2px solid currentColor; padding: 0.2rem 0.6rem; font-size: 12px; font-weight: 800; background: transparent; color: inherit; cursor: pointer; opacity: 0.5; }
.acarte-filtres button[aria-pressed="true"] { opacity: 1; background: #1E2229; color: #fff; border-color: #1E2229; }
.acarte-filtres i.pt { width: 0.65rem; height: 0.65rem; display: inline-block; border: 1px solid rgba(255, 255, 255, 0.8); }
.acarte-liste { flex: 1; overflow-y: auto; min-height: 0; }
.acarte-liste h2 { padding: 0.6rem 1.25rem; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; background: rgba(30, 34, 41, 0.07); }
.ac-train { display: grid; grid-template-columns: auto 1fr auto; gap: 0.15rem 0.75rem; align-items: center; width: 100%; text-align: left; padding: 0.7rem 1.25rem; border: 0; border-bottom: 1px solid rgba(30, 34, 41, 0.1); background: transparent; color: inherit; cursor: pointer; }
.ac-train:hover, .ac-train[aria-current="true"] { background: rgba(200, 70, 28, 0.1); }
.ac-train .ac-num { grid-row: span 2; }
.ac-train .ac-trajet { font-weight: 800; font-size: 14px; }
.ac-train .ac-info { font-size: 12px; opacity: 0.75; grid-column: 2 / 4; }
.ac-etat { font-size: 11px; font-weight: 800; padding: 0.1rem 0.45rem; border: 1px solid currentColor; white-space: nowrap; }
.ac-etat.retard { color: #B45309; }
.ac-etat.supprime, .ac-etat.partiel { color: #B91C1C; }
.ac-etat.ok { color: #15803D; }
.ac-vide { padding: 1.5rem 1.25rem; font-size: 14px; opacity: 0.7; }
.acarte-note { padding: 0.7rem 1.25rem; font-size: 11px; opacity: 0.6; border-top: 1px solid rgba(30, 34, 41, 0.15); }
.acarte-zone { position: relative; min-height: 20rem; }
.acarte-carte { position: absolute; inset: 0; background: #e9ecef; }
.acarte-carte .leaflet-container { font-family: "CitroenType", system-ui, sans-serif; }
.pastille { display: inline-grid; place-items: center; min-width: 2.6rem; height: 1.5rem; padding: 0 0.4rem; color: #fff; font: 800 12px/1 "CitroenType", system-ui, sans-serif; border-radius: 0; }
.ac-marqueur { display: grid; place-items: center; min-width: 38px; height: 22px; padding: 0 5px; font: 800 11px/1 "CitroenType", system-ui, sans-serif; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(7, 11, 26, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3); white-space: nowrap; color: #fff; }
.ac-marqueur.retard { box-shadow: 0 0 0 2px #F59E0B, 0 2px 6px rgba(0, 0, 0, 0.3); }
.ac-marqueur.partiel { box-shadow: 0 0 0 2px #DC2626, 0 2px 6px rgba(0, 0, 0, 0.3); }
.ac-marqueur.attente { opacity: 0.55; }
.ac-gare { display: block; width: 9px; height: 9px; background: #fff; border: 2px solid #1E2229; }
.ac-pop b { font-weight: 900; text-transform: uppercase; font-size: 14px; }
.ac-pop p { margin-top: 4px; font-size: 12px; }
.ac-pop a { font-weight: 700; color: #C8461C; }
