@font-face{font-family:Jersey;src:url("assets/fonts/jersey-10.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Pixelify;src:url("assets/fonts/pixelify-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Space Mono";src:url("assets/fonts/space-mono.woff2") format("woff2");font-weight:400;font-display:swap}
:root{
  --ink:#352940;--pink:#db4675;--blush:#ff93af;--paper:#fff9e9;--lavender:#ddd0f2;--soft-border:#b6a5c4;
  --pixel:Pixelify,"Courier New",monospace;--mono:"Space Mono",monospace;--title:Jersey,Impact,sans-serif;
  color:var(--ink);font-family:var(--mono);font-synthesis:none;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:280px;background:#e5daf1}
button{font:inherit;color:inherit;cursor:pointer;border-radius:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:focus-visible,a:focus-visible{outline:3px solid #782864;outline-offset:4px}
button:disabled{cursor:default}
[hidden],.sprite{display:none!important}
.icon,.brand-icon svg{display:block;width:16px;height:16px;fill:currentColor;shape-rendering:crispEdges;flex-shrink:0}
.os{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.system-bar,.taskbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between}
.system-bar{min-height:58px;padding:0 clamp(18px,3.2vw,54px);background:#f2eaf7;border-bottom:2px solid var(--ink)}
.brand,.system-tray,.system-tray time,.sound,.window-file,.window-controls,.status-bar>span,.actions,.taskbar-left,.dock-right,.taskbar button{display:flex;align-items:center}
.brand{gap:10px;font:700 29px/.95 var(--pixel);letter-spacing:-1.65px}
.brand-icon{display:grid;place-items:center;width:29px;height:27px;background:var(--ink);clip-path:polygon(0 7px,4px 7px,4px 3px,8px 3px,8px 0,13px 0,13px 3px,17px 3px,17px 0,22px 0,22px 3px,26px 3px,26px 7px,29px 7px,29px 14px,25px 14px,25px 18px,21px 18px,21px 21px,18px 21px,18px 24px,15px 24px,15px 27px,12px 27px,12px 24px,9px 24px,9px 21px,6px 21px,6px 18px,3px 18px,3px 14px,0 14px)}
.brand-icon svg{color:#fa89a7;width:24px;height:24px;transform:translateY(-1px)}
.version{font:600 12px/1 var(--pixel);letter-spacing:0;border:1px solid #b8a3cb;border-radius:3px;background:#e5d8ef;padding:3px 6px;margin-left:1px}
.system-tray{gap:16px;font:12px/1 var(--mono)}
.system-tray time,.sound{gap:9px}
.sound{border:none;background:transparent;padding:9px 3px;font-family:var(--pixel);font-size:16px}
.sound:hover span{text-decoration:underline;text-underline-offset:3px}
.tray-divider,.dock-divider{height:16px;width:1px;background:#a697b7}
.desktop{display:grid;isolation:isolate;position:relative;flex:1;min-height:620px;background:#d8c9f6;overflow:hidden}
.wallpaper,.rain-layer,#waves{position:absolute;inset:0;pointer-events:none}
.wallpaper{z-index:-2;background:#d8c9f6 url("assets/scenery/desktop.png") center bottom/100% 100% no-repeat;image-rendering:pixelated}
[data-theme="yes"] .wallpaper{filter:hue-rotate(30deg) saturate(1.15)}
[data-theme="no"] .wallpaper{filter:hue-rotate(-32deg) saturate(.74)}
[data-theme="no"] .outcome h1 em{color:#726198}
[data-theme="no"] .status-led{background:#a89bcf;border-color:#655680;box-shadow:inset 1px 1px #d5cde2}
.shortcuts{position:absolute;left:clamp(20px,3vw,50px);top:clamp(32px,5.3vh,72px);display:grid;gap:22px;z-index:1}
.shortcuts button{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid transparent;background:none;padding:5px 6px 6px;min-width:80px;font:500 16px/1 var(--pixel);text-shadow:1px 1px #f7efff}
.shortcuts img{display:block;width:50px;height:50px;image-rendering:pixelated}
.shortcuts button:hover,.shortcuts button:focus-visible{background:#f6edff75;border:1px dashed #776789}
.post-it{position:absolute;right:clamp(29px,5.7vw,110px);top:21%;width:clamp(118px,10vw,152px);padding:25px 8px 16px;text-align:center;background:#ffe9a2;border:2px solid #887151;box-shadow:3px 4px 0 #79678e7d;transform:rotate(8deg);font:500 clamp(18px,1.5vw,24px)/1.08 var(--pixel);color:#5c4141}
.post-it .icon{color:#ce6080;margin:9px auto 0;width:13px;height:13px}
.tape{position:absolute;left:50%;top:-9px;transform:translateX(-50%) rotate(-9deg);width:47%;height:17px;background:repeating-linear-gradient(135deg,#efb7cd99 0 4px,#f6cdda99 4px 7px),#f1bccec9;border-inline:1px dashed #bc92a3}
.window-space{min-width:0;align-self:center;justify-self:center;display:grid;place-items:center;width:min(660px,calc(100% - 48px));padding:40px 0 50px;z-index:1}
.window,dialog,#restore,.start-menu{border:3px solid var(--ink);background:var(--paper);box-shadow:6px 6px 0 #534366}
.window{position:relative;width:100%}
.title-bar{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:4px 6px 5px 12px;background:var(--ink);color:#fff0fc}
.window-file{gap:9px;font:500 17px/1 var(--pixel);letter-spacing:.2px}
.window-file>.icon{color:var(--blush);width:15px;height:15px}
.window-controls{gap:4px}
.window-button{display:grid;place-items:center;width:23px;height:22px;background:#e2d4ee;border:1px solid #a08caa;box-shadow:inset 1px 1px #fff3ff,inset -2px -2px #ae9cba;color:var(--ink)}
.window-button:hover{background:#f5e1fc}
.window-button:active{box-shadow:inset 1px 1px #a08caa}
.minus{width:9px;height:2px;background:currentColor;align-self:end;margin-bottom:4px}
.cross{width:11px;height:11px;background:currentColor;clip-path:polygon(0 0,24% 0,24% 18%,40% 18%,40% 36%,60% 36%,60% 18%,76% 18%,76% 0,100% 0,100% 24%,82% 24%,82% 40%,64% 40%,64% 60%,82% 60%,82% 76%,100% 76%,100% 100%,76% 100%,76% 82%,60% 82%,60% 64%,40% 64%,40% 82%,24% 82%,24% 100%,0 100%,0 76%,18% 76%,18% 60%,36% 60%,36% 40%,18% 40%,18% 24%,0 24%)}
.screen,.prompt,.outcome{text-align:center}
.prompt,.outcome{padding:27px 20px 33px}
.mascots{display:block;width:266px;height:auto;max-width:85%;margin:0 auto;image-rendering:pixelated}
.kicker{display:flex;align-items:center;justify-content:center;gap:10px;font:400 11px/1.3 var(--mono);letter-spacing:1.7px;color:#78536b;margin-top:14px}
.kicker span{font-family:var(--pixel);font-size:14px;color:#c45d81}
h1,h2,p{margin:0}
h1,.display-title{font:400 clamp(78px,6.65vw,99px)/.77 var(--title);letter-spacing:-1.8px;margin:13px 0 18px}
h1 em,.display-title em{font-style:normal;color:var(--pink)}
h1:focus{outline:none}
.intro,.outcome-copy,.utility-copy{font:400 13px/1.65 var(--mono);color:#514457}
.actions{justify-content:center;gap:16px;margin-top:23px;flex-wrap:wrap}
.game-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:9px 19px;border:2px solid var(--ink);box-shadow:3px 3px var(--ink),inset 2px 2px #ffffff63;font:600 22px/1.12 var(--pixel);background:#ece2f4}
.game-button.yes{background:var(--blush)}
.game-button.no{background:#e4d8f3}
.game-button .icon{width:16px;height:16px}
.game-button:hover{transform:translate(-1px,-1px);box-shadow:4px 4px var(--ink),inset 2px 2px #ffffff70;filter:brightness(1.035)}
.game-button:active,.taskbar button:active{transform:translate(2px,2px);box-shadow:1px 1px var(--ink)}
.status-bar{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:7px 14px;border-top:1px solid #cdbdc7;background:#f0e9e2;gap:8px;font:11px/1.3 var(--mono);color:#655566}
.status-bar>span:first-child{gap:8px}
.status-bar>span:last-child{font:500 12px/1 var(--pixel);letter-spacing:.6px;white-space:nowrap;color:#705b73}
.status-led,.connection-dot{width:8px;height:8px;border:1px solid #49694d;background:#8ecb95;box-shadow:inset 1px 1px #c6e9b1;flex:none}
.taskbar{min-height:43px;padding:4px clamp(15px,2.3vw,44px);border-top:2px solid var(--ink);border-bottom:1px solid #aea0bb;background:#eae0f1;box-shadow:inset 0 2px #fbf3ff}
.taskbar-left,.dock-right{gap:12px}
.taskbar button{justify-content:center;gap:7px}
#start,#task{min-height:28px;padding:3px 12px;font:600 16px/1 var(--pixel);border:1px solid var(--ink);background:#f9eef9;box-shadow:1px 1px var(--ink),inset 1px 1px white}
#start .icon{width:13px;height:13px}
#task{background:#dacbe7;font-size:14px;font-weight:500;box-shadow:inset 1px 1px #bbaac6;border-color:#9e8ba9}
#task .icon{width:12px;height:12px;color:#924366}
.dock-right{gap:8px;font:13px/1 var(--pixel)}
.signal{display:flex;gap:2px;align-items:flex-end;height:12px}
.signal i{width:3px;background:var(--ink)}
.signal i:nth-child(1){height:3px}.signal i:nth-child(2){height:6px}.signal i:nth-child(3){height:9px}.signal i:nth-child(4){height:12px}
.connection-dot{margin-left:2px;width:6px;height:6px}
.start-menu{position:absolute;left:clamp(15px,2.3vw,44px);bottom:100%;width:200px;padding:4px;border-width:2px;box-shadow:3px 3px var(--ink)}
.start-menu strong{display:block;background:var(--ink);color:#f9eafa;padding:7px 9px;font:600 20px/1 var(--pixel)}
.start-menu button{width:100%;border:0;background:transparent;justify-content:flex-start;padding:9px;font:16px/1 var(--pixel)}
.start-menu button:hover{background:#edddf6}
#restore{padding:18px 28px;display:grid;justify-items:center;gap:10px;font:600 21px/1 var(--pixel)}
#restore img{image-rendering:pixelated}
footer{padding:20px 15px;text-align:center;background:#eae0f1;--builtby2-credit-color:#282b34}

/* Desktop utilities and the two endings. */
dialog{width:min(455px,calc(100% - 36px));max-height:85svh;padding:0;color:var(--ink)}
dialog::backdrop{background:#35283e60}
#utility-content{padding:22px 24px 25px;text-align:center}
.utility-art{width:52px;height:52px;image-rendering:pixelated}
.utility-heading{font:400 44px/.95 var(--title);margin:7px 0 11px}
.utility-copy{font-size:12px;margin:8px auto 15px;max-width:350px}
#utility:has(.album){width:min(640px,calc(100% - 28px));max-height:90svh;overscroll-behavior:contain}
#utility:has(.album)>.title-bar{position:sticky;top:0;z-index:2}
#utility-content:has(.album){padding:clamp(14px,3vw,24px);text-align:left}
.album-header{display:grid;grid-template-columns:48px 1fr;align-items:center;column-gap:12px}
.album-header .utility-art{grid-row:span 2;width:48px;height:48px}
.album-header .utility-heading{margin:0;font-size:38px}
.album-header .utility-copy{margin:2px 0 0;font-size:11px}
.album-packs{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 13px}
.album-packs button,.album-back{border:1px solid var(--ink);padding:6px 8px;background:#eee3f3;box-shadow:1px 1px var(--ink);font:500 15px/1.1 var(--pixel)}
.album-packs button{flex:1 1 120px;min-height:36px}
.album-packs button[aria-pressed=true]{background:#ffc3d2;box-shadow:inset 2px 2px #cc92a6}
.album-packs button:hover,.album-back:hover{background:#ffdae4}
.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.album-tile{display:block;min-width:0;padding:0;background:none;border:none}
.album-tile .photo{width:100%;height:100%}
.album-tile:hover .photo{background:#fff0ef;border-color:#a73e65}
.album-tile .photo-slot{aspect-ratio:1.55}
.album-back{min-height:36px;padding-inline:11px}
.album-full{display:block;margin:13px auto 0;width:auto;max-width:100%;height:auto;max-height:65svh;object-fit:contain;border:2px solid var(--ink);box-shadow:2px 2px #8b7796}
@media(max-width:520px){
  .album-packs button{flex-basis:calc(50% - 6px);min-height:37px}
  .album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}
.photo{--frame:#f8c9da;display:inline-flex;flex-direction:column;padding:3px;background:#fff9ef;border:2px solid var(--ink);box-shadow:2px 2px #47365173;max-width:100%}
.photo:nth-child(3n+2){--frame:#d6c4ee}
.photo:nth-child(3n){--frame:#c3ded0}
.photo-slot,.meme-slot{display:grid;place-items:center;position:relative;background-color:var(--frame);background-image:linear-gradient(90deg,#fff5 1px,transparent 1px),linear-gradient(#fff5 1px,transparent 1px);background-size:12px 12px;border:1px solid #876b83}
.photo-slot{aspect-ratio:4/3}
.photo-slot img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.letter-signoff{font:500 21px/1.3 var(--pixel);color:#ac395d}
.outcome{min-height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.outcome .kicker{margin:0 0 10px}
.sad-mascots{width:160px;height:auto;image-rendering:pixelated;margin:0 auto 10px}
.outcome h1{font-size:clamp(58px,6vw,85px);line-height:.86;overflow-wrap:anywhere;margin:8px 0 13px}
.outcome-copy{margin:0 auto;max-width:390px}
.memory-strip{display:flex;gap:10px;justify-content:center;margin:14px 0 24px;width:100%}
.memory-strip .photo{width:116px;transform:rotate(-7deg)}
.memory-strip .photo:nth-child(2){transform:translateY(7px) rotate(3deg)}
.memory-strip .photo:nth-child(3){transform:rotate(8deg)}
.outcome .actions{margin-top:19px}
.compact{font-size:17px;min-height:36px;padding:7px 13px}
.text-button{border:0;background:transparent;padding:6px;text-decoration:underline;text-underline-offset:3px;font:500 16px/1.2 var(--pixel)}
.meme-player{width:min(238px,100%);margin:12px auto 0}
.meme-slot{--frame:#d8cde6;padding:5px 5px 0;color:#413458;border:2px solid var(--ink);box-shadow:2px 2px #47365173}
.meme-slot img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:1px solid #876b83}
.meme-slot[data-tone="1"]{--frame:#a9c4d6}.meme-slot[data-tone="2"]{--frame:#e0c0d5}
.meme-slot strong{display:grid;place-items:center;min-height:43px;padding:5px 6px;font:600 17px/1.05 var(--pixel);text-wrap:balance}
.player-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px;font:12px/1 var(--mono)}
.player-controls button{min-height:30px;min-width:32px;border:1px solid #a791b2;background:#eee4f3;padding:3px 7px;font:16px/1 var(--pixel)}
.rain-layer{z-index:2;overflow:hidden}
.drop{position:absolute;top:-125px;left:var(--left);animation:fall var(--speed) linear var(--delay) both;will-change:transform}
.drop.photo{width:78px;opacity:.9}
.confetti{width:7px;height:11px;background:var(--colour)}
@keyframes fall{from{transform:translateY(0) rotate(var(--tilt))}to{transform:translate(var(--drift),calc(100vh + 180px)) rotate(calc(var(--tilt) + 42deg))}}
#waves{z-index:4;overflow:hidden;display:none}
#waves.active{display:flex}
#waves i{position:absolute;inset:0 auto 0 0;width:62%;transform:translateX(-104%);background:var(--wave-a);clip-path:polygon(0 0,92% 0,92% 8%,98% 8%,98% 17%,90% 17%,90% 27%,97% 27%,97% 39%,92% 39%,92% 48%,100% 48%,100% 62%,94% 62%,94% 73%,86% 73%,86% 82%,95% 82%,95% 92%,89% 92%,89% 100%,0 100%);animation:wave .84s ease-in-out both}
#waves i+i{inset:0 0 0 auto;background:var(--wave-b);rotate:180deg}
@keyframes wave{0%{transform:translateX(-104%)}45%,55%{transform:translateX(0)}100%{transform:translateX(-104%)}}
@media(min-width:1650px){.window-space{width:700px}.prompt{padding-block:38px}.mascots{width:295px}}
@media(max-width:1120px){.post-it{right:2%;width:110px;font-size:17px}.shortcuts{left:2%}.window-space{width:min(620px,calc(100% - 48px))}}
@media(max-width:920px){.post-it{display:none}.window-space{width:min(600px,calc(100% - 160px));margin-left:66px}.shortcuts{left:12px;gap:15px}}
@media(min-width:681px) and (max-height:760px){.desktop{min-height:590px}.window-space{padding:22px 0 30px}}
@media(max-width:680px){
  .system-bar{min-height:48px;padding:0 15px}.brand{font-size:25px;gap:7px}.brand-icon{scale:.86;margin-left:-2px;margin-right:-2px}
  .system-tray{gap:9px;font-size:10px}.system-tray time,.sound{gap:5px}.system-tray .icon{width:13px;height:13px}.sound{font-size:14px}.version{font-size:10px}
  .desktop{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:30px 0 37px;min-height:0}
  .wallpaper{background-image:url("assets/scenery/mobile.png")}
  .window-space{order:0;width:min(92%,510px);padding:0;margin:0;align-self:center}
  .shortcuts{order:1;position:relative;inset:auto;display:flex;gap:8px;justify-content:center}
  .shortcuts button{gap:4px;min-width:73px;font-size:14px}.shortcuts img{width:36px;height:36px}
  .prompt,.outcome{padding:20px 13px 24px}.outcome{min-height:380px}
  .mascots{width:210px}.kicker{font-size:9px;letter-spacing:1.35px;margin-top:11px}
  h1{font-size:clamp(65px,14vw,83px);margin:12px 0 15px}
  .intro,.outcome-copy{font-size:12px;line-height:1.6}.intro{max-width:370px;margin:auto}.wide-break{display:none}
  .actions{gap:11px;margin-top:18px}.game-button{font-size:19px;padding:8px 12px;min-height:43px;gap:7px}
  .compact{font-size:16px;min-height:35px}.status-bar{min-height:31px;padding:6px 9px;font-size:9px}.status-bar>span:last-child{font-size:10px}
  .taskbar{min-height:38px;padding-inline:12px}.taskbar-left{gap:8px}.dock-right{font-size:11px;gap:5px}
  #start,#task{min-height:25px;font-size:14px;padding:3px 9px}
  .outcome h1{font-size:clamp(55px,13.3vw,72px)}.drop.photo{width:51px}.memory-strip .photo{width:80px}
}
@media(max-width:370px){
  .sound span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.game-button{font-size:17px;padding-inline:9px}.window-space{width:93%}.actions{gap:8px}.intro{font-size:11px}
  .dock-right .connection-dot{display:none}.shortcuts{gap:3px}.status-bar{font-size:8px}.utility-heading{font-size:38px}#utility-content{padding-inline:14px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
  .rain-layer,#waves.active{display:none}
}
