    /* Genius Runner Mini-Game */
    .genius-game-container {
      margin: 24px 0;
      background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
      border-radius: 16px;
      padding: 16px;
      border: 2px solid var(--accent);
      box-shadow: 0 0 30px rgba(53,117,246,0.2);
    }
    .genius-game-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      padding: 0 8px;
    }
    .genius-game-title {
      color: #fff;
      font-weight: 700;
      font-size: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .genius-game-title i {
      color: var(--accent);
    }
    .genius-game-score {
      color: var(--accent-2);
      font-size: 18px;
    }
    .genius-game-score strong {
      font-weight: 800;
      font-size: 22px;
    }
    .genius-game-canvas {
      position: relative;
      height: 200px;
      background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      border: 1px solid rgba(255,255,255,0.1);
    }
    .genius-game-ground {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 40px;
      background: linear-gradient(180deg, #2d2d5a 0%, #1a1a3e 100%);
      border-top: 3px solid var(--accent);
    }
    .genius-game-ground::before {
      content: '';
      position: absolute;
      top: 3px;
      left: 0;
      right: 0;
      height: 3px;
      background: repeating-linear-gradient(90deg, var(--accent-2) 0px, var(--accent-2) 20px, transparent 20px, transparent 40px);
      animation: groundScroll 0.5s linear infinite;
    }
    @keyframes groundScroll {
      from { transform: translateX(0); }
      to { transform: translateX(-40px); }
    }
    .genius-player {
      position: absolute;
      bottom: 40px;
      left: 60px;
      width: 55px;
      height: 55px;
      transition: bottom 0.1s ease-out;
      z-index: 10;
    }
    .genius-player img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: drop-shadow(0 0 10px rgba(53,117,246,0.5));
    }
    .genius-player.jumping {
      animation: playerJump 0.5s ease-out;
    }
    @keyframes playerJump {
      0% { bottom: 40px; }
      50% { bottom: 140px; }
      100% { bottom: 40px; }
    }
    .genius-obstacle {
      position: absolute;
      bottom: 40px;
      width: 35px;
      height: 50px;
      background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
      border-radius: 8px 8px 4px 4px;
      animation: obstacleMove var(--obstacle-speed, 2s) linear forwards;
      z-index: 5;
      box-shadow: 0 0 15px rgba(220,38,38,0.4);
    }
    .genius-obstacle::before {
      content: '';
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 20px;
      background: #fff;
      border-radius: 50%;
      opacity: 0.9;
    }
    .genius-obstacle::after {
      content: '';
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      width: 10px;
      height: 10px;
      background: #1a1a2e;
      border-radius: 50%;
    }
    .genius-obstacle.tall {
      height: 70px;
    }
    .genius-obstacle.short {
      height: 35px;
    }
    @keyframes obstacleMove {
      from { right: -50px; }
      to { right: 110%; }
    }
    .genius-game-over {
      display: none;
      position: absolute;
      inset: 0;
      background: rgba(15,15,35,0.95);
      align-items: center;
      justify-content: center;
      z-index: 20;
      backdrop-filter: blur(4px);
    }
    .genius-game-over.active {
      display: flex;
    }
    .game-over-content {
      text-align: center;
      color: #fff;
    }
    .game-over-content i {
      font-size: 48px;
      color: #fbbf24;
      margin-bottom: 12px;
      animation: trophyBounce 1s ease infinite;
    }
    @keyframes trophyBounce {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
    }
    .game-over-content p {
      font-size: 24px;
      font-weight: 700;
      margin: 8px 0;
    }
    .game-over-content .final-score {
      color: var(--accent-2);
      font-size: 20px;
    }
    .game-over-content button {
      margin-top: 16px;
      padding: 12px 24px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      border: none;
      border-radius: 12px;
      color: #fff;
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .game-over-content button:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 20px rgba(53,117,246,0.4);
    }
    .genius-game-hint {
      text-align: center;
      margin-top: 12px;
      color: var(--muted);
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .genius-game-hint kbd {
      background: rgba(255,255,255,0.1);
      padding: 4px 10px;
      border-radius: 6px;
      font-family: inherit;
      font-weight: 600;
      border: 1px solid rgba(255,255,255,0.2);
    }
    .genius-game-hint i {
      color: var(--accent);
    }
    
    /* Stars effect in game */
    .genius-game-canvas::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 160px 20px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 200px 60px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 250px 30px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 300px 70px, rgba(255,255,255,0.3), transparent);
      animation: twinkle 3s ease-in-out infinite;
    }
    @keyframes twinkle {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    /* Status message */
    .status-message {
      text-align: center;
      padding: 12px;
      color: var(--muted);
      font-size: 14px;
    }
    .status-message.error {
      color: #dc2626;
      background: rgba(220,38,38,0.08);
      border-radius: 10px;
    }

    /* Images section */
    .images-section {
      display: none;
      margin-top: 20px;
      padding: 20px;
      background: var(--panel);
      border: 1px solid var(--edge);
      border-radius: 16px;
      animation: messageSlide 0.3s ease;
    }
    .images-section.active {
      display: block;
    }
    .images-section h3 {
      margin: 0 0 8px;
      font-size: 16px;
    }
    .images-section > p {
      margin: 0 0 12px;
      color: var(--muted);
      font-size: 14px;
    }
    .image-row {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 8px;
      margin-bottom: 10px;
    }
    .image-row input {
      padding: 10px 12px;
      border: 1px solid var(--edge);
      border-radius: 10px;
      font-size: 14px;
      font-family: inherit;
    }
    .image-row input:focus {
      outline: 2px solid rgba(53,117,246,0.3);
      border-color: var(--accent);
    }
    .add-image-btn {
      margin-top: 10px;
    }

    /* Choice buttons (Oui/Non) */
    .choice-buttons {
      display: flex;
      gap: 12px;
      margin-top: 12px;
    }
    .choice-btn {
      flex: 1;
      padding: 14px 20px;
      border: 2px solid var(--edge);
      border-radius: 12px;
      background: var(--panel);
      font-family: inherit;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .choice-btn:hover {
      border-color: var(--accent);
      background: rgba(53,117,246,0.05);
      transform: translateY(-2px);
    }
    
    /* Style options grid (for visual style and color questions) */
    .style-options-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 16px;
    }
    .style-options-grid.has-previews {
      gap: 12px;
    }
    .style-option-btn {
      padding: 14px 16px;
      border: 2px solid var(--edge);
      border-radius: 12px;
      background: var(--panel);
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: left;
      line-height: 1.4;
    }
    .style-option-btn.has-preview {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      padding: 8px;
      gap: 0;
    }
    .style-option-btn:hover {
      border-color: var(--accent);
      background: linear-gradient(135deg, rgba(53,117,246,0.08), rgba(18,194,163,0.08));
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(53,117,246,0.15);
    }
    .style-option-btn:active {
      transform: translateY(0);
    }
    .style-option-btn.template-recommended {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(53,117,246,0.18);
      background: linear-gradient(135deg, rgba(53,117,246,0.06), rgba(18,194,163,0.06));
      position: relative;
    }
    .style-option-btn.template-recommended::after {
      content: 'Recommandé';
      position: absolute;
      top: 6px;
      right: 8px;
      font-size: 10px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.02em;
      opacity: 0.85;
    }

    /* Style preview thumbnail */
    .style-preview {
      width: 100%;
      height: 80px;
      border-radius: 8px;
      overflow: hidden;
      position: relative;
      margin-bottom: 8px;
      flex-shrink: 0;
    }
    .style-preview-header {
      height: 8px;
      width: 100%;
    }
    .style-preview-body {
      padding: 8px 10px 6px;
      height: calc(100% - 8px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;
    }
    .style-preview-title {
      font-size: 14px;
      font-weight: 600;
      line-height: 1;
      letter-spacing: -0.01em;
    }
    .style-preview-blocks {
      display: flex;
      gap: 4px;
      align-items: flex-end;
    }
    .style-preview-block {
      border-radius: 2px;
      flex-shrink: 0;
    }
    .style-preview-line {
      height: 3px;
      border-radius: 1.5px;
      opacity: 0.5;
    }
    .style-preview-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .style-preview-palette {
      display: flex;
      gap: 4px;
    }
    .style-preview-swatch {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 1px solid rgba(128,128,128,0.2);
    }
    .style-preview-btn-mock {
      height: 10px;
      border-radius: 3px;
      padding: 0 8px;
      font-size: 0;
    }

    /* Layout variants */
    .style-preview[data-layout="minimaliste"] .style-preview-body {
      align-items: center;
      text-align: center;
    }
    .style-preview[data-layout="minimaliste"] .style-preview-blocks {
      justify-content: center;
    }
    .style-preview[data-layout="minimaliste"] .style-preview-bottom {
      justify-content: center;
    }
    .style-preview[data-layout="corporate"] .style-preview-blocks {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 4px;
    }
    .style-preview[data-layout="creatif"] .style-preview-blocks {
      gap: 4px;
    }
    .style-preview[data-layout="creatif"] .style-preview-block:nth-child(2) {
      transform: rotate(-2deg);
    }
    .style-preview[data-layout="luxe"] .style-preview-body {
      align-items: center;
      text-align: center;
      padding: 10px 12px 6px;
    }
    .style-preview[data-layout="luxe"] .style-preview-header {
      height: 4px;
    }
    .style-preview[data-layout="luxe"] .style-preview-bottom {
      justify-content: center;
    }
    .style-preview[data-layout="tech"] .style-preview-header {
      background: linear-gradient(90deg, var(--sp-header), var(--sp-accent)) !important;
    }
    .style-preview[data-layout="artisanal"] .style-preview-block {
      border-radius: 6px;
    }

    .style-option-label {
      padding: 6px 8px 4px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.3;
      text-align: left;
    }

    @media (max-width: 600px) {
      .style-options-grid {
        grid-template-columns: 1fr;
      }
      .style-option-btn {
        font-size: 13px;
        padding: 12px 14px;
      }
      .style-option-btn.has-preview {
        padding: 6px;
      }
      .style-preview {
        height: 64px;
      }
      .style-preview-title {
        font-size: 12px;
      }
      .style-preview-swatch {
        width: 10px;
        height: 10px;
      }
      .style-option-label {
        font-size: 12px;
        padding: 4px 6px 2px;
      }
    }
    .choice-btn.selected {
      border-color: var(--accent);
      background: linear-gradient(135deg, rgba(53,117,246,0.1), rgba(18,194,163,0.1));
      color: var(--accent);
    }
    .choice-btn.yes { border-color: rgba(16,185,129,0.3); }
    .choice-btn.yes:hover, .choice-btn.yes.selected { 
      border-color: #10b981; 
      background: rgba(16,185,129,0.1);
      color: #059669;
    }
    .choice-btn.no { border-color: rgba(100,116,139,0.3); }
    .choice-btn.no:hover, .choice-btn.no.selected { 
      border-color: #64748b; 
      background: rgba(100,116,139,0.1);
      color: #475569;
    }

    /* Social media section */
    .social-media-section {
      margin-top: 16px;
    }
    .social-platforms-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 14px;
    }
    .social-platform-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      padding: 14px 8px 10px;
      border: 2px solid var(--edge);
      border-radius: 12px;
      background: var(--bg);
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
    }
    .social-platform-card i {
      font-size: 22px;
      color: var(--text-secondary);
      transition: color 0.2s ease;
    }
    .social-platform-card span {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      transition: color 0.2s ease;
    }
    .social-platform-card:hover {
      border-color: var(--brand-color);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .social-platform-card:hover i,
    .social-platform-card:hover span {
      color: var(--brand-color);
    }
    .social-platform-card.active {
      border-color: var(--brand-color);
      background: color-mix(in srgb, var(--brand-color) 8%, var(--bg));
    }
    .social-platform-card.active i,
    .social-platform-card.active span {
      color: var(--brand-color);
    }
    .social-platform-card .social-url-input {
      display: none;
      width: 100%;
      padding: 8px 10px;
      border: 1.5px solid var(--edge);
      border-radius: 8px;
      font-size: 12px;
      background: var(--bg);
      color: var(--text);
      margin-top: 4px;
      transition: border-color 0.2s ease;
    }
    .social-platform-card .social-url-input:focus {
      outline: none;
      border-color: var(--brand-color);
    }
    .social-custom-section {
      margin-bottom: 14px;
    }
    .social-add-custom-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border: 2px dashed var(--edge);
      border-radius: 10px;
      background: transparent;
      color: var(--text-secondary);
      font-size: 13px;
      font-family: inherit;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .social-add-custom-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(53,117,246,0.05);
    }
    .social-custom-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
    }
    .social-custom-icon {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: var(--edge);
      flex-shrink: 0;
    }
    .social-custom-icon i {
      font-size: 16px;
      color: var(--text-secondary);
    }
    .social-custom-url {
      flex: 1;
      padding: 10px 12px;
      border: 1.5px solid var(--edge);
      border-radius: 8px;
      font-size: 13px;
      background: var(--bg);
      color: var(--text);
      font-family: inherit;
    }
    .social-custom-url:focus {
      outline: none;
      border-color: var(--accent);
    }
    .social-custom-label {
      display: none;
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .social-remove-btn {
      width: 32px;
      height: 32px;
      border: none;
      border-radius: 8px;
      background: rgba(239,68,68,0.1);
      color: #ef4444;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-family: inherit;
      transition: background 0.2s ease;
    }
    .social-remove-btn:hover {
      background: rgba(239,68,68,0.2);
    }
    .social-actions {
      display: flex;
      gap: 10px;
      margin-top: 4px;
    }
    @media (max-width: 600px) {
      .social-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* URL input in chat */
    .url-input-container {
      margin-top: 12px;
      display: flex;
      gap: 8px;
    }
    .url-input {
      flex: 1;
      padding: 12px 14px;
      border: 2px solid var(--edge);
      border-radius: 10px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.2s;
    }
    .url-input:focus {
      outline: none;
      border-color: var(--accent);
    }
    .url-submit-btn {
      padding: 12px 20px;
      background: linear-gradient(135deg, var(--accent), #2f5fd7);
      color: white;
      border: none;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .url-submit-btn:hover {
      transform: scale(1.02);
    }

    /* Disclaimer */
    .disclaimer {
      background: linear-gradient(135deg, rgba(255,152,0,0.1), rgba(255,193,7,0.1));
      border: 1px solid rgba(255,152,0,0.3);
      border-left: 4px solid #ff9800;
      border-radius: 10px;
      padding: 14px 16px;
      margin: 12px 0;
      display: flex;
      gap: 12px;
      align-items: start;
    }
    .disclaimer-icon {
      font-size: 20px;
      flex-shrink: 0;
    }
    .disclaimer-content strong {
      display: block;
      color: #e65100;
      font-size: 14px;
      margin-bottom: 4px;
    }
    .disclaimer-content p {
      margin: 0;
      color: #f57c00;
      font-size: 13px;
      line-height: 1.5;
    }

    @media (max-width: 1200px) {
      .nav-actions .btn-ghost .btn-label {
        display: none;
      }
      .nav-actions .btn-ghost {
        padding: 8px 10px;
      }
      .token-badge .token-text {
        display: none;
      }
    }

    @media (max-width: 1024px) {
      .burger {
        display: inline-flex;
      }
      .nav {
        position: relative;
        flex-wrap: wrap;
      }
      .nav-actions {
        display: none;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--edge);
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 18px 38px rgba(0,0,0,0.12);
        width: 100%;
        margin-top: 10px;
        order: 3;
      }
      .nav-actions.open {
        display: flex;
      }
      .nav-actions .btn,
      .nav-actions .token-badge {
        width: 100%;
        justify-content: center;
      }
      .nav-actions .btn-ghost .btn-label {
        display: inline;
      }
      .nav-actions .btn-ghost {
        padding: 10px 14px;
        font-size: 14px;
      }
      .token-badge .token-text {
        display: inline;
      }
    }

    @media (max-width: 768px) {
      .container {
        width: 100%;
        padding: 16px 12px 40px;
        overflow-x: hidden;
      }
      .nav {
        gap: 10px;
        padding: 8px 16px;
      }
      .brand img {
        height: 50px !important;
      }
      .token-badge {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
      }
      .token-badge .token-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
      }
      .token-badge .token-count {
        font-size: 14px;
      }
      
      .nav-actions .btn-ghost {
        padding: 8px 12px;
        font-size: 13px;
      }
      .chat-bubble {
        max-width: 85%;
      }
      .variant-option {
        min-width: 100%;
      }
      .image-row {
        grid-template-columns: 1fr;
      }
      .chat-header h1 {
        font-size: 22px;
      }
      .chat-header p {
        font-size: 14px;
      }
    }
    
    @media (max-width: 480px) {
      .container {
        padding: 12px 8px 30px;
      }
      .nav {
        gap: 8px;
        padding: 6px 8px;
      }
      .brand img {
        height: 40px !important;
      }
      .nav-actions {
        padding: 12px;
        gap: 8px;
      }
      .nav-actions .btn {
        font-size: 13px;
        padding: 10px 12px;
      }
      .token-badge {
        padding: 5px 8px;
        font-size: 11px;
      }
      .btn-ghost {
        padding: 6px 10px;
        font-size: 12px;
      }
      .chat-container {
        padding: 10px 0;
      }
      .chat-messages {
        padding: 12px;
        min-height: 300px;
        max-height: 50vh;
      }
      .chat-message.ai .chat-avatar {
        width: 40px;
        height: 40px;
      }
      .chat-bubble {
        max-width: 80%;
        padding: 10px 14px;
        font-size: 14px;
      }
      .chat-input-container {
        padding: 12px;
        gap: 8px;
      }
      .chat-send-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
      }
      .variants-section {
        padding: 16px;
      }
      .variants-section h3 {
        font-size: 16px;
      }
      .variant-content {
        padding: 10px 12px;
      }
      .token-mini-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
      }
      .variant-text strong {
        font-size: 14px;
      }
      .generate-btn {
        padding: 14px;
        font-size: 15px;
      }
      .images-section {
        padding: 14px;
      }
      .progress-container {
        padding: 16px;
      }
      .progress-percent {
        font-size: 22px;
      }
      .progress-steps {
        gap: 6px;
      }
      .progress-step {
        padding: 4px 8px;
        font-size: 11px;
      }
    }
    
