← Files Wish CabinetARCHIVED FILE
assets/widget.html
16.3 KB · Dec 1, 2026 · 00:18 UTC
<svg class="definitions" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><defs> <symbol id="sprig" viewBox="0 0 140 210"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M25 202Q75 132 91 18M53 155Q21 135 16 107M67 122Q109 112 123 84M79 84Q47 66 49 39M87 48Q113 40 119 16"/><path d="M52 156Q16 157 16 107Q48 116 52 156ZM67 123Q103 139 123 84Q84 86 67 123ZM79 84Q40 85 49 39Q78 53 79 84ZM87 49Q116 58 119 16Q94 24 87 49Z" fill="currentColor" fill-opacity=".08"/><path d="M32 189Q10 174 7 157Q32 164 32 189ZM42 175Q77 178 88 150Q57 147 42 175Z" fill="currentColor" fill-opacity=".12"/><circle cx="90" cy="18" r="4" fill="#b48943" stroke="none"/><circle cx="124" cy="80" r="3" fill="#b48943" stroke="none"/></g></symbol> <symbol id="cake" viewBox="0 0 240 185"><g stroke="#164e50" stroke-width="1.7" stroke-linejoin="round" stroke-linecap="round"><path d="M38 159Q120 183 202 159" fill="none"/><ellipse cx="120" cy="153" rx="77" ry="10" fill="#e8d4a4" stroke="#ad8541"/><path d="M58 105L58 146Q120 165 182 146L182 105Z" fill="#e8d8b6"/><path d="M58 105Q120 86 182 105L182 121Q170 135 160 119Q149 136 138 121Q126 138 113 121Q100 136 88 121Q72 134 58 121Z" fill="#fff9e9"/><ellipse cx="120" cy="105" rx="62" ry="15" fill="#fff9e9"/><path d="M111 93L111 55L127 55L127 93" fill="#d0ac66"/><path d="M114 64L124 69M114 76L124 81" stroke="#fff9e9"/><path d="M119 48Q105 34 120 18Q136 38 119 48Z" fill="#c59a4b" stroke="#ad8541"/><path d="M119 43L120 34" stroke="#fff8de"/><path d="M82 141l2 1m20 5l2 1m24 0l2-1m23-5l2-1" stroke="#b48943" stroke-width="3"/><path d="M40 65l-6-5m9-12l1-7m145 26l7-3m-14-16l4-7" stroke="#b48943"/></g></symbol> <symbol id="parcel" viewBox="0 0 150 130"><g stroke="#164e50" stroke-width="1.8" stroke-linejoin="round"><path d="M30 57L120 57L120 115Q75 125 30 115Z" fill="#d6b573"/><path d="M26 45L124 45L124 63Q75 70 26 63Z" fill="#e1c68d"/><path d="M67 46h16v73H67Z" fill="#285e5c"/><path d="M75 44Q24 43 36 21Q50 3 75 44ZM75 44Q125 44 114 21Q101 4 75 44Z" fill="#f7ecd2"/><path d="M75 44L55 66M75 44L96 66" fill="none"/></g></symbol> <symbol id="compass" viewBox="0 0 120 120"><g stroke="#b18a45" fill="none"><circle cx="60" cy="60" r="44"/><circle cx="60" cy="60" r="38" stroke-dasharray="1 6"/><path d="M60 8V20M60 100v12M8 60h12m80 0h12"/></g><path d="M60 26L69 53L94 60L67 69L60 94L51 67L26 60L53 51Z" fill="#215759"/><path d="M60 26v34l34 0-27-7Z" fill="#d6b573"/><circle cx="60" cy="60" r="4" fill="#fff6df"/></symbol> <symbol id="cabinet-key" viewBox="0 0 100 50"><g fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><circle cx="23" cy="25" r="13"/><path d="M36 25h49m-12 0v11m10-11v8"/><circle cx="23" cy="25" r="5" stroke-width="1"/></g></symbol> <symbol id="shell" viewBox="0 0 100 85"><g stroke="#1c5654" stroke-width="1.8" stroke-linejoin="round"><path d="M47 70Q7 52 13 32Q15 21 27 23Q29 4 44 14Q54-4 64 15Q83 11 83 29Q102 41 77 64L57 74Z" fill="#ead3ab"/><path d="M49 66L25 29M51 66L43 20M54 66L61 21M56 67L78 33M45 69L19 47" fill="none"/><path d="M43 68L43 77L62 77L59 69Z" fill="#f5e7cc"/></g></symbol> <symbol id="acorn" viewBox="0 0 100 85"><g stroke="#1c5654" stroke-width="1.8" stroke-linejoin="round"><path d="M33 36Q26 66 51 78Q76 64 70 36Z" fill="#cda96b"/><path d="M29 34Q29 14 52 16Q76 17 76 35L70 43L32 41Z" fill="#7f9680"/><path d="M50 16Q50 5 59 5M36 24l5 6 7-6 7 7 7-6 7 5M44 42Q39 59 50 69" fill="none"/></g></symbol> <symbol id="paper-boat" viewBox="0 0 100 85"><g stroke="#1c5654" stroke-width="1.8" stroke-linejoin="round"><path d="M9 45L91 45L74 68L28 68Z" fill="#d8c38c"/><path d="M9 45L50 14L55 45Z" fill="#fff9e9"/><path d="M55 45L72 25L91 45Z" fill="#b2c5b3"/><path d="M50 14L42 45M28 68L55 45L74 68" fill="none"/><path d="M8 75q14 6 27 0q14 6 27 0q14 6 27 0" fill="none" stroke="#b18a45"/></g></symbol> </defs></svg> <main class="cabinet-app"> <header class="mast"><span class="eyebrow">THE LITTLE PAPER ATELIER</span><span class="edition">a puzzle gift by ArkheOS</span></header> <div class="room-heading"><p class="eyebrow">THREE KEYS · ONE LITTLE SURPRISE</p><h1>Wish Cabinet</h1><p>Hide a note behind three little puzzles. Make a cabinet for someone, or open one they made for you.</p></div> <div id="book" class="book"><section id="cover" class="paper cover" aria-label="Folded gift cover"> <div class="border"></div><svg class="botanical left" aria-hidden="true"><use href="#sprig"/></svg><svg class="botanical right" aria-hidden="true"><use href="#sprig"/></svg> <div class="ribbon" aria-hidden="true"></div><svg class="bow" viewBox="0 0 110 90" aria-hidden="true"><g stroke="#956e32" stroke-width="1.3" fill="#d1af70"><path d="M55 41Q0 49 8 17Q22-5 55 41ZM55 41Q111 49 103 17Q89-5 55 41Z"/><path d="M51 42L30 83L49 77L56 89L61 45M59 42L91 76L75 74L70 88L53 44"/><ellipse cx="56" cy="41" rx="9" ry="6"/></g></svg> <p class="eyebrow cover-kicker">A DAY JUST FOR YOU</p><h1><span id="greeting-top">Happy</span><br><em id="greeting-bottom">Birthday</em></h1><p class="recipient" id="cover-name">Avery</p> <svg class="cake" id="cover-art" aria-label="Illustration of a candlelit cake" role="img"><use id="cover-emblem" href="#cake"/></svg> <p class="small-note">a little joy, folded with love</p> </section> <section id="inside" class="paper cabinet-room" hidden aria-label="The paper puzzle cabinet"> <div class="room-cornice" aria-hidden="true"><span>✧</span><span>✦</span><span>✧</span></div> <div class="key-rail" aria-label="Collected keys"><span class="eyebrow">THE KEY RING</span><div class="key-tokens"><span id="token-0" class="key-token"><svg aria-hidden="true"><use href="#cabinet-key"/></svg><span>Clock</span></span><span id="token-1" class="key-token"><svg aria-hidden="true"><use href="#cabinet-key"/></svg><span>Shelf</span></span><span id="token-2" class="key-token"><svg aria-hidden="true"><use href="#cabinet-key"/></svg><span>Stars</span></span></div><p id="key-count">0 of 3 keys found</p></div> <div class="room-objects"> <section id="clock-object" class="room-object clock-object" aria-labelledby="clock-title"> <div class="object-label"><span class="object-no">01</span><h2 id="clock-title">The invitation clock</h2></div> <div class="clock-vignette"><div class="invitation"><span class="pin" aria-hidden="true"></span><span class="eyebrow">YOU’RE INVITED</span><p id="invitation-copy">Tea, cake & a little celebration</p><strong id="invitation-time">At 4:30.</strong><span class="tiny">With love, at the cabinet.</span></div> <div class="clock-housing"><svg class="clock-face" viewBox="0 0 180 205" role="img" aria-labelledby="clock-svg-title"><title id="clock-svg-title">Clock showing 12:00</title><path d="M29 177L23 195h28l8-18m62 0 8 18h28l-6-18" fill="#b79558" stroke="#1c5654" stroke-width="2"/><path d="M20 93Q20 13 90 9Q160 13 160 93V180H20Z" fill="#366a62" stroke="#164e50" stroke-width="2"/><path d="M27 94Q27 20 90 17Q153 20 153 94V173H27Z" fill="none" stroke="#c5a66a"/><circle cx="90" cy="91" r="59" fill="#fff5df" stroke="#b99557" stroke-width="3"/><g fill="#164e50" font-family="Georgia,serif" font-size="13" text-anchor="middle"><text x="90" y="48">XII</text><text x="137" y="96">III</text><text x="90" y="143">VI</text><text x="43" y="96">IX</text></g><g stroke="#164e50" stroke-linecap="round"><line id="hour-hand" x1="90" y1="91" x2="90" y2="61" stroke-width="5"/><line id="minute-hand" x1="90" y1="91" x2="90" y2="47" stroke-width="2.5"/></g><circle cx="90" cy="91" r="5" fill="#b99557"/><path id="clock-door" d="M60 163H120" stroke="#b99557" stroke-width="3"/><svg id="clock-key" x="58" y="147" width="66" height="30" aria-hidden="true" hidden><use href="#cabinet-key"/></svg></svg><output id="clock-readout" aria-label="Current clock time">12:00</output></div></div> <p class="object-instruction">Set the hands to match the invitation.</p> <div id="clock-controls" class="clock-controls"><div class="stepper"><span>Hour</span><button id="hour-minus" aria-label="Move hour back one">−</button><button id="hour-plus" aria-label="Move hour forward one">+</button></div><div class="stepper"><span>Minute</span><button id="minute-minus" aria-label="Move minute back fifteen">−</button><button id="minute-plus" aria-label="Move minute forward fifteen">+</button></div></div> <button id="check-clock" class="object-action">Try the time</button><p id="clock-feedback" class="object-feedback" role="status">The little brass door is shut.</p> <details class="hint"><summary>A gentle hint</summary><p id="clock-hint">Read the invitation, then use the two pairs of buttons to match its time.</p></details></section> <section id="shelf-object" class="room-object shelf-object" aria-labelledby="shelf-title"> <div class="object-label"><span class="object-no">02</span><h2 id="shelf-title">The keepsake shelf</h2></div> <div class="shelf-note"><span aria-hidden="true">❧</span><p>“The shell came before the acorn.<br>The paper boat was last.”</p><span class="tiny">a note left in the grain of the wood</span></div> <div class="shelf" id="shelf"><button id="keepsake-0" class="keepsake" aria-pressed="false"><svg aria-hidden="true"><use id="keepsake-use-0" href="#acorn"/></svg><span id="keepsake-label-0">Acorn</span><small>1 · left</small></button><button id="keepsake-1" class="keepsake" aria-pressed="false"><svg aria-hidden="true"><use id="keepsake-use-1" href="#paper-boat"/></svg><span id="keepsake-label-1">Paper boat</span><small>2 · middle</small></button><button id="keepsake-2" class="keepsake" aria-pressed="false"><svg aria-hidden="true"><use id="keepsake-use-2" href="#shell"/></svg><span id="keepsake-label-2">Shell</span><small>3 · right</small></button></div> <div id="shelf-drawer" class="shelf-drawer"><span id="drawer-label">a drawer with no handle</span><svg id="shelf-key" aria-hidden="true" hidden><use href="#cabinet-key"/></svg></div> <p id="swap-instruction" class="object-instruction">Choose two keepsakes to swap their places, from left to right.</p><button id="check-shelf" class="object-action">Check the shelf</button><p id="shelf-feedback" class="object-feedback" role="status">The shelf is waiting for its story.</p> <details class="hint"><summary>A gentle hint</summary><p>The boat must be on the right. With the shell before the acorn, the full order is shell, acorn, paper boat. Choose one keepsake, then another to swap them.</p></details></section> <section id="stars-object" class="room-object stars-object" aria-labelledby="stars-title"> <div class="object-label"><span class="object-no">03</span><h2 id="stars-title">The paper constellation</h2></div> <div class="star-window"><svg viewBox="0 0 220 220" class="constellation" role="img" aria-labelledby="stars-svg-title stars-svg-desc"><title id="stars-svg-title">Three turning paper star rings</title><desc id="stars-svg-desc">Match the ink stars to the hollow gold circles. The target outer pair points north and southeast; middle pair west and south; inner pair north and east.</desc> <path d="M15 208V96Q15 12 110 8Q205 12 205 96V208Z" fill="#164e50" stroke="#ad894c" stroke-width="3"/><path d="M23 201V96Q23 20 110 16Q197 20 197 96V201Z" fill="none" stroke="#ab985e"/> <g transform="translate(110 113)"><g fill="none" stroke="#e5ca90" stroke-width="1"><circle r="73" stroke-dasharray="2 5" opacity=".5"/><circle r="49" stroke-dasharray="2 5" opacity=".5"/><circle r="23" stroke-dasharray="2 5" opacity=".5"/> <path d="M0-73L52 52M-49 0L0 49M0-23L23 0" stroke-dasharray="3 4"/><g stroke-width="1.8"><circle cx="0" cy="-73" r="6"/><circle cx="52" cy="52" r="6"/><circle cx="-49" cy="0" r="6"/><circle cx="0" cy="49" r="6"/><circle cx="0" cy="-23" r="6"/><circle cx="23" cy="0" r="6"/></g></g> <g id="ring-0" fill="#fff4d7" stroke="#fff4d7"><path d="M0-73L52 52" fill="none" stroke-width="1.5"/><path d="M0-78L2-75L5-73L2-71L0-68L-2-71L-5-73L-2-75ZM52 47l2 3 3 2-3 2-2 3-2-3-3-2 3-2Z"/></g> <g id="ring-1" fill="#d2b37a" stroke="#d2b37a"><path d="M-49 0L0 49" fill="none" stroke-width="1.5"/><circle cx="-49" cy="0" r="3.5"/><circle cx="0" cy="49" r="3.5"/></g> <g id="ring-2" fill="#c6d7c0" stroke="#c6d7c0"><path d="M0-23L23 0" fill="none" stroke-width="1.5"/><path d="M0-27L4-23L0-19L-4-23ZM23-4L27 0L23 4L19 0Z"/></g></g><svg id="stars-key" x="82" y="190" width="62" height="30" aria-hidden="true" hidden><use href="#cabinet-key"/></svg></svg></div> <p class="object-instruction">Turn each paper ring until its stars sit inside the gold tracing.</p> <div class="star-controls"><button id="rotate-0">Turn outer ring ↻<small id="ring-label-0"></small></button><button id="rotate-1">Turn middle ring ↻<small id="ring-label-1"></small></button><button id="rotate-2">Turn inner ring ↻<small id="ring-label-2"></small></button></div> <button id="check-stars" class="object-action">Pin the stars</button><p id="stars-feedback" class="object-feedback" role="status">The paper sky has a secret seam.</p> <details class="hint"><summary>A gentle hint</summary><p>Each turn is a quarter turn clockwise. Match outer stars to north & southeast, middle to west & south, inner to north & east. “North” is up. The current directions are written on each button.</p></details></section> </div> <section class="gift-table" aria-labelledby="present-title"><svg class="table-sprig" aria-hidden="true"><use href="#sprig"/></svg><div class="table-top"><svg class="table-cake" aria-hidden="true"><use href="#cake"/></svg><div class="present-object"><h2 id="present-title">The hidden present</h2><button id="gift" class="gift locked" aria-disabled="true" aria-expanded="false" aria-controls="surprise"><svg aria-hidden="true"><use href="#parcel"/></svg><span id="gift-label">Three keys turn together</span><small id="present-action">Find all three keys to open</small></button><p id="lock-status" class="tiny">Clock · Shelf · Stars</p></div></div> <article id="surprise" class="surprise earned-ending" hidden aria-label="Your hidden note"><p class="eyebrow">THE BEST PART WAS ALWAYS FOR YOU</p><svg class="ending-compass" aria-hidden="true"><use href="#compass"/></svg><h2 id="dear">Dear Avery,</h2><p id="letter" class="letter"></p><div class="gold-rule" aria-hidden="true">✦</div><p class="signoff" id="signoff">Here’s to all the doors you’ll open.</p></article></section> </section></div> <nav class="actions" aria-label="Card and puzzle controls"><button id="fold" class="primary" aria-expanded="false" aria-controls="inside">Unfold the room</button><button id="personalize" aria-expanded="false" aria-controls="editor">Make it yours</button><button id="undo" disabled>Undo</button><button id="reset">Reset puzzles</button></nav> <section id="editor" class="editor paper" hidden aria-label="Personalize your card"><div class="editor-top"><h2>Your words, in ink</h2><button id="done">Done</button></div><label for="occasion">Occasion</label><select id="occasion"><option value="birthday">Birthday</option><option value="thanks">Thank you</option><option value="cheers">Congratulations</option></select><label for="recipient">For</label><input id="recipient" maxlength="60" autocomplete="off" value="Avery"><label for="message">The wish inside the present</label><textarea id="message" maxlength="600" rows="4">A little adventure, made just for you.</textarea><label for="chosen-time">Time in the invitation clue</label><select id="chosen-time"></select><p class="editor-note">Changing the time resets the clock key. The other two keys stay put.</p><button id="context-design" type="button">Use my design in chat</button><p class="editor-note" id="context-note" role="status">This sends the recipient, note, occasion and clock clue to this chat.</p></section> <details class="gift-tools paper" id="gift-tools"><summary>Give or open a cabinet</summary> <p>Make a code to give someone a fresh, unsolved copy. It includes the name and note. Anyone with the code can read them.</p> <button id="make-code" type="button">Make a gift code</button> <label for="gift-code">Gift code</label><textarea rows="3" id="gift-code" maxlength="8192" spellcheck="false" aria-describedby="code-help"></textarea> <p id="code-help">To play a gift, paste its code and choose Open gift. Undo returns you to your last room.</p> <button id="import-code" type="button">Open gift</button> <button id="copy-code" type="button" disabled>Copy code</button><p id="code-status" role="status"></p></details> <footer><p id="status" role="status" aria-live="polite">A little room is waiting inside.</p><p class="keyboard">Tab to explore · Enter or Space to activate · Esc to close editing<br>Untimed · No dragging · Your progress saves automatically</p><p class="credit">Adapted from The Birthday Cabinet by ArkheOS.</p></footer></main>
SHA-256: 272ce688d1523312f620cee418bfabedb374386fd38c418aa962631423eb5641