.roue-app { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 2.5rem; align-items: start; }

.roue-cadre { position: relative; width: 100%; aspect-ratio: 1; padding-top: 14px; }
.roue-cadre svg { width: 100%; height: 100%; display: block; transition: transform 5.2s cubic-bezier(.12, .6, .1, 1); filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .5)); }
.roue-pointeur { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0;
  border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 30px solid var(--text);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }

.roue-resultat { min-height: 2.6rem; text-align: center; font-weight: 700; font-size: 1.25rem; margin-top: 1rem; }
.roue-resultat.gagne { color: var(--ok); }
.roue-resultat.neutre { color: var(--warn); }
.roue-resultat.perdu { color: var(--soft); }
.roue-resultat.erreur { color: var(--danger); }

.roue-panneau h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.roue-panneau section + section { margin-top: 1.8rem; }
.roue-aide { color: var(--soft); font-size: .9rem; margin-bottom: .8rem; }
.roue-invite { background: rgba(124, 92, 255, .1); border: 1px solid rgba(124, 92, 255, .45); border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1.4rem; }
.roue-invite a { color: var(--primary); font-weight: 700; }

.roue-puces { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.puce { padding: .4rem 1rem; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; transition: border-color .15s ease; }
.puce:hover { border-color: var(--primary); }
.puce.actif { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 92, 255, .25); }
.roue-label { display: block; font-weight: 500; margin-bottom: .35rem; }
.roue-input { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; font: inherit; font-size: 1.1rem; margin-bottom: 1rem; }
.roue-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 92, 255, .25); }
.roue-panneau .btn:disabled { background: var(--surface-2); color: var(--soft); opacity: .6; cursor: not-allowed; }

.roue-legende { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.roue-legende li { display: flex; align-items: center; gap: .45rem; padding: .25rem .75rem; background: var(--surface-2); border-radius: 999px; font-size: .9rem; }
.roue-legende .pastille-mult { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.roue-legende small { color: var(--soft); }

.roue-historique { list-style: none; display: grid; gap: .35rem; font-size: .95rem; }
.roue-historique li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem .8rem; background: var(--surface-2); border-radius: 10px; color: var(--soft); }
.roue-historique li.gain strong { color: var(--ok); }
.roue-historique li.nul strong { color: var(--warn); }

@media (max-width: 800px) { .roue-app { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .roue-cadre svg { transition-duration: .6s; } }
