#survivIA{--fond: var(--vk-color-bg, var(--vk-bg, #15171b));--panneau: color-mix(in srgb, var(--vk-bg-1, #1d2026) 75%, var(--fond) 25%);--case: var(--vk-input-bg, var(--vk-bg-3, #262a31));--case-survol: var(--vk-bg-hover, #30353e);--bordure: var(--vk-color-border, #323741);--texte: var(--vk-color-text, #e6e8eb);--discret: var(--vk-color-text-muted, #9aa1ab);--accent: var(--vk-theme-color, #5b9cff);--accent-survol: var(--vk-theme-color-hover, #79afff);--accent-fond: var(--accent);--accent-survol-fond: var(--accent-survol);--accent-texte: #0b1626;--danger: var(--vk-color-danger, #ff6b6b);--succes: var(--vk-color-success, #7fd65a);--attention: #ffd166;--attention-texte: #ffe29a;--chronique-danger: #ffb3b3;--chronique-effondrement: #ffc999;--ombre: rgba(0, 0, 0, .5);--voile: rgba(5, 7, 10, .65);--chart-grille: rgba(255, 255, 255, .08);--chart-curseur: rgba(255, 255, 255, .55);--chart-saison: rgba(120, 170, 255, .09);--chart-attenue: #9aa1ab;--chart-accent: #5b9cff;--chart-autres: #5d636e;--chart-tooltip: var(--panneau);--chart-selection: #ffffff;--chart-contour: #0e1013;color-scheme:dark}body.vk_lightmode #survivIA{--fond: var(--vk-color-bg, var(--vk-bg, #fafaf9));--panneau: color-mix(in srgb, var(--vk-bg-1, #ffffff) 75%, var(--fond) 25%);--case: var(--vk-input-bg, var(--vk-bg-3, #f5f5f4));--case-survol: var(--vk-bg-hover, #e7e5e4);--bordure: var(--vk-color-border, #d6d3d1);--texte: var(--vk-color-text, #1c1c1a);--discret: var(--vk-color-text-muted, #575f6c);--accent: var(--vk-theme-color, #18629e);--accent-survol: var(--vk-theme-color-hover, #2879b8);--accent-fond: color-mix(in srgb, var(--accent) 72%, #000000);--accent-survol-fond: color-mix(in srgb, var(--accent-survol) 68%, #000000);--accent-texte: #ffffff;--danger: #b42318;--succes: #27803a;--attention: #8a5b00;--attention-texte: #8a5b00;--chronique-danger: #b42318;--chronique-effondrement: #9a3412;--ombre: rgba(30, 20, 10, .18);--voile: rgba(20, 20, 30, .38);--chart-grille: rgba(28, 28, 26, .12);--chart-curseur: rgba(28, 28, 26, .55);--chart-saison: rgba(24, 98, 158, .08);--chart-attenue: #6b7280;--chart-accent: var(--vk-theme-color, #18629e);--chart-autres: #737b84;--chart-tooltip: var(--panneau);--chart-selection: #111827;--chart-contour: #ffffff;color-scheme:light}#survivIA *{box-sizing:border-box}#survivIA{height:100%;margin:0}#survivIA{display:flex;flex-direction:column;overflow:hidden;background:var(--fond);color:var(--texte);font:14px/1.45 system-ui,Segoe UI,Arial,sans-serif}#survivIA h1,#survivIA h2,#survivIA h3,#survivIA h4{margin:0}#survivIA .discret{color:var(--discret);font-size:12px}#survivIA [hidden]{display:none!important}#survivIA button,#survivIA select,#survivIA input[type=number],#survivIA input[type=search]{font:inherit;color:var(--texte);background:var(--case);border:1px solid var(--bordure);border-radius:6px;padding:4px 10px}#survivIA button{cursor:pointer;white-space:nowrap}#survivIA button:hover:not(:disabled){background:var(--case-survol)}#survivIA button:disabled{opacity:.5;cursor:default}#survivIA button:focus-visible,#survivIA select:focus-visible,#survivIA input:focus-visible,#survivIA summary:focus-visible{outline:2px solid var(--accent);outline-offset:1px}#survivIA button.actif,#survivIA button.principal,#survivIA .carte[aria-pressed=true]{background:var(--accent-fond);border-color:var(--accent-fond);color:var(--accent-texte);font-weight:600}#survivIA button.actif:hover:not(:disabled),#survivIA button.principal:hover:not(:disabled),#survivIA .carte[aria-pressed=true]:hover{background:var(--accent-survol-fond);border-color:var(--accent-survol-fond)}#survivIA button.lien{background:none;border:none;color:var(--accent);padding:8px 0}#survivIA #barre{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;padding:7px 12px;background:var(--panneau);border-bottom:1px solid var(--bordure)}#survivIA .groupe{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#survivIA .segments{display:inline-flex}#survivIA .segments button{border-radius:0;margin-left:-1px;padding:4px 9px}#survivIA .segments button:first-child{border-radius:6px 0 0 6px;margin-left:0}#survivIA .segments button:last-child{border-radius:0 6px 6px 0}#survivIA .badge{padding:2px 9px;border-radius:999px;background:var(--case);font-size:13px}#survivIA main{flex:1;min-height:0;display:flex;overflow:hidden}#survivIA #centre{flex:1;min-width:0;display:flex;flex-direction:column}#survivIA #carte{flex:1;min-height:120px;overflow:hidden}#survivIA canvas{display:block}#survivIA #historique{border-top:1px solid var(--bordure);background:var(--panneau)}#survivIA .historique-tete{display:flex;align-items:center;gap:10px;padding:5px 12px}#survivIA .historique-tete h2{font-size:13px}#survivIA .historique-tete button{margin-left:auto;padding:2px 8px;font-size:12px}#survivIA .graphiques{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:8px;padding:0 12px 10px;max-height:38vh;overflow-y:auto;overflow-x:hidden}#survivIA .graphique{min-width:0;margin:0;background:var(--fond);border:1px solid var(--bordure);border-radius:8px;padding:6px}#survivIA .graphique select{width:100%;padding:2px 6px;font-size:12px}#survivIA .graphique .cadre{position:relative;height:190px}#survivIA #panneau{width:380px;flex-shrink:0;display:flex;flex-direction:column;background:var(--panneau);border-left:1px solid var(--bordure)}#survivIA .onglets{display:flex;border-bottom:1px solid var(--bordure)}#survivIA .onglets button{flex:1;border:none;border-radius:0;background:none;padding:9px 4px;color:var(--discret);border-bottom:2px solid transparent}#survivIA .onglets button[aria-selected=true]{color:var(--texte);border-bottom-color:var(--accent);font-weight:600}#survivIA [role=tabpanel]{flex:1;overflow-y:auto;padding:4px 14px 16px}#survivIA [role=tabpanel] h2{margin:16px 0 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--discret)}#survivIA .stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}#survivIA .stat{padding:6px 9px;background:var(--case);border-radius:6px;cursor:help}#survivIA .stat b{display:block;font-size:17px;font-variant-numeric:tabular-nums}#survivIA .stat span{font-size:11px;color:var(--discret)}#survivIA .stat em{font-style:normal}#survivIA .liste{list-style:none;margin:0;padding:0}#survivIA .liste li{display:flex;align-items:center;gap:9px;margin:3px 0;padding:5px 6px;border-radius:6px}#survivIA .liste li>div{display:flex;flex-direction:column;min-width:0}#survivIA .liste small{color:var(--discret);font-size:11px}#survivIA .liste .nb{margin-left:auto;color:var(--discret);font-variant-numeric:tabular-nums}#survivIA .liste.cliquable li,#survivIA .liste li.cliquable{cursor:pointer}#survivIA .liste.cliquable li:hover,#survivIA .liste li.cliquable:hover{background:var(--case)}#survivIA .liste li.actif{background:var(--case-survol);box-shadow:inset 3px 0 0 var(--accent)}#survivIA .liste li.eteinte{opacity:.5}#survivIA .liste.compacte li{padding:2px 6px}#survivIA .pastille{display:inline-block;width:14px;height:14px;flex-shrink:0;border-radius:3px;vertical-align:middle}#survivIA .pastille.rond{border-radius:50%;box-shadow:0 0 0 1px var(--chart-contour)}#survivIA .legende li{cursor:default}#survivIA .icone-case{width:30px;height:30px;flex-shrink:0;border-radius:6px;box-shadow:0 0 0 1px #00000059}#survivIA .icone-ia{width:30px;height:30px;flex-shrink:0}#survivIA .icone-ia.grande{width:44px;height:44px}#survivIA .icone-evenement{flex-shrink:0;width:20px;text-align:center}#survivIA details.regles{margin-top:16px}#survivIA details.regles summary{cursor:pointer;color:var(--accent)}#survivIA details.regles ol{padding-left:18px;margin:8px 0 0}#survivIA details.regles li{margin:4px 0}#survivIA kbd{padding:0 5px;font:12px ui-monospace,monospace;background:var(--case);border:1px solid var(--bordure);border-bottom-width:2px;border-radius:4px}#survivIA .nuage-choix{display:flex;gap:8px;margin-top:12px}#survivIA .nuage-choix label{flex:1;display:flex;flex-direction:column;font-size:12px;color:var(--discret)}#survivIA .nuage-choix select{font-size:12px;padding:2px 4px}#survivIA .cadre-nuage{position:relative;height:230px;margin:8px 0}#survivIA .recherche{display:flex;align-items:center;gap:8px;margin:10px 0 6px}#survivIA .recherche input{flex:1}#survivIA .tableau-defilant{overflow-x:auto}#survivIA .tableau-ia{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}#survivIA .tableau-ia th,#survivIA .tableau-ia td{padding:3px 5px;text-align:right;white-space:nowrap}#survivIA .tableau-ia th:first-child,#survivIA .tableau-ia td:first-child{text-align:left}#survivIA .tableau-ia th{position:sticky;top:0;background:var(--panneau);color:var(--discret);cursor:pointer;-webkit-user-select:none;user-select:none}#survivIA .tableau-ia th.trie{color:var(--texte)}#survivIA .tableau-ia th.trie:after{content:attr(data-sens);margin-left:3px}#survivIA .tableau-ia td .pastille{width:10px;height:10px;margin-right:5px}#survivIA .tableau-ia tbody tr{cursor:pointer}#survivIA .tableau-ia tbody tr:hover,#survivIA .tableau-ia tbody tr.choisie{background:var(--case-survol)}#survivIA .fiche-tete{display:flex;align-items:center;gap:10px;margin:14px 0 10px}#survivIA .fiche-tete h3{font-size:17px}#survivIA .fiche-tete small{color:var(--discret)}#survivIA .etat{margin-left:auto;padding:2px 8px;border-radius:999px;background:var(--case);font-size:12px;white-space:nowrap}#survivIA .etat.morte{color:var(--danger)}#survivIA .jauge{margin:6px 0}#survivIA .jauge-tete{display:flex;justify-content:space-between;font-size:12px;color:var(--discret)}#survivIA .barre{position:relative;height:8px;background:var(--case);border-radius:4px;overflow:hidden}#survivIA .barre .remplissage{position:absolute;inset:0 auto 0 0;background:var(--accent)}#survivIA .barre .repere{position:absolute;top:0;bottom:0;width:2px;background:var(--attention)}#survivIA dl.traits{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:12px 0;font-size:13px}#survivIA dl.traits dt{color:var(--discret);cursor:help}#survivIA dl.traits dd{margin:0;font-variant-numeric:tabular-nums}#survivIA .boutons{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}#survivIA h4{margin:14px 0 6px;font-size:13px}#survivIA table.cerveau{width:100%;border-collapse:collapse;font-size:12px}#survivIA table.cerveau th,#survivIA table.cerveau td{padding:3px 4px}#survivIA table.cerveau thead th{color:var(--discret);font-weight:400;cursor:help}#survivIA table.cerveau tbody th{text-align:left;font-weight:400;white-space:nowrap}#survivIA table.cerveau td.perception span{display:block;height:7px;border-radius:3px;background:var(--succes);min-width:1px}#survivIA table.cerveau td.perception:nth-of-type(2) span{background:var(--chart-accent)}#survivIA table.cerveau td.perception:nth-of-type(3) span{background:var(--danger)}#survivIA table.cerveau td.perception{width:18%;background:var(--fond)}#survivIA table.cerveau .cellule-note{position:relative;width:30%;text-align:right;font-variant-numeric:tabular-nums}#survivIA .note-barre{position:absolute;top:4px;bottom:4px;background:color-mix(in srgb,var(--chart-accent) 35%,transparent)}#survivIA .note-barre.negative{background:color-mix(in srgb,var(--danger) 30%,transparent)}#survivIA .note-texte{position:relative}#survivIA table.cerveau tr.choisie th,#survivIA table.cerveau tr.choisie .note-texte{color:var(--attention);font-weight:600}#survivIA table.cerveau tr.bloquee{opacity:.35}#survivIA .chronique{list-style:none;margin:0;padding:0}#survivIA .chronique li{display:flex;gap:8px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--bordure)}#survivIA .chronique .quand{flex-shrink:0;width:84px;color:var(--discret);font-size:12px;font-variant-numeric:tabular-nums}#survivIA .chronique .icone-ia{width:20px;height:20px;align-self:center}#survivIA .chronique .extinction,#survivIA .chronique .fin{color:var(--chronique-danger)}#survivIA .chronique .domination{color:var(--attention-texte)}#survivIA .chronique .effondrement{color:var(--chronique-effondrement)}#survivIA dialog{padding:0;color:var(--texte);background:var(--panneau);border:1px solid var(--bordure);border-radius:12px;box-shadow:0 20px 60px var(--ombre)}#survivIA dialog::backdrop{background:var(--voile)}#survivIA .fenetre{padding:20px 22px}#survivIA .fenetre-tete h1{font-size:22px}#survivIA .fenetre-tete p{color:var(--discret);margin:6px 0 0}#survivIA .fenetre-pied{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--bordure)}#survivIA .fenetre-pied .principal{margin-left:auto;padding:7px 18px;font-size:15px}#survivIA #demarrage{width:min(1040px,96vw);max-height:94vh;overflow:hidden}#survivIA #demarrage .fenetre{display:flex;flex-direction:column;max-height:94vh}#survivIA .fenetre-corps{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px;overflow-y:auto;margin-top:8px}#survivIA .fenetre-corps:focus{outline:none}#survivIA .fenetre-corps h2{margin:16px 0 8px;font-size:14px}#survivIA .cartes{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}#survivIA .carte{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 10px;text-align:left;white-space:normal;border-radius:8px}#survivIA .carte .icone{font-size:20px}#survivIA .carte span:last-child{font-size:12px;color:var(--discret);font-weight:400}#survivIA .carte[aria-pressed=true] span:last-child{color:var(--accent-texte)}#survivIA .aide{align-self:start;position:sticky;top:0;padding:12px;background:var(--case);border-radius:8px;font-size:13px}#survivIA .aide p{margin:6px 0 0}#survivIA .graine{display:flex;align-items:center;gap:6px}#survivIA .graine input{width:110px}#survivIA .grille-champs{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px 16px}#survivIA .groupe-champs{margin-top:8px}#survivIA .groupe-champs h3{margin:12px 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--discret)}#survivIA .champ{padding:6px 8px;border-radius:6px}#survivIA .champ:hover{background:var(--case)}#survivIA .champ-tete{display:flex;justify-content:space-between;gap:8px;font-size:13px}#survivIA .champ-tete output{color:var(--discret);font-variant-numeric:tabular-nums;white-space:nowrap}#survivIA .champ.modifie label:after{content:" •";color:var(--accent)}#survivIA .champ input[type=range]{width:100%;accent-color:var(--accent)}#survivIA .champ select{width:100%;margin-top:3px}#survivIA input.interrupteur{appearance:none;width:36px;height:20px;margin-top:4px;border-radius:999px;background:var(--case-survol);position:relative;cursor:pointer}#survivIA input.interrupteur:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--texte);transition:left .15s}#survivIA input.interrupteur:checked{background:var(--accent)}#survivIA input.interrupteur:checked:after{left:18px}#survivIA #reglages{position:fixed;inset:50px 10px auto auto;margin:0;width:min(420px,94vw);max-height:calc(100vh - 70px);overflow-y:auto;z-index:10}#survivIA #reglages .fenetre-tete{display:flex;align-items:center;justify-content:space-between}#survivIA #reglages .grille-champs{grid-template-columns:1fr}#survivIA #reglages .aide{position:static;margin-top:12px}#survivIA .fermer{padding:2px 9px}#survivIA #fin{width:min(560px,94vw)}#survivIA #fin ul{padding-left:18px}@media (max-width: 900px){#survivIA main{flex-direction:column;overflow-y:auto}#survivIA #panneau{width:auto;border-left:0;border-top:1px solid var(--bordure)}#survivIA .fenetre-corps{grid-template-columns:1fr}#survivIA .aide{position:static}}#survivIA,#survivIA *{font-family:system-ui,Segoe UI,Arial,sans-serif}#vk-page-content.survivIA-page{align-items:stretch;justify-content:stretch;width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:0;overflow:hidden}#survivIA{flex:1 1 auto;min-height:0;height:100%}#survivIA dialog{margin:auto}#survivIA p{margin-block:1em}
