/* Approved Fivsy editorial design. All assets and fonts remain offline. */
.letterPicker .letter{width:48px;min-width:48px;min-height:48px;height:48px}
:root{--ink:#28133e;--purple:#6c2f91;--lavender:#eee6f2;--line:#e4dce6}
h1,h2,h3,.brand,.viewNav button,.clueCopy strong,.winSubtitle{font-family:Georgia,'Times New Roman',serif}
body{background:radial-gradient(ellipse at top,#fffdfa,var(--bg) 70%)}
.topbar{min-height:76px;padding:14px 20px 10px}.brand{font-size:32px;letter-spacing:-1px}.brandmark{width:40px;height:40px}
main{max-width:520px}.viewNav{display:grid;grid-template-columns:1fr 1fr;background:var(--lavender);border-radius:11px;margin:0 0 20px;overflow:hidden}
.viewNav button{border:0;background:transparent;color:var(--ink);min-height:46px;padding:10px;font-size:17px;font-weight:700}
.viewNav button[aria-current=page]{background:var(--purple);color:white;border-radius:10px}.viewNav button:focus-visible{outline-offset:-4px;outline-color:#d0b6e5}
.intro{padding:3px 0 18px}.intro h1{display:none}.edition{font-size:11px;letter-spacing:2px}.daymeta{font-size:11px;margin-top:5px}
.puzzleTabs{position:static;background:transparent;border:0;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.puzzleTabs .tab{min-width:44px;width:100%;height:45px;border:0;border-radius:12px;background:var(--lavender);color:var(--purple);box-shadow:none}
.puzzleTabs .tab.selected{background:var(--purple);color:white;box-shadow:none}.puzzleTabs .tab .num{font-size:18px}
.sectionTop{display:block;text-align:center;margin-bottom:12px}.sectionTop h2{font-size:25px}.sectionTop .progress{display:block;font-size:12px;margin-top:5px}
.cardTop{display:none}.artCanvas{height:auto;max-height:none;width:100%;aspect-ratio:1;border-radius:16px}
.picturePrompt{text-align:left;margin:12px 0 8px}.picturePrompt h3{font-size:19px;margin:0}.picturePrompt p{display:none}
.inputRow{flex-direction:column;gap:9px}.inputRow input{flex:none;min-height:48px;height:48px;padding:0 13px;font-size:16px}
.inputRow .primary,.finalButton{width:100%;min-height:47px;border-radius:9px;padding:10px 14px;font-size:16px;background:linear-gradient(110deg,#6d3192,#723393)}
.hintRow{display:flex;flex-direction:column;gap:2px;margin-top:10px;text-align:center}.hintRow .textBtn{width:100%;min-height:44px;border:0;background:var(--lavender);border-radius:10px;padding:8px;font-size:14px}.hintRow span{font-size:11px}
.screenLink{display:none}.mysterySection{padding-top:0}.mysteryCard h2{text-align:left;font-size:30px;margin:0 0 4px}.mysteryDescription{text-align:left;font-size:14px;margin-bottom:14px}
.clueHeading{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.clues{gap:7px}.clue{min-height:62px;border:1px solid var(--line);border-radius:12px;padding:0 10px 0 0;gap:11px;background:#fff7;overflow:hidden}.clue.open{background:#fff7;color:var(--ink)}
.clueThumb{width:64px;height:64px;flex-shrink:0;background:var(--lavender);display:grid;place-items:center;font-size:23px;color:var(--muted)}.clueThumb svg{width:100%;height:100%;display:block}.clueCopy{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.35;font-size:12px}.clueCopy strong{font-size:16px;margin-bottom:3px}.clueNumber{width:25px;height:25px;font-size:12px}.clue.open .clueNumber{background:#d6f0e9;color:#238c80}
.connectionHeading{border-top:1px solid var(--line);padding-top:15px;margin:18px 0 10px;font-size:23px}.phraseMask{gap:10px 13px;margin:12px 0 18px}.letter{border:1px solid #d6cbdf;border-radius:5px;background:#eee9f2;width:22px;height:32px;font-size:15px}.letter.revealed{border:1px solid #cbb9da;border-radius:5px}.maskWord{gap:3px;flex-wrap:wrap}.letterHelp{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin:0 0 20px}.letterHelp .textBtn{width:auto;border:0;background:var(--lavender);padding:8px 13px;min-height:44px}.letterHelp>span{font-size:10px;text-align:right}
.finalDivider{display:block;border-top:1px solid var(--line);margin:0 0 18px}.finalLabel label{font-family:Georgia,serif;font-size:17px}.finalLabel span{font-size:12px}.finalLabel{align-items:baseline}.mysteryCard input{height:48px;border-radius:9px;font-size:16px}
.mysterySection.finished .mysteryCard>h2,.mysterySection.finished .mysteryDescription,.mysterySection.finished .clues,.mysterySection.finished .connectionHeading,.mysterySection.finished #mask,.mysterySection.finished .finalDivider{display:none}
.result{text-align:center}.result h3{font-size:clamp(30px,9vw,44px);margin:5px 0 6px}.result p{font-size:13px}.result .winSubtitle{font-size:23px;color:var(--ink);margin:0 0 8px}.resultPictures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;border:1px solid var(--line);border-radius:12px;padding:13px 10px;margin:20px 0 4px}.resultPicture{position:relative;aspect-ratio:1;min-width:0}.resultPicture>svg{width:100%;height:100%;display:block;border-radius:9px}.resultBadge{position:absolute;bottom:-5px;right:0;background:#d6f0e9;color:#167d71;width:21px;height:21px;border-radius:50%;font-size:13px;border:2px solid var(--bg)}
.result #resultStats{width:100%;border:1px solid var(--purple);border-radius:9px;min-height:47px;margin:9px 0}.result .nextMystery{border-top:1px solid var(--line);padding:18px 0 4px;margin-top:22px;color:var(--muted);font-size:12px}
.winArt{position:relative;display:grid;place-items:center;height:220px;isolation:isolate;margin:0 auto 5px;max-width:340px}.winArt img{z-index:1;width:126px;height:126px;object-fit:contain;filter:drop-shadow(0 8px 8px #65318a13)}.winRays{position:absolute;width:205px;height:205px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#e6ad40 0deg 1deg,transparent 1deg 15deg);mask:radial-gradient(circle,transparent 59%,#000 60%);opacity:.8}.winStar{position:absolute;color:#e5ae42;font-size:25px}.starOne{top:14px;left:15%}.starTwo{right:9%;top:42px;font-size:20px}.starThree{bottom:15px;left:8%}.starFour{bottom:24px;right:16%;font-size:18px}.winAnimate img{animation:winPop .8s cubic-bezier(.2,1.2,.3,1) both}.winAnimate .winStar{animation:winSpark 1.3s ease-out both}.winAnimate .winRays{animation:winGlow 1.2s ease-out both}
@keyframes winPop{from{transform:scale(.35) rotate(-15deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}@keyframes winSpark{from{transform:scale(.1);opacity:0}to{transform:scale(1);opacity:1}}@keyframes winGlow{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:.8}}
@media(max-width:759px){.topbar{min-height:67px;padding-top:10px;padding-bottom:10px}.brand{font-size:29px}.brandmark{width:36px;height:36px}.viewNav{margin-bottom:17px}.intro{padding-bottom:14px}.sectionTop h2{font-size:23px}.sectionTop{margin-bottom:12px}.picturePrompt{margin:11px 0 8px}.picturePrompt h3{font-size:18px}.puzzleTabs{margin-bottom:13px}.inputRow{flex-direction:column}.inputRow .primary{width:100%;font-size:16px;padding:10px}.hintRow{flex-direction:column;gap:2px}.hintRow .textBtn{width:100%;font-size:14px}.hintRow span{font-size:11px}.artCanvas{height:auto;max-height:none;aspect-ratio:1}}
@media(max-width:359px){main{padding-left:15px;padding-right:15px}.sectionTop h2{font-size:21px}.viewNav button{font-size:16px}.clueThumb{width:53px;height:62px}.letter{width:20px}.clueCopy{font-size:11px}}
@media(max-width:759px) and (max-height:700px){.intro .daymeta{display:none}.viewNav{margin-bottom:10px}.intro{padding-bottom:10px}.sectionTop h2{font-size:21px}.artCanvas{max-height:none;aspect-ratio:1}.winArt{height:185px}}
@media(max-width:759px){body.typingAnswer .viewNav{display:none}body.typingAnswer .artCanvas{height:clamp(70px,18dvh,150px);aspect-ratio:auto}}
@media(prefers-reduced-motion:reduce){.winAnimate img,.winAnimate .winStar,.winAnimate .winRays{animation:none!important}}
