{"id":8,"date":"2026-11-22T02:27:10","date_gmt":"2026-11-22T02:27:10","guid":{"rendered":"https:\/\/sofia15.party\/?page_id=8"},"modified":"2026-11-22T02:27:10","modified_gmt":"2026-11-22T02:27:10","slug":"sofia-party-game","status":"publish","type":"page","link":"https:\/\/sofia15.party\/?page_id=8","title":{"rendered":"Sofia\u2019s Party Game"},"content":{"rendered":"\n<div id=\"sofia-xv\">\n<style>\n#sofia-xv{max-width:600px;margin:24px auto;padding:clamp(20px,6vw,52px);text-align:center;color:#153559;background:radial-gradient(ellipse at top,#d6e9f7,#fffdf7 65%);border:6px double #92afc8;border-radius:28px;font:18px Georgia,serif;box-shadow:0 12px 35px #16406b22}#sofia-xv h1{font:italic clamp(68px,17vw,110px) Georgia;margin:0;color:#183f67}#sofia-xv h2{font:italic 30px Georgia}#sofia-xv .ribbon{background:linear-gradient(0deg,#91b5d2,#e1f0fa,#91b5d2);border-radius:12px;padding:10px;margin:12px 0;color:#163f63}#sofia-xv a,#sofia-xv button{color:inherit}#sofia-xv .action{display:inline-block;background:#153559;color:white;border:0;border-radius:28px;padding:12px 20px;margin:8px 4px;font:inherit;text-decoration:none;cursor:pointer}#sofia-xv details{margin:18px 0}#sofia-xv summary{cursor:pointer;padding:12px;font-weight:bold}#sofia-xv .card{padding:18px;border:1px solid #9fbad1;border-radius:16px;background:#fffdf8;margin:15px 0}#sofia-xv input{box-sizing:border-box;max-width:100%;font:inherit;margin:8px 0}#sofia-xv canvas{max-width:100%;height:auto}\n<\/style>\n<section id=\"party\"><h2>Your table challenge<\/h2><details id=\"challenge\"><summary class=\"action\">Draw a challenge<\/summary><div class=\"card\" aria-live=\"polite\"><strong id=\"xv-title\">The Album Cover<\/strong><p id=\"xv-prompt\">Pose like a band. Give your debut album a name.<\/p><\/div><button class=\"action\" type=\"button\" id=\"xv-next\">Draw again<\/button><\/details>\n<details><summary>Make an album cover<\/summary><label>Choose a photo<br><input id=\"xv-photo\" type=\"file\" accept=\"image\/*\"><\/label><br><label>Album name<br><input id=\"xv-name\" maxlength=\"50\" placeholder=\"We Were Told There\u2019d Be Cake\"><\/label><br><button class=\"action\" type=\"button\" id=\"xv-make\">Make my cover<\/button><p id=\"xv-status\" role=\"status\"><\/p><canvas id=\"xv-cover\" width=\"800\" height=\"800\" hidden><\/canvas><a id=\"xv-save\" class=\"action\" download=\"sofia-xv-album.jpg\" style=\"display:none\">Save cover<\/a><\/details>\n<\/section><\/div>\n<script>\n(()=>{const get=id=>document.getElementById(id);const cards=[['The Album Cover','Pose like a band. Give your debut album a name.'],['Pass the Mic','Record everyone at your table describing Sofia in one word.'],['The Throwback','Film two generations teaching each other a dance move.']];let index=0;get('xv-next').onclick=()=>{index=(index+1)%cards.length;get('xv-title').textContent=cards[index][0];get('xv-prompt').textContent=cards[index][1];};get('xv-make').onclick=()=>{const file=get('xv-photo').files[0];const status=get('xv-status');if(!file){status.textContent='Choose a photo first.';return;}const url=URL.createObjectURL(file);const image=new Image();image.onerror=()=>{URL.revokeObjectURL(url);status.textContent='Try a JPEG or PNG photo.';};image.onload=()=>{URL.revokeObjectURL(url);const canvas=get('xv-cover');const ctx=canvas.getContext('2d');const size=Math.min(image.width,image.height);ctx.drawImage(image,(image.width-size)\/2,(image.height-size)\/2,size,size,0,0,800,800);ctx.fillStyle='#153559';ctx.fillRect(0,645,800,155);ctx.fillStyle='#fffdf7';ctx.textAlign='center';ctx.font='bold 44px Georgia';ctx.fillText(get('xv-name').value.trim()||'The Album Cover',400,709,720);ctx.font='26px Georgia';ctx.fillText('Sofia XV \u00b7 December 5, 2026',400,757);canvas.hidden=false;const save=get('xv-save');save.href=canvas.toDataURL('image\/jpeg',.92);save.style.display='inline-block';status.textContent='Your cover is ready to save.';};image.src=url;};})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Your table challenge Draw a challenge The Album Cover Pose like a band. Give your debut album a name. Draw again Make an album cover Choose a photoAlbum nameMake my cover Save cover<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sofia15.party\/index.php?rest_route=\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sofia15.party\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sofia15.party\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sofia15.party\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sofia15.party\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8"}],"version-history":[{"count":1,"href":"https:\/\/sofia15.party\/index.php?rest_route=\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":9,"href":"https:\/\/sofia15.party\/index.php?rest_route=\/wp\/v2\/pages\/8\/revisions\/9"}],"wp:attachment":[{"href":"https:\/\/sofia15.party\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}