/* Local avatars and shared presentation states. */
.avatar{display:inline-block;width:52px;height:52px;vertical-align:middle;flex-shrink:0;overflow:visible}.avatar-small{width:36px;height:36px}.avatar-podium{width:100px;height:100px}.name-chip,.player-identity{display:inline-flex;align-items:center;gap:9px}.live-title>.avatar{margin-right:10px}.name-chip{padding:7px 12px}
.ready-signal{display:flex;align-items:center;gap:9px;padding:9px 14px;border-radius:30px;background:#e4f7ee;color:#126b50;font-size:14px;font-weight:750;border:1px solid #b2dfc8}.ready-signal[hidden]{display:none}.ready-check{display:grid;place-items:center;width:27px;height:27px;background:#177954;color:white;border-radius:50%;font-size:19px}.ready-signal.celebrate .ready-check{animation:ready-bounce .7s ease-out 3}.ready-signal.celebrate{animation:ready-glow 1.3s ease-out 3}
@keyframes ready-bounce{0%,100%{transform:scale(1)}40%{transform:scale(1.23) rotate(-10deg)}65%{transform:scale(.96)}}
@keyframes ready-glow{0%,100%{box-shadow:0 0 0 0 #50b68b00}45%{box-shadow:0 0 0 7px #50b68b2a}}
.podium-show{position:relative;border:1px solid #dce4f2;background:radial-gradient(ellipse at 50% 0,#ffffff 0,#edf2fd 75%);border-radius:24px;padding:26px 28px 0;overflow:hidden;margin:18px 0 22px}.podium-heading{text-align:center}.podium-heading h2{font-size:32px;margin-bottom:8px}.podium-heading .eyebrow{margin-bottom:8px}.podium-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end;min-height:365px}.podium-place{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;align-self:end}.podium-people{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:12px;padding:15px 6px;min-height:168px;width:100%}.podium-person{text-align:center;flex:1 1 130px;min-width:0}.podium-person h3{margin:7px 0 4px;overflow-wrap:anywhere;font-size:23px}.podium-person>span{font-size:16px;color:var(--muted)}.podium-mystery{font-size:65px;color:#a5b1c9;font-weight:800;padding:25px}.podium-plinth{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border-radius:15px 15px 0 0;background:#dde4f1;color:#7d8ba9;height:100px;box-shadow:inset 0 5px 0 #ffffff70}.podium-plinth strong{font-size:64px;line-height:1}.podium-plinth>span{font-size:12px;font-weight:750;margin-top:8px;letter-spacing:1px}.place-1 .podium-plinth{height:165px}.place-2 .podium-plinth{height:128px}.is-revealed.place-1 .podium-plinth{background:linear-gradient(#ffe1a1,#e8b757);color:#684712}.is-revealed.place-2 .podium-plinth{background:linear-gradient(#e2e8f4,#b5c3d8);color:#36465f}.is-revealed.place-3 .podium-plinth{background:linear-gradient(#ecc2a5,#cc936c);color:#5e3f2c}.just-revealed .podium-people{animation:podium-arrive .75s cubic-bezier(.2,.9,.2,1) both}.just-revealed .podium-plinth{animation:podium-rise .7s ease-out both;transform-origin:bottom}
@keyframes podium-arrive{from{opacity:0;transform:translateY(35px) scale(.86)}to{opacity:1;transform:none}}@keyframes podium-rise{from{transform:scaleY(.65)}to{transform:scaleY(1)}}
.podium-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.podium-confetti i{position:absolute;left:calc(var(--i)*4.2%);top:-22px;width:8px;height:15px;background:#e5b341;border-radius:2px;animation:confetti-drop 2.6s ease-out calc(var(--i)*.025s) both}.podium-confetti i:nth-child(3n){background:#5276e8}.podium-confetti i:nth-child(3n+1){background:#58aa85}.podium-confetti i:nth-child(even){width:11px;height:8px}@keyframes confetti-drop{0%{transform:translateY(0) rotate(0);opacity:0}10%{opacity:1}100%{transform:translateY(650px) rotate(480deg);opacity:0}}
.projection-text-nav,.projection-recap-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:10px 0;font-size:15px}.projection-text-nav .button{font-size:14px}.projection-text-nav:empty{display:none}
/* The projection is a viewport, with a fitted slide instead of a scrollable page. */
body.projection{height:100dvh;overflow:hidden}.projection .site-header{height:48px;min-height:0;padding:6px 24px;flex-wrap:nowrap;gap:16px}.projection .site-header .brand{font-size:20px}.projection .brand-mark{width:29px;height:29px;font-size:20px}.projection #main{height:calc(100dvh - 48px);max-width:none;width:100%;padding:10px 22px 14px;overflow:hidden}.projection #app{height:100%;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);min-height:0}.projection .live-top{margin:0 0 3px;gap:10px}.projection .live-top .eyebrow{font-size:9px;margin-bottom:2px}.projection .live-title{font-size:clamp(16px,2vw,27px);line-height:1.15;margin-bottom:0;letter-spacing:-.4px}.projection .connection-status{margin:0 0 6px;font-size:10px}.projection .live-controls{position:relative;top:auto;margin:0 0 9px;padding:7px 10px;gap:8px;box-shadow:none}.projection .live-controls .button{min-height:38px;padding:8px 12px;font-size:12px}.projection .live-controls [data-advance]{min-width:185px}.projection .live-controls>.eyebrow{font-size:8px;letter-spacing:1px}.projection .ready-signal{font-size:16px;padding:5px 11px}.projection .ready-check{width:30px;height:30px;font-size:22px}.projection .live-layout,.projection .live-main{height:100%;min-height:0;min-width:0;overflow:hidden;position:relative}.projection-frame{position:absolute;inset:0;overflow:hidden}.projection-sheet{position:absolute;transform-origin:top left;box-sizing:border-box;padding:4px;font-size:22px;line-height:1.4}.projection-sheet [hidden]{display:none!important}.projection-sheet .round-meta{margin-bottom:12px;gap:14px}.projection-sheet .round-meta .badge{font-size:16px}.projection-sheet .round-meta .muted{font-size:18px}.projection-sheet .timer{width:56px;height:56px;font-size:26px}.projection-sheet .callout{padding:10px 18px;margin-bottom:12px;font-size:18px}.projection-sheet .question-body{padding:22px;margin:0;background:#fff}.projection-sheet .question-body>.badge{margin-bottom:10px;font-size:14px}.projection-sheet .question-prompt{font-size:38px;line-height:1.2;margin-bottom:18px}.projection-sheet .button.choice{font-size:24px;min-height:74px;padding:12px 15px;flex-wrap:nowrap}.projection-sheet .choice-symbol{font-size:22px}.projection-sheet .choice img{width:100px;height:95px;object-fit:contain}.projection-sheet .answer-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.projection-sheet .question-image{max-height:270px;margin:10px auto}.projection-sheet .pin-wrap{margin:8px auto}.projection-sheet .pin-stage>img{max-height:420px;max-width:100%}.projection-sheet .question-body>.muted{font-size:17px;margin-bottom:10px}.projection-sheet .numeric-controls{margin:12px 0}.projection-sheet .ordering{margin:10px 0;gap:8px}.projection-sheet .ordering li{padding:10px 16px;font-size:24px}.projection-sheet .solution{margin:12px 0 0;font-size:22px;padding:12px;line-height:1.4}.projection-question-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px;align-items:start}.projection-answer-info{min-width:0;display:flex;flex-direction:column;gap:12px}.projection-sheet .explanation{padding:18px;font-size:24px;line-height:1.45;margin:0;overflow-wrap:anywhere}.projection-sheet .aggregate{margin:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px}.projection-sheet .aggregate:empty{display:none}.projection-sheet .aggregate p{font-size:22px;line-height:1.4;margin:0}.projection-sheet .bar-row{font-size:19px;margin-bottom:13px}.projection-sheet .bar-row:last-child{margin-bottom:0}.projection-sheet .bar-track{height:12px}.projection-sheet .lobby-stage{grid-template-columns:1fr 245px;padding:24px;margin-bottom:16px;min-height:0}.projection-sheet .lobby-stage h2{font-size:36px}.projection-sheet .lobby-stage p{font-size:19px;margin-bottom:10px}.projection-sheet .big-pin{font-size:76px;margin:12px 0}.projection-sheet .rules{font-size:13px;margin-top:14px;gap:6px}.projection-sheet .join-url{font-size:18px}.projection-sheet .qr-box{width:230px;max-width:230px}.projection-sheet .lobby-names{padding:18px;margin:0}.projection-sheet .lobby-names h3{font-size:21px;margin-bottom:10px}.projection-sheet .names{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.projection-sheet .name-chip{font-size:18px;overflow-wrap:anywhere}.projection-sheet .countdown-stage{padding:24px}.projection-sheet .countdown-number{font-size:170px}.projection-sheet .podium-show{margin:10px 0;padding:25px 35px 0}.projection-sheet .podium-heading h2{font-size:40px}.projection-sheet .podium-heading p{font-size:22px}.projection-sheet .podium-places{min-height:400px;gap:22px}.projection-sheet .podium-person h3{font-size:30px}.projection-sheet .podium-person>span{font-size:22px}.projection-sheet .avatar-podium{width:125px;height:125px}.projection-sheet .finish-title{font-size:34px;margin-bottom:8px}.projection-sheet .projection-recap .panel{margin:0;padding:18px}.projection-sheet .projection-recap summary{font-size:23px}.projection-sheet .projection-recap .aggregate{border:0}.projection-sheet>.button{margin:8px;font-size:18px}.projection-sheet>.centered>.eyebrow{margin-bottom:5px}
@media(max-width:760px){.avatar-podium{width:70px;height:70px}.podium-show{padding:18px 10px 0}.podium-places{gap:8px;min-height:280px}.podium-person{flex-basis:80px}.podium-person h3{font-size:16px}.podium-person>span{font-size:12px}.podium-plinth strong{font-size:44px}.podium-heading h2{font-size:23px}.live-controls .ready-signal{margin-right:auto}.projection .site-header{height:40px;padding:5px 12px}.projection #main{height:calc(100dvh - 40px);padding:7px 10px}.projection .live-controls>.eyebrow{display:none}.projection .live-controls .button{flex:1 1 100px;font-size:11px}.projection .live-controls [data-advance]{min-width:0;flex:1 1 170px}.projection .live-controls .ready-signal{order:-1;width:100%;justify-content:center}.projection .live-title{font-size:16px}}
@media(prefers-reduced-motion:reduce){.ready-signal,.ready-check,.podium-people,.podium-plinth,.podium-confetti i{animation:none!important}.podium-confetti{display:none}}

.podium-tie-nav{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:0 0 10px;font-size:12px}.podium-tie-nav .button{min-height:32px;padding:5px 9px}.projection-sheet .podium-tie-nav{font-size:15px}

/* Cover and optional second correction slide keep the complete image visible. */
.lobby-cover{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:16px;background:#ffffff18;grid-column:1/-1}.lobby-stage.has-cover{gap:22px}.correction-image-editor{border:1px solid var(--line);border-radius:16px;margin:20px 0;padding:20px}.correction-image-thumb{display:block;max-width:260px;max-height:180px;object-fit:contain;margin-bottom:12px}.correction-nav{display:flex;justify-content:center;margin:12px 0}.correction-detail{margin:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;text-align:center}.correction-detail img{display:block;max-width:100%;width:100%;max-height:65vh;object-fit:contain}.correction-detail figcaption{margin-top:12px;overflow-wrap:anywhere}.correction-original[hidden],.correction-detail[hidden]{display:none}.upload-status{font-size:14px;line-height:1.5;white-space:normal}.projection-sheet .lobby-stage.has-cover{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) 235px;align-items:center;gap:24px}.projection-sheet .lobby-cover{grid-column:auto;max-height:410px;min-height:280px}.projection-sheet .has-cover h2{font-size:27px}.projection-sheet .has-cover .big-pin{font-size:60px}.projection-sheet .has-cover .join-url{font-size:14px;overflow-wrap:anywhere}.projection-sheet .correction-detail img{max-height:540px}.projection-sheet .correction-detail figcaption{font-size:22px;line-height:1.3}.projection-sheet .correction-nav{margin:6px 0 14px}.projection-sheet .correction-nav .button{font-size:20px}
.podium-celebration{position:absolute;inset:0;overflow:hidden;pointer-events:none}.podium-celebration .podium-confetti i{animation:long-confetti 4s ease-out calc(var(--i)*.085s) both}.firework-burst{position:absolute;width:0;height:0}.firework-burst i{position:absolute;width:8px;height:8px;border-radius:50%;background:hsl(var(--hue) 80% 52%);box-shadow:0 0 8px hsl(var(--hue) 80% 70%);animation:firework-bloom 2.4s ease-out var(--delay) both}
@keyframes firework-bloom{0%{opacity:0;transform:translate(0,55px) scale(.2)}12%{opacity:.8;transform:translate(0,0) scale(.6)}35%{opacity:.9}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.25)}}
@keyframes long-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}12%{opacity:.8}100%{opacity:0;transform:translateY(750px) rotate(540deg)}}
@media(prefers-reduced-motion:reduce){.podium-celebration{display:none}.firework-burst i{animation:none!important}}

/* Short invitation address and player avatar gallery, 1.3.0. */
.lobby-stage .join-url{font-size:clamp(24px,3vw,40px);font-weight:850;line-height:1.15;letter-spacing:-.5px;margin:10px 0 18px;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.pin-label{display:block;font-size:12px;font-weight:750;letter-spacing:2px}
.projection-sheet .lobby-stage .join-url{font-size:48px;margin:12px 0 18px}.projection-sheet .pin-label{font-size:16px}
.avatar-picker{display:grid;justify-items:center;gap:10px;margin-bottom:20px}.avatar-current .avatar{width:100px;height:100px}.avatar-save-status{font-size:13px;margin:0;max-width:400px}
.avatar-dialog{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:20px;color:var(--ink);overflow:auto;background:#fff}.avatar-dialog::backdrop{background:#101a38aa}.avatar-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.avatar-dialog h2{font-size:24px;margin:0}.avatar-dialog p{font-size:13px;margin:12px 0}.avatar-families{display:flex;gap:8px;margin-bottom:16px}.avatar-families .button{flex:1;padding:10px 5px;min-width:0}.avatar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.avatar-grid .avatar-option{padding:4px;min-height:0;aspect-ratio:1;border:2px solid transparent;background:#f0f3fa;border-radius:14px}.avatar-grid .avatar-option.selected{background:#dbe6ff;border-color:var(--blue);box-shadow:0 0 0 2px white inset}.avatar-grid .avatar{width:100%;height:100%}.avatar-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.avatar-dialog button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media(max-width:480px){.avatar-dialog{padding:16px}.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.avatar-dialog h2{font-size:21px}}

[hidden]{display:none!important}

/* Administration des comptes, 1.4.0. */
.organizer-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;align-items:start}.organizer-layout .panel{margin:0}.organizer-create h2,.organizer-directory h2{font-size:23px}.organizer-password-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 20px}.organizer-password-tools label{display:flex;align-items:center;gap:8px;font-size:12px;margin:0}.organizer-password-tools input[type=checkbox]{width:18px;height:18px;min-height:0}.organizer-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:15px 0}.organizer-filters>input{flex:1;min-width:160px}.organizer-filters label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px}.organizer-card{padding:20px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px}.organizer-identity{display:flex;align-items:flex-start;gap:14px;min-width:0}.organizer-identity>div{min-width:0}.organizer-identity h3{font-size:16px;overflow-wrap:anywhere;margin:0 0 9px}.organizer-mark{width:38px;height:38px;flex-shrink:0;background:#edf1ff;color:var(--blue);border-radius:12px;display:grid;place-items:center}.organizer-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}.organizer-identity p{font-size:12px;margin:8px 0 0}.organizer-actions{display:flex;flex-wrap:wrap;gap:8px;padding-left:52px}.badge.account-active{background:#e6f5ed;color:#126341}.badge.account-disabled{background:#f4e9e9;color:#933131}
@media(max-width:1000px){.organizer-layout{grid-template-columns:1fr}.organizer-actions{padding-left:0}}
@media(max-width:760px){.site-header nav{gap:3px;flex-wrap:wrap;height:auto}.site-header nav a{font-size:12px;padding:0 4px 6px}.organizer-directory{padding:20px}.organizer-create{padding:20px}}

.organizer-password-tools label,.organizer-filters label{flex-direction:row}
