/* ============================================================
   PF2026 — Page /jeu-concours/ (design fourni, adapté au thème)
   Dépend des tokens (pf26-tokens). États .pending/.done ajoutés.
   ============================================================ */


/* ============================================ HERO */
.cc-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 78% 30%, rgba(255,203,5,.18) 0%, transparent 55%),
              radial-gradient(ellipse at 15% 90%, rgba(41,128,239,.16) 0%, transparent 50%),
              linear-gradient(150deg, #0B0B1E 0%, #1A1040 55%, #0D2244 100%);
  color: white; padding: 46px 0 56px;
}
.cc-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='32' cy='32' r='30' stroke='rgba(255,255,255,0.035)' fill='none'/%3E%3Cline x1='2' y1='32' x2='62' y2='32' stroke='rgba(255,255,255,0.035)'/%3E%3Ccircle cx='32' cy='32' r='9' stroke='rgba(255,255,255,0.05)' fill='none'/%3E%3C/svg%3E") repeat;
}
.cc-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}
.cc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(255,203,5,.14);
  border: 1px solid rgba(255,203,5,.4); border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 700; color: var(--yellow);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px;
}
.cc-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255,203,5,.6); animation: ccPulse 1.8s infinite;
}
@keyframes ccPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,203,5,.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,203,5,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,203,5,0); }
}
.cc-hero h1 {
  font-size: 52px; font-weight: 700; letter-spacing: -.045em;
  line-height: 1.02; margin-bottom: 16px; text-wrap: balance;
}
.cc-hero h1 span { color: var(--yellow); }
.cc-hero-lead {
  font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.68);
  max-width: 480px; margin-bottom: 26px; text-wrap: pretty;
}
/* Countdown */
.cc-count-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 10px;
}
.cc-count { display: flex; gap: 10px; margin-bottom: 26px; }
.cc-count-cell {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md); padding: 12px 6px; text-align: center;
  min-width: 66px; backdrop-filter: blur(6px);
}
.cc-count-num {
  font-size: 30px; font-weight: 700; color: white; letter-spacing: -.04em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.cc-count-unit {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 6px;
}
.cc-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cc-social-proof {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.65);
}
.cc-avatars { display: flex; }
.cc-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #1A1040; background: var(--yellow);
  margin-left: -9px; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cc-avatar:first-child { margin-left: 0; }
.cc-avatar img { width: 100%; height: 100%; object-fit: contain; }
.cc-social-proof b { color: white; font-weight: 700; }

/* Prize showcase */
.cc-prize { position: relative; display: flex; justify-content: center; }
.cc-prize-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,203,5,.3) 0%, transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.cc-box {
  position: relative; z-index: 2; width: 280px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #2b1250, #140a2e);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 32px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  transform: rotate(-3deg);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cc-prize:hover .cc-box { transform: rotate(-1deg) translateY(-6px); }
.cc-box-header {
  padding: 14px 16px 10px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent);
}
.cc-box-brand {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  color: rgba(255,255,255,.55); text-transform: uppercase;
}
.cc-box-set {
  font-size: 22px; font-weight: 700; letter-spacing: -.03em;
  color: white; line-height: 1.05; margin-top: 3px;
  background: linear-gradient(90deg,#FFCB05,#FF8A65);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cc-box-window {
  margin: 6px 16px; aspect-ratio: 1/1; border-radius: 10px;
  background: radial-gradient(ellipse at 50% 40%, rgba(41,128,239,.5), rgba(20,10,46,.2)),
              repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 8px, transparent 8px 16px);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cc-box-window img {
  width: 84%; height: 84%; object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.5));
  animation: ccFloat 5s ease-in-out infinite;
}
@keyframes ccFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }
.cc-box-foot {
  padding: 10px 16px 16px; display: flex; align-items: center;
  justify-content: space-between;
}
.cc-box-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,.5); text-transform: uppercase;
}
.cc-box-elite {
  font-size: 11px; font-weight: 700; color: var(--yellow);
  letter-spacing: .05em;
}
.cc-prize-ribbon {
  position: absolute; z-index: 3; top: 8px; right: 0;
  background: var(--red); color: white;
  font-size: 12px; font-weight: 700; padding: 8px 16px;
  border-radius: var(--r-full);
  box-shadow: 0 8px 20px rgba(204,0,0,.4);
  transform: rotate(4deg);
}
.cc-prize-value {
  position: absolute; z-index: 3; bottom: 12px; left: -6px;
  background: var(--yellow); color: var(--ink);
  font-size: 13px; font-weight: 700; padding: 7px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  transform: rotate(-4deg);
}

/* ============================================ SECTION SCAFFOLD */
.cc-sec { padding: 56px 0 0; }
.cc-sec-head { text-align: center; max-width: 620px; margin: 0 auto 34px; }
.cc-sec-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink-faint); text-transform: uppercase; margin-bottom: 8px;
}
.cc-sec-title {
  font-size: 32px; font-weight: 700; letter-spacing: -.04em;
  color: var(--ink); line-height: 1.05; text-wrap: balance;
}
.cc-sec-sub {
  font-size: 15px; color: var(--ink-light); margin-top: 10px;
  line-height: 1.6; text-wrap: pretty;
}

/* ============================================ HOW IT WORKS (3 steps) */
.cc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cc-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 24px; position: relative;
  overflow: hidden;
}
.cc-step-badge {
  position: absolute; top: -18px; right: -10px;
  font-size: 96px; font-weight: 700; color: var(--border-light);
  letter-spacing: -.05em; line-height: 1; pointer-events: none;
}
.cc-step-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--yellow-bg); display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 16px;
  position: relative;
}
.cc-step h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 8px; position: relative;
}
.cc-step p {
  font-size: 13.5px; color: var(--ink-light); line-height: 1.6;
  position: relative;
}

/* ============================================ PARTICIPATION CARD */
.cc-play {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cc-play-top {
  background: linear-gradient(135deg, #1A1040, #0D2244);
  color: white; padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cc-play-top h3 { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.cc-play-top p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 3px; }
/* Chances meter */
.cc-chances {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-full); padding: 8px 16px;
}
.cc-chances-tickets { display: flex; gap: 3px; }
.cc-ticket {
  width: 12px; height: 18px; border-radius: 3px;
  background: rgba(255,255,255,.15); transition: all .3s;
  position: relative;
}
.cc-ticket.on { background: var(--yellow); box-shadow: 0 0 10px rgba(255,203,5,.6); }
.cc-chances-txt { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.cc-chances-txt b { color: var(--yellow); font-size: 15px; }

.cc-play-body { padding: 28px 32px 32px; position: relative; }

/* Account gate overlay */
.cc-gate {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(150deg, #FFFBEB, #EEF2FF);
  border: 1.5px dashed var(--border);
  padding: 34px 28px; text-align: center; margin-bottom: 26px;
}
.cc-gate-lock {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 16px; box-shadow: var(--shadow-sm);
}
.cc-gate h4 {
  font-size: 22px; font-weight: 700; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 8px; text-wrap: balance;
}
.cc-gate p {
  font-size: 14px; color: var(--ink-light); line-height: 1.6;
  max-width: 420px; margin: 0 auto 20px;
}
.cc-gate p b { color: var(--ink); }
.cc-gate-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.cc-gate-perks {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-light);
}
.cc-gate-perk {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-mid); font-weight: 600;
}
.cc-gate-perk span { color: var(--green); font-weight: 700; }

/* Logged-in chip */
.cc-user {
  display: none; align-items: center; gap: 12px;
  background: #EDF9F0; border: 1px solid #B7E4C7;
  border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 24px;
}
.cc-user.show { display: flex; }
.cc-user-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--ink); flex-shrink: 0;
}
.cc-user-txt { flex: 1; }
.cc-user-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.cc-user-meta { font-size: 12px; color: #2d7a4e; font-weight: 600; }
.cc-user-badge { font-size: 18px; }

/* Quiz — locked until connected */
.cc-locked { opacity: .4; pointer-events: none; filter: grayscale(.4); transition: all .3s; }
.cc-block-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 16px;
}
.cc-block-num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ink);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.cc-block-label .cc-line { flex: 1; height: 1px; background: var(--border); }

.cc-q { margin-bottom: 26px; }
.cc-q-title {
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  margin-bottom: 14px; letter-spacing: -.01em; text-wrap: pretty;
}
.cc-q-title .cc-q-idx { color: var(--yellow-dark); margin-right: 8px; }
.cc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; transition: all .15s; font-size: 14px;
  font-weight: 600; color: var(--ink-mid);
}
.cc-opt:hover { border-color: var(--ink-faint); background: var(--cream); }
.cc-opt.selected {
  border-color: var(--yellow); background: var(--yellow-bg); color: var(--ink);
}
.cc-opt-mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.cc-opt.selected .cc-opt-mark {
  border-color: var(--yellow-dark); background: var(--yellow); color: var(--ink);
}
.cc-opt.selected .cc-opt-mark::after { content: '✓'; font-size: 12px; font-weight: 700; }

/* Multiply chances (social) */
.cc-multiply {
  background: var(--cream); border-radius: var(--r-lg);
  padding: 22px 24px; margin-bottom: 26px;
}
.cc-multiply-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.cc-multiply-head h4 {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.cc-multiply-head .cc-plus {
  font-size: 11px; font-weight: 700; color: var(--green);
  background: #D1FAE5; padding: 3px 9px; border-radius: var(--r-full);
}
.cc-multiply-sub { font-size: 13px; color: var(--ink-light); margin-bottom: 16px; }
.cc-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-social {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 18px;
}
.cc-social-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.cc-social-logo {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: white; flex-shrink: 0;
}
.cc-social-logo.fb { background: #1877F2; }
.cc-social-logo.x { background: #0D0D1C; }
.cc-social-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.cc-social-meta { font-size: 11.5px; color: var(--ink-light); }
.cc-social-acts { display: flex; gap: 8px; }
.cc-act {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 10px; border-radius: var(--r-full);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 12.5px; font-weight: 700; color: var(--ink-mid);
  cursor: pointer; transition: all .15s; font-family: var(--font);
}
.cc-act:hover { border-color: var(--ink-faint); }
.cc-act.done {
  background: #EDF9F0; border-color: #86D9A4; color: #1B7a43;
}
.cc-act.done .cc-act-ic::before { content: '✓'; }

/* Validate row */
.cc-validate {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding-top: 4px;
}
.cc-validate-note { font-size: 12.5px; color: var(--ink-light); max-width: 380px; line-height: 1.5; }
.cc-validate-note a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.cc-btn-validate {
  font-size: 16px; padding: 15px 34px; white-space: nowrap;
}
.cc-btn-validate:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ============================================ ADVENT CALENDAR */
.cc-cal {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.cc-door {
  position: relative; aspect-ratio: 3/4;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  transition: all .22s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
}
.cc-door:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cc-door-num {
  position: absolute; top: 10px; left: 12px; z-index: 2;
  font-size: 13px; font-weight: 700;
  font-family: 'SFMono-Regular',Consolas,monospace;
}
.cc-door-top {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cc-door-ball {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid currentColor; position: relative; overflow: hidden;
  background: var(--white);
}
.cc-door-ball::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: currentColor;
}
.cc-door-ball::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); border: 3px solid currentColor; z-index: 1;
}
.cc-door-foot {
  padding: 10px 12px 12px; text-align: center;
  background: var(--white); border-top: 1px solid var(--border-light);
}
.cc-door-month {
  font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.cc-door-state {
  font-size: 10.5px; font-weight: 600; margin-top: 3px;
}
/* Door states */
.cc-door.past { background: var(--cream); color: var(--ink-faint); }
.cc-door.past .cc-door-top { opacity: .5; }
.cc-door.past .cc-door-state { color: var(--green); }
.cc-door.past .cc-door-num { color: var(--ink-faint); }
.cc-door.current {
  background: linear-gradient(160deg, #FFF3CD, #FFE08A);
  color: var(--red); border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(255,203,5,.3);
}
.cc-door.current .cc-door-num { color: var(--yellow-dark); }
.cc-door.current .cc-door-state { color: var(--red); font-weight: 700; }
.cc-door.current .cc-door-foot { background: var(--yellow-bg); }
.cc-door.future {
  background: linear-gradient(160deg, #1A1040, #0D2244);
  color: rgba(255,255,255,.35); border-color: rgba(255,255,255,.1);
}
.cc-door.future .cc-door-num { color: rgba(255,255,255,.4); }
.cc-door.future .cc-door-foot {
  background: rgba(255,255,255,.04); border-top-color: rgba(255,255,255,.08);
}
.cc-door.future .cc-door-month { color: rgba(255,255,255,.7); }
.cc-door.future .cc-door-state { color: rgba(255,255,255,.4); }
.cc-door.future .cc-door-lock {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 22px; opacity: .5; z-index: 2;
}
.cc-door.future .cc-door-ball { opacity: .25; }
.cc-cal-legend {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 22px; font-size: 12.5px; color: var(--ink-light);
}
.cc-cal-legend-item { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.cc-legend-dot { width: 12px; height: 12px; border-radius: 3px; }

/* ============================================ RÈGLEMENT / FAQ */
.cc-rules {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.cc-rule {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 22px;
}
.cc-rule-ic { font-size: 22px; margin-bottom: 10px; }
.cc-rule h4 { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cc-rule p { font-size: 12.5px; color: var(--ink-light); line-height: 1.6; }
.cc-rules-foot {
  text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--ink-faint);
}
.cc-rules-foot a { color: var(--ink-mid); font-weight: 600; text-decoration: underline; }

/* ============================================ MODAL */
.cc-modal-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(13,13,28,.6); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cc-modal-overlay.show { display: flex; animation: ccFade .25s ease; }
@keyframes ccFade { from { opacity: 0; } to { opacity: 1; } }
.cc-modal {
  background: var(--white); border-radius: var(--r-xl);
  max-width: 460px; width: 100%; overflow: hidden;
  box-shadow: var(--shadow-xl); position: relative;
  animation: ccPop .4s cubic-bezier(.16,1,.3,1);
}
@keyframes ccPop { from { transform: scale(.9) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.cc-modal-top {
  background: radial-gradient(ellipse at 50% 0%, rgba(255,203,5,.3), transparent 70%),
              linear-gradient(160deg, #1A1040, #0D2244);
  padding: 34px 32px 26px; text-align: center; color: white; position: relative;
  overflow: hidden;
}
.cc-modal-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; margin: 0 auto 16px;
  box-shadow: 0 12px 30px rgba(255,203,5,.45);
  animation: ccBounce .6s cubic-bezier(.16,1.6,.5,1) .1s both;
}
@keyframes ccBounce { from { transform: scale(0); } to { transform: scale(1); } }
.cc-modal-top h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; }
.cc-modal-top p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }
.cc-modal-body { padding: 24px 32px 28px; }
.cc-modal-recap {
  background: var(--yellow-bg); border: 1px solid var(--yellow);
  border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.cc-modal-recap-num { font-size: 34px; font-weight: 700; color: var(--yellow-dark); letter-spacing: -.04em; line-height: 1; }
.cc-modal-recap-txt { font-size: 13px; color: var(--ink-mid); line-height: 1.5; }
.cc-modal-recap-txt b { color: var(--ink); }
.cc-modal-more {
  font-size: 13.5px; color: var(--ink-light); text-align: center;
  margin-bottom: 18px; line-height: 1.55;
}
.cc-modal-more b { color: var(--ink); }
.cc-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.cc-modal-actions .btn { width: 100%; justify-content: center; }
.cc-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none; color: white;
  cursor: pointer; font-size: 16px; display: flex;
  align-items: center; justify-content: center;
}
.cc-modal-close:hover { background: rgba(255,255,255,.22); }

#cc-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 5500; display: none; }
#cc-confetti.show { display: block; }

/* ============================================ RESPONSIVE */
@media (max-width: 900px) {
  .cc-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .cc-hero h1 { font-size: 38px; }
  .cc-prize { order: -1; }
  .cc-steps { grid-template-columns: 1fr; }
  .cc-options { grid-template-columns: 1fr; }
  .cc-socials { grid-template-columns: 1fr; }
  .cc-cal { grid-template-columns: repeat(3, 1fr); }
  .cc-rules { grid-template-columns: 1fr; }
  .cc-play-body { padding: 22px 20px 26px; }
  .cc-play-top { padding: 18px 20px; }
}
@media (max-width: 560px) {
  .cc-count-cell { min-width: 0; flex: 1; }
  .cc-cal { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================ AJOUTS INTÉGRATION */

/* Action sociale en cours de crédit (onglet ouvert, délai anti-abus). */
.cc-act.pending {
  opacity: .65;
  pointer-events: none;
  border-style: dashed;
}

/* Bandeau « participation enregistrée » (état hydraté au retour). */
.cc-done-note {
  font-size: 12.5px;
  font-weight: 600;
  color: #1b7a43;
}

/* Erreur de soumission. */
.cc-validate-error {
  width: 100%;
  font-size: 13px;
  color: var(--red);
  background: var(--red-bg);
  border-radius: 8px;
  padding: 9px 12px;
}

/* Gagnant affiché dans une case du calendrier. */
.cc-door-winner {
  font-size: 10px;
  color: var(--ink-light);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Quiz verrouillé après participation (réponses conservées visibles). */
.cc-q.cc-answered { pointer-events: none; }
.cc-q.cc-answered .cc-opt:not(.selected) { opacity: .5; }
