:root{--wine:#5b0c32;--berry:#941c53;--pink:#ef76aa;--blush:#fff0f6;--paper:#fffafd;--ink:#3f1530;--muted:#806274;--shadow:0 24px 70px rgba(83,10,45,.17)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}body{background:radial-gradient(circle at 25% 25%,#fff 0,#fff8fb 30%,#fce5f0 100%);position:relative}.game-page{overflow-x:hidden}.ambient{position:fixed;border-radius:50%;filter:blur(10px);pointer-events:none;z-index:-1}.ambient-one{width:480px;height:480px;background:#ffd3e5;top:-240px;left:-160px;opacity:.65}.ambient-two{width:520px;height:520px;background:#e89fc2;right:-280px;bottom:-300px;opacity:.24}.topbar{height:92px;padding:0 clamp(20px,4vw,68px);display:flex;align-items:center;gap:14px;border-bottom:1px solid #edcfdd;background:rgba(255,250,253,.78);backdrop-filter:blur(14px)}.topbar h1{font-family:Georgia,serif;font-style:italic;font-size:clamp(28px,3vw,44px);margin:0;color:#721440;letter-spacing:-1px}.brand-mark{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#d53e7d,#79133f);color:#fff;box-shadow:0 8px 20px #c25a8655;font-size:23px}.safe-pill{margin-left:auto;border:1px solid #e4b9ca;border-radius:999px;padding:9px 14px;color:#7c3152;font-size:13px;background:#fff9fc}.game-layout{max-width:1540px;margin:auto;padding:34px clamp(20px,4vw,60px) 30px;display:grid;grid-template-columns:minmax(590px,1fr) 365px;gap:52px;align-items:start}.wheel-stage{min-width:0;text-align:center;position:relative}.wheel-shell{width:min(72vh,730px,100%);aspect-ratio:1;margin:0 auto;position:relative;filter:drop-shadow(0 22px 25px rgba(91,12,50,.18))}.wheel-shell canvas{width:100%;height:100%;display:block}.wheel-center{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);width:100px;height:100px;border-radius:50%;display:grid;place-content:center;background:radial-gradient(circle at 35% 25%,#b53068,#650c35 70%);border:7px solid #fff0f6;color:white;box-shadow:0 6px 20px #4d082b99}.wheel-center b{font-size:28px;line-height:1}.wheel-center small{font-size:9px;letter-spacing:1.2px;margin-top:4px}.needle{position:absolute;z-index:4;width:0;height:0;left:50%;top:50%;transform:translate(-50%,-50%) rotate(0deg);transform-origin:center;transition:transform 4.2s cubic-bezier(.11,.72,.12,1);filter:drop-shadow(0 4px 5px rgba(50,0,20,.32))}.needle span{position:absolute;display:block;left:-16px;bottom:-2px;width:32px;height:330px;background:linear-gradient(90deg,#651038,#ffcbde 48%,#7e1542 52%,#4a0927);clip-path:polygon(50% 0,100% 87%,70% 100%,30% 100%,0 87%);transform-origin:50% 100%;border-radius:50%}.sparkles{position:absolute;left:3%;top:2%;color:#d76897;font-size:18px;letter-spacing:14px}.sparkles span{font-size:11px}.action-row{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:24px}.good-luck{font-family:Georgia,serif;font-size:34px;color:#a62e62;font-style:italic;transform:rotate(-4deg);text-shadow:0 2px white}.spin-button,.save-button{border:0;border-radius:18px;background:linear-gradient(135deg,#c72e70,#71103e);color:#fff;font-weight:800;font-size:18px;padding:18px 28px;box-shadow:0 12px 28px rgba(125,20,65,.26);cursor:pointer;transition:.2s}.spin-button:hover,.save-button:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(125,20,65,.34)}.spin-button:disabled,.refresh-button:disabled{opacity:.55;cursor:not-allowed}.spin-button span{margin-right:7px}.result-card{max-width:660px;margin:18px auto 0;padding:0 24px;max-height:0;opacity:0;overflow:hidden;transition:.35s;border-radius:17px;border:1px solid #e8b4ca;background:#fff}.result-card.show{padding:15px 24px;max-height:170px;opacity:1;box-shadow:0 10px 25px #7d1a4520}.result-card strong{display:block;font-family:Georgia,serif;font-size:20px;color:#71103d;margin:3px}.result-card small,.result-kicker{font-size:11px;color:#8c6376}.result-kicker{text-transform:uppercase;letter-spacing:1px;font-weight:800}.control-panel{background:rgba(255,255,255,.84);border:1px solid #ebccda;border-radius:27px;padding:28px;box-shadow:var(--shadow);margin-top:15px;backdrop-filter:blur(10px)}.eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:#bd4f7e;margin:0 0 5px}.control-panel h2{font:italic 32px Georgia,serif;color:#681038;margin:5px 0}.panel-intro{font-size:13px;color:var(--muted);line-height:1.5;margin-bottom:20px}.level-list{display:grid;gap:10px}.level-choice{width:100%;display:grid;grid-template-columns:42px 1fr 22px;gap:11px;align-items:center;text-align:left;border:1px solid #ecd2dd;background:#fff;border-radius:15px;padding:11px;cursor:pointer;color:var(--ink);transition:.18s}.level-choice:hover{border-color:#cc789d;transform:translateX(2px)}.level-choice.active{border:2px solid #b82c68;background:#fff6fa;box-shadow:0 6px 15px #be4f7d15}.level-choice span{display:flex;flex-direction:column}.level-choice b{font-size:14px}.level-choice small{font-size:11px;color:#957183;margin-top:2px}.level-choice em{font-style:normal;color:#b82c68;opacity:0}.level-choice.active em{opacity:1}.dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-style:normal}.dot.hasard{color:#8f1c50;background:conic-gradient(#ffd5e5 0 25%,#f19bbb 0 50%,#ce4d85 0 75%,#801441 0);border:3px solid #fff;box-shadow:0 0 0 1px #e3b8ca}.dot.doux{background:#ffe0eb;color:#a9255a}.dot.coquin{background:#f8b5ce;color:#8f174b}.dot.audacieux{background:#d85289;color:white}.dot.hot{background:#79133f;color:white}.refresh-button{width:100%;border:1px solid #c57598;color:#8f2252;background:#fff7fb;border-radius:14px;padding:13px;margin-top:16px;font-weight:800;cursor:pointer}.refresh-button span{margin-left:5px}.consent-note{background:#fff1f7;border-radius:15px;padding:14px 15px;margin-top:19px;text-align:left}.consent-note b{font-size:12px;color:#8d1d4d}.consent-note p{font-size:11px;line-height:1.5;margin:4px 0;color:#78596a}footer{min-height:55px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px clamp(20px,4vw,68px);border-top:1px solid #ecd1dd;font-size:11px;color:#8d6c7d;background:#fff9fc}footer a{color:#7d1c48;text-decoration:none;font-weight:700}.age-gate{position:fixed;inset:0;z-index:30;background:rgba(49,5,27,.79);backdrop-filter:blur(13px);display:grid;place-items:center;padding:20px;transition:.35s}.age-gate.hidden{opacity:0;visibility:hidden;pointer-events:none}.gate-card{width:min(560px,100%);background:#fffafd;border:1px solid #ffd1e3;border-radius:30px;padding:34px;box-shadow:0 35px 90px #25001180;text-align:center}.gate-heart{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;background:linear-gradient(135deg,#dc4a86,#72103e);color:#fff;font-size:30px}.gate-card h2{font:italic 34px Georgia,serif;color:#72103f;margin:5px}.gate-card>p:not(.eyebrow){font-size:14px;line-height:1.65;color:#725467}.gate-card label{display:flex;gap:11px;text-align:left;margin:10px 0;border:1px solid #efd5e0;border-radius:13px;padding:12px;font-size:12px;line-height:1.4;background:#fff}.gate-card input{accent-color:#b72c69;width:17px;height:17px;flex:0 0 auto}.gate-card button{width:100%;border:0;border-radius:14px;padding:15px;background:#7b143f;color:white;font-weight:800;margin:8px 0 11px;cursor:pointer}.gate-card button:disabled{background:#d3bbc6;cursor:not-allowed}.gate-card>small{display:block;color:#957788;font-size:10px;line-height:1.5}
/* Admin */.admin-page{background:#f8edf3}.admin-top{height:110px;padding:0 max(25px,calc((100% - 1240px)/2));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:#fff;border-bottom:1px solid #ead0dc}.admin-top>div{text-align:center}.admin-top h1{font:italic 34px Georgia,serif;color:#6d103b;margin:0}.admin-top .safe-pill{justify-self:end}.back-link{color:#7c3152;text-decoration:none;font-size:13px;font-weight:700}.admin-wrap{max-width:1240px;margin:30px auto;padding:0 20px 60px}.admin-card{background:#fff;border:1px solid #ead3dd;border-radius:22px;padding:25px;margin-bottom:20px;box-shadow:0 12px 35px #6711360c}.section-title{display:flex;gap:15px;align-items:flex-start;margin-bottom:20px}.section-title>span{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#7c1542;color:#fff;font-size:12px;font-weight:800}.section-title h2{font:italic 26px Georgia,serif;color:#5f1237;margin:0}.section-title p:not(.eyebrow){color:#927183;font-size:12px;margin:5px 0}.field{display:grid;gap:7px}.field span{font-size:11px;font-weight:800;color:#7d596b}.field input{border:1px solid #dbb8c8;border-radius:12px;padding:13px;font-size:16px;color:#561230;outline:none}.field input:focus,textarea:focus{border-color:#b92f69;box-shadow:0 0 0 3px #eaa9c528}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor-box{border:1px solid #e7ccd8;border-radius:17px;overflow:hidden}.editor-head{display:flex;align-items:center;gap:10px;padding:13px;background:#fff7fa}.editor-head i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f8dce8;color:#8c1c4b;font-style:normal}.editor-head div{display:flex;flex-direction:column}.editor-head b{font-size:13px}.editor-head small{font-size:10px;color:#967385}.editor-head>span{margin-left:auto;font-size:10px;background:#fff;border:1px solid #e8cad7;border-radius:999px;padding:5px 8px;color:#865a6e}.editor-box.coquin .editor-head{background:#fff1f7}.editor-box.audacieux .editor-head{background:#fbe4ee}.editor-box.hot .editor-head{background:#f7dce8}.editor-box textarea{display:block;width:100%;resize:vertical;min-height:250px;border:0;border-top:1px solid #ecd8e1;padding:14px;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#482337;outline:none}.admin-actions{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:6px 4px}.admin-actions p{font-size:11px;color:#846375;max-width:650px}.save-button{font-size:14px;padding:14px 20px}.alert{padding:13px 16px;border-radius:13px;margin-bottom:15px;font-size:13px;font-weight:700}.alert.success{background:#e9f8ef;color:#276443}.alert.error{background:#fff0f0;color:#9d2b3c}
@media(max-width:1050px){.game-layout{grid-template-columns:1fr;gap:20px}.control-panel{max-width:720px;margin:0 auto;width:100%}.level-list{grid-template-columns:1fr 1fr}.needle span{height:clamp(200px,35vw,315px)}}@media(max-width:650px){.topbar{height:auto;padding:14px 18px;flex-wrap:wrap}.topbar h1{font-size:27px}.safe-pill{font-size:10px;padding:7px 9px}.game-layout{padding:20px 12px}.needle span{height:clamp(130px,40vw,230px);width:24px;left:-12px}.wheel-center{width:76px;height:76px;border-width:5px}.wheel-center b{font-size:22px}.action-row{flex-direction:column;gap:10px}.good-luck{font-size:28px}.spin-button{width:min(360px,100%)}.level-list{grid-template-columns:1fr}.control-panel{padding:20px}.result-card.show{max-height:210px}footer{flex-direction:column;text-align:center}.editor-grid{grid-template-columns:1fr}.admin-top{grid-template-columns:1fr auto;padding:14px 20px;height:auto}.admin-top>div{display:none}.admin-actions{flex-direction:column;align-items:stretch}.save-button{width:100%}}

