/* =====================================================================================================================
   Concours Minecraft (30/09/2026) — page #/minecraft/concours, bandeau de la page Minecraft, carte de l'accueil (assets/concours.js).
   Identité Volt (jetons --id*), fond uni, bulles mates, aucun trait pleine largeur, jamais de :has(), aucun défilement horizontal.
   ===================================================================================================================== */
.cc-page{display:flex;flex-direction:column;gap:14px;min-width:0}
.cc-page [hidden]{display:none !important}
.cc-ic{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;color:var(--id)}
.cc-ic svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cc-ic.gros{width:40px;height:40px;padding:9px;border-radius:14px;background:rgba(var(--id-rgb,198,245,0),.13)}
.cc-sur{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}

/* en-tête */
.cc-tete{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px;padding:20px 22px;margin:0}
.cc-tete-txt{flex:1 1 100%;min-width:0}
.cc-tete h1{margin:0 0 6px;font:700 clamp(22px,2.4vw,32px)/1.15 'Space Grotesk',Inter,sans-serif;letter-spacing:-.015em;color:var(--txt)}
.cc-accroche{margin:0;max-width:70ch;color:var(--muted);font-size:14px;line-height:1.55}
.cc-etat{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1 1 100%}
.cc-pastille{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:99px;font-size:12.5px;font-weight:700;color:var(--txt);background:var(--glass-2,rgba(255,255,255,.075))}
.cc-pastille i{width:8px;height:8px;border-radius:50%;background:var(--dim)}
.cc-pastille.ouvert{background:rgba(var(--id-rgb,198,245,0),.14)}
.cc-pastille.ouvert i{background:var(--id);box-shadow:0 0 0 3px rgba(var(--id-rgb,198,245,0),.22)}
.cc-pastille.resultat i{background:var(--id)}
.cc-info{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:99px;font-size:12.5px;color:var(--muted);background:var(--glass,rgba(255,255,255,.05))}
.cc-info .cc-ic{width:15px;height:15px;color:var(--dim)}
.cc-info small{color:var(--dim)}
.cc-info.fort{color:var(--txt);font-weight:700}

/* corps */
.cc-corps{display:flex;flex-direction:column;gap:14px;min-width:0}
.cc-grille{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px;align-items:start}
.cc-col{display:flex;flex-direction:column;gap:14px;min-width:0}
.cc-col>.panel,.cc-corps>.panel{margin:0}
.cc-page h2{margin:0 0 12px;font:600 17px/1.25 'Space Grotesk',Inter,sans-serif;color:var(--txt)}
.cc-lot-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.cc-lot-l li{display:flex;gap:12px;align-items:flex-start}
.cc-lot-l li>.cc-ic{width:36px;height:36px;padding:8px;border-radius:12px;background:rgba(var(--id-rgb,198,245,0),.11)}
.cc-lot-l b{display:block;color:var(--txt);font-size:14px}
.cc-lot-l span{display:block;color:var(--muted);font-size:13px;line-height:1.5}
.cc-regles ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:13px;line-height:1.55}

/* gagnant */
.cc-gagnant{border:1px solid rgba(var(--id-rgb,198,245,0),.35) !important}
.cc-gagnant-t{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}
.cc-gagnant h2{margin:0;font-size:clamp(18px,1.8vw,24px);overflow-wrap:anywhere}
.cc-gagnant h2 b{color:var(--id)}
.cc-bravo{margin:8px 0 0;font-weight:600;color:var(--txt)}
.cc-citation{margin:12px 0 0;padding:12px 16px;border-radius:16px;background:var(--glass,rgba(255,255,255,.05));color:var(--muted);font-size:13.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.cc-citation .cc-sur{display:block}
.cc-choix{display:flex;flex-wrap:wrap;gap:6px}
.cc-puce-l{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:2px 11px;border-radius:99px;font-size:12.5px;color:var(--muted);background:var(--glass-2,rgba(255,255,255,.075));overflow-wrap:anywhere}
.cc-puce-l.fort{color:var(--txt);font-weight:600}
.cc-puce-l .cc-ic{width:14px;height:14px}
.cc-puce-l small{color:var(--dim);font-weight:500}

/* formulaire */
.cc-form form{display:flex;flex-direction:column;gap:14px}
.cc-champ{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0;min-width:0}
.cc-champ>span,.cc-champ>legend{padding:0;font-size:12.5px;font-weight:600;color:var(--muted)}
.cc-champ em{font-style:normal;color:var(--id)}
.cc-pourquoi{padding:12px 14px;border-radius:16px;background:rgba(var(--id-rgb,198,245,0),.07)}
.cc-pourquoi>span{font-size:14px;color:var(--txt)}
.cc-champ textarea{resize:vertical;min-height:120px;line-height:1.5;font:inherit;font-size:13.5px}
.cc-aide{font-size:11.5px;color:var(--dim)}
.cc-aide.ko{color:var(--loss,#ff6b76)}
.cc-ligne{display:flex;flex-wrap:wrap;gap:10px}
.cc-sous{display:flex;flex-direction:column;gap:4px;flex:1 1 150px;min-width:0}
.cc-sous>span{font-size:11.5px;color:var(--dim)}
.cc-puces,.cc-radios{display:flex;flex-wrap:wrap;gap:6px}
.cc-radios{margin-top:8px}
.cc-puce{position:relative;display:inline-flex;cursor:pointer}
.cc-puce input{position:absolute;opacity:0;width:1px;height:1px}
.cc-puce span{display:inline-flex;align-items:center;min-height:32px;padding:0 13px;border-radius:99px;font-size:13px;font-weight:600;color:var(--muted);background:var(--glass-2,rgba(255,255,255,.075));transition:background .12s,color .12s}
.cc-puce:hover span{color:var(--txt)}
.cc-puce input:checked+span{background:var(--id);color:var(--id-ink,#0b0d00)}
.cc-puce input:focus-visible+span{outline:2px solid var(--id);outline-offset:2px}
.cc-autre{margin-top:6px}
.cc-coche{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted);line-height:1.5;cursor:pointer}
.cc-coche input{margin-top:3px;accent-color:var(--id);flex:none}
.cc-piege{position:absolute !important;left:-10000px;width:1px;height:1px;overflow:hidden}
.cc-err{margin:0;min-height:0;color:var(--loss,#ff6b76);font-size:13px;font-weight:600}
.cc-err:empty{display:none}
.cc-ok{margin:-4px 0 12px;padding:10px 14px;border-radius:14px;background:rgba(var(--id-rgb,198,245,0),.10);color:var(--txt);font-size:13px}
.cc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cc-bt{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 20px;border-radius:14px;border:0;cursor:pointer;
  font:700 14px/1 Inter,system-ui,sans-serif;color:var(--id-ink,#0b0d00);background:var(--id);text-decoration:none}
.cc-bt:hover{filter:brightness(1.07);color:var(--id-ink,#0b0d00)}
.cc-bt:disabled{opacity:.6;cursor:default}
.cc-bt.sec{color:var(--txt);background:var(--glass-2,rgba(255,255,255,.075))}
.cc-bt.lien{min-height:32px;padding:0 6px;color:var(--dim);background:none;font-weight:600;font-size:13px}
.cc-bt.lien:hover{color:var(--loss,#ff6b76)}
.cc-invite p,.cc-ferme p{color:var(--muted);font-size:13.5px;line-height:1.55;margin:0 0 14px}
.cc-mien{padding:12px 14px;border-radius:16px;background:var(--glass,rgba(255,255,255,.05))}
.cc-mien-t{margin:0 0 8px !important;color:var(--txt) !important;overflow-wrap:anywhere}
.cc-ts:empty{display:none}

/* bandeau de la page Minecraft (sous les onglets) */
.cc-bandeau-place:empty{display:none}
.cc-bandeau{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:9px 10px 9px 14px;border-radius:18px;background:rgba(var(--id-rgb,198,245,0),.10);color:var(--txt);text-decoration:none;min-width:0}
.cc-bandeau:hover{background:rgba(var(--id-rgb,198,245,0),.16);color:var(--txt)}
.cc-bandeau-t{flex:1;min-width:0;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-bandeau-t b{color:var(--id)}
.cc-bandeau-b{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:30px;padding:0 12px;border-radius:11px;font-size:12.5px;font-weight:700;background:var(--id);color:var(--id-ink,#0b0d00)}
.cc-bandeau-b .cc-ic{width:15px;height:15px;color:inherit}

/* carte de l'accueil (colonne de droite) */
.cc-promo{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:20px;background:var(--panel,#18191b);color:var(--txt);text-decoration:none;min-width:0;flex:none}
.cc-promo:hover{background:var(--panel2,#1f2022);color:var(--txt)}
.cc-promo .cc-ic.gros{width:38px;height:38px;padding:8px}
.cc-promo-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cc-promo-t small{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.cc-promo-t b{font-size:13.5px;line-height:1.3;overflow-wrap:anywhere}
.cc-promo>.cc-ic:last-child{color:var(--dim)}

html[data-theme="clair"] .cc-puce input:checked+span,html[data-theme="clair"] .cc-bt,html[data-theme="clair"] .cc-bandeau-b{color:#fff}

@media (max-width:1099px){
  .cc-grille{grid-template-columns:minmax(0,1fr)}
  .cc-grille>.cc-col:last-child{order:-1}      /* téléphone : le formulaire d'abord, le règlement ensuite */
}
@media (max-width:600px){
  .cc-tete{padding:16px}
  .cc-bandeau-t{white-space:normal;font-size:13px}
  .cc-actions .cc-bt:not(.lien){flex:1 1 auto}
}
