/* Rochers et végétation (bldr) — ordinateur, tablette, téléphone. Même famille que Zones sombres. */
:root {
    --fond: #0e0f11;
    --carte: #17191c;
    --bord: #2b2e33;
    --texte: #eceae6;
    --doux: #9da1a8;
    --orange: #ff6a1a;
    --orange-f: rgba(255, 106, 26, .14);
    --rouge: #e5484d;
    --vert: #3fb950;
    --or: #f0c040;
    --rayon: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: radial-gradient(circle at 50% -20%, #1d1f23, var(--fond) 60%) fixed;
    color: var(--texte);
    font: 15px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    -webkit-text-size-adjust: 100%;
}
a { color: var(--orange); }
code { background: #0b0c0e; border: 1px solid var(--bord); border-radius: 6px; padding: 1px 6px; font-size: .88em; color: #ffb27f; word-break: break-word; }
.page { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; }

/* L'alerte DayZ Aide, en haut */
.alerte-mod {
    display: flex; gap: 14px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(240, 192, 64, .16), rgba(255, 106, 26, .10));
    border: 1px solid rgba(240, 192, 64, .55); border-radius: var(--rayon);
    padding: 14px 16px; margin-bottom: 18px;
}
.alerte-mod > i { color: var(--or); font-size: 1.4rem; margin-top: 2px; }
.alerte-mod b { color: #fff; }
.alerte-mod a { display: inline-block; margin-top: 6px; font-weight: 600; text-decoration: none; }
.alerte-mod a:hover { text-decoration: underline; }

.entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.entete h1 { margin: 0 0 4px; font-size: 1.7rem; color: var(--orange); }
.entete h1 span { color: var(--texte); font-weight: 400; font-size: .75em; }
.sous { margin: 0; color: var(--doux); max-width: 760px; }

.aide { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 10px 14px; margin-bottom: 16px; }
.aide summary { cursor: pointer; color: var(--orange); font-weight: 600; }
.aide ul { margin: 10px 0 6px; padding-left: 20px; }
.aide li { margin-bottom: 6px; }
.note, .petit { color: var(--doux); font-size: .88em; margin: 8px 0 0; }

.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 16px; min-width: 0; }
.carte h2 { margin: 0 0 12px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #160a02; font-size: .85rem; font-weight: 800; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #22252a; color: var(--texte); border: 1px solid var(--bord);
    border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 600;
    cursor: pointer; min-height: 44px; text-decoration: none; transition: border-color .15s, background .15s;
}
.btn:hover { border-color: var(--orange); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-principal { background: var(--orange); border-color: var(--orange); color: #160a02; }
.btn-principal:hover:not(:disabled) { background: #ff8340; }
.btn-sec { white-space: nowrap; }

.depot {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-align: center; padding: 28px 14px; margin-bottom: 14px;
    border: 2px dashed var(--bord); border-radius: var(--rayon); background: #121417; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.depot > i { font-size: 2rem; color: var(--orange); }
.depot span { font-weight: 600; word-break: break-all; }
.depot small { color: var(--doux); }
.depot.sur, .depot:hover { border-color: var(--orange); background: var(--orange-f); }
.depot.choisi { border-style: solid; border-color: var(--vert); }
#generer { width: 100%; }

.message { margin-top: 12px; border-radius: 10px; padding: 10px 12px; border: 1px solid var(--vert); background: rgba(63, 185, 80, .12); }
.message.erreur { border-color: var(--rouge); background: rgba(229, 72, 77, .12); }

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.chiffres div { background: #121417; border: 1px solid var(--bord); border-radius: 10px; padding: 10px; }
.chiffres b { display: block; font-size: 1.5rem; }
.chiffres span { color: var(--doux); font-size: .82em; }
.chiffres .ok b { color: var(--vert); }
.chiffres .ko b { color: var(--rouge); }

.avertissements { list-style: none; padding: 0; margin: 0 0 12px; }
.avertissements li { border-radius: 9px; padding: 9px 11px; margin-bottom: 8px; font-size: .92em; border: 1px solid rgba(229, 72, 77, .45); background: rgba(229, 72, 77, .09); }
.avertissements li.info { border-color: rgba(240, 192, 64, .5); background: rgba(240, 192, 64, .08); }
.boutons { display: flex; gap: 8px; flex-wrap: wrap; }

#details { margin-top: 16px; }
.onglets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.onglet { background: #121417; color: var(--doux); border: 1px solid var(--bord); border-radius: 9px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; min-height: 40px; }
.onglet.actif { color: var(--texte); border-color: var(--orange); background: var(--orange-f); }
pre#vue { margin: 0; background: #0b0c0e; border: 1px solid var(--bord); border-radius: 10px; padding: 12px; max-height: 520px; overflow: auto; font-size: .8em; white-space: pre; }

.pied { text-align: center; color: var(--doux); font-size: .85em; margin-top: 26px; }

@media (max-width: 860px) {
    .grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .page { padding: 12px 12px 30px; }
    .entete h1 { font-size: 1.35rem; }
    .alerte-mod { padding: 12px; }
    .boutons .btn, .btn-sec { flex: 1 1 100%; }
    pre#vue { max-height: 380px; }
}
