:root{--card-back: url(/app/card-back-tarot.png?v=7);--purple: #5a4a8a;--purple-dark: #4a3d72;--blue-btn: #4a6fd8;--blue-btn-dark: #3d5fc0;--text: #4a3d72;--text-light: #6b5f94;--green: #2e8b57;--orange: #e07a2e;--sheet: #ffffff;--radius: 18px;--card-w: 72px;--card-h: 112px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:#e8a4c8}.marble-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;pointer-events:none;background:linear-gradient(165deg,#eca8c8,#dcb0e8 32%,#c4b4f0 58%,#e8b0d0)}.marble-bg__layer{position:absolute;top:-35%;right:-35%;bottom:-35%;left:-35%;will-change:transform}.marble-bg__layer--a{background:radial-gradient(ellipse 58% 48% at 22% 32%,rgba(255,255,255,.62) 0%,transparent 54%),radial-gradient(ellipse 52% 62% at 78% 22%,rgba(235,205,255,.7) 0%,transparent 52%),radial-gradient(ellipse 68% 52% at 48% 82%,rgba(255,175,215,.55) 0%,transparent 50%);filter:blur(26px);opacity:.92;animation:marble-drift-a 28s ease-in-out infinite alternate}.marble-bg__layer--b{background:radial-gradient(ellipse 48% 58% at 68% 58%,rgba(255,255,255,.5) 0%,transparent 50%),radial-gradient(ellipse 62% 42% at 12% 68%,rgba(195,185,255,.58) 0%,transparent 48%),radial-gradient(ellipse 44% 54% at 88% 18%,rgba(255,215,238,.45) 0%,transparent 46%);filter:blur(34px);opacity:.88;animation:marble-drift-b 36s ease-in-out infinite alternate}.marble-bg__layer--c{background:radial-gradient(ellipse 40% 36% at 40% 45%,rgba(255,255,255,.35) 0%,transparent 55%),radial-gradient(ellipse 55% 45% at 60% 70%,rgba(220,160,210,.4) 0%,transparent 50%);filter:blur(18px);opacity:.75;animation:marble-drift-c 22s ease-in-out infinite alternate}@keyframes marble-drift-a{0%{transform:translate(0) scale(1) rotate(0)}to{transform:translate(5%,-4%) scale(1.1) rotate(4deg)}}@keyframes marble-drift-b{0%{transform:translate(0) scale(1.05) rotate(0)}to{transform:translate(-6%,5%) scale(1) rotate(-5deg)}}@keyframes marble-drift-c{0%{transform:translate(-2%,3%) scale(1.08)}to{transform:translate(4%,-2%) scale(1.02)}}@media(prefers-reduced-motion:reduce){.marble-bg__layer{animation:none}}#ambient-music{position:absolute;width:0;height:0;opacity:0;pointer-events:none}#app{position:relative;z-index:1}#overlays{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;pointer-events:none}#overlays .modal-overlay{pointer-events:auto}body.step-splash #app,body.step-lang #app,body.step-home #app{background:transparent}body.step-splash #app,body.step-lang #app{position:relative;z-index:2}.intro-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;pointer-events:none;background:transparent}body.step-splash .intro-backdrop{pointer-events:auto;cursor:pointer}.screen-splash{min-height:100dvh;pointer-events:none;position:relative}.splash-skip-btn,.splash-skip-hint{pointer-events:auto}.splash-skip-btn{position:fixed;left:50%;bottom:max(1.25rem,env(safe-area-inset-bottom));transform:translate(-50%);z-index:3;border:2px solid rgba(255,255,255,.92);background:#3d6fe8eb;color:#fff;border-radius:999px;padding:.65rem 1.35rem;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:0 6px 18px #2d234b40;font-family:inherit}.splash-skip-hint{position:fixed;left:50%;bottom:max(4.1rem,calc(env(safe-area-inset-bottom) + 3rem));transform:translate(-50%);z-index:3;margin:0;padding:.35rem .65rem;font-size:.78rem;font-weight:600;color:#2a2348b8;text-align:center;max-width:min(92vw,320px);line-height:1.35}.intro-float-card{position:absolute;left:0;top:0;width:68px;height:102px;border-radius:6px;box-shadow:0 6px 16px #23143747;will-change:transform;background:#fff}.intro-face-img{width:100%;height:100%;object-fit:cover;border-radius:5px;display:block;pointer-events:none}body.step-lang .screen-lang,body.step-lang .lang-title,body.step-lang .lang-grid{position:relative;z-index:1}body.step-setup #app,body.step-shuffle #app,body.step-cut #app,body.step-pick #app,body.step-loading #app,body.step-result #app{background:transparent}.screen-home{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;padding-bottom:max(.2rem,env(safe-area-inset-bottom));box-sizing:border-box}.screen-home .home-hero{padding:.35rem 0 .2rem;text-align:center}.screen-home .home-hero h1{font-size:1.4rem;color:#2a2348;margin:0 0 .15rem}.screen-home .home-hero .sub{color:#4a4060;font-size:.88rem;margin:0}.home-flag-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:.22rem;margin:0 auto .45rem;max-width:94%}.home-flag-btn{display:flex;flex-direction:column;align-items:center;gap:.12rem;background:#fff;border:2px solid transparent;border-radius:7px;padding:.18rem .1rem .22rem;cursor:pointer;box-shadow:0 1px 5px #3c285a14}.home-flag-btn.active{background:#f5dce8;border-color:#c898b8}.home-flag-btn img{width:100%;max-height:20px;height:auto;aspect-ratio:4 / 3;object-fit:cover;border-radius:3px;display:block}.home-flag-name{font-size:.5rem;font-weight:600;color:#2a2348;text-align:center;line-height:1.1}.home-audio-bar{flex-shrink:0;margin:0;padding:0;background:none;border:none;box-shadow:none}.home-check-bar{margin:0;width:auto;justify-content:center;font-size:.62rem;line-height:1.2}.home-check-bar input{flex-shrink:0;width:1.05rem;height:1.05rem}.home-main-choices{flex:1 1 auto;display:flex;flex-direction:column;justify-content:stretch;gap:.45rem;min-height:0;overflow:hidden;padding-bottom:.15rem}.home-menu-card{display:flex;flex-direction:column;flex:1 1 0;min-height:0;cursor:pointer;padding:.55rem .7rem .65rem;margin-bottom:0}.home-menu-card .meta h3{margin:.55rem 0 .2rem;font-size:1.22rem;color:#2a2348}.home-menu-card .meta p{margin:0;font-size:.9rem;color:var(--blue-btn);font-weight:600}.home-menu-card .home-card-art{flex:1 0 auto;overflow:hidden}.home-card-art{background:#e8f0fa;border-radius:12px;padding:.55rem;min-height:118px;display:flex;align-items:center;justify-content:center}.home-card-art img{max-width:100%;max-height:110px;width:auto;height:auto;object-fit:contain}.home-classic-fan{position:relative;flex:1 1 auto;min-height:108px;height:auto;width:100%;overflow:hidden}.home-classic-fan img,.home-tarot-fan img{position:absolute;height:86%;width:auto;max-width:28%;left:calc(50% - 14% + (var(--i) - 2) * 13%);top:6%;transform:rotate(calc((var(--i) - 2) * 12deg));box-shadow:0 3px 8px #00000038;border-radius:4px}.home-tarot-fan{position:relative;flex:1 1 auto;min-height:108px;height:auto;width:100%;overflow:hidden}.home-bottom{flex-shrink:0;margin-top:0;padding-top:.1rem;border-top:none;background:none;position:relative;z-index:1}.btn-saves-home{width:100%;background:transparent;border:none;color:#5a5080;border-radius:0;padding:.15rem .3rem;font-weight:500;font-size:.68rem;cursor:pointer;margin-top:0;text-decoration:underline}.home-check{display:flex;align-items:center;gap:.45rem;margin:.45rem 0 .35rem;font-size:.82rem;color:#3a3355}.home-footer-links{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:.15rem .45rem;margin-top:0;padding-bottom:.15rem}.home-footer-links .link{background:none;border:none;color:#4a4068;font-size:.62rem;cursor:pointer;text-decoration:underline;padding:0}.home-footer-links a.link{display:inline;font-family:inherit}.home-contact-line{margin:0;text-align:center;font-size:.62rem;color:#3a3355;line-height:1.2;word-break:break-word}.home-contact-prefix{font-weight:600}.home-contact-email{font-weight:600;color:var(--purple)}.home-contact-page-link{margin-top:.1rem}.top-bar .back-spacer{visibility:hidden;pointer-events:none}.screen-contact{flex:1;display:flex;flex-direction:column;padding:.5rem .85rem 1.25rem;min-height:0}.contact-card{flex:1;display:flex;flex-direction:column;justify-content:center;gap:.85rem;margin:auto 0;padding:1.35rem 1.15rem 1.5rem;background:#ffffff6b;border:2px solid rgba(106,80,144,.35);border-radius:18px;box-shadow:0 8px 28px #3c285a1a;max-width:100%}.contact-title{margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:1.75rem;font-weight:700;color:#2a2348;text-align:center}.contact-lead{margin:0;font-size:1rem;font-weight:600;color:#3a2858;text-align:center;line-height:1.45}.contact-body{margin:0;font-size:.9rem;color:#4a4068;line-height:1.55;text-align:center}.contact-email-row{margin:.25rem 0 0;text-align:center;font-size:.88rem;color:#3a3355;word-break:break-word}.contact-email-label{font-weight:600}.contact-email-link{color:var(--purple);font-weight:600;text-decoration:underline;text-underline-offset:2px}.contact-email-link:hover,.contact-email-link:focus-visible{color:#5a4088}.contact-mail-btn{display:block;width:100%;text-align:center;text-decoration:none;box-sizing:border-box;margin-top:.35rem}.contact-hint{margin:0;font-size:.8rem;color:#5a5080;text-align:center;font-style:italic}@media(min-width:520px){.contact-card{padding:1.65rem 1.45rem 1.75rem;max-width:420px;margin-left:auto;margin-right:auto}.contact-title{font-size:2rem}}#app{max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:.65rem .85rem;color:var(--purple);font-weight:600;font-size:.95rem}.top-bar .title{flex:1;text-align:center;font-size:1.05rem}.top-bar button.link{background:none;border:none;color:var(--purple);font-size:.8rem;cursor:pointer;padding:.25rem}.top-bar .back{font-size:1.35rem;line-height:1;cursor:pointer;background:none;border:none;color:var(--purple);width:2rem}.screen{flex:1;padding:.5rem .85rem 1.5rem}.sheet{background:var(--sheet);border-radius:var(--radius);box-shadow:0 8px 28px #4a3d721f;padding:1rem;margin-bottom:.85rem}.sheet h2{margin:0 0 .35rem;font-size:1.15rem;color:var(--purple-dark)}.sheet .sub{margin:0 0 .85rem;font-size:.82rem;color:var(--text-light)}.home-hero{text-align:center;padding:1rem 0 .5rem}.home-hero h1{font-size:1.5rem;color:var(--purple-dark);margin:0 0 .25rem}.home-card{display:flex;gap:1rem;align-items:center;cursor:pointer;border:2px solid transparent;transition:border-color .15s}.home-card:hover,.home-card:focus{border-color:var(--purple);outline:none}.home-card img{width:100px;height:auto;border-radius:8px;flex-shrink:0}.home-card .classic-thumb{position:relative;width:100px;height:76px;flex-shrink:0}.home-card .meta h3{margin:0 0 .25rem;font-size:1.05rem}.home-card .meta p{margin:0;font-size:.85rem;color:var(--blue-btn)}.modal-overlay{position:fixed;top:3.15rem;right:0;bottom:0;left:0;background:#37284b61;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:.85rem 1rem 1.25rem;z-index:50}.modal{background:var(--sheet);border-radius:var(--radius);padding:1.15rem 1rem 1rem;width:100%;max-width:400px;max-height:90vh;overflow-y:auto;box-shadow:0 12px 40px #0003}.modal h2{margin:0 0 .5rem;font-size:1.2rem;color:var(--purple-dark)}.modal p.hint{font-size:.82rem;color:var(--text-light);margin:0 0 1rem;line-height:1.45}.domain-grid,.setup-domain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem .38rem;margin-bottom:1rem;padding-bottom:.35rem}.domain-tile{position:relative;width:100%;padding:0;border:2px solid rgba(100,85,120,.22);border-radius:14px;overflow:visible;cursor:pointer;background:#1a1428;font:inherit;aspect-ratio:5 / 3.2;box-shadow:0 2px 8px #281e3c1f;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.domain-tile .domain-thumb{border-radius:12px;overflow:hidden}.domain-tile.selected{border-color:#3d6fe8;box-shadow:0 0 0 2px #3d6fe873,0 4px 14px #3d6fe838;transform:translateY(-1px)}.domain-selected-badge{position:absolute;top:5px;right:5px;z-index:4;width:22px;height:22px;border-radius:50%;background:linear-gradient(180deg,#4a7ef0,#2d5fd4);box-shadow:0 2px 8px #14286473;display:flex;align-items:center;justify-content:center;pointer-events:none}.domain-selected-badge-icon{color:#fff;font-size:.82rem;font-weight:800;line-height:1}.domain-notch-tab{position:absolute;left:50%;bottom:-9px;z-index:5;width:22px;height:11px;transform:translate(-50%);background:#fff;clip-path:polygon(50% 100%,0 0,100% 0);opacity:0;transition:opacity .22s ease;pointer-events:none;filter:drop-shadow(0 1px 0 rgba(61,111,232,.35))}.domain-tile.selected .domain-notch-tab{opacity:1}.domain-thumb{display:block;position:absolute;top:0;right:0;bottom:0;left:0}.domain-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border:none;border-radius:0}.domain-label{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:.45rem .2rem .35rem;text-align:center;font-size:.62rem;font-weight:700;line-height:1.12;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.9);background:linear-gradient(to top,rgba(0,0,0,.62) 0%,rgba(0,0,0,.15) 70%,transparent 100%);pointer-events:none}.domain-modal{border-radius:22px;padding:1.25rem 1rem 1.1rem;box-shadow:0 16px 48px #1e143247;overflow:visible}.modal.domain-modal .domain-grid{overflow:visible;padding-bottom:.55rem}.setup-sheet-domains{overflow:visible;padding-bottom:.25rem}.domain-modal h2{color:#1e2a6b;font-size:1.25rem}.modal.domain-modal .btn-primary{background:#5b3dcc;min-width:8.5rem;border-radius:999px}.modal.domain-modal .btn-row{justify-content:flex-end}.screen-lang{padding:2.25rem 1rem 1.5rem;min-height:100vh}.lang-tile.speaking{color:var(--blue-btn);background:#4a6fd824;box-shadow:0 0 0 3px #4a6fd88c;z-index:1}.lang-grid .lang-name{font-size:.72rem;line-height:1.25;font-weight:600;text-align:center;-webkit-hyphens:auto;hyphens:auto}.lang-title{display:block;text-align:center;font-size:1.45rem;font-weight:700;color:#2a2348;margin:0 0 1.75rem;line-height:1.25}.lang-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;max-width:420px;margin:0 auto}.lang-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;min-height:118px;background:#fff;border:none;border-radius:18px;padding:1.15rem .65rem 1.05rem;cursor:pointer;box-shadow:0 8px 22px #37235529;font:inherit;color:#333;transition:box-shadow .35s ease,background .35s ease,color .25s ease;position:relative}.lang-tile:active{transform:scale(.98)}.lang-tile.active{box-shadow:0 0 0 2px #6a5090,0 8px 22px #37235529}.lang-flag-img{width:76px;height:auto;aspect-ratio:4 / 3;object-fit:cover;border-radius:4px;box-shadow:0 2px 6px #0000001f;display:block}.lang-name{font-size:1.05rem;font-weight:500;color:#333;text-align:center;line-height:1.2}.bookmark-badge{position:relative;display:inline-flex}.bookmark-badge .badge{position:absolute;top:-6px;right:-8px;background:#e04040;color:#fff;font-size:.6rem;min-width:1rem;height:1rem;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 .2rem}.btn-save-outline{width:100%;background:#ffffff26;color:#fff;border:2px solid rgba(255,255,255,.9);border-radius:999px;padding:.7rem;margin-top:.5rem;cursor:pointer;font-weight:600}.screen-dim .result-actions{margin-top:.5rem}.question-row{position:relative}.question-row .mic.listening{animation:mic-pulse .9s ease-in-out infinite;filter:drop-shadow(0 0 6px rgba(224,122,46,.75))}@keyframes mic-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.question-mic-status{margin:.35rem 0 0;font-size:.78rem;font-weight:600;color:var(--orange);text-align:center;min-height:1.1rem}.home-voice-pref{display:flex;align-items:center;justify-content:center;gap:.35rem;margin:.45rem 0 0;font-size:.82rem;color:#fff}.home-voice-select{border-radius:8px;padding:.25rem .45rem;border:1px solid rgba(255,255,255,.85);background:#fffffff2;color:var(--purple-dark);font-weight:600}.question-row .mic{position:absolute;right:.65rem;bottom:.65rem;font-size:1.25rem;opacity:.7;border:none;background:none;cursor:pointer}.screen-setup{padding-bottom:2rem}.setup-sheet{background:#fff;border-radius:16px;padding:.85rem .75rem .95rem;box-shadow:0 6px 22px #2d234b1a;margin-bottom:.75rem}.home-menu-block{display:flex;flex-direction:column;gap:0;width:100%;flex:1 1 0;min-height:0}.home-menu-card.sheet{margin-bottom:0;border-radius:16px 16px 0 0;box-shadow:none;overflow:hidden;flex:1 1 auto;min-height:0}.home-significations.btn-blue{width:100%;border-radius:0 0 16px 16px;margin:0;padding:.72rem 1rem;font-size:.95rem;box-shadow:0 8px 22px #2d5ab438;flex-shrink:0;position:relative;z-index:0}.modal-significations{max-width:min(520px,96vw);max-height:min(88vh,720px);display:flex;flex-direction:column;padding-bottom:.65rem}.modal-signif-card{max-width:min(520px,96vw);max-height:min(90vh,780px);overflow-y:auto}.signif-card-detail-thumb{display:flex;justify-content:center;margin:.35rem 0 .55rem}.signif-card-detail-thumb .signif-card-img{max-height:140px;width:auto;border-radius:8px}.signif-all-block{margin-bottom:.75rem}.signif-all-block-title{margin:0 0 .4rem;font-size:.88rem;color:var(--purple-dark)}.signif-domain-row{margin-bottom:.55rem}.signif-domain-row-label{display:block;font-size:.72rem;color:var(--blue-btn);margin-bottom:.15rem}.signif-domain-row-text{margin:0;font-size:.76rem;line-height:1.35;color:var(--text)}.signif-controls{display:flex;flex-direction:column;gap:.55rem;margin-bottom:.65rem}.signif-domain-wrap{display:flex;flex-direction:column;gap:.25rem}.signif-domain-label{font-size:.72rem;font-weight:700;color:#4a5568}.signif-domain-select{width:100%;border:2px solid #b8c9e8;border-radius:10px;padding:.45rem .5rem;font-size:.82rem;font-family:inherit;background:#fff;color:#2a3348}.signif-sense-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.35rem}.signif-sense-tab{border:2px solid #b8c9e8;border-radius:10px;padding:.45rem .35rem;font-size:.74rem;font-weight:700;background:#ffffffd9;color:#3a4560;cursor:pointer;font-family:inherit}.signif-sense-tab.selected{border-color:var(--blue, #3d6fd6);background:#e8f0fc;color:#1e3a7a}.signif-list{flex:1;min-height:120px;max-height:52vh;overflow-y:auto;border:1px solid #dde5f2;border-radius:12px;padding:.35rem .4rem;background:#f8fafd;margin-bottom:.65rem}.signif-loading{text-align:center;padding:1rem .5rem}.signif-card{display:flex;gap:.55rem;align-items:flex-start;padding:.5rem .35rem;border-bottom:1px solid #e6ecf5}.signif-card:last-child{border-bottom:none}.signif-card-thumb{flex-shrink:0;width:44px;height:68px;border-radius:6px;overflow:hidden;background:#e8ecf4;box-shadow:0 2px 6px #2832501f;display:flex;align-items:center;justify-content:center}.signif-card-img{width:100%;height:100%;object-fit:cover}.signif-card-img-reversed{transform:rotate(180deg)}.signif-card-fallback{font-weight:800;font-size:1.1rem;color:#5a6780}.signif-card-body{flex:1;min-width:0}.signif-card-name{margin:0 0 .2rem;font-size:.82rem;font-weight:800;color:#2a3348;line-height:1.25}.signif-card-text{margin:0;font-size:.76rem;line-height:1.45;color:#3d4a62}.signif-close{width:100%}.setup-deck-panel{background:linear-gradient(180deg,#e8f0fc,#f4f7fd);border-radius:16px;padding:.75rem .65rem .85rem;box-shadow:0 4px 16px #2d234b14;margin-bottom:.65rem}.setup-arcanes-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;margin-bottom:.65rem}.setup-arcanes-tab{border:2px solid #b8c9e8;border-radius:10px;padding:.5rem .35rem;font-size:.74rem;font-weight:700;background:#ffffffd9;color:#3a4560;cursor:pointer;font-family:inherit}.setup-arcanes-tab.active{border-color:#3d6fe8;background:#fff;color:#1e3a8a;box-shadow:0 2px 8px #3d6fe826}.modal-tirage .tirage-step-label{margin:.75rem 0 .45rem;font-size:.82rem;font-weight:700;color:var(--purple-dark)}.modal-tirage .tirage-summary{margin:.85rem 0 0;padding:.55rem .65rem;background:#f0f4ff;border-radius:10px;font-size:.72rem;line-height:1.4;color:#334155}.modal-tirage .setup-layouts{margin-bottom:.25rem}.setup-classic-deck-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;margin-bottom:.65rem}.setup-classic-deck-tab{border:2px solid #b8c9e8;border-radius:10px;padding:.55rem .35rem;font-size:.82rem;font-weight:700;background:#ffffffd9;color:#3a4560;cursor:pointer;font-family:inherit}.setup-classic-deck-tab.active{border-color:#3d6fe8;background:#fff;color:#1e3a8a;box-shadow:0 2px 8px #3d6fe826}.setup-section-tight{margin-top:.15rem;margin-bottom:.4rem;font-weight:700}.setup-layouts-classic{grid-template-columns:repeat(3,1fr);gap:.5rem}.setup-layouts-classic .setup-layout-card{border:2px solid #b8c9e8;background:#fff;box-shadow:0 2px 8px #2d234b14;padding:.5rem .28rem .55rem}.setup-layouts-classic .setup-layout-card.selected{border-color:#3d6fe8;background:#f4f7ff;box-shadow:0 0 0 2px #3d6fe847,0 4px 12px #3d6fe829}.setup-layouts-classic .setup-layout-caption-sub{display:block;font-size:.58rem;line-height:1.25;color:#5a5080}.setup-layouts-classic .setup-layout-caption strong{font-size:.74rem}@media(max-width:380px){.setup-layouts-classic{grid-template-columns:1fr}}.setup-question-link{display:block;width:100%;margin:.35rem 0 .5rem;padding:.55rem;border:none;background:transparent;color:#3d6fe8;font-weight:700;font-size:.92rem;cursor:pointer;font:inherit}.setup-saves-link{display:block;width:100%;margin:.25rem 0 0;padding:.5rem;border:none;background:transparent;color:var(--purple);font-weight:700;font-size:1rem;cursor:pointer;font:inherit;text-align:center}.setup-game-title{display:flex;align-items:center;justify-content:flex-start;gap:.4rem;font-weight:700;font-size:.95rem;color:#2a2348;margin:0 0 .55rem}.setup-suit{font-size:1.2rem}.setup-section{margin:0 0 .55rem;font-size:.92rem;color:#3a3355}.setup-layouts{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.setup-layout-card{background:#ffffffeb;border:2px solid transparent;border-radius:14px;padding:.55rem .35rem .65rem;cursor:pointer;font:inherit}.setup-layout-card.selected{border-color:#3d6fe8}.setup-layout-caption{display:flex;flex-direction:column;align-items:center;text-align:center;font-size:.68rem;font-weight:600;color:#2a2348;margin-bottom:.35rem;line-height:1.25;gap:.12rem}.setup-layout-caption strong{font-size:.76rem}.setup-layout-caption-sub{font-size:.65rem;font-weight:600;color:#5a5080}.setup-tirage-guide{margin-top:.65rem;text-align:left}.setup-tirage-guide-title{margin:0 0 .35rem;font-size:.78rem;font-weight:700;color:#2a2348;text-align:center}.setup-tirage-guide-list{margin:0;padding-left:1.05rem;font-size:.68rem;line-height:1.45;color:#4a4060}.setup-tirage-guide-list li{margin-bottom:.35rem}.setup-tirage-guide-foot{margin:.45rem 0 0;font-size:.65rem;line-height:1.4;color:#64748b;text-align:center}.modal-tirage .setup-tirage-guide{margin-top:.5rem}.layout-diagram{position:relative;width:100%;max-width:118px;margin:0 auto}.layout-diagram.cards-3{height:4.6rem}.layout-diagram.cards-3 .mini-back-img:nth-child(1){top:0;left:50%;transform:translate(-50%)}.layout-diagram.cards-3 .mini-back-img:nth-child(2){bottom:0;left:8%}.layout-diagram.cards-3 .mini-back-img:nth-child(3){bottom:0;right:8%}.layout-diagram.cards-4{height:5.4rem}.layout-diagram.cards-7{height:5.8rem}.mini-back-img{position:absolute;width:26px;height:38px;border-radius:5px;overflow:hidden;box-shadow:0 2px 5px #00000038}.mini-back-img img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;background:#1a2433}.layout-diagram.cards-4 .mini-back-img:nth-child(1){top:0;left:50%;transform:translate(-50%)}.layout-diagram.cards-4 .mini-back-img:nth-child(2){top:50%;left:0;transform:translateY(-50%)}.layout-diagram.cards-4 .mini-back-img:nth-child(3){top:50%;right:0;transform:translateY(-50%)}.layout-diagram.cards-4 .mini-back-img:nth-child(4){bottom:0;left:50%;transform:translate(-50%)}.layout-diagram.cards-7 .mini-back-img:nth-child(1){top:4%;left:8%}.layout-diagram.cards-7 .mini-back-img:nth-child(2){top:28%;left:0}.layout-diagram.cards-7 .mini-back-img:nth-child(3){bottom:8%;left:14%}.layout-diagram.cards-7 .mini-back-img:nth-child(4){bottom:0;left:50%;transform:translate(-50%)}.layout-diagram.cards-7 .mini-back-img:nth-child(5){bottom:8%;right:14%}.layout-diagram.cards-7 .mini-back-img:nth-child(6){top:28%;right:0}.layout-diagram.cards-7 .mini-back-img:nth-child(7){top:4%;right:8%}.setup-mode-note{text-align:center;font-size:.72rem;color:#4a4060;margin:.75rem 0 0;line-height:1.4}.btn-row{display:flex;justify-content:flex-end;gap:.5rem}.btn-primary{background:var(--purple-dark);color:#fff;border:none;border-radius:999px;padding:.55rem 1.25rem;font-weight:600;cursor:pointer}.btn-blue{width:100%;background:var(--blue-btn);color:#fff;border:none;border-radius:999px;padding:.85rem 1rem;font-size:1rem;font-weight:600;cursor:pointer;margin-top:.5rem}.btn-blue:disabled{opacity:.5}.btn-secondary{width:100%;background:#eef0f8;color:var(--purple);border:1px solid #c8c0e0;border-radius:999px;padding:.75rem;font-weight:600;cursor:pointer;margin-top:.5rem;display:flex;align-items:center;justify-content:center;gap:.4rem}.btn-outline{width:100%;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85);border-radius:999px;padding:.7rem;margin-top:.5rem;cursor:pointer}textarea.input{width:100%;min-height:5rem;border:2px solid #b8b0d0;border-radius:12px;padding:.65rem;font-family:inherit;font-size:.95rem;resize:vertical}.layout-pick{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.layout-option{border:2px solid #c8c0e0;border-radius:12px;padding:.5rem;cursor:pointer;text-align:center;font-size:.75rem;font-weight:600;background:#f8f6fc}.layout-option.selected{border-color:var(--blue-btn);background:#eef2ff}.layout-option .mini-spread{height:56px;margin:.35rem 0;background:#dce8f8;border-radius:8px;position:relative}.mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin:.75rem 0}.mode-toggle button{border:2px solid #c8c0e0;border-radius:999px;padding:.45rem;font-size:.72rem;background:#fff;cursor:pointer}.mode-toggle button.active{border-color:var(--purple);background:#f0ecff;font-weight:600}.screen-shuffle{flex:1;display:flex;flex-direction:column;min-height:calc(100dvh - 1rem)}body.step-shuffle #app{min-height:100dvh}.shuffle-head-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.35rem}.shuffle-status{margin:0;font-size:.88rem;font-weight:700;color:#3d6fe8}.shuffle-mini-btn{width:auto;margin:0;padding:.35rem .75rem;font-size:.78rem}.shuffle-area{position:relative;flex:1;align-self:stretch;width:100%;max-width:100%;min-height:0;margin:.35rem auto .75rem;-webkit-user-select:none;user-select:none;overflow:hidden;cursor:pointer;border-radius:16px;background:transparent;box-shadow:none}.shuffle-area.is-shuffling{cursor:grabbing}.shuffle-area.is-gathering{cursor:default;pointer-events:none}.shuffle-area.is-gathering .shuffle-float-card{transition:box-shadow .35s ease;box-shadow:0 6px 18px #00000059}.shuffle-instruction{margin:0 .35rem .35rem;padding:.35rem .55rem;font-size:.74rem;font-weight:600;line-height:1.35;text-align:center;color:#2a2348b8;background:#ffffff8c;border-radius:10px}.shuffle-float-card{position:absolute;left:0;top:0;width:var(--shuffle-card-w, 64px);height:var(--shuffle-card-h, 96px);border-radius:8px;box-shadow:0 4px 14px #00000047;will-change:transform;pointer-events:none;background:transparent;overflow:visible;perspective:520px}.shuffle-card-flipper{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateY(0);border-radius:8px;will-change:transform}.shuffle-card-face-img,.shuffle-card-back-layer{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:7px;backface-visibility:hidden;-webkit-backface-visibility:hidden}.shuffle-card-back-layer{background:#1a2433;transform:rotateY(180deg)}.playing-card-face{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;background:#f8f4ec;pointer-events:none}.playing-card-back{background:#1a2433;overflow:hidden}.playing-card-back-img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;pointer-events:none}.progress-bar{height:6px;background:#fff9;border-radius:999px;overflow:hidden;margin:.75rem 0}.progress-bar>div{height:100%;background:var(--purple);transition:width .2s}.screen-cut{position:relative;z-index:2;padding-bottom:1rem}.cut-stage{display:flex;flex-direction:column;align-items:center;gap:.65rem;margin:.25rem 0 1rem}.cut-deck-visual{position:relative;width:100%;max-width:280px;height:min(58vh,380px);min-height:280px;margin:0 auto;overflow:visible}.cut-instruction-sheet{margin-bottom:.65rem;padding:.85rem 1rem}.cut-instruction-title{margin:0;font-weight:700;font-size:.92rem;color:#2a2348;text-align:center;line-height:1.35}.cut-instruction-sub{margin:.45rem 0 0;font-size:.78rem;color:#5a5080;text-align:center;line-height:1.35}.cut-instruction-text{margin:0;font-size:.84rem;font-weight:600;color:#2a2348;text-align:center;line-height:1.45}.cut-status{min-height:1.25rem;margin:.15rem 0 .5rem;text-align:center;font-size:.85rem;font-weight:600;color:#3d6fe8}.cut-deck-single{position:relative;width:100%;height:100%;min-height:280px}.cut-unified-pile{position:absolute;left:50%;top:.25rem;width:100px;height:220px;pointer-events:none;transform:translate(-50%);z-index:2;opacity:1;visibility:visible;transition:opacity .35s ease,visibility .35s ease}.cut-group{position:absolute;left:50%;top:.25rem;width:100px;height:220px;pointer-events:none;transform:translate(-50%);transition:none}.cut-group-top{z-index:3}.cut-group-bottom{z-index:1}.cut-stack-card{position:absolute;left:0;top:0;width:100px;height:148px;border-radius:9px;box-shadow:0 4px 14px #00000052;transform:rotate(calc(var(--i, 0) * .18deg))}.cut-group-top .cut-stack-card{z-index:calc(30 + var(--i, 0))}.cut-group-bottom .cut-stack-card{z-index:calc(10 + var(--i, 0))}.cut-deck-single.cut-is-animating .cut-group{transition:transform .9s cubic-bezier(.33,1,.68,1)}.cut-deck-single.cut-is-animating.cut-phase-under .cut-group-top{transition:transform 1.05s cubic-bezier(.4,0,.2,1)}.cut-deck-single.cut-phase-together .cut-unified-pile,.cut-deck-single.cut-phase-split .cut-unified-pile,.cut-deck-single.cut-phase-under .cut-unified-pile,.cut-deck-single.cut-phase-joined .cut-unified-pile{opacity:0;visibility:hidden}.cut-deck-single.cut-phase-together .cut-group-top{transform:translate(-50%) translateY(-10px);z-index:5}.cut-deck-single.cut-phase-together .cut-group-bottom{transform:translate(-50%) translateY(6px);z-index:4}.cut-deck-single.cut-phase-split .cut-group-top{transform:translate(calc(-50% - 92px));z-index:5;filter:drop-shadow(0 6px 14px rgba(61,111,232,.35))}.cut-deck-single.cut-phase-split .cut-group-bottom{transform:translate(calc(-50% + 92px));z-index:4;filter:drop-shadow(0 6px 14px rgba(90,74,138,.35))}.cut-deck-single.cut-phase-under .cut-group-top{transform:translate(calc(-50% + 78px)) translateY(26px);z-index:1}.cut-deck-single.cut-phase-under .cut-group-bottom{transform:translate(calc(-50% + 78px)) translateY(0);z-index:6}.cut-deck-single.cut-phase-joined .cut-group-top{transform:translate(-50%) translateY(24px);z-index:1}.cut-deck-single.cut-phase-joined .cut-group-bottom{transform:translate(-50%) translateY(0);z-index:6}.cut-counts{font-size:.82rem;font-weight:600;color:#2a2348}.cut-count-top{color:#3d6fe8}.cut-count-bottom{color:#5a4a8a}.cut-pile-labels{display:flex;justify-content:space-between;gap:.5rem;padding:0 .35rem .25rem;font-size:.72rem;font-weight:700}.cut-label-top{color:#3d6fe8}.cut-label-bottom{color:#5a4a8a}.cut-step-hint{margin:.25rem .35rem .45rem;text-align:center;font-size:.76rem;font-weight:600;color:#2a2348;line-height:1.35}.cut-deck-visual .cut-count-top,.cut-deck-visual .cut-count-bottom{position:absolute;z-index:8;margin:0;font-size:.74rem}.cut-deck-visual .cut-count-top{left:8%;top:0}.cut-deck-visual .cut-count-bottom{right:8%;top:0}.cut-slider-wrap{position:relative;z-index:5;width:100%;padding:0 .15rem;margin-bottom:.65rem;touch-action:manipulation}.cut-slider-label{display:block;font-size:.82rem;font-weight:700;color:#2a2348;margin-bottom:.35rem;text-align:center}.cut-slider{width:100%;height:2rem;margin:0;accent-color:#e07a2e;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.cut-slider-summary{margin:.5rem 0 .15rem;text-align:center;font-size:.95rem;font-weight:700;color:var(--blue-btn)}.cut-confirm-btn{position:relative;z-index:4;margin-top:.15rem;touch-action:manipulation}.cut-skip-link{display:block;width:100%;margin:.55rem 0 0;padding:.45rem;z-index:4;position:relative;touch-action:manipulation}body.step-pick #app{display:flex;flex-direction:column;min-height:100dvh;max-height:100dvh;overflow:hidden}body.step-pick .top-bar{padding:.32rem .55rem;font-size:.82rem}body.step-pick .top-bar .title{font-size:.92rem}body.step-pick .screen-pick{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:.2rem .35rem .15rem}.screen-pick{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:.15rem}body.step-pick .pick-scroll{flex:1 1 0;min-height:0;max-height:100%;overflow:hidden}.pick-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 .25rem .35rem;width:100%}.pick-scroll:has(.pick-table.is-viewport-fit){overflow-y:hidden;display:flex;flex-direction:column;justify-content:center;align-items:stretch}.pick-head-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:.3rem .35rem;margin-bottom:.2rem}.pick-head-actions{grid-column:1;display:grid;grid-template-columns:1fr 1fr;gap:.22rem;min-width:0}.pick-head-actions .btn-secondary,.pick-head-actions .pick-mini-btn{width:100%;max-width:none;margin:0;padding:.28rem .35rem;font-size:.62rem;white-space:nowrap;line-height:1.15}.pick-status{grid-column:2;margin:0;min-width:0;font-size:.72rem;font-weight:700;color:#3d6fe8;line-height:1.25}.pick-table[data-pick-progress]:before{content:attr(data-pick-progress);display:block;width:fit-content;margin:0 auto .35rem;padding:.2rem .55rem;border-radius:999px;background:#3d6fe81f;color:#3d6fe8;font-size:.78rem;font-weight:800}@media(max-width:380px){.pick-head-row{grid-template-columns:1fr}.pick-head-actions,.pick-status{grid-column:1}}.pick-choose-sheet{display:none;margin-bottom:.25rem;padding:.35rem .5rem}.pick-choose-title{margin:0;font-weight:700;font-size:.82rem;color:#2a2348;text-align:center}.pick-choose-sub{margin:.25rem 0 0;font-size:.72rem;color:#5a5080;text-align:center;line-height:1.3}.pick-confirm-btn{width:100%;margin-top:.65rem}.shuffle-action-btn{position:relative;z-index:2;margin-top:.35rem}.pick-table{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(.28rem,1.1vw,.5rem);width:100%;max-width:100%;margin:.1rem auto .35rem;padding:0 .15rem;min-height:0;align-content:start}.pick-table.pick-table-majeurs{grid-template-columns:repeat(5,minmax(0,1fr));max-width:100%;gap:clamp(.2rem,1vw,.42rem);margin-top:.05rem;margin-bottom:.08rem}.pick-table.pick-table-majeurs .pick-card{max-height:none;border-width:3px}.pick-table.pick-table-minors{grid-template-columns:repeat(8,minmax(0,1fr));max-width:100%;gap:clamp(.16rem,.8vw,.34rem);min-height:0;margin-bottom:.12rem}.pick-table.pick-table-minors .pick-card{max-height:none;border-width:2px}.pick-table.pick-table-classic{grid-template-columns:repeat(8,minmax(0,1fr));max-width:100%;gap:clamp(.22rem,1vw,.42rem);min-height:0;margin-bottom:.35rem}.pick-table.pick-table-classic-32,.pick-table.pick-table-classic-52{grid-template-columns:repeat(8,minmax(0,1fr))}.pick-table.pick-table-classic .pick-card{max-height:none;border-width:2px}.screen-pick:has(.pick-table-classic){padding-bottom:.5rem}.screen-pick:has(.pick-table-minors){padding-bottom:.5rem}.pick-minors-note{text-align:center;font-size:.72rem;font-weight:600;color:var(--text-light);margin:0 0 .75rem;line-height:1.35}.pick-table.is-viewport-fit{--pick-card-w: min(15vw, calc((100dvh - 7rem) / var(--pick-fit-rows, 7) * 2 / 3));--pick-card-h: calc(var(--pick-card-w) * 1.5);width:max-content;max-width:100%;margin-left:auto;margin-right:auto}.pick-table.is-viewport-fit .pick-card{width:var(--pick-card-w);height:var(--pick-card-h);max-width:var(--pick-card-w);max-height:var(--pick-card-h);aspect-ratio:unset;justify-self:center;border-width:2px;border-radius:8px;box-shadow:0 4px 12px #00000047}.pick-card{position:relative;width:100%;aspect-ratio:2 / 3;max-height:none;padding:0;border:3px solid transparent;border-radius:10px;box-shadow:0 5px 14px #0000004d;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease,visibility .45s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.pick-card.dealt{opacity:1;visibility:visible;pointer-events:auto}.pick-table.has-selection .pick-card:not(.selected){opacity:.52;filter:saturate(.75)}.pick-table.has-selection .pick-card:not(.selected) .playing-card-back-img{opacity:.85}.pick-card.selected{border-color:#fff;transform:scale(1.1);z-index:4;box-shadow:0 0 0 2px #fff,0 0 0 5px #2563eb,0 0 20px #2563eb8c,0 10px 22px #00000061}.pick-card.selected:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:inherit;background:#2563eb47;pointer-events:none}.pick-card.selected:after{content:attr(data-pick-order);position:absolute;top:4px;right:4px;z-index:5;min-width:1.45rem;height:1.45rem;padding:0 .2rem;border-radius:999px;background:#2563eb;color:#fff;font-size:.78rem;font-weight:800;line-height:1.45rem;text-align:center;border:2px solid #ffffff;box-shadow:0 2px 10px #00000059}.result-sheet{--card-w: 80px;--card-h: 120px;background:var(--sheet);border:2px solid #b8c8e8;border-radius:var(--radius);padding:.85rem .5rem 1rem;margin-bottom:.75rem}.result-sheet:has(.spread-sept-hex){--card-w: 68px;--card-h: 102px;padding:.85rem .4rem 1.1rem}.result-sheet:has(.spread-sept-hex.spread-recouvert){--card-w: 76px;--card-h: 114px;max-width:min(100%,460px);margin-left:auto;margin-right:auto}@media(min-width:380px){.result-sheet:has(.spread-sept-hex){--card-w: 78px;--card-h: 116px}.result-sheet:has(.spread-sept-hex.spread-recouvert){--card-w: 84px;--card-h: 124px}}@media(min-width:420px){.result-sheet:has(.spread-sept-hex.spread-recouvert){--card-w: 90px;--card-h: 132px}}.spread-cross-5{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto;gap:.35rem;justify-items:center;align-items:end;max-width:min(100%,360px);margin:0 auto}.spread-cross-5 .pos-q{grid-column:2;grid-row:1}.spread-cross-5 .pos-pour{grid-column:1;grid-row:2}.spread-cross-5 .pos-comp{grid-column:2;grid-row:2}.spread-cross-5 .pos-contre{grid-column:3;grid-row:2}.spread-cross-5 .pos-rep{grid-column:2;grid-row:3}.spread-row-3{display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap}.spread-sept{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;justify-items:center}.spread-sept-hex{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto;gap:.55rem .15rem;width:100%;max-width:min(100%,430px);margin:0 auto;justify-items:center;align-items:end}.spread-sept-hex.spread-recouvert{gap:.75rem .08rem;max-width:min(100%,460px);padding:.15rem 0}.spread-sept-hex .card-ui{width:calc(var(--card-w) + 28px);max-width:100%}.minor-phase-banner{margin-bottom:.65rem;border:2px solid #6a8fd8;background:linear-gradient(180deg,#eef4ff,#fff);text-align:center}.minor-phase-banner-title{margin:0 0 .35rem;font-weight:800;color:var(--blue-btn);font-size:1rem}.minor-phase-banner-sub{margin:0 0 .5rem;font-size:.82rem;line-height:1.35;color:var(--text)}.minor-phase-dismiss{font-size:.85rem}.spread-sept-hex .pos-situation{grid-column:1;grid-row:1}.spread-sept-hex .pos-evolution{grid-column:3;grid-row:1}.spread-sept-hex .pos-fond{grid-column:1;grid-row:2}.spread-sept-hex .pos-conseil{grid-column:3;grid-row:2}.spread-sept-hex .pos-environnement{grid-column:1;grid-row:3}.spread-sept-hex .pos-avenir{grid-column:2;grid-row:3}.spread-sept-hex .pos-defi{grid-column:3;grid-row:3}.spread-classic-sept{grid-template-rows:auto auto auto auto;gap:.7rem .35rem;max-width:min(100%,420px);padding:.25rem .15rem .35rem}.spread-classic-sept .pos-situation{grid-column:1;grid-row:1}.spread-classic-sept .pos-evolution{grid-column:3;grid-row:1}.spread-classic-sept .pos-defi{grid-column:1;grid-row:2}.spread-classic-sept .pos-conseil{grid-column:3;grid-row:2}.spread-classic-sept .pos-fond{grid-column:1;grid-row:3}.spread-classic-sept .pos-environnement{grid-column:3;grid-row:3}.spread-classic-sept .pos-avenir{grid-column:2;grid-row:4}.result-sheet:has(.spread-classic-sept){--card-w: 84px;--card-h: 118px;padding:1rem .55rem 1.15rem}@media(min-width:380px){.result-sheet:has(.spread-classic-sept){--card-w: 92px;--card-h: 134px}}.spread-classic-sept .card-ui .pos-label{font-size:.68rem;line-height:1.2;min-height:2.35em;color:#3d3560}.spread-classic-trois{gap:.55rem;padding:.15rem 0}.result-sheet:has(.spread-classic-trois),.result-sheet:has(.spread-classic-cross){--card-w: 82px;--card-h: 122px}.card-ui-classic .face{border-width:3px;border-color:var(--green);box-shadow:0 2px 8px #0000001f}body.step-result #app{display:flex;flex-direction:column;min-height:100dvh;max-height:100dvh;overflow:hidden}.screen-result{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:max(.75rem,env(safe-area-inset-bottom))}.result-footer-actions{display:flex;flex-wrap:wrap;gap:.4rem;align-items:stretch;margin-top:.45rem;flex-shrink:0}.result-footer-actions .result-footer-actions{flex:1 1 100%;margin-top:0}.result-tool-btn,.result-new-draw,.result-save-btn{flex:1 1 30%;min-width:0}.result-pro-block{margin-top:.15rem}.result-pro-block .result-pro-alt{width:100%;margin-top:.45rem}.result-pro-block .btn-blue:first-child{margin-top:.35rem}.result-auto-pro{display:flex;align-items:flex-start;gap:.45rem;margin:.55rem 0 .15rem;padding:0 .15rem;font-size:.78rem;line-height:1.35;color:var(--blue-btn);cursor:pointer}.result-auto-pro input{margin-top:.15rem;flex-shrink:0;accent-color:var(--blue-btn)}.result-new-draw{flex:1 1 100%;background:#ffffffeb;color:var(--purple-dark);border:1px solid rgba(255,255,255,.95);border-radius:999px;padding:.65rem .5rem;font-weight:600;font-size:.88rem;cursor:pointer}.result-tool-btn{background:#3d6fe8;color:#fff;border:none;border-radius:999px;padding:.65rem .4rem;font-weight:700;font-size:.82rem;cursor:pointer}.result-save-btn{flex:1 1 30%;margin-top:0;font-size:.82rem;padding:.65rem .4rem;background:#fff;color:#2a2348;border:2px solid #3d6fe8}.card-ui{text-align:center;width:var(--card-w)}button.card-ui-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;border-radius:8px}button.card-ui-btn:focus-visible{outline:2px solid var(--blue-btn);outline-offset:2px}.card-ui .pos-label{font-size:.62rem;font-weight:600;color:var(--purple);margin-bottom:.2rem;min-height:2em}.card-ui .card-face-stack{position:relative;width:var(--card-w);height:var(--card-h);margin:0 auto}.card-ui.has-recouvrement .card-face-stack{width:calc(var(--card-w) + 26px)}.card-ui .face{width:var(--card-w);height:var(--card-h);border-radius:8px;border:3px solid var(--green);overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;position:relative}.card-ui .face.recouvrement-face{position:absolute;left:calc(var(--card-w) * .38);top:2px;z-index:2;width:calc(var(--card-w) - 8px);height:calc(var(--card-h) - 8px);box-shadow:0 4px 12px #00000047}.card-ui .cover-label{font-size:.58rem;font-weight:600;color:var(--text-light);margin-top:.12rem;line-height:1.15;max-width:calc(var(--card-w) + 24px)}.card-ui.reversed .major-face{border-color:var(--orange)}.card-ui.reversed .major-face img,.card-ui .face.recouvrement-face.reversed img{transform:rotate(180deg)}.card-ui .face img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center top;background:#f8f4ec}.card-ui .face.recouvrement-face{border-color:#5a7ec8;background:linear-gradient(165deg,#faf8f2,#efe8dc)}.card-ui .face.recouvrement-face img{object-fit:cover;object-position:center}.card-ui .face .fname{font-size:.62rem;padding:.25rem;line-height:1.15;color:var(--purple-dark)}.card-ui .orient{font-size:.62rem;margin-top:.15rem;font-weight:600}.card-ui .orient.up{color:var(--green)}.card-ui .orient.rev{color:var(--orange)}.link-sub{text-align:center;font-size:.78rem;color:var(--blue-btn);margin:.35rem 0}.loading-modal .cards-loader{display:flex;justify-content:center;gap:.35rem;margin:1rem 0}.loading-modal .cards-loader div{width:48px;height:72px;border-radius:6px;background:#1a2433;overflow:hidden}.loading-modal .cards-loader div:after{content:"";display:block;width:100%;height:100%;background:var(--card-back, url(/app/card-back-tarot.png)) center/contain no-repeat}.hidden{display:none!important}.interp-voyant-byline{margin:.15rem 0 .45rem;font-weight:600;color:var(--blue-btn);font-size:.92rem}.interp-modal{max-height:85vh}.interp-modal .interp-question{margin:.35rem 0 .6rem;padding:.55rem .75rem;border:1.5px solid var(--orange);border-radius:12px;background:#fdf1e7;color:#000;font-weight:600}.interp-modal .body{white-space:pre-wrap;line-height:1.55;font-size:.9rem;max-height:50vh;overflow-y:auto}.reading-voice-notice{flex:1 1 100%;margin:.2rem 0 0;font-size:.85rem;line-height:1.45;color:#5a4210}.km-audio-notice{margin:0 0 .6rem;padding:.55rem .75rem;border-radius:10px;background:#fff6e0;border:1px solid #e6c878;color:#5a4210;font-size:.88rem;line-height:1.5}.pub-note{font-size:.75rem;color:var(--orange);margin:.5rem 0;line-height:1.4}.modal-interp-loading{text-align:center;padding:1.15rem 1.05rem 1rem}.interp-cards-fan{position:relative;width:148px;height:108px;margin:0 auto .15rem;animation:interp-fan-deck 3.2s ease-in-out infinite;transform-origin:50% 100%}@keyframes interp-fan-deck{0%,to{transform:rotate(0) scale(1)}25%{transform:rotate(-5deg) scale(1.02)}50%{transform:rotate(0) scale(1.04)}75%{transform:rotate(5deg) scale(1.02)}}.interp-cards-fan .fan-card{position:absolute;left:50%;bottom:0;width:54px;height:80px;margin-left:-27px;transform-origin:50% 100%;border-radius:7px;overflow:hidden;box-shadow:0 5px 14px #1e283c38;will-change:transform}.interp-cards-fan .fan-card img{display:block;width:100%;height:100%;object-fit:contain}.interp-cards-fan .fan-card:nth-child(1){z-index:1;animation:interp-fan-left 1.85s ease-in-out infinite}.interp-cards-fan .fan-card:nth-child(2){z-index:3;animation:interp-fan-center 1.85s ease-in-out infinite;animation-delay:.12s}.interp-cards-fan .fan-card:nth-child(3){z-index:2;animation:interp-fan-right 1.85s ease-in-out infinite;animation-delay:.24s}@keyframes interp-fan-left{0%,to{transform:rotate(-20deg) translate(-24px) translateY(0)}50%{transform:rotate(-28deg) translate(-28px) translateY(-14px)}}@keyframes interp-fan-center{0%,to{transform:rotate(0) translateY(0) scale(1)}50%{transform:rotate(3deg) translateY(-16px) scale(1.05)}}@keyframes interp-fan-right{0%,to{transform:rotate(20deg) translate(24px) translateY(0)}50%{transform:rotate(28deg) translate(28px) translateY(-14px)}}.interp-spinner{width:26px;height:26px;margin:.1rem auto .55rem;border:3px solid rgba(74,120,190,.22);border-top-color:var(--blue-btn);border-radius:50%;animation:interp-spin .9s linear infinite}@keyframes interp-spin{to{transform:rotate(360deg)}}.modal-interp-loading .interp-loading-title{margin:0 0 .4rem;font-size:1.05rem;font-weight:700;color:var(--blue-btn);line-height:1.35}.modal-interp-loading .interp-loading-hint{margin:0 0 .85rem;font-size:.78rem;color:var(--text-light);line-height:1.45}.progress-bar-interp{position:relative;height:7px;background:#b4c8e68c;border-radius:999px;overflow:visible;margin:.35rem 0 .25rem}.progress-bar-interp .fill{position:relative;height:100%;min-width:0;background:linear-gradient(90deg,#6a9ad8,#4a74c8);border-radius:999px;transition:width .28s ease}.progress-bar-interp .thumb{position:absolute;top:50%;right:0;width:13px;height:13px;margin-top:-6.5px;margin-right:-6.5px;background:#fff;border:2px solid #4a74c8;border-radius:50%;box-shadow:0 1px 5px #283c6433}.modal-interp-loading .interp-pct-big{margin:.15rem 0 .65rem;font-size:2rem;font-weight:800;color:var(--blue-btn);text-align:center;letter-spacing:.02em}.modal-interp-loading .interp-stop-btn{color:#c04040;font-weight:600;font-size:.95rem;margin:0 auto;display:inline-block}.modal-pro-offers .btn-green,.modal-pro-offers .btn-secondary{width:100%;margin-top:.45rem}.modal-pro-offers .btn-green{margin-top:.35rem}.btn-green{width:100%;background:#2d7a4a;color:#fff;border:none;border-radius:999px;padding:.75rem;font-weight:600;margin-top:.5rem}.legal{text-align:center;font-size:.68rem;color:var(--text-light);padding:.5rem}@media(max-width:480px),(max-height:740px){#app{min-height:100dvh;max-height:100dvh}body.step-home .screen-home{min-height:0;overflow:hidden;padding-bottom:max(.2rem,env(safe-area-inset-bottom))}body.step-home .home-hero h1{font-size:1.22rem}body.step-home .home-menu-card{padding:.4rem .55rem .45rem}body.step-home .home-significations.btn-blue{padding:.4rem .55rem;font-size:.78rem}body.step-home .home-voice-pref{font-size:.76rem;margin-top:.3rem}.modal-overlay{align-items:flex-start;padding:.45rem .55rem max(.65rem,env(safe-area-inset-bottom));overflow-y:auto}.modal{max-height:min(88dvh,calc(100dvh - 4.5rem));padding:.75rem .7rem .7rem}.modal h2{font-size:1.02rem;margin-bottom:.35rem}.modal p.hint{font-size:.76rem;margin-bottom:.55rem}.modal-tirage .tirage-step-label{margin:.45rem 0 .3rem;font-size:.76rem}.modal-tirage .setup-tirage-guide{font-size:.68rem;margin-top:.35rem;padding:.45rem .5rem}.modal-tirage .setup-tirage-guide-list{margin:.25rem 0 0;padding-left:1rem}.modal-tirage .tirage-summary{margin-top:.45rem;padding:.4rem .5rem;font-size:.68rem}.modal-tirage .btn-row{margin-top:.55rem!important}body.step-pick .pick-head-row{margin-bottom:.12rem}body.step-pick .pick-head-actions .pick-mini-btn{padding:.22rem .3rem;font-size:.58rem}body.step-pick .pick-status{font-size:.66rem}body.step-pick .screen-pick{padding-bottom:max(.2rem,env(safe-area-inset-bottom))}body.step-shuffle #app{min-height:100dvh;max-height:100dvh;overflow:hidden}.screen-shuffle{min-height:0;max-height:calc(100dvh - 3.2rem);padding-bottom:max(.35rem,env(safe-area-inset-bottom))}.screen-shuffle .shuffle-area{flex:1;min-height:0;max-height:none;margin-bottom:.35rem}.screen-shuffle .shuffle-action-btn{flex-shrink:0;margin-top:.15rem;margin-bottom:.15rem}body.step-cut #app{overflow-y:auto;max-height:100dvh}.screen-cut{padding-bottom:max(.75rem,env(safe-area-inset-bottom))}.cut-instruction-sheet{padding:.55rem .65rem;margin-bottom:.4rem}.cut-instruction-text{font-size:.78rem}.cut-deck-visual{height:min(42dvh,260px);min-height:200px}.cut-stage{margin-bottom:.35rem}.cut-slider-wrap{margin-bottom:.4rem}.cut-confirm-btn{margin-top:.35rem;margin-bottom:.25rem}body.step-result #app{display:flex;flex-direction:column;min-height:100dvh;max-height:100dvh;overflow:hidden}body.step-result .top-bar{flex-shrink:0;padding:.28rem .5rem}body.step-result .top-bar .title{font-size:.86rem}body.step-result .top-bar button.link{font-size:.62rem;padding:.15rem .1rem}body.step-result .top-bar .back{font-size:1.15rem;width:1.65rem}.screen-result{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:.2rem .55rem max(.35rem,env(safe-area-inset-bottom))}.result-sheet{flex:1;min-height:0;overflow-y:auto;padding:.4rem .28rem .45rem;margin-bottom:.25rem}.spread-cross-5{max-width:min(100%,340px);gap:.26rem}.spread-row-3{gap:.32rem}.result-sheet:has(.spread-cross-5),.result-sheet:has(.spread-classic-cross),.result-sheet:has(.spread-row-3){--card-w: 64px;--card-h: 96px}.result-sheet:has(.spread-sept-hex){--card-w: 58px;--card-h: 88px;padding:.35rem .25rem .4rem}.result-sheet:has(.spread-sept-hex.spread-recouvert){--card-w: 62px;--card-h: 92px}.spread-sept-hex{gap:.35rem .08rem;max-width:min(100%,400px)}.card-ui .pos-label{font-size:.52rem;min-height:1.55em;margin-bottom:.12rem}.card-ui .fname{font-size:.58rem}.result-pro-block{flex-shrink:0;margin-top:.05rem}.result-pro-block .btn-blue{padding:.45rem .55rem;font-size:.76rem;margin-top:.2rem!important}.result-auto-pro{font-size:.66rem;margin:.22rem 0 0;line-height:1.25}.result-footer-actions{flex-shrink:0;margin-top:.3rem;gap:.28rem}.result-new-draw,.result-save-btn{padding:.45rem .3rem;font-size:.74rem}}
