:root{--paper:#f7f5ef;--ink:#282b24;--muted:#72756b;--orange:#d94c28;--purple:#ded5ed;--green:#d7dfb8;--ease:cubic-bezier(.2,.8,.2,1)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Arial',sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #7143b1;outline-offset:5px}[hidden]{display:none!important}.top{max-width:1340px;margin:auto;padding:28px 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfd5;gap:12px}.back{font-size:14px;color:var(--muted);text-decoration:none}.wordmark{font-size:21px;font-weight:800;display:flex;align-items:center;gap:9px}.brand-star{color:var(--orange);font-size:32px}.install{border:1px solid #cecec1;background:transparent;border-radius:30px;font-size:13px;padding:11px 17px;color:var(--ink)}main{max-width:1160px;margin:auto;padding:70px 36px 0;display:grid;grid-template-columns:.85fr 1.15fr;column-gap:80px}.intro{padding-top:36px}.eyebrow{font-size:13px;color:#62685b;display:flex;gap:8px;align-items:center}.eyebrow i{width:7px;height:7px;background:#76884b;border-radius:50%}h1{font-size:clamp(64px,7.5vw,100px);line-height:1.02;letter-spacing:-5px;font-weight:850;margin:30px 0;position:relative}h1>span:not(.spark){color:var(--orange)}.spark{display:inline-block;font-size:64px;margin-right:20px;vertical-align:middle;font-weight:400;color:#8a9161;transform:rotate(15deg)}.intro p{color:var(--muted);font-size:19px;line-height:1.75}.play-area{min-width:0;background:#fffdf8;border:1px solid #e5e3d9;border-radius:28px;padding:28px 32px 20px;box-shadow:0 18px 60px #37371f07}.controls{display:grid;gap:21px}fieldset{padding:0;border:0;margin:0;min-width:0}legend{font-size:11px;color:#8a8e80;margin-bottom:10px;padding:0;width:100%;font-variant-numeric:tabular-nums}legend span{font-size:14px;color:var(--ink);margin-right:8px;font-weight:650}.segments{display:flex;gap:5px;background:#f0efe7;border-radius:13px;padding:4px}.segments button{flex:1;border:0;background:transparent;border-radius:10px;padding:11px 5px;font-size:14px;color:#63675a;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}.segments button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 2px 6px #0000000d;font-weight:700}.stage{text-align:center;margin:28px 0 21px}.wheel-wrap{width:258px;height:258px;margin:auto;position:relative}.wheel{width:100%;height:100%;position:relative;border-radius:50%;border:8px solid #fffdf8;outline:1px solid #e2dfd1;background:conic-gradient(from -30deg,#ded5ed 0deg 60deg,#edb7a3 60deg 120deg,#e9d690 120deg 180deg,#d7dfb8 180deg 240deg,#b6cdd1 240deg 300deg,#ebd6c5 300deg 360deg);box-shadow:0 12px 20px #24291310;transition:transform 2.2s cubic-bezier(.15,.75,.12,1);direction:ltr}.slice{font-size:29px;position:absolute;top:50%;left:50%;width:44px;height:44px;margin:-22px;display:grid;place-items:center}.s1{transform:translateY(-81px)}.s2{transform:translate(70px,-40px) rotate(60deg)}.s3{transform:translate(70px,40px) rotate(120deg)}.s4{transform:translateY(81px) rotate(180deg)}.s5{transform:translate(-70px,40px) rotate(240deg)}.s6{transform:translate(-70px,-40px) rotate(300deg)}.hub{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:82px;height:82px;border-radius:50%;background:#fffdf8;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:16px;line-height:1.15;box-shadow:0 2px 6px #0000000d;direction:rtl}.hub b{font-size:25px}.pointer{position:absolute;top:-8px;left:calc(50% - 12px);width:24px;height:30px;clip-path:polygon(0 0,100% 0,50% 100%);background:var(--ink);z-index:1}.orbit{position:absolute;color:#959d6d;font-size:32px}.o1{top:12px;right:-30px}.o2{bottom:18px;left:-32px;color:var(--orange)}.wheel-caption{font-size:11px;color:#8a8d80;display:inline-block;margin-top:18px}.actions{display:flex;gap:8px}.primary{border:0;border-radius:14px;background:var(--orange);color:white;padding:17px 20px;display:flex;justify-content:center;align-items:center;gap:24px;font-weight:700;font-size:17px;min-height:56px;flex:1;box-shadow:0 3px 0 #b73d1d;transition:transform .2s,background .2s}.primary:hover{background:#c54020;transform:translateY(-1px)}.primary span{font-size:24px}.secondary{border:1px solid #d6d8c9;border-radius:14px;background:transparent;color:var(--ink);padding:12px 16px;font-size:14px}.rule{display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;color:#7a7f70;margin-top:18px}.dots{display:flex;gap:3px}.dots i{width:5px;height:5px;border-radius:50%;background:#d6dac8}.dots i:last-child{background:var(--orange)}.notice{text-align:center;color:#71775f;font-size:12px;min-height:14px;margin:10px 0 0}.result{padding:22px;margin:24px 0;background:#f0f2e5;border:1px solid #dee2cc;border-radius:18px;outline:none}.result .tag{font-size:11px;letter-spacing:.2px;color:#626a4a}.result h2{font-size:27px;letter-spacing:-.8px;line-height:1.25;margin:12px 0}.result p{font-size:15px;line-height:1.8;color:#5f6753;margin:0}.result .prep{font-size:12px;border-top:1px solid #d9dec7;margin-top:14px;padding-top:12px}.chosen .result{background:#e6ecda}.chosen .result h2:before{content:'✓ ';color:#607742}.finish-actions{display:flex;justify-content:center;gap:24px;margin-top:15px}.text-button{border:0;background:transparent;color:#68705b;font-size:13px;padding:8px 0}.play-area.has-result .stage{display:none}.bottom-note{grid-column:1/-1;margin-top:72px;padding:30px 0;display:flex;align-items:center;gap:30px;border-top:1px solid #dedfd5}.note-number{font-size:11px;direction:ltr;color:#8f957f;align-self:flex-start;margin-top:9px}.bottom-note p{font-size:20px;line-height:1.6;margin:0;color:#818773;font-weight:400}.bottom-note strong{color:#424a35;font-weight:500}.note-doodle{font-size:65px;color:#a6ae8c;margin-right:auto}footer{max-width:1160px;margin:auto;padding:20px 36px 28px;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#939789}footer a{color:inherit;text-decoration:none}dialog{max-width:400px;width:calc(100% - 32px);border:1px solid #e5e3d9;border-radius:24px;padding:36px 28px;background:var(--paper);color:var(--ink);text-align:right;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#20221977;backdrop-filter:blur(5px)}dialog h2{font-size:27px;line-height:1.25}dialog p{line-height:1.8;color:#656b5b;white-space:pre-line}dialog .primary{width:100%;margin-top:24px}.dialog-icon{font-size:45px;color:var(--orange)}.close{position:absolute;left:16px;top:10px;border:0;background:transparent;font-size:30px;color:#818775}.spinning .wheel-caption{color:var(--orange)}@media(max-width:800px){.top{padding:16px 20px}.wordmark{font-size:17px}.brand-star{font-size:27px}.install{padding:9px 11px;font-size:11px}.back{font-size:12px}main{display:block;padding:25px 20px 0;max-width:520px}.intro{padding:0}.intro h1{font-size:64px;letter-spacing:-3px;margin:18px 0;line-height:1}.intro h1 br{display:none}.spark{font-size:39px;margin-right:10px}.intro p{font-size:15px;line-height:1.6;margin:0 0 25px}.intro p br{display:none}.eyebrow{font-size:11px}.play-area{padding:23px 20px 14px;border-radius:24px}.bottom-note{margin-top:32px;padding:25px 0;gap:20px}.bottom-note p{font-size:17px}.note-doodle{font-size:45px}footer{max-width:520px;padding:16px 20px calc(22px + env(safe-area-inset-bottom));font-size:10px}.top{padding-top:calc(16px + env(safe-area-inset-top))}.wheel-wrap{width:232px;height:232px}.s1{transform:translateY(-72px)}.s2{transform:translate(62px,-36px) rotate(60deg)}.s3{transform:translate(62px,36px) rotate(120deg)}.s4{transform:translateY(72px) rotate(180deg)}.s5{transform:translate(-62px,36px) rotate(240deg)}.s6{transform:translate(-62px,-36px) rotate(300deg)}}@media(max-width:370px){.back span{display:none}.intro h1{font-size:56px}.spark{font-size:30px}.segments button{font-size:12px}.primary{font-size:15px;gap:12px}.play-area{padding:20px 16px}.rule{font-size:10px}.wheel-wrap{width:218px;height:218px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* All activity imagery comes from one 3×3 photographic sprite sheet. */
.atlas{background-image:url('./activities.webp');background-size:300% 300%;background-repeat:no-repeat}
.slice.atlas{width:54px;height:54px;margin:-27px;border-radius:50%;border:3px solid #fffdf8;box-shadow:0 2px 4px #292b2415}
.result-photo{width:116px;height:116px;float:left;margin:0 15px 12px 0;border-radius:16px;box-shadow:0 3px 10px #292b2410}
.result .prep{clear:both}
@media(max-width:440px){.result-photo{width:94px;height:94px;margin-right:12px}.result h2{font-size:24px}}

.ui-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}
.back .ui-icon{width:14px;height:14px}
.brand-star{width:32px;height:32px}
.spark{width:64px;height:64px}
.orbit{width:32px;height:32px}
.note-doodle{width:80px;height:32px}
.dialog-icon{width:45px;height:45px}
@media(max-width:800px){.spark{width:39px;height:39px}.brand-star{width:27px;height:27px}}
@media(max-width:370px){.spark{width:30px;height:30px}}

.wheel{background:conic-gradient(from -20deg,#ded5ed 0deg 40deg,#edb7a3 40deg 80deg,#e9d690 80deg 120deg,#d7dfb8 120deg 160deg,#b6cdd1 160deg 200deg,#ebd6c5 200deg 240deg,#cdd4b8 240deg 280deg,#e4cfb6 280deg 320deg,#d6c8df 320deg 360deg)}
.slice.atlas{transform:translate(calc(var(--dx) * 84px),calc(var(--dy) * 84px));width:48px;height:48px;margin:-24px;border-width:2px}
@media(max-width:800px){.slice.atlas{transform:translate(calc(var(--dx) * 75px),calc(var(--dy) * 75px));width:44px;height:44px;margin:-22px}}
@media(max-width:370px){.slice.atlas{transform:translate(calc(var(--dx) * 70px),calc(var(--dy) * 70px));width:41px;height:41px;margin:-20.5px}}

/* A bigger, tactile wheel with a light ring and a physical pointer. */
main{max-width:1240px;grid-template-columns:.78fr 1.22fr;column-gap:56px;padding-top:46px}
.play-area{position:relative;isolation:isolate;transition:box-shadow .5s,border-color .5s}
.stage{margin:24px 0}.stage-heading{display:flex;justify-content:space-between;align-items:center;color:#747962;font-size:11px;margin-bottom:24px}.stage-heading>span:first-child{font-size:13px;font-weight:650;color:#4f5742}.stage-heading>span:last-child{padding:5px 10px;border:1px solid #e0e3d5;border-radius:20px}
.wheel-wrap{width:min(100%,390px);height:auto;aspect-ratio:1;container-type:inline-size;isolation:isolate}
.wheel{border:11px solid #fffdf8;outline:5px solid #cfc7ae;transition:none;box-shadow:0 17px 0 -8px #b5aa89,0 25px 36px #292b2420;z-index:1;will-change:transform}
.slice.atlas{width:18%;height:18%;margin:-9%;border:3px solid #fffdf8;transform:translate(calc(var(--dx) * 32cqw),calc(var(--dy) * 32cqw));box-shadow:0 4px 10px #25291e22;transition:box-shadow .25s,filter .3s}
.slice.winner{box-shadow:0 0 0 4px #d94c28,0 0 24px 7px #f4b668;filter:brightness(1.1)}
.hub{width:27%;height:27%;font-size:clamp(12px,4cqw,17px);font-weight:500;border:4px solid #f2eedf;box-shadow:0 6px 16px #242b2020;line-height:1.25}.hub b{font-size:clamp(18px,6.8cqw,28px);white-space:nowrap}.hub span{font-size:clamp(11px,3.6cqw,15px);color:#83866e}
.pointer{top:-15px;left:calc(50% - 15px);width:30px;height:41px;background:#c44726;z-index:4;transform-origin:50% 0;filter:drop-shadow(0 2px 2px #0002)}
.wheel-lights{position:absolute;inset:-10px;border-radius:50%;z-index:2;pointer-events:none}.wheel-lights i{position:absolute;top:50%;left:50%;width:6px;height:6px;margin:-3px;background:#fff9e1;border-radius:50%;transform:rotate(var(--a)) translateY(calc(-50cqw - 5px));box-shadow:0 0 0 1px #c3b590,0 0 5px #e8c971}
.wheel-halo{position:absolute;inset:-20px;border-radius:50%;background:radial-gradient(circle,#f3d99766 40%,#d8ddbd33 60%,transparent 73%);z-index:0;opacity:.5;transition:opacity .6s,transform .6s}
.orbit{z-index:3;width:28px;height:28px}.o1{right:-16px;top:16px}.o2{left:-16px;bottom:12px}
.wheel-caption{font-size:12px;min-height:20px;margin-top:29px}
.spin-options{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;color:#8a8e7c;font-size:10px}.spin-options .text-button{font-size:11px;border:1px solid #e0e2d5;border-radius:20px;padding:6px 11px;white-space:nowrap}.spin-options button[aria-pressed=true]{color:#b34024;border-color:#dcb098;background:#fbede3}.rule{display:none}
.primary:active{transform:scale(.97);transition-duration:80ms}
.play-area.has-result .stage{display:block}.has-result .wheel-caption{color:#b44729}.result{scroll-margin-top:25px}
.spinning{border-color:#d3b77e;box-shadow:0 12px 80px #ca9c3c26}.spinning .wheel-halo{opacity:1;animation:halo-breathe 1.6s ease-in-out infinite}.spinning .wheel-lights i{animation:bulb-chase .72s linear infinite;animation-delay:calc(var(--i) * -30ms)}.slowing .wheel-lights i{animation-duration:1.5s}.spinning .primary span{animation:button-turn 1s linear infinite}.spinning .orbit{animation:orbit-drift 2.4s ease-in-out infinite alternate}.spinning .o2{animation-delay:-1s}
.revealed .result{animation:result-reveal .65s cubic-bezier(.16,1,.3,1) both}.revealed .result-photo{animation:photo-reveal .85s cubic-bezier(.16,1,.3,1) both}.revealed .actions{animation:result-reveal .5s .15s both}.revealed .wheel-lights{animation:winner-lights .8s ease-in-out 2}
.celebration{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:5}.celebration i{position:absolute;left:var(--x);top:38%;width:8px;height:15px;border-radius:2px;opacity:0;animation:confetti-fall 1.45s var(--delay) ease-out both}
@keyframes result-reveal{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}@keyframes photo-reveal{from{opacity:0;transform:translateY(14px) rotate(-5deg) scale(.9)}to{opacity:1;transform:none}}@keyframes halo-breathe{50%{transform:scale(1.07);opacity:.65}}@keyframes bulb-chase{0%,100%{background:#fff9e1;box-shadow:0 0 8px #e3b759}50%{background:#cf9660;box-shadow:0 0 2px #cf9660}}@keyframes winner-lights{50%{filter:brightness(1.6)}}@keyframes button-turn{to{transform:rotate(-360deg)}}@keyframes orbit-drift{to{transform:translateY(-10px) rotate(35deg)}}@keyframes confetti-fall{0%{opacity:0;transform:translate(0,-30px) rotate(0)}10%{opacity:1}100%{opacity:0;transform:translate(var(--drift),300px) rotate(var(--turn))}}
@media(max-width:800px){main{display:block;max-width:580px;padding:25px 20px 0}.play-area{padding:23px 22px 14px}.wheel-wrap{width:min(100%,360px)}.intro h1{font-size:58px}.intro p{margin-bottom:23px}.stage-heading{margin-bottom:25px}.wheel{border-width:9px}.slice.atlas{border-width:2px}.wheel-lights i{width:5px;height:5px;margin:-2.5px}.spark{animation:none}}
@media(max-width:370px){main{padding-inline:14px}.play-area{padding-inline:16px}.spin-options{font-size:9px}.hub b{font-size:6cqw}.intro h1{font-size:51px}.pointer{width:26px;left:calc(50% - 13px)}}
@media(prefers-reduced-motion:reduce){.spinning .wheel-halo,.spinning .wheel-lights i,.spinning .orbit,.spinning .primary span,.revealed .result,.revealed .result-photo,.revealed .actions,.revealed .wheel-lights,.celebration i{animation:none!important}.wheel{will-change:auto}.wheel-halo{transform:none!important}.celebration{display:none}}
@media(prefers-reduced-motion:no-preference){.intro{animation:result-reveal .7s both}.controls{animation:result-reveal .7s .1s both}.stage-heading{animation:result-reveal .7s .2s both}}

.brand-icon{width:34px;height:34px;object-fit:cover;border-radius:9px;flex-shrink:0}@media(max-width:800px){.brand-icon{width:28px;height:28px;border-radius:7px}}

/* Fan-shaped photo cards follow each wheel segment instead of circular badges. */
.slice.activity-tile{--cut:polygon(7% 0,93% 0,100% 8%,79% 96%,72% 100%,28% 100%,21% 96%,0 8%);width:23%;height:23%;margin:-11.5%;background:none;border:0;border-radius:0;box-shadow:none;transform:translate(calc(var(--dx) * 31.5cqw),calc(var(--dy) * 31.5cqw)) rotate(var(--rotation));filter:drop-shadow(0 3px 4px #38302130);transition:filter .3s}
.tile-border,.tile-photo{position:absolute;clip-path:var(--cut)}.tile-border{inset:0;background:#fffdf8;transition:background .3s}.tile-photo{inset:4px;background-color:#ece4d3}
.slice.activity-tile.winner{box-shadow:none;filter:drop-shadow(0 0 5px #d94c2890) drop-shadow(0 0 12px #f3c96c99)}.activity-tile.winner .tile-border{background:#d94c28}
@media(max-width:800px){.tile-photo{inset:3px}}
