:root{font-family:Arial,Helvetica,sans-serif;color:#3e3531;background:#e7ddce;font-size:20px;--paper:#f7f2e8;--ink:#3e3531;--sage:#52654e;--rust:#8e4432;--line:#c7b8a4}*{box-sizing:border-box}body{margin:0}.masthead{padding:19px max(20px,calc((100vw - 1000px)/2));display:flex;justify-content:space-between;gap:16px;align-items:center;background:var(--paper);border-bottom:1px solid var(--line);font:700 1.05rem/1.3 Georgia,serif}.masthead i{font-weight:400;color:var(--rust)}.preview{font:400 .7rem/1.4 Arial,sans-serif;border:1px solid var(--line);padding:5px 10px;border-radius:4px;white-space:nowrap}main{width:min(100% - 40px,760px);margin:32px auto 48px}.intro{display:flex;align-items:flex-end;gap:20px;position:relative;padding:0 12px 20px}.intro>div{flex:1}.eyebrow{font-size:.62rem;letter-spacing:.13em;color:var(--rust);font-weight:700;margin:0 0 12px}h1{font:400 clamp(2.1rem,6.7vw,3.1rem)/1.08 Georgia,serif;letter-spacing:-.04em;margin:0 0 17px}.instructions{font-size:.9rem;line-height:1.6;margin:0}.sparky{width:160px;height:auto;flex:none;margin-bottom:-23px;position:relative;z-index:1}.play{background:var(--paper);border:1px solid var(--line);border-top:3px solid #b8654b;border-radius:5px;padding:24px;box-shadow:0 8px 24px #3e35310a}.progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.8rem;font-weight:700;margin-bottom:20px}.bones{display:flex;gap:9px}.bone{width:30px;height:30px;color:#ad9d87;fill:none;stroke:currentColor;stroke-width:1.7}.bone.found{color:var(--rust);fill:#e8c975;animation:pop .35s ease-out}.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}button{font-family:Arial,Helvetica,sans-serif;font-size:.8rem;line-height:1.25;font-weight:700;cursor:pointer;min-height:48px;color:var(--ink);touch-action:manipulation}button:focus-visible,summary:focus-visible{outline:3px solid #8e4432;outline-offset:4px}.tile{min-height:91px;border:1px solid #c7b8a4;border-bottom:3px solid #b7a58e;border-radius:6px;background:#eee6d9;position:relative;font-size:1rem;padding:18px 8px;overflow-wrap:anywhere;transition:background .12s,transform .12s}.tile:hover{background:#e7ddce}.tile[aria-pressed=true]{background:var(--sage);color:#fff;border-color:#3e503a;transform:translateY(1px)}.tile[aria-pressed=true]::after{content:'✓';position:absolute;right:8px;top:4px;font-size:.65rem}.feedback{font-size:.8rem;line-height:1.5;min-height:2.4em;margin:19px 0 4px}.selection-count{font-size:.7rem;color:#68594e;margin:0 0 13px}.actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:9px}.primary,.secondary{border-radius:5px;padding:11px 14px;border:1px solid var(--ink)}.primary{background:var(--ink);color:var(--paper)}.primary:hover:not(:disabled){background:var(--sage)}.secondary{background:transparent}.secondary:hover:not(:disabled){background:#e7ddce}button:disabled{opacity:.45;cursor:default}.help-row{display:flex;justify-content:space-between;gap:12px;margin-top:8px}.text-button{background:none;border:0;padding:10px 0;color:var(--rust);font-size:.75rem;text-decoration:underline;text-underline-offset:4px}.hint-box{border-left:3px solid #b8654b;margin-top:12px;padding:8px 14px;background:#eee6d9;font-size:.8rem;line-height:1.6}.hint-box p{margin:0 0 10px}.hint-box p:last-child{margin-bottom:0}.confirm-buttons{display:flex;gap:10px;flex-wrap:wrap}.solved-group{padding:16px 18px;margin-bottom:10px;border-radius:5px;background:#e8c975;border:1px solid #bda263}.solved-group:nth-child(2){background:#dce3d7;border-color:#aebaa6}.solved-group:nth-child(3){background:#e8c7b9;border-color:#c69582}.solved-group h2{font-size:.85rem;margin:0 0 6px}.solved-group p{font-size:.75rem;line-height:1.5;margin:0}.solved-group .words{font-weight:700;letter-spacing:.035em;font-size:.8rem;margin-bottom:5px}.ending{border-top:1px solid var(--line);padding-top:20px;margin-top:10px}.ending h2{font:400 1.6rem/1.2 Georgia,serif;margin:0 0 10px}.ending p{font-size:.9rem;line-height:1.5;margin:0 0 20px}footer{font-size:.7rem;line-height:1.6;padding:10px 12px;color:#68594e}footer p{margin:8px 0}details{margin-top:18px}summary{cursor:pointer;min-height:44px;padding-top:8px;color:var(--ink)}details p{max-width:62ch;font-size:.8rem}[hidden]{display:none!important}@keyframes pop{50%{transform:translateY(-5px) rotate(-10deg)}}@media(max-width:540px){:root{font-size:20px}.masthead{padding:14px 18px;font-size:.85rem;align-items:flex-start}.preview{font-size:.6rem;max-width:100px;white-space:normal}main{width:calc(100% - 28px);margin:25px auto 30px}.intro{padding:0 2px 18px;gap:0}.eyebrow{font-size:.55rem;max-width:190px;line-height:1.6;margin-bottom:7px}h1{font-size:2rem;margin-bottom:10px;max-width:240px}.instructions{font-size:.8rem;line-height:1.5}.sparky{width:91px;margin-left:-9px;margin-bottom:-21px}.play{padding:16px 12px}.progress-row{font-size:.7rem;margin-bottom:16px}.tiles{gap:7px}.tile{min-height:78px;font-size:.85rem;padding:17px 4px}.feedback{font-size:.75rem;min-height:3em}.actions{gap:7px}.primary,.secondary{font-size:.75rem;padding:10px 7px}.bones{gap:5px}.bone{width:25px;height:25px}.text-button{font-size:.7rem}footer{padding:9px 2px}}@media(max-width:350px){.sparky{width:65px}.masthead{gap:7px}.tile{font-size:.75rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.masthead a{color:inherit}.masthead{flex-wrap:wrap}.text-size-controls{flex-basis:100%}.text-size-controls summary{font:16px Arial}.tile{font-size:var(--reading-secondary,20px)}.paper-puzzle{margin-top:24px;font-size:.8rem;line-height:1.8}.paper-puzzle h2{font:1.1rem Georgia}.skip{display:block;padding:8px 20px;color:#52654e}.paper-answers{margin-top:20px}@media print{.play,.text-size-controls,.skip{display:none}.paper-puzzle{display:block;font-size:14pt}.paper-answers{display:none}body{background:white}main{width:100%;margin:0}.sparky{width:90px}a{color:inherit}}
