.lj-app {height:100%;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch;background:#251f32;color:#fff3dc;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.35;}
.lj-app * {box-sizing:border-box;}
.lj-app h1,.lj-app h2,.lj-app p,.lj-app header {margin:0;}
.lj-app button {color:inherit;font:inherit;border:0;cursor:pointer;}
.lj-app :focus-visible {outline:3px solid #fae5a1;outline-offset:-3px;}
.lj-icon {border-radius:23%;display:flex;width:100%;height:100%;align-items:center;justify-content:center;overflow:hidden;}
.lj-icon-vol {background:linear-gradient(145deg,#f8bb77,#bb6f58);color:#292138;}
.lj-icon svg {width:83%;height:83%;}
.lj-icon-paires {background:linear-gradient(155deg,#313653,#756392);color:#ffe4a3;}
.lj-icon i {width:52%;height:64%;display:grid;place-items:center;font:800 18px/1 Georgia,serif;font-style:normal;background:#423757;border:2px solid #f4dab0;box-shadow:3px 3px 0 #daae8a;border-radius:4px;transform:rotate(-8deg);}
.ios-device[data-profile=luna]:is([data-route=vol],[data-route=paires]) {background:#251f32;}
.ios-device[data-profile=luna]:is([data-route=vol],[data-route=paires]) .os-status,.ios-device[data-profile=luna]:is([data-route=vol],[data-route=paires]) .os-home-indicator {background:#251f32;color:white;}
.ios-device[data-profile=luna]:is([data-route=vol],[data-route=paires]) .ios-content {min-height:0;height:100%;overflow:hidden;}
.lj-head {display:flex;align-items:center;gap:11px;padding:12px 16px 7px;}
.lj-head .lj-icon {width:42px;height:42px;flex:none;}
.lj-head small {display:block;color:#d6c1a7;letter-spacing:.12em;font-size:10px;font-weight:700;}
.lj-head h1 {color:#fff3dc;font-size:23px;letter-spacing:-.03em;text-align:left;line-height:1.15;}
.lj-score {display:flex;align-items:center;gap:12px;padding:5px 14px 8px;font-size:14px;flex-wrap:wrap;}
.lj-score span {color:#e3cdb8;}
.lj-score button {margin-left:auto;min-height:34px;padding:3px 10px;background:#493a50;border-radius:8px;}
.lj-score button:disabled {opacity:.45;cursor:default;}
.lj-stage {position:relative;display:flex;align-items:center;justify-content:center;flex:auto;min-height:175px;min-width:0;background:#251f32;overflow:hidden;}
.lj-stage .lj-board {width:100%;height:100%;position:absolute;inset:0;display:grid;place-items:center;background:transparent;padding:0;border-radius:4px;touch-action:manipulation;}
.lj-board>svg {display:block;width:100%;height:100%;}
.lj-overlay {position:absolute;inset:0;display:grid;place-items:center;background:#21182b45;padding:14px;}
.lj-overlay[hidden] {display:none;}
.lj-overlay>div {padding:18px 14px;border:1px solid #8a746b;border-radius:18px;background:#302637f2;max-width:235px;text-align:center;}
.lj-overlay h2 {font-size:21px;color:#ffe3af;}
.lj-overlay p {font-size:14px;color:#e9dace;margin:6px auto 12px;}
.lj-overlay button,.lj-app .lj-new {background:#efc38a;border-radius:9px;color:#332333;padding:8px 20px;min-height:42px;font-weight:700;}
.lj-app .lj-instruction {color:#e6cfb7;text-align:center;margin:7px 14px 12px;font-size:12px;}
.lj-paires {background:linear-gradient(165deg,#282639,#3f354b);}
.lj-pairs-wrap {padding:4px 13px 14px;overflow-y:auto;min-height:0;text-align:center;}
.lj-cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:2px auto 12px;max-width:380px;}
.lj-cards button {width:100%;aspect-ratio:4/5;max-height:118px;border:2px solid #a395b3;border-radius:11px;box-shadow:inset 0 0 0 3px #544463,inset 0 0 0 4px #95829f;background:repeating-linear-gradient(35deg,#433950,#433950 6px,#483c56 6px,#483c56 9px);color:#d8b895;display:grid;place-items:center;font:750 clamp(23px,5vw,34px)/1 Georgia,serif;}
.lj-cards .lj-turned,.lj-cards .lj-found {background:#efe3cd;border-color:#f6ce91;box-shadow:none;}
.lj-cards .lj-found {background:#d4d2bc;border-color:#96a18b;cursor:default;}
.lj-pair-status {font-size:15px;font-weight:600;}
.lj-app .lj-record {margin:4px auto 10px;color:#dcccbd;font-size:13px;}
@media(max-height:670px){.lj-head{padding-top:6px}.lj-head .lj-icon{width:34px;height:34px}.lj-cards button{max-height:79px}}
@media(prefers-reduced-motion:reduce) {.lj-app *, .lj-app *::after {scroll-behavior:auto;}}

/* Personal collections inside the installed games. */
.lx-nav {display:flex;justify-content:center;gap:5px;flex-wrap:wrap;padding:5px 9px 12px}
.lx-link,.lx-pill,.lj-app a,.lj-app button.lx-pill {color:#ffdbab}
.lx-link {display:inline-flex;align-items:center;text-decoration:none;gap:.4em;padding:9px 3px}
.lx-pill,.lj-app button.lx-pill {display:inline-flex;justify-content:center;align-items:center;min-height:40px;line-height:1.18;text-decoration:none;padding:9px 11px;background:#4a394e;border:1px solid #796075;border-radius:11px;font-size:14px;font-weight:650}
.lx-sub {min-height:0;overflow:auto;flex:1;padding:0 13px 22px}
.lx-sub>.lx-link {font-size:14px}
.lx-paper {padding:17px 15px;border:1px solid #625263;border-radius:16px;background:#332b3a;overflow:hidden}
.lx-paper h2 {font-size:23px;line-height:1.17;color:#ffdfb4}
.lx-paper h3 {font-size:17px;margin-bottom:9px}
.lx-paper p,.lx-paper blockquote {font-size:15px;line-height:1.4;margin:10px 0;color:#f3e4d2}
.lx-paper blockquote {border-left:3px solid #b28ea5;padding:5px 10px;background:#463747;border-radius:2px}
.lx-paper p.lx-kicker {text-transform:uppercase;letter-spacing:.09em;font-weight:700;font-size:10px;color:#d8b99b;margin:0 0 6px}
.lx-actions {display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}
.lx-ticket {margin:12px auto;max-width:240px;background:#ffefd0;border:1px dashed #b08976;transform:rotate(-1deg);color:#684659;padding:8px 10px;box-shadow:2px 4px 0 #231b29}
.lx-ticket small {display:block;letter-spacing:.13em;font-size:10px;text-align:right}
.lx-ticket figcaption {font:italic 15px Georgia,serif;text-align:center}
.lx-ticket-draw {width:100%;max-height:156px;display:block}
[data-lx-preview] .lx-ticket-draw {max-height:103px;border-radius:6px;background:#34283b}
.lx-range {margin:9px 0;display:block;font-size:14px}
.lx-range input {accent-color:#eab77f;width:100%;height:29px;margin:0}
.lx-range output{float:right;font-weight:bold}
.lx-range small,.lx-caption,.lx-receipt {color:#d9c9be;font-size:13px}
.lx-receipt span,.lx-receipt a,[data-backpack] a,.lx-sub article>a {display:block;margin-top:7px}
.lx-photo {display:block;width:100%;max-height:410px;object-fit:contain;border-radius:9px;background:#221b28;margin:12px 0 5px}
.lx-scores {margin:12px 0;padding:0;list-style-position:inside}
.lx-scores li {border-bottom:1px solid #5b4b5d;padding:7px;font-variant-numeric:tabular-nums}
.lx-scores li span {float:right;color:#fdd295;font-weight:bold}
.lx-flip {display:flex;flex-direction:column;align-items:center;gap:8px;margin:12px auto;padding:10px 14px;background:#514056;border-radius:9px}
.lx-cookie {display:block;background-image:url(media/jeux-luna/fournee.webp);background-size:200% 300%;width:100%;height:100%;border-radius:7px}
.lj-cards button:is(.lj-turned,.lj-found) {padding:0}
.lj-cards button>span:has(.lx-cookie){width:100%;height:100%;display:block}
.lx-flip .lx-cookie {width:90px;height:98px}
.lx-board {display:grid;grid-template-columns:repeat(3,1fr);gap:5px;max-width:282px;margin:14px auto}
.lx-board button {aspect-ratio:1;background:#57465b;color:#ffe1aa;font-size:34px;font-weight:800;border:1px solid #856e89;border-radius:9px}
.lx-board button:disabled {cursor:default}
.lx-board [data-lx-cell].lx-last {border:2px dashed #e8bb91}
.lx-board [data-lx-cell].lx-win {background:#73614d}
.lx-badge-flip {display:block;max-width:230px;width:85%;height:190px;margin:10px auto;background:radial-gradient(ellipse,#5a4652,#342c3b 73%);border-radius:30px;touch-action:pan-y;perspective:500px}
.lx-badge-flip>span,.lx-badge-flip svg {display:block;width:100%;height:100%}
.lx-pin-head {display:inline-flex;width:42px;height:42px;margin-left:auto}
.lx-pin-head svg {width:100%}
.lx-replay {position:relative;margin-top:12px}
.lx-replay svg {width:100%;display:block;border-radius:8px}
.lj-app .lx-paw {position:absolute;right:10px;bottom:10px;width:45px;height:45px;border:2px solid #ba966d;background:#ffe5b0;border-radius:50%;font-size:22px}
.lx-replay-tools {display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:10px}
.lx-replay-tools output {font-size:13px;font-variant-numeric:tabular-nums}
.lx-notice {text-decoration:none}
.lx-notice .lj-icon {width:36px;height:36px;flex:none}
@media(max-width:340px){.lx-nav{padding:4px 4px 8px}.lx-pill,.lj-app button.lx-pill{font-size:12px;padding:7px 8px}}

.lj-vol[data-phase=ready] .lj-overlay{pointer-events:none;background:transparent;align-items:end;padding-bottom:15px}.lj-vol .lj-overlay .lj-first{pointer-events:auto;font-size:12px;min-height:32px;color:#fff0d2;background:#302637c9;border-radius:26px}.lj-cards[data-first=true] button:first-child:after{content:'☝';position:absolute;right:2px;bottom:0;color:#ffda94;pointer-events:none}.lj-cards button{position:relative}.lj-first,.lj-cards[data-first=true] button:first-child:after{animation:lj-hint 1.5s 2}@keyframes lj-hint{50%{transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.lj-first,.lj-cards button:after{animation:none}}
