diff --git a/app/src/lib/components/CarteRegions.svelte b/app/src/lib/components/CarteRegions.svelte
index 3ad41a5..c83865b 100644
--- a/app/src/lib/components/CarteRegions.svelte
+++ b/app/src/lib/components/CarteRegions.svelte
@@ -202,6 +202,14 @@
style:--d={cascadeBase === null ? undefined : `${syncopatedDelay(cascadeBase + i)}ms`}
use:reveal={cascadeBase !== null}
>
+
{#each ins.chemins as d (d)}
{/each}
@@ -267,39 +275,108 @@
height: auto;
}
- /* — Régions : tokens OKI — */
+ /* — Fonds de cellules des 4 insets régionaux — */
+ .fond-cellule {
+ fill: #1a131c;
+ stroke: #2e2233;
+ stroke-width: 1.5;
+ transition:
+ fill var(--dur-tanbou) var(--ease-ka),
+ stroke var(--dur-tanbou) var(--ease-ka);
+ }
+
+ :global(html.light-theme) .fond-cellule {
+ fill: #f4ead4;
+ stroke: #ded0b8;
+ }
+
+ /* — Régions : Formes territoriales nettes et contrastées — */
.region path {
- fill: var(--card-bg);
- stroke: var(--line);
- stroke-width: 1;
- transition: fill var(--dur-tanbou) var(--ease-ka), stroke var(--dur-tanbou) var(--ease-ka);
+ fill: #22382d;
+ stroke: #00d66c;
+ stroke-width: 1.2;
+ stroke-linejoin: round;
+ transition:
+ fill var(--dur-tanbou) var(--ease-ka),
+ stroke var(--dur-tanbou) var(--ease-ka);
+ }
+
+ :global(html.light-theme) .region path {
+ fill: #d3e8dc;
+ stroke: #006b3d;
+ stroke-width: 1.2;
+ }
+
+ /* Survol */
+ .region.survolee .fond-cellule {
+ fill: #261a2b;
+ stroke: var(--or-oki);
+ stroke-width: 2;
+ }
+
+ :global(html.light-theme) .region.survolee .fond-cellule {
+ fill: #ebdcbD;
+ stroke: var(--or-oki);
}
.region.survolee path {
- fill: var(--card-bg-hover);
+ fill: #2f4d3e;
+ stroke: var(--or-oki);
+ stroke-width: 1.6;
+ }
+
+ :global(html.light-theme) .region.survolee path {
+ fill: #c3dfcd;
stroke: var(--or-oki);
}
- .region.choisie path {
- fill: rgba(253, 184, 19, 0.18);
+ /* Sélection */
+ .region.choisie .fond-cellule {
+ fill: rgba(253, 184, 19, 0.12);
+ stroke: var(--or-oki);
+ stroke-width: 2.5;
+ }
+
+ :global(html.light-theme) .region.choisie .fond-cellule {
+ fill: #fff2d1;
+ stroke: var(--or-oki);
+ stroke-width: 2.5;
+ }
+
+ .region.choisie path {
+ fill: #4b3a13;
+ stroke: var(--or-oki);
+ stroke-width: 1.8;
+ }
+
+ :global(html.light-theme) .region.choisie path {
+ fill: #fde2a2;
stroke: var(--or-oki);
- stroke-width: 1.5;
}
.nom-region {
fill: var(--blanc-creme);
font-size: 15px;
- font-weight: 700;
+ font-weight: 800;
font-family: var(--font-display);
text-anchor: middle;
- letter-spacing: 0.02em;
+ letter-spacing: 0.03em;
transition: fill var(--dur-tanbou) var(--ease-ka);
+ pointer-events: none;
+ }
+
+ :global(html.light-theme) .nom-region {
+ fill: #0d0d0d;
}
.nom-region.choisie {
fill: var(--or-oki);
}
+ :global(html.light-theme) .nom-region.choisie {
+ fill: var(--or-oki);
+ }
+
/* — Marqueurs du récap (guess = rouge OKI, réel = vert OKI) — */
.lien-paire {
stroke: var(--muted);
@@ -338,7 +415,7 @@
padding: 0;
border: none;
background: transparent;
- border-radius: var(--oki-radius);
+ border-radius: var(--radius-md);
cursor: pointer;
}
diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte
index 87c920f..cc5219f 100644
--- a/app/src/routes/+page.svelte
+++ b/app/src/routes/+page.svelte
@@ -41,89 +41,96 @@
-
-
-
-
-
- {t().app.titre}
-
-
- {t().micro.kiteSaYe}
-
- {t().app.sousTitre}
-
+
+
+
+
+
+
+
+ {t().app.titre}
+
+
+ {t().micro.kiteSaYe}
+
+
+ {t().app.sousTitre}
+
-
- {t().accueil.choixRegion}
-
-
-
-
-
+
+ {t().accueil.choixMode}
+
+ {#if mode === 'defi'}
+
+ {/if}
+
-
- {t().accueil.choixMode}
-
- {#each modes as m, i (m.id)}
+
+
+
+
+
+
+
+
+
+
+
+ {t().accueil.choixRegion}
+
+
- {/each}
-
- 🧭
- {t().modes.explorer}
- {t().modes.explorerDesc}
-
-
- {#if mode === 'defi'}
-
- {/if}
-
-
-
-
-
-
+
+