/* The Adorned Fox: desktop theme preview
   Desktop is designed on a 1536x1024 stage (the mockup's exact size) and scaled to fit. */
:root{
  --ink:#43291f; --ink-soft:#7d5a4b;
  --frame:#f9c3bb; --frame-line:#d98f88; --bar-a:#fbcac2; --bar-b:#f5aea7;
  --cream:#fbf1e4; --paper:#fdf7ee; --kraft:#e7c4b3; --rose:#d2716d;
  --pill:#fbf0e1; --pill-line:#d7b4a2; --dock:#f8ead9;
  --grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .16 0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --mottle:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .13 0'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  --hand:'Gochi Hand',cursive;--note:'Cedarville Cursive',cursive; --ui:'Nunito',system-ui,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:var(--ui);color:var(--ink);background:#e9c3b8;overflow:hidden}
button{font:inherit;color:inherit;cursor:pointer}
img{display:block}

.fill{position:fixed;inset:0;background:url(art/plate.jpg) center/cover}

/* ---------- stage ---------- */
.desk{position:fixed;left:50%;top:50%;width:1536px;height:1024px;transform-origin:center;z-index:2;pointer-events:none}
.desk .win,.desk .dock{pointer-events:auto}
nav.desk-icons{position:fixed;left:0;top:0;width:1536px;height:1024px;transform-origin:0 0;z-index:1;pointer-events:none}
.plate{display:none}

/* ---------- left icons ---------- */
.icon{position:absolute;background:none;border:0;padding:0}
.icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(90,45,35,.22))}
.icon .art{position:absolute}
.icon .lbl{position:absolute;display:grid;place-items:center;white-space:nowrap;font-weight:700;font-size:17px;color:var(--ink);
  background:linear-gradient(#fdf5ea,#f7e7d4);border:1.5px solid var(--pill-line);border-radius:7px;box-shadow:0 2px 3px rgba(90,50,35,.18)}
.icon:hover .lbl,.icon:focus-visible .lbl{background:linear-gradient(#fff,#fce2dc);border-color:var(--frame-line)}
.icon:focus-visible{outline:none}
.icon:hover .art img,.icon:focus-visible .art img{filter:brightness(1.06)}

/* ---------- windows ---------- */
.win{position:absolute;background:var(--frame);border:2px solid var(--frame-line);border-radius:12px;padding:0 6px 6px;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.35),0 16px 34px rgba(95,45,40,.28)}
.bar{display:flex;align-items:center;gap:10px;height:44px;padding:0 4px 0 6px;user-select:none}
.bar b{flex:1;font-weight:600;font-size:23px;letter-spacing:.01em;color:#3d2720;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.appicon{width:28px;height:28px;flex:none;border-radius:6px;border:1.5px solid var(--frame-line);background:#fff6f4;position:relative}
.appicon::after{content:"♥";position:absolute;inset:0;display:grid;place-items:center;color:#e0807a;font-size:16px;line-height:1}
.ctl{display:flex;gap:6px}
.ctl button{width:33px;height:31px;padding:0;display:grid;place-items:center;border:2px solid #4a3029;border-radius:5px;background:linear-gradient(#fff9f3,#f3e1d3)}
.ctl button:hover{background:#fff}
.ctl svg{width:16px;height:16px;stroke:#3d2720;stroke-width:2.2;fill:none;stroke-linecap:round}
.small .bar{height:32px;gap:8px}
.small .bar b{font-size:17px}
.small .appicon{width:22px;height:22px}
.small .appicon::after{font-size:12px}
.small .ctl button{width:24px;height:22px;border-width:1.6px}
.small .ctl svg{width:12px;height:12px}
.draggable .bar{cursor:grab;touch-action:none}
.draggable .bar:active{cursor:grabbing}

/* welcome */
#w-welcome{left:186px;top:92px;width:932px;height:675px;transform:scale(1.06);transform-origin:0 0;z-index:6}
.welcome{position:relative;height:619px;border:2px solid #d9a39c;border-radius:2px;
  background:
    repeating-linear-gradient(0deg,rgba(238,150,142,.38) 0 7px,transparent 7px 14px) 0 100%/100% 36px no-repeat,
    repeating-linear-gradient(90deg,rgba(238,150,142,.38) 0 7px,transparent 7px 14px) 0 100%/100% 36px no-repeat,
    linear-gradient(#fbe8e3,#fbe8e3) 0 100%/100% 36px no-repeat,
    radial-gradient(circle at 20% 30%,rgba(255,255,255,.25),transparent 40%),
    radial-gradient(circle at 75% 80%,rgba(160,90,70,.12),transparent 45%),
    var(--kraft)}
.photo{position:absolute;left:24px;top:25px;width:587px;height:563px;margin:0;padding:20px 22px 28px 20px;transform:rotate(-1deg);
  background:var(--grain),var(--mottle),linear-gradient(135deg,#f7ecdc,#efe0cb);box-shadow:0 6px 14px rgba(80,40,25,.3);border-radius:3px}
.ph{display:block;width:100%;height:100%;overflow:hidden}
.photo img{width:100%;height:100%;object-fit:cover;object-position:50% 34%;transform:scale(1.1);transform-origin:50% 55%}
.tape{position:absolute;opacity:.92;box-shadow:0 1px 3px rgba(0,0,0,.12);
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.6) 0 6px,transparent 6px 12px),repeating-linear-gradient(90deg,rgba(255,255,255,.6) 0 6px,transparent 6px 12px),#f2a19c}
.t1{z-index:2;left:135px;top:-20px;width:140px;height:62px;transform:rotate(-2deg)}
.pinknote{position:absolute;left:594px;top:45px;width:310px;height:235px;transform:rotate(-2.5deg);display:grid;place-items:center;
  background:var(--grain),var(--mottle),radial-gradient(circle at 30% 20%,rgba(255,255,255,.35),transparent 50%),#f7b2aa;filter:drop-shadow(0 4px 6px rgba(80,40,30,.25));
  clip-path:polygon(0 4%,8% 1%,17% 3%,27% 0,38% 2%,49% 0,60% 3%,71% 1%,82% 2%,92% 0,100% 3%,98% 30%,100% 55%,99% 80%,100% 97%,90% 100%,79% 97%,68% 100%,56% 98%,44% 100%,33% 97%,21% 100%,10% 98%,0 100%,2% 70%,0 45%,2% 20%)}
.pinknote p{margin:0;font-family:var(--note);font-weight:400;font-size:46px;line-height:1.12;-webkit-text-stroke:.4px #3d2720;text-align:center;color:#3d2720}
.checklist{position:absolute;left:609px;top:280px;width:300px;height:282px;transform:rotate(-1deg);padding:26px 18px 0 26px;
  background:var(--grain),var(--mottle),radial-gradient(circle at 70% 30%,rgba(255,255,255,.5),transparent 55%),#f3e3cb;filter:drop-shadow(0 4px 6px rgba(80,40,30,.22));
  clip-path:polygon(0 2%,10% 0,22% 2%,36% 0,50% 2%,63% 0,77% 2%,90% 0,100% 2%,99% 40%,100% 75%,98% 100%,85% 97%,70% 100%,55% 97%,40% 100%,25% 97%,10% 100%,0 97%,2% 60%)}
.checklist ul,.notes ul{list-style:none;margin:0;padding:0;font-family:var(--hand);font-weight:400;color:#3d2720}
.checklist ul{font-size:22px;line-height:44px}
.checklist li{gap:10px;white-space:nowrap}
.checklist li,.notes li{display:flex;align-items:center;gap:14px;border-bottom:1px solid rgba(150,110,90,.25)}
.checklist li::before,.notes li::before{content:"";flex:none;width:20px;height:20px;border:2px solid #3d2720;border-radius:2px;display:grid;place-items:center;font:800 17px var(--ui);color:#3d2720}
.checklist li.on::before{content:"✓"}
.checklist li.cont{padding-left:16px;border-bottom:0}
.checklist li.cont::before{display:none}
.bow{position:absolute;left:383px;top:573px;width:150px;filter:drop-shadow(0 4px 4px rgba(90,40,40,.3));z-index:3}

/* notes */
#w-notes{left:1132px;top:36px;width:382px;height:400px;z-index:5}
.notes{position:relative;height:360px;padding:62px 22px 0 34px;
  background:
    var(--grain),var(--mottle),
    radial-gradient(circle,#f2c2bb 0 7px,transparent 7.5px) 6px 16px/40px 30px repeat-x,
    linear-gradient(#f5ead8,#efe0c7)}
.t2{left:50%;top:6px;width:110px;height:34px;transform:translateX(-50%) rotate(-1deg)}
.notes ul{font-size:24px;line-height:44px}

/* player */
#w-player{left:1186px;top:474px;width:330px;height:200px}
.player{height:160px;background:linear-gradient(#fbf3ea,#f4e6d6);padding:16px 22px 0;text-align:center}
.pbtns{display:flex;justify-content:center;align-items:center;gap:40px}
.pbtns button{border:0;background:none;padding:0}
.pbtns svg{width:30px;height:30px;fill:#3d2720}
.pbtns .play{width:56px;height:56px;border-radius:50%;background:linear-gradient(#f9bbb3,#ea918a);border:2px solid #c86f69;display:grid;place-items:center;box-shadow:0 2px 4px rgba(120,50,50,.25)}
.pbtns .play svg{fill:#7a3330;width:28px;height:28px}
.vol{display:flex;align-items:center;gap:10px;margin:14px 6px 0;color:#3d2720}
.vol svg{width:20px;height:20px;fill:#3d2720}
.vol input{flex:1;accent-color:#d97f78}
.song{margin-top:8px;font-size:19px;font-weight:600;color:#3d2720}

/* section windows (open from icons / dock) */
.pwin{display:none;left:330px;top:120px;width:780px;z-index:60}
.pwin.open{display:block}
.pwin .wbody{max-height:700px;overflow:auto;padding:18px 20px 22px;background:linear-gradient(#fbf3ea,#f4e6d6)}
.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 4px 16px}
.intro p{margin:0;font-family:var(--hand);font-size:34px;line-height:1.05}
.intro small{display:block;font:700 14px var(--ui);color:var(--ink-soft);margin-top:6px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 18px;padding:4px}
.polaroid{margin:0;background:#fffdf8;padding:8px 8px 0;box-shadow:0 6px 14px rgba(90,45,35,.22);transform:rotate(var(--r,-1deg))}
.grid .polaroid:nth-child(3n+2){--r:1.2deg}.grid .polaroid:nth-child(3n){--r:-.5deg}
.polaroid img{width:100%;aspect-ratio:1;object-fit:cover}
.polaroid figcaption{font-family:var(--hand);font-size:22px;text-align:center;padding:4px 0 8px}
.shopbtn{display:inline-block;text-decoration:none;font-family:inherit;cursor:pointer;white-space:nowrap;border:2px solid #b65d59;background:var(--rose);color:#fff;border-radius:999px;padding:10px 20px;font-weight:800;font-size:15px;box-shadow:0 2px 0 #964844}
.shopbtn:hover{filter:brightness(1.06)}
.ask{font-family:var(--hand);font-size:24px;background:#fff6ef;border:1.5px dashed var(--frame-line);border-radius:10px;padding:10px 14px;margin:16px 4px 0}
.links{list-style:none;padding:0;margin:4px;display:grid;gap:10px}
.links button,.links a.lnk{box-sizing:border-box;text-decoration:none;color:inherit;width:100%;display:flex;justify-content:space-between;align-items:center;background:#fff8ef;border:1.5px solid var(--frame-line);border-radius:10px;padding:13px 16px;font-weight:800;font-size:16px;text-align:left}
.links button:hover,.links a.lnk:hover{background:#fce2dc}
.links small{font-weight:600;color:var(--ink-soft)}

/* ---------- dock ---------- */
.dock{position:absolute;left:347px;top:868px;width:842px;height:104px;display:flex;align-items:center;justify-content:space-evenly;padding:0 14px;z-index:900;background:#fce3ca;border:2px solid #c99a86;border-radius:54px;box-shadow:0 10px 22px rgba(95,45,35,.25),inset 0 2px 0 rgba(255,255,255,.7)}
.dock button{position:relative;width:80px;height:84px;border:0;padding:0;background:none;border-radius:14px}
.dock button img{width:100%;height:100%;object-fit:contain;padding:6px 2px;filter:drop-shadow(0 2px 2px rgba(90,45,35,.18))}
.dock button:hover img,.dock button:focus-visible img{filter:brightness(1.07) saturate(1.05)}
.dock button:focus-visible{outline:2px solid var(--frame-line);outline-offset:2px}
.dock button[data-tip]:hover::after,.dock button[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;bottom:96px;left:50%;transform:translateX(-50%);white-space:nowrap;
  background:#3d2720;color:#fff;font-size:14px;font-weight:700;padding:5px 11px;border-radius:8px}
.count{position:absolute;right:-6px;top:-4px;min-width:24px;height:24px;border-radius:12px;background:var(--rose);color:#fff;font:800 13px/24px var(--ui);font-style:normal;text-align:center;border:2px solid #fff}

.win.gone{display:none}
.icons{position:absolute;inset:0;pointer-events:none}.icons .icon{pointer-events:auto}
.toast{position:fixed;left:50%;bottom:120px;transform:translateX(-50%);background:#3d2720;color:#fff;font-weight:700;font-size:14px;padding:10px 18px;border-radius:12px;z-index:3000;display:none;max-width:90vw;text-align:center}
.toast.show{display:block}

/* ---------- real paper & washi tape (photographed textures) ---------- */
.pinknote{background:url(art/paper/pink.png) center/100% 100% no-repeat!important;clip-path:none!important;filter:drop-shadow(0 5px 7px rgba(80,40,30,.28))!important}
.checklist{background:url(art/paper/cream.png) center/100% 100% no-repeat!important;clip-path:none!important;padding-top:34px!important;filter:drop-shadow(0 5px 7px rgba(80,40,30,.24))!important}
.checklist li{border-bottom-color:rgba(120,90,70,.22)}
.notes{background:url(art/paper/notebook.png) center/100% 100% no-repeat,var(--frame)!important;padding:52px 22px 0 54px!important}
.notes ul{margin-top:0;font-size:23px;line-height:37px}
.notes li{height:37px;align-items:flex-end;padding-bottom:1px}
.notes li::before{margin-bottom:7px}
.notes li{border-bottom:0;gap:12px}
.notes li::before{width:16px;height:16px;border-width:1.8px}
.tape{background:url(art/paper/tape-1.png) center/100% 100% no-repeat!important;box-shadow:none!important;opacity:.96;filter:drop-shadow(0 1px 2px rgba(60,30,20,.18))}
.t1{background-image:url(art/paper/tape-2.png)!important;height:56px!important}
.t2{background-image:url(art/paper/tape-3.png)!important;top:2px!important;height:38px!important}

/* ================= phone & tablet portrait ================= */
.phone{display:none}
@media (max-width:999px),(max-aspect-ratio:11/10){
  body{overflow:auto}
  .desk,nav.desk-icons{display:none!important}
  .fill{position:fixed}
  .phone{display:block;position:relative;max-width:640px;margin:0 auto;padding:0 12px 120px}
  .pstatus{position:sticky;top:0;z-index:20;display:flex;align-items:center;margin:0 -12px;padding:8px 14px;background:rgba(251,241,228,.94);border-bottom:1.5px solid var(--frame-line);font-weight:800;font-size:18px}
  .pcart{margin-left:auto;position:relative;border:0;background:none;padding:0}
  .pcart img{width:44px;height:50px;border-radius:10px}
  .phone .win{position:relative;margin-top:20px}
  .phone .bar{height:40px}
  .phone .bar b{font-size:19px}
  .phone .welcome{height:auto;display:flex;flex-direction:column;align-items:center;padding:24px 14px 64px;gap:0}
  .phone .photo{position:relative;left:auto;top:auto;width:100%;height:auto;aspect-ratio:587/563;padding:12px 14px 18px 12px}
  .phone .t1{left:30%;top:-16px;width:96px;height:40px}
  .phone .pinknote{position:relative;left:auto;top:auto;width:88%;height:auto;padding:26px 10px;margin-top:22px}
  .phone .pinknote p{font-size:38px}
  .phone .checklist{position:relative;left:auto;top:auto;width:86%;height:auto;padding:18px 16px 14px 22px;margin-top:-6px}
  .phone .checklist ul{font-size:22px;line-height:40px}
  .phone .bow{left:50%;top:auto;bottom:0;width:96px;transform:translateX(-50%)}
  .phone .notes{height:360px}
  .phone .pinknote,.phone .checklist{filter:none!important}
  .phone .player{height:auto;padding-bottom:16px}
  .apps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 6px;margin-top:24px}
  .apps .icon{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px}
  .apps .icon .art{position:relative;width:70px;height:58px}
  .apps .icon .lbl{position:relative;font-size:12.5px;padding:3px 7px;white-space:normal;text-align:center;line-height:1.15}
  .pdock{position:fixed;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:8px;padding:6px 14px;background:var(--dock);border:2px solid var(--pill-line);border-radius:30px;box-shadow:0 10px 24px rgba(90,45,35,.28);z-index:30}
  .pdock button{position:relative;width:52px;height:58px;border:0;padding:0;background:none}
  .pdock img{width:100%;height:100%;object-fit:contain}
  .sheet{position:fixed;inset:0;z-index:100;display:none;padding:10px;background:rgba(61,39,32,.3)}
  .sheet.open{display:block}
  .sheet .win{height:100%;margin:0;display:flex;flex-direction:column}
  .sheet .wbody{flex:1;overflow:auto;padding:16px;background:linear-gradient(#fbf3ea,#f4e6d6)}
  .sheet .intro{flex-direction:column;align-items:flex-start}
  .sheet .grid{grid-template-columns:repeat(2,1fr);gap:18px 14px}
  .toast{bottom:100px}
}

/* ---------- Notes.taf: a sticky note showing one quote at a time ---------- */
.notes.sticky{background:var(--frame)!important;padding:30px 26px 0!important;display:flex;flex-direction:column;align-items:center}
.sticky-note{position:relative;width:300px;height:262px;transform:rotate(-2deg);display:grid;place-items:center;padding:30px 26px 22px;
  background:url(art/paper/pink.png) center/100% 100% no-repeat;filter:drop-shadow(0 5px 7px rgba(80,40,30,.28))}
.sticky-note.cream{background-image:url(art/paper/cream.png);transform:rotate(1.5deg)}
.sticky-note .tape{left:50%;top:-14px;width:104px;height:34px;transform:translateX(-50%) rotate(-3deg);background-image:url(art/paper/tape-3.png)!important}
.sticky-note p{margin:0;font-family:var(--note);font-size:41px;line-height:1.15;color:#3d2720;-webkit-text-stroke:.5px #3d2720;text-align:center}
.sticky-next{margin-top:12px;font:400 21px var(--hand);color:#3d2720;background:none;border:0;cursor:pointer;padding:4px 10px}
.sticky-next:hover{text-decoration:underline}
.quotes{display:none}
@media (max-width:999px),(max-aspect-ratio:11/10){
  .phone .notes.sticky{height:auto;padding:30px 16px 14px!important}
  .phone .sticky-note{width:min(300px,86%);filter:none}
  .phone .sticky-note p{font-size:29px}
}
.songs{display:none}
