/* =====================================================================
   CRYPTO & WEB3 · STYLES DE LA SECTION (préfixe cw-)
   ===================================================================== */
:root {
  --cw-or: #FF7700; --cw-or-t: #B35000; --cw-nuit: #071820; --cw-noir: #000;
  --cw-carte: #1A1A1D; --cw-carte2: #232327; --cw-ligne: #2C2C31;
  --cw-texte: #071820; --cw-gris: #5B6B73; --cw-clair: #C9C9CF; --cw-vert: #3FB37F; --cw-rouge: #E5484D;
}
.cw-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.cw-h2 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; color: var(--cw-texte); margin: 16px 0 14px; }
.cw-h2--clair { color: #fff; }
.cw-lead { font-size: 1.08rem; line-height: 1.65; color: var(--cw-gris); max-width: 760px; margin: 0 0 36px; }
.cw-lead--clair { color: var(--cw-clair); margin-bottom: 0; }
/* Sections sur fond blanc : seul le footer garde le fond clair orangé de Vision 2.1 */
.cw-section { padding: 88px 0; background: #fff; position: relative; }
.cw-section + .cw-section { border-top: 1px solid #EEF0F1; }

/* Boutons */
.cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 8px; font: 700 1rem 'Roboto', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.cw-btn--or { background: var(--cw-or); color: #fff; }
.cw-btn--or:hover, .cw-btn--or:focus-visible { background: #E56A00; border-color: #E56A00; color: #fff; }
.cw-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.cw-btn:hover svg { transform: translateX(3px); }
.cw-btn:focus-visible, .cw-tous:focus-visible, .cw-chip:focus-visible { outline: 2px solid var(--cw-or); outline-offset: 2px; }
.cw-btn--or:disabled { opacity: .45; cursor: not-allowed; background: var(--cw-or); color: #fff; }
.cw-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cw-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cw-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Visuel du hero : réseau de nœuds carrés */
.cw-reseau { width: 250px; height: 250px; }
.cw-reseau svg { width: 100%; height: 100%; overflow: visible; }
.cw-reseau-liens path { fill: none; stroke: rgba(255,119,0,.45); stroke-width: 2; stroke-dasharray: 6 8; animation: cw-flux 6s linear infinite; }
.cw-reseau-noeuds rect { fill: #1A1A1D; stroke: var(--cw-or); stroke-width: 2.5; }
.cw-reseau-coeur { fill: var(--cw-or); filter: drop-shadow(0 0 14px rgba(255,119,0,.6)); animation: cw-pulse 3s ease-in-out infinite; transform-origin: 120px 120px; }
@keyframes cw-flux { to { stroke-dashoffset: -140; } }
@keyframes cw-pulse { 50% { transform: scale(1.08); } }


/* Blockchain ≠ token */
.cw-duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.cw-duo-carte { background: #fff; border: 1px solid #E3E8EA; border-radius: 18px; padding: 30px; box-shadow: 0 6px 24px rgba(7,24,32,.06); }
.cw-duo-carte--or { border-color: rgba(255,119,0,.35); background: linear-gradient(180deg, #FFF8F1, #fff 60%); }
.cw-duo-tag { display: inline-block; font: 700 .78rem 'Roboto', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--cw-or-t); background: rgba(255,119,0,.1); padding: 6px 12px; border-radius: 999px; }
.cw-duo-carte h3 { font-family: 'Raleway', sans-serif; font-size: 1.35rem; color: var(--cw-texte); margin: 14px 0 18px; }
.cw-duo-sep { align-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cw-nuit); color: var(--cw-or); display: flex; align-items: center; justify-content: center; font: 700 1.8rem 'Roboto', sans-serif; }
.cw-crit { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cw-crit li { position: relative; padding-left: 22px; }
.cw-crit li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 8px; height: 8px; background: var(--cw-or); }
.cw-crit b { display: block; color: var(--cw-texte); font-size: 1rem; margin-bottom: 2px; }
.cw-crit span { color: var(--cw-gris); font-size: .94rem; line-height: 1.5; }

/* ============================ CLASSEMENT ============================ */
.cw-lb { position: relative; background: var(--cw-noir); color: #fff; padding: 96px 0 72px; overflow: hidden; }
.cw-lb-grille { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1.5px, transparent 1.5px), linear-gradient(rgba(255,255,255,.05) 1.5px, transparent 1.5px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%); }
.cw-lb::before { content: ""; position: absolute; left: 50%; top: -280px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,119,0,.16), transparent); pointer-events: none; }
.cw-lb .cw-wrap { position: relative; }
.cw-lb-tete { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.cw-legende { display: grid; gap: 10px; }
.cw-leg { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; background: var(--cw-carte); border-radius: 14px; padding: 14px 18px; border: 1px solid var(--cw-ligne); }
.cw-leg b { font-size: 1rem; }
.cw-leg span { grid-column: 1; color: #8E8E96; font-size: .88rem; margin-top: 2px; }
.cw-leg em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; color: var(--cw-or); font-size: 1.1rem; }

.cw-outils { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cw-filtres { display: flex; gap: 8px; flex-wrap: wrap; }
.cw-chip { background: var(--cw-carte); color: var(--cw-clair); border: 1px solid var(--cw-ligne); border-radius: 999px; padding: 9px 16px; font: 500 .9rem 'Roboto', sans-serif; cursor: pointer; transition: all .2s; }
.cw-chip:hover { border-color: #55555C; color: #fff; }
.cw-chip.on { background: var(--cw-or); border-color: var(--cw-or); color: #000; font-weight: 700; }
.cw-outils-d { display: flex; gap: 10px; }
.cw-recherche, .cw-tri { display: flex; align-items: center; gap: 8px; background: var(--cw-carte); border: 1px solid var(--cw-ligne); border-radius: 10px; padding: 0 12px; height: 42px; color: #8E8E96; }
.cw-recherche:focus-within, .cw-tri:focus-within { border-color: var(--cw-or); }
.cw-recherche svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.cw-recherche input, .cw-tri select { background: transparent; border: 0; outline: 0; color: #fff; font: 500 .92rem 'Roboto', sans-serif; width: 150px; height: 100%; margin: 0; padding: 0; box-shadow: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.cw-recherche input::placeholder { color: #77777F; }
.cw-tri select { padding-right: 4px; -webkit-appearance: auto; appearance: auto; }
.cw-tri select { width: auto; cursor: pointer; }
.cw-tri select option { background: var(--cw-carte); }
.cw-tri span { font-size: .85rem; }

.cw-table { background: var(--cw-carte); border: 1px solid var(--cw-ligne); border-radius: 18px; overflow: hidden; }
.cw-ligne { display: grid; grid-template-columns: 52px minmax(180px, 1.5fr) minmax(110px, 1fr) repeat(3, minmax(108px, .9fr)) 108px 84px; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--cw-ligne); cursor: pointer; transition: background .2s; }
#cw-lignes .cw-ligne:first-child { border-top: 0; }
.cw-ligne:hover, .cw-ligne:focus-visible { background: var(--cw-carte2); outline: none; }
.cw-ligne--tete { cursor: default; background: #121214; border-top: 0; border-bottom: 1px solid var(--cw-ligne); padding-top: 12px; padding-bottom: 12px; font: 700 .74rem 'Roboto', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #77777F; }
.cw-ligne--tete:hover { background: #121214; }
.cw-rang { font: 700 1.05rem 'Roboto', sans-serif; color: #77777F; font-variant-numeric: tabular-nums; text-align: center; }
.cw-podium .cw-rang { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,119,0,.14); color: var(--cw-or); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.cw-projet { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cw-projet b { display: block; font-size: 1.02rem; color: #fff; }
.cw-projet small, .cw-token small { display: block; color: #8E8E96; font-size: .82rem; margin-top: 2px; }
.cw-mono { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #0E0E10; border: 1px solid #34343A; color: var(--cw-clair); display: flex; align-items: center; justify-content: center; font: 700 .66rem 'Roboto', sans-serif; letter-spacing: .3px; }
.cw-podium .cw-mono { border-color: rgba(255,119,0,.5); color: var(--cw-or); }
.cw-ticker { display: inline-block; font: 700 .8rem 'Roboto', sans-serif; letter-spacing: .6px; color: var(--cw-or); background: rgba(255,119,0,.12); padding: 4px 9px; border-radius: 6px; }
.cw-note { display: flex; align-items: center; gap: 8px; }
.cw-note-lab { display: none; }
.cw-tk-m { display: none; }
.cw-note-v { font: 700 .9rem 'Roboto', sans-serif; color: #fff; font-variant-numeric: tabular-nums; min-width: 26px; }
.cw-barre { display: inline-flex; gap: 3px; }
.cw-barre i { width: 7px; height: 14px; border-radius: 2px; background: #333339; }
.cw-barre i.mi { background: linear-gradient(90deg, var(--cw-or) 50%, #333339 50%); }
.cw-barre i.on { background: var(--cw-or); }
.cw-total { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 3px; }
.cw-total b { font: 700 1.45rem 'Roboto', sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.cw-total small { color: #77777F; font-weight: 700; }
.cw-votes { grid-column: 1 / 3; font-size: .74rem; color: #77777F; margin-top: 2px; white-space: nowrap; }
.cw-votes i { font-style: normal; color: var(--cw-or); }
.cw-actions { text-align: right; }
.cw-voir { background: transparent; color: #fff; border: 1px solid #44444B; border-radius: 8px; padding: 8px 14px; font: 600 .86rem 'Roboto', sans-serif; cursor: pointer; transition: all .2s; }
.cw-ligne:hover .cw-voir { border-color: var(--cw-or); color: var(--cw-or); }
.cw-col-n, .cw-col-t { white-space: nowrap; }
.cw-vide { color: #8E8E96; text-align: center; padding: 30px; margin: 0; }
.cw-demo { color: #6E6E76; font-size: .84rem; margin: 16px 0 0; }

/* ============================ ARTICLES ============================ */
.cw-arts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cw-art { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E3E8EA; border-radius: 18px; padding: 26px 24px 22px; box-shadow: 0 6px 24px rgba(7,24,32,.06); transition: transform .3s, box-shadow .3s; scroll-margin-top: 110px; }
.cw-art:hover { border-color: #AEB8BD; }
.cw-art:target { border-color: var(--cw-or); box-shadow: 0 0 0 4px rgba(255,119,0,.18); }
.cw-art-num { font: 800 2rem 'Raleway', sans-serif; color: var(--cw-or); line-height: 1; }
.cw-art h3 { font-family: 'Raleway', sans-serif; font-size: 1.18rem; line-height: 1.3; color: var(--cw-texte); margin: 14px 0 8px; }
.cw-art p { color: var(--cw-gris); font-size: .95rem; line-height: 1.55; margin: 0 0 14px; }
.cw-art ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.cw-art li { position: relative; padding-left: 18px; font-size: .9rem; line-height: 1.45; color: var(--cw-texte); }
.cw-art li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 7px; height: 7px; background: var(--cw-or); }
.cw-art-ex { font-size: .84rem; color: var(--cw-gris); margin-top: auto; padding-top: 12px; border-top: 1px dashed #E3E8EA; }
.cw-bientot { align-self: flex-start; margin-top: 14px; font: 700 .78rem 'Roboto', sans-serif; color: var(--cw-or-t); background: rgba(255,119,0,.1); border-radius: 999px; padding: 6px 12px; }

/* ============================ RÈGLES ============================ */
.cw-regles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.cw-regle { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #E3E8EA; }
.cw-regle > b { display: inline-flex; width: 34px; height: 34px; border-radius: 9px; background: var(--cw-nuit); color: var(--cw-or); align-items: center; justify-content: center; font: 700 .98rem/1 'Roboto', sans-serif; }
.cw-regle h3 { font-family: 'Raleway', sans-serif; font-size: 1.08rem; color: var(--cw-texte); margin: 14px 0 8px; }
.cw-regle p { margin: 0; color: var(--cw-gris); font-size: .94rem; line-height: 1.55; }
.cw-avert { margin: 28px 0 0; font-size: .9rem; font-style: italic; color: var(--cw-gris); }

/* ============================ FICHE PROJET ============================ */
.cw-voile { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 1200; opacity: 0; transition: opacity .28s; }
.cw-voile.on { opacity: 1; }
.cw-fiche { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #111113; color: #fff; z-index: 1201; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 60px rgba(0,0,0,.4); display: flex; flex-direction: column; }
.cw-fiche.on { transform: none; }
.cw-fiche[hidden], .cw-voile[hidden] { display: none; }
.cw-fiche-corps { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 34px 34px calc(40px + env(safe-area-inset-bottom, 0px)); }
.cw-fermer { position: absolute; top: 20px; right: 26px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #34343A; background: #1A1A1D; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
.cw-fermer svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.cw-fermer:hover { border-color: var(--cw-or); }
body.cw-bloque { overflow: hidden; }
.cw-f-tete { display: flex; gap: 16px; align-items: center; padding-right: 44px; }
.cw-f-tete .cw-mono { width: 58px; height: 58px; border-radius: 14px; font-size: .82rem; border-color: rgba(255,119,0,.5); color: var(--cw-or); }
.cw-f-type { font: 700 .74rem 'Roboto', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--cw-or); }
.cw-fiche h2 { font-family: 'Raleway', sans-serif; font-size: 1.75rem; margin: 2px 0 4px; color: #fff; }
.cw-f-token { margin: 0; color: var(--cw-clair); font-size: .94rem; }
.cw-f-token b { color: #fff; }
.cw-f-accroche { font-size: 1.08rem; line-height: 1.5; color: #fff; margin: 22px 0 18px; font-weight: 500; }
.cw-f-score { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 16px; padding: 18px 20px; }
.cw-f-total { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 2px; padding-right: 20px; border-right: 1px solid var(--cw-ligne); }
.cw-f-total b { font: 700 2.4rem 'Roboto', sans-serif; line-height: 1; }
.cw-f-total small { color: #77777F; font-weight: 700; }
.cw-f-total span { grid-column: 1 / 3; color: #77777F; font-size: .8rem; margin-top: 6px; }
.cw-f-crits { display: grid; gap: 8px; }
.cw-f-crits div { display: grid; grid-template-columns: 92px auto 1fr; align-items: center; gap: 10px; font-size: .88rem; color: var(--cw-clair); }
.cw-f-crits b { color: #fff; font-variant-numeric: tabular-nums; }
.cw-f-resume { color: var(--cw-clair); line-height: 1.65; margin: 20px 0; }
.cw-f-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cw-f-duo section { background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 14px; padding: 16px 16px 14px; }
.cw-f-duo h3 { display: flex; align-items: center; gap: 8px; font: 700 .95rem 'Roboto', sans-serif; margin: 0 0 10px; color: #fff; }
.cw-pt { width: 8px; height: 8px; background: var(--cw-or); display: inline-block; }
.cw-f-tok { border-color: rgba(255,119,0,.35) !important; }
.cw-f-duo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cw-f-duo li { font-size: .88rem; line-height: 1.45; color: var(--cw-clair); padding-left: 14px; position: relative; }
.cw-f-duo li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; background: #55555C; }
.cw-f-plus h3 { color: var(--cw-vert); }
.cw-f-plus li::before { background: var(--cw-vert); }
.cw-f-moins h3 { color: var(--cw-rouge); }
.cw-f-moins li::before { background: var(--cw-rouge); }
.cw-f-art { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,119,0,.1); border: 1px solid rgba(255,119,0,.3); border-radius: 14px; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 600; margin: 4px 0 28px; transition: background .2s; }
.cw-f-art:hover { background: rgba(255,119,0,.18); }
.cw-f-art small { display: block; color: var(--cw-or); font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.cw-f-art svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--cw-or); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.cw-vote { border-top: 1px solid var(--cw-ligne); padding-top: 24px; scroll-margin-top: 20px; }
.cw-vote h3 { font-family: 'Raleway', sans-serif; font-size: 1.3rem; margin: 0 0 4px; color: #fff; }
.cw-vote > p { color: #8E8E96; margin: 0 0 18px; font-size: .92rem; }
.cw-v-crit { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.cw-v-crit legend { padding: 0; margin-bottom: 10px; }
.cw-v-crit legend b { display: block; color: #fff; }
.cw-v-crit legend span { color: #8E8E96; font-size: .84rem; }
.cw-v-choix { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cw-v-choix label { position: relative; }
.cw-v-choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cw-v-choix span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 10px; background: #1A1A1D; border: 1px solid var(--cw-ligne); font-weight: 700; color: var(--cw-clair); transition: all .15s; }
.cw-v-choix input:hover + span { border-color: #66666E; color: #fff; }
.cw-v-choix input:focus-visible + span { outline: 2px solid var(--cw-or); outline-offset: 2px; }
.cw-v-choix input:checked + span { background: var(--cw-or); border-color: var(--cw-or); color: #000; }
.cw-v-pied { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.cw-v-somme { color: #8E8E96; font-size: .95rem; }
.cw-v-somme b { color: var(--cw-or); font-size: 1.2rem; }

.cw-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: #fff; color: var(--cw-nuit); font-weight: 600; padding: 14px 22px; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.25); z-index: 1300; opacity: 0; pointer-events: none; transition: all .3s; max-width: calc(100% - 32px); text-align: center; }
.cw-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1100px) {
  .cw-arts, .cw-regles { grid-template-columns: repeat(2, 1fr); }
  .cw-ligne { grid-template-columns: 44px minmax(170px, 1.4fr) minmax(100px, 1fr) repeat(3, minmax(96px, .9fr)) 96px; }
  .cw-actions, .cw-col-a { display: none; }
}
@media (max-width: 900px) {
  .cw-lb-tete { grid-template-columns: 1fr; gap: 24px; }
  .cw-legende { grid-template-columns: repeat(3, 1fr); }
  .cw-leg { grid-template-columns: 1fr; }
  .cw-leg em { grid-row: auto; grid-column: 1; }
  .cw-duo { grid-template-columns: 1fr; }
  .cw-duo-sep { justify-self: center; transform: rotate(90deg); }
  /* Classement en cartes */
  .cw-ligne--tete { display: none; }
  .cw-table { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  #cw-lignes { display: grid; gap: 12px; }
  .cw-ligne { grid-template-columns: 40px 1fr auto; grid-template-areas: "r p t" "n1 n1 n1" "n2 n2 n2" "n3 n3 n3"; background: var(--cw-carte); border: 1px solid var(--cw-ligne) !important; border-radius: 16px; padding: 16px; row-gap: 8px; }
  .cw-rang { grid-area: r; }
  .cw-projet { grid-area: p; }
  .cw-token { display: none; }
  .cw-tk-m { display: inline; color: var(--cw-or); font-weight: 700; }
  .cw-total { grid-area: t; text-align: right; }
  .cw-note:nth-of-type(4) { grid-area: n1; } .cw-note:nth-of-type(5) { grid-area: n2; } .cw-note:nth-of-type(6) { grid-area: n3; }
  .cw-note { display: grid; grid-template-columns: 96px auto 1fr; }
  .cw-note-lab { display: block; font-style: normal; color: #8E8E96; font-size: .86rem; }
  .cw-note-v { text-align: right; }
  .cw-ligne:first-child { border-top: 1px solid var(--cw-ligne); }
}
@media (max-width: 640px) {
  .cw-section { padding: 64px 0; }
  .cw-wrap { padding: 0 16px; }
  .cw-arts, .cw-regles { grid-template-columns: 1fr; }
  .cw-legende { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cw-leg { padding: 12px; text-align: center; }
  .cw-leg span { display: none; }
  .cw-leg b { font-size: .9rem; }
  .cw-outils { flex-direction: column; align-items: stretch; }
  .cw-filtres { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cw-filtres::-webkit-scrollbar { display: none; }
  .cw-chip { flex: none; }
  .cw-outils-d { width: 100%; }
  .cw-recherche { flex: 1; } .cw-recherche input { width: 100%; }
  .cw-reseau { width: 190px; height: 190px; }
  /* Fiche en panneau du bas */
  .cw-fiche { top: auto; left: 0; height: 92dvh; max-height: 92vh; width: 100%; border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .cw-fermer { top: 14px; right: 16px; }
  .cw-fiche-corps { padding: 24px 18px calc(32px + env(safe-area-inset-bottom, 0px)); }
  .cw-f-duo { grid-template-columns: 1fr; }
  .cw-f-score { grid-template-columns: 1fr; }
  .cw-f-total { border-right: 0; border-bottom: 1px solid var(--cw-ligne); padding: 0 0 12px; }
  .cw-v-choix span { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-reseau-liens path, .cw-reseau-coeur { animation: none; }
  .cw-fiche, .cw-voile, .cw-toast { transition: none; }
}

/* =====================================================================
   HERO : TOP 5 (version 2)
   ===================================================================== */
.cw-hero { display: block; min-height: 0; padding: 64px 20px 56px; }
.cw-hero-in { position: relative; max-width: 1080px; margin: 0 auto; }
.cw-hero-tete { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.cw-h1 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; color: #fff; margin: 18px 0 12px; padding: 0; }
.cw-h1 em { font-style: normal; color: var(--cw-or); }
.cw-hero-sous { color: #D0D6D9; font-size: 1.08rem; margin: 0; }
.cw-hero-sous b { color: #fff; font-weight: 600; }

/* Liste : fond translucide, séparateurs entre les projets */
.cw-liste { position: relative; background: rgba(10, 14, 16, .55); border: 1px solid rgba(255,255,255,.09); border-radius: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; }
.cw-liste .cw-ligne { grid-template-columns: 56px minmax(190px, 1.6fr) minmax(110px, 1fr) repeat(3, minmax(104px, .9fr)) 112px; border-top: 1px solid rgba(255,255,255,.08); padding: 16px 24px; }
.cw-liste .cw-ligne:hover, .cw-liste .cw-ligne:focus-visible { background: rgba(255,255,255,.04); }
.cw-liste .cw-ligne--tete { background: transparent; border-top: 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #8E9AA0; }
.cw-liste .cw-ligne--tete:hover { background: transparent; }
#cw-lignes .cw-ligne:first-child { border-top: 0; }
.cw-liste .cw-barre i { background: rgba(255,255,255,.12); }
.cw-liste .cw-barre i.on { background: var(--cw-or); }
.cw-liste .cw-barre i.mi { background: linear-gradient(90deg, var(--cw-or) 50%, rgba(255,255,255,.12) 50%); }
.cw-liste .cw-mono { background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.14); }
.cw-liste .cw-podium .cw-mono { border-color: rgba(255,119,0,.55); }

/* Accueil : le podium (3 projets) en entier, sans fondu */

.cw-hero-actions { position: relative; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; z-index: 2; }
.cw-hero-actions--ouvert { margin-top: 22px; }
.cw-hero-actions[hidden], .cw-outils[hidden] { display: none; }
.cw-hero .cw-btn--ghost, .cw-hero .cw-btn--ghost:focus { background: rgba(7,24,32,.7); color: #fff; border-color: rgba(255,255,255,.35); }
.cw-hero .cw-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.cw-hero .cw-outils { margin-bottom: 14px; }
.cw-hero-pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; font-size: .86rem; color: #7E8A90; }
.cw-hero-pied a { display: inline-flex; align-items: center; gap: 6px; color: #D0D6D9; font-weight: 600; text-decoration: none; }
.cw-hero-pied a:hover { color: var(--cw-or); }
.cw-hero-pied svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   COMPRENDRE : CARTES (style des actualités)
   ===================================================================== */
.cw-h3 { display: flex; align-items: center; gap: 10px; font-family: 'Raleway', sans-serif; font-size: 1.35rem; color: var(--cw-texte); margin: 8px 0 18px; }
.cw-h3 .cw-pt { width: 10px; height: 10px; }
.cw-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 52px; }
.cw-cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.cw-carte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E3E8EA; border-radius: 16px; overflow: hidden; transition: border-color .25s; scroll-margin-top: 110px; }
.cw-carte:target { border-color: var(--cw-or); box-shadow: 0 0 0 4px rgba(255,119,0,.18); }
.cw-carte--lien { cursor: pointer; }
.cw-carte--lien:hover { border-color: #AEB8BD; }
.cw-carte--lien:hover .cw-carte-cta svg { transform: translateX(3px); }
.cw-carte-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #0B2430, #071820 55%, #111); }
.cw-carte-media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,119,0,.13) 1.5px, transparent 1.5px), linear-gradient(rgba(255,119,0,.13) 1.5px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 80% 30%, #000, transparent 75%); mask-image: radial-gradient(circle at 80% 30%, #000, transparent 75%); }
.cw-media-num { position: absolute; left: 18px; bottom: 10px; font: 800 3.4rem 'Raleway', sans-serif; color: var(--cw-or); line-height: 1; }
.cw-media-mot { position: absolute; right: 16px; top: 14px; font: 700 .76rem 'Roboto', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #D0D6D9; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 10px; border-radius: 999px; }
.cw-media--projet { background: radial-gradient(circle at 70% 40%, rgba(255,119,0,.28), transparent 60%), linear-gradient(135deg, #0B2430, #071820 60%, #0A0A0B); }
.cw-media-rang { position: absolute; left: 16px; top: 14px; font: 700 1rem 'Roboto', sans-serif; color: #000; background: var(--cw-or); padding: 6px 12px; border-radius: 999px; }
.cw-media-mono { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); border: 2px solid rgba(255,119,0,.6); color: var(--cw-or); font: 800 1.15rem 'Roboto', sans-serif; letter-spacing: .5px; box-shadow: 0 0 40px rgba(255,119,0,.25); }
.cw-media-note { position: absolute; left: 12px; bottom: 12px; margin: 0; display: inline-flex; align-items: baseline; gap: 6px; background: rgba(7,24,32,.88); color: #fff; padding: 7px 12px; border-radius: 10px; font: .8rem 'Roboto', sans-serif; }
.cw-media-note b { color: var(--cw-or); font-size: 1.1rem; }
.cw-media-note span { color: #D3DDE2; }
.cw-carte-corps { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.cw-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.cw-tag { font: 700 .76rem 'Roboto', sans-serif; padding: 6px 10px; border-radius: 999px; color: var(--cw-texte); border: 1.5px solid #CBD4D9; background: #fff; }
.cw-tag--or { color: var(--cw-or-t); background: #FFF1E3; border-color: #FFF1E3; }
.cw-carte-titre { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.18rem; line-height: 1.3; color: var(--cw-texte); margin: 0; }
.cw-etire { all: unset; cursor: pointer; }
.cw-etire::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cw-etire:focus-visible { outline: none; }
.cw-carte:focus-within { border-color: var(--cw-or); }
.cw-carte-resume { margin: 0; color: var(--cw-gris); font-size: .95rem; line-height: 1.55; }
.cw-carte-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font: 700 .9rem 'Roboto', sans-serif; color: var(--cw-or-t); }
.cw-carte-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .2s; }
.cw-carte-cta--off { color: #8A979D; }

/* Choix du projet à noter */
.cw-choix-titre { font-family: 'Raleway', sans-serif; font-size: 1.5rem; color: #fff; margin: 4px 50px 6px 0; }
.cw-choix-sous { color: #8E8E96; margin: 0 0 20px; }
.cw-choix { display: grid; gap: 8px; }
.cw-choix-p { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 12px; padding: 10px 14px; color: #fff; cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.cw-choix-p:hover, .cw-choix-p:focus-visible { border-color: var(--cw-or); background: #222226; outline: none; }
.cw-choix-p > span:not(.cw-mono) { flex: 1; }
.cw-choix-p b { display: block; }
.cw-choix-p small { color: #8E8E96; font-size: .82rem; }
.cw-choix-p i { font-style: normal; font: 700 .74rem 'Roboto', sans-serif; color: var(--cw-or); background: rgba(255,119,0,.12); padding: 4px 8px; border-radius: 999px; }

@media (max-width: 1100px) {
  .cw-liste .cw-ligne { grid-template-columns: 44px minmax(170px, 1.4fr) minmax(96px, 1fr) repeat(3, minmax(96px, .9fr)) 100px; padding: 14px 18px; }
  .cw-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cw-liste { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
  .cw-liste .cw-ligne { grid-template-columns: 40px 1fr auto; background: rgba(10,14,16,.6); border: 1px solid rgba(255,255,255,.1) !important; padding: 16px; }
  .cw-cartes--3 { grid-template-columns: 1fr; }
  .cw-hero-actions { margin-top: 20px; }
  /* Top 5 compact sur mobile : rang, projet et note ; le détail est dans la fiche */
  .cw-liste:not(.ouvert) .cw-note { display: none; }
  .cw-liste:not(.ouvert) #cw-lignes { gap: 8px; }
  .cw-liste:not(.ouvert) .cw-ligne { padding: 12px 14px; row-gap: 0; }
}
@media (max-width: 640px) {
  .cw-hero { padding: 40px 0 40px; }
  .cw-hero-in { padding: 0 16px; }
  .cw-cartes { grid-template-columns: 1fr; }
  .cw-hero-actions .cw-btn { width: 100%; }
  .cw-hero-pied { justify-content: center; text-align: center; }
}

/* =====================================================================
   PAGE CLASSEMENT COMPLET
   ===================================================================== */
.cw-hero--complet { padding-top: 40px; }
.cw-ariane { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #8E9AA0; margin-bottom: 22px; }
.cw-ariane a { color: #D0D6D9; text-decoration: none; }
.cw-ariane a:hover { color: var(--cw-or); }
.cw-cl-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.cw-h1--gauche { text-align: left; margin-top: 14px; }
.cw-cl-tete .cw-hero-sous { max-width: 620px; }
.cw-stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cw-stats li { background: rgba(10,14,16,.55); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 14px 18px; }
.cw-stats b { display: block; font: 700 1.45rem 'Roboto', sans-serif; color: #fff; }
.cw-stats span { color: #8E9AA0; font-size: .86rem; }
.cw-rang { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cw-evol { font-style: normal; font: 700 .68rem 'Roboto', sans-serif; line-height: 1; }
.cw-evol--up { color: var(--cw-vert); }
.cw-evol--down { color: var(--cw-rouge); }
.cw-evol--eq { color: #66727A; }
.cw-podium .cw-rang { height: auto; min-height: 34px; padding: 4px 0; }

.cw-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cw-etape { position: relative; background: #fff; border: 1px solid #E3E8EA; border-radius: 18px; padding: 26px; box-shadow: 0 6px 24px rgba(7,24,32,.05); }
.cw-etape > b { display: inline-flex; width: 42px; height: 42px; border-radius: 11px; background: var(--cw-or); color: #fff; align-items: center; justify-content: center; font: 700 1.1rem/1 'Roboto', sans-serif; }
.cw-etape h3 { font-family: 'Raleway', sans-serif; font-size: 1.2rem; color: var(--cw-texte); margin: 16px 0 8px; }
.cw-etape p { margin: 0; color: var(--cw-gris); line-height: 1.6; }

.cw-criteres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cw-critere { position: relative; background: #fff; border-radius: 18px; padding: 26px; border: 1px solid #E3E8EA; }
.cw-critere-tag { position: absolute; top: 22px; right: 22px; font: 700 1.1rem 'Roboto', sans-serif; color: var(--cw-or); }
.cw-critere h3 { font-family: 'Raleway', sans-serif; font-size: 1.3rem; color: var(--cw-texte); margin: 0 0 6px; }
.cw-critere > p { color: var(--cw-gris); margin: 0 0 14px; }
.cw-critere ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cw-critere li { position: relative; padding-left: 18px; font-size: .94rem; line-height: 1.45; color: var(--cw-texte); }
.cw-critere li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 7px; height: 7px; background: var(--cw-or); }
.cw-bareme { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid #E3E8EA; background: #fff; }
.cw-bareme div { padding: 18px 20px; border-left: 1px solid #E3E8EA; }
.cw-bareme div:first-child { border-left: 0; }
.cw-bareme b { display: block; font: 700 1.3rem 'Roboto', sans-serif; color: var(--cw-texte); }
.cw-bareme span { display: block; font-weight: 700; color: var(--cw-or-t); margin: 2px 0 4px; }
.cw-bareme small { color: var(--cw-gris); font-size: .86rem; line-height: 1.4; display: block; }
.cw-bareme-top { background: var(--cw-nuit); }
.cw-bareme-top b { color: var(--cw-or); }
.cw-bareme-top span { color: #fff; }
.cw-bareme-top small { color: #C9D1D5; }

.cw-deux { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.cw-texte { color: var(--cw-gris); font-size: 1.04rem; line-height: 1.7; margin: 0 0 14px; }
.cw-texte strong { color: var(--cw-texte); }
.cw-formule { background: var(--cw-nuit); color: #fff; border-radius: 20px; padding: 26px 28px; box-shadow: 0 16px 40px rgba(7,24,32,.18); }
.cw-formule-tit { font: 700 .76rem 'Roboto', sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: var(--cw-or); }
.cw-formule-l, .cw-formule-t { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cw-formule-l span { color: #C9D1D5; }
.cw-formule-l b { font-variant-numeric: tabular-nums; }
.cw-formule-l:nth-of-type(2)::before, .cw-formule-l:nth-of-type(3)::before { content: "+"; color: var(--cw-or); margin-right: 8px; font-weight: 700; }
.cw-formule-l span { flex: 1; }
.cw-formule-t { border-bottom: 0; padding-top: 16px; }
.cw-formule-t span { font-weight: 700; }
.cw-formule-t b { font: 700 2rem 'Roboto', sans-serif; color: var(--cw-or); }
.cw-formule-t small { font-size: .9rem; color: #8E9AA0; margin-left: 2px; }

.cw-regles--3 { grid-template-columns: repeat(3, 1fr); }
.cw-wrap--etroit { max-width: 860px; }
.cw-faq { display: grid; gap: 10px; margin-top: 10px; }
.cw-faq details { background: #fff; border: 1px solid #E3E8EA; border-radius: 14px; padding: 0 20px; transition: border-color .2s; }
.cw-faq details[open] { border-color: rgba(255,119,0,.45); }
.cw-faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative; font-weight: 700; color: var(--cw-texte); }
.cw-faq summary::-webkit-details-marker { display: none; }
.cw-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 700 1.4rem 'Roboto', sans-serif; color: var(--cw-or); transition: transform .2s; }
.cw-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cw-faq p { margin: 0 0 18px; color: var(--cw-gris); line-height: 1.6; }

@media (max-width: 900px) {
  .cw-stats { grid-template-columns: repeat(2, 1fr); }
  .cw-etapes, .cw-criteres, .cw-regles--3 { grid-template-columns: 1fr; }
  .cw-bareme { grid-template-columns: repeat(2, 1fr); }
  .cw-bareme div:nth-child(3) { border-left: 0; }
  .cw-bareme div:nth-child(n+3) { border-top: 1px solid #E3E8EA; }
  .cw-deux { grid-template-columns: 1fr; gap: 28px; }
  .cw-rang { flex-direction: column; }
}
@media (max-width: 640px) {
  .cw-cl-tete .cw-btn { width: 100%; }
  .cw-hero--complet .cw-hero-in { padding: 0 16px; }
  .cw-h1--gauche { font-size: 2rem; }
}

/* =====================================================================
   VOTE RÉEL : CONNEXION DISCORD
   ===================================================================== */
.cw-btn--discord { background: #5865F2; color: #fff; }
.cw-btn--discord:hover { background: #4752C4; color: #fff; }
.cw-btn--discord:disabled { opacity: .6; cursor: wait; }
.cw-vote--etape { background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 16px; padding: 22px; }
.cw-vote--etape > p { margin-bottom: 18px; }
.cw-vote-qui { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; font-size: .86rem; color: #8E8E96; }
.cw-vote-qui img { border-radius: 50%; }
.cw-vote-qui a { color: var(--cw-clair); }
.cw-attente { opacity: .62; }
.cw-attente .cw-rang { color: #66727A; }

.cw-attente-justif { background: rgba(255,119,0,.1); border: 1px solid rgba(255,119,0,.35); border-radius: 14px; padding: 16px 18px; margin: 0 0 20px; }
.cw-attente-justif b { color: #fff; }
.cw-attente-justif p { color: var(--cw-clair); font-size: .9rem; margin: 6px 0 14px; }

/* ---------- Top 10 : rangs 8 à 10 plus discrets, bouton « Voir tous » ---------- */
.cw-estompe { opacity: .5; transition: opacity .2s; }
.cw-estompe:hover, .cw-estompe:focus-visible { opacity: 1; }
.cw-tous { display: flex; align-items: center; justify-content: center; gap: 6px; width: calc(100% - 20px); margin: 10px; padding: 13px; border-radius: 12px; border: 1px dashed #3A3A40; background: transparent; color: #D0D6D9; font: 600 .92rem 'Roboto', sans-serif; cursor: pointer; transition: border-color .2s, color .2s; }
.cw-tous:hover, .cw-tous:focus-visible { border-color: var(--cw-or); color: #fff; outline: none; }
.cw-tous svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cw-nouveau .cw-projet b::after { content: 'Nouveau'; margin-left: 8px; font: 700 .64rem 'Roboto', sans-serif; letter-spacing: .4px; color: var(--cw-or); background: rgba(255,119,0,.12); padding: 3px 7px; border-radius: 999px; vertical-align: 2px; }

/* ---------- Proposer un projet ---------- */
.cw-proposer-lien { display: flex; align-items: center; gap: 14px; width: 100%; margin: 16px 0 0; padding: 16px 18px; text-align: left; border-radius: 14px; border: 1px dashed rgba(255,119,0,.55); background: rgba(255,119,0,.06); color: #fff; font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.cw-proposer-lien:hover, .cw-proposer-lien:focus-visible { background: rgba(255,119,0,.12); border-color: var(--cw-or); outline: none; }
.cw-proposer-lien span { flex: 1; }
.cw-proposer-lien b { display: block; }
.cw-proposer-lien small { color: #A9A9B2; font-size: .84rem; }
.cw-proposer-lien svg { width: 22px; height: 22px; fill: none; stroke: var(--cw-or); stroke-width: 2.4; stroke-linecap: round; flex: none; }
.cw-retour { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #A9A9B2; font: 600 .9rem 'Roboto', sans-serif; cursor: pointer; padding: 4px 0; margin: 0 0 14px; transition: color .2s; }
.cw-retour svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.cw-retour:hover, .cw-retour:focus-visible { color: var(--cw-or); outline: none; }
.cw-retour:hover svg { transform: translateX(-3px); }
.cw-prop { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.cw-prop label { display: flex; flex-direction: column; gap: 6px; }
.cw-prop label > span { font: 600 .86rem 'Roboto', sans-serif; color: #D0D6D9; }
.cw-prop em { font-style: normal; color: #7E8A90; font-weight: 400; }
.cw-prop input, .cw-prop select, .cw-prop textarea { background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 10px; padding: 11px 12px; color: #fff; font: inherit; font-size: .95rem; }
.cw-prop textarea { resize: vertical; }
.cw-prop input:focus, .cw-prop select:focus, .cw-prop textarea:focus { border-color: var(--cw-or); outline: none; }
.cw-prop-l { grid-column: 1 / -1; }
.cw-f-ajout { background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 12px; padding: 14px 16px; color: var(--cw-clair); font-size: .9rem; line-height: 1.6; }
.cw-f-ajout a { color: var(--cw-or); }
@media (max-width: 520px) { .cw-prop { grid-template-columns: 1fr; } }

/* ---------- Encadré « Pourquoi Bitcoin n'est pas classé » (sans effet au survol) ---------- */
.cw-pbtc { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid #E4E7E9; border-radius: 20px; padding: 32px 34px; }
.cw-pbtc-ico { width: 56px; height: 56px; border-radius: 16px; background: #FFF4EA; display: flex; align-items: center; justify-content: center; }
.cw-pbtc-ico img { width: 40px; height: 40px; display: block; }
.cw-pbtc h2 { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--cw-texte); font-size: 1.4rem; line-height: 1.25; margin: 4px 0 12px; }
.cw-pbtc p { color: var(--cw-gris); line-height: 1.7; margin: 0 0 12px; max-width: 780px; }
.cw-pbtc p strong { color: var(--cw-texte); }
.cw-pbtc .cw-btn { margin-top: 8px; }
.cw-btn--ligne { color: var(--cw-or-t); border-color: var(--cw-or); background: transparent; }
.cw-btn--ligne:hover, .cw-btn--ligne:focus-visible { background: var(--cw-or); color: #fff; }
@media (max-width: 600px) { .cw-pbtc { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; } }

/* Lien vers les bases depuis le classement */
.cw-bases-lien { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 1px solid #E4E7E9; border-radius: 18px; padding: 22px 26px; margin-top: 34px; }
.cw-bases-lien p { margin: 0; color: #4A5257; }
.cw-bases-lien b { color: #121212; display: block; font-size: 1.05rem; margin-bottom: 2px; }
#bitcoin { padding-top: 0; border-top: 0; }
#bitcoin + .cw-section { border-top: 0; }

/* Titre de la fiche : place pour la croix */
.cw-choix-titre, .cw-f-tete { padding-right: 52px; }
.cw-prop label, .cw-prop input, .cw-prop select, .cw-prop textarea { margin: 0; width: auto; box-sizing: border-box; }

/* ---------- Visuels des 4 bases (images dans /crypto-web3/images/) ---------- */
.cw-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-media--base::before { display: none; }
.cw-media--base { background: var(--cw-nuit); }
.cw-media--base .cw-media-mot { left: 16px; right: auto; z-index: 1; background: rgba(7,24,32,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---------- Vote : curseurs de 1 à 7, par demi-point ---------- */
.cw-v-crit { margin: 0 0 22px; }
.cw-v-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cw-v-tete label b { display: block; color: #fff; }
.cw-v-tete label { font-weight: 400; }
.cw-v-tete label span { color: #8E8E96; font-size: .84rem; font-weight: 400; }
.cw-v-val.vide { color: #7E8A90; background: #1A1A1D; border-color: var(--cw-ligne); }
.cw-v-val { flex: none; min-width: 52px; text-align: center; font: 700 1.35rem/1 'Roboto', sans-serif; color: var(--cw-or); background: rgba(255,119,0,.1); border: 1px solid rgba(255,119,0,.35); border-radius: 10px; padding: 8px 10px; }
.cw-curseur { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0; padding: 0; border: 0 !important; box-shadow: none; background: transparent; cursor: pointer; --pc: 50%; }
.cw-curseur:focus { outline: none; }
.cw-curseur::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--cw-or) var(--pc), #2C2C31 var(--pc)); }
.cw-curseur::-moz-range-track { height: 8px; border-radius: 99px; background: #2C2C31; }
.cw-curseur::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--cw-or); }
.cw-curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--cw-or); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.cw-curseur::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--cw-or); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.cw-curseur:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,119,0,.35); }
/* Pas encore noté : piste neutre, poignée grise */
.cw-curseur.vide::-webkit-slider-runnable-track { background: #2C2C31; }
.cw-curseur.vide::-moz-range-progress { background: transparent; }
.cw-curseur.vide::-webkit-slider-thumb { background: #3A3A40; border-color: #66666E; }
.cw-curseur.vide::-moz-range-thumb { background: #3A3A40; border-color: #66666E; }
.cw-v-graduation { display: flex; justify-content: space-between; padding: 0 9px; margin-top: 2px; }
.cw-v-graduation span { width: 18px; text-align: center; font: 600 .78rem 'Roboto', sans-serif; color: #7E8A90; }
.cw-v-aide { font-size: .82rem; color: #7E8A90; margin: -4px 0 0; }

/* ---------- Liste déroulante maison (catégorie du formulaire de proposition) ---------- */
.cw-champ { display: flex; flex-direction: column; gap: 6px; }
.cw-champ > span { font: 600 .86rem 'Roboto', sans-serif; color: #D0D6D9; }
.cw-sel { position: relative; }
.cw-sel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; background: #1A1A1D; border: 1px solid var(--cw-ligne); border-radius: 10px; padding: 11px 14px; color: #fff; font: 400 .95rem 'Roboto', sans-serif; text-align: left; cursor: pointer; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.cw-sel-btn:hover, .cw-sel-btn:focus-visible, .cw-sel.on .cw-sel-btn { border-color: var(--cw-or); outline: none; }
.cw-sel-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #A9A9B2; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cw-sel.on .cw-sel-btn svg { transform: rotate(180deg); stroke: var(--cw-or); }
.cw-sel-liste { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; margin: 0; padding: 6px; list-style: none; background: #1E1E22; border: 1px solid #34343A; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.45); max-height: 340px; overflow-y: auto; outline: none; }
.cw-sel-liste[hidden] { display: none; }
.cw-sel-liste li { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; color: #E6E6EA; font-size: .94rem; cursor: pointer; }
.cw-sel-liste li svg { width: 16px; height: 16px; fill: none; stroke: var(--cw-or); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.cw-sel-liste li[aria-selected="true"] { color: #fff; font-weight: 600; }
.cw-sel-liste li[aria-selected="true"] svg { opacity: 1; }
.cw-sel-liste li:hover, .cw-sel-liste li.actif { background: rgba(255,119,0,.12); }

/* ---------- Fiche projet : article lié et site officiel ---------- */
.cw-f-liens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 28px; }
.cw-f-liens .cw-f-art { margin: 0; min-width: 0; }
.cw-f-liens .cw-f-art span { min-width: 0; overflow-wrap: anywhere; }
.cw-f-site { background: #1A1A1D; border-color: var(--cw-ligne); }
.cw-f-site:hover { background: #222226; border-color: #4A4A52; }
.cw-f-site small { color: #A9A9B2; }
.cw-f-site svg { stroke: #A9A9B2; }

/* ---------- Logos des tokens (à la place des lettres) ---------- */
.cw-mono--logo img { display: block; width: 74%; height: 74%; border-radius: 50%; object-fit: cover; }
/* Top 3 : pas de contour orange autour des logos (les lettres, elles, le gardent) */
.cw-podium .cw-mono--logo { border-color: #34343A; }
.cw-liste .cw-podium .cw-mono--logo { border-color: rgba(255,255,255,.14); }

/* Classement des actifs : logos d'entreprises (formes libres, pas des pastilles rondes) */
.cw-mono--actifs img { border-radius: 0; object-fit: contain; width: 76%; height: 76%; }

/* ---------- Classement des actifs : exemple de note pondérée ---------- */
.ca-compare .ca-cas { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ca-cas > span { font-weight: 700; color: #fff; }
.ca-cas > small { grid-row: 2; color: #9AA8AE; font-size: .88rem; }
.ca-cas > b { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 700 1.7rem 'Roboto', sans-serif; color: #C9D1D5; font-variant-numeric: tabular-nums; }
.ca-cas > b small { font-size: .85rem; color: #8E9AA0; margin-left: 2px; }
.ca-cas--top > b { color: var(--cw-or); }
.ca-compare-pied { margin: 14px 0 0; color: #C9D1D5; font-size: .9rem; line-height: 1.55; }

/* ---------- Classement des actifs : liens vers les 5 classes d'actifs ---------- */
.ca-classes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 28px; }
.ca-classe { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; background: #fff; border: 1px solid #E3E8EA; border-radius: 16px; text-decoration: none; color: var(--cw-texte); transition: border-color .25s; }
.ca-classe:hover, .ca-classe:focus-visible { border-color: #AEB8BD; outline: none; }
.ca-classe img { width: 44px; height: 44px; margin-bottom: 8px; }
.ca-classe b { font: 700 1.02rem 'Raleway', sans-serif; color: var(--cw-texte); }
.ca-classe span { color: var(--cw-gris); font-size: .9rem; line-height: 1.45; }
@media (max-width: 1000px) { .ca-classes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .ca-classes { grid-template-columns: 1fr 1fr; } }

/* ---------- Page Actifs : les 5 classes d'actifs ---------- */
.ca-cls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ca-cl { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 40px 20px 26px; border-radius: 20px; text-decoration: none; overflow: hidden;
  background: radial-gradient(120% 65% at 50% 0%, rgba(255,119,0,.12), transparent 62%), linear-gradient(180deg, #151517, #0B0B0C); border: 1px solid #2C2C31; transition: border-color .25s; }
.ca-cl:hover, .ca-cl:focus-visible { border-color: rgba(255,119,0,.55); outline: none; }
.ca-cl-num { position: absolute; top: 14px; left: 16px; font: 700 .76rem 'Roboto', sans-serif; letter-spacing: 1.5px; color: #77777F; }
.ca-cl-txt { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.ca-cl-role { font: 700 .72rem 'Roboto', sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: var(--cw-or); }
.ca-cl h3 { margin: 0; font: 700 1.22rem/1.25 'Raleway', sans-serif; color: #fff; }
.ca-cl p { margin: 2px 0 0; color: #B4B4BC; font-size: .92rem; line-height: 1.55; }
.ca-cl-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font: 700 .9rem 'Roboto', sans-serif; color: #fff; }
.ca-cl-cta svg { width: 15px; height: 15px; fill: none; stroke: var(--cw-or); stroke-width: 2.2; transition: transform .2s; }
.ca-cl:hover .ca-cl-cta svg { transform: translateX(3px); }
@media (max-width: 1100px) { .ca-cls { grid-template-columns: repeat(6, minmax(0, 1fr)); } .ca-cl { grid-column: span 2; } .ca-cl:nth-child(4) { grid-column: 2 / span 2; } }
@media (max-width: 700px) {
  .ca-cls { grid-template-columns: 1fr; gap: 12px; }
  .ca-cl, .ca-cl:nth-child(4) { grid-column: auto; flex-direction: row; align-items: center; text-align: left; gap: 18px; padding: 20px 18px; }
  .ca-cl-txt { align-items: flex-start; gap: 5px; }
  .ca-cl-num { display: none; }
  .ca-cl p { font-size: .9rem; }
  .ca-cl-cta { padding-top: 4px; }
}

/* ---------- Page Actifs : le rôle de chaque actif ---------- */
.ca-roles .ca-role { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; }
.ca-roles .ca-role:last-child { border-bottom: 0; }
.ca-role span { color: #C9D1D5; }
.ca-role b { flex: none; color: var(--cw-or); font-weight: 700; }
.ca-role:hover span { color: #fff; }

/* ---------- Tri du classement : liste déroulante maison dans la pastille « Trier » ---------- */
.cw-tri { position: relative; }
.cw-sel--tri { position: static; height: 100%; }
.cw-sel--tri .cw-sel-btn { height: 100%; width: auto; gap: 8px; padding: 0 2px 0 0; background: transparent; border: 0; border-radius: 0; font: 500 .92rem 'Roboto', sans-serif; color: #fff; }
.cw-sel--tri .cw-sel-btn:hover, .cw-sel--tri .cw-sel-btn:focus-visible, .cw-sel--tri.on .cw-sel-btn { border: 0; }
.cw-sel--tri .cw-sel-liste { left: 0; right: auto; min-width: 100%; width: max-content; top: calc(100% + 6px); z-index: 20; }
.cw-sel--tri .cw-sel-liste li { gap: 18px; }
.cw-tri:has(.cw-sel.on) { border-color: var(--cw-or); }
.cw-sel--tri .cw-sel-val { font-size: .92rem; }