html.popup-open { overflow:hidden; }
.popup { position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(20,18,16,.72); }
.popup[hidden] { display:none; }
.popup-panel { position:relative;display:flex;flex-direction:column;width:100%;max-width:780px;max-height:100%;background:var(--ivoire);border-radius:16px;overflow:hidden; }
.popup-panel:focus { outline:none; }
.popup-scroll { overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch; }
.popup-close { position:absolute;top:14px;right:14px;z-index:2;width:44px;height:44px;border:none;border-radius:50%;background:var(--noir);color:var(--ivoire);box-shadow:0 0 0 2px var(--ivoire);font-size:24px;line-height:1;cursor:pointer; }
.popup-close:hover { background:var(--noir2); }
.popup-close:focus-visible { outline:3px solid var(--citron);outline-offset:2px; }

.popup-visual { display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--photo-bg); }
.popup-head { padding:60px 44px 32px; }
.popup-visual + .popup-head { padding-top:28px; }
.popup-label { display:block;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gris-texte);margin-bottom:10px; }
.popup-title { font-size:clamp(34px,5vw,46px);margin-bottom:14px; }
.popup-title + .btn-primary { margin-top:10px; }
.popup-accroche { font-size:16px;font-weight:400;color:var(--gris-texte);line-height:1.6;margin-bottom:24px; }
.popup-section { padding:32px 44px; }
.popup-section h3 { font-size:30px;margin-bottom:16px; }
.popup-section p { font-size:15px;font-weight:300;line-height:1.75;margin-bottom:14px; }
.popup-section p.popup-lead { font-size:17px;font-weight:400;line-height:1.55; }
.popup-section p:last-child { margin-bottom:0; }
.popup-list { list-style:none;margin:0 0 18px;display:flex;flex-direction:column;gap:9px; }
.popup-list li { position:relative;padding-left:24px;font-size:15px;font-weight:300;line-height:1.6; }
.popup-list li::before { content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;border-radius:50%;background:var(--citron);border:1px solid var(--noir); }

.popup-band { background:var(--citron);border-radius:12px;padding:20px 24px;margin-bottom:24px; }
.popup-section p.popup-band { font-family:'Cormorant Garamond',serif;font-size:clamp(22px,3vw,27px);font-weight:700;line-height:1.2;margin-bottom:24px; }
.popup-cards { list-style:none;counter-reset:carte;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px; }
.popup-cards li { counter-increment:carte;display:flex;flex-direction:column;justify-content:space-between;gap:18px;background:var(--noir);color:var(--ivoire);border-radius:14px;padding:20px 22px 22px;font-size:15px;font-weight:400;line-height:1.5; }
.popup-cards li::before { content:"0" counter(carte);font-family:'Cormorant Garamond',serif;font-size:44px;font-weight:700;line-height:.9;color:var(--citron);font-variant-numeric:lining-nums; }
.popup-section strong { font-weight:600; }
.popup-section .popup-band strong { font-weight:inherit; }
.popup-section p.popup-closing { font-family:'Cormorant Garamond',serif;font-size:clamp(22px,3vw,26px);font-weight:700;line-height:1.25;margin:24px 0 0; }
.popup-checks { list-style:none;display:flex;flex-direction:column;gap:8px;margin:0; }
.popup-checks li { display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500; }
.popup-checks li::before { content:"";flex:0 0 22px;height:22px;border-radius:50%;background:var(--citron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.popup-method { background:var(--ivoire2);border-radius:20px;padding:4px 28px;margin:28px 0 0; }
.popup-method-row { display:grid;grid-template-columns:54px 1fr;gap:0 20px;padding:28px 0;border-top:1px solid rgba(20,18,16,.12); }
.popup-method-row:first-child { border-top:none; }
.popup-method-icon { width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--noir); }
.popup-method-icon::before { content:"";width:26px;height:26px;background:var(--citron);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat; }
.ico-dice { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='15.5' cy='15.5' r='1'/%3E%3C/svg%3E"); }
.ico-bulb { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.ico-target { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.ico-scale { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M5 7h14M5 7l-3 7a3.5 3.5 0 0 0 6 0L5 7zM19 7l-3 7a3.5 3.5 0 0 0 6 0l-3-7z'/%3E%3C/svg%3E"); }
.ico-route { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 18h6a3.5 3.5 0 0 0 0-7h-4a3.5 3.5 0 0 1 0-7h6'/%3E%3C/svg%3E"); }
.ico-users { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20v-1a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v1M9.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zM21 20v-1a4 4 0 0 0-3-3.9M16 4.1a3.5 3.5 0 0 1 0 6.8'/%3E%3C/svg%3E"); }
.ico-chat { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L3 21l1.9-5.4A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.ico-shield { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3zM9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ico-globe { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.ico-play { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.5l5.5 3.5-5.5 3.5z'/%3E%3C/svg%3E"); }
.ico-search { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-5-5'/%3E%3C/svg%3E"); }
.ico-eye { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.popup-section .popup-method p.popup-method-note { margin:12px 0 0;font-size:13px;font-weight:400;line-height:1.55;color:var(--gris-texte); }
.popup-section .popup-method .popup-method-tags + p.popup-method-lead, .popup-section .popup-method .popup-checks + p.popup-method-lead, .popup-section .popup-method .popup-method-figs + p.popup-method-lead { margin-top:16px; }
.popup-method .popup-method-tags + .popup-method-tags { margin-top:12px; }
.popup-section .popup-method p.popup-method-kicker { margin:2px 0 8px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gris-texte); }
.popup-section .popup-method h3.popup-method-verb { display:inline;margin:0;padding:0 4px;font-size:clamp(32px,5vw,42px);line-height:1.2;background:linear-gradient(transparent 62%,var(--citron) 62%); }
.popup-method-verb-wrap { margin:0 0 14px;line-height:1; }
.popup-section .popup-method p.popup-method-lead { margin:0 0 14px;font-size:15px;font-weight:400;line-height:1.6; }
.popup-method-tags { list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0; }
.popup-method-tags li { border:1px solid var(--noir);border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:600;line-height:1.3; }
.popup-method-figs { list-style:none;display:flex;margin:0; }
.popup-method-figs li { flex:1;padding:0 16px;border-left:1px solid rgba(20,18,16,.18); }
.popup-method-figs li:first-child { padding-left:0;border-left:none; }
.popup-method-figs b { display:block;font-family:'Cormorant Garamond',serif;font-size:clamp(34px,5vw,44px);font-weight:700;line-height:1;font-variant-numeric:lining-nums; }
.popup-method-figs span { display:block;margin-top:6px;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gris-texte); }
.popup-method .popup-checks { margin:16px 0 0; }
.popup-method-result { display:flex;align-items:center;gap:10px;margin:16px 0 0;background:var(--noir);color:var(--citron);border-radius:22px;padding:12px 20px 12px 16px;font-size:14px;font-weight:600;line-height:1.3; }
.popup-section .popup-method p.popup-method-result { margin:16px 0 0;font-weight:600; }
.popup-method-result svg { flex:0 0 22px;width:22px;height:22px;fill:none;stroke:var(--citron);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round; }
.popup-chips { list-style:none;display:flex;flex-wrap:wrap;gap:10px; }
.popup-chips li { background:var(--citron);border:1px solid var(--noir);border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600;line-height:1.3; }
.popup-quote { font-style:italic; }
.popup-modal-list a { color:inherit;text-decoration:underline;text-decoration-color:var(--citron);text-underline-offset:3px; }
.popup-section .popup-band .popup-band-sub { display:block;margin-top:12px;font-family:'Inter',sans-serif;font-size:15px;font-weight:400;line-height:1.55; }
.popup-modalites { background:var(--noir);color:var(--ivoire);padding:36px 44px; }
.popup-modalites h3 { color:var(--ivoire);font-size:30px;margin-bottom:12px; }
.popup-stats { list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:0 0 22px; }
.popup-stats li { background:rgba(253,250,247,.06);border:.5px solid rgba(253,250,247,.16);border-radius:12px;padding:16px 8px;text-align:center; }
.popup-stat-num { display:block;font-family:'Cormorant Garamond',serif;font-size:clamp(28px,4vw,38px);font-weight:700;line-height:1;color:var(--citron);font-variant-numeric:lining-nums; }
.popup-stat-label { display:block;font-size:11px;font-weight:500;line-height:1.35;color:rgba(253,250,247,.8);margin-top:8px; }
.popup-modal-list { margin:0; }
.popup-modal-list > div { display:grid;grid-template-columns:150px 1fr;gap:6px 20px;padding:12px 0;border-top:.5px solid rgba(253,250,247,.16); }
.popup-modal-list dt { font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--citron);padding-top:4px; }
.popup-modal-list dd { margin:0;font-size:15px;font-weight:300;line-height:1.6; }

.popup-objectifs-list { list-style:none;counter-reset:objectif;display:flex;flex-direction:column;gap:12px; }
.popup-objectifs-list li { counter-increment:objectif;display:flex;align-items:center;gap:14px;font-size:16px;font-weight:500;line-height:1.4; }
.popup-objectifs-list li::before { content:counter(objectif);flex:0 0 34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--noir);color:var(--citron);font-size:14px;font-weight:600; }
.popup-sessions { background:var(--ivoire2); }
.popup-sessions .sc-where { background:var(--ivoire); }
.popup-sessions .btn-primary { margin-top:22px; }

.popup-contact { padding:36px 44px 24px; }
.popup-contact h3 { font-size:30px;margin-bottom:16px; }
.popup-contact-actions { margin-bottom:28px; }
.popup-form { display:flex;flex-direction:column;gap:16px; }
.popup-form[hidden] { display:none; }
.popup-form-row { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.popup-field { display:flex;flex-direction:column;gap:6px;min-width:0; }
.popup-field label { font-size:13px;font-weight:500; }
.popup-legend { margin:0;font-size:13px;font-weight:500;color:var(--gris-texte); }
.popup-req { font-weight:700;color:var(--noir); }
.popup-field input { width:100%;padding:12px 14px;font:inherit;font-size:16px;color:var(--noir);background:#fff;border:1px solid rgba(20,18,16,.35);border-radius:6px; }
.popup-field input:focus { outline:2px solid var(--noir);outline-offset:1px;border-color:var(--noir); }
.popup-field input[aria-invalid="true"] { border-color:#B3261E; }
.popup-error { margin:0;font-size:13px;font-weight:500;color:#B3261E; }
.popup-field .popup-check { display:flex;align-items:flex-start;gap:12px;font-size:13px;font-weight:300;line-height:1.55; }
.popup-field .popup-check input { flex:0 0 20px;width:20px;height:20px;padding:0;margin-top:2px;accent-color:var(--noir); }
.popup-check a { color:var(--noir);text-decoration:underline;text-decoration-color:var(--citron);text-decoration-thickness:2px;text-underline-offset:3px; }
.popup-hp { position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden; }
.popup-submit { align-self:flex-start;padding:15px 32px; }
.popup-submit:disabled { opacity:.6;cursor:wait; }
.popup-success { background:#fff;border:2px solid var(--citron);border-radius:12px;padding:24px;font-size:15px;line-height:1.65; }
.popup-success:focus { outline:none; }
.popup-success p { margin:0 0 16px; }
.popup-success .popup-success-link { display:inline-block;text-decoration:none; }
.popup-success .popup-success-link[hidden] { display:none; }
.popup-success strong { display:block;font-family:'Cormorant Garamond',serif;font-size:26px;line-height:1.1;margin-bottom:8px; }
.popup-amenagement { padding:0 44px 40px;font-size:13px;font-weight:300;line-height:1.65;color:var(--gris-texte); }
.popup-amenagement a { color:var(--noir);text-decoration:underline;text-decoration-color:var(--citron);text-decoration-thickness:2px;text-underline-offset:3px; }
.popup-section .btn-primary, .popup-head .btn-primary { text-decoration:none; }

@media (max-width:640px) {
  .popup { padding:0; }
  .popup-panel { max-width:none;height:100%;border-radius:0; }
  .popup-head { padding:64px 22px 24px; }
  .popup-visual + .popup-head { padding-top:22px; }
  .popup-cards { grid-template-columns:1fr; }
  .popup-cards li { flex-direction:row;align-items:center;gap:16px;padding:16px 18px; }
  .popup-cards li::before { font-size:38px;flex:0 0 auto; }
  .popup-stats { grid-template-columns:1fr 1fr; }
  .popup-stats li:last-child:nth-child(odd) { grid-column:1 / -1; }
  .popup-method { padding:2px 18px; }
  .popup-method-row { grid-template-columns:1fr;gap:16px 0;padding:24px 0; }
  .popup-method-figs li { padding:0 12px; }
  .popup-section, .popup-modalites, .popup-contact { padding-left:22px;padding-right:22px; }
  .popup-amenagement { padding:0 22px calc(32px + env(safe-area-inset-bottom)); }
  .popup-modal-list > div { grid-template-columns:1fr;gap:2px; }
  .popup-form-row { grid-template-columns:1fr; }
  .popup-submit { align-self:stretch; }
  .popup-head .btn-primary { display:block;text-align:center; }
  .popup-contact-actions .btn-secondary { display:block;text-align:center; }
}

.ico-bolt { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E"); }
.ico-alert { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L3 21l1.9-5.4A8 8 0 1 1 21 12zM12 8v4M12 15v.5'/%3E%3C/svg%3E"); }
.ico-heart { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11z'/%3E%3C/svg%3E"); }
.ico-trophy { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4zM17 5h3v2a3 3 0 0 1-3 3M7 5H4v2a3 3 0 0 0 3 3'/%3E%3C/svg%3E"); }
.ico-buzzer { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4a7 7 0 0 1 7 7H5a7 7 0 0 1 7-7zM3 14h18v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4z'/%3E%3C/svg%3E"); }
.ico-timer { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5l3 2M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16zM9 2h6'/%3E%3C/svg%3E"); }
.ico-bars { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M4 21v-7h5v7M9.5 21V8h5v13M15 21v-10h5v10'/%3E%3C/svg%3E"); }

.xp-icon { display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto; }
.xp-icon::before { content:"";display:block;width:100%;height:100%;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat; }
.xp-block { margin:36px 0 0; }
.popup-section .xp-block h3 { font-size:clamp(26px,3.6vw,32px);margin:0 0 16px; }
.popup-section .xp-block p { margin:0 0 12px; }
.xp-label { display:block;margin:0 0 10px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gris-texte); }
.xp-chips { list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0; }
.xp-chips li { border:1px solid var(--noir);border-radius:999px;padding:8px 16px;font-size:14px;font-weight:600;line-height:1.3; }
.xp-chips .is-open { border-style:dashed;background:var(--citron);border-color:var(--noir); }
.xp-focus { background:var(--ivoire2);border-radius:18px;padding:22px 24px;margin:0 0 14px; }
.xp-focus + .xp-focus { margin-top:0; }
.xp-board { background:var(--noir);color:var(--ivoire);border-radius:22px;padding:26px 24px 24px; }
.xp-board-head { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px; }
.popup-section .xp-block .xp-board-head h3 { margin:0;color:var(--ivoire); }
.xp-lights { display:flex;gap:6px; }
.xp-lights i { width:9px;height:9px;border-radius:50%;background:var(--citron); }
.xp-lights i:nth-child(2) { opacity:.55; }
.xp-lights i:nth-child(3) { opacity:.3; }
.xp-challenges { list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0; }
.xp-challenges li { position:relative;background:rgba(253,250,247,.07);border:1px solid rgba(253,250,247,.16);border-radius:16px;padding:18px 18px 20px;min-height:132px;display:flex;flex-direction:column;justify-content:space-between; }
.xp-challenges .xp-num { font-family:'Cormorant Garamond',serif;font-size:54px;font-weight:700;line-height:.9;color:var(--citron);font-variant-numeric:lining-nums; }
.xp-challenges .xp-name { font-family:'Cormorant Garamond',serif;font-size:clamp(22px,3vw,27px);font-weight:700;line-height:1.1;margin-top:14px; }
.xp-challenges .xp-icon { position:absolute;top:16px;right:16px;width:30px;height:30px;color:var(--citron); }
.xp-strip { display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px 24px;margin:22px 0 0;padding-top:22px;border-top:1px solid rgba(253,250,247,.18); }
.xp-strip ul { list-style:none;display:flex;flex-direction:column;gap:16px;margin:0; }
.xp-strip li { display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600; }
.xp-strip li .xp-icon { width:30px;height:30px;color:var(--citron); }
.xp-podium { display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;text-align:center; }
.xp-podium svg { width:124px;height:83px;flex:0 0 auto; }
.xp-podium rect { fill:var(--citron); }
.xp-podium rect.is-first { fill:var(--ivoire); }
.xp-podium text { font-family:'Cormorant Garamond',serif;font-size:20px;font-weight:700;fill:var(--noir);text-anchor:middle; }
.xp-podium figcaption { font-size:12px;font-weight:500;line-height:1.4;max-width:170px;color:rgba(253,250,247,.85); }
.xp-ways { list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 14px; }
.xp-ways li { background:#fff;border:1px solid rgba(20,18,16,.12);border-radius:16px;padding:18px 14px;text-align:center;font-size:14px;font-weight:600;line-height:1.35; }
.xp-ways.is-3 { grid-template-columns:repeat(3,1fr); }
.xp-ways .xp-icon { display:flex;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:var(--noir);color:var(--citron);padding:13px; }
.xp-ways .xp-icon::before { width:100%;height:100%; }
.popup-section .xp-block p.xp-aside { font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:600;font-style:italic;line-height:1.3;margin:0; }
.popup-section .xp-block p.xp-text { margin:16px 0 0;font-size:15px;font-weight:400;line-height:1.6;color:var(--noir); }
.xp-rules { background:var(--citron);border-radius:20px;padding:24px; }
.xp-rules .xp-label { color:var(--noir); }
.xp-rules ul { list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:0; }
.xp-rules li { display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600; }
.xp-rules li::before { content:"";flex:0 0 26px;height:26px;border-radius:50%;background:var(--noir) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8FF00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat; }

@media (max-width:640px) {
  .xp-challenges { grid-template-columns:1fr; }
  .xp-challenges li { min-height:0;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px; }
  .xp-challenges .xp-name { margin-top:0;padding-right:40px; }
  .xp-challenges .xp-num { font-size:44px; }
  .xp-ways { grid-template-columns:1fr 1fr; }
  .xp-ways.is-3 { grid-template-columns:1fr; }
  .xp-rules ul { grid-template-columns:1fr; }
  .xp-board { padding:22px 18px 20px; }
  .xp-focus { padding:18px; }
}

.ico-check { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM8 12l3 3 5-6'/%3E%3C/svg%3E"); }
.ico-headset { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2M4 14h3v5H4zM20 14h-3v5h3z'/%3E%3C/svg%3E"); }
.ico-profile { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.ico-quiz { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.7.4-1 .9-1 1.7M12 17v.5'/%3E%3C/svg%3E"); }

.xp-cast { background:var(--ivoire2);border-radius:20px;padding:22px 24px 24px;margin:0 0 14px; }
.xp-profiles { list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 16px; }
.xp-profiles li { background:var(--noir);color:var(--ivoire);border-radius:16px;padding:20px 12px 18px;text-align:center; }
.xp-profiles .xp-icon { width:40px;height:40px;margin:0 auto 10px;color:var(--citron); }
.xp-profiles b { display:block;font-family:'Cormorant Garamond',serif;font-size:clamp(34px,5vw,44px);font-weight:700;line-height:1;color:var(--ivoire); }
.xp-more { list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0; }
.xp-more li { border:1px solid var(--noir);border-radius:999px;padding:8px 16px;font-size:14px;font-weight:600;line-height:1.3; }
.xp-more .is-open { border-style:dashed;background:var(--citron); }
.xp-plan { position:relative;background:var(--noir);color:var(--ivoire);border-radius:22px;padding:28px 24px 26px;overflow:hidden; }
.popup-section .xp-block .xp-plan h3 { color:var(--ivoire);margin:0 0 26px; }
.xp-stamp { position:absolute;top:22px;right:20px;transform:rotate(7deg);border:2px solid var(--citron);border-radius:6px;padding:4px 10px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--citron);opacity:.9; }
.xp-timeline { list-style:none;display:flex;margin:0 0 24px;counter-reset:etape; }
.xp-timeline li { position:relative;flex:1;text-align:center;counter-increment:etape; }
.xp-timeline li::before { content:counter(etape);position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:var(--ivoire);color:var(--noir);font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:700;font-variant-numeric:lining-nums; }
.xp-timeline li:first-child::before, .xp-timeline li:last-child::before { background:var(--citron); }
.xp-timeline li:not(:last-child)::after { content:"";position:absolute;top:20px;left:50%;width:100%;height:2px;background:repeating-linear-gradient(90deg,rgba(253,250,247,.5) 0 6px,transparent 6px 12px); }
.xp-timeline span { display:block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--citron);min-height:16px; }
.xp-plan .xp-note { margin:0;font-size:15px;font-weight:400;line-height:1.6;color:rgba(253,250,247,.9); }
.xp-pulse { background:var(--ivoire2);border-radius:20px;padding:22px 24px; }
.xp-pulse-track { list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px; }
.xp-pulse-track li { display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;line-height:1.3; }
.xp-pulse-track li + li::before { content:"";width:22px;border-top:2px dashed rgba(20,18,16,.35);margin-right:2px; }
.xp-pulse-track .xp-icon { width:44px;height:44px;padding:11px;border-radius:50%;background:var(--noir);color:var(--citron); }
.xp-pulse-tempo { display:inline-flex;align-items:center;gap:10px;background:var(--citron);border:1px solid var(--noir);border-radius:999px;padding:9px 18px 9px 12px;font-size:14px;font-weight:600; }
.xp-pulse-tempo .xp-icon { width:22px;height:22px; }

@media (max-width:640px) {
  .xp-profiles { grid-template-columns:1fr 1fr 1fr;gap:8px; }
  .xp-profiles li { padding:16px 6px 14px; }
  .xp-timeline { flex-direction:column;gap:14px;margin-left:6px; }
  .xp-timeline li { display:flex;align-items:center;gap:14px;text-align:left; }
  .xp-timeline li::before { margin:0; }
  .xp-timeline li:not(:last-child)::after { top:42px;left:20px;width:2px;height:14px;background:repeating-linear-gradient(180deg,rgba(253,250,247,.5) 0 4px,transparent 4px 8px); }
  .xp-stamp { position:static;display:inline-block;margin:0 0 14px;transform:none; }
  .xp-pulse-track { flex-direction:column;align-items:flex-start; }
  .xp-pulse-track li + li::before { display:none; }
  .xp-cast, .xp-pulse { padding:18px; }
}

.xp-chars { list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0; }
.xp-chars li { background:var(--noir);color:var(--ivoire);border-radius:16px;padding:20px 14px 18px;text-align:center; }
.xp-chars .xp-icon { width:40px;height:40px;margin:0 auto 10px;color:var(--citron); }
.xp-chars b { display:block;font-family:'Cormorant Garamond',serif;font-size:clamp(26px,3.8vw,32px);font-weight:700;line-height:1.05; }
.xp-chars span.xp-role { display:block;margin-top:8px;font-size:13px;font-weight:500;line-height:1.4;color:rgba(253,250,247,.85); }
.xp-ecg { background:var(--noir);color:var(--ivoire);border-radius:22px;padding:26px 24px 24px; }
.xp-ecg svg { display:block;width:100%;height:auto;margin:0 0 20px; }
.xp-ecg path { fill:none;stroke:var(--citron);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round; }
.xp-beats { list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:12px 18px;margin:0 0 22px;counter-reset:beat; }
.xp-beats li { position:relative;padding-top:20px;font-size:14px;font-weight:600;line-height:1.4;border-top:2px solid rgba(253,250,247,.22); }
.xp-beats li::before { content:"";position:absolute;top:-6px;left:0;width:10px;height:10px;border-radius:50%;background:var(--citron); }
.popup-section .xp-block .xp-ecg p.xp-diag { margin:0;padding-top:20px;border-top:1px solid rgba(253,250,247,.18);font-family:'Cormorant Garamond',serif;font-size:clamp(23px,3.2vw,28px);font-weight:600;line-height:1.3;color:var(--ivoire); }
.xp-final { display:flex;align-items:center;gap:22px;background:var(--noir);color:var(--ivoire);border-radius:22px;padding:26px 28px; }
.xp-final-num { flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:92px;height:92px;border-radius:50%;background:var(--citron);color:var(--noir);font-family:'Cormorant Garamond',serif;font-size:62px;font-weight:700;line-height:1;font-variant-numeric:lining-nums; }
.popup-section .xp-block .xp-final h3 { margin:0 0 8px;color:var(--ivoire); }
.popup-section .xp-block .xp-final p { margin:0;font-size:16px;font-weight:400;line-height:1.5; }

@media (max-width:640px) {
  .xp-chars { grid-template-columns:1fr; }
  .xp-chars li { display:flex;align-items:center;gap:14px;text-align:left;padding:14px 16px; }
  .xp-chars .xp-icon { margin:0; }
  .xp-beats { grid-template-columns:1fr; }
  .xp-ecg { padding:22px 18px 20px; }
  .xp-final { flex-direction:column;align-items:flex-start;gap:16px;padding:22px 20px; }
}

.ico-back { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5M4 9h10a6 6 0 0 1 0 12h-3'/%3E%3C/svg%3E"); }
.ico-lock { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 11h12v9H6zM8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

.xp-game { background:var(--noir);color:var(--ivoire);border-radius:22px;padding:26px 24px 22px; }
.popup-section .xp-block .xp-game h3 { margin:0 0 20px;color:var(--ivoire); }
.xp-map { display:grid;grid-template-columns:1fr auto;gap:12px 14px;align-items:stretch; }
.xp-lanes { display:flex;flex-direction:column;gap:14px; }
.xp-lane { background:rgba(253,250,247,.07);border:1px solid rgba(253,250,247,.16);border-radius:16px;padding:14px 16px 16px; }
.xp-lane-name { display:block;margin:0 0 10px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--citron); }
.xp-path { list-style:none;display:flex;align-items:center;gap:0;margin:0; }
.xp-path li { position:relative;flex:1;display:flex;justify-content:center; }
.xp-path li + li::before { content:"";position:absolute;left:-50%;top:50%;width:100%;border-top:2px dashed rgba(253,250,247,.35);transform:translateY(-1px); }
.xp-path .xp-icon { position:relative;z-index:1;width:42px;height:42px;padding:10px;border-radius:12px;background:var(--noir);border:1.5px solid rgba(253,250,247,.5);color:var(--ivoire); }
.xp-path .xp-icon.is-back { color:var(--citron);border-color:var(--citron); }
.xp-meet { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:104px;border-radius:18px;background:var(--citron);color:var(--noir);padding:14px 12px;text-align:center; }
.xp-meet .xp-icon { width:30px;height:30px; }
.xp-meet b { font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:700;line-height:1.05; }
.xp-legend { list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:20px 0 0;padding-top:18px;border-top:1px solid rgba(253,250,247,.18); }
.xp-legend li { display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;line-height:1.35; }
.xp-legend .xp-icon { width:32px;height:32px;padding:6px;border-radius:50%;background:var(--citron);color:var(--noir); }
.xp-dice { display:flex;align-items:center;gap:20px;background:var(--ivoire2);border-radius:20px;padding:22px 24px; }
.xp-dice > .xp-icon { width:84px;height:84px;padding:20px;border-radius:50%;background:var(--noir);color:var(--citron); }
.popup-section .xp-block .xp-dice h3 { margin:0 0 12px; }
.popup-section .xp-block .xp-dice p.xp-aside { margin:12px 0 0;font-family:'Inter',sans-serif;font-style:normal;font-size:15px;font-weight:500; }
.xp-deck { list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 6px; }
.xp-deck li { padding:22px 18px 24px;border-radius:16px;font-family:'Cormorant Garamond',serif;font-size:clamp(22px,3vw,27px);font-weight:700;line-height:1.1;min-height:118px;display:flex;flex-direction:column;justify-content:flex-end; }
.xp-deck li:first-child { background:var(--noir);color:var(--ivoire);transform:rotate(-2deg); }
.xp-deck li:last-child { background:var(--citron);color:var(--noir);border:1px solid var(--noir);transform:rotate(2deg); }
.xp-deck .xp-icon { width:30px;height:30px;margin-bottom:auto; }
.xp-question { background:var(--noir);border-radius:22px;padding:30px 28px; }
.popup-section p.xp-question-text { margin:0;font-family:'Cormorant Garamond',serif;font-size:clamp(26px,3.8vw,34px);font-weight:700;line-height:1.2;color:var(--citron); }

@media (max-width:640px) {
  .xp-map { grid-template-columns:1fr; }
  .xp-meet { flex-direction:row;min-width:0;padding:14px 18px; }
  .xp-path .xp-icon { width:36px;height:36px;padding:8px; }
  .xp-legend { grid-template-columns:1fr; }
  .xp-dice { flex-direction:column;align-items:flex-start;gap:14px;padding:20px 18px; }
  .xp-deck { grid-template-columns:1fr; }
  .xp-deck li { min-height:96px; }
  .xp-game { padding:22px 16px 18px; }
  .xp-question { padding:24px 20px; }
}