:root{font-family:Arial,Helvetica,sans-serif;color-scheme:dark;--blue:#2ac9ff;--cyan:#57d7ff;--bg:#04152f;--panel:#092747;--line:#235b7c}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 0,#0c3961 0,#04152f 45%,#03122a 100%);color:#fff;min-height:100vh}button,input{font:inherit}button{cursor:pointer}a{color:inherit} .wrap{max-width:620px;margin:0 auto;min-height:100vh;background:linear-gradient(180deg,#051d3c,#04152e 85%);box-shadow:0 4px 30px #0005}.topbar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:18px 18px 13px;border-bottom:1px solid #14446c}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;min-width:0}.brand img{height:44px;width:44px;object-fit:contain}.brand span{display:grid;gap:3px}.brand strong{font-size:15px;line-height:1.1;white-space:nowrap}.brand small{font-size:8px;letter-spacing:1.3px;color:#4bcaff;font-weight:900}.modes{display:flex;gap:5px;align-items:center}.modes a{white-space:nowrap;border:1px solid #235c85;padding:9px 8px;font-size:10px;font-weight:900;text-decoration:none;border-radius:30px;color:#b4d7eb;background:#0a3152}.modes a.current{border-color:#5cdaff;color:white;background:#086797}main{padding:8px 20px 36px}.page[hidden]{display:none!important}.intro{text-align:center;padding:25px 5px 20px}.eyebrow{font-size:10px;color:#41ceff;font-weight:900;letter-spacing:1.4px}.intro h1{font-size:clamp(34px,9vw,48px);line-height:1.03;letter-spacing:-1px;margin:16px 0}.intro h1 span{color:#43ceff}.intro p{line-height:1.65;font-size:14px;color:#c0daea;max-width:420px;margin:0 auto}.intro p strong{color:white}.hero-card{position:relative;margin:2px auto 21px;padding:20px 20px 23px;min-height:280px;border:1px solid #2476ac;border-radius:18px;background:linear-gradient(155deg,#0b4270,#082542 67%,#041a35);box-shadow:inset 0 0 45px #45acff0a,0 15px 30px #020f25;overflow:hidden;text-align:center}.hero-card:before{content:'';width:280px;height:280px;border-radius:50%;border:1px solid #2d92c344;position:absolute;left:50%;top:33%;transform:translate(-50%,-50%);box-shadow:0 0 0 30px #2676a20c,0 0 0 67px #2676a209}.hero-emblem{position:relative}.hero-emblem img{width:66px;height:66px;object-fit:contain}.hero-number{position:relative;font-size:45px;line-height:1.1;font-weight:1000;letter-spacing:-2px;margin-top:7px}.hero-number strong{color:#55d7ff;font-size:76px}.hero-legend{position:relative;font-size:11px;font-weight:900;letter-spacing:2px;color:#cfecfa;margin-top:1px}.five-lines{display:flex;gap:9px;justify-content:center;margin:20px 0}.five-lines i{display:block;width:45px;height:7px;border-radius:10px;background:linear-gradient(90deg,#159fcf,#61e2ff)}.hero-foot{color:#abd6f1;font-size:10px;font-weight:800;letter-spacing:1.2px}.panel{border:1px solid var(--line);border-radius:14px;background:#082849;padding:17px;margin:0 0 15px}.panel label{display:block;font-size:11px;font-weight:900;color:#58d4ff;letter-spacing:1px;margin-bottom:9px}.panel label span{font-weight:500;color:#92bdd7}.panel input{width:100%;background:#031a33;border-radius:9px;border:1px solid #397ba1;padding:12px 13px;color:#fff;outline:none}.panel input:focus{border-color:#5ad7ff}.tiny{font-size:11px;color:#9fc5de;line-height:1.5}.panel .tiny{margin:9px 0 0}.full{width:100%;padding:15px 13px;border-radius:11px;font-size:12px;font-weight:900;letter-spacing:.35px;min-height:52px}.primary{background:linear-gradient(120deg,#0086c7,#129ed8);color:white;border:1px solid #54d8ff}.primary span{float:right;font-size:19px;line-height:13px}.secondary{background:#0a3153;border:1px solid #3482ab;color:#f2fcff}.ghost{background:transparent;border:1px solid #296084;color:#b4deee}.full:focus-visible,.slots button:focus-visible{outline:3px solid #fff;outline-offset:3px}.rules-short{margin:26px 1px 0;color:#accde0;font-size:12px;line-height:1.7}.rules-short strong{color:#4bd2fd;letter-spacing:.8px}.rules-short p{margin:9px 0}.step-bar{display:flex;align-items:center;justify-content:space-between;margin:18px 2px 13px}.counter{font-size:10px;color:#a4cce2;font-weight:800}.progress{background:#194b6f;height:7px;border-radius:20px;overflow:hidden;margin-bottom:24px}.progress span{display:block;height:100%;width:20%;background:linear-gradient(90deg,#158ab9,#5fe2ff);transition:width .28s}.play-title{font-size:24px;text-align:center;letter-spacing:-.5px;margin:0 0 17px}.player-card{border:1px solid #2e99ca;background:linear-gradient(155deg,#073b64,#092541 68%,#061c35);border-radius:18px;overflow:hidden;box-shadow:0 7px 32px #03122544}.portrait-wrap{position:relative;height:clamp(205px,49vw,284px);overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#135487 0,#0b3862 42%,#071d36 88%)}.portrait-wrap:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(0deg,#092541,transparent);pointer-events:none}.portrait-fallback{position:absolute;inset:0;display:flex;align-items:end;justify-content:center}.shirt{display:grid;place-items:center;width:168px;height:187px;background:linear-gradient(110deg,#a8eaff,#e3ffff 50%,#b8eafa);color:#1a90ca;font-size:64px;font-weight:900;clip-path:polygon(17% 4%,30% 0,41% 10%,59% 10%,70% 0,83% 4%,100% 18%,91% 38%,79% 34%,78% 100%,22% 100%,21% 34%,9% 38%,0 18%);filter:drop-shadow(0 5px 5px #0006)}.player-details{text-align:center;position:relative;z-index:2;padding:13px 15px 21px}.player-tag{display:inline-block;font-size:9px;font-weight:900;letter-spacing:1.3px;color:#5adaff}.player-details h3{font-size:clamp(25px,6.5vw,37px);line-height:1.09;letter-spacing:-1px;margin:8px 0 4px}.player-details p{color:#b5d7ee;font-size:12px;font-weight:700;margin:0}.choice-hint{text-align:center;color:#4bd0f8;font-size:10px;font-weight:900;letter-spacing:.85px;margin:25px 0 12px}.slots{display:grid;gap:8px}.slot{border:1px solid #2b658a;background:#0c2d4f;border-radius:10px;color:white;display:flex;gap:12px;align-items:center;text-align:left;padding:8px 10px;min-height:61px;width:100%}.slot:not(:disabled):hover{background:#0d507a;border-color:#50d2fa}.slot:disabled{cursor:default}.slot .place{background:#115b88;border:1px solid #288fc0;border-radius:8px;width:39px;height:39px;display:grid;place-items:center;font-size:20px;font-weight:950;color:#7de8ff;flex:0 0 auto}.slot .name{font-weight:850;font-size:13px;flex:1}.slot .dot{font-size:20px;color:#6ad7f7;margin-right:8px}.slot.filled{border-color:#2d9bc5;background:#0b436a}.slot.filled .name{color:#e8faff}.under-game{text-align:center;font-size:11px;color:#a0bed2;margin:12px}.result-intro{padding-bottom:19px}.ranking-card{border:1px solid #279dc8;background:#061e3d;border-radius:18px;padding:18px 15px 20px}.ranking-logo{display:flex;align-items:center;gap:10px;border-bottom:1px solid #2b6e94;padding-bottom:14px}.ranking-logo img{width:44px;height:44px}.ranking-logo span{display:grid;gap:3px}.ranking-logo strong{font-size:17px}.ranking-logo small{font-size:10px;font-weight:900;color:#63dfff;letter-spacing:1px}.ranking-card h2{font-size:23px;text-align:center;letter-spacing:1px;margin:25px 0 19px}.result-slots{display:grid;gap:8px}.result-row{border:1px solid #27658e;border-radius:9px;padding:12px;display:flex;align-items:center;gap:11px;background:#092b50}.result-row:first-child{border-color:#e1b85d;background:linear-gradient(90deg,#164567,#0a2c51)}.result-row strong{color:#4bd4ff;font-size:21px;width:29px}.result-row:first-child strong{color:#ffd97c}.result-row span{font-size:14px;font-weight:900}.ranking-foot{display:flex;justify-content:space-between;gap:8px;border-top:2px solid #2cc8fa;padding-top:15px;margin-top:21px;align-items:center;font-size:10px}.ranking-foot strong{color:#68ddff;overflow-wrap:anywhere}.ranking-foot span{font-weight:900}.actions{display:grid;gap:9px;margin-top:17px}.share-message{text-align:center;min-height:17px}footer{border-top:1px solid #154264;padding:20px;text-align:center;font-size:10px;color:#648eac;letter-spacing:.7px}@media(min-width:660px){.wrap{border:1px solid #164a72;border-radius:18px;overflow:hidden;margin:25px auto;min-height:calc(100vh - 50px)}}@media(max-width:550px){.topbar{flex-wrap:wrap;justify-content:center;padding:15px 12px 11px}.brand{width:100%;justify-content:center}.modes{width:100%;justify-content:center;margin-top:7px}.modes a{flex:1;text-align:center;max-width:125px}.brand img{width:38px;height:38px}.brand strong{font-size:16px}}@media(max-width:380px){main{padding-left:13px;padding-right:13px}.topbar{padding:12px}.intro h1{font-size:36px}.hero-card{min-height:260px}}


/* V36 — intitulé complet pour le troisième onglet sur mobile */
@media(max-width:600px){.topbar{flex-wrap:wrap;justify-content:center}.topbar .brand{margin:0 auto}.modes{width:100%;justify-content:center;gap:5px}.modes a{flex:1;min-width:0;text-align:center;font-size:10px;padding:9px 5px;white-space:normal}}


/* Affichage des 50 photos originales: image entière, proportions conservées, aucune retouche. */
.portrait-wrap .portrait-originale{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;z-index:1;}
.portrait-wrap:has(.portrait-originale):after{display:none}
