/* Roue de Noël : groupes de l'organisateur, édition d'un groupe, page du participant. */

/* Formulaires (.login, .switch) : dialogue.css ; grand bouton (.go) : tirage.css. */

/* Organisateur */
.groups { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.groups button { width: 100%; text-align: left; appearance: none; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px }
.groups button:hover { border-color: var(--accent) }
.groups b { font-size: 1rem }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.members .who { display: flex; flex-direction: column; min-width: 0 }
.members .who small { color: var(--muted); font-size: .8rem }
.members .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end }
.tag.pine { background: var(--pine-bg); color: var(--pine) }
.progress { height: 8px; background: var(--chip); border-radius: 99px; overflow: hidden }
.progress i { display: block; height: 100%; background: var(--pine) }
.back { align-self: flex-start }
.code { font-family: var(--mono); letter-spacing: .06em; color: var(--ink) }
.code-in { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; min-width: 0 }

/* Participant */
.gift-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center }
.gift-card h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 6vw, 2rem); margin: 0; text-wrap: balance }
.gift-card .meta { justify-content: center }
.countdown { font-family: var(--display); font-weight: 800; color: var(--pine); font-size: 1.1rem }
.drum { width: 100%; min-height: 5.5rem; border: 2px dashed var(--accent); border-radius: 16px; display: grid; place-items: center; padding: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 8vw, 2.4rem); color: var(--accent); background: var(--chip) }
.drum.spinning { color: var(--muted) }
.reveal { display: flex; flex-direction: column; gap: 6px }
.reveal b { font-family: var(--display); font-size: clamp(1.8rem, 9vw, 2.8rem); color: var(--accent); line-height: 1.1 }
.secret { color: var(--muted); font-size: .88rem; margin: 0 }

@media (max-width: 440px) { .grid2 { grid-template-columns: 1fr } }
