:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5eee8;background:#211a20;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse 65% 35% at 90% 10%,#5b324051,transparent),radial-gradient(ellipse 70% 35% at 10% 85%,#73472b21,transparent);z-index:-1}.shell{max-width:730px;margin:auto;padding:24px 22px 70px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;letter-spacing:-.6px;font-size:21px}.brand em{font-size:10px;color:#e3ab80;font-style:normal;letter-spacing:1.5px;margin-left:5px;vertical-align:middle}.logo{height:40px;width:40px;display:grid;place-items:center;background:#ad6c54;border-radius:14px;font:700 26px Georgia,serif;color:#fff}.logo span{color:#e9cab1}.pill{border:1px solid #716067;border-radius:30px;padding:7px 10px;color:#c9bab9;font-size:10px;letter-spacing:1px;white-space:nowrap}.hero{padding:56px 0 42px}.eyebrow,.stage-label,.game-meta{color:#e8b797;letter-spacing:1.6px;font-size:11px;font-weight:750}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(46px,9vw,74px);line-height:1.05;font-weight:400;letter-spacing:-2.7px;margin:18px 0 19px}.hero h1 i{color:#dc9e82;font-weight:400}.hero p{color:#c8bfc0;max-width:500px;line-height:1.7;font-size:15px;margin:0}.panel{background:#30262e;border:1px solid #54434a;border-radius:22px;padding:30px;box-shadow:0 16px 55px #0b080a25}.stage{display:none}.stage.active{display:block}.stage-label{display:flex;align-items:center;gap:12px;margin-bottom:24px}.number{background:#8d584d;border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;letter-spacing:0;color:white}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;border:1.5px dashed #8e6463;background:#382b33;border-radius:16px;padding:29px 15px;cursor:pointer;min-height:215px;transition:.2s}.dropzone:hover,.dropzone.drag{background:#423039;border-color:#e4a882}.camera-icon{font-size:45px;line-height:1;color:#dea889}.dropzone strong{font-size:18px}.dropzone span{font-size:13px;color:#c7b9bb}.dropzone .choose{font-weight:650;color:#ebb995;text-decoration:underline;text-underline-offset:4px}.visually-hidden{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.previews{display:flex;gap:10px;flex-wrap:wrap;padding-top:14px}.previews:empty{display:none}.previews img{height:75px;width:65px;object-fit:cover;border-radius:7px}.primary,.secondary,.ghost{width:100%;border:0;cursor:pointer;border-radius:12px;padding:16px 18px;font-family:inherit;font-weight:700;font-size:14px;transition:background .2s,transform .2s}.primary{background:#dca080;color:#2b1c20;margin-top:18px;display:flex;align-items:center;justify-content:space-between}.primary:hover:enabled{background:#efb796;transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{border:1px solid #7e6263;background:transparent;color:#f7e7dd}.secondary:hover{background:#43353d}.ghost{background:none;color:#dbb4a2;margin-top:5px}.or{display:flex;align-items:center;gap:12px;margin:28px 0 18px;font-size:10px;letter-spacing:1.4px;color:#ad9c9f;white-space:nowrap}.or:before,.or:after{content:"";height:1px;background:#5e4b54;flex:1}.small{font-size:11px;line-height:1.7;color:#af9fa4;margin:18px 0 0}.panel h2{font-family:Georgia,serif;font-size:31px;line-height:1.2;font-weight:400;letter-spacing:-.7px;margin:0 0 12px}.muted{color:#c1b3b7;line-height:1.65;font-size:14px}.wine-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:24px}.field{display:flex;flex-direction:column;gap:7px}.field label{color:#d7b0a6;font-size:12px}.field input{width:100%;padding:13px;border:1px solid #67535d;border-radius:9px;background:#261d24;color:#fff;font:inherit;font-size:14px}.field input:focus{border-color:#e3a489;outline:none}.evidence{background:#382e36;border-left:3px solid #b77c65;padding:13px 16px;margin-top:19px;border-radius:6px;color:#d1c1c3;font-size:12px;line-height:1.6}.evidence strong{color:#e4b39c}.game-meta{display:flex;justify-content:space-between;color:#d9a793}.progress{height:5px;background:#5c4852;border-radius:5px;margin:13px 0 32px}.progress span{display:block;background:#dba483;height:100%;border-radius:5px;transition:width .3s}.context{color:#c9a28d;font-size:12px}.choices{display:grid;gap:10px;margin-top:28px}.choice{display:flex;gap:12px;align-items:center;text-align:left;background:#3b2f38;color:#f4ebea;border:1px solid #66515d;padding:15px 16px;border-radius:12px;cursor:pointer;font:inherit;font-size:14px;min-height:58px}.choice:hover:enabled{background:#483641}.choice .letter{font-weight:800;color:#d4a38e}.choice.correct{border-color:#87bd9b;background:#29483c}.choice.incorrect{border-color:#d17b80;background:#59343d}.feedback{min-height:0;margin-top:18px;line-height:1.65;font-size:14px;color:#efdbd0}.feedback p{margin:0}.feedback small{display:block;color:#bdadb2;margin-top:7px}.end-ornament{color:#dfab8f;font-size:48px;text-align:center;margin-top:14px}.big-score{font-family:Georgia,serif;font-size:83px;color:#e7af8c;text-align:center;line-height:1.2;margin:9px}.stage#step-result h2,.stage#step-result .muted{text-align:center}.error{background:#653338;border:1px solid #b25e63;color:#ffe0de;padding:14px 16px;border-radius:12px;margin-top:16px;font-size:13px;line-height:1.6}footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#98898d;font-size:10px;letter-spacing:.8px;padding:31px 3px 0}footer span{letter-spacing:0}@media(max-width:520px){.shell{padding:20px 15px 55px}.hero{padding:42px 4px 33px}.panel{padding:22px 19px}.wine-grid{grid-template-columns:1fr}.pill{font-size:9px}.brand{font-size:19px}.hero h1{letter-spacing:-2px}}

.camera-button{display:block;margin:10px auto 0;border:0;background:none;color:#e4b39c;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;cursor:pointer;padding:8px 10px}

/* Écrans organisateur et joueur · bouteille cachée */
.mode-select{padding:18px;border:1px solid #745661;border-radius:15px;margin-top:17px;background:#332830}
.mode-select.accent{border-color:#d9a080;background:#3b2b34}
.mode-select strong{display:block;font-size:16px;margin-bottom:6px}
.mode-select small{color:#c9b9bd;line-height:1.6;display:block}
.mode-select .primary{margin-top:14px}
.inline-input{display:flex;gap:9px;margin:13px 0 7px}
.inline-input input,.large-input{min-width:0;flex:1;width:100%;padding:13px 12px;border-radius:11px;border:1px solid #755d67;background:#211b21;color:#fff;font:inherit;font-size:14px}
.inline-input .compact{width:auto;flex-shrink:0;padding:12px 16px}
.room-code{text-align:center;font-size:clamp(38px,10vw,55px);letter-spacing:10px;font-weight:800;margin:16px 0;color:#f6ba91}
.divider-line{height:1px;background:#69535e;margin:24px 0}
.player-tags{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 20px}
.player-tag{border:1px solid #866d70;padding:7px 10px;border-radius:30px;font-size:13px}
.private-details{margin:23px 0;border:1px solid #755963;border-radius:12px;padding:12px;background:#282029}
.private-details summary{cursor:pointer;font-size:13px;color:#e8b69d}
.host-question,.correction-card{padding:14px 0;border-bottom:1px solid #5d4b53;font-size:14px;line-height:1.6}
.host-question p,.correction-card p{margin:6px 0}
.host-question small,.correction-card small{color:#bfaeb5;line-height:1.5;display:block}
.leader-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #604b57;font-size:14px}
.secret-icon{text-align:center;font-size:47px;margin:14px 0 20px}
.large-input{margin-top:8px}
#step-blind-join label{font-size:13px;color:#ddb5a5}
.choice.selected{border-color:#eac29e;background:#58413d;outline:2px solid #c7967f}
.center{text-align:center}
#step-blind-reveal h3,#step-host h3{margin:25px 0 12px;font-size:18px}
#host-finished{padding-top:10px}
@media(max-width:520px){.inline-input{flex-wrap:wrap}.inline-input #host-link{flex-basis:100%}.room-code{letter-spacing:6px}}
[hidden]{display:none!important}
