@font-face{font-family:Baloo;src:url("/assets/baloo-latin.woff2") format("woff2");font-weight:400 800;font-display:swap}
:root{font-family:Baloo,"Trebuchet MS",sans-serif;color:#fff8ed;--ink:#43215b;--gold:#ffdf86;--display:"Luckiest Guy",Baloo,sans-serif}
*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 12% 45%,#482879 0,transparent 45%),radial-gradient(ellipse at 80% 0%,#3a3b88 0,transparent 48%),linear-gradient(#121646,#2a1756 75%,#482253);isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.65;background-image:radial-gradient(#fffbd5 1.3px,transparent 1.9px),radial-gradient(#e2d4ff 1px,transparent 1.6px),radial-gradient(#ebdeff 1.4px,transparent 2px);background-size:103px 113px,61px 73px,157px 149px;background-position:15px 41px,0 7px,30px 6px}
button,a{font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;color:var(--ink)}button:disabled{cursor:default}
button:focus-visible,a:focus-visible{outline:4px solid #58f7ff;outline-offset:3px}
button:active:not(:disabled),a:active{translate:0 2px}
.top,main{width:min(100%,990px);margin:auto;padding-inline:20px}
.top{display:flex;gap:8px;align-items:center;min-height:74px;padding-block:12px}.tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.pill,.wallet{border:2px solid #b796eb;background:linear-gradient(#604193,#45236d);border-radius:24px;display:inline-flex;align-items:center;justify-content:center;gap:5px;line-height:1.1;color:white;font-weight:800;text-decoration:none;min-height:42px;padding:5px 13px;box-shadow:inset 0 2px #ffffff36,0 3px #110f3c}
.pill img,.wallet img{width:27px;height:27px;object-fit:contain}.wallet{border-color:#e9bb71;color:#ffe991}.wallet b{font-size:21px;min-width:1ch}.round{width:43px;height:43px;padding:8px}.pill svg{width:23px;height:23px}
main{padding-bottom:30px}
.hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end;min-height:clamp(290px,37vw,372px);border:3px solid #dfb770;border-radius:26px;overflow:hidden;background:#39235c;box-shadow:0 4px #8d5484,0 10px 22px #09093150}
.cover{position:absolute;inset:0;width:78%;height:100%;object-fit:cover;object-position:48% 56%;z-index:-2}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 0%,transparent 47%,#39235c99 61%,#39235c 76%)}
.hero-copy{width:41%;padding:17px 14px 20px 0;text-align:center}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:400;letter-spacing:.005em;line-height:1.04}
h1{transform:rotate(-3deg);text-shadow:0 3px #522757}
h1>*{display:block}h1 small{font:800 18px/1.22 Baloo,sans-serif;letter-spacing:.035em;margin-bottom:2px}h1 small:nth-of-type(2){margin:6px 0 3px}
h1 span,h1 b{font-size:clamp(44px,5.3vw,68px);font-weight:400;paint-order:stroke fill;-webkit-text-stroke:6px #702167;color:#ffccfa;text-shadow:0 4px #e853bd,0 7px #682367}
h1 b{color:#ffe170;-webkit-text-stroke-color:#954717;text-shadow:0 4px #ee990e,0 7px #8a401c}
.primary{display:inline-flex;align-items:center;justify-content:center;color:#481753;font-weight:800;min-height:46px;padding:8px 24px;border:2px solid #7a326d;border-radius:18px;background:linear-gradient(#fff4ac,#ffce5f 75%);box-shadow:inset 0 -3px #f5ab42,0 3px #b16b74;font-size:19px}
.hero .primary{margin-top:22px;color:white;text-shadow:0 2px #87296e;background:linear-gradient(#ff81c7,#e9449e 73%);border:2px solid #ffd8f9;box-shadow:inset 0 -4px #c52b86,0 3px #9d3c86;font-size:23px;border-radius:24px}
.map-title,.mission-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.map-title{margin:20px 4px 9px}.map-title h2{font-size:29px;color:#fff2d3}.map-title>span{color:#e8d8ff;font-size:14px;font-weight:700}
#map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.map-stop{display:flex;gap:9px;align-items:center;position:relative;background:#fff1cf;border:2px solid #d3a265;border-radius:15px;padding:7px;text-align:left;font-size:17px;font-weight:800;line-height:1.13;box-shadow:inset 0 -3px #e9cda0,0 3px #523363}
.map-image{width:50px;height:50px;display:grid;place-items:center;flex:none;background:#ffdc9d;border-radius:13px}.map-image img{width:90%;height:90%;object-fit:contain}.badge{margin-left:auto;display:grid;place-items:center;font-size:21px}.badge svg{width:15px;height:15px}
.map-stop:disabled{color:#403452;background:#d7c7e0;border-color:#b19bc3;box-shadow:inset 0 -2px #c2aed0,0 3px #493258}.map-stop:disabled .map-image{background:#c6b2d4}.map-stop:disabled img{filter:saturate(.58)}
#mission{max-width:810px;margin:auto}.mission-heading{padding:8px 2px 0}.mission-heading h2{font-size:clamp(30px,5vw,51px);color:#fff2ca}.mission-heading #world,.reward-count{font-size:14px;font-weight:800;letter-spacing:.045em;color:#ffde91}
.counter{font:400 24px/1 var(--display);background:#553281;border:2px solid #caa1d9;border-radius:22px;padding:9px 14px;white-space:nowrap;color:#fff0c4}
#brief{margin:8px 2px 13px;font-size:18px;font-weight:600;line-height:1.25}
.stage{overflow:hidden;border:3px solid #dcb26b;border-radius:23px;box-shadow:0 4px #9b6681,0 12px 24px #16113480;background:#fff2d4}
#scene{position:relative;isolation:isolate;aspect-ratio:1.88;overflow:hidden;background-size:cover;background-position:center}
[data-world="aldea"]{background-image:url("./art/aldea.webp")}[data-world="bosque"]{background-image:url("./art/bosque.webp")}[data-world="ciudad"]{background-image:url("./art/ciudad.webp")}[data-world="desierto"]{background-image:url("./art/desierto.webp")}
#bench{position:relative;z-index:1;background:linear-gradient(#fff6e1,#ffebc1);border-top:3px solid #d2a16e;padding:12px;color:var(--ink)}
#status{min-height:1.5em;margin:10px 3px;font-weight:700;line-height:1.25}
#magic{float:right;margin:8px 0 0 10px;font-size:14px}.road-friend{position:absolute;z-index:1;pointer-events:none;left:1.5%;bottom:1%;width:10%;max-height:20%;object-fit:contain;filter:drop-shadow(0 2px 2px #48336066)}.road-friend.stellar{filter:hue-rotate(238deg) saturate(1.22)}.magic-target{outline:3px dashed #fff498;outline-offset:2px;border-radius:10px;filter:drop-shadow(0 0 8px #ffef66)}
.hidden-gift,.light{position:absolute;transform:translate(-50%,-50%);border:0;padding:0;background:transparent;width:clamp(44px,7.2vw,65px);height:clamp(44px,7.2vw,65px);display:grid;place-items:center}
.hidden-gift img{width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 2px 1px #442d52ad)}.hidden-gift:nth-child(even) img{width:66%;height:66%}
.tint-1{filter:hue-rotate(298deg) saturate(1.2)}.tint-2{filter:hue-rotate(108deg) saturate(1.12)}
.cloth.tint-1{filter:hue-rotate(55deg) brightness(1.22)}.cloth.tint-2{filter:hue-rotate(224deg) brightness(1.35)}
.tally,.choices,.tabs,.task-label{display:flex;align-items:center;justify-content:center;gap:12px}.tally span{width:36px;height:36px;opacity:.42;filter:grayscale(1)}.tally img{width:100%;height:100%;object-fit:contain}.tally .collected{opacity:1;filter:none}
#scene .trail{position:absolute;width:100%;height:100%;overflow:visible}.trail polyline{fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}.ghost-path{stroke:#321f5d;stroke-dasharray:1.4 2;opacity:.85}.lit-path{stroke:#ffdc66}
.light{width:clamp(42px,6.5vw,61px);height:clamp(42px,6.5vw,61px);border-radius:100%}.light img{width:85%;height:85%;object-fit:contain}.light b{position:absolute;bottom:-3px;right:0;width:20px;border-radius:15px;color:white;background:#583576;line-height:20px}.light.waiting img{filter:grayscale(.9) brightness(.8);opacity:.9}.light.next{background:#fff8ce5e;box-shadow:0 0 0 2px #fff8bd,0 0 18px 6px #ffe979}.light.lit{opacity:.58}.task-label{font-size:18px;font-weight:800}.task-label img{width:36px;height:36px;object-fit:contain}
.stable,.dais{position:absolute;width:68%;height:88%;left:16%;bottom:1%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column}.animal-target{height:88%;width:100%;display:grid;place-items:center;background:none;padding:0}.camel{position:relative;display:block;width:100%;height:100%}.camel img{position:absolute;object-fit:contain;inset:0;width:100%;height:100%}.camel.aurora .animal{filter:hue-rotate(310deg) saturate(.85)}.camel .blanket{width:31%;height:25%;inset:48% auto auto 34%;transform:rotate(-9deg)}.camel .load{width:25%;height:28%;inset:28% auto auto 39%}
.name-tag,.need,.wish,.house-name{border:2px solid #935c72;border-radius:14px;background:#fff4d9;color:var(--ink);padding:3px 14px;font-size:17px;font-weight:800;box-shadow:0 2px 0 #74435e}
.need{position:absolute;top:7%;right:4%;display:flex;align-items:center;gap:6px}.need img{width:32px;height:32px;object-fit:contain}
.choice,.tab{display:grid;justify-items:center;align-content:center;gap:0;border:2px solid #ac809a;border-radius:13px;background:#fff9ee;font-weight:800;line-height:1.1;min-height:48px;padding:4px 10px;box-shadow:0 2px #d8b5b1}.choice{min-width:min(115px,26vw)}.choice img{width:43px;height:43px;object-fit:contain}
[aria-pressed="true"].choice,[aria-pressed="true"].tab{background:#ffdfa2;border-color:#8f4f80;box-shadow:0 0 0 2px #c96fa6}
.dais{height:87%;bottom:2%}.actor{height:100%;aspect-ratio:1;position:relative;isolation:isolate;max-width:100%}.actor img{position:absolute;width:100%;height:100%;object-fit:contain;pointer-events:none}.actor .person{inset:0}.actor .robe{width:91%;height:72%;left:4.5%;bottom:0;object-fit:fill;z-index:-1}.actor .crown{width:45%;height:30%;left:27%;top:-8%;transform:rotate(-3deg)}.actor .scepter{width:36%;height:53%;right:13%;bottom:12%;object-fit:fill;transform:rotate(9deg)}
.wardrobe{display:grid;grid-template-columns:1fr auto;gap:9px 15px;align-items:center;justify-content:center}.tabs{gap:5px;grid-column:1/-1}.tab{padding:4px 15px;min-height:34px}.swatches{gap:7px}.swatches .choice{min-width:60px;display:flex;justify-content:center;align-items:center;gap:4px}.swatches img{width:35px;height:35px}.small{padding:7px 12px;font-size:17px}.primary:disabled{filter:grayscale(.85);opacity:.66}
#procession{display:flex;align-items:end;justify-content:center;height:112px;margin:10px 0;border-radius:14px;background:center 62%/cover url("./art/ciudad.webp");padding:9px 5px 1px}#procession .actor{width:31%;height:99%}
.village{position:absolute;inset:17% 4% 9%;display:flex;align-items:flex-end;justify-content:space-around;gap:6px}.house{position:relative;display:flex;flex-direction:column;align-items:center;background:none;padding:0;width:29%;height:85%;justify-content:flex-end;--wall:#ffd59b;--roof:#b84c57}.house-1{--wall:#e0c2ff;--roof:#845387}.house-2{--wall:#b7e4e0;--roof:#3b7794}
.roof{position:relative;width:100%;height:30%;background:var(--roof);clip-path:polygon(0 100%,15% 24%,48% 0,82% 18%,100% 100%);border-bottom:4px solid #6c4356;z-index:1}
.facade{position:relative;display:flex;align-items:center;justify-content:space-evenly;width:86%;height:31%;border:3px solid #915a5d;border-top:0;border-radius:0 0 9px 9px;background:linear-gradient(transparent,#9e63582b),var(--wall)}.facade i{width:17%;height:37%;background:#ffea83;border:2px solid #96604e;border-radius:8px 8px 2px 2px}.facade b{align-self:end;height:75%;width:25%;background:#754a57;border-radius:30px 30px 0 0}
.wish{padding:4px 6px;min-height:37px;min-width:38px;display:grid;place-items:center;margin-bottom:5px}.wish svg{width:31px;height:31px}.house-name{font-size:14px;position:relative;bottom:3px;line-height:1.2;padding:2px 10px}.house:disabled .wish{background:#d3f3c4;color:#275c42}.parcel{position:relative}.parcel i{position:absolute;bottom:0;right:-6px;width:24px;height:24px;padding:1px;border-radius:50%;background:#fff3d8}.parcel svg{width:100%;height:100%;display:block}
.race-map{position:absolute;top:4%;left:4%;right:4%;display:flex;gap:5px;justify-content:center}.race-map span{color:#e8e0f4;background:#3a295aa8;border:1px solid #ead8ff85;border-radius:18px;padding:2px 10px;font-weight:700}.race-map .here{color:#473052;background:#ffe59e}.race-map .past{color:#c7ffd8}
.crossroads{position:absolute;inset:19% 6% 5%;display:grid;grid-template-rows:repeat(3,1fr);gap:5px}.lane{display:block;position:relative;padding:0;background:#5540564f;border:1px solid #fff1c88c;border-radius:200px}.lane-line{position:absolute;top:50%;left:22%;right:15%;border-bottom:3px dashed #ffe8ad99}.lane .camel{position:absolute;top:-12%;left:8%;width:23%;height:122%;z-index:1}.beacon,.barrier{position:absolute;right:7%;top:50%;transform:translateY(-50%)}.beacon{width:13%;height:90%;object-fit:contain;filter:drop-shadow(0 0 8px #fff361)}.barrier{width:36px;height:36px;border:2px solid #fff0b0;border-radius:9px;color:white;background:#af5c54;font:bold 28px/32px sans-serif}
.race-clock{display:flex;justify-content:center;align-items:center;gap:12px}.race-clock b{font-size:23px;white-space:nowrap}.race-clock progress{width:min(62%,340px);accent-color:#a14b98}
.timeout{position:absolute;inset:0;background:#44264ccc;display:grid;align-content:center;justify-items:center;padding:8px;text-align:center}.timeout span{font-size:33px;color:#ffe386}.timeout p{margin:8px 0;font-weight:700}
#prize{min-height:65svh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center}.prize-card{border:3px solid #e1b56d;border-radius:24px;background:linear-gradient(155deg,#fff8e7,#ffe8ce);color:var(--ink);box-shadow:0 5px #975c83,0 16px 50px #140d35a6}
.prize-card{text-align:center;width:min(410px,100%);padding:24px}.prize-card h2{font-size:34px;color:#803579}.prize-card h2{margin:9px 0}.reward-count{color:#835423}.prize-card>img{width:130px;height:130px;object-fit:contain}.prize-card h3{font-size:24px}.prize-card p{line-height:1.3;margin:12px 0 16px}
.stellar{filter:hue-rotate(238deg) saturate(1.22)}
body:not([data-reduced="true"]) .light.next img,body:not([data-reduced="true"]) .beacon{animation:shine 1.65s ease-in-out infinite alternate}@keyframes shine{to{filter:drop-shadow(0 0 10px #fff4a3);scale:1.055}}
.house:disabled .facade i {
  background: #fff9bb;
  box-shadow: 0 0 9px 3px #ffd478, inset 0 0 3px #fff;
}
#scene[data-stage="5"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #ffab6999, #ffc78a42 43%, transparent 80%);
  opacity: var(--dawn-light, 0);
}
.race-clock[data-dawn="true"] { color: #853c23; }
.race-clock[data-dawn="true"] progress { accent-color: #b65329; }
/* The camel crosses neighboring buttons during a stride. */
.lane .camel { pointer-events: none; }
#prize-img.wrapped { filter: drop-shadow(0 4px 7px #ba7a3d55); }
body[data-reduced="false"] .light.guiding::before {
  content: "✦";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  font: 34px/1 Georgia, serif;
  color: #fffad5;
  text-shadow: 0 0 4px #ffe788, 0 0 12px #ffc34e;
  animation: guide-star .53s ease-out both;
}
body[data-reduced="false"] .camel.trotting { animation: caravan-step .43s ease-out; }
body[data-reduced="false"] .tally .found { animation: prize-unfold .4s ease-out; }
body[data-reduced="false"] #prize-img.wrapped { animation: gift-wiggle 2.6s ease-in-out infinite; }
body[data-reduced="false"] #prize-img.unwrapped { animation: prize-unfold .46s ease-out; }
body[data-reduced="false"] #procession.arrived .actor { animation: royal-bow .67s ease-in-out; }
#procession.arrived .actor:nth-child(2) { animation-delay: .12s; }
#procession.arrived .actor:nth-child(3) { animation-delay: .24s; }
@keyframes guide-star {
  from { transform: translate(var(--from-x), var(--from-y)) scale(.65); opacity: 1; }
  75% { opacity: 1; }
  to { transform: translate(0, 0) scale(1.25); opacity: 0; }
}
@keyframes caravan-step {
  from { transform: translate(var(--from-x), var(--from-y)) rotate(-4deg); }
  68% { transform: translate(7px, -5px) rotate(2deg); }
  to { transform: none; }
}
@keyframes prize-unfold {
  from { transform: scale(.72) rotate(-8deg); }
  65% { transform: scale(1.1) rotate(3deg); }
  to { transform: none; }
}
@keyframes gift-wiggle {
  0%, 55%, 81%, 100% { transform: none; }
  62% { transform: translateY(-3px) rotate(-4deg); }
  72% { transform: translateY(-2px) rotate(4deg); }
}
@keyframes royal-bow {
  36% { transform: translateY(3px) rotate(-5deg); }
  70% { transform: translateY(-4px) rotate(2deg); }
}
@media(max-width:650px){.top,main{padding-inline:10px}.top{min-height:61px;padding-block:9px;gap:5px}.tools{gap:5px}.pill,.wallet{min-height:39px;padding:4px 9px}.round{width:40px;height:40px}.hero{min-height:0;display:block;border-radius:20px}.cover{position:relative;width:100%;height:auto;aspect-ratio:1.9;object-position:center 47%;display:block}.hero::before{display:none}.hero-copy{width:100%;display:flex;gap:10px;justify-content:space-evenly;align-items:center;padding:12px 8px 15px;background:linear-gradient(115deg,#513075,#382153);border-top:2px solid #b285a5}h1{transform:rotate(-2deg)}h1 small{font-size:12px;line-height:.95}h1 small:nth-of-type(2){margin:3px 0}h1 span,h1 b{font-size:clamp(29px,8vw,44px);-webkit-text-stroke-width:3px;text-shadow:0 2px #9f418b}h1 b{text-shadow:0 2px #ad611d}.hero .primary{margin:0;font-size:18px;padding-inline:14px;min-height:45px}
  #map{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.map-title{margin:15px 3px 8px}.map-stop{font-size:14px;gap:5px;padding:4px;border-radius:13px}.map-image{width:37px;height:39px}.badge svg{width:12px}.badge{font-size:16px}
  #scene{aspect-ratio:1.22}.stage{border-radius:17px}.mission-heading h2{font-size:32px}.mission-heading #world{font-size:12px}.counter{font-size:19px;padding:7px 11px}#brief{font-size:16px;margin:6px 0 10px}.choices{gap:6px}.choice{font-size:14px;padding:4px 8px}.choice img{width:34px;height:34px}#bench{padding:8px}.need{font-size:14px;padding:3px 8px;top:4%;right:2%}.need img{width:24px;height:24px}
  .wardrobe{display:flex;flex-wrap:wrap;gap:6px}.wardrobe .tabs{width:100%}.tab{padding:3px 11px}.swatches .choice{min-width:45px;padding:4px;display:grid}.swatches img{width:27px;height:27px}.wardrobe .small{font-size:14px;padding:6px 8px}.house-name{font-size:12px}.village{inset-inline:2%}.race-map span{font-size:13px;padding:2px 6px}
}
@media(max-width:390px){#bag span{display:none}.map-image{width:30px}.map-stop{font-size:13px}.pill,.wallet{gap:2px}.top{gap:4px}.need{max-width:47%}.mission-heading h2{font-size:27px}.choices{gap:4px}.wardrobe .swatches{gap:3px}}
@media(max-width:360px){.top:has(#camp-link:not([hidden])) #portal{display:none}}
