/* SukuHotel : portail (accueil / connexion / inscription). Images : storage/app/hud/creer-portail.py */
:root {
    --pt-bg1: #eef1f6;
    --pt-bg2: #dfe5ee;
    --pt-text: #2b3245;
    --pt-muted: #7a8296;
    --pt-field: #ffffff;
    --pt-border: #c9d0dc;
    --pt-blue: #4f9be8;
    --pt-blue-dk: #3b82cf;
    --pt-green: #3fbf6a;
    --pt-green-dk: #2fa257;
    --pt-gold: #e2a10a;
    --pt-card: transparent;
}
html.pt-dark {
    --pt-bg1: #1b2233;
    --pt-bg2: #111725;
    --pt-text: #eef2fb;
    --pt-muted: #9aa4bb;
    --pt-field: #252e43;
    --pt-border: #3a4560;
    --pt-gold: #ffc93c;
}

html, body.pt-body { min-height: 100%; }
body.pt-body {
    margin: 0;
    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--pt-text);
    background: radial-gradient(ellipse at 50% 35%, var(--pt-bg1) 0%, var(--pt-bg2) 100%) fixed;
    overflow-x: hidden;
}
html.pt-dark body.pt-body {
    background:
        radial-gradient(1px 1px at 12% 20%, #fff8 50%, transparent 51%),
        radial-gradient(1px 1px at 72% 12%, #fff9 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 40% 70%, #fff7 50%, transparent 51%),
        radial-gradient(1px 1px at 88% 60%, #fff8 50%, transparent 51%),
        radial-gradient(1px 1px at 25% 88%, #fff6 50%, transparent 51%),
        radial-gradient(ellipse at 50% 35%, var(--pt-bg1) 0%, var(--pt-bg2) 100%) fixed;
}

/* ---------- décor : îles flottantes et nuages ---------- */
.pt-sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.pt-sky img { position: absolute; image-rendering: pixelated; user-select: none; }
/* tes images : storage/app/bak-cms2 garde l'ancien décor */
.pt-sky img { image-rendering: auto; }
.pt-met { filter: drop-shadow(0 10px 10px rgba(40, 50, 80, .18)); animation: pt-float 7s ease-in-out infinite; }
html.pt-dark .pt-met { filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .5)) brightness(.85); }
.pt-met.m1 { width: min(210px, 16vw); left: 3%; top: 6%; }
.pt-met.m2 { width: min(150px, 11vw); right: 26%; top: 3%; animation-delay: -2s; animation-duration: 8s; }
.pt-met.m3 { width: min(90px, 7vw); left: 22%; top: 30%; animation-delay: -4s; animation-duration: 6s; }
.pt-met.m4 { width: min(70px, 5.5vw); right: 6%; top: 8%; animation-delay: -1s; }
.pt-met.m5 { width: min(130px, 10vw); right: 4%; bottom: 6%; animation-delay: -3s; animation-duration: 9s; }
.pt-met.m6 { width: min(56px, 4.5vw); left: 30%; bottom: 12%; animation-delay: -5s; }
.pt-met.m7 { width: min(50px, 4vw); right: 30%; bottom: 22%; animation-delay: -2.5s; animation-duration: 6.5s; }
.pt-met.m8 { width: min(80px, 6vw); left: 8%; top: 46%; animation-delay: -1.5s; animation-duration: 8.5s; }
.pt-rocket { width: min(380px, 27vw); right: 2%; top: 30%; animation: pt-rocket 5s ease-in-out infinite; }
.pt-comet { left: -360px; top: -280px; opacity: 0; animation: pt-comet 16s linear infinite; }
.pt-comet.k1 { width: min(300px, 22vw); }
.pt-comet.k2 { width: min(170px, 13vw); left: 20vw; top: -220px; animation-duration: 12s; animation-delay: -5s; }
.pt-comet.k3 { width: min(120px, 9vw); left: 45vw; top: -180px; animation-duration: 10s; animation-delay: -8s; }
.pt-comet.k4 { width: min(210px, 16vw); left: -300px; top: 20vh; animation-duration: 19s; animation-delay: -12s; }
.pt-comet.k5 { width: min(90px, 7vw); left: 60vw; top: -150px; animation-duration: 9s; animation-delay: -2s; }
html.pt-dark .pt-comet { filter: drop-shadow(0 0 14px rgba(255, 150, 40, .55)); }

/* halos colorés et poussière d'étoiles */
.pt-nebula { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: pt-breathe 12s ease-in-out infinite; }
.pt-nebula.n1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #b9a8ff 0%, transparent 65%); }
.pt-nebula.n2 { width: 40vw; height: 40vw; right: -10vw; top: 18vh; background: radial-gradient(circle, #8fd3ff 0%, transparent 65%); animation-delay: -4s; }
.pt-nebula.n3 { width: 36vw; height: 36vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, #ffb3d1 0%, transparent 65%); animation-delay: -8s; }
html.pt-dark .pt-nebula { opacity: .32; }
html.pt-dark .pt-nebula.n1 { background: radial-gradient(circle, #6b4dff 0%, transparent 65%); }
html.pt-dark .pt-nebula.n2 { background: radial-gradient(circle, #1f8fff 0%, transparent 65%); }
html.pt-dark .pt-nebula.n3 { background: radial-gradient(circle, #ff3d8b 0%, transparent 65%); }
.pt-dust {
    position: absolute; inset: 0; opacity: .55;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 15%, #8a94b8 50%, transparent 51%), radial-gradient(1px 1px at 27% 62%, #8a94b8 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 44% 8%, #8a94b8 50%, transparent 51%), radial-gradient(1px 1px at 58% 78%, #8a94b8 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 71% 33%, #8a94b8 50%, transparent 51%), radial-gradient(1px 1px at 86% 70%, #8a94b8 50%, transparent 51%),
        radial-gradient(1px 1px at 93% 12%, #8a94b8 50%, transparent 51%), radial-gradient(1.5px 1.5px at 35% 90%, #8a94b8 50%, transparent 51%),
        radial-gradient(1px 1px at 5% 80%, #8a94b8 50%, transparent 51%), radial-gradient(1px 1px at 64% 50%, #8a94b8 50%, transparent 51%);
    background-size: 600px 600px;
    animation: pt-twinkle-bg 5s ease-in-out infinite alternate;
}
html.pt-dark .pt-dust { opacity: 1; filter: brightness(2.4); }
@keyframes pt-twinkle-bg { from { opacity: .25; } to { opacity: .7; } }
html.pt-dark .pt-dust { animation-name: pt-twinkle-bg-dark; }
@keyframes pt-twinkle-bg-dark { from { opacity: .55; } to { opacity: 1; } }
@keyframes pt-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* lueur du réacteur de la fusée */
.pt-rocket-glow { position: absolute; right: calc(2% + min(380px, 27vw) * .55); top: calc(30% + min(380px, 27vw) * .38); width: min(220px, 16vw); height: min(220px, 16vw); border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 170, 60, .55) 0%, rgba(255, 110, 40, .18) 45%, transparent 70%); animation: pt-flicker .35s ease-in-out infinite alternate; }
@keyframes pt-flicker { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }

/* plateforme de téléportation : anneau qui pulse et faisceau */
.pt-pad-ring { position: absolute; left: 31.2%; top: 28.5%; width: 39%; height: 27.7%; box-sizing: border-box; border-radius: 50%; border: 3px solid rgba(80, 200, 255, .9);
    box-shadow: 0 0 18px rgba(80, 200, 255, .8), inset 0 0 14px rgba(80, 200, 255, .6); animation: pt-ring 2.4s ease-out infinite; z-index: 2; }
@keyframes pt-ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.pt-pad-beam { position: absolute; left: 31.2%; bottom: 44%; width: 39%; height: 150%; z-index: 2; pointer-events: none; border-radius: 0 0 50% 50% / 0 0 9.2% 9.2%;
    background: linear-gradient(to top, rgba(90, 210, 255, .6), rgba(90, 210, 255, .28) 35%, rgba(90, 210, 255, 0));
    animation: pt-beam 3s ease-in-out infinite; }
@keyframes pt-beam { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }
.pt-pad-floor { z-index: 1; }
.pt-pad-astro { z-index: 3; }
.pt-pad { position: absolute; left: 3%; bottom: 3%; width: min(300px, 23vw); animation: pt-float 8s ease-in-out infinite; }
.pt-pad-floor { position: relative !important; display: block; width: 100%; filter: drop-shadow(0 14px 12px rgba(40, 50, 80, .22)); }
.pt-pad-astro { width: 29%; left: 36.5%; bottom: 52%; image-rendering: pixelated !important; }
html.pt-dark .pt-pad-floor { filter: drop-shadow(0 0 18px rgba(80, 190, 255, .45)); }
@keyframes pt-rocket { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-6px, -14px) rotate(-1.5deg); } }
@keyframes pt-comet { 0% { transform: translate(0, 0); opacity: 0; } 4% { opacity: 1; } 34% { transform: translate(72vw, 62vh); opacity: 1; } 40%, 100% { transform: translate(82vw, 70vh); opacity: 0; } }
.pt-star { position: absolute; width: 23px; height: 23px; background: url(etoile.png) center/contain no-repeat; image-rendering: pixelated; opacity: 0; animation: pt-twinkle 3s ease-in-out infinite; }
html.pt-dark .pt-star { opacity: 1; }
.pt-star.s1 { left: 8%; top: 30%; } .pt-star.s2 { left: 33%; top: 12%; animation-delay: -1s; }
.pt-star.s3 { right: 30%; top: 8%; animation-delay: -2s; } .pt-star.s4 { right: 12%; top: 48%; animation-delay: -.5s; }
.pt-star.s5 { left: 40%; bottom: 10%; animation-delay: -1.5s; } .pt-star.s6 { right: 38%; bottom: 22%; animation-delay: -2.5s; }
@keyframes pt-twinkle { 0%, 100% { transform: scale(.75); opacity: .45; } 50% { transform: scale(1); opacity: 1; } }
html:not(.pt-dark) .pt-star { display: none; }
@keyframes pt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pt-drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 400px)); } }
@media (prefers-reduced-motion: reduce) { .pt-met, .pt-star, .pt-rocket, .pt-pad, .pt-nebula, .pt-dust, .pt-pad-ring, .pt-pad-beam, .pt-rocket-glow { animation: none; } .pt-comet { display: none; } }

/* ---------- contenu ---------- */
.pt-main {
    position: relative; z-index: 1;
    min-height: 100vh; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center;
    padding: 6vh 16px 48px;
}
.pt-logo img { display: block; width: min(300px, 70vw); height: auto; image-rendering: pixelated; margin-bottom: 18px; }
.pt-card {
    width: 100%; max-width: 330px;
    display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    text-align: center;
}
.pt-card--wide { max-width: 460px; gap: 12px; }
.pt-title { font-size: 17px; font-weight: 800; margin: 4px 0 8px; }

.pt-pill {
    position: relative; display: flex; align-items: center;
    background: var(--pt-field);
    border: 1.5px solid var(--pt-border);
    border-radius: 0;
    box-shadow: 0 2px 0 rgba(40, 50, 80, .06);
    transition: border-color .15s, box-shadow .15s;
}
.pt-pill:focus-within { border-color: var(--pt-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.pt-pill.is-invalid { border-color: #e5484d; }
.pt-pill input {
    flex: 1; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important;
    background: transparent; color: var(--pt-text);
    font: 600 14px 'Nunito', sans-serif; padding: 12px 20px;
}
.pt-pill input::placeholder { color: var(--pt-muted); font-weight: 600; }
.pt-forgot { font-size: 12px; font-weight: 800; color: var(--pt-gold); padding-right: 18px; text-decoration: none; white-space: nowrap; }
.pt-forgot:hover { text-decoration: underline; }

.pt-btn {
    margin-top: 6px; border: 0; cursor: pointer;
    border-radius: 0; padding: 13px 18px;
    font: 900 13px 'Nunito', sans-serif; letter-spacing: .06em; text-transform: uppercase;
    color: #fff; background: var(--pt-blue);
    box-shadow: 0 4px 0 var(--pt-blue-dk);
    transition: transform .08s, box-shadow .08s, filter .15s;
}
.pt-btn:hover { filter: brightness(1.06); }
.pt-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pt-blue-dk); }
.pt-btn--green { background: var(--pt-green); box-shadow: 0 4px 0 var(--pt-green-dk); }
.pt-btn--green:active { box-shadow: 0 1px 0 var(--pt-green-dk); }

.pt-small { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--pt-muted); }
.pt-link { font-size: 13px; font-weight: 800; color: var(--pt-gold); text-decoration: none; }
.pt-link:hover { text-decoration: underline; }
.pt-error { margin: -4px 0 0; font-size: 12px; font-weight: 700; color: #e5484d; text-align: left; padding-left: 18px; }
.pt-captcha { display: flex; justify-content: center; }

/* ---------- inscription ---------- */
.pt-step {
    display: flex; flex-direction: column; gap: 10px;
    background: var(--pt-field);
    border: 1.5px solid var(--pt-border);
    border-radius: 0; padding: 16px 18px 18px;
    text-align: left;
}
.pt-step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 15px; font-weight: 900; }
.pt-step-title span {
    width: 26px; height: 26px; flex: none; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--pt-blue);
}
.pt-step .pt-small { margin: 0; }
.pt-rules { list-style: none; margin: 0; padding: 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.pt-rules li::before { content: '○ '; }
.pt-rules li.ok { color: var(--pt-green-dk); }
.pt-rules li.ok::before { content: '✓ '; }
html.pt-dark .pt-rules li.ok { color: #5fdc8a; }

.pt-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-look {
    position: relative; cursor: pointer; text-align: center;
    border: 2px solid var(--pt-border); border-radius: 0; padding: 8px 6px 10px;
    background: var(--pt-field); transition: border-color .15s, transform .15s;
}
.pt-look:hover { transform: translateY(-2px); }
.pt-look input { position: absolute; opacity: 0; pointer-events: none; }
.pt-look:has(input:checked), .pt-look.is-on { border-color: var(--pt-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.pt-look:has(input:focus-visible) { outline: 3px solid var(--pt-blue); outline-offset: 2px; }
.pt-look-stage { position: relative; display: block; height: 210px; }
.pt-look-floor { position: absolute; left: 50%; bottom: 0; width: 170px; transform: translateX(-50%); }
.pt-look-ava { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); height: 165px; image-rendering: pixelated; }
.pt-look-name { display: block; margin-top: 6px; font-weight: 900; font-size: 14px; }

.pt-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.pt-check input { width: 18px; height: 18px; accent-color: var(--pt-blue); }
.pt-check a { color: var(--pt-gold); }

/* ---------- bouton mode sombre ---------- */
.pt-theme {
    position: fixed; right: 18px; bottom: 18px; z-index: 5;
    width: 42px; height: 42px; border-radius: 0; border: 1.5px solid var(--pt-border);
    display: grid; place-items: center; cursor: pointer;
    background: var(--pt-field); color: var(--pt-text);
    box-shadow: 0 3px 10px rgba(40, 50, 80, .15);
}
.pt-theme .is-sun, html.pt-dark .pt-theme .is-moon { display: none; }
html.pt-dark .pt-theme .is-sun { display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
    .pt-met.m3, .pt-met.m6, .pt-met.m7, .pt-met.m8, .pt-comet.k3, .pt-comet.k4, .pt-comet.k5, .pt-rocket-glow { display: none; }
    .pt-rocket { width: 34vw; top: auto; bottom: 4%; opacity: .85; }
    .pt-pad { width: 38vw; opacity: .9; }
    .pt-rules { grid-template-columns: 1fr; }
}

/* ---------- mots de passe (oublié, nouveau, confirmation) ---------- */
.pt-card--mid { max-width: 420px; gap: 14px; }
.pt-step-title img { flex: none; width: 40px; height: 40px; image-rendering: pixelated; }
.pt-card--mid .pt-step { padding: 20px 22px 22px; gap: 12px; }
.pt-card--mid .pt-step-title { font-size: 18px; line-height: 1.2; }
.pt-card--mid .pt-btn { width: 100%; }
.pt-ok { margin: 0; padding: 10px 16px; border-radius: 0; font-size: 13px; font-weight: 800; color: #1c6e3c; background: rgba(63, 191, 106, .16); border: 1.5px solid rgba(63, 191, 106, .5); }
html.pt-dark .pt-ok { color: #7fe3a3; }

/* ---------- code de double vérification ---------- */
.pt-pill--code input { text-align: center; font-size: 20px; font-weight: 900; letter-spacing: .3em; }
.pt-more { display: block; }
.pt-more summary { cursor: pointer; font-size: 13px; font-weight: 800; color: var(--pt-text); }
.pt-more summary:focus-visible { outline: 3px solid rgba(79, 155, 232, .5); outline-offset: 3px; border-radius: 0; }
.pt-more .pt-small { margin: 8px 0 10px; }
.pt-more .pt-error { margin-top: 6px; }

/* ---------- maintenance ---------- */
.pt-card--maint { max-width: 620px; gap: 16px; }
.pt-maint { flex-direction: row; align-items: center; gap: 22px; padding: 22px 26px; }
.pt-maint-astro { flex: none; width: 88px; height: 186px; image-rendering: pixelated; animation: pt-float 5s ease-in-out infinite; }
.pt-maint h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; font-weight: 900; }
.pt-maint-text { font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--pt-muted); overflow-wrap: anywhere; }
.pt-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pt-tasks li { display: flex; align-items: center; gap: 14px; padding: 0 14px 0 8px; min-height: 72px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.pt-task-ava { flex: none; align-self: stretch; width: 64px; min-height: 72px; overflow: hidden; position: relative; }
.pt-task-ava img { position: absolute; left: 0; top: -12px; max-width: none; image-rendering: pixelated; }
.pt-task-txt { flex: 1; min-width: 0; padding: 10px 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; overflow-wrap: anywhere; }
.pt-task-txt small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.pt-task-st { flex: none; padding: 4px 12px; border-radius: 0; font-size: 12px; font-weight: 900; color: #8a5a00; background: rgba(245, 185, 58, .25); }
.is-done .pt-task-st { color: #1c6e3c; background: rgba(63, 191, 106, .2); }
html.pt-dark .pt-task-st { color: #ffd166; } html.pt-dark .is-done .pt-task-st { color: #7fe3a3; }
.pt-maint-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; text-align: center; }
@media (max-width: 640px) { .pt-maint { flex-direction: column; text-align: center; padding: 18px; } .pt-maint h1 { font-size: 23px; } .pt-maint-astro { width: 66px; height: 140px; } .pt-tasks li { gap: 8px; padding-right: 10px; } }
@media (prefers-reduced-motion: reduce) { .pt-maint-astro { animation: none; } }

/* ---------- pages d'erreur (resources/views/errors/space.blade.php) ---------- */
.er-main { justify-content: center; padding-top: 32px; }
.er-card { position: relative; width: 100%; max-width: 560px; box-sizing: border-box; align-items: center; gap: 12px; padding: 24px 32px 30px; text-align: center; }
.er-code { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; min-height: 190px; font-size: 150px; line-height: 1; font-weight: 900; color: var(--pt-blue); text-shadow: 0 6px 0 var(--pt-blue-dk); }
.er-astro { width: 88px; height: 186px; image-rendering: pixelated; animation: er-float 6s ease-in-out infinite; }
.er-astro.is-side { order: -1; }
.er-card:has(.is-side) .er-code { min-height: 0; font-size: 110px; }
.er-card h1 { margin: 4px 0 0; font-size: 30px; line-height: 1.15; font-weight: 900; }
.er-text { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.5; font-weight: 700; color: #5d6579; }
html.pt-dark .er-text { color: #b4bdd1; }
.er-detail { margin: 0; padding: 10px 16px; border-radius: 0; font-size: 14px; font-weight: 800; background: var(--pt-field); border: 1.5px solid var(--pt-border); overflow-wrap: anywhere; }
.er-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.er-btns .pt-btn { text-decoration: none; padding: 14px 24px; } .er-btns [hidden] { display: none; }
@keyframes er-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
@media (max-width: 640px) { .er-card { padding: 18px 18px 24px; } .er-code { font-size: 104px; min-height: 150px; } .er-astro { width: 66px; height: 140px; } .er-card:has(.is-side) .er-code { font-size: 84px; } .er-card h1 { font-size: 25px; } .er-btns { width: 100%; } .er-btns .pt-btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .er-astro { animation: none; } }

/* =====================================================================
   SukuHotel : couche « galaxie » (vitesse, coins carrés, boutons)
   ===================================================================== */
/* --- vitesse : le ciel est un calque à part, sans flou ni ombre recalculée --- */
body.pt-body, html.pt-dark body.pt-body { background: var(--pt-bg2); }
.pt-sky { contain: strict; transform: translateZ(0); background: radial-gradient(ellipse at 50% 32%, var(--pt-bg1) 0%, var(--pt-bg2) 100%); }
.pt-nebula { filter: none !important; animation: none !important; }
.pt-met, html.pt-dark .pt-met, html.pt-dark .pt-comet, .pt-pad-floor, html.pt-dark .pt-pad-floor { filter: none; }
html.pt-dark .pt-met { opacity: .88; }
.pt-dust, html.pt-dark .pt-dust { filter: none; animation: none; }
html.pt-dark .pt-dust { background-image:
    radial-gradient(1.5px 1.5px at 10% 15%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 62%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 78%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 33%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 70%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 35% 90%, #fff 50%, transparent 51%); }
.pt-met.m2, .pt-met.m3, .pt-met.m4, .pt-met.m6, .pt-met.m7, .pt-met.m8 { animation: none; }
.pt-comet.k2, .pt-comet.k4, .pt-comet.k5 { display: none; }
.pt-rocket-glow { animation: none; }
.pt-met.m1, .pt-met.m5, .pt-comet, .pt-rocket, .pt-pad, .pt-star { will-change: transform; }

/* --- champs : pseudo et mot de passe gardent leur couleur, même remplis par le navigateur --- */
.pt-body input:-webkit-autofill, .pt-body input:-webkit-autofill:hover, .pt-body input:-webkit-autofill:focus,
.suku-space input:-webkit-autofill, .suku-space input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--pt-text) !important; caret-color: var(--pt-text);
    box-shadow: 0 0 0 100px var(--pt-field) inset !important; transition: background-color 99999s ease-in-out 0s; }
.pt-pill input, .pt-pill input:focus { background: transparent !important; color: var(--pt-text) !important; --tw-ring-shadow: 0 0 #0000 !important; }
.pt-pill { border-left: 4px solid var(--pt-blue); }
.pt-pill:focus-within { border-color: #7b6cff; box-shadow: 0 0 0 3px rgba(123, 108, 255, .25); }

/* --- panneaux du portail --- */
.pt-step { border: 2px solid; border-image: linear-gradient(135deg, #38c6f4, var(--pt-border) 32%, var(--pt-border) 68%, #a77bff) 1; box-shadow: inset 0 3px 0 rgba(56, 198, 244, .35), 0 10px 24px rgba(10, 14, 40, .22); }

/* --- boutons : coins coupés, dégradé, reflet au survol --- */
.pt-btn, .sm-btn, .sh-play, .sh-btn {
    --cut: 10px; position: relative; overflow: hidden; isolation: isolate;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.pt-btn::before, .sm-btn::before, .sh-play::before, .sh-btn::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: translateX(-120%) skewX(-18deg); }
.pt-btn:hover::before, .sm-btn:hover::before, .sh-play:hover::before, .sh-btn:hover::before { transform: translateX(340%) skewX(-18deg); transition: transform .5s ease-out; }
.pt-btn { color: #fff; background: linear-gradient(135deg, #2f8fe0, #4f6fe8 50%, #7350f0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .4); }
.pt-btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .3); }
.pt-btn--green { background: linear-gradient(135deg, #1f9d5b, #15917f); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .4); }
.pt-btn:focus-visible, .sm-btn:focus-visible, .sh-play:focus-visible, .sh-btn:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
@media (prefers-reduced-motion: reduce) { .pt-btn::before, .sm-btn::before, .sh-play::before, .sh-btn::before { display: none; } }
