:root{--ink:#32244e;--muted:#746987;--lav:#8060c8;--gold:#ffd166;--berry:#ee5d87;--white:#fffdfb}
body{background:radial-gradient(ellipse at 8% 7%,#fff0e9 0,transparent 30%),radial-gradient(ellipse at 88% 18%,#eee7ff 0,transparent 35%),#fffaf4;color:var(--ink);font-family:'Trebuchet MS','Arial Rounded MT Bold',Arial,sans-serif}
.topbar{height:76px;background:#fffaf1ef;border-color:#eee4f0;position:relative;z-index:2}.brand{font-size:29px;font-weight:900;color:#422866;letter-spacing:-1.2px}.brand-star{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#ffd66e;color:#7545b9;box-shadow:0 3px 0 #e7b548;font-size:19px}.header-tools{gap:11px}.local-badge{background:#f3eaff;color:#72529c;font-weight:700;border:1px solid #e6daf8}.header-tools select{border:1.5px solid #d9caef;background:white;color:#50366d;font-weight:700}.coin{background:#fff0bd;color:#875414;border:1px solid #f6d989;font-size:15px;box-shadow:0 3px 0 #f1dda7}
.hero{max-width:1110px;min-height:430px;margin:26px auto 0;border-radius:32px;display:block;position:relative;isolation:isolate;overflow:hidden;background:#362451;box-shadow:0 16px 40px #5037722b}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(48,28,76,.97) 0%,rgba(55,32,83,.9) 32%,rgba(59,34,91,.43) 56%,rgba(52,31,77,.02) 82%),url('/refugio-hero.webp') center 48%/cover no-repeat}.hero-copy{position:relative;width:54%;min-height:430px;padding:42px 24px 52px 50px;z-index:1;color:white}.hero-ribbon{display:inline-flex;gap:9px;align-items:center;border-radius:30px;padding:8px 13px;background:#fff2d72b;border:1px solid #fff5df60;color:#fff1ce}.hero .eyebrow{color:#ffe69d;font-size:11px;letter-spacing:1.8px}.ribbon-star{color:#ffe07b;font-size:15px}.hero h1{font-size:clamp(40px,5vw,61px);line-height:.98;letter-spacing:-2px;color:#fff;margin:20px 0 14px;max-width:500px;text-shadow:0 3px 15px #29153940}.hero-copy>p:not(.countdown){color:#f6eafa;font-size:16px;line-height:1.6;max-width:385px;margin:0 0 17px}.primary{border-radius:16px;background:linear-gradient(135deg,#ffdf76,#ffb45f);color:#4c2d69;padding:15px 21px;font-size:15px;font-weight:900;box-shadow:0 5px 0 #dc8757,0 9px 22px #21133450;gap:11px;transition:transform .18s,box-shadow .18s}.primary:hover{transform:translateY(-3px) rotate(-1deg);box-shadow:0 8px 0 #dc8757,0 12px 25px #21133455}.gift-icon{display:grid;place-items:center;background:#fff6df;border-radius:10px;width:27px;height:27px;font-size:18px;color:#b35d76}.button-sparkle{font-size:12px;color:#fff}.countdown{color:#e8d9f5;font-weight:600;font-size:12px!important;margin:14px 0 0}.hero-art{display:none}.hero-note{position:absolute;bottom:20px;left:50px;color:#f9eafa;font-size:11px;display:flex;align-items:center;gap:8px}.note-dot{width:8px;height:8px;border-radius:50%;background:#73e6bd;box-shadow:0 0 12px #73e6bd}.hero-orbit{position:absolute;color:#ffe789;filter:drop-shadow(0 0 9px #ffd971);font-size:19px;z-index:1}.orbit-one{left:84%;top:16%}.orbit-two{left:64%;top:74%;color:#f3b8ff}
.tabs{max-width:1110px;margin:20px auto 0;border:1px solid #eae1f0;background:#fffdfbcc;border-radius:18px;padding:5px;gap:5px;box-shadow:0 5px 15px #57366d0b}.tab{border-radius:13px;padding:11px 19px;color:#766788;font-weight:700}.tab.active{background:#7146ac;color:white;border:0;box-shadow:0 3px 0 #58358d}.page{max-width:1110px;margin:30px auto 50px}.section-head{margin:35px 0 18px;align-items:center}.section-head h2,.game-heading h2{font-size:31px;letter-spacing:-.7px;font-weight:800;color:#382251}.eyebrow{color:#9a5fb5;font-size:11px;letter-spacing:1.8px}.soft-pill{background:#fff1c6;color:#875d22;border:1px solid #f7dda0;font-weight:700}.activity-grid{gap:18px}.activity{position:relative;min-height:116px;border:1px solid #ffffff;border-radius:23px;padding:19px 22px;box-shadow:0 8px 17px #5f427315;overflow:hidden;transition:transform .2s,box-shadow .2s}.activity:hover{transform:translateY(-4px) rotate(-.4deg);box-shadow:0 13px 24px #5f427322}.memory{background:linear-gradient(120deg,#eee2ff,#f9e4ff 78%,#f2d4ff)}.clues{background:linear-gradient(120deg,#d9f6e7,#dff4f3 75%,#c8edf0)}.activity:after{content:'✦';position:absolute;right:23px;top:12px;color:#fff9;font-size:35px}.activity-icon{width:57px;height:57px;border-radius:19px;background:#fffdfbc9;color:#8356bf;box-shadow:0 4px 9px #563b6d15;font-size:28px}.clues .activity-icon{color:#39958a}.activity b{font-size:21px;font-weight:800;color:#382752}.activity small{font-size:13px;color:#6f6480;font-weight:600}.arrow{font-size:21px;color:#7854a4;z-index:1}.collection-head{margin-top:43px}.text-button{background:#fff;border:1px solid #e8def1;border-radius:13px;padding:10px 14px;color:#7146ac;font-weight:800}
.creature-grid{gap:15px}.creature-card{position:relative;background:linear-gradient(160deg,#fff,#fdf8ff);border:1px solid #eee3f3;border-radius:23px;padding:13px 10px 14px;box-shadow:0 7px 18px #4830570d;overflow:hidden;transition:transform .2s,box-shadow .2s}.creature-card:before{content:"";position:absolute;left:10px;right:10px;top:10px;height:63%;border-radius:18px;background:linear-gradient(145deg,#f2eaff,#ffedf0);z-index:0}.creature-card:nth-child(2):before{background:linear-gradient(145deg,#ede6ff,#e9e2ff)}.creature-card:nth-child(3):before{background:linear-gradient(145deg,#e6f5de,#dff4e9)}.creature-card:nth-child(4):before{background:linear-gradient(145deg,#ffebdc,#fff3da)}.creature-card:nth-child(5):before{background:linear-gradient(145deg,#dff0ff,#e9e8ff)}.creature-card:nth-child(6):before{background:linear-gradient(145deg,#fff2bd,#ffe6c5)}.creature-card:hover{transform:translateY(-5px);box-shadow:0 13px 24px #48305720}.creature-card img,.creature-card b,.creature-card p,.creature-card .stars,.creature-card .progress,.creature-card small{position:relative;z-index:1}.creature-card img{max-width:140px;filter:drop-shadow(0 5px 5px #46345720)}.creature-card b{display:block;font-size:19px;font-weight:900;color:#39254f;margin-top:2px}.creature-card p{font-size:12px;font-weight:700;color:#7c678d;margin:4px 0 8px}.creature-card small{font-size:11px;color:#71627d;font-weight:700}.progress{height:7px;background:#e9e2ef;margin:8px 4px 4px}.progress i{background:linear-gradient(90deg,#ae79e2,#f06ea3);border-radius:8px}.stars{font-size:16px;color:#e6a928;text-shadow:0 1px #fff}.note{background:#eaf8ed;border:1px solid #d4edd8;border-radius:18px;color:#56785e;font-weight:600;padding:16px 18px;font-size:13px}.scene-board{background:linear-gradient(155deg,#b9c7fa,#b3e1cf 55%,#f2dba3);box-shadow:inset 0 0 0 8px #ffffff4a,0 10px 25px #65458c18}.slot{background:#ffffff80;border:1px dashed #fff;border-radius:20px}.game-heading h2{font-size:35px}.memory-card{background:linear-gradient(145deg,#a884d3,#8065b7);box-shadow:0 5px 0 #5f478e;border:2px solid #fff8;color:white}.memory-card .question{color:#fff4c8;text-shadow:0 2px 5px #513174}.answer{border-radius:22px;background:linear-gradient(#fff,#fbf3ff);box-shadow:0 6px 14px #53376615;transition:transform .18s,border-color .18s}.answer:hover{transform:translateY(-4px);border-color:#c3a5eb}.answer b{font-weight:800;color:#44305e}.clue-box{background:linear-gradient(140deg,#f1e7ff,#fff0f6);border:1px solid white;box-shadow:0 8px 20px #55376612;border-radius:22px;font-weight:700;color:#594276}.primary:focus-visible,.tab:focus-visible,.activity:focus-visible,.text-button:focus-visible,.answer:focus-visible,select:focus-visible{outline:3px solid #f29dce;outline-offset:3px}footer{max-width:1110px;color:#8a7a94;font-weight:700}
@media(max-width:800px){.hero,.tabs,.page,footer{margin-left:18px;margin-right:18px}.hero{min-height:395px}.hero-copy{min-height:395px;width:63%;padding:36px 22px 52px 34px}.hero:before{background:linear-gradient(90deg,rgba(48,28,76,.97) 0%,rgba(55,32,83,.9) 42%,rgba(59,34,91,.32) 72%,rgba(52,31,77,.03) 100%),url('/refugio-hero.webp') 58% center/cover no-repeat}.hero-note{left:34px}.creature-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.topbar{height:64px;padding:0 13px}.brand{font-size:25px}.header-tools{gap:6px}.local-badge{display:none}.header-tools select{padding:7px 4px;max-width:100px;background:#fff;border:1px solid #e8dcf4;border-radius:11px}.coin{padding:7px 10px}.hero{margin:13px 10px 0;min-height:470px;border-radius:25px}.hero:before{background:linear-gradient(0deg,rgba(42,23,66,.99) 0%,rgba(47,27,72,.94) 32%,rgba(50,29,74,.32) 67%,rgba(52,31,77,.02) 100%),url('/refugio-hero.webp') 61% top/auto 75% no-repeat,#382654}.hero-copy{width:100%;min-height:470px;padding:225px 22px 48px}.hero-ribbon{padding:7px 10px}.hero .eyebrow{font-size:9px}.hero h1{font-size:40px;line-height:1;letter-spacing:-1.4px;margin:13px 0 9px}.hero-copy>p:not(.countdown){font-size:14px;line-height:1.45;margin-bottom:10px}.primary{padding:13px 17px;font-size:14px}.hero-note{left:22px;bottom:17px;font-size:10px}.orbit-one{left:auto;right:10%;top:11%}.orbit-two{left:auto;right:22%;top:49%}.tabs{margin:13px 10px 0;justify-content:space-between;overflow-x:auto;border-radius:15px}.tab{font-size:11px;padding:10px 9px;white-space:nowrap}.page{margin:24px 13px 38px}.section-head{margin:29px 0 14px;align-items:center}.section-head h2{font-size:26px}.eyebrow{font-size:9px}.soft-pill{font-size:10px;padding:7px 9px}.activity-grid{grid-template-columns:1fr;gap:11px}.activity{min-height:96px;border-radius:20px;padding:15px 16px}.activity-icon{width:50px;height:50px;border-radius:16px}.activity b{font-size:19px}.activity small{font-size:11px}.creature-grid{gap:9px}.creature-card{padding:10px 5px 11px;border-radius:19px}.creature-card:before{left:6px;right:6px;top:7px;border-radius:15px}.creature-card img{max-width:108px}.creature-card b{font-size:16px}.creature-card p{font-size:10px}.creature-card small{font-size:9px}.progress{height:6px;margin:6px 3px 3px}.note{font-size:11px;padding:13px;line-height:1.5}.memory-grid{gap:8px}.memory-card{border-radius:14px}.answer-grid{gap:8px}.answer{padding:7px;border-radius:16px}.answer b{font-size:13px}.scene-board{min-height:245px;padding:10px;border-radius:22px}.slot{min-height:90px}footer{margin:0 13px;gap:8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.creature-card,.activity,.primary,.answer{transition:none!important}}
.mini-heading{margin:46px 0 17px;padding:23px 26px;border-radius:24px;background:linear-gradient(110deg,#fff0c8,#ffe5f1 55%,#ece5ff);box-shadow:0 9px 22px #523d6710}.mini-heading .eyebrow{color:#a4539b}.mini-heading h2{font-size:28px;margin:6px 0;color:#482b62}.mini-heading p{margin:0;color:#75627f;font-weight:600}.mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mini-card{display:flex;align-items:center;gap:13px;text-align:left;min-height:112px;padding:15px;border:2px solid #fff;border-radius:22px;background:linear-gradient(145deg,#fff,#faf3ff);box-shadow:0 8px 20px #59446e13;cursor:pointer;transition:transform .18s,box-shadow .18s}.mini-card:hover{transform:translateY(-4px) rotate(-.4deg);box-shadow:0 14px 24px #59446e23}.mini-art,.mini-welcome-icon{flex:none;display:grid;place-items:center;width:59px;height:59px;border-radius:20px;background:linear-gradient(145deg,#f4d9ff,#dedcff);font-size:30px;color:#7a4bb0;box-shadow:inset 0 2px #ffffffb5}.mini-card-copy{display:grid;gap:5px;flex:1}.mini-card-copy b{font-size:17px;color:#422957}.mini-card-copy small{font-size:12px;line-height:1.35;color:#756981;font-weight:600}.mini-arrow{align-self:flex-start;color:#a585bf;font-size:18px}.mini-mix .mini-art,.mini-mix .mini-welcome-icon{background:linear-gradient(145deg,#ffe69b,#ffb5a8);color:#bd5f67}.mini-shadow .mini-art,.mini-shadow .mini-welcome-icon{background:linear-gradient(145deg,#dcd4fa,#bab5eb);color:#6555a0}.mini-petals .mini-art,.mini-petals .mini-welcome-icon{background:linear-gradient(145deg,#ffe1d4,#ffc7dc);color:#d26991}.mini-connect .mini-art,.mini-connect .mini-welcome-icon{background:linear-gradient(145deg,#d9eeff,#d9d8ff);color:#5370b2}.mini-bubbles .mini-art,.mini-bubbles .mini-welcome-icon{background:linear-gradient(145deg,#d2f4eb,#d3eaff);color:#4c91a5}.mini-echo .mini-art,.mini-echo .mini-welcome-icon{background:linear-gradient(145deg,#fff0b9,#ffd4e8);color:#a97631}.mini-welcome{max-width:690px;margin:auto;padding:26px 22px;text-align:center;border:2px solid white;border-radius:28px;background:linear-gradient(145deg,#fff4d9,#fbe7f8 55%,#ece8ff);box-shadow:0 12px 28px #4e356b16}.mini-welcome-icon{margin:0 auto 11px;width:80px;height:80px;font-size:41px}.mini-welcome p{font-size:18px;font-weight:700;color:#574069}.mini-welcome .game-status{margin:18px 0}.mini-play{max-width:730px;margin:0 auto;padding:23px 20px;border-radius:28px;text-align:center;background:linear-gradient(155deg,#fff9e9,#fff1f5 55%,#f1ecff);border:2px solid #fff;box-shadow:0 12px 30px #4e356b17}.mini-round{display:inline-block;padding:8px 15px;border-radius:20px;background:#fff;color:#745192;font-size:13px;font-weight:900;box-shadow:0 3px 9px #58417312}.mini-prompt{font-size:18px;font-weight:800;color:#50365f;margin:16px 0}.mini-status{min-height:24px;color:#8c4f99;font-weight:800;margin:12px 0 0}.mini-hint{font-weight:800;color:#755d8a}.echo-lights{display:flex;justify-content:center;gap:12px;margin:20px 0}.echo-dot{width:34px;height:34px;border-radius:50%;opacity:.35;box-shadow:0 0 0 5px #fff9}.echo-dot.lit{opacity:1;transform:scale(1.2);filter:brightness(1.25);box-shadow:0 0 24px currentColor,0 0 0 5px #fff}.color-rose{background:#fa6e9c;color:#fa6e9c}.color-blue{background:#64a6f5;color:#64a6f5}.color-gold{background:#ffcf59;color:#ffcf59}.color-mint{background:#5bcea5;color:#5bcea5}.mini-controls{margin-bottom:16px}.soft-button{border:0;border-radius:14px;padding:9px 14px;background:#fff;color:#704d8c;font-weight:800;box-shadow:0 3px 9px #55406314}.color-pad{display:flex;justify-content:center;gap:13px}.color-button{width:63px;height:63px;border:4px solid white;border-radius:21px;box-shadow:0 5px 0 #62437620;cursor:pointer}.tap-pop{transform:scale(.9)}.mix-target{display:grid;place-items:center;width:108px;height:108px;margin:12px auto 20px;border:7px solid white;border-radius:50%;font-weight:900;text-transform:capitalize;color:#ffffffd9;text-shadow:0 1px 4px #3336;box-shadow:0 8px 15px #44364e25}.mix-violet{background:#9b61d2}.mix-orange{background:#ff995d}.mix-green{background:#60bb79}.mix-pink{background:#ef79b0}.mix-options{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.mix-choice{min-width:112px;padding:14px;background:white;border:2px solid #eadcf1;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:8px;color:#76568d;font-size:19px}.paint{width:28px;height:28px;border-radius:50%;border:3px solid white;box-shadow:0 2px 6px #3a294444}.paint-rose{background:#fa6e9c}.paint-blue{background:#64a6f5}.paint-gold{background:#ffcf59}.paint-mint{background:#5bcea5}.shadow-figure{width:130px;height:130px;margin:10px auto 19px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#d9c8ee,#b8a9d5);overflow:hidden}.shadow-figure img{width:108px;filter:brightness(.06) saturate(0)}.mini-choice-row{display:flex;justify-content:center;gap:12px}.friend-choice{width:116px;padding:8px;border:2px solid white;border-radius:18px;background:#fff;box-shadow:0 4px 12px #54356618;color:#543864;font-weight:800}.friend-choice img{width:82px;height:82px;object-fit:contain;display:block;margin:auto}.friend-choice b{display:block;margin-top:2px}.flower-field{min-height:120px;margin:17px auto;max-width:510px;padding:18px;border-radius:22px;background:#eff9e7;display:flex;justify-content:center;align-items:center;align-content:center;gap:8px;flex-wrap:wrap}.flower-field span{font-size:34px;color:#ee76a5;text-shadow:0 3px #ffc9dc}.number-options{display:flex;justify-content:center;gap:12px}.number-choice{width:58px;height:58px;border:3px solid white;border-radius:18px;background:linear-gradient(145deg,#fff,#efe5ff);color:#7046a2;font-size:23px;font-weight:900;box-shadow:0 4px 0 #d8cae6}.constellation{position:relative;width:min(100%,510px);height:320px;margin:16px auto;border-radius:22px;overflow:hidden;background:radial-gradient(ellipse at 30% 20%,#524478,#29284d 72%);box-shadow:inset 0 0 40px #12132b}.star-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.star-lines polyline{fill:none;stroke:#ffe58a;stroke-width:1.1;stroke-dasharray:2 1;filter:drop-shadow(0 0 3px #ffe58a)}.star-point{position:absolute;z-index:1;transform:translate(-50%,-50%);width:44px;height:44px;border:2px solid #fff8;border-radius:50%;background:#fff2b8;color:#694b9e;font-size:17px;font-weight:900;box-shadow:0 0 16px #ffe890;touch-action:manipulation}.star-point.joined{background:#ff9eca;color:#fff;transform:translate(-50%,-50%) scale(1.15)}.bubble-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:460px;margin:20px auto}.bubble{aspect-ratio:1;border:3px solid #fff;border-radius:50%;font-size:30px;color:white;text-shadow:0 2px 4px #263b5944;box-shadow:0 5px 12px #4d466122;touch-action:manipulation}.bubble-star{background:linear-gradient(145deg,#f9ce65,#f6a05f)}.bubble-moon{background:linear-gradient(145deg,#8f8ae0,#646fc0)}.bubble-heart{background:linear-gradient(145deg,#ff95b2,#ef648f)}.bubble-flower{background:linear-gradient(145deg,#80d7b3,#46a9a1)}.bubble.selected{outline:4px solid #7048b2;outline-offset:2px;transform:scale(.91)}.mini-check{margin-top:4px}
@media(max-width:800px){.mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.mini-heading{padding:17px;border-radius:19px}.mini-heading h2{font-size:24px}.mini-grid{grid-template-columns:1fr;gap:9px}.mini-card{min-height:88px;padding:12px;border-radius:18px}.mini-art{width:52px;height:52px;border-radius:17px}.mini-card-copy b{font-size:16px}.mini-card-copy small{font-size:11px}.mini-play{padding:17px 12px;border-radius:22px}.color-button{width:56px;height:56px;border-radius:18px}.echo-lights{gap:9px}.echo-dot{width:29px;height:29px}.constellation{height:270px}.bubble-grid{gap:7px}.bubble{font-size:25px}.friend-choice{width:31%;padding:5px}.friend-choice img{width:70px;height:70px}.flower-field span{font-size:29px}}

/* Las ilustraciones de la colección quedan limpias, sin placas de color detrás. */
.creature-card:before{display:none}


.scene-guide{max-width:860px;margin:17px auto 0;padding:15px 18px;border:1px solid #e8dcf4;border-radius:18px;background:linear-gradient(105deg,#fff4d5,#fff0f5 55%,#f0edff);color:#645273;font-size:14px;font-weight:700;line-height:1.55;box-shadow:0 5px 14px #54366d0d}
@media(max-width:520px){.scene-guide{font-size:12px;padding:13px 14px;line-height:1.5}}


.creature-card .creature-portrait.undiscovered{filter:grayscale(1) drop-shadow(0 5px 5px #46345720);opacity:.78}
.creature-lock{position:absolute;z-index:3;top:13px;right:12px;width:31px;height:31px;display:grid;place-items:center;border:1px solid #dfd0e9;border-radius:50%;background:#fff;color:#7349a6;box-shadow:0 3px 9px #39264c35;font-size:17px;line-height:1}
@media(max-width:520px){.creature-lock{top:9px;right:8px;width:27px;height:27px;font-size:15px}}
.collection-search{display:grid;gap:7px;max-width:430px;margin:0 0 18px auto;color:#725d83;font-size:12px;font-weight:800}
.collection-search input{width:100%;border:1px solid #e5d8ef;border-radius:14px;background:#fff;padding:12px 15px;color:#422957;outline:none;box-shadow:0 4px 12px #563b6d0b}
.collection-search input:focus{border-color:#b795d4;box-shadow:0 0 0 3px #d8c3ee60}
@media(max-width:520px){.collection-search{margin-bottom:13px}.collection-search input{padding:11px 13px}}

/* Mis lugares: un carrusel que se puede recorrer con el dedo, con objetos que se arrastran libremente. */
.gift-description{max-width:390px;margin:9px 0 0!important;color:#f7e8ff!important;font-size:12px!important;line-height:1.45!important}
.places-panel{scroll-margin-top:18px;margin:30px 0 48px}
.places-heading{margin:16px 0 17px;align-items:end}
.places-intro{margin:7px 0 0;color:#786c87;font-weight:600;font-size:13px}
.carousel-controls{display:flex;align-items:center;gap:10px}
.carousel-arrow{width:40px;height:40px;border:1px solid #e6d9ef;border-radius:14px;background:#fff;color:#7950aa;font-size:25px;line-height:1;box-shadow:0 3px 0 #eadff2}
.carousel-arrow:hover{background:#f4eaff;transform:translateY(-1px)}
.places-track{display:flex;gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:3px 2px 16px;touch-action:pan-x pan-y;}
.places-track::-webkit-scrollbar{display:none}
@media(min-width:801px){.places-track{cursor:grab}.places-track.is-pointer-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}}
.place-slide{flex:0 0 min(100%,1010px);scroll-snap-align:start;scroll-snap-stop:always}
.place-stage{height:clamp(330px,40vw,455px);min-height:330px;position:relative;overflow:hidden;isolation:isolate;border-radius:28px;background:#b9d4ad;box-shadow:0 15px 36px #513b6425,inset 0 0 0 1px #fff9;touch-action:pan-x pan-y}
.place-stage:before{content:"";position:absolute;z-index:-2;inset:0;background-image:var(--place-bg);background-size:cover;background-position:center 52%;transition:filter .3s,transform .5s}
.place-slide:not(.is-locked) .place-stage:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#34214d73 0%,transparent 32%,transparent 72%,#30214938 100%);pointer-events:none}
.place-titlebox{position:absolute;z-index:1;top:18px;left:19px;max-width:min(390px,68%);padding:13px 18px;border:1px solid #fff9;border-radius:19px;background:#fff6f0ed;backdrop-filter:blur(8px);box-shadow:0 7px 22px #34234c28}
.place-titlebox h3{margin:3px 0 1px;color:#39234f;font-size:clamp(20px,3vw,29px);line-height:1.05;letter-spacing:-.4px}
.place-titlebox p{margin:5px 0 0;color:#71657b;font-size:12px;font-weight:600}
.place-kicker{color:#8755b0;font-size:9px;letter-spacing:1.4px;text-transform:uppercase;font-weight:900}
.place-hint-chip{position:absolute;top:22px;right:20px;border:1px solid #ffffff88;border-radius:15px;padding:10px 13px;background:#43305cae;color:#fff;font-size:11px;font-weight:800;backdrop-filter:blur(7px)}
.place-count{position:absolute;bottom:19px;left:20px;color:white;text-shadow:0 2px 5px #37274c;background:#37274c87;padding:9px 12px;border-radius:13px;font-size:11px;font-weight:900}
.place-actions{position:absolute;z-index:3;right:17px;bottom:15px;display:flex;gap:9px}
.place-actions .soft-button{padding:11px 15px;background:#fff9f0;color:#7450a2;box-shadow:0 4px 12px #3c2c4a44;border:1px solid #fff}
.place-actions .soft-button:hover{background:#fff;transform:translateY(-2px)}
.is-locked .place-stage:before{filter:grayscale(1) brightness(.72)}
.is-locked .place-stage:after{content:"";position:absolute;inset:0;z-index:-1;background:#37294b44}
.place-lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#fff;text-align:center;text-shadow:0 2px 7px #34213f;font-size:18px}
.lock-icon{font-size:49px;filter:drop-shadow(0 4px 5px #34213f77)}
.place-lock button{margin-top:3px;border:1px solid #fff;border-radius:15px;background:#fff4df;color:#56366c;padding:12px 19px;font-weight:900;box-shadow:0 5px 0 #ca9a4c}
.place-lock small{font-size:11px;color:#fff}
.places-hint{display:flex;align-items:center;gap:8px;margin:4px 3px 0;color:#776987;font-size:12px;font-weight:700}
.placed-wrap{position:absolute;z-index:2;transform:translate(-50%,-50%);width:clamp(52px,8vw,91px);height:clamp(65px,9.7vw,110px);display:grid;place-items:center}
.place-object{width:100%;height:100%;border:0;border-radius:23px;background:transparent;display:grid;place-items:center;cursor:grab;touch-action:none;user-select:none;filter:drop-shadow(0 5px 5px #2d224260);transition:transform .12s}
.place-object:hover{transform:scale(1.08)}.place-object:active{cursor:grabbing;transform:scale(1.13)}
.place-creature img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.place-decoration span{font-size:clamp(38px,6vw,68px);line-height:1;filter:drop-shadow(0 2px 0 #fff9)}
.remove-item{position:absolute;z-index:4;top:-1px;right:-3px;width:24px;height:24px;border:2px solid #fff;border-radius:50%;background:#f179a5;color:#fff;font-weight:900;line-height:17px;opacity:0;transform:scale(.8);transition:.15s;box-shadow:0 3px 7px #38224750}
.placed-wrap:hover .remove-item,.placed-wrap:focus-within .remove-item{opacity:1;transform:scale(1)}
.place-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:9px;max-height:62vh;overflow:auto;padding:5px}
.place-choice{border:1px solid #eee1f2;border-radius:16px;background:#fff;padding:9px;color:#4b355e;font-weight:800}.place-choice img{display:block;width:75px;height:75px;object-fit:contain;margin:0 auto}
dialog:has(.decor-shop-grid){width:min(960px,calc(100% - 28px));max-width:960px;max-height:90vh;overflow:hidden;padding:24px 22px 20px}
.decor-shop-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:min(68vh,650px);overflow:auto;padding:4px 6px 8px}
.decor-card{position:relative;min-height:158px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;padding:10px 7px 9px;border:1px solid #eee1f2;border-radius:17px;background:linear-gradient(150deg,#fff,#fff7ef);text-align:center;color:#49345c;overflow:hidden}
.decor-icon{height:66px;display:grid;place-items:center;font-size:47px;filter:drop-shadow(0 4px 3px #61466a22)}
.decor-card b{font-size:12px;line-height:1.2;min-height:28px}.decor-card small{font-size:10px;color:#806c8e;font-weight:800}
.decor-card button{width:100%;border:0;border-radius:10px;background:#eee4f7;color:#704b98;padding:7px 4px;font-size:10px;font-weight:900}
.decor-locked{background:#f5f2f6;color:#756b7e}.decor-locked .decor-icon{filter:grayscale(1);opacity:.62}
.decor-lock{position:absolute;z-index:2;top:8px;right:9px;width:31px;height:31px;display:grid;place-items:center;border:1px solid #dfd0e9;border-radius:50%;background:#fff;color:#7349a6;box-shadow:0 3px 9px #39264c35;font-size:17px;filter:none}
@media(max-width:800px){.places-panel{margin:23px 0 38px}.place-slide{flex-basis:91%}.place-stage{height:clamp(340px,55vw,420px)}.decor-shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.gift-description{font-size:10px!important;max-width:320px}.places-heading{align-items:center;gap:8px}.places-intro{max-width:230px;font-size:11px;line-height:1.4}.carousel-controls{gap:5px}.carousel-arrow{width:32px;height:34px;border-radius:11px;font-size:21px}.places-track{gap:11px;margin-right:-13px;padding-right:13px}.place-slide{flex-basis:88%}.place-stage{height:360px;min-height:360px;border-radius:22px}.place-titlebox{top:11px;left:10px;max-width:72%;padding:10px 12px;border-radius:15px}.place-titlebox h3{font-size:21px}.place-titlebox p{font-size:10px}.place-kicker{font-size:8px}.place-hint-chip{top:auto;right:9px;bottom:72px;max-width:48%;font-size:9px;padding:8px 9px}.place-count{left:9px;bottom:15px;font-size:9px;padding:8px 9px}.place-actions{right:9px;bottom:10px;gap:5px}.place-actions .soft-button{font-size:10px;padding:9px 9px;border-radius:12px}.placed-wrap{width:58px;height:69px}.place-decoration span{font-size:43px}.remove-item{opacity:.85}.places-hint{font-size:10px;line-height:1.4}.decor-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:65vh}.decor-card{min-height:143px;padding:8px 5px}.decor-icon{height:53px;font-size:39px}.decor-card b{font-size:10px;min-height:25px}.decor-card button{font-size:9px}.place-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Compacta la bienvenida: el regalo horario queda claro y visible justo antes de Mis lugares. */
.hourly-reward{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:18px;margin:2px 0 26px;padding:17px 21px;border:1px solid #f3d6bd;border-radius:23px;background:linear-gradient(105deg,#fff0d2 0%,#ffedf2 48%,#efe8ff 100%);box-shadow:0 10px 24px #563d6815;}
.hourly-icon{position:relative;width:72px;height:72px;display:grid;place-items:center;border:3px solid #fff;border-radius:23px;background:linear-gradient(145deg,#ffd66f,#f4a6ba 54%,#a78ce1);font-size:36px;box-shadow:0 5px 0 #d7bddc,0 8px 15px #69517820;transform:rotate(-3deg)}
.hourly-icon span{position:absolute;right:-7px;top:-9px;color:#fff7ad;font-size:20px;text-shadow:0 2px 5px #9f71aa}
.hourly-copy .eyebrow{color:#a04e91}
.hourly-copy h2{margin:4px 0 3px;color:#392650;font-size:22px;letter-spacing:-.35px}
.hourly-reward .gift-description{max-width:600px;margin:0!important;color:#6f617c!important;font-size:12px!important;line-height:1.4!important}
.hourly-reward .countdown{display:inline-block;margin:7px 0 0!important;padding:5px 9px;border-radius:10px;background:#fff9;color:#79559c;font-size:11px!important;font-weight:800}
.hourly-reward .primary{margin:0;white-space:nowrap}
@media(max-width:650px){.hourly-reward{grid-template-columns:55px minmax(0,1fr);gap:11px;margin:0 0 20px;padding:13px;border-radius:19px}.hourly-icon{width:52px;height:52px;border-radius:17px;font-size:27px}.hourly-icon span{font-size:15px;right:-6px;top:-8px}.hourly-copy .eyebrow{font-size:8px}.hourly-copy h2{font-size:17px;line-height:1.15}.hourly-reward .gift-description{font-size:10px!important}.hourly-reward .countdown{font-size:10px!important;margin-top:6px!important}.hourly-reward .primary{grid-column:1/-1;justify-self:center;width:min(100%,270px);justify-content:center;padding:11px 14px}}
dialog:has(.hourly-gift-sequence){width:min(440px,calc(100% - 30px));max-width:440px;padding:25px 24px 23px;overflow:visible}
.hourly-gift-sequence{display:flex;flex-direction:column;align-items:center;gap:11px;width:100%;text-align:center}
.gift-sequence-loading{display:grid;place-items:center;width:min(100%,340px);height:clamp(330px,52vh,430px);border:1px solid #eedcf5;border-radius:28px;background:radial-gradient(circle,#fff,#f6eaff 70%);color:#a272ce;font-size:54px;animation:gift-wait 1s ease-in-out infinite alternate}
.gift-sequence-progress{display:flex;gap:7px;align-items:center;justify-content:center;height:9px}
.gift-sequence-progress i{width:25px;height:7px;border-radius:99px;background:#e7d9ee;transition:all .3s}
.gift-sequence-progress i.active{width:43px;background:linear-gradient(90deg,#c77be4,#8051bb);box-shadow:0 2px 8px #a46bc666}
.prize-card{position:relative;display:block;width:min(100%,340px);height:clamp(330px,52vh,430px);padding:0;border:0;border-radius:27px;background:transparent;perspective:1500px;cursor:pointer;color:#49345e;text-align:center;filter:drop-shadow(0 13px 18px #49305633);transition:transform .24s,opacity .24s}
.prize-card:hover{transform:translateY(-2px)}
.prize-card-inner{position:absolute;inset:0;display:block;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.2,.75,.25,1)}
.prize-card.is-revealed .prize-card-inner{transform:rotateY(180deg)}
.prize-card.is-leaving{transform:translateX(50px) rotate(6deg) scale(.82);opacity:0}
.prize-card-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden;padding:29px 24px;border:3px solid #fff;border-radius:27px;backface-visibility:hidden;box-shadow:inset 0 0 0 1px #d6b96d,0 0 0 1px #dfc9ed}
.prize-card-cover{background-position:center;background-size:cover}
.prize-card-fragments .prize-card-cover{background-image:url('/gift-card-art-fragments.webp'),linear-gradient(145deg,#f8d8f0,#fff2dc)}
.prize-card-sparkles .prize-card-cover{background-image:url('/gift-card-art-sparkles.webp'),linear-gradient(145deg,#a7a7eb,#ffe49d)}
.prize-card-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fff1 0%,#fff8 37%,#fff7 67%,#fff2 100%)}
.prize-card-cover:after{content:"";position:absolute;inset:12px;border:1.5px solid #fff9;border-radius:20px;box-shadow:inset 0 0 0 1px #c9a85a66,0 0 18px #fff8}
.prize-card-cover>*{position:relative;z-index:1}
.prize-card-cover-ribbon{padding:7px 13px;border:1px solid #fff;border-radius:99px;background:#fff9;color:#765096;font-size:9px;font-weight:1000;letter-spacing:2px;box-shadow:0 3px 9px #4c315222}
.prize-card-cover-emblem{display:grid;place-items:center;width:86px;height:86px;border:2px solid #fff;border-radius:50%;outline:1px solid #cda954;outline-offset:4px;background:radial-gradient(circle at 35% 28%,#fff 0,#fff9 40%,#f2d7f6 100%);box-shadow:0 7px 19px #53336232;color:#aa72ce;font-size:43px;text-shadow:0 2px white}
.prize-card-sparkles .prize-card-cover-emblem{background:radial-gradient(circle at 35% 28%,#fff9d8 0,#fff9 42%,#d9cbff 100%);color:#9c72ce;text-shadow:0 0 14px #ffdb68}
.prize-card-cover>strong{max-width:245px;color:#49345e;font:900 clamp(23px,4vh,31px)/1.05 'Trebuchet MS',Arial,sans-serif;letter-spacing:-.5px;text-shadow:0 2px 12px #fff}
.prize-card-cover-rule{width:84px;height:2px;border-radius:9px;background:linear-gradient(90deg,transparent,#c9a551,transparent)}
.prize-card-cover-instruction{padding:10px 16px;border:1px solid #fff;border-radius:14px;background:#fffC;color:#704990;font-size:12px;font-weight:900;box-shadow:0 5px 13px #50356320}
.prize-card-reveal{transform:rotateY(180deg);background-position:center;background-size:cover}
.prize-card-fragments .prize-card-reveal{background-image:url('/gift-card-art-fragments.webp'),linear-gradient(145deg,#f9eaff,#fff4e5)}
.prize-card-sparkles .prize-card-reveal{background-image:url('/gift-card-art-sparkles.webp'),linear-gradient(145deg,#e1dcff,#fff4c5)}
.prize-card-reveal:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#fffeddf2,#fffaf4e8 52%,#f6eaffed)}
.prize-card-reveal>*{position:relative;z-index:1}
.prize-card-reveal-kicker{padding:7px 12px;border-radius:99px;background:#fff;color:#79539b;font-size:10px;font-weight:1000;letter-spacing:1px;box-shadow:0 3px 8px #48305220}
.prize-card-reveal img{width:clamp(105px,19vh,150px);height:clamp(105px,19vh,150px);object-fit:contain;filter:drop-shadow(0 7px 7px #44305230)}
.prize-card-reveal>strong{font:900 25px/1.05 'Trebuchet MS',Arial,sans-serif;color:#49345e}
.prize-card-amount{font-size:clamp(38px,7vh,54px);line-height:.95;font-weight:1000;color:#784bbb;text-shadow:0 3px #fff,0 6px 15px #65418335}
.prize-card-unit{font-size:13px;font-weight:1000;color:#705087}
.prize-card-sparkle-emblem{color:#a76cd0;font-size:37px;letter-spacing:5px;text-shadow:0 0 20px #ffdc69}
.gift-sequence-hint{margin:0;color:#755989;font-size:12px;font-weight:800}
@keyframes gift-wait{to{transform:scale(1.06) rotate(8deg);opacity:.65}}
@media(max-width:520px){dialog:has(.hourly-gift-sequence){padding:21px 17px 19px}.hourly-gift-sequence{gap:8px}.prize-card,.gift-sequence-loading{height:min(410px,50vh);min-height:315px}.prize-card-face{padding:23px 19px}.prize-card-cover-emblem{width:76px;height:76px;font-size:37px}.prize-card-cover>strong{font-size:25px}.prize-card-reveal>strong{font-size:22px}.gift-sequence-hint{font-size:11px}}
@media(prefers-reduced-motion:reduce){.prize-card-inner,.prize-card,.gift-sequence-progress i{transition:none}.gift-sequence-loading{animation:none}}
.brand{font-size:clamp(19px,2.3vw,26px);font-weight:900;letter-spacing:-.65px;white-space:nowrap}
@media(max-width:520px){.topbar{height:auto;min-height:78px;display:flex;flex-wrap:wrap;align-content:center;gap:5px 8px;padding:8px 13px}.brand{flex:0 0 100%;font-size:18px;line-height:1.1;letter-spacing:-.45px}.header-tools{width:100%;justify-content:flex-end;gap:7px}.header-tools select{max-width:96px}.coin{padding:5px 9px;font-size:12px}.coin small{font-size:9px}}

/* Daily question and reward */
.daily-challenge{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:center;min-height:206px;overflow:hidden;margin:0 0 27px;padding:22px 26px;border:1px solid #eadcf1;border-radius:25px;background:linear-gradient(112deg,#fff4dd 0%,#fff2ec 48%,#f2e8ff 100%);box-shadow:0 10px 26px #62477910}
.daily-challenge:before{content:"";position:absolute;z-index:-1;right:14%;top:-125px;width:310px;height:310px;border:1px solid #fff9;border-radius:50%;box-shadow:0 0 0 24px #fff3,0 0 0 49px #fff2}
.daily-challenge-copy{position:relative;z-index:2;max-width:600px}
.daily-challenge h2{margin:5px 0 7px;color:#453455;font:900 clamp(22px,2.5vw,30px)/1.08 'Trebuchet MS',Arial,sans-serif;letter-spacing:-.6px}
.daily-challenge-copy>p{max-width:495px;margin:0 0 13px;color:#766d80;font-size:13px;line-height:1.45}
.daily-challenge-status{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin:0 0 12px;padding:8px 12px;border:1px solid #fff;border-radius:14px;background:#fff9;color:#856429;font-size:11px;font-weight:900;box-shadow:0 3px 10px #704c1a0c}
.daily-status-orb{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:linear-gradient(145deg,#ffe28d,#f8b75e);color:#fff;font-size:13px;box-shadow:0 2px 6px #d4954766}
.daily-challenge-status.is-complete{color:#5c4771;background:#fffd}
.daily-challenge-status.is-complete .daily-status-orb{background:linear-gradient(145deg,#b8e5ca,#70bea3)}
.daily-challenge-status small{display:block;margin-top:2px;color:#7d698b;font-size:10px;font-weight:800}
.daily-start{margin-top:0;padding:11px 16px;border-radius:13px;font-size:12px}
.daily-start:disabled{opacity:.72;cursor:default;box-shadow:0 3px 0 #5e4e75}
.daily-challenge-art{position:absolute;z-index:1;right:4px;bottom:-20px;width:270px;height:225px;pointer-events:none}
.daily-challenge-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 11px 12px #64437520)}
.daily-challenge-sheen{position:absolute;z-index:0;right:8%;top:-16px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,#fff8,#fff0 68%);pointer-events:none}
dialog:has(.daily-quiz),dialog:has(.daily-won){width:min(590px,calc(100% - 28px));max-width:590px;padding:24px 24px 22px}
.daily-quiz{text-align:center}
.daily-question-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border:1px solid #eddef2;border-radius:99px;background:#f7effb;color:#9565b2;font-size:9px;font-weight:1000;letter-spacing:1.4px}
.daily-question-prompt{max-width:460px;margin:16px auto 18px;color:#473656;font:900 clamp(20px,3vw,26px)/1.17 'Trebuchet MS',Arial,sans-serif;letter-spacing:-.3px}
.daily-answer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.daily-answer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:132px;padding:12px 8px;border:1.5px solid #eee1f2;border-radius:19px;background:linear-gradient(160deg,#fff,#fbf6ff);color:#493b58;box-shadow:0 5px 15px #50356410;transition:transform .18s,border-color .18s,box-shadow .18s}
.daily-answer:hover:not(:disabled){transform:translateY(-3px);border-color:#c9a6df;box-shadow:0 9px 19px #5035641a}
.daily-answer:focus-visible{outline:3px solid #bb91d8;outline-offset:2px}
.daily-answer:disabled{cursor:wait}
.daily-answer-icon{display:grid;place-items:center;min-height:53px;color:#9869bd;font-size:40px;line-height:1;text-shadow:0 3px 9px #70508b20}
.daily-answer b{font-size:13px;line-height:1.15}
.daily-answer-missed{animation:answer-nudge .35s ease-in-out}
@keyframes answer-nudge{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.daily-retry-note{margin:13px 0 0;color:#8d8296;font-size:11px}
.daily-feedback{display:none;margin:11px 0 0;padding:11px 13px;border-radius:14px;background:#fff3dd;color:#75532e;font-size:12px;line-height:1.4}
.daily-feedback.is-hint{display:flex;flex-direction:column;gap:3px}
.daily-feedback b{color:#754aa0}
.daily-won{text-align:center}
.daily-win-sparkles{display:block;margin:0 auto -7px;color:#d69d42;font-size:18px;letter-spacing:8px;text-shadow:0 0 14px #ffe29a}
.daily-won-art{display:block;width:125px;height:130px;margin:0 auto -6px;object-fit:contain;filter:drop-shadow(0 6px 10px #62477922)}
.daily-explanation{max-width:380px;margin:0 auto 12px;color:#756a80;font-size:13px;line-height:1.45}
.daily-prize-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;width:min(100%,330px);margin:10px auto 17px;padding:16px;border:1px solid #fff;border-radius:19px;background:linear-gradient(135deg,#fff5d5,#f6eaff 53%,#ffe6de);box-shadow:0 7px 18px #60487817,inset 0 0 0 1px #ead7a866;animation:prize-pop .5s cubic-bezier(.2,.8,.2,1) both}
.daily-prize-card:before,.daily-prize-card:after{content:"✦";position:absolute;color:#d4a44c;text-shadow:0 0 10px #ffe59c}
.daily-prize-card:before{left:14px;top:14px}.daily-prize-card:after{right:14px;bottom:14px;font-size:13px}
.daily-prize-card>span{color:#81649a;font-size:10px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}
.daily-prize-card>strong{color:#7445ad;font-size:34px;line-height:1.1;text-shadow:0 2px #fff}
.daily-prize-card>b{color:#8a6f9a;font-size:12px}
@keyframes prize-pop{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:650px){.daily-challenge{grid-template-columns:minmax(0,1fr) 118px;min-height:190px;margin-bottom:23px;padding:17px 15px;border-radius:21px}.daily-challenge-art{right:-15px;bottom:-7px;width:166px;height:170px;opacity:.94}.daily-challenge-sheen{right:-10%;top:5px;width:165px;height:165px}.daily-challenge-copy{max-width:100%}.daily-challenge h2{max-width:360px;font-size:22px}.daily-challenge-copy>p{max-width:390px;padding-right:4px;font-size:11px}.daily-challenge-status{gap:6px;padding:7px 9px;font-size:9px}.daily-status-orb{width:20px;height:20px}.daily-start{padding:9px 12px;font-size:11px}.daily-challenge-art img{object-position:center}.daily-answer-grid{gap:7px}.daily-answer{min-height:116px;padding:10px 5px;border-radius:15px}.daily-answer-icon{min-height:44px;font-size:32px}.daily-answer b{font-size:11px}.daily-question-prompt{margin:13px auto 15px;font-size:21px}}
@media(max-width:390px){.daily-challenge{grid-template-columns:minmax(0,1fr) 85px;padding:14px 12px}.daily-challenge-art{right:-23px;width:145px;height:158px}.daily-challenge h2{font-size:19px}.daily-challenge-status{font-size:8px}.daily-answer-grid{grid-template-columns:1fr}.daily-answer{flex-direction:row;justify-content:flex-start;min-height:68px;padding:8px 13px}.daily-answer-icon{width:48px;min-height:44px;font-size:31px}.daily-answer b{font-size:13px}.daily-quiz{max-height:65vh;overflow-y:auto}}

/* Daily challenge: a lighter, shorter home card and clearer quiz/reward states. */
.daily-challenge{grid-template-columns:minmax(0,1fr) 205px;min-height:152px;margin-bottom:21px;padding:17px 22px;border-radius:22px}
.daily-challenge-copy{max-width:640px}
.daily-challenge h2{margin:3px 0 4px;font-size:clamp(21px,2.2vw,27px)}
.daily-challenge-copy>p{margin-bottom:9px;font-size:12px}
.daily-challenge-status{display:inline-flex;vertical-align:middle;margin:0 9px 0 0;padding:6px 10px;font-size:10px}
.daily-status-orb{width:21px;height:21px}
.daily-start{display:inline-flex;vertical-align:middle;padding:9px 14px}
.daily-challenge-art{right:3px;bottom:-17px;width:218px;height:171px}
dialog:has(.daily-quiz),dialog:has(.daily-won){width:min(550px,calc(100% - 28px));padding:21px 23px 19px;border:1px solid #efdfef;border-radius:25px;background:linear-gradient(145deg,#fffdf8,#fff9ff);box-shadow:0 24px 80px #33204555}
dialog:has(.daily-quiz) .modal-content>h2,dialog:has(.daily-won) .modal-content>h2{margin:0 0 14px;text-align:center;font-size:22px}
.daily-quiz{position:relative;padding:2px 0 0}
.daily-question-badge{padding:6px 12px;border-color:#ead6f4;background:linear-gradient(110deg,#fff1d9,#f5e9ff);box-shadow:0 3px 10px #6e4d7d0d}
.daily-question-prompt{max-width:450px;margin:11px auto 13px;padding:14px 20px;border:1px solid #f0e2f1;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#fff 0,#fff9f4 80%);box-shadow:inset 0 1px #fff,0 5px 15px #6140780d;font-size:clamp(19px,2.7vw,24px)}
.daily-answer-grid{gap:10px}
.daily-answer{position:relative;min-height:106px;gap:7px;padding:10px;border-color:#eee3f1;border-radius:17px;background:linear-gradient(155deg,#fff 5%,#fcf7ff 100%);box-shadow:0 4px 12px #5035640d}
.daily-answer:before{content:"";position:absolute;top:8px;left:9px;width:20px;height:20px;border-radius:50%;background:#f3e8fa}
.daily-answer-icon{min-height:42px;font-size:34px}
.daily-answer b{max-width:100%;font-size:12px}
.daily-retry-note{margin:10px 0 0;font-size:10px}
.daily-feedback{margin:8px 0 0;padding:9px 12px}
.daily-won{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:15px;text-align:left}
.daily-win-sparkles{grid-column:1/-1;margin:0 auto -2px;font-size:15px}
.daily-won-art{grid-column:1;grid-row:2;width:100px;height:105px;margin:0;filter:drop-shadow(0 5px 8px #62477920)}
.daily-win-copy{grid-column:2;grid-row:2;align-self:center}
.daily-explanation{margin:0 0 8px;font-size:12px}
.daily-prize-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;width:100%;margin:0;padding:11px 14px;border-radius:16px;text-align:left}
.daily-prize-card>span{font-size:9px}
.daily-prize-card>strong{grid-column:2;grid-row:1/3;font-size:30px}
.daily-prize-card>b{font-size:11px}
.daily-won>.primary{grid-column:1/-1;justify-self:center;margin-top:13px;padding:10px 19px}
@media(max-width:650px){.daily-challenge{grid-template-columns:minmax(0,1fr) 105px;min-height:151px;margin-bottom:19px;padding:14px 14px;border-radius:19px}.daily-challenge-copy{padding-right:0}.daily-challenge h2{max-width:310px;margin:3px 0 4px;font-size:20px}.daily-challenge-copy>p{max-width:340px;margin:0 0 8px;padding-right:0;font-size:10px;line-height:1.35}.daily-challenge-status{display:flex;width:max-content;max-width:calc(100% - 4px);margin:0 0 7px;padding:5px 8px;font-size:9px}.daily-start{padding:8px 11px;font-size:10px}.daily-challenge-art{right:-18px;bottom:-8px;width:145px;height:143px;opacity:.86}.daily-challenge-sheen{right:-10%;top:5px;width:145px;height:145px}.daily-answer-grid{gap:7px}.daily-answer{min-height:96px;padding:9px 5px}.daily-question-prompt{margin:10px auto 11px;padding:12px 14px;font-size:20px}.daily-won{grid-template-columns:72px minmax(0,1fr);column-gap:10px}.daily-won-art{width:72px;height:82px}.daily-prize-card{padding:9px 10px}.daily-prize-card>strong{font-size:27px}.daily-explanation{font-size:11px}}
@media(max-width:390px){.daily-challenge{grid-template-columns:minmax(0,1fr) 78px;min-height:160px;padding:12px}.daily-challenge h2{font-size:18px}.daily-challenge-art{right:-26px;width:132px;height:139px}.daily-challenge-status{font-size:8px}.daily-answer-grid{grid-template-columns:1fr}.daily-answer{min-height:58px;justify-content:flex-start;flex-direction:row;padding:7px 11px}.daily-answer:before{display:none}.daily-answer-icon{width:40px;min-height:38px;font-size:29px}.daily-quiz{max-height:68vh;overflow-y:auto}.daily-won{grid-template-columns:58px minmax(0,1fr);column-gap:8px}.daily-won-art{width:58px;height:68px}.daily-prize-card{padding:8px}.daily-prize-card>strong{font-size:24px}}


/* Keep both daily and hourly rewards together in a compact home strip. */
#homePage .gift-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0 0 24px}
#homePage .gift-panels>.hourly-reward,#homePage .gift-panels>.daily-challenge{box-sizing:border-box;min-width:0;min-height:112px;height:112px;margin:0;padding:13px 15px;border-radius:19px}
#homePage .gift-panels>.hourly-reward{grid-template-columns:43px minmax(0,1fr);grid-template-rows:1fr auto;column-gap:10px;row-gap:0;align-content:center}
#homePage .hourly-reward .hourly-icon{grid-column:1;grid-row:1/3;width:42px;height:42px;border-radius:14px;font-size:23px;align-self:center}
#homePage .hourly-copy{grid-column:2;grid-row:1;min-width:0;align-self:end}
#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:8px;letter-spacing:1.3px}
#homePage .hourly-copy h2{margin:2px 0;font-size:16px;line-height:1.1}
#homePage .hourly-reward .gift-description{overflow:hidden;font-size:9px!important;line-height:1.25!important;text-overflow:ellipsis;white-space:nowrap}
#homePage .hourly-reward .countdown{margin:4px 0 0!important;padding:3px 7px;font-size:8px!important;line-height:1.1}
#homePage .gift-panels>.hourly-reward>.primary{grid-column:2;grid-row:2;justify-self:start;align-self:start;margin-top:4px;padding:7px 10px;border-radius:10px;font-size:9px;box-shadow:0 2px 0 #cf8d45}
#homePage .daily-challenge{grid-template-columns:minmax(0,1fr) 78px;align-items:center;padding:12px 13px}
#homePage .daily-challenge-copy{min-width:0;max-width:none}
#homePage .daily-challenge h2{margin:2px 0 3px;font-size:16px;line-height:1.1}
#homePage .daily-challenge-copy>p{overflow:hidden;margin:0 0 5px;font-size:9px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
#homePage .daily-challenge-status{max-width:100%;margin:0 5px 0 0;padding:4px 7px;font-size:8px;line-height:1.1}
#homePage .daily-status-orb{width:17px;height:17px;font-size:10px}
#homePage .daily-challenge-status small{font-size:8px}
#homePage .daily-start{padding:6px 8px;border-radius:9px;font-size:8px;line-height:1.1}
#homePage .daily-challenge-art{right:-7px;bottom:-8px;width:91px;height:91px;opacity:.83}
#homePage .daily-challenge-sheen{right:-7%;top:5px;width:90px;height:90px}
@media(max-width:700px){#homePage .gift-panels{grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:18px}#homePage .gift-panels>.hourly-reward{height:91px;min-height:91px;padding:10px 12px;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:9px}#homePage .hourly-reward .hourly-icon{grid-column:1;grid-row:1/3;width:38px;height:38px;font-size:21px}#homePage .hourly-copy{grid-column:2/4;grid-row:1}#homePage .hourly-copy h2{font-size:15px}#homePage .hourly-reward .gift-description{font-size:8px!important}#homePage .hourly-reward .countdown{margin-top:3px!important}#homePage .gift-panels>.hourly-reward>.primary{grid-column:3;grid-row:2;align-self:center;margin:2px 0 0;padding:7px 8px;font-size:8px}#homePage .gift-panels>.daily-challenge{height:100px;min-height:100px;grid-template-columns:minmax(0,1fr) 75px;padding:10px 12px}#homePage .daily-challenge h2{font-size:16px}#homePage .daily-challenge-copy>p{max-width:calc(100% - 2px);font-size:8px}#homePage .daily-challenge-status{font-size:8px}#homePage .daily-start{padding:6px 7px;font-size:8px}#homePage .daily-challenge-art{right:-9px;bottom:-7px;width:85px;height:85px}}
@media(max-width:390px){#homePage .gift-panels>.hourly-reward{grid-template-columns:34px minmax(0,1fr) auto;padding:9px}#homePage .hourly-reward .hourly-icon{width:33px;height:33px;font-size:18px}#homePage .hourly-copy h2{font-size:13px}#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:7px}#homePage .gift-panels>.hourly-reward>.primary{font-size:7px}#homePage .daily-challenge h2{font-size:15px}}

/* Readable sizing for the paired reward cards. */
#homePage .gift-panels>.hourly-reward,#homePage .gift-panels>.daily-challenge{height:148px;min-height:148px;padding:17px 18px;border-radius:20px}
#homePage .gift-panels>.hourly-reward{grid-template-columns:50px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:0;align-content:center}
#homePage .hourly-reward .hourly-icon{width:48px;height:48px;border-radius:16px;font-size:26px}
#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:9px;letter-spacing:1.45px}
#homePage .hourly-copy h2{margin:4px 0;font-size:19px;line-height:1.15}
#homePage .hourly-reward .gift-description{overflow:visible;white-space:normal;font-size:11px!important;line-height:1.35!important}
#homePage .hourly-reward .countdown{margin:6px 0 0!important;padding:5px 8px;font-size:10px!important}
#homePage .gift-panels>.hourly-reward>.primary{margin-top:8px;padding:9px 12px;border-radius:11px;font-size:10px}
#homePage .daily-challenge{grid-template-columns:minmax(0,1fr) 104px;padding:15px 17px}
#homePage .daily-challenge-copy{max-width:320px}
#homePage .daily-challenge h2{margin:4px 0;font-size:20px;line-height:1.15}
#homePage .daily-challenge-copy>p{overflow:visible;white-space:normal;margin:0 0 9px;font-size:11px;line-height:1.35}
#homePage .daily-challenge-status{display:flex;width:max-content;max-width:100%;margin:0 0 7px;padding:6px 9px;font-size:9px;line-height:1.2}
#homePage .daily-status-orb{width:20px;height:20px;font-size:12px}
#homePage .daily-challenge-status small{font-size:9px}
#homePage .daily-start{padding:8px 11px;border-radius:10px;font-size:10px}
#homePage .daily-challenge-art{right:-3px;bottom:-8px;width:117px;height:117px;opacity:.9}
#homePage .daily-challenge-sheen{right:-5%;top:3px;width:115px;height:115px}
@media(max-width:700px){#homePage .gift-panels>.hourly-reward{height:119px;min-height:119px;padding:12px 14px;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px}#homePage .hourly-reward .hourly-icon{width:40px;height:40px;font-size:22px}#homePage .hourly-copy h2{font-size:17px}#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:8px}#homePage .hourly-reward .gift-description{font-size:10px!important;line-height:1.3!important}#homePage .hourly-reward .countdown{margin-top:4px!important;font-size:9px!important}#homePage .gift-panels>.hourly-reward>.primary{grid-column:2/4;grid-row:2;justify-self:start;align-self:start;margin:7px 0 0;padding:8px 11px;font-size:9px}#homePage .gift-panels>.daily-challenge{height:130px;min-height:130px;grid-template-columns:minmax(0,1fr) 92px;padding:12px 14px}#homePage .daily-challenge-copy{max-width:100%;padding-right:0}#homePage .daily-challenge h2{max-width:calc(100% - 12px);font-size:18px}#homePage .daily-challenge-copy>p{max-width:calc(100% - 3px);font-size:10px;line-height:1.3}#homePage .daily-challenge-status{max-width:calc(100% - 3px);font-size:9px}#homePage .daily-start{padding:7px 9px;font-size:9px}#homePage .daily-challenge-art{right:-12px;bottom:-5px;width:100px;height:100px}}
@media(max-width:390px){#homePage .gift-panels>.hourly-reward{height:125px;min-height:125px;grid-template-columns:36px minmax(0,1fr) auto;padding:11px}#homePage .hourly-reward .hourly-icon{width:35px;height:35px;font-size:19px}#homePage .hourly-copy h2{font-size:16px}#homePage .hourly-reward .gift-description{font-size:9px!important}#homePage .gift-panels>.hourly-reward>.primary{font-size:8px}#homePage .gift-panels>.daily-challenge{height:136px;min-height:136px;grid-template-columns:minmax(0,1fr) 76px;padding:11px 12px}#homePage .daily-challenge h2{font-size:17px}#homePage .daily-challenge-copy>p{font-size:9px}#homePage .daily-challenge-art{right:-20px;width:90px;height:90px}}

/* Strong readability pass for the home reward cards. */
#homePage .gift-panels>.hourly-reward,#homePage .gift-panels>.daily-challenge{height:186px;min-height:186px;padding:21px 22px;border-radius:22px}
#homePage .gift-panels>.hourly-reward{grid-template-columns:58px minmax(0,1fr);column-gap:14px}
#homePage .hourly-reward .hourly-icon{width:55px;height:55px;border-radius:18px;font-size:30px}
#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:11px;letter-spacing:1.65px}
#homePage .hourly-copy h2{margin:6px 0;font-size:23px;line-height:1.15}
#homePage .hourly-reward .gift-description{font-size:14px!important;line-height:1.4!important}
#homePage .hourly-reward .countdown{margin:8px 0 0!important;padding:6px 10px;font-size:12px!important}
#homePage .gift-panels>.hourly-reward>.primary{margin-top:10px;padding:10px 14px;border-radius:12px;font-size:12px}
#homePage .daily-challenge{grid-template-columns:minmax(0,1fr) 120px;padding:18px 21px}
#homePage .daily-challenge-copy{max-width:330px}
#homePage .daily-challenge h2{margin:6px 0;font-size:23px;line-height:1.15}
#homePage .daily-challenge-copy>p{margin:0 0 11px;font-size:14px;line-height:1.4}
#homePage .daily-challenge-status{margin:0 0 9px;padding:7px 10px;font-size:11px;line-height:1.25}
#homePage .daily-status-orb{width:23px;height:23px;font-size:14px}
#homePage .daily-challenge-status small{font-size:11px}
#homePage .daily-start{padding:9px 13px;border-radius:11px;font-size:12px}
#homePage .daily-challenge-art{right:-5px;bottom:-10px;width:135px;height:135px;opacity:.92}
#homePage .daily-challenge-sheen{right:-5%;top:3px;width:135px;height:135px}
@media(max-width:700px){#homePage .gift-panels>.hourly-reward{height:157px;min-height:157px;padding:15px 17px;grid-template-columns:48px minmax(0,1fr) auto;column-gap:12px}#homePage .hourly-reward .hourly-icon{width:46px;height:46px;font-size:25px}#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:10px}#homePage .hourly-copy h2{font-size:20px}#homePage .hourly-reward .gift-description{font-size:12px!important}#homePage .hourly-reward .countdown{margin-top:6px!important;font-size:11px!important}#homePage .gift-panels>.hourly-reward>.primary{margin-top:8px;padding:9px 12px;font-size:11px}#homePage .gift-panels>.daily-challenge{height:165px;min-height:165px;grid-template-columns:minmax(0,1fr) 100px;padding:15px 17px}#homePage .daily-challenge h2{font-size:21px}#homePage .daily-challenge-copy>p{max-width:100%;font-size:12px;line-height:1.4}#homePage .daily-challenge-status{font-size:10px}#homePage .daily-challenge-status small{font-size:10px}#homePage .daily-start{font-size:11px}#homePage .daily-challenge-art{right:-12px;bottom:-6px;width:112px;height:112px}}
@media(max-width:390px){#homePage .gift-panels>.hourly-reward{height:166px;min-height:166px;grid-template-columns:40px minmax(0,1fr) auto;padding:13px}#homePage .hourly-reward .hourly-icon{width:39px;height:39px;font-size:21px}#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:9px}#homePage .hourly-copy h2{font-size:18px}#homePage .hourly-reward .gift-description{font-size:11px!important}#homePage .gift-panels>.hourly-reward>.primary{font-size:10px}#homePage .gift-panels>.daily-challenge{height:174px;min-height:174px;grid-template-columns:minmax(0,1fr) 78px;padding:13px 14px}#homePage .daily-challenge h2{font-size:19px}#homePage .daily-challenge-copy>p{font-size:11px}#homePage .daily-challenge-status{font-size:9px}#homePage .daily-start{font-size:10px}#homePage .daily-challenge-art{right:-20px;width:98px;height:98px}}

#gift[hidden]{display:none!important}

/* A brighter game atelier, using the same lavender, peach and starlight language as the refuge. */
#gamesPage{padding-bottom:12px}
#gamesPage>.section-head:first-child{position:relative;min-height:155px;align-items:center;overflow:hidden;margin:0 0 25px;padding:25px 32px;border:1px solid #fff;border-radius:27px;background:linear-gradient(112deg,#fff0d0 0%,#ffedf1 48%,#eee8ff 100%);box-shadow:0 12px 30px #62477912}
#gamesPage>.section-head:first-child:after{content:'✦';position:absolute;right:42px;top:7px;color:#fff9d9;font-size:125px;line-height:1;text-shadow:0 5px 30px #b889d044;transform:rotate(12deg)}
#gamesPage>.section-head:first-child:before{content:'✧  ·  ✦';position:absolute;right:115px;bottom:22px;color:#bd91d4;font-size:18px;letter-spacing:12px}
#gamesPage>.section-head:first-child>div{position:relative;z-index:1}
#gamesPage>.section-head:first-child h2{font-size:35px;margin-top:7px}
#gamesPage>.activity-grid{gap:16px}
#gamesPage>.activity-grid .activity{min-height:126px;padding:20px 23px;border:1px solid #fff;border-radius:24px;box-shadow:0 9px 22px #583e7014}
#gamesPage>.activity-grid .activity.memory{background:linear-gradient(115deg,#f2e4ff,#f8dbff)}
#gamesPage>.activity-grid .activity.clues{background:linear-gradient(115deg,#ddf5e8,#d6f1f4)}
#gamesPage>.activity-grid .activity-icon{width:60px;height:60px;border-radius:20px;background:#ffffffc9;font-size:31px;box-shadow:0 5px 13px #513a6810}
#gamesPage>.activity-grid .activity b{font-size:21px;font-weight:800;color:#3f2b55}
#gamesPage>.activity-grid .activity small{font-size:13px;line-height:1.4}
#gamesPage .mini-heading{position:relative;overflow:hidden;margin:43px 0 18px;padding:23px 28px 21px;border:1px solid #fff;border-radius:25px;background:linear-gradient(110deg,#fff1cf,#ffebee 50%,#eee8ff);box-shadow:0 10px 24px #523d6710}
#gamesPage .mini-heading:after{content:'✧';position:absolute;right:24px;top:-24px;color:#fff9e8;font-size:105px;text-shadow:0 5px 22px #b889d044}
#gamesPage .mini-heading>*{position:relative;z-index:1}
#gamesPage .mini-heading h2{margin:6px 0 5px;font-size:31px;letter-spacing:-.5px}
#gamesPage .mini-heading p{font-size:14px;color:#6e5e7e}
#gamesPage .mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
#gamesPage .mini-card{position:relative;min-height:154px;align-items:center;gap:15px;padding:20px 18px;border:1px solid #fff;border-radius:24px;background:linear-gradient(145deg,#fff 2%,#fbf7ff 100%);box-shadow:0 9px 22px #59446e12;overflow:hidden}
#gamesPage .mini-card:after{content:'';position:absolute;right:-36px;bottom:-49px;width:120px;height:120px;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 13px #fff6,0 0 0 27px #fff3;pointer-events:none}
#gamesPage .mini-card:hover{transform:translateY(-5px);box-shadow:0 15px 28px #59446e20}
#gamesPage .mini-index{position:absolute;right:15px;top:12px;z-index:1;color:#907ba2;font-size:10px;font-weight:1000;letter-spacing:1px}
#gamesPage .mini-art{width:68px;height:68px;border:3px solid #fff;border-radius:23px;font-size:37px;box-shadow:inset 0 2px #fff9,0 7px 15px #59446e18;transition:transform .25s}
#gamesPage .mini-card:hover .mini-art{transform:rotate(-8deg) scale(1.08)}
#gamesPage .mini-card-copy{position:relative;z-index:1;gap:6px;min-width:0}
#gamesPage .mini-card-copy b{font-size:18px;line-height:1.15;font-weight:900;letter-spacing:-.2px}
#gamesPage .mini-card-copy small{font-size:12px;line-height:1.4}
#gamesPage .mini-play-label{display:inline-flex;align-items:center;gap:6px;margin-top:2px;color:#8054a8;font-size:11px;font-weight:900}
#gamesPage .mini-play-label i{font-style:normal;font-size:15px;transition:transform .2s}
#gamesPage .mini-card:hover .mini-play-label i{transform:translate(3px,-2px)}
#gamesPage .mini-echo{background:linear-gradient(145deg,#fffdf4,#fff3de 52%,#fff4fa)}
#gamesPage .mini-mix{background:linear-gradient(145deg,#fffdf6,#fff2e9 52%,#fff5f4)}
#gamesPage .mini-shadow{background:linear-gradient(145deg,#fcfbff,#f1efff 58%,#f7f2ff)}
#gamesPage .mini-petals{background:linear-gradient(145deg,#fffafd,#fff0f5 58%,#fff6ed)}
#gamesPage .mini-connect{background:linear-gradient(145deg,#fbfcff,#eef4ff 58%,#f7f3ff)}
#gamesPage .mini-bubbles{background:linear-gradient(145deg,#f7fffd,#eaf9f6 55%,#eef8ff)}
#gamesPage>.gentle{padding:11px 14px;border-radius:14px;background:#f1f6ed;color:#657861;font-weight:700;font-size:12px}
#gamePage .back{display:inline-flex;align-items:center;gap:7px;margin:0 0 8px;padding:9px 14px;border:1px solid #eee4f3;border-radius:13px;background:#fff;color:#745293;box-shadow:0 4px 12px #5337660b}
#gamePage .game-heading{position:relative;max-width:800px;overflow:hidden;margin:4px auto 22px;padding:22px 25px 18px;border:1px solid #fff;border-radius:25px;background:linear-gradient(110deg,#fff2d7,#ffedf3 54%,#eee9ff);box-shadow:0 9px 24px #53376612}
#gamePage .game-heading:after{content:'✦';position:absolute;right:22px;top:-21px;color:#fff9dd;font-size:96px;text-shadow:0 5px 20px #af8cce45}
#gamePage .game-heading>*{position:relative;z-index:1}
#gamePage .game-heading h2{font-size:31px}
#gamePage .game-heading p{max-width:620px;margin:8px auto 0;font-size:14px;line-height:1.5}
#gamePage .mini-welcome{position:relative;max-width:780px;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:30px 26px;border:1px solid #fff;border-radius:30px;background:radial-gradient(circle at 50% 36%,#fff 0,#fff9ec 39%,transparent 70%),linear-gradient(135deg,#fff0d4,#fdeaf3 53%,#ece8ff);box-shadow:0 16px 40px #4e356b18}
#gamePage .mini-welcome:before,#gamePage .mini-welcome:after{content:'✦';position:absolute;color:#fff;font-size:65px;text-shadow:0 3px 18px #b58acb55;animation:game-twinkle 2.6s ease-in-out infinite alternate}
#gamePage .mini-welcome:before{left:11%;top:18%}#gamePage .mini-welcome:after{right:12%;bottom:18%;animation-delay:.8s}
@keyframes game-twinkle{to{opacity:.48;transform:rotate(28deg) scale(.8)}}
#gamePage .mini-welcome-icon{position:relative;width:104px;height:104px;margin:0 auto 7px;border:4px solid #fff;border-radius:33px;font-size:52px;box-shadow:0 12px 26px #61427620,inset 0 2px #fff}
#gamePage .mini-welcome>p:not(.game-status){max-width:490px;margin:10px 0;color:#503860;font-size:20px;line-height:1.4;font-weight:800}
#gamePage .mini-welcome .game-status{max-width:570px;margin:7px 0 10px;padding:11px 15px;border:1px solid #fff;border-radius:15px;background:#ffffffa8;font-size:12px;line-height:1.45}
#gamePage .mini-welcome .primary{padding:13px 22px;font-size:15px}
#gamePage .mini-play{position:relative;max-width:850px;min-height:420px;margin:0 auto;padding:27px 25px 24px;border:1px solid #fff;border-radius:30px;background:radial-gradient(circle at 50% 0,#fff 0,#fffaf0 33%,transparent 69%),linear-gradient(145deg,#fff8e9,#fff0f4 52%,#f0ecff);box-shadow:0 15px 38px #4e356b18}
#gamePage .mini-round{padding:8px 15px;border:1px solid #fff;background:linear-gradient(100deg,#fff0cf,#f8eaff);color:#744c9b;font-size:12px;letter-spacing:.5px}
#gamePage .mini-prompt{margin:18px auto;color:#493259;font-size:20px;line-height:1.35}
#gamePage .mini-status{min-height:30px;margin-top:18px;padding:6px 10px;border-radius:12px;color:#8350a0;font-size:14px}
#gamePage .mini-controls .soft-button{border:1px solid #fff2;background:#fff8;box-shadow:0 4px 10px #55406312}
#gamePage .echo-dot{width:43px;height:43px;box-shadow:0 0 0 6px #fff,0 5px 12px #45365420;opacity:.5}
#gamePage .echo-dot.lit{box-shadow:0 0 27px currentColor,0 0 0 6px #fff}
#gamePage .color-button{width:72px;height:72px;border:5px solid #fff;border-radius:24px;box-shadow:0 6px 0 #62437620,0 9px 16px #62437616;transition:transform .15s}
#gamePage .color-button:hover{transform:translateY(-4px) scale(1.04)}
#gamePage .mix-target{width:126px;height:126px;border-width:8px;font-size:18px;box-shadow:0 9px 18px #44364e25,0 0 0 9px #fff9}
#gamePage .mix-choice{min-width:130px;min-height:70px;border:2px solid #fff;background:linear-gradient(145deg,#fff,#faf4ff);box-shadow:0 6px 13px #49335512;transition:transform .18s,border-color .18s}
#gamePage .mix-choice:hover,#gamePage .friend-choice:hover,#gamePage .number-choice:hover,#gamePage .bubble:hover{transform:translateY(-3px);border-color:#d8bce9}
#gamePage .shadow-figure{width:164px;height:164px;border:6px solid #fff;background:radial-gradient(circle at 50% 38%,#d7c4ee,#8d76b0);box-shadow:0 8px 21px #49365b24}
#gamePage .shadow-figure img{width:128px}
#gamePage .friend-choice{width:132px;padding:9px;border-color:#fff;border-radius:21px;box-shadow:0 7px 15px #54356614;transition:transform .18s,box-shadow .18s}
#gamePage .friend-choice:hover{box-shadow:0 10px 19px #54356622}
#gamePage .friend-choice img{width:96px;height:96px}
#gamePage .flower-field{min-height:145px;border:1px solid #fff;background:linear-gradient(135deg,#eff9e7,#e2f4e9);box-shadow:inset 0 2px 8px #56774e0c}
#gamePage .flower-field span{filter:drop-shadow(0 3px 2px #dc6e9a35)}
#gamePage .number-choice{width:68px;height:68px;border-radius:22px;font-size:27px;transition:transform .18s}
#gamePage .constellation{width:min(100%,620px);height:350px;border:5px solid #fff;border-radius:25px;background:radial-gradient(ellipse at 30% 20%,#76679d,#3d376c 76%);box-shadow:inset 0 0 45px #12132b,0 8px 18px #3e31591e}
#gamePage .star-point{width:50px;height:50px;border:3px solid #fff;background:linear-gradient(145deg,#fff2b8,#ffd66f);font-size:19px}
#gamePage .star-point.joined{background:linear-gradient(145deg,#ffb3d2,#ec75aa)}
#gamePage .bubble-grid{max-width:520px;gap:13px}
#gamePage .bubble{border-width:4px;font-size:35px;transition:transform .18s,box-shadow .18s}
#gamePage .bubble.selected{outline:4px solid #7048b2;box-shadow:0 0 0 8px #fff,0 8px 18px #4d466133}
#gamePage .mini-check{padding:12px 22px;font-size:15px}
#gamePage .mini-status:not(:empty){background:#fff9;box-shadow:0 3px 12px #59406c0c}
@media(max-width:800px){#gamesPage .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#gamePage .mini-play{min-height:390px}}
@media(max-width:560px){#gamesPage>.section-head:first-child{min-height:132px;padding:20px;border-radius:22px}#gamesPage>.section-head:first-child:after{right:10px;top:26px;font-size:88px}#gamesPage>.section-head:first-child:before{right:75px;bottom:16px;font-size:14px}#gamesPage>.section-head:first-child h2{font-size:29px}#gamesPage>.activity-grid .activity{min-height:96px;padding:14px;gap:10px;border-radius:19px}#gamesPage>.activity-grid .activity-icon{width:44px;height:44px;font-size:23px}#gamesPage>.activity-grid .activity b{font-size:16px}#gamesPage>.activity-grid .activity small{font-size:11px}#gamesPage .mini-heading{margin-top:31px;padding:18px;border-radius:21px}#gamesPage .mini-heading h2{font-size:25px}#gamesPage .mini-heading p{max-width:85%;font-size:12px}#gamesPage .mini-heading:after{right:5px;top:-12px;font-size:78px}#gamesPage .mini-grid{grid-template-columns:1fr;gap:11px}#gamesPage .mini-card{min-height:119px;padding:17px;border-radius:21px}#gamesPage .mini-art{width:60px;height:60px;font-size:33px}#gamesPage .mini-card-copy b{font-size:17px}#gamesPage .mini-card-copy small{font-size:12px}#gamesPage .mini-play-label{font-size:10px}#gamePage .game-heading{padding:18px 16px;border-radius:21px}#gamePage .game-heading h2{font-size:26px}#gamePage .game-heading p{font-size:12px}#gamePage .mini-welcome{min-height:330px;padding:25px 16px;border-radius:24px}#gamePage .mini-welcome-icon{width:85px;height:85px;border-radius:27px;font-size:42px}#gamePage .mini-welcome>p:not(.game-status){font-size:17px}#gamePage .mini-play{min-height:360px;padding:20px 13px;border-radius:24px}#gamePage .mini-prompt{font-size:17px;margin:14px 0}#gamePage .echo-dot{width:34px;height:34px}#gamePage .color-button{width:58px;height:58px;border-radius:19px}#gamePage .shadow-figure{width:132px;height:132px}#gamePage .shadow-figure img{width:102px}#gamePage .friend-choice{width:30%;padding:5px;border-radius:16px}#gamePage .friend-choice img{width:70px;height:70px}#gamePage .number-choice{width:58px;height:58px}#gamePage .constellation{height:285px}#gamePage .star-point{width:44px;height:44px}#gamePage .bubble-grid{gap:8px}#gamePage .bubble{font-size:27px}}

/* Eco de luciérnagas: hide the answer between flashes and make each tap unmistakable. */
#gamePage .echo-lights{min-height:76px;align-items:center;gap:13px;margin:20px auto 15px;padding:13px 18px;width:max-content;max-width:100%;border:1px solid #fff;border-radius:22px;background:#fff9;box-shadow:inset 0 2px 9px #5440690b}
#gamePage .echo-dot{position:relative;display:grid;place-items:center;flex:none;width:45px;height:45px;border:3px solid #fff;border-radius:50%;background:#d9d1e2;color:#766a83;opacity:1;box-shadow:0 4px 10px #44305020;transition:background .16s,transform .16s,box-shadow .16s}
#gamePage .echo-dot i{font-size:13px;font-style:normal;font-weight:1000}
#gamePage .echo-dot.lit{transform:scale(1.2);box-shadow:0 0 0 5px #fff,0 0 25px currentColor;animation:echo-flash .38s ease-in-out}
#gamePage .echo-dot.chosen{transform:scale(1.08);box-shadow:0 0 0 4px #fff,0 0 0 7px #a479c9,0 5px 13px #4634542b}
@keyframes echo-flash{50%{transform:scale(1.32)}}
#gamePage .mini-prompt#miniPrompt{min-height:30px}
#gamePage .mini-status:not(:empty){min-width:145px;width:max-content;max-width:100%;margin:12px auto 0;padding:8px 14px;border:1px solid #fff;border-radius:99px;background:#fff;color:#785194;font-size:15px;font-weight:1000;box-shadow:0 4px 12px #59406c12}
#gamePage .mini-status.is-wrong{background:#fff0f0;color:#ba5470;animation:answer-nudge .3s ease-in-out}
#gamePage .color-pad{gap:14px;align-items:center}
#gamePage .color-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:86px;height:91px;padding:8px 5px;border:2px solid #fff;border-radius:21px;background:#fff;color:#5b486c;box-shadow:0 5px 0 #e3d9e8,0 8px 15px #62437613;transition:transform .16s,box-shadow .16s,border-color .16s}
#gamePage .color-button .color-swatch{display:block;width:37px;height:37px;border:3px solid #fff;border-radius:13px;background:var(--swatch);box-shadow:0 3px 8px #392b4330}
#gamePage .color-button b{font-size:11px;line-height:1;font-weight:900}
#gamePage .color-button.color-rose{--swatch:#fa6e9c}
#gamePage .color-button.color-blue{--swatch:#64a6f5}
#gamePage .color-button.color-gold{--swatch:#ffcf59}
#gamePage .color-button.color-mint{--swatch:#5bcea5}
#gamePage .color-button:hover{transform:translateY(-4px);box-shadow:0 8px 0 #e3d9e8,0 11px 18px #6243761d}
#gamePage .color-button.is-picked{transform:scale(.94);border-color:#8a58b7;outline:4px solid #eadbf4;box-shadow:0 0 0 7px #fff,0 5px 0 #c6acd9,0 9px 20px #62437625}
#gamePage .color-button.is-picked:after{content:'✓';position:absolute;top:-8px;right:-8px;display:grid;place-items:center;width:23px;height:23px;border:2px solid #fff;border-radius:50%;background:#8052ad;color:#fff;font-size:13px;font-weight:1000;box-shadow:0 3px 8px #49335645}
#gamePage .color-button{position:relative}
@media(max-width:560px){#gamePage .echo-lights{gap:7px;padding:10px 11px;border-radius:18px}#gamePage .echo-dot{width:34px;height:34px;border-width:2px}#gamePage .echo-dot i{font-size:11px}#gamePage .color-pad{gap:8px}#gamePage .color-button{width:72px;height:82px;border-radius:18px}#gamePage .color-button .color-swatch{width:32px;height:32px;border-radius:11px}#gamePage .color-button b{font-size:10px}}
#gamePage .echo-dot.lit i{opacity:0}
#gamePage .echo-dot.color-rose{background:#fa6e9c;color:#fa6e9c}
#gamePage .echo-dot.color-blue{background:#64a6f5;color:#64a6f5}
#gamePage .echo-dot.color-gold{background:#ffcf59;color:#ffcf59}
#gamePage .echo-dot.color-mint{background:#5bcea5;color:#5bcea5}
#gamePage .echo-dot.chosen i{color:#fff;text-shadow:0 1px 3px #49335499}

/* Three visible chances in Firefly Echo and a friendly clear restart state. */
#gamePage .mini-round-row{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 4px}
#gamePage .mini-lives{display:inline-flex;align-items:center;gap:3px;padding:6px 10px;border:1px solid #fff;border-radius:99px;background:#fff9;box-shadow:0 3px 10px #58417310}
#gamePage .mini-life{color:#cfc4d8;font-size:20px;line-height:1;text-shadow:0 1px #fff;transition:transform .18s,color .18s}
#gamePage .mini-life.is-alive{color:#ee79a8;text-shadow:0 2px #fff,0 4px 8px #cf4f8b35;animation:life-in .28s ease-out both}
#gamePage .mini-life.is-lost{color:#d7cedc;transform:scale(.88)}
@keyframes life-in{from{transform:scale(.7)}to{transform:scale(1)}}
#gamePage .mini-game-over{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px;max-width:780px;margin:0 auto;padding:32px 24px;overflow:hidden;border:1px solid #fff;border-radius:30px;background:radial-gradient(circle at 50% 32%,#fff 0,#fff4dc 37%,transparent 75%),linear-gradient(135deg,#fff0d6,#fce9f4 55%,#ece8ff);box-shadow:0 16px 40px #4e356b18;text-align:center}
#gamePage .game-over-orbit{display:grid;place-items:center;width:88px;height:88px;margin-bottom:15px;border:4px solid #fff;border-radius:30px;background:linear-gradient(145deg,#fbd9ea,#e8dcf7);color:#bc6f9a;font-size:46px;box-shadow:0 10px 24px #61427622}
#gamePage .mini-game-over h3{max-width:540px;margin:9px auto;color:#483157;font-size:clamp(22px,3vw,30px);line-height:1.2}
#gamePage .mini-game-over p{max-width:530px;color:#756981;font-size:14px;line-height:1.5}
#gamePage .mini-game-over .primary{margin-top:12px;padding:13px 22px;font-size:15px}
@media(max-width:560px){#gamePage .mini-round-row{gap:8px}#gamePage .mini-life{font-size:18px}#gamePage .mini-lives{padding:6px 8px}#gamePage .mini-game-over{min-height:320px;padding:26px 17px;border-radius:24px}#gamePage .game-over-orbit{width:76px;height:76px;font-size:39px}}

/* Clear reward summary: each Lumika's fragments sit directly beneath her portrait. */
dialog:has(.reward-celebration){width:min(620px,calc(100% - 28px));max-width:620px;padding:26px 24px 22px;border:1px solid #fff;border-radius:27px;background:linear-gradient(145deg,#fffdf8,#fff8ff);box-shadow:0 25px 80px #38264d55}
dialog:has(.reward-celebration) .modal-content h2{margin:0 0 17px;color:#453157;font-size:clamp(23px,3vw,29px);font-weight:900}
.reward-celebration{display:flex;flex-direction:column;align-items:center;gap:15px}
.reward-creatures{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:12px;width:100%;max-width:540px}
.reward-creature{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;padding:10px 8px 12px;border:1px solid #f0e4f2;border-radius:19px;background:linear-gradient(155deg,#fff,#fbf5ff);box-shadow:0 5px 15px #5435660c;animation:reward-card-arrive .35s ease-out both}
.reward-creature:nth-child(2){animation-delay:.08s}.reward-creature:nth-child(3){animation-delay:.16s}
.reward-creature img{display:block;width:min(100%,108px);height:100px;object-fit:contain;filter:drop-shadow(0 5px 7px #44305222)}
.reward-creature b{max-width:100%;margin-top:2px;overflow:hidden;color:#49345d;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.reward-creature>span{display:inline-flex;align-items:center;justify-content:center;margin-top:5px;padding:5px 9px;border:1px solid #f1d9e4;border-radius:99px;background:#fff1f5;color:#9b547c;font-size:11px;font-weight:900}
.sparkles-reward{display:flex;align-items:center;justify-content:center;gap:12px;width:min(100%,380px);padding:11px 15px;border:1px solid #f2dfb5;border-radius:18px;background:linear-gradient(105deg,#fff5d5,#fff0e2 58%,#fff7f2);box-shadow:0 5px 14px #9b762210}
.sparkles-token{display:grid;place-items:center;flex:none;width:48px;height:48px;border:2px solid #fff;border-radius:16px;background:linear-gradient(145deg,#ffe991,#f6ad55);box-shadow:0 4px 10px #af7b2850,inset 0 1px #fff9;transform:rotate(-5deg)}
.sparkles-token svg{width:31px;height:31px;overflow:visible;fill:#fff7c9;stroke:#d88b2c;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px #ae6e2666)}
.sparkles-amount{color:#9a6722;font-size:22px;font-weight:1000;letter-spacing:-.4px}
.sparkles-reward>b{padding:6px 10px;border-radius:99px;background:#fff9;color:#80602d;font-size:12px;font-weight:900}
@keyframes reward-card-arrive{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:480px){dialog:has(.reward-celebration){padding:23px 15px 18px;border-radius:23px}.reward-celebration{gap:11px}.reward-creatures{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.reward-creature{padding:7px 4px 9px;border-radius:15px}.reward-creature img{height:75px}.reward-creature b{font-size:10px}.reward-creature>span{padding:4px 6px;font-size:9px}.sparkles-reward{width:100%;gap:9px;padding:9px 11px}.sparkles-token{width:41px;height:41px;border-radius:14px}.sparkles-token svg{width:27px;height:27px}.sparkles-amount{font-size:19px}.sparkles-reward>b{font-size:10px}}

/* After the reward, offer a clear choice to play again or return to the game shelf. */
dialog:has(.play-again-prompt){max-height:88vh;overflow-y:auto}
.play-again-prompt{width:min(100%,470px);margin:2px auto 0;padding:14px 16px;border:1px solid #ebdff1;border-radius:19px;background:linear-gradient(115deg,#f8f0ff,#fff5eb);text-align:center}
.play-again-prompt>p{margin:0 0 11px;color:#4d365f;font-size:16px;font-weight:900}
.play-again-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.play-again-actions .primary,.play-again-actions .soft-button{margin:0;padding:10px 15px;border-radius:12px;font-size:12px}
.play-again-actions .soft-button{border:1px solid #e8dcef;background:#fff;color:#71538a;box-shadow:0 3px 8px #59406c12}
@media(max-width:480px){.play-again-prompt{padding:12px 10px;border-radius:16px}.play-again-prompt>p{font-size:14px}.play-again-actions{gap:7px}.play-again-actions .primary,.play-again-actions .soft-button{padding:9px 11px;font-size:11px}}

.home-activity-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.home-activity-actions .text-button{padding:8px 11px;border:1px solid #eadff1;border-radius:13px;background:#fff;color:#7852a2;box-shadow:0 3px 9px #51375d0b;white-space:nowrap}
.home-activity-actions .text-button:hover{background:#f8f1ff;transform:translateY(-1px)}
@media(max-width:650px){.home-activity-actions{gap:5px}.home-activity-actions .soft-pill{padding:6px 8px;font-size:9px}.home-activity-actions .text-button{padding:7px 8px;font-size:10px}}

/* Shared life HUD for every game, including the classic memory and clue games. */
#gamePage .mini-round-row>.game-status{margin:0;flex:0 1 auto}
#gamePage .mini-round-row .mini-lives{flex:0 0 auto}
#gamePage #clueFeedback{min-height:24px;margin:12px auto 0}


/* Lively illustrated game selection and welcoming, illustrated game starts. */
.activity-icon.activity-illustration{width:82px;height:82px;overflow:visible;background:radial-gradient(circle,#fff 38%,#fff0c7 40%,#f5deff 100%);border:2px solid #fff;box-shadow:0 7px 18px #6d4d8e20}
.activity-illustration img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 7px #69497b25);animation:game-art-float 4.2s ease-in-out infinite}
.mini-heading{position:relative;overflow:hidden;background:linear-gradient(112deg,#ffefc9,#ffe3ef 52%,#e8e3ff)}
.mini-heading:after{content:'✧';position:absolute;right:36px;top:8px;font-size:84px;line-height:1;color:#fff7b6;text-shadow:0 4px 20px #dca6ed66;animation:game-art-float 3.5s ease-in-out infinite;pointer-events:none}
.mini-card{position:relative;isolation:isolate;min-height:150px;gap:12px;padding:12px 13px 12px 10px;overflow:hidden;background:linear-gradient(135deg,#fffefb,#fff7fb);border-color:#fff;box-shadow:0 9px 22px #59446e17}
.mini-card:after{content:'';position:absolute;z-index:-1;width:135px;height:135px;left:20px;top:10px;border-radius:50%;background:#ffffff80;filter:blur(18px)}
.mini-card .mini-index{position:absolute;right:10px;top:8px;z-index:2;color:#9c7bb3;font-size:10px;font-weight:900;letter-spacing:.12em}
.mini-art{position:relative;width:128px;height:124px;border-radius:22px;background:radial-gradient(circle at 50% 54%,#fff 0,#fff9 46%,transparent 72%);box-shadow:none;overflow:visible}
.mini-art img{width:132px;height:132px;object-fit:contain;filter:drop-shadow(0 7px 8px #59416d24);animation:game-art-float 4.4s ease-in-out infinite}
.mini-card:nth-child(2n) .mini-art img{animation-delay:-1.4s}.mini-card:nth-child(3n) .mini-art img{animation-delay:-2.3s}
.mini-card .mini-card-copy{align-self:center;padding-right:6px;gap:7px}
.mini-card-copy b{font-size:17px;line-height:1.2}.mini-card-copy small{font-size:12px;line-height:1.4}
.mini-play-label{color:#8756b5;font-size:11px;font-weight:900;letter-spacing:.01em}.mini-play-label i{font-style:normal;font-size:15px;margin-left:3px}
.mini-echo{background:linear-gradient(130deg,#fff8df,#fff0e8 58%,#fff0f6)}.mini-mix{background:linear-gradient(130deg,#fff4d8,#fff0e7 58%,#fff0f6)}.mini-shadow{background:linear-gradient(130deg,#f6f0ff,#edeaff 58%,#f5efff)}.mini-petals{background:linear-gradient(130deg,#fff0f5,#fff6e7 58%,#fff0ec)}.mini-connect{background:linear-gradient(130deg,#edf5ff,#f0edff 58%,#f8efff)}.mini-bubbles{background:linear-gradient(130deg,#e9fbf5,#edf7ff 58%,#eaf7ff)}
.mini-welcome,.classic-welcome{display:grid;grid-template-columns:minmax(190px, .9fr) minmax(0,1.1fr);align-items:center;gap:16px;max-width:850px;min-height:300px;margin:22px auto;padding:24px 30px;text-align:left;border:2px solid white;border-radius:32px;background:linear-gradient(135deg,#fff4d9,#fbe7f8 56%,#ece8ff);box-shadow:0 15px 36px #4e356b1d;overflow:hidden}
.mini-welcome{max-width:860px}
.mini-welcome-art,.classic-welcome-art{position:relative;display:grid;place-items:center;min-height:235px;border-radius:28px;background:radial-gradient(ellipse at 50% 55%,#fff 0,#ffffffa8 47%,transparent 72%)}
.mini-welcome-art:before,.classic-welcome-art:before{content:'✦　✧';position:absolute;inset:12% 4% auto;text-align:center;color:#f3c86c;font-size:24px;letter-spacing:2.2em;opacity:.9;animation:sparkle-drift 5s ease-in-out infinite}
.mini-welcome-art img,.classic-welcome-art img{position:relative;width:min(100%,310px);height:250px;object-fit:contain;filter:drop-shadow(0 10px 13px #543b7025);animation:game-art-float 4s ease-in-out infinite}
.mini-welcome-copy,.classic-welcome-copy{position:relative;z-index:1}.mini-welcome-copy .eyebrow,.classic-welcome-copy .eyebrow{display:block;color:#a35b9d}.mini-welcome-copy p,.classic-welcome-copy p{font-size:clamp(20px,2.4vw,25px);line-height:1.25;margin:9px 0 16px;color:#50365f}
.mini-welcome-copy .game-status,.classic-welcome-copy .game-status{display:inline-block;margin:4px 0 16px;padding:10px 14px;border-radius:16px;background:#fff9;color:#756981;font-size:13px;line-height:1.4;font-weight:700}
.mini-welcome-copy .primary,.classic-welcome-copy .primary{display:block;min-width:150px;width:max-content}
.mini-echo .mini-welcome-art{background:radial-gradient(circle,#fffdf2,#fff0c4 48%,#fbe4ef 76%,transparent 77%)}.mini-mix .mini-welcome-art{background:radial-gradient(circle,#fff,#ffe2ca 53%,#fff0e7 77%,transparent 78%)}.mini-shadow .mini-welcome-art{background:radial-gradient(circle,#fff,#e4dcfa 54%,#f2ecff 77%,transparent 78%)}.mini-petals .mini-welcome-art{background:radial-gradient(circle,#fff,#ffe0ea 54%,#fff0e9 77%,transparent 78%)}.mini-connect .mini-welcome-art{background:radial-gradient(circle,#fff,#dcecff 54%,#efedff 77%,transparent 78%)}.mini-bubbles .mini-welcome-art{background:radial-gradient(circle,#fff,#d9f7f0 54%,#e7f4ff 77%,transparent 78%)}
@keyframes game-art-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@keyframes sparkle-drift{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(-7px);opacity:1}}
@media(max-width:800px){.mini-card{min-height:140px}.mini-art{width:108px;height:108px}.mini-art img{width:116px;height:116px}.mini-welcome,.classic-welcome{grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);gap:8px;padding:20px}.mini-welcome-art,.classic-welcome-art{min-height:200px}.mini-welcome-art img,.classic-welcome-art img{height:215px}}
@media(max-width:520px){.activity-icon.activity-illustration{width:67px;height:67px}.mini-card{min-height:122px;padding:9px;gap:8px}.mini-art{width:96px;height:98px}.mini-art img{width:105px;height:105px}.mini-card-copy b{font-size:15px}.mini-card-copy small{font-size:11px}.mini-welcome,.classic-welcome{grid-template-columns:1fr;gap:2px;min-height:0;margin:15px auto;padding:16px 18px 20px;text-align:center;border-radius:26px}.mini-welcome-art,.classic-welcome-art{min-height:174px;max-height:185px}.mini-welcome-art img,.classic-welcome-art img{height:190px}.mini-welcome-copy .primary,.classic-welcome-copy .primary{margin:0 auto}.mini-welcome-copy p,.classic-welcome-copy p{font-size:19px;margin:6px 0 10px}.mini-welcome-copy .game-status,.classic-welcome-copy .game-status{font-size:12px;margin:2px 0 12px}.mini-heading:after{right:11px;top:10px;font-size:54px}}
@media(prefers-reduced-motion:reduce){.mini-art img,.mini-welcome-art img,.classic-welcome-art img,.activity-illustration img,.mini-heading:after,.mini-welcome-art:before,.classic-welcome-art:before{animation:none!important}}

@media(min-width:801px){.mini-art{width:106px;height:112px}.mini-art img{width:116px;height:116px}}


/* Keep card art inside its own lane so every game title stays readable. */
.mini-card{gap:10px;min-height:140px;padding:12px;overflow:hidden}
.mini-card .mini-art{position:relative;z-index:0;flex:0 0 96px;width:96px;height:104px;min-width:0;overflow:hidden;border-radius:19px}
.mini-card .mini-art img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%;filter:drop-shadow(0 5px 6px #59416d1c)}
.mini-card .mini-card-copy{position:relative;z-index:1;flex:1 1 auto;min-width:0;padding:8px 8px 4px 0;overflow-wrap:anywhere}
.mini-card-copy b{font-size:16px;line-height:1.22;text-wrap:pretty}
.mini-card-copy small{font-size:11px;line-height:1.38}
@media(max-width:800px){.mini-card .mini-art{flex-basis:100px;width:100px;height:108px}}
@media(max-width:520px){.mini-card{min-height:120px;padding:9px}.mini-card .mini-art{flex-basis:88px;width:88px;height:96px}.mini-card .mini-card-copy{padding-right:8px}.mini-card-copy b{font-size:15px}}

/* Brighter, more playful game shelf with stronger contrast and color. */
#gamesPage .mini-heading{background:linear-gradient(112deg,#ffdc73 0%,#ffabc8 48%,#c5adff 100%);box-shadow:0 12px 28px #9b5fab25;border:2px solid #fff}
#gamesPage .mini-heading .eyebrow{color:#743c8f}#gamesPage .mini-heading h2{color:#3d205a;text-shadow:0 1px #fff9}#gamesPage .mini-heading p{color:#573c70}
#gamesPage .mini-grid{gap:16px}
#gamesPage .mini-card{min-height:160px;border:2px solid #fff;box-shadow:0 10px 22px #57326820, inset 0 1px #fff;background-color:#ffe8be;transition:transform .2s,box-shadow .2s,filter .2s}
#gamesPage .mini-card:before{content:'';position:absolute;z-index:-1;right:-24px;bottom:-43px;width:130px;height:130px;border-radius:48%;background:#ffffff83;filter:blur(1px);transition:transform .28s}
#gamesPage .mini-card:hover{transform:translateY(-5px) scale(1.015);filter:saturate(1.13);box-shadow:0 17px 28px #57326830}
#gamesPage .mini-card:hover:before{transform:scale(1.35) rotate(20deg)}
#gamesPage .mini-card .mini-art{flex-basis:112px;width:112px;height:116px;border:2px solid #fff;background:radial-gradient(circle at 50% 42%,#fff9 0 38%,#ffffff20 68%,transparent 72%);box-shadow:0 5px 14px #47305c1d}
#gamesPage .mini-card .mini-art img{width:100%;height:100%;filter:saturate(1.18) drop-shadow(0 6px 6px #47305c2a)}
#gamesPage .mini-card-copy{gap:8px;padding-right:8px}
#gamesPage .mini-card-copy b{font-size:18px;line-height:1.17;color:#352047;font-weight:900}
#gamesPage .mini-card-copy small{font-size:12px;line-height:1.4;color:#59436b;font-weight:700}
#gamesPage .mini-play-label{color:#693aa0;font-size:12px;font-weight:900}
#gamesPage .mini-card .mini-index{color:#67417e;font-size:11px}
#gamesPage .mini-card.mini-echo{background:linear-gradient(130deg,#ffe88b,#ffc2d5 100%)}
#gamesPage .mini-card.mini-mix{background:linear-gradient(130deg,#ffd985,#ffb8a5 100%)}
#gamesPage .mini-card.mini-shadow{background:linear-gradient(130deg,#d2c2ff,#b7c8ff 100%)}
#gamesPage .mini-card.mini-petals{background:linear-gradient(130deg,#ffb9d1,#ffe18e 100%)}
#gamesPage .mini-card.mini-connect{background:linear-gradient(130deg,#a9d8ff,#c9bdff 100%)}
#gamesPage .mini-card.mini-bubbles{background:linear-gradient(130deg,#9debd8,#a8dfff 100%)}
#gamesPage .activity.memory{background:linear-gradient(115deg,#d6b1ff,#f1b9ff);border:2px solid #fff;box-shadow:0 11px 24px #7a42aa29}
#gamesPage .activity.clues{background:linear-gradient(115deg,#9debd7,#abe6ef);border:2px solid #fff;box-shadow:0 11px 24px #348e9127}
#gamesPage .activity b{color:#352047;font-size:20px;font-weight:900}#gamesPage .activity small{color:#57426a;font-size:13px;font-weight:700}
@media(max-width:800px){#gamesPage .mini-card .mini-art{flex-basis:108px;width:108px;height:112px}}
@media(max-width:520px){#gamesPage .mini-grid{gap:11px}#gamesPage .mini-card{min-height:136px}#gamesPage .mini-card .mini-art{flex-basis:100px;width:100px;height:103px}#gamesPage .mini-card-copy b{font-size:17px}#gamesPage .mini-card-copy small{font-size:12px}}

/* One unified catalog: the two original games now match the illustrated set. */
#gamesPage .game-catalog{margin-top:25px}
#gamesPage .mini-card.mini-memory{background:linear-gradient(130deg,#e4bcff,#ffb9df)}
#gamesPage .mini-card.mini-clues{background:linear-gradient(130deg,#a9efdd,#d5f29c)}
#gamesPage .mini-card.mini-memory .mini-art{background:radial-gradient(circle,#fff9 0 38%,#ddbdff 74%)}
#gamesPage .mini-card.mini-clues .mini-art{background:radial-gradient(circle,#fff9 0 38%,#a8e8d6 74%)}

#gamesPage .games-intro{max-width:620px;margin:9px 0 0;color:#624678;font-size:15px;line-height:1.5;font-weight:750}

/* Homepage game invitations: large story art and a clearer play-card layout. */
#homePage .activity-grid{gap:18px}
#homePage .activity-grid .activity{isolation:isolate;display:flex;align-items:center;min-height:190px;padding:25px 28px;border:2px solid #fff;border-radius:27px;box-shadow:0 12px 28px #57326820;transition:transform .22s,box-shadow .22s,filter .22s}
#homePage .activity-grid .activity:hover{transform:translateY(-5px);filter:saturate(1.08);box-shadow:0 18px 32px #5732682b}
#homePage .activity-grid .activity.memory{background:linear-gradient(118deg,#d6b1ff 0%,#edaaff 55%,#ffbce3 100%)}
#homePage .activity-grid .activity.clues{background:linear-gradient(118deg,#9ce9d2 0%,#aee8df 55%,#a9ddf5 100%)}
#homePage .activity-grid .activity:before{content:'';position:absolute;z-index:-1;right:8px;top:50%;width:190px;height:190px;transform:translateY(-50%);border-radius:50%;background:#fff8;box-shadow:0 0 0 15px #ffffff26,0 0 0 32px #ffffff18}
#homePage .activity-grid .activity:after{content:'✦';position:absolute;z-index:1;left:auto;right:25px;top:12px;color:#fff;font-size:31px;text-shadow:0 2px 10px #754ba744;animation:sparkle-drift 4s ease-in-out infinite}
#homePage .activity-grid .activity>.activity-illustration{position:absolute;z-index:0;right:12px;top:50%;width:185px;height:175px;transform:translateY(-50%);overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
#homePage .activity-grid .activity>.activity-illustration img{width:100%;height:100%;object-fit:contain;filter:saturate(1.14) drop-shadow(0 11px 10px #52366530);animation:game-art-float 4s ease-in-out infinite}
#homePage .activity-grid .activity.clues>.activity-illustration img{animation-delay:-1.5s}
#homePage .activity-grid .activity>span:nth-of-type(2){position:relative;z-index:2;display:grid;gap:9px;max-width:63%;padding-bottom:15px}
#homePage .activity-grid .activity b{font-size:23px;line-height:1.15;font-weight:900;color:#38204f}
#homePage .activity-grid .activity small{font-size:14px;line-height:1.4;font-weight:750;color:#4f3e61}
#homePage .activity-grid .activity .arrow{position:absolute;z-index:3;right:20px;bottom:17px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:#7241a4;box-shadow:0 4px 12px #48305d20}
@media(max-width:800px){#homePage .activity-grid .activity{min-height:170px;padding:20px 22px}#homePage .activity-grid .activity>.activity-illustration{width:160px;height:155px;right:3px}#homePage .activity-grid .activity:before{width:160px;height:160px;right:0}#homePage .activity-grid .activity>span:nth-of-type(2){max-width:65%}#homePage .activity-grid .activity b{font-size:21px}}
@media(max-width:520px){#homePage .activity-grid{gap:13px}#homePage .activity-grid .activity{min-height:152px;padding:18px 18px;border-radius:23px}#homePage .activity-grid .activity>.activity-illustration{width:136px;height:134px;right:0}#homePage .activity-grid .activity:before{width:135px;height:135px;right:0}#homePage .activity-grid .activity>span:nth-of-type(2){max-width:66%;gap:7px;padding-bottom:13px}#homePage .activity-grid .activity b{font-size:19px}#homePage .activity-grid .activity small{font-size:12px}#homePage .activity-grid .activity .arrow{width:32px;height:32px;right:13px;bottom:12px}}
@media(prefers-reduced-motion:reduce){#homePage .activity-grid .activity>.activity-illustration img,#homePage .activity-grid .activity:after{animation:none!important}}

/* Daily and hourly gifts receive the same bold, illustrated treatment as the game cards. */
#homePage .gift-panels{gap:16px;align-items:stretch}
#homePage .gift-panels>.hourly-reward,#homePage .gift-panels>.daily-challenge{position:relative;isolation:isolate;overflow:hidden;min-height:188px;height:auto;padding:18px 20px;border:2px solid #fff;border-radius:25px;box-shadow:0 13px 28px #57326820}
#homePage .gift-panels>.hourly-reward{grid-template-columns:minmax(0,1fr) 142px;grid-template-rows:1fr auto;column-gap:7px;row-gap:0;align-content:stretch;background:linear-gradient(118deg,#ffe17e 0%,#ffb7d4 53%,#d7c0ff 100%)}
#homePage .hourly-reward:before{content:'';position:absolute;z-index:-1;right:3px;top:50%;width:153px;height:153px;transform:translateY(-50%);border-radius:50%;background:#fff8;box-shadow:0 0 0 13px #ffffff30,0 0 0 28px #ffffff20}
#homePage .hourly-reward .hourly-icon{position:relative;grid-column:2;grid-row:1/3;align-self:center;justify-self:center;width:153px;height:153px;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;overflow:visible}
#homePage .hourly-icon img{width:100%;height:100%;object-fit:contain;filter:saturate(1.13) drop-shadow(0 9px 10px #5c356c38);animation:game-art-float 3.8s ease-in-out infinite}
#homePage .hourly-icon span{display:none}
#homePage .hourly-copy{position:relative;z-index:2;grid-column:1;grid-row:1;align-self:center;max-width:100%;padding:0 0 5px}
#homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{color:#713d83;font-size:10px;letter-spacing:1.55px;font-weight:900}
#homePage .hourly-copy h2{margin:6px 0;color:#38204f;font-size:22px;line-height:1.14;font-weight:900}
#homePage .hourly-reward .gift-description{margin:0!important;color:#513d61!important;font-size:12px!important;line-height:1.4!important;font-weight:700}
#homePage .hourly-reward .countdown{margin:7px 0 0!important;padding:6px 9px;border:1px solid #fff9;border-radius:12px;background:#fff9;color:#593a70;font-size:10px!important;font-weight:900}
#homePage .gift-panels>.hourly-reward>.primary{position:relative;z-index:3;grid-column:1;grid-row:2;justify-self:start;align-self:end;margin:8px 0 0;padding:9px 13px;border:1px solid #fff;border-radius:13px;background:linear-gradient(120deg,#ffb73c,#ff8f61);color:#54254f;font-size:11px;font-weight:900;box-shadow:0 4px 0 #d97848,0 8px 14px #8449502b}
#homePage .gift-panels>.daily-challenge{grid-template-columns:minmax(0,1fr) 136px;align-items:center;padding:17px 19px;background:linear-gradient(118deg,#97ead3 0%,#a5e7e7 54%,#acd4ff 100%)}
#homePage .daily-challenge:before{z-index:-1;right:5px;top:50%;width:150px;height:150px;transform:translateY(-50%);border:2px solid #fff8;box-shadow:0 0 0 14px #ffffff2a,0 0 0 29px #ffffff1d;background:#ffffff20}
#homePage .daily-challenge-copy{max-width:100%;padding-right:0}
#homePage .daily-challenge h2{margin:6px 0;color:#30214b;font-size:22px;line-height:1.15;font-weight:900}
#homePage .daily-challenge-copy>p{margin:0 0 9px;color:#46516d;font-size:12px;line-height:1.4;font-weight:700}
#homePage .daily-challenge-status{position:relative;z-index:2;width:max-content;max-width:100%;margin:0 0 8px;padding:7px 10px;border:1px solid #fff;border-radius:14px;background:#fffE;color:#514263;font-size:10px;font-weight:800;box-shadow:0 5px 12px #3f5d6e12}
#homePage .daily-status-orb{width:22px;height:22px;background:linear-gradient(145deg,#74dcba,#42b999);color:#fff;font-size:14px;box-shadow:0 3px 7px #238b7138}
#homePage .daily-start{position:relative;z-index:3;padding:9px 13px;border:1px solid #fff;border-radius:13px;background:linear-gradient(120deg,#ffdb6f,#ffae54);color:#57314f;font-size:11px;font-weight:900;box-shadow:0 4px 0 #d98c41,0 8px 14px #55706c25}
#homePage .daily-challenge-art{right:-8px;bottom:-15px;width:165px;height:165px;opacity:1}
#homePage .daily-challenge-art img{width:100%;height:100%;object-fit:contain;filter:saturate(1.15) drop-shadow(0 8px 12px #4d637237);animation:game-art-float 4s ease-in-out -1.3s infinite}
#homePage .daily-challenge-sheen{right:-2%;top:5px;width:155px;height:155px;border:2px solid #fff7;box-shadow:0 0 0 14px #ffffff20}
@media(max-width:700px){#homePage .gift-panels{grid-template-columns:minmax(0,1fr);gap:12px}#homePage .gift-panels>.hourly-reward{min-height:160px;height:auto;grid-template-columns:minmax(0,1fr) 112px;grid-template-rows:1fr auto;padding:14px 15px}#homePage .hourly-reward .hourly-icon{width:121px;height:121px}#homePage .hourly-copy h2{font-size:19px}#homePage .hourly-reward .gift-description{font-size:11px!important}#homePage .gift-panels>.hourly-reward>.primary{grid-column:1;grid-row:2;margin-top:7px;padding:8px 11px;font-size:10px}#homePage .gift-panels>.daily-challenge{min-height:166px;height:auto;grid-template-columns:minmax(0,1fr) 105px;padding:14px 15px}#homePage .daily-challenge h2{font-size:19px}#homePage .daily-challenge-copy>p{font-size:11px}#homePage .daily-challenge-art{right:-10px;bottom:-12px;width:126px;height:126px}}
@media(max-width:390px){#homePage .gift-panels>.hourly-reward{min-height:154px;grid-template-columns:minmax(0,1fr) 86px;padding:12px}#homePage .hourly-reward .hourly-icon{width:98px;height:105px}#homePage .hourly-copy h2{font-size:17px}#homePage .hourly-reward .gift-description{font-size:10px!important}#homePage .gift-panels>.daily-challenge{min-height:158px;grid-template-columns:minmax(0,1fr) 83px;padding:12px}#homePage .daily-challenge h2{font-size:17px}#homePage .daily-challenge-copy>p{font-size:10px}#homePage .daily-challenge-art{right:-16px;width:105px;height:112px}}
@media(prefers-reduced-motion:reduce){#homePage .hourly-icon img,#homePage .daily-challenge-art img{animation:none!important}}
/* Hourly prize cards: vivid storybook artwork with a clear center for the reveal text. */
.prize-card-face{border:4px solid #fff;box-shadow:inset 0 0 0 2px #e5bd59,inset 0 0 0 5px #fff8,0 14px 26px #39244d45}
.prize-card-cover:before{background:linear-gradient(180deg,#43224a26 0%,#fff2 18%,#fff4 45%,#fff3 72%,#43224a24 100%)}
.prize-card-cover:after{inset:11px;border:2px solid #fff9;box-shadow:inset 0 0 0 1px #d7a83f99,0 0 20px #fff7}
.prize-card-cover-ribbon{border:2px solid #fff;background:linear-gradient(100deg,#fff,#ffe7f5);color:#783c91;text-shadow:0 1px #fff}
.prize-card-cover-emblem{width:91px;height:91px;border:3px solid #fff;outline:2px solid #edc54d;background:radial-gradient(circle at 34% 28%,#fff 0,#fff6 35%,#f5b8eb 100%);color:#b23fc0;box-shadow:0 8px 22px #61366555,0 0 25px #fff9}
.prize-card-sparkles .prize-card-cover-emblem{background:radial-gradient(circle at 34% 28%,#fffbd4 0,#fff8 37%,#a9a2f3 100%);color:#8450bf;text-shadow:0 0 15px #ffc72d;outline-color:#ffce4a}
.prize-card-cover>strong{color:#432351;text-shadow:0 1px 0 #fff,0 3px 14px #fff}
.prize-card-cover-rule{height:3px;background:linear-gradient(90deg,transparent,#d49b27,#ec68bb,#d49b27,transparent)}
.prize-card-cover-instruction{border:2px solid #fff;background:linear-gradient(105deg,#9545c7,#d64ca5);color:#fff;text-shadow:0 1px 3px #54226880;box-shadow:0 5px 14px #69357a55}
.prize-card-sparkles .prize-card-cover-instruction{background:linear-gradient(105deg,#ffdf6d,#ffb747);color:#56315f;text-shadow:0 1px #fff8}
.prize-card-reveal:before{background:linear-gradient(180deg,#fff5 0%,#fff8 24%,#fffdf1e8 52%,#fffaf2e8 78%,#f2e8ffb8 100%)}
.prize-card-reveal-kicker{border:1px solid #f1d474;background:linear-gradient(100deg,#fffdf1,#fff);color:#74418d;box-shadow:0 4px 12px #55345a32}
.prize-card-reveal img{filter:drop-shadow(0 8px 8px #44305242) saturate(1.1)}
.prize-card-amount{color:#713db1;text-shadow:0 2px #fff,0 4px #fff,0 7px 18px #55317a55}
.prize-card-unit{color:#543667}
/* Account access and device-to-device progress. */
.auth-gate{width:min(1120px,calc(100% - 36px));min-height:min(690px,calc(100vh - 110px));margin:30px auto 54px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);align-items:stretch;gap:24px}
.auth-art{position:relative;display:flex;align-items:flex-end;min-height:540px;overflow:hidden;border:1px solid #fff;border-radius:34px;background:linear-gradient(145deg,#572b8a,#f087b7 55%,#ffcf70);box-shadow:0 22px 55px #55366b24}
.auth-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.14)}
.auth-art:after{content:"";position:absolute;inset:28% 0 0;background:linear-gradient(180deg,transparent,#241235c7)}
.auth-art-copy{position:relative;z-index:1;max-width:590px;padding:34px;color:#fff;text-shadow:0 2px 16px #24123570}
.auth-art-copy .eyebrow{color:#ffe987;font-size:11px;letter-spacing:2px;font-weight:1000}
.auth-art-copy h1{margin:10px 0;font-size:clamp(32px,4.5vw,52px);line-height:1.04;letter-spacing:-1.4px}
.auth-art-copy p{max-width:490px;margin:0;font-size:16px;line-height:1.6;font-weight:650}
.auth-card{align-self:center;padding:30px;border:1px solid #fff;border-radius:28px;background:linear-gradient(150deg,#fffdfb,#fff8f4 65%,#f6edff);box-shadow:0 18px 50px #573b6b1a}
.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin-bottom:23px;border:1px solid #f0e4f5;border-radius:16px;background:#f8f1fc}
.auth-mode{padding:10px 8px;border:0;border-radius:12px;background:transparent;color:#765b86;font:800 13px inherit;cursor:pointer}
.auth-mode.active{background:linear-gradient(110deg,#8250c2,#bb63c8);color:#fff;box-shadow:0 5px 13px #8050af35}
.auth-card form{display:flex;flex-direction:column;gap:9px}
.auth-card label{margin-top:5px;color:#49345e;font-size:13px;font-weight:900}
.auth-card input{width:100%;min-height:47px;padding:11px 13px;border:1px solid #dfd0eb;border-radius:13px;background:#fff;color:#392650;font:600 15px inherit;outline:none;box-shadow:0 3px 8px #4f386a0a}
.auth-card input:focus{border-color:#a364cb;box-shadow:0 0 0 4px #b179d629}
.auth-field-hint{color:#81728d;font-size:11px;line-height:1.45}
.auth-private-note{margin:9px 0 0;padding:10px 12px;border-radius:13px;background:#fff3d9;color:#71542d;font-size:11px;line-height:1.45;font-weight:700}
.auth-message{min-height:18px;margin:0;color:#8551a9;font-size:12px;font-weight:800}
.auth-message.is-error{color:#b23e62}
.auth-submit{width:100%;justify-content:center;margin:0;padding:13px 16px;font-size:14px}
.auth-submit:disabled{opacity:.65;cursor:wait}
.auth-footnote{margin:14px 0 0;color:#877b90;font-size:10px;line-height:1.5;text-align:center}
.account-tools{display:flex;align-items:center;gap:8px;padding:5px 6px 5px 11px;border:1px solid #eadcf3;border-radius:99px;background:#fff9}
.account-name{max-width:130px;overflow:hidden;color:#64437d;font-size:11px;font-weight:900;text-overflow:ellipsis}
.account-logout{padding:6px 10px;border:0;border-radius:99px;background:#f2e7fa;color:#79529a;font-size:10px;font-weight:900;cursor:pointer}
body.auth-mode .coin,body.auth-mode .local-badge{display:none}
@media(max-width:760px){.auth-gate{width:min(520px,calc(100% - 24px));min-height:auto;margin:16px auto 32px;grid-template-columns:1fr;gap:14px}.auth-art{min-height:235px;border-radius:24px}.auth-art-copy{padding:22px}.auth-art-copy h1{font-size:30px}.auth-art-copy p{font-size:13px;line-height:1.4}.auth-art:after{inset:15% 0 0}.auth-card{padding:21px;border-radius:22px}}
@media(max-width:520px){.header-tools{gap:6px}.account-tools{gap:5px;padding:4px 5px 4px 8px}.account-name{max-width:78px;font-size:10px}.account-logout{padding:6px 7px;font-size:9px}.auth-gate{margin-top:9px}.auth-art{min-height:205px}.auth-card{padding:17px}.auth-art-copy h1{font-size:26px}}
/* Guest-first entrance and optional account conversion. */
#guestWelcome h2{margin:12px 0 7px;color:#49345e;font-size:25px;line-height:1.12}#guestWelcome>p:not(.auth-message){margin:0 0 18px;color:#776786;font-size:13px;line-height:1.55;font-weight:650}.guest-start{min-height:50px;font-size:15px!important;box-shadow:0 8px 18px #a158d54a}.guest-account-prompt{margin:18px 0 8px!important;text-align:center}.inline-auth-link{padding:0;border:0;background:none;color:#8250b7;font-family:inherit;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.guest-register-link{display:block;margin:0 auto;text-align:center;font-size:12px}.auth-back-link{display:block;margin:8px auto 0}.account-logout{white-space:nowrap}

#authGate[hidden]{display:none!important}

.note-save-button{flex:0 0 auto;margin-left:auto;border:0;border-radius:999px;padding:10px 16px;background:linear-gradient(135deg,#8050bc,#a35bc3);color:#fff;font:inherit;font-weight:800;box-shadow:0 4px 0 #67409a;cursor:pointer;transition:transform .18s,box-shadow .18s}.note-save-button:hover{transform:translateY(-2px);box-shadow:0 6px 0 #67409a}.note-save-button:focus-visible{outline:3px solid #f29dce;outline-offset:3px}.note-save-button[hidden]{display:none!important}@media(max-width:620px){.note{flex-wrap:wrap}.note-save-button{margin-left:32px}}

/* Brighter, more magical masthead */
.topbar{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(108deg,#713bb5 0%,#a347c5 52%,#e864a0 100%);border-bottom:3px solid #ffd86d;box-shadow:0 7px 24px #56307830}.topbar:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 20% 120%,#ffcf6b50 0,transparent 34%),radial-gradient(ellipse at 83% -25%,#ffd5ee45 0,transparent 30%)}.brand{display:inline-flex;align-items:center;gap:12px;color:#fff;font-weight:900;text-shadow:0 2px 8px #3a1e5c55}.brand:before{content:'✦';display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:15px;transform:rotate(-8deg);background:linear-gradient(145deg,#ffe982,#ffb75e);color:#8a43ad;font-size:25px;text-shadow:none;box-shadow:0 4px 0 #d68478,0 7px 16px #3e1b5c35}.brand:hover{color:#fff4c8}.header-tools select{background:#fffafc;border:2px solid #ffffffb8;box-shadow:0 3px 10px #49226925}.coin{background:linear-gradient(135deg,#ffe989,#ffc95c);border:1px solid #fff2b3;color:#67451b;box-shadow:0 3px 10px #49226922}.account-tools{background:#ffffff25;border:1px solid #ffffff52;color:#fff}.account-name{color:#fff}.account-logout{background:#fff8;color:#5b3476}@media(max-width:520px){.brand{font-size:clamp(16px,4.7vw,18px);gap:9px}.brand:before{width:34px;height:34px;flex-basis:34px;border-radius:12px;font-size:21px}.header-tools select{background:#fffafc}.topbar{min-height:78px}}

/* Soft illustrated color across the full page */
body{background-color:#f3eaf8;background-image:radial-gradient(ellipse at 5% 8%,#ffe4dd 0,transparent 34%),radial-gradient(ellipse at 93% 16%,#e4d9ff 0,transparent 38%),radial-gradient(ellipse at 52% 92%,#e0f4e9 0,transparent 36%),linear-gradient(135deg,#f7effb 0%,#fbf1ed 48%,#f0ebfb 100%);background-attachment:fixed;color:var(--ink)}body:before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background-image:url('/ambient-blooms.svg');background-repeat:repeat;background-size:440px 360px;opacity:.19}body>.topbar,body>#authGate,body>#app,body>footer{position:relative;z-index:1}

.collection-toolbar{display:flex;align-items:end;gap:16px;margin:0 0 18px}.collection-toolbar .collection-search{flex:1;max-width:520px;margin:0}.collection-sort{display:grid;gap:7px;width:min(280px,36%);color:#725d83;font-size:12px;font-weight:800}.collection-sort select{width:100%;min-height:42px;border:1px solid #e5d8ef;border-radius:14px;background:#fff;padding:10px 36px 10px 13px;color:#422957;font:inherit;box-shadow:0 4px 12px #563b6d0b;outline:none}.collection-sort select:focus-visible{border-color:#b795d4;box-shadow:0 0 0 3px #d8c3ee60;outline:none}@media(max-width:520px){.collection-toolbar{align-items:stretch;flex-direction:column;gap:10px}.collection-toolbar .collection-search{max-width:none}.collection-sort{width:100%}}
.collection-head>div:first-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.collection-head>div:first-child .eyebrow{flex-basis:100%}.collection-inline-count{display:inline-flex;align-items:center;font-size:12px;padding:6px 10px}.home-collection-actions{display:flex;align-items:end;gap:12px}.compact-sort{width:210px;gap:4px}.compact-sort span{font-size:10px}.compact-sort select{min-height:38px;padding:7px 30px 7px 11px;font-size:12px}.collection-tab{display:flex;align-items:center;gap:6px}.tab-collection-count{display:inline-flex;align-items:center;padding:3px 7px;border-radius:20px;background:#f1e9f9;color:#7650a0;font-size:10px;font-weight:900;line-height:1.2}.tab.active .tab-collection-count{background:#ffffff30;color:#fff}.collection-count-in-title{display:inline-flex}
@media(max-width:650px){.home-collection-actions{gap:7px}.compact-sort{width:165px}.compact-sort select{font-size:10px}.collection-inline-count{font-size:10px;padding:5px 8px}.tab-collection-count{font-size:9px;padding:3px 5px}}

.collection-title{display:flex;align-items:baseline;gap:12px}.collection-title-count{font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;color:inherit;white-space:nowrap}.tab-collection-count{font-size:inherit;padding:2px 7px}
@media(max-width:520px){.collection-title{gap:8px}.collection-title-count{font-size:inherit}}

.collection-head>div:first-child{display:block}.collection-pool-note{margin:5px 0 0;color:#806b91;font-size:12px;font-weight:700;line-height:1.45}.collection-pool-note:before{content:'✦';margin-right:7px;color:#d59a42}@media(max-width:520px){.collection-pool-note{max-width:100%;font-size:11px}}

.language-picker{position:relative;z-index:30}.language-toggle{display:flex;align-items:center;gap:9px;min-width:142px;padding:9px 12px;border:1px solid #e8dcf4;border-radius:13px;background:#fff;color:#49345d;font-weight:800;box-shadow:0 3px 10px #49345d0b}.language-toggle img,.language-menu img{width:24px;height:16px;display:block;object-fit:cover;border-radius:3px;box-shadow:0 1px 3px #34204730}.language-chevron{margin-left:auto;color:#856d9c}.language-menu{position:absolute;top:calc(100% + 8px);right:0;display:grid;gap:3px;min-width:180px;padding:7px;border:1px solid #e8dcf4;border-radius:16px;background:#fffdfd;box-shadow:0 12px 30px #38264c26}.language-menu[hidden]{display:none!important}.language-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#49345d;text-align:left;font-weight:700}.language-menu button:hover,.language-menu button[aria-selected=true]{background:#f2e8fb;color:#7044a4}.language-toggle:focus-visible,.language-menu button:focus-visible{outline:3px solid #c99ae5;outline-offset:2px}@media(max-width:520px){.language-toggle{min-width:108px;padding:8px 7px;gap:6px;font-size:12px}.language-toggle img{width:21px;height:14px}.language-menu{min-width:160px}}
body>.topbar{overflow:visible;z-index:100}.topbar{overflow:visible}.language-picker{z-index:101}.language-menu{z-index:102}
.collection-progress-widget{display:grid;gap:6px;max-width:390px;margin-top:9px;padding:10px 12px;border:1px solid #eadcf5;border-radius:14px;background:linear-gradient(110deg,#fff9e9 0%,#fff4fb 55%,#f3edff 100%);box-shadow:0 5px 14px #6440800d;color:#59436f}.collection-pool-note.collection-progress-widget:before{display:none}.collection-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;line-height:1.3}.collection-progress-top span{color:#806b91;font-weight:800}.collection-progress-top b{color:#7046a6;font-size:12px;white-space:nowrap}.collection-progress-track{display:block;height:7px;overflow:hidden;border-radius:999px;background:#e9deef}.collection-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a956d1,#ed70a9 75%,#ffc45d);transition:width .35s ease}.collection-progress-widget small{color:#6f6480;font-size:10px;font-weight:700;line-height:1.35}.collection-progress-widget.is-complete{max-width:350px}.collection-progress-widget.is-complete strong{font-size:11px}.collection-progress-widget.is-complete .collection-progress-track i{background:linear-gradient(90deg,#8bcf9e,#59cdb3)}@media(max-width:620px){.collection-progress-widget{max-width:100%;padding:9px 10px}}

/* Responsive polish: use more of large screens, keep the language menu visible, and prevent narrow-screen clipping. */
body{min-width:320px;overflow-x:clip}
.topbar{position:sticky;top:0;z-index:200;overflow:visible}
.tabs,.page,footer{width:min(1280px,calc(100% - 48px));max-width:1280px;margin-left:auto;margin-right:auto}
.topbar{padding-left:max(calc((100vw - 1280px)/2),24px);padding-right:max(calc((100vw - 1280px)/2),24px)}
.language-picker{position:relative;z-index:201}
.language-menu{z-index:202;max-height:min(58vh,380px);overflow-y:auto;overscroll-behavior:contain}
.language-menu button{min-height:42px}
.place-slide,.activity,.mini-card,.creature-card{min-width:0}
dialog{max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:800px){
  .tabs,.page,footer{width:calc(100% - 36px);margin-left:auto;margin-right:auto}
  .topbar{padding-left:18px;padding-right:18px}
  .game-heading{width:min(100%,680px)}
  .places-track{max-width:100%;overscroll-behavior-x:contain}
}
@media(max-width:560px){
  .topbar{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:8px;height:auto;min-height:0;padding:8px 10px 10px}
  .brand{max-width:100%;font-size:clamp(17px,5vw,21px);line-height:1.1;white-space:nowrap}
  .brand:before{width:32px;height:32px;flex-basis:32px;font-size:19px}
  .header-tools{width:100%;max-width:460px;justify-content:center;flex-wrap:wrap;gap:6px}
  .language-toggle{min-width:0;min-height:40px;padding:7px 9px;font-size:12px}
  .language-menu{top:calc(100% + 5px);right:0;min-width:166px;max-height:min(54vh,330px)}
  .account-tools{max-width:44vw}
  .account-name{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .coin{padding:7px 9px;font-size:12px;white-space:nowrap}
  .tabs,.page,footer{width:calc(100% - 24px);margin-left:auto;margin-right:auto}
  .tabs{justify-content:flex-start;gap:3px;padding:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
  .tab{flex:0 0 auto;padding:10px 9px;font-size:11px}
  .section-head{gap:10px;flex-wrap:wrap}
  .section-head>div{min-width:0}
  .home-collection-actions{width:100%;justify-content:space-between;flex-wrap:wrap}
  .compact-sort{width:min(190px,54vw)}
  .compact-sort select{max-width:100%;white-space:normal}
  .activity-grid{grid-template-columns:minmax(0,1fr)}
  .creature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .game-heading{width:100%;padding:16px 14px}
  dialog{width:calc(100% - 20px);max-width:620px;padding:20px 14px}
  dialog:has(.decor-shop-grid){width:calc(100% - 16px);max-height:92dvh;padding:16px 10px}
  .decor-shop-grid{max-height:calc(92dvh - 90px)}
}
@media(max-width:360px){
  .brand{font-size:16px;gap:7px}
  .header-tools{gap:5px}
  .language-toggle{padding:6px 7px;font-size:11px}
  .account-tools{gap:4px;padding:4px}
  .account-logout{padding:6px;font-size:9px}
  .coin{padding:6px 7px;font-size:11px}
  .tab{padding:9px 7px;font-size:10px}
  .places-track{gap:8px;margin-right:-12px;padding-right:12px}
  .place-slide{flex-basis:92%}
  .place-actions .soft-button{padding:8px 7px;font-size:9px}
  .color-pad{gap:6px}
  #gamePage .color-button{width:min(68px,19vw);height:76px}
  .creature-grid{gap:7px}
}

/* Mobile typography: keep helper labels and secondary copy readable on phone screens. */
@media(max-width:560px){
  .eyebrow{font-size:11px;letter-spacing:1.25px}
  .tab{font-size:12px}
  .tab-collection-count{font-size:10px}
  #homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:10px;letter-spacing:1.2px}
  #homePage .hourly-copy h2{font-size:20px;line-height:1.18}
  #homePage .hourly-reward .gift-description{font-size:13px!important;line-height:1.4!important}
  #homePage .hourly-reward .countdown{font-size:11px!important;line-height:1.3}
  #homePage .gift-panels>.hourly-reward>.primary{font-size:12px;padding:9px 12px}
  #homePage .daily-challenge h2{font-size:20px;line-height:1.18}
  #homePage .daily-challenge-copy>p{font-size:13px;line-height:1.4}
  #homePage .daily-challenge-status{font-size:11px;line-height:1.35}
  #homePage .daily-challenge-status small{font-size:10px}
  #homePage .daily-start{font-size:12px;padding:8px 10px}
  .places-intro{font-size:13px;line-height:1.45}
  .places-hint{font-size:12px;line-height:1.45}
  .place-titlebox h3{font-size:22px}
  .place-titlebox p{font-size:12px;line-height:1.35}
  .place-kicker{font-size:10px;letter-spacing:1.1px}
  .place-hint-chip,.place-count{font-size:11px}
  .place-actions .soft-button{font-size:11px}
  .activity b{font-size:19px}
  .activity small{font-size:13px;line-height:1.35}
  .collection-sort,.collection-search,.collection-sort select,.collection-search input{font-size:12px}
  .collection-pool-note{font-size:12px;line-height:1.45}
  .creature-card p{font-size:11px}
  .creature-card small{font-size:11px}
  .note{font-size:12px;line-height:1.5}
  .mini-card-copy small{font-size:12px}
  #gamePage .game-heading p,#gamePage .mini-status{font-size:13px}
  #gamePage .color-button b{font-size:11px}
}
@media(max-width:390px){
  .tab{font-size:11px}
  #homePage .hourly-copy h2{font-size:19px}
  #homePage .daily-challenge h2{font-size:19px}
  .places-intro{font-size:12px}
}
.collection-progress-top b{margin-left:10px}

/* Keep small labels readable on phones without inflating the main headings. */
@media(max-width:560px){
  .eyebrow{font-size:12px;letter-spacing:1px}
  .tab{font-size:13px}
  .tab-collection-count{font-size:11px}
  #homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:11px}
  #homePage .hourly-reward .countdown{font-size:12px!important}
  #homePage .daily-challenge-status{font-size:12px}
  #homePage .daily-challenge-status small{font-size:11px}
  .places-hint,.place-titlebox p,.place-hint-chip,.place-count{font-size:12px}
  .note,.collection-pool-note{font-size:13px;line-height:1.5}
  .creature-card p,.creature-card small{font-size:12px}
  .activity small,.mini-card-copy small{font-size:14px}
  #gamePage .color-button b{font-size:12px}
}
@media(max-width:360px){
  .tab{font-size:12px}
  #homePage .hourly-copy .eyebrow,#homePage .daily-challenge .eyebrow{font-size:10px}
  .activity small,.mini-card-copy small{font-size:13px}
}
