/* Sugarplum OS: original CSS scenery with a nostalgic XP-like desktop. */
.game .modal.study-pc-open{
 padding:clamp(7px,1.8vw,20px);
 background:#241d42b5;
 backdrop-filter:blur(7px);
 -webkit-backdrop-filter:blur(7px);
}
.game .modal.study-pc-open .window{
 width:min(1130px,100%);height:min(850px,96dvh);max-height:96dvh;
 border:3px double #e8b9d8;padding:clamp(6px,1.2vw,14px);
 border-radius:19px;background:#f7e8f2;
 overflow:hidden;display:flex;flex-direction:column;
 box-shadow:0 22px 60px #26133988;text-align:left;
}
.game .modal.study-pc-open #modal-body{
 flex:1;display:flex;width:100%;min-height:0;min-width:0;
}
.game .modal.study-pc-open #close-modal{display:none}
.study-computer{
 position:relative;
 font-family:'Nunito','Trebuchet MS',sans-serif;
 flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;
 border:3px solid #2371d2;border-radius:6px;overflow:hidden;
 background:#2371d2;color:#fff;
}
/* Blue sky and layered green hills are CSS shapes, with no screenshot asset. */
.study-computer-shell{
 position:relative;flex:1;min-height:0;overflow:hidden;isolation:isolate;
 background:
  radial-gradient(ellipse at 45% 17%,#fffef9c9 0%,#fffef900 27%),
  linear-gradient(180deg,#1259c9 0%,#378ded 38%,#97d6fb 78%,#d5eafa 100%);
}
.study-computer-shell::before{
 content:'';position:absolute;pointer-events:none;z-index:0;
 left:-22%;bottom:-63%;width:164%;height:109%;
 border-radius:50% 67% 0 0/68% 79% 0 0;
 transform:rotate(-7deg);
 background:
  repeating-linear-gradient(177deg,transparent 0 7px,#b2d65215 8px 9px),
  linear-gradient(175deg,#a3d341 0%,#66aa25 28%,#36831a 65%,#317818 100%);
 box-shadow:inset 0 12px 35px #d4f37955;
}
.study-computer-shell::after{
 content:'';position:absolute;pointer-events:none;z-index:0;
 left:-28%;bottom:-87%;width:170%;height:116%;
 border-radius:55% 50% 0 0/73% 72% 0 0;
 transform:rotate(5deg);
 background:
  repeating-linear-gradient(173deg,transparent 0 5px,#e7f18c0c 6px 7px),
  linear-gradient(175deg,#8bc82e,#4e9622 48%,#276f18);
 opacity:.92;
}
.study-computer-cloud{position:absolute;z-index:1;pointer-events:none;
 width:148px;height:34px;border-radius:50%;opacity:.86;
 background:radial-gradient(ellipse,#fff 22%,#ffffffc5 70%,transparent 73%);
 filter:blur(5px);
}
.study-computer-cloud::before,.study-computer-cloud::after{
 content:'';position:absolute;border-radius:50%;
 background:#fff;filter:blur(5px);
}
.study-computer-cloud::before{width:73px;height:45px;left:24px;top:-19px}
.study-computer-cloud::after{width:70px;height:33px;left:80px;top:-9px}
.study-computer-cloud.cloud-one{top:14%;left:17%;transform:rotate(-7deg)}
.study-computer-cloud.cloud-two{top:25%;right:15%;transform:scale(.72) rotate(6deg)}
.study-computer-nav{
 position:absolute;z-index:3;top:15px;left:9px;
 width:102px;display:flex;flex-direction:column;align-items:stretch;gap:8px;
}
.game .window .study-computer button{
 font-family:'Nunito','Trebuchet MS',sans-serif;
 cursor:pointer;margin:0;
}
.game .window .study-computer button:focus-visible,
.game .window .study-computer input:focus-visible{
 outline:2px solid #fff9a4;outline-offset:1px;
}
.game .window .study-computer-nav button{
 border:1px solid transparent;background:transparent;box-shadow:none;
 display:flex;flex-direction:column;align-items:center;gap:4px;
 padding:7px 4px;min-height:75px;border-radius:3px;
 color:white;font-size:12px;line-height:1.1;text-align:center;
 text-shadow:1px 2px 2px #0d3e6f;
}
.study-computer-nav .xp-icon{
 width:40px;height:37px;display:grid;place-items:center;
 font-size:30px;filter:drop-shadow(1px 3px 2px #25497966);
}
.study-computer-content{
 position:absolute;z-index:4;inset:0;
 pointer-events:none;min-width:0;min-height:0;
}
.study-computer-content > *{pointer-events:auto}
.study-computer-desktop{width:100%;height:100%;pointer-events:none}
.study-computer-taskbar{
 height:40px;flex-shrink:0;display:flex;align-items:center;gap:5px;
 color:white;padding:0 7px 0 0;z-index:7;
 background:linear-gradient(180deg,#2f91f4 0%,#1069d8 16%,#064fbe 75%,#134caf);
 border-top:1px solid #99c6ff;
 box-shadow:inset 0 1px 1px #a9dbff7f;
}
.game .window .study-computer-start{
 display:flex;align-items:center;justify-content:center;gap:5px;
 min-width:100px;align-self:stretch;border:0;border-radius:0 13px 13px 0;
 padding:4px 12px;color:#fff;font-size:17px;font-style:italic;
 text-shadow:0 1px 2px #124b1a;background:linear-gradient(#67d85b,#2f9b23 50%,#21791c);
 box-shadow:inset 0 2px 2px #d8ffe099,2px 0 3px #154c3677;
}
.game .window .study-computer-start:hover{filter:brightness(1.12)}
.game .window .study-computer-running{
 color:white;border:1px solid #276ac0;border-radius:4px;
 background:linear-gradient(#287bda,#145bc4);
 padding:6px 11px;font-size:13px;min-width:155px;max-width:45%;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 box-shadow:inset 0 2px 4px #10498b6e;
}
.study-computer-tray{
 background:linear-gradient(#36b7ff,#158de5);
 display:flex;align-items:center;justify-content:center;gap:4px;
 margin-left:auto;align-self:stretch;
 min-width:100px;padding:0 10px;border-left:1px solid #9bd8fc;
 font:12px 'Nunito',sans-serif;
}
.game .window .study-computer-power{
 color:#fff;background:#3378db;border:1px solid #6ca8f1;
 padding:6px 8px;border-radius:4px;font-size:14px;
}
.study-computer-start-menu{
 position:absolute;z-index:11;bottom:0;left:2px;width:240px;
 background:#fffef9;border:2px solid #1457b7;box-shadow:4px 6px 19px #1c356f88;
 border-radius:8px 8px 0 0;padding-bottom:8px;color:#26446c;
}
.study-computer-start-menu[hidden]{display:none}
.study-computer-start-head{
 padding:13px;background:linear-gradient(#6bb6ff,#0757c4);
 color:#fff;display:flex;align-items:center;gap:8px;font-size:17px;
}
.game .window .study-computer-start-menu button{
 width:100%;text-align:left;border:0;border-radius:0;
 color:#2a4160;background:transparent;padding:12px 13px;font-size:14px;
}
.game .window .study-computer-start-menu button:hover{background:#dbe9fb}
.study-computer-window{
 position:absolute;inset:12px 13px 11px 123px;
 min-width:0;min-height:0;
 display:flex;flex-direction:column;
 color:#303f5e;background:#ecebdf;border:3px solid #0960c5;
 border-radius:7px 7px 3px 3px;
 box-shadow:4px 9px 21px #1b3a6970;overflow:hidden;
}
.study-computer-window-title{
 height:35px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;
 gap:7px;padding:5px 7px 5px 13px;
 color:#fff;font-weight:bold;font-size:14px;
 text-shadow:0 1px 2px #154278;
 background:linear-gradient(#60a9fd 0%,#206dd8 18%,#0758c7 78%,#126ddc);
}
.study-computer-window-controls{display:flex;gap:4px}
.game .window .study-computer-window-title button{
 border:1px solid #ffc8b8;border-radius:4px;padding:3px 10px;
 color:#fff;background:linear-gradient(#fcb19b,#d64c44);
 box-shadow:inset 0 1px 1px #fff8;
}
.game .window .study-computer-window-title button[data-pc-minimize]{
 background:linear-gradient(#88bff6,#3f87e0);border-color:#b1e2ff;
}
.study-computer-toolbar{
 display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:7px;
 background:linear-gradient(#fffefa,#e5e5da);border-bottom:1px solid #bababb;
}
.game .window .study-computer-toolbar > button{
 border:1px solid #bdc7cc;background:linear-gradient(#fff,#e0e1df);
 color:#34527b;padding:5px 9px;border-radius:3px;font-size:15px;
}
.game .window .study-computer-toolbar > button:disabled{
 opacity:.45;cursor:default;
}
.study-computer-address{
 display:flex;align-items:center;gap:6px;flex:1;min-width:140px;
}
.study-computer-address label{font-size:11px;color:#51565b}
.game .window .study-computer-address input{
 font:13px 'Nunito',sans-serif;background:white;
 min-width:60px;flex:1;width:auto;border:1px solid #9eb8ce;
 border-radius:1px;padding:6px 7px;color:#253c55;
}
.game .window .study-computer-address button{
 padding:6px 12px;color:#284c6b;font-size:12px;
 border:1px solid #9fb6c9;border-radius:2px;background:#f4f3ec;
}
.study-computer-bookmarks{
 flex-shrink:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;
 padding:5px 10px;background:#f1f2e8;
 border-bottom:1px solid #d3d5c9;
}
.game .window .study-computer-bookmarks button{
 border:0;background:transparent;padding:3px 6px;
 color:#3167a7;font-size:12px;
}
.study-computer-scale{margin-left:auto;color:#667486;font-size:11px}
.study-computer-notice{
 flex-shrink:0;min-height:24px;margin:0;padding:5px 10px;
 font-size:11px;line-height:1.3;color:#4a607d;
 background:#fffef5;border-bottom:1px solid #e2e2d6;
}
.study-computer-web{flex:1;min-height:110px;position:relative;overflow:hidden;background:#fff}
.study-computer-web iframe[data-pc-site-frame]{
 position:absolute;left:0;top:0;display:block;max-width:none;
 width:1360px;height:100%;border:0;background:#fff;transform-origin:0 0;
}
/* Modest original-looking explorer window for the early app shortcuts. */
.study-computer-folder-content{
 flex:1;padding:20px;background:linear-gradient(115deg,#fff,#e5f0ff);
 color:#435b86;
}
.study-computer-folder-content p{
 font-size:21px;margin:0 0 25px;color:#31578f;
}
.study-computer-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}
.game .window .study-computer-file-grid button{
 display:flex;flex-direction:column;align-items:center;gap:12px;
 border:1px solid #bad2ef;background:#fff;border-radius:4px;
 padding:18px 8px;font-size:28px;color:#2455a5;
}
.study-computer-file-grid strong{font-size:13px;font-weight:normal}
.study-computer-folder-content small{font-size:12px}
@media(max-width:680px){
 .game .modal.study-pc-open{padding:4px}
 .game .modal.study-pc-open .window{height:97dvh;max-height:97dvh;padding:5px;border-radius:10px}
 .study-computer-nav{top:10px;left:2px;width:72px;gap:3px}
 .game .window .study-computer-nav button{min-height:64px;font-size:10px;padding:3px 0}
 .study-computer-nav .xp-icon{font-size:22px;height:28px}
 .study-computer-window{inset:6px 5px 6px 78px}
 .study-computer-window-title{height:30px;font-size:11px;padding:4px}
 .study-computer-toolbar{gap:2px;padding:4px}
 .game .window .study-computer-toolbar > button{padding:3px 5px}
 .study-computer-address{width:100%;flex-basis:100%}
 .study-computer-address label{display:none}
 .game .window .study-computer-address input{font-size:12px;padding:5px}
 .study-computer-tray{min-width:70px;padding:0 4px;font-size:10px}
 .game .window .study-computer-start{min-width:72px;padding:2px 7px;font-size:13px}
 .game .window .study-computer-running{min-width:0;font-size:11px}
 .study-computer-scale{font-size:9px;margin-left:0}
 .study-computer-bookmarks{gap:3px;padding:4px}
 .study-computer-notice{font-size:10px}
 .study-computer-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .study-computer-folder-content{padding:10px}
}


/* Sugarplum Cottage styling: an XP-inspired keepsake in the same pastel world.
   The old desktop layout, Start menu and in-window browsing stay intact.
   Color, lighting, corner radii and sticker details match the 3D cottage. */
.study-computer{
 --sp-ink:#8d6c87;
 --sp-outline:#dfb9d0;
 --sp-rose:#f5d9e8;
 --sp-vanilla:#fff9f0;
 --sp-mint:#c8e4dc;
 --sp-lilac:#e6d9ef;
 border:3px double #e8bfd8;
 border-radius:14px;
 background:#f8e7f0;
 color:var(--sp-ink);
 font-family:'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
 box-shadow:inset 0 0 0 2px #fffdf8;
}
.game .modal.study-pc-open{
 background:#56466499;
 backdrop-filter:blur(9px);
 -webkit-backdrop-filter:blur(9px);
}
.game .modal.study-pc-open .window{
 background:#fff8f4;
 border:3px double #dfb1d3;
 border-radius:22px;
 box-shadow:0 20px 68px #62506c66,0 0 0 5px #fff8f055;
}
/* The remembered green hill becomes a soft pastel picture-book meadow. */
.study-computer-shell{
 background:
  radial-gradient(ellipse at 74% 23%,#fff9d7d9 0%,#fff9d700 15%),
  linear-gradient(180deg,#a6d6e9 0%,#c6e7ed 45%,#e5e6ee 74%,#f7e7ed 100%);
}
.study-computer-shell::before{
 background:
  radial-gradient(circle at 14% 28%,#fffaf29b 0 3px,transparent 4px),
  radial-gradient(circle at 42% 24%,#ffe6f3bc 0 3px,transparent 4px),
  radial-gradient(circle at 61% 42%,#fffaf2a8 0 3px,transparent 4px),
  linear-gradient(175deg,#d9e9c8 0%,#b7d7a7 32%,#96bf9a 75%,#8eb99a 100%);
 box-shadow:inset 0 13px 26px #fff7ea44;
}
.study-computer-shell::after{
 background:
  radial-gradient(circle at 16% 30%,#fff1cba0 0 2px,transparent 3px),
  radial-gradient(circle at 64% 34%,#fbd4e6a0 0 2px,transparent 3px),
  linear-gradient(175deg,#d1e6c2 0%,#aed2a6 52%,#91c19f 100%);
 opacity:.97;
}
.study-computer-cloud{
 opacity:.88;
 background:radial-gradient(ellipse,#fffaf5 17%,#fffaf5d5 66%,transparent 73%);
 filter:blur(3px);
}
.study-computer-cloud::before,.study-computer-cloud::after{
 background:#fffaf5;filter:blur(3px);
}
.study-computer-cloud.cloud-one{top:13%;left:22%}
.study-computer-cloud.cloud-two{top:26%;right:17%}
/* A few tiny blossoms make the meadow feel part of babyangel's world. */
.study-computer-desktop::before{
 content:'✿　♡　✿';
 position:absolute;left:28%;bottom:13%;z-index:1;
 color:#ffedf2;font:20px 'Fraunces',Georgia,serif;
 letter-spacing:14px;text-shadow:1px 2px 3px #8bb696a0;
 pointer-events:none;
}
/* Desktop icons are soft embroidered stickers, not harsh system symbols. */
.study-computer-nav{top:16px;left:10px;gap:9px}
.game .window .study-computer-nav button{
 color:#846681;
 border:1px solid transparent;
 border-radius:15px;
 background:#fffaf500;
 font-family:'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
 font-size:12px;font-weight:600;
 text-shadow:0 1px 1px #fffcf3;
}
.study-computer-nav .xp-icon{
 width:48px;height:47px;border-radius:14px;
 background:linear-gradient(150deg,#fffdfaee,#f5e1edf0);
 border:1px solid #f1cfdf;
 box-shadow:0 3px 0 #bd9eb635,0 3px 8px #6e789722;
 filter:none;
 font-size:27px;
}
.game .window .study-computer button:focus-visible,
.game .window .study-computer input:focus-visible{
 outline:2px solid #b886b8;outline-offset:2px;
}
/* Lavender-rose taskbar with the familiar Start shape. */
.study-computer-taskbar{
 height:43px;
 background:linear-gradient(180deg,#f8e7f1 0%,#edd2e3 18%,#dec4de 77%,#d7bed8);
 border-top:2px solid #fff6f2;
 box-shadow:inset 0 1px 2px #fffaf3,0 -2px 0 #d2acc54a;
 color:#805d7e;
 gap:7px;
}
.game .window .study-computer-start{
 min-width:108px;
 border:1px solid #98bfac;
 border-radius:0 16px 16px 0;
 background:linear-gradient(180deg,#e1f4e9,#bfe5d3 45%,#a9d0c2);
 color:#5d8c7e;text-shadow:0 1px 0 #fffdf7;
 font:italic 18px 'Fraunces',Georgia,serif;
 box-shadow:inset 0 2px 2px #fffdf9,2px 0 4px #b19aba44;
}
.game .window .study-computer-running{
 color:#856686;
 background:linear-gradient(#fff8fa,#e8d3e6);
 border:1px solid #dab8d3;
 box-shadow:inset 0 1px 0 #fffaf5;
 border-radius:10px;font-size:12px;
}
.study-computer-tray{
 color:#786582;
 background:linear-gradient(#f3e9f3,#d9d9eb);
 border-left:1px solid #fff9f6;
 box-shadow:inset 1px 0 0 #d2b8d9;
 border-radius:8px 0 0 8px;
}
.game .window .study-computer-power{
 border:1px solid #e3bfd3;
 background:#fff8f5;
 color:#99778b;border-radius:9px;
}
.study-computer-start-menu{
 background:#fffaf6;color:#926d88;
 border:2px solid #d7b3d1;
 box-shadow:5px 7px 17px #725b8266;
 border-radius:14px 14px 6px 6px;
}
.study-computer-start-head{
 color:#8d6585;
 background:linear-gradient(100deg,#f5d7e7,#e3e3f1,#d5ede6);
 border-bottom:1px solid #e9c7da;
}
.game .window .study-computer-start-menu button{
 color:#936b89;background:transparent;
 font-family:'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
}
.game .window .study-computer-start-menu button:hover{background:#f6e1ed}
/* Rounded pastel app windows, like little iced dollhouse panels. */
.study-computer-window{
 background:#fff9f2;color:#805f81;
 border:3px double #dab9d0;
 border-radius:16px 16px 12px 12px;
 box-shadow:4px 10px 25px #7f72834a,0 0 0 2px #fffdf8;
}
.study-computer-window-title{
 height:39px;
 color:#8c6584;text-shadow:0 1px 0 #fffaf8;
 background:linear-gradient(105deg,#f8deea,#eadcf0 55%,#daf0e8);
 border-bottom:1px solid #e4c5d9;
 font-family:'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
}
.study-computer-window-title > span::before{
 content:'୨ৎ ';color:#bd93b5;
}
.game .window .study-computer-window-title button{
 background:linear-gradient(#fffaf7,#f3d5e5);
 border:1px solid #deb8d1;
 color:#9f728e;border-radius:8px;
 box-shadow:inset 0 1px 0 #fffdf8;
}
.game .window .study-computer-window-title button[data-pc-minimize]{
 background:linear-gradient(#fffaf6,#dfedf0);
 border-color:#c7dbdd;
}
.study-computer-toolbar{
 background:linear-gradient(#fffdf8,#f8edf3);
 border-bottom:1px solid #e8d1e1;
}
.game .window .study-computer-toolbar > button{
 background:linear-gradient(#fffdf9,#f3e4ee);
 border:1px solid #e1c6d8;
 border-radius:9px;color:#96738d;
}
.study-computer-address label{color:#99758f}
.game .window .study-computer-address input{
 color:#8c6885;
 border:1px solid #dfc3d8;
 background:#fffefb;border-radius:8px;
 font-family:'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
}
.game .window .study-computer-address button{
 color:#936c8b;border:1px solid #dec3d8;
 border-radius:9px;background:#f8e1ed;
}
.study-computer-bookmarks{
 background:#fffaf6;border-bottom:1px dashed #e6bfd9;
}
.game .window .study-computer-bookmarks button{
 color:#a4759a;
 font-family:'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
}
.study-computer-scale{color:#a28b9e}
.study-computer-notice{
 color:#977891;background:#fffaf7;
 border-bottom:1px solid #ecd6e4;
}
.study-computer-folder-content{
 background:linear-gradient(145deg,#fffdf9,#f8eaf4);
 color:#93758c;
}
.study-computer-folder-content p{color:#9b7195}
.game .window .study-computer-file-grid button{
 background:#fffdf9;border:1px solid #ead1e3;
 color:#9b7292;border-radius:13px;
 box-shadow:0 3px 0 #e5d2e54d;
}
.study-computer-folder-content small{color:#9f8b9d}
@media(max-width:680px){
 .study-computer-nav{top:8px;left:2px;gap:5px}
 .study-computer-nav .xp-icon{width:38px;height:37px;font-size:22px}
 .game .window .study-computer-nav button{font-size:10px;min-height:67px}
 .study-computer-taskbar{height:40px}
 .game .window .study-computer-start{min-width:75px;font-size:14px}
 .study-computer-window-title{height:32px}
 .study-computer-desktop::before{left:19%;bottom:19%;font-size:14px}
}



/* Dreamgle: a fictional search toy and a tiny illustrated newspaper. */
.study-computer-shell{overflow:clip}
.study-computer-address[data-pc-location]{flex:1;min-width:0;padding:6px 9px;color:#805f81;background:#fffdf9;border:1px solid #dfc3d8;border-radius:9px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.study-computer-web.is-pretend{overflow:auto;overscroll-behavior:contain;background:#fffdf9;color:#795873;scrollbar-color:#dac4d7 #fff9f5}
.study-computer-web.is-pretend img{display:block;max-width:100%;object-fit:contain}
.study-computer-web.is-pretend p{margin:0;font:inherit;line-height:1.65}
.study-computer-web.is-pretend h1,.study-computer-web.is-pretend h2,.study-computer-web.is-pretend h3{margin:0;color:inherit}
.game .window .study-computer .study-computer-web button{font:inherit;letter-spacing:normal;text-shadow:none;box-shadow:none;white-space:normal;margin:0}
.sp-search-home,.sp-search-results{font:13px/1.5 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;padding:22px 30px 28px;min-height:100%}
.sp-search-home{background:radial-gradient(ellipse at 50% 40%,#faeef5a0,transparent 55%);text-align:center}
.sp-search-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#96768b}
.game .window .study-computer .sp-search-topline button{background:none;border:0;color:#94728b;padding:3px;text-decoration:underline;text-underline-offset:3px}
.sp-search-welcome{position:relative;width:min(100%,540px);margin:36px auto 22px}
.sp-search-mascot{height:65px;width:65px;margin:0 auto 10px;image-rendering:auto}
.sp-search-logo{font:bold clamp(38px,5vw,62px)/1.1 'Fraunces',Georgia,serif;letter-spacing:-3px;white-space:nowrap;color:#af83ad}
.sp-search-logo span:nth-child(4n+1){color:#91b4cf}.sp-search-logo span:nth-child(4n+2){color:#c58eac}.sp-search-logo span:nth-child(4n+3){color:#cbb26b}.sp-search-logo span:nth-child(4n){color:#91b9a1}
.sp-search-logo sup{font:18px 'Fraunces',Georgia,serif;margin-left:5px;color:#c6a8c7;vertical-align:top;letter-spacing:0}
.study-computer-web .sp-search-welcome>p{font:italic 14px 'Fraunces',Georgia,serif;margin-top:10px;color:#a28499}
.sp-search-form{display:flex;align-items:center;gap:9px;max-width:580px;margin:0 auto;background:#fff;border:1px solid #dac5d5;border-radius:25px;padding:5px 6px 5px 15px;box-shadow:0 3px 10px #c9aac020;min-width:0;text-align:left}
.sp-search-form:focus-within{border-color:#b892b1;box-shadow:0 2px 12px #bf9fbb33}
.sp-search-form>span{font:24px 'Fraunces',Georgia,serif;color:#a591a5}
.game .window .study-computer .sp-search-form input{min-width:0;width:100%;flex:1;background:transparent;color:#795873;border:0;border-radius:0;padding:7px 0;font:14px/1.3 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;box-shadow:none}
.game .window .study-computer .sp-search-form input::placeholder{color:#a18c9b;font-size:12px;opacity:1}
.game .window .study-computer .sp-search-form button{flex:none;border:1px solid #e6d2df;border-radius:20px;background:#f6eaf2;color:#86647f;padding:8px 12px;font-size:12px}
.sp-search-actions{margin:14px 0 23px}
.game .window .study-computer .sp-search-actions button{border:1px solid #e7d9e2;background:#faf3f7;color:#94718d;border-radius:7px;padding:8px 16px;font-size:12px}
.sp-search-suggestions{max-width:500px;margin:0 auto;text-align:left;border:1px solid #eadbe5;border-radius:14px;background:#fffdfbcc;padding:12px 15px}
.sp-search-suggestions h3{font:italic 13px 'Fraunces',Georgia,serif;margin:0 0 8px!important;color:#a28499}
.game .window .study-computer .sp-search-suggestions button,.game .window .study-computer .sp-search-related button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:6px;padding:7px 3px;color:#886e86;font-size:12px}
.game .window .study-computer .study-computer-web button:hover{filter:none;background-color:#f7eaf3}
.study-computer-web .sp-search-footnote{margin:20px auto 0;font-size:10px;max-width:490px;color:#967f91;line-height:1.7}
.sp-search-heading{display:flex;align-items:center;gap:24px;margin-bottom:17px}
.sp-search-logo.is-small{font-size:28px;letter-spacing:-1.5px}.sp-search-logo.is-small sup{font-size:12px}
.sp-search-heading .sp-search-form{flex:1;margin:0;max-width:620px}
.sp-search-tabs{display:flex;gap:17px;border-bottom:1px solid #eadce6;margin:0 0 12px}
.game .window .study-computer .sp-search-tab{padding:6px 1px 9px;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:#9c8495;font-size:12px}
.game .window .study-computer .sp-search-tab.is-active{color:#94628d;border-bottom-color:#ba8ab2}
.study-computer-web .sp-search-count{font-size:10px;color:#a18b9b;margin-bottom:20px}
.sp-search-result{display:flex;gap:17px;max-width:700px;margin:0 0 24px;align-items:flex-start}
.sp-search-result>div{min-width:0;flex:1}
.sp-search-thumb{width:77px;height:77px;flex:0 0 77px;border:1px solid #f0e3eb;border-radius:13px;padding:5px;background:#faf3f8}
.sp-search-result small{display:block;color:#968391;font-size:10px;margin:0 0 3px}
.game .window .study-computer .sp-search-link{display:block;background:none;border:0;padding:0;text-align:left;color:#966293;border-radius:0;font-size:17px;line-height:1.35;text-decoration:none;overflow-wrap:anywhere}
.game .window .study-computer .sp-search-link:hover{text-decoration:underline;background:none}
.study-computer-web .sp-search-result p{font-size:12px;color:#887280;line-height:1.65;margin-top:5px}
.game .window .study-computer .sp-search-inline{border:0;background:none;color:#a16f94;padding:5px 0 0;text-align:left;font-size:11px}
.sp-search-related{border-top:1px dashed #e3cddd;padding-top:16px;max-width:560px}
.sp-search-related h3{font:italic 16px 'Fraunces',Georgia,serif;color:#9e7d96;margin-bottom:5px!important}
.sp-search-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:13px;margin:18px 0 25px}
.game .window .study-computer .sp-search-image-grid button{display:flex;flex-direction:column;align-items:stretch;gap:8px;background:#fffaf8;border:1px solid #ead9e5;border-radius:13px;padding:10px;text-align:left;color:#886c80;min-width:0;font-size:11px}
.sp-search-image-grid img{width:100%;height:125px;background:#faf3f8;border-radius:8px}
.sp-search-image-grid small{font-size:9px;color:#a0889a}
.sp-news-page{font:14px/1.7 'Fraunces',Georgia,serif;background:linear-gradient(90deg,#f6eee51a,transparent 30%,#f6eee51a),#fffaf1;min-height:100%;padding:20px 28px 30px;color:#80657a}
.sp-news-masthead{border-top:3px double #cdb2c4;border-bottom:3px double #cdb2c4;text-align:center;padding:10px 0;max-width:760px;margin:0 auto}
.study-computer-web .sp-news-masthead>p{font:9px 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;letter-spacing:1.4px;color:#a08a98}
.study-computer-web .sp-news-masthead h2{font:clamp(27px,4vw,40px)/1.4 'Fraunces',Georgia,serif;color:#96718c}
.sp-news-masthead>div{display:flex;justify-content:space-between;gap:10px;font:10px 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;padding-top:5px;border-top:1px solid #e4d4dc;margin-top:5px}
.sp-news-content{max-width:660px;margin:0 auto;padding-top:20px}
.study-computer-web .sp-news-fiction{font:10px 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;color:#a08899;margin-bottom:8px}
.study-computer-web .sp-news-content h1{font:clamp(23px,3vw,32px)/1.3 'Fraunces',Georgia,serif;color:#8e6482;text-wrap:balance;overflow-wrap:anywhere}
.study-computer-web .sp-news-intro{font:italic 16px/1.7 'Fraunces',Georgia,serif;margin:16px 0 20px}
.sp-news-content figure{background:#f9edf3;border:1px solid #e7d2df;border-radius:5px;margin:0 0 23px;padding:15px;text-align:center}
.sp-news-content figure img{max-height:220px;max-width:100%;margin:auto;object-fit:contain}
.sp-news-content figcaption{margin:12px auto 0;max-width:480px;color:#9b8294;font:italic 11px/1.5 'Fraunces',Georgia,serif}
.study-computer-web .sp-news-copy p{font:15px/1.85 'Fraunces',Georgia,serif;margin-bottom:18px}
.sp-news-related{margin-top:25px;padding:16px 0;border-top:1px dashed #d9bdce;border-bottom:1px dashed #d9bdce}
.sp-news-related h3{font:italic 17px 'Fraunces',Georgia,serif;margin-bottom:10px!important}
.game .window .study-computer .sp-news-related button{display:block;width:100%;border:0;background:none;text-align:left;color:#996e90;font:13px/1.5 'Fraunces',Georgia,serif;padding:6px 0}
.game .window .study-computer .sp-news-related button:before{content:'↳ ';color:#ba93b0}
.game .window .study-computer .sp-news-visit,.game .window .study-computer .sp-news-back{padding:9px 15px;background:#f7e7ef;color:#936a89;border:1px solid #dcbcd1;border-radius:9px;font-size:12px;margin:15px 0 0}
@media(max-width:680px){
 .study-computer-window.study-computer-browser{left:5px;z-index:4}
 .study-computer-notice{min-height:0;font-size:9px;padding:5px 7px}
 .sp-search-home,.sp-search-results{padding:16px 14px 23px}
 .sp-search-welcome{margin:25px auto 18px}.sp-search-logo{font-size:43px}.sp-search-mascot{height:53px;width:53px}
 .sp-search-topline{font-size:9px;gap:5px}.game .window .study-computer .sp-search-topline button{font-size:9px}
 .sp-search-heading{display:block}.sp-search-logo.is-small{margin-bottom:13px}
 .game .window .study-computer .sp-search-form input{font-size:13px}.game .window .study-computer .sp-search-form button{padding:8px;font-size:10px}
 .sp-search-thumb{width:57px;height:57px;flex-basis:57px}.sp-search-result{gap:10px}.game .window .study-computer .sp-search-link{font-size:15px}
 .sp-news-page{padding:16px 14px 24px}.sp-news-content figure img{max-height:170px}
 .sp-search-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sp-search-image-grid img{height:95px}
}

/* My Computer keepsakes: cartoon album and the cottage music collection. */
.study-computer-files .sp-folder-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;font:13px/1.5 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif}
.sp-folder-toolbar{flex-shrink:0;display:flex;align-items:center;gap:15px;padding:8px 13px;background:#fff9f6;border-bottom:1px dashed #e2c7d9;font-size:12px;color:#a08098}
.game .window .study-computer .sp-folder-toolbar button,.game .window .study-computer .sp-photo-viewer button{background:#f7e5f0;color:#91688a;border:1px solid #ddbdd4;border-radius:9px;padding:6px 11px;font-size:12px}
.study-computer-file-grid small{font-size:10px;line-height:1.4}
.sp-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px}
.game .window .study-computer .sp-photo-grid button{display:flex;flex-direction:column;gap:8px;text-align:center;padding:10px;background:#fffdf8;border:1px solid #e8d1e2;border-radius:13px;color:#956e8d;min-width:0;font:11px/1.4 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;box-shadow:0 3px 0 #ddc2d52a}
.sp-photo-grid img{display:block;width:100%;height:115px;object-fit:contain;background:#fbf0f6;border-radius:8px}
.sp-photo-viewer{text-align:center;display:flex;flex-direction:column;min-height:100%;justify-content:center;gap:17px}
.sp-photo-viewer>img{display:block;max-height:310px;max-width:100%;object-fit:contain;margin:0 auto;background:#fff9fc;border:1px solid #ead8e4;border-radius:14px;padding:14px}
.sp-photo-viewer>p{font:13px/1.5 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;margin:0;color:#946d8c}
.sp-photo-viewer>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px}
.sp-music-header{display:flex;align-items:center;gap:19px;border-bottom:1px dashed #dfc4d8;padding-bottom:17px;margin-bottom:18px}
.sp-music-header img{width:82px;height:82px;object-fit:contain;border:1px solid #ebd8e5;border-radius:15px;background:#fffaf8}
.study-computer-folder-content .sp-music-header p{font:20px/1.3 'Fraunces',Georgia,serif;margin:0 0 8px;color:#9a7193}
.sp-music-header small{font-size:11px}
.sp-music-list{display:grid;gap:12px}
.sp-music-track{background:#fffdf9;border:1px solid #e7cfe0;border-radius:13px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.sp-music-track>div{display:flex;align-items:center;gap:11px;min-width:0;flex:1 1 180px}
.sp-music-track>div>span{font-size:29px;color:#b88caf}
.sp-music-track h3{font:14px/1.4 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;color:#926c8c;margin:0 0 3px}
.sp-music-track small{font-size:10px;color:#ac8fa3}
.sp-music-track audio{height:35px;width:245px;max-width:100%;accent-color:#b78dab;flex:1 1 200px}
@media(max-width:680px){
 .study-computer-window.study-computer-files{left:5px;z-index:4}
 .sp-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .sp-photo-grid img{height:94px}.sp-photo-viewer>img{max-height:240px}
 .sp-music-header{gap:10px}.sp-music-header img{width:60px;height:60px}
 .study-computer-folder-content .sp-music-header p{font-size:17px}.sp-music-track{padding:10px}
}


/* A sleeping cottage sky, drawn entirely in CSS. */
.study-computer{position:relative}
.sp-power-screen{position:absolute;inset:0;z-index:40;display:grid;place-items:center;overflow:hidden;color:#856d91;text-align:center;isolation:isolate}
.sp-power-sleep{background:radial-gradient(ellipse at 78% 22%,#f9eaccaa,transparent 28%),linear-gradient(150deg,#d6d3eb,#ead8e8 56%,#d5e9e9)}
.sp-sleep-sky{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.sp-sleep-sky>span{position:absolute;color:#fffaf1;text-shadow:0 0 12px #fff7de;font:27px 'Fraunces',Georgia,serif;animation:sp-sleep-twinkle 4s ease-in-out infinite alternate}
.sp-sleep-sky>span:nth-child(1){top:15%;left:16%}.sp-sleep-sky>span:nth-child(2){top:25%;right:23%;font-size:36px;animation-delay:-1s}.sp-sleep-sky>span:nth-child(3){bottom:22%;left:28%;font-size:18px;animation-delay:-2s}.sp-sleep-sky>span:nth-child(4){bottom:16%;right:19%;font-size:22px;animation-delay:-.5s}.sp-sleep-sky>span:nth-child(5){top:40%;left:7%;font-size:17px;animation-delay:-3s}
.sp-sleep-moon{position:absolute;top:10%;right:12%;width:73px;height:73px;border-radius:50%;background:#fff8da;box-shadow:0 0 0 15px #fff7de20,0 0 45px #fff5df88}
.sp-sleep-moon:after{content:'';position:absolute;top:-5px;left:-10px;width:63px;height:63px;border-radius:50%;background:#e5dce7}
.sp-sleep-cloud{position:absolute;width:180px;height:42px;border-radius:50%;background:#fffaf5aa;filter:blur(2px);animation:sp-sleep-drift 18s ease-in-out infinite alternate}
.sp-sleep-cloud:before,.sp-sleep-cloud:after{content:'';position:absolute;background:inherit;border-radius:50%}.sp-sleep-cloud:before{width:82px;height:61px;left:29px;bottom:9px}.sp-sleep-cloud:after{width:72px;height:47px;right:19px;bottom:5px}
.sp-sleep-cloud-one{left:4%;bottom:22%}.sp-sleep-cloud-two{right:-3%;top:36%;transform:scale(.8);animation-delay:-8s}
.sp-sleep-card{position:relative;z-index:1;padding:25px 35px;max-width:90%;border:1px solid #fff8f2a8;border-radius:30px;background:#fffaf42e;box-shadow:0 12px 55px #8a73922b;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.game .window .study-computer .sp-sleep-card p{margin:0 0 7px;font:italic 17px/1.4 'Fraunces',Georgia,serif;color:#967c9c}.sp-sleep-card time{display:block;font:clamp(45px,7vw,76px)/1.2 'Fraunces',Georgia,serif;color:#856d91;letter-spacing:-2px;text-shadow:0 2px 1px #fffaf466}
.game .window .study-computer .sp-sleep-card .sp-sleep-date{font:12px/1.5 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;letter-spacing:1px;margin:8px 0 17px;color:#9b839f}
.sp-sleep-bunny{font-size:31px;margin:15px 0 19px;animation:sp-sleep-float 5s ease-in-out infinite alternate}
.game .window .study-computer .sp-sleep-card button{background:#fff7f0bb;color:#957898;border:1px solid #d9bfd7;border-radius:20px;padding:9px 23px;font:13px 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;box-shadow:0 3px 0 #b99cbb1a}
.sp-sleep-card small{display:block;margin-top:13px;font:10px 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;color:#a18aa4}
.sp-power-restart{background:linear-gradient(140deg,#f8e5ee,#e2e6f0 60%,#d9ece6)}
.sp-power-shutdown{background:radial-gradient(ellipse at center,#4d435a,#292538);color:#f2deee}
.sp-power-message{padding:24px;max-width:95%}.sp-power-message>span{font-size:42px;display:block;margin-bottom:15px}
.game .window .study-computer .sp-power-message h2{font:29px/1.3 'Fraunces',Georgia,serif;margin:0 0 11px;color:inherit}.game .window .study-computer .sp-power-message p{font:13px/1.5 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;margin:0;color:inherit;opacity:.75}
.sp-boot-dots{display:flex;justify-content:center;gap:7px;margin-top:23px}.sp-boot-dots i{width:7px;height:7px;background:#bb94b4;border-radius:50%;animation:sp-sleep-twinkle .6s infinite alternate}.sp-boot-dots i:nth-child(2){animation-delay:.2s}.sp-boot-dots i:nth-child(3){animation-delay:.4s}
@keyframes sp-sleep-twinkle{from{opacity:.4}to{opacity:1}}@keyframes sp-sleep-drift{from{translate:-12px 0}to{translate:30px -9px}}@keyframes sp-sleep-float{from{translate:0 0}to{translate:0 -7px}}
@media(max-width:680px){.sp-sleep-card{padding:23px 20px;border-radius:24px}.sp-sleep-card time{font-size:49px}.sp-sleep-moon{width:52px;height:52px}.sp-sleep-moon:after{width:45px;height:45px}.sp-sleep-cloud{width:130px}.game .window .study-computer .sp-power-message h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.sp-sleep-sky>span,.sp-sleep-cloud,.sp-sleep-bunny,.sp-boot-dots i{animation:none}}

.sp-power-options{border-top:1px dashed #ddc2d8;margin-top:5px;padding-top:5px}


/* Dreamcloud: a fictional website in Sugarplum's curated address book. */
.study-computer-address.sp-url-picker{
 display:flex;align-items:center;gap:8px;min-width:0;flex:1;
 border:1px solid #dfc3d8;border-radius:9px;background:#fffdf9;
 padding:2px 7px;color:#b78cae;box-shadow:inset 0 1px 3px #edd8e666;
}
.sp-url-picker>span{font:18px 'Fraunces',Georgia,serif;flex:none}
.game .window .study-computer .sp-url-picker select{
 display:block;flex:1;min-width:0;width:100%;padding:5px 20px 5px 2px;
 border:0;background:transparent;color:#805f81;font:11px/1.4 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
 box-shadow:none;cursor:pointer;outline-offset:2px;appearance:auto;
}
.game .window .study-computer .sp-url-picker select:focus-visible{outline:2px solid #d5a9c6}
.sp-dreamcloud{
 position:relative;isolation:isolate;min-height:100%;padding:24px clamp(16px,4vw,40px) 28px;
 background:radial-gradient(ellipse at 50% -5%,#e4eafd 0%,transparent 50%),
 linear-gradient(155deg,#fbf5f9,#f6edf6 55%,#e9eff7);
 color:#8e708e;font:13px/1.6 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;
}
.sp-dreamcloud-stars{
 position:absolute;inset:10px 0 auto;text-align:center;letter-spacing:25px;
 white-space:nowrap;overflow:hidden;color:#d4b4ce;opacity:.85;pointer-events:none;
}
.sp-dreamcloud-header{position:relative;text-align:center;max-width:740px;margin:0 auto 22px;padding:0 0 6px}
.sp-dreamcloud-mark{width:59px;height:56px;margin:0 auto 4px;display:grid;place-items:center;
 font-size:35px;filter:drop-shadow(0 4px 5px #d5bfdbaa)}
.sp-dreamcloud-header small{display:block;color:#ab8da7;letter-spacing:1.5px;font-size:10px}
.sp-dreamcloud-header h1{margin:1px 0 4px!important;font:italic clamp(36px,5vw,52px)/1.2 'Fraunces',Georgia,serif;
 letter-spacing:-1px;color:#ae86ac;text-shadow:0 2px 0 #fff}
.sp-dreamcloud-header h1 span{font-size:24px;color:#9eb6c8}
.study-computer-web .sp-dreamcloud-header p{font:italic 13px/1.5 'Fraunces',Georgia,serif;color:#9b839b}
.sp-dreamcloud-card{position:relative;max-width:700px;margin:0 auto;padding:16px;
 border:1px solid #e4cbdc;border-radius:20px;background:#fffdfbe8;
 box-shadow:0 12px 32px #b995b51f,0 3px 0 #e6d2e14d}
.sp-dreamcloud-card-head{display:flex;align-items:center;gap:12px;padding:2px 5px 12px;border-bottom:1px dashed #ead9e6;margin-bottom:14px}
.sp-dreamcloud-card-head>span:first-child{width:46px;height:46px;display:grid;place-items:center;border:1px solid #e9d8e5;
 border-radius:14px;background:#fbf1f5;font-size:27px}
.sp-dreamcloud-card-head>div{flex:1;min-width:0}
.sp-dreamcloud-card-head strong{display:block;font:italic 19px/1.4 'Fraunces',Georgia,serif;color:#a17c9c}
.sp-dreamcloud-card-head small{display:block;color:#a992a4;font-size:10px}
.sp-dreamcloud-sparkles{font-size:15px;color:#cda9c1}
.study-computer-web .sp-dreamcloud-player{
 display:block;position:static;width:100%;height:390px;border:0;
 max-width:100%;transform:none;background:#fffaf9;border-radius:12px;
}
.study-computer-web .sp-dreamcloud-note{font:italic 12px/1.5 'Fraunces',Georgia,serif;color:#a0839f;text-align:center;margin:14px 0 2px}
.sp-dreamcloud-footer{max-width:700px;margin:18px auto 0;display:flex;justify-content:space-between;align-items:center;
 gap:12px;flex-wrap:wrap;font:11px/1.5 'Nunito',ui-rounded,'Trebuchet MS',Arial,sans-serif;color:#a38ca4}
.game .window .study-computer .sp-dreamcloud-footer button{
 padding:7px 12px;background:#fff7fb;border:1px solid #e0c7da;color:#946d91;border-radius:20px;font-size:12px;
}
@media(max-width:680px){
 .sp-dreamcloud{padding:18px 10px 23px}
 .sp-dreamcloud-stars{letter-spacing:8px}
 .sp-dreamcloud-header h1{font-size:35px}
 .sp-dreamcloud-card{padding:10px;border-radius:13px}
 .sp-dreamcloud-card-head strong{font-size:16px}
 .study-computer-web .sp-dreamcloud-player{height:360px}
 .sp-dreamcloud-sparkles{display:none}
}

/* Sugarplum virtual desktop window and file explorer */
.study-computer-window[hidden]{display:none!important}
.study-computer-window.is-maximized{inset:3px!important}
.study-computer-window-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game .window .study-computer-window-controls button{min-width:30px;padding:3px 7px;line-height:1}
.game .window .study-computer-window-controls button[data-pc-maximize]{background:#f7e9f5;border-color:#d8c5e2}
.study-computer-folder-content.sp-folder-scroll{overflow:auto;min-height:0;overscroll-behavior:contain}
.sp-explorer-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:6px 0 13px;border-bottom:1px dashed #e5cadd;margin-bottom:13px;font-size:12px}
.sp-explorer-toolbar strong{margin-right:auto;color:#916b8e;font-size:14px}
.game .window .study-computer .sp-explorer-toolbar button,.game .window .study-computer .sp-file-dialog button{background:#fff5fa;border:1px solid #dfc2d5;border-radius:9px;padding:6px 10px;color:#8e6b87;font:700 12px 'Nunito',sans-serif}
.sp-explorer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:0 0 18px}
.sp-explorer-places{grid-template-columns:repeat(3,minmax(0,1fr))}
.sp-explorer-tile{position:relative;min-width:0;border:1px solid #ebd1e2;border-radius:14px;background:#fffdfa;padding:7px 7px 32px}
.game .window .study-computer .sp-explorer-open{display:flex;width:100%;min-height:110px;flex-direction:column;gap:5px;align-items:center;padding:0;background:transparent;border:0;color:#916d8a;font:600 12px/1.4 'Nunito',sans-serif}
.sp-explorer-open img,.sp-explorer-trashed img{width:100%;height:85px;object-fit:contain;border-radius:8px;background:#faeff7}
.sp-explorer-open span:last-child,.sp-explorer-trashed span:last-child{overflow-wrap:anywhere}
.sp-explorer-icon{display:grid;place-items:center;font-size:51px;height:85px}
.sp-explorer-trashed{display:flex;flex-direction:column;align-items:center;text-align:center;opacity:.7;min-height:110px;font-size:12px}
.sp-explorer-menu{position:absolute;right:8px;bottom:5px;z-index:2}
.sp-explorer-menu[open]{z-index:15}
.sp-explorer-menu summary{display:grid;place-items:center;list-style:none;cursor:pointer;min-width:29px;min-height:24px;background:#f9e5ef;border:1px solid #e5c4d6;border-radius:8px;color:#96728d}
.sp-explorer-menu summary::-webkit-details-marker{display:none}
.sp-explorer-menu>div{position:absolute;right:0;top:100%;width:160px;display:grid;gap:2px;background:#fffafa;border:1px solid #e3bbd3;border-radius:10px;padding:6px;box-shadow:0 8px 22px #886d864f}
.game .window .study-computer .sp-explorer-menu button{display:block;width:100%;padding:7px 6px;text-align:left;border:0;border-radius:5px;background:#fffafc;color:#886b84;font:600 11px 'Nunito',sans-serif}
.game .window .study-computer .sp-explorer-menu button:hover{background:#f5e1ef}
.game .window .study-computer .sp-explorer-place{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#fffdf9;border:1px solid #e4cfe0;border-radius:12px;padding:8px;color:#916c8b;font:700 12px 'Nunito',sans-serif}
.sp-explorer-place span{font-size:28px}
.sp-explorer-empty{padding:28px 10px;text-align:center;color:#a17d99!important;font:italic 16px 'Fraunces',Georgia,serif!important}
.sp-explorer-info{font:11px/1.5 'Nunito',sans-serif!important;color:#a3889e!important;margin:12px 0 0!important}
.sp-file-dialog{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:12px;background:#33223f80}
.sp-file-dialog form{width:min(350px,100%);max-height:90%;overflow:auto;background:#fffaf8;border:2px solid #e5c2d8;border-radius:16px;padding:17px;color:#886782;box-shadow:0 15px 30px #71576b66}
.sp-file-dialog h3{margin:0 0 10px;font:600 20px 'Fraunces',Georgia,serif;color:#8f708b}
.sp-file-dialog p{font:13px/1.5 'Nunito',sans-serif}
.sp-file-dialog label{font:700 12px 'Nunito',sans-serif}
.game .window .study-computer .sp-file-dialog input,.game .window .study-computer .sp-file-dialog select{display:block;width:100%;min-width:0;margin:7px 0 0;background:#fff;border:1px solid #dfbfd3;border-radius:9px;padding:8px;font:13px 'Nunito',sans-serif;color:#7e5b79}
.sp-file-dialog form>div:last-child{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.sp-file-dialog-error{margin:6px 0;color:#b15b7b!important}
@media(max-width:680px){.study-computer-window.is-maximized{inset:2px!important}.sp-explorer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sp-explorer-places{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-explorer-open img,.sp-explorer-trashed img,.sp-explorer-icon{height:65px}.game .window .study-computer-window-controls button{min-width:26px;padding:3px}}

/* Pink folders, media files and the Neverland.exe shortcut in Sugarplum OS. */
.sp-pink-folder{
  display:block;position:relative;width:57px;height:41px;
  border:2px solid #cc87ac;border-radius:6px 8px 8px 8px;
  background:linear-gradient(135deg,#ffe4f0 0%,#f6b5d3 56%,#eaa0c7 100%);
  box-shadow:inset 0 3px 0 #ffeff8,0 5px 8px #c68eab42;
  transform:translateY(5px);
}
.sp-pink-folder::before{
  content:"";position:absolute;left:-2px;top:-11px;width:26px;height:11px;
  border:2px solid #cc87ac;border-bottom:0;border-radius:6px 7px 0 0;
  background:#f9c6de;
}
.sp-pink-folder::after{
  content:"";position:absolute;left:5px;right:5px;bottom:5px;height:17px;
  border-radius:4px;background:#fff4f8a0;
  box-shadow:inset 0 1px 0 #fff;
}
.sp-explorer-icon{display:grid;place-items:center}
.sp-explorer-places .sp-explorer-place{
  min-height:111px;display:flex;flex-direction:column;gap:12px;
  justify-content:center;align-items:center;
  background:linear-gradient(160deg,#fffdfb,#fff1f8);
  border-color:#ebc7dc;color:#9c648b;
}
.sp-explorer-places .sp-explorer-place .sp-explorer-icon{height:58px;width:75px;font-size:inherit}
.sp-explorer-places .sp-explorer-place>span:last-child{font:800 13px/1.35 'Nunito',sans-serif}
.sp-explorer-places .sp-pink-folder{width:55px;height:39px}
.sp-audio-file-icon,.sp-exe-icon{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:74px;height:84px;gap:2px;margin:0 auto;
  color:#aa689c;font:700 38px/1 'Nunito',sans-serif;
  background:#ffeaf5;border:1px solid #e5bfd8;border-radius:13px;
}
.sp-audio-file-icon small,.sp-exe-icon small{
  font:800 10px/1.3 'Nunito',sans-serif;letter-spacing:.07em;color:#9f7296;
}
.sp-exe-icon{background:linear-gradient(#ffeff8,#f3e5fb);font-size:35px}
.sp-exe-icon small{font-size:10px}
.sp-exe-tile{padding-bottom:7px}
.sp-audio-actions{margin-top:17px;display:flex;gap:9px;flex-wrap:wrap}
.game .window .study-computer .sp-audio-actions button{
  border:1px solid #e4c1d6;background:#fff5fa;border-radius:9px;
  color:#926b8a;padding:7px 12px;font:700 12px 'Nunito',sans-serif;
}
@media(max-width:680px){
 .sp-explorer-places .sp-explorer-place{min-height:88px;padding:7px 3px}
 .sp-explorer-places .sp-explorer-place .sp-explorer-icon{height:47px;width:100%}
 .sp-explorer-places .sp-pink-folder{transform:translateY(4px) scale(.78)}
 .sp-explorer-places .sp-explorer-place>span:last-child{font-size:11px}
 .sp-audio-file-icon,.sp-exe-icon{height:65px;width:62px;font-size:30px}
}

/* Finder-style file layout: icons sit directly on the desktop, without cards. */
.study-computer-folder-content .sp-explorer-grid{
  grid-template-columns:repeat(auto-fill,minmax(116px,132px));
  justify-content:start;align-items:start;
  gap:18px 20px;
}
.study-computer-folder-content .sp-explorer-places{
  grid-template-columns:repeat(auto-fill,minmax(116px,132px));
}
.game .window .study-computer .sp-explorer-places .sp-explorer-place{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  min-height:112px;gap:8px;padding:12px 7px 8px;
  background:transparent;border:1px solid transparent;border-radius:11px;
  box-shadow:none;color:#8c6383;
  transition:background-color .15s,border-color .15s;
}
.study-computer-folder-content .sp-explorer-tile{
  padding:9px 5px 31px;
  background:transparent;border:1px solid transparent;border-radius:11px;
  box-shadow:none;
  transition:background-color .15s,border-color .15s;
}
.game .window .study-computer .sp-explorer-places .sp-explorer-place:hover,
.game .window .study-computer .sp-explorer-places .sp-explorer-place:focus-visible,
.study-computer-folder-content .sp-explorer-tile:hover,
.study-computer-folder-content .sp-explorer-tile:focus-within{
  background:#f9e6f187;border-color:#e6c4d884;
}
.game .window .study-computer .sp-explorer-open{
  min-height:100px;
}
.study-computer-folder-content .sp-explorer-places .sp-explorer-place .sp-explorer-icon{
  height:59px;
}
@media(max-width:680px){
  .study-computer-folder-content .sp-explorer-grid,
  .study-computer-folder-content .sp-explorer-places{
    grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:9px;
  }
  .game .window .study-computer .sp-explorer-places .sp-explorer-place{
    min-height:95px;padding:8px 3px 6px;
  }
}

/* Character folders retain their transparent edges, without Finder cards. */
.sp-explorer-icon img.sp-character-folder{width:88px;height:80px;object-fit:contain;background:transparent;border-radius:0}
.sp-creative{color:#805f7b;font:13px/1.5 'Nunito',sans-serif}
.sp-creative-toolbar,.sp-creative-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px;padding:8px;background:#f9eaf5;border:1px solid #e4c9dc;border-radius:9px}
.sp-creative label{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.game .window .study-computer .sp-creative button,.game .window .study-computer .sp-save-gif{font:12px 'Nunito',sans-serif;color:#805f7b;background:#fff6fb;border:1px solid #dbbdd3;border-radius:7px;padding:6px 9px}
.sp-creative button[aria-pressed=true]{background:#ecc9e2!important;box-shadow:inset 0 1px 3px #ae80a4}
.game .window .study-computer .sp-creative input,.game .window .study-computer .sp-creative select{width:auto;max-width:190px;min-width:0;color:#765870;background:#fff;border:1px solid #ddc3d7;padding:4px;font:12px 'Nunito',sans-serif}
.sp-creative input[type=color]{height:29px;width:40px!important;padding:1px!important}
.sp-creative-paper{overflow:auto;background:#e9dde6;padding:12px;border-radius:8px}
.sp-creative canvas{display:block;width:800px;max-width:100%;height:auto;background:white;touch-action:none;box-shadow:0 2px 6px #99748b33}
.sp-word-page{background:white;min-height:420px;padding:28px;color:#765870;font:16px/1.7 Georgia,serif;outline-offset:3px;overflow-wrap:anywhere}
.game .window .study-computer .sp-word-page :is(h1,h2,h3){font-family:inherit}
#neverland-game .sp-word-page,
#neverland-game .sp-creative-tools [data-cmd],
#neverland-game [data-pc-app="word"],
#neverland-game [data-pc-window="word"],
#neverland-game .sp-word-window .study-computer-window-title{text-transform:none}
.game .window .study-computer .sp-word-page h1{font-size:28px!important}.game .window .study-computer .sp-word-page h2{font-size:22px!important}
.sp-save-gif{display:block;margin:5px auto 10px}
.study-computer-nav{max-height:100%;overflow:auto}

/* Keep folder labels below the complete icon silhouette. */
.sp-explorer-icon img.sp-character-folder{height:100%;max-height:80px}

/* Uploaded animated app icons use fixed boxes at every launcher size. */
.study-computer-nav .xp-icon img.sp-app-icon-image{
 display:block;width:44px;height:44px;object-fit:contain;image-rendering:pixelated;
}
.sp-start-icon img.sp-app-icon-image{
 display:block;width:25px;height:25px;object-fit:contain;image-rendering:pixelated;
}
.sp-taskbar-shortcuts img.sp-app-icon-image{
 display:block;width:25px;height:25px;object-fit:contain;image-rendering:pixelated;
}
@media(max-width:680px){
 .sp-taskbar-shortcuts img.sp-app-icon-image{width:21px;height:21px}
}
/* Desktop shortcuts sit directly on the wallpaper, like desktop icons. */
.study-computer-nav .xp-icon{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 2px 2px #86718a33);font-size:32px}
.game .window .study-computer-nav button{background:transparent;border-color:transparent;border-radius:3px;box-shadow:none}

/* Equal folder silhouettes, independent of each PNG's transparent margins. */
.sp-explorer-icon svg.sp-character-folder{display:block;width:80px;height:64px;max-width:none;max-height:none;overflow:hidden;flex:none}
.study-computer-folder-content .sp-explorer-places .sp-explorer-place .sp-explorer-icon{height:70px;width:88px}
.study-computer-folder-content .sp-explorer-places .sp-explorer-place{gap:7px}
/* One application frame: the media player meets its title bar directly. */
.study-computer-window.sp-player-window{border:1px solid #b99bb7;border-radius:7px;background:#eddce9;box-shadow:0 6px 20px #715d7b3d;overflow:hidden}
.sp-player-window>.study-computer-window-title{border-radius:0;margin:0;border:0;border-bottom:1px solid #baa0b6}

/* Standard explorer selection and a shared right-click menu; no per-file ellipses. */
.study-computer-folder-content .sp-explorer-tile{padding:8px 5px;border-radius:4px;min-height:120px}
.study-computer-folder-content .sp-explorer-tile.is-selected{background:#e9c8e188;border:1px solid #bc90b2}
.sp-explorer-tile.is-cut .sp-explorer-open{opacity:.45}
.sp-explorer-open>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4;min-height:2.8em}
.sp-file-context{position:absolute;z-index:100;min-width:160px;padding:4px;border:1px solid #bfa0b6;background:#fff8fc;box-shadow:2px 4px 12px #72536c44;border-radius:5px;display:grid}
.game .window .study-computer .sp-file-context button{padding:7px 14px;border:0;border-radius:2px;background:transparent;color:#795e73;text-align:left;box-shadow:none;font:12px 'Nunito',sans-serif}
.game .window .study-computer .sp-file-context button:hover,.game .window .study-computer .sp-file-context button:focus-visible{background:#efd9e9}
.game .window .study-computer button:disabled{opacity:.42;cursor:default}
.sp-explorer-toolbar{gap:5px}
.study-computer-tray{margin-left:auto}

.study-computer-nav .xp-icon svg{display:block;width:44px;height:44px;overflow:visible}
@media(max-width:680px){.study-computer-nav .xp-icon svg{width:36px;height:36px}.study-computer-nav{gap:3px}.game .window .study-computer-nav button{min-height:61px}}

/* Quiet application chrome: no permanent explanatory captions. */
.study-computer [hidden]{display:none!important}
.study-computer .study-computer-start-menu button[data-pc-app]{display:flex;align-items:center;gap:10px}
.sp-start-icon{width:25px;height:25px;display:inline-flex;flex:none}
.sp-start-icon svg{width:25px;height:25px}
.sp-executable-art{height:85px;display:grid;place-items:center}
.sp-executable-art svg{width:64px;height:64px;background:none;border:0;box-shadow:none}
.sp-executable-art img.sp-app-icon-image{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}
.sp-saved-file-list{display:grid;gap:3px;max-height:230px;overflow:auto;min-height:65px;border:1px solid #e0c8d9;background:#fff;padding:5px}
.game .window .study-computer .sp-saved-file-list button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:3px;box-shadow:none;padding:8px;color:#795c73;font:13px 'Nunito',sans-serif}
.game .window .study-computer .sp-saved-file-list button[aria-selected=true]{background:#ead0e2;color:#68465f}
.sp-creative-open form{width:min(430px,100%)}


/* Right-click image menus anchor to Sugarplum OS, not the outer game. */
.study-computer .sp-file-context{z-index:110}
.sp-creative .sp-creative-toolbar{gap:6px;align-items:center}
.sp-creative .sp-creative-toolbar [data-new],
.sp-creative .sp-creative-toolbar [data-open],
.sp-creative .sp-creative-toolbar [data-save],
.sp-creative .sp-creative-toolbar [data-save-as]{white-space:nowrap}
.sp-creative .sp-creative-save-as{z-index:65}
.sp-creative .sp-creative-save-as input[name=filename]{width:100%;max-width:none}


/* Sugarplum file picker: browsable folders and visibly unavailable file types. */
.sp-computer-picker form{width:min(455px,100%);max-height:95%;display:flex;flex-direction:column;gap:9px}
.sp-picker-path{padding:8px 10px;border:1px solid #e6cde0;background:#fff5fb;border-radius:7px;font:700 12px 'Nunito',sans-serif;color:#866381;flex:none}
.sp-picker-items{display:flex;flex-direction:column;gap:3px;min-height:100px;max-height:245px;overflow:auto;padding:7px;border:1px solid #ddc2d5;border-radius:8px;background:#fff}
.game .window .study-computer .sp-picker-items button{display:block;text-align:left;width:100%;white-space:normal;overflow-wrap:anywhere;font:12px/1.5 'Nunito',sans-serif;border:0;border-radius:5px;background:#fff;padding:7px 10px;box-shadow:none;color:#795875}
.game .window .study-computer .sp-picker-items button[data-picker-folder]{font-weight:800;background:#fff2f9}
.game .window .study-computer .sp-picker-items button[disabled]{opacity:.32;filter:grayscale(1);cursor:not-allowed;background:#f2eef1}
.game .window .study-computer .sp-picker-items button[aria-pressed=true]{background:#ead2e5;color:#6d4666;outline:1px solid #d6a6c9}
.sp-picker-items>p,.sp-picker-hint{margin:5px 0;color:#9b8597;font:11px/1.5 'Nunito',sans-serif}
.sp-picker-error{color:#b3537b!important;min-height:0;margin:0}
.sp-doc-file-icon svg{width:70px;height:70px;max-width:100%;display:block;filter:drop-shadow(0 2px 3px #9984a040)}
.sp-creative-toolbar{position:sticky;top:0;z-index:4;box-shadow:0 2px 8px #9b77a520}
.sp-creative-status:not([hidden]){display:inline-flex;align-items:center;border:1px solid #e8cadd;border-radius:7px;padding:5px 8px;background:#fff9fc;color:#78637e;font:700 11px/1.4 'Nunito',sans-serif;max-width:100%;overflow-wrap:anywhere}
.sp-creative-status[hidden]{display:none!important}


/* Sugarplum taskbar — familiar XP behavior in a gentle pastel finish. */
.study-computer-taskbar{
 height:44px;padding:0;gap:6px;position:relative;
 background:linear-gradient(180deg,#fff0f8 0%,#e9cde3 34%,#d3b4d1 100%);
 border-top:1px solid #fffdf9;box-shadow:inset 0 2px 2px #fffaf5,0 -2px 6px #665a7830;
}
.game .window .study-computer-start{
 flex:none;min-width:102px;height:100%;
 padding:5px 13px;background:linear-gradient(#e2f3e7,#b6dec7 48%,#9bc9b1);
 border:1px solid #a3c8b5;border-left:0;border-radius:0 14px 14px 0;
 box-shadow:inset 0 2px 0 #fff9f2,2px 0 5px #85758d36;
 color:#628775;font:italic 17px 'Fraunces',Georgia,serif;
}
.game .window .study-computer-start[aria-expanded="true"]{
 background:linear-gradient(#b3d8c1,#e8f6e6);box-shadow:inset 0 2px 4px #77947b45;
}
.sp-taskbar-shortcuts{
 display:flex;gap:3px;align-items:center;padding-right:8px;margin-right:1px;
 border-right:1px solid #fff9f4;flex:none;height:65%;
}
.game .window .sp-taskbar-shortcuts button{
 display:grid;place-items:center;width:32px;height:32px;padding:3px;
 border:1px solid transparent;border-radius:7px;box-shadow:none;background:transparent;
}
.sp-taskbar-shortcuts svg{width:25px;height:25px;filter:drop-shadow(0 1px 2px #85657b35)}
.game .window .sp-taskbar-shortcuts button:hover,.game .window .sp-taskbar-shortcuts button:focus-visible{
 background:#fff9f6b8;border:1px solid #dab9d1;
}
.game .window .study-computer-running{
 flex:0 1 235px;min-width:95px;max-width:min(34vw,250px);height:34px;
 display:flex;align-items:center;gap:7px;padding:6px 10px;
 border:1px solid #c69fbf;border-radius:7px;
 background:linear-gradient(#f8e9f3,#d5b9d1);color:#795b7d;
 box-shadow:inset 0 2px 4px #b993b263;
 font:700 12px 'Nunito',sans-serif;
 text-align:left;
}
.game .window .study-computer-running[hidden]{display:none!important}
.game .window .study-computer-running[aria-pressed="true"]{
 background:linear-gradient(#e5c4dc,#efd9e8);
 border-color:#a982a6;box-shadow:inset 0 2px 5px #9d6b9862;
}
.game .window .study-computer-running.is-minimized{
 background:linear-gradient(#fffafd,#f5e5ef);box-shadow:inset 0 1px 0 white;
}
.study-computer-tray{
 gap:6px;min-width:0;flex:none;white-space:nowrap;
 padding:0 8px;background:linear-gradient(#f8eff8,#d9d5e8);
 border-left:1px solid #fffaf4;border-radius:9px 0 0 9px;
 color:#7b6382;font:700 12px 'Nunito',sans-serif;
}
.sp-tray-icons{font-size:13px;letter-spacing:0;color:#a17b9e}
.study-computer-start-menu{
 bottom:0;left:3px;width:min(275px,calc(100% - 16px));
 box-shadow:3px 7px 19px #70527666;overflow:auto;max-height:calc(100% - 10px);
}
.study-computer-window-title{cursor:grab;touch-action:none;user-select:none}
.study-computer-window.is-dragging .study-computer-window-title{cursor:grabbing}
.study-computer-window-title button{cursor:pointer;touch-action:auto}
.study-computer-window:not(.is-maximized){min-width:235px;min-height:165px}
@media(max-width:680px){
 .study-computer-taskbar{height:42px;gap:3px;padding-right:0}
 .game .window .study-computer-start{min-width:70px;font-size:13px;padding:4px 7px}
 .sp-taskbar-shortcuts{gap:0;padding-right:3px}
 .game .window .sp-taskbar-shortcuts button{width:25px;height:29px;padding:2px}
 .sp-taskbar-shortcuts svg{width:22px;height:22px}
 .game .window .study-computer-running{flex:1;min-width:0;max-width:none;font-size:10px;padding:4px 5px;height:30px}
 .study-computer-tray{min-width:0;padding:0 8px;font-size:10px;gap:3px}
 .sp-tray-icons{display:none}
}


/* A small in-world confirmation for an unsaved Paint or Word page. */
.sp-creative-discard{z-index:90}
.sp-creative-discard form{max-width:340px;text-align:center}
.sp-creative-discard h3{color:#906482}
.sp-creative-discard p{font:13px/1.65 'Nunito',sans-serif;color:#93778d}
.game .window .study-computer .sp-creative-discard [data-sp-discard]{
 background:#d9b1cc;color:#724f6c;border-color:#bf92b4
}
.game .window .study-computer .sp-creative-discard [data-sp-stay]{
 background:#fffafb;color:#896e86
}

/* The taskbar clock sits flush against the desktop edge without an exposed strip. */
.study-computer-taskbar{padding-right:0}
.study-computer-tray{margin-left:auto;align-self:stretch;border-radius:9px 0 0 0}
.study-computer-tray [data-pc-clock]{display:inline-block;white-space:nowrap;font-variant-numeric:tabular-nums}


/* Classic taskbar tray: the separator is a full-height straight line. */
.study-computer-taskbar .study-computer-tray{
 border-radius:0;
 border-left:1px solid #c8a5c6;
 border-top:0;border-bottom:0;
 box-shadow:inset 1px 0 0 #fff9fd;
 background:linear-gradient(180deg,#f7eaf4 0%,#e7d6e8 48%,#d6c7e1 100%);
 align-self:stretch;
 min-height:100%;
 display:flex;align-items:center;justify-content:center;
 margin:0 0 0 auto;
}


/* Each open Sugarplum window retains its own taskbar button and state. */
.study-computer-taskbar .sp-taskbar-windows{
 display:flex;align-items:center;gap:4px;flex:1 1 0;
 min-width:0;min-height:0;max-width:none;
 overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
 padding:0 2px;
}
.game .window .study-computer-taskbar .sp-taskbar-windows .study-computer-running{
 display:flex;flex:1 1 0;min-width:68px;max-width:220px;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 height:33px;padding:5px 10px;font:700 11px 'Nunito',sans-serif;
}
.game .window .study-computer-taskbar .sp-taskbar-windows .study-computer-running[hidden]{
 display:none!important;
}
.game .window .study-computer-taskbar .sp-taskbar-windows .study-computer-running.is-minimized{
 opacity:.82;background:linear-gradient(#fdf7fc,#e8d7e8);
 box-shadow:inset 0 1px 0 #fff;
}
@media(max-width:650px){
 .study-computer-taskbar .sp-taskbar-windows{gap:2px}
 .game .window .study-computer-taskbar .sp-taskbar-windows .study-computer-running{
  flex:1 1 0;min-width:58px;max-width:none;height:29px;
  font:700 10px 'Nunito',sans-serif;padding:3px 5px;
 }
}


/* Sugarplum Arcade II — bespoke illustrations, polished game cabinets. */
.sp-mini-window .study-computer-folder-content{
 overflow:auto;padding:0;
 background:radial-gradient(circle at 87% 8%,#fff9ec 0,transparent 34%),
   linear-gradient(142deg,#ebecf7 0%,#fae7f0 63%,#f7e7dc 100%);
}
.sp-mini-window [data-pc-mini-host]{min-height:100%;}
.sp-minigame{
 --mini-ink:#5c5272;--mini-accent:#bc789b;
 position:relative;isolation:isolate;
 box-sizing:border-box;max-width:760px;margin:0 auto;
 padding:clamp(11px,2.3vw,23px);color:var(--mini-ink);
 font:600 13px/1.5 'Nunito',ui-rounded,'Trebuchet MS',sans-serif;
 user-select:none;outline:none;
}
.sp-minigame::before{
 content:'✦';position:absolute;right:30px;top:65px;z-index:-1;
 font:36px Georgia,serif;color:#fffaf8;opacity:.8;pointer-events:none;
}
.sp-mini-bomb{max-width:670px;--mini-accent:#729e93;}
.sp-mini-head{
 display:flex;align-items:center;justify-content:space-between;
 gap:9px;margin-bottom:14px;
}
.sp-mini-brand{display:flex;align-items:center;gap:10px;min-width:0;}
.sp-mini-brand>div{min-width:0;}
.sp-mini-logo{
 flex:0 0 51px;width:51px;height:51px;display:grid;place-items:center;
 border-radius:14px;background:linear-gradient(145deg,#fffaf2,#f0cada);
 border:1px solid #d6b0cc;box-shadow:0 4px 0 #cba6be,0 8px 16px #9a779a29;
 transform:rotate(-4deg);
}
.sp-mini-bomb .sp-mini-logo{
 background:linear-gradient(145deg,#fffbf3,#cbe7d6);
 border-color:#a5c3ac;box-shadow:0 4px 0 #a3bfac,0 8px 16px #739f9233;
}
.sp-mini-logo svg{width:42px;height:42px;overflow:visible;}
.sp-mini-eyebrow{
 display:block;margin:0 0 3px;text-transform:uppercase;letter-spacing:1.45px;
 font:bold 9px/1.1 'Nunito',sans-serif;color:#b68c9f;
}
.sp-mini-bomb .sp-mini-eyebrow{color:#78968e;}
.sp-mini-head h2{
 margin:0!important;color:#925d85;letter-spacing:-.4px;
 font:900 clamp(18px,2.6vw,25px)/1.15 'Nunito',ui-rounded,sans-serif!important;
 text-transform:lowercase;
}
.sp-mini-bomb .sp-mini-head h2{color:#537e78;}
.sp-mini-head small{
 display:block;color:#a68c9d;font:700 10px/1.3 'Nunito',sans-serif;
 margin-top:3px;white-space:normal;
}
.sp-mini-bomb .sp-mini-head small{color:#789e99;}
.game .window .sp-minigame button{
 border:1px solid #d3a9c3;border-radius:10px;padding:8px 12px;margin:0;
 color:#8a5e83;background:linear-gradient(180deg,#fffdfa,#eed8e6);
 font:800 12px/1.25 'Nunito',ui-rounded,sans-serif;
 text-shadow:none;box-shadow:0 3px 0 #c5a2ba99;
 transition:background .14s,transform .14s,box-shadow .14s;
 cursor:pointer;
}
.game .window .sp-minigame button:not(:disabled):hover{
 background:#ffedf3;box-shadow:0 3px 0 #c5a2ba;
}
.game .window .sp-minigame button:not(:disabled):active{
 transform:translateY(2px);box-shadow:0 1px 0 #c5a2ba;
}
.game .window .sp-minigame button:focus-visible{outline:3px solid #a27eac;outline-offset:2px;}
.game .window .sp-minigame button:disabled{opacity:.64;cursor:default;}
.sp-mini-bomb .sp-mini-head>button{
 color:#53796f!important;background:linear-gradient(#fff,#d9eee3)!important;
 border-color:#a7cab6!important;box-shadow:0 3px 0 #b5cebf99!important;
}
.sp-mini-score{
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;
 gap:9px;margin-bottom:9px;padding:9px 13px;
 border:1px solid #e8d4df;border-radius:12px;
 background:linear-gradient(95deg,#fffaf7,#fff6fb);
 box-shadow:0 3px 9px #b498b819, inset 0 1px 0 #fff;
 font-size:12px;color:#816e86;
}
.sp-mini-bomb .sp-mini-score{border-color:#d1e0cd;background:linear-gradient(95deg,#fafcf0,#f2faf5);}
.sp-mini-score-label{font-weight:800;letter-spacing:.1px;}
.sp-mini-score b{font-size:21px;line-height:1;color:#b46a95;letter-spacing:-.5px;font-variant-numeric:tabular-nums;}
.sp-mini-bomb .sp-mini-score b{color:#638f84;}
.sp-mini-score em{font-size:11px;font-style:normal;color:#a794a7;}
.sp-mini-clock{
 color:#8d6c9a;white-space:nowrap;padding:5px 10px;
 border-radius:9px;background:#f7ebf4;
}
.sp-mini-bomb .sp-mini-clock{color:#628e87;background:#e9f2eb;}
.sp-mini-progress{
 height:8px;overflow:hidden;margin:0 0 10px;border-radius:10px;
 background:repeating-linear-gradient(125deg,#e3cfdd 0 8px,#efdfeb 8px 16px);
 box-shadow:inset 0 1px 3px #8d76955c;
}
.sp-mini-progress span{
 display:block;width:0;height:100%;border-radius:10px;
 background:linear-gradient(90deg,#e3acb5,#efbd72,#fff0b5);
 box-shadow:0 0 10px #ffe9b5;transition:width .35s ease;
}
.sp-mini-miner canvas{
 display:block;width:100%;height:auto;
 box-sizing:border-box;border:6px solid #f7ebed;border-radius:14px;
 outline:2px solid #ba9cae;outline-offset:-3px;
 box-shadow:0 4px 0 #a38a9d,0 12px 24px #7b63842c;
 background:#404e72;image-rendering:auto;touch-action:manipulation;
}
.sp-mini-message{
 min-height:23px;margin:11px 0!important;padding:8px 11px;
 border:1px solid #eddbe5;border-radius:9px;
 background:#fffbf9e8;color:#976f90;
 box-shadow:0 2px 4px #b9a0ba15;
 font:700 12px/1.4 'Nunito',sans-serif!important;text-align:center;
}
.sp-mini-bomb .sp-mini-message{border-color:#d1e6d6;color:#6c9187;background:#f8fdf8eb;}
.sp-mini-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
.sp-mini-actions span{color:#99879b;font-size:11px;line-height:1.5;}
.game .window .sp-mini-actions [data-mini-drop]{
 padding:12px 18px;border-radius:11px;
 background:linear-gradient(#f8e4ed,#e4b8d5);font-size:14px;
 border-color:#c78db4;color:#85547d;
}
.sp-mini-actions kbd{
 margin-left:7px;padding:4px 6px;border:1px solid #b390ab;
 border-bottom:2px solid #b390ab;border-radius:5px;background:#fff9f9;
 font:800 10px 'Nunito',sans-serif;color:#8a6987;
}
/* Hand-drawn SVG bomber garden. Each tile has a ground layer and foreground art. */
.sp-bomb-board{
 display:grid;grid-template-columns:repeat(23,minmax(0,1fr));
 position:relative;box-sizing:border-box;width:min(100%,1150px);aspect-ratio:23/9;
 margin:0 auto;
 border:9px solid #f9f2e6;outline:2px solid #9cbfae;outline-offset:-4px;
 border-radius:17px;overflow:hidden;
 background:#eaf3e0;
 box-shadow:0 5px 0 #aac2b1,0 15px 27px #809c9780;
}
.sp-bomb-definitions{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}
.sp-bomb-cell{
 position:relative;display:block;min-width:0;min-height:0;isolation:isolate;
 overflow:visible;aspect-ratio:1;
 border:0;box-shadow:inset 0 0 0 1px #c1d5b139;
}
.sp-bomb-cell.meadow-a{background:#e0efce;}
.sp-bomb-cell.meadow-b{background:#e9f4d8;}
.sp-bomb-cell::after{
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
 background:radial-gradient(circle at 16% 20%,#ffffff8c 0 1px,transparent 2px),
  radial-gradient(circle at 82% 82%,#b1d9b7 0 1px,transparent 2px);
}
.sp-bomb-sprite{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 1px 1px #516e7166);}
.sp-bomb-cell>.sp-bomb-sprite{position:absolute;inset:0;z-index:2;}
.sp-bomb-character,.sp-bomb-ground,.sp-bomb-flare{
 display:block;position:absolute;inset:0;z-index:4;pointer-events:none;
}
.sp-bomb-ground{z-index:3;}
.sp-bomb-character{z-index:5;}
.sp-bomb-cell.has-bomb.is-player .sp-bomb-ground{
 transform:translate(18%,19%) scale(.68);transform-origin:50% 50%;
 z-index:6;
}
.sp-bomb-cell.has-bomb.is-player .sp-bomb-character{transform:translate(-7%,-9%) scale(.85);}
.sp-bomb-character .sp-bomb-sprite-star{filter:drop-shadow(0 0 4px #fff4b0) drop-shadow(0 2px 1px #aa8f60);}
.sp-bomb-cell.is-blast{background:#fbe5a9!important;}
.sp-bomb-flare{z-index:9;filter:drop-shadow(0 0 6px #fff9c2);}
.sp-bomb-cell.is-blast::after{background:#fff8df82;}
.sp-bomb-cell.has-bomb:not(.is-blast)>.sp-bomb-ground{filter:drop-shadow(0 0 3px #fff3b0);}
.sp-door-lock{
 position:absolute;z-index:6;right:13%;top:8%;
 width:7px;height:9px;border:2px solid #b0a1ba;border-radius:10px 10px 3px 3px;
 background:#ffedba;
}
.sp-bomb-controls{
 display:grid;grid-template-columns:repeat(3,50px) minmax(120px,1fr);
 grid-template-rows:repeat(2,37px);gap:5px;align-items:center;justify-content:center;
 width:min(100%,440px);margin:12px auto 0;
}
.game .window .sp-bomb-controls button{
 display:grid;place-items:center;height:37px;padding:5px!important;
 border:1px solid #afcdb8!important;
 background:linear-gradient(#fafdf5,#d7eadb)!important;
 color:#608c82!important;box-shadow:0 3px 0 #a9c3b3!important;
 font-size:18px!important;
}
.game .window .sp-bomb-controls button:active{transform:translateY(2px);box-shadow:0 1px 0 #a9c3b3!important;}
.game .window .sp-bomb-controls [data-bomb-drop]{
 grid-column:4;grid-row:1/3;height:100%;
 font-size:14px!important;letter-spacing:.2px;
 background:linear-gradient(#faeef0,#efc7db)!important;
 color:#976b88!important;border-color:#d7aac8!important;
 box-shadow:0 3px 0 #cda8b9!important;
}
.sp-mini-help{
 margin:12px auto 0!important;max-width:480px;color:#8a938d;
 font:600 11px/1.6 'Nunito',ui-rounded,sans-serif!important;text-align:center;
}
.sp-mini-exe-icon{
 display:grid;place-items:center;font-size:32px;line-height:1;
 filter:drop-shadow(0 3px 2px #bea4b4);
}
@media(max-width:550px){
 .sp-minigame{padding:10px;}
 .sp-mini-brand{gap:7px;}
 .sp-mini-logo{width:39px;height:39px;flex-basis:39px;border-radius:11px;}
 .sp-mini-logo svg{width:34px;height:34px;}
 .sp-mini-head h2{font-size:18px!important;}
 .sp-mini-eyebrow{font-size:8px;letter-spacing:.7px;}
 .sp-mini-head small{font-size:9px;}
 .game .window .sp-mini-head>button{padding:7px 8px;font-size:10px;}
 .sp-mini-score{padding:7px 9px;}
 .sp-mini-score b{font-size:17px;}
 .sp-bomb-board{border-width:6px;border-radius:11px;}
 .sp-bomb-controls{grid-template-columns:repeat(3,43px) minmax(100px,1fr);grid-template-rows:repeat(2,34px);}
 .game .window .sp-bomb-controls button{height:34px;}
 .sp-mini-actions{gap:8px;}
 .sp-mini-actions span{font-size:10px;}
 .game .window .sp-mini-actions [data-mini-drop]{font-size:12px;padding:9px 10px;}
}
@media(prefers-reduced-motion:reduce){
 .sp-mini-progress span,.game .window .sp-minigame button{transition:none;}
}


/* Sugarplum Arcade III: true desktop-game layout, no browser-like page scrolling. */
.study-computer-window.sp-mini-window{
  min-height:0;overflow:hidden;
}
.sp-mini-window>.study-computer-folder-content{
  padding:0!important;min-height:0!important;overflow:hidden!important;
  display:flex;flex-direction:column;overscroll-behavior:none;
}
.sp-mini-window [data-pc-mini-host]{
  min-height:0;height:100%;flex:1;display:flex;flex-direction:column;
}
.sp-mini-window .sp-minigame{
  position:relative;display:flex;flex-direction:column;
  gap:clamp(5px,1.1vh,10px);
  height:100%;min-height:0;max-width:none;width:100%;
  padding:clamp(8px,1.2vw,15px) clamp(10px,1.9vw,23px);
  overflow:hidden;
}
.sp-mini-window .sp-minigame::before{display:none;}
.sp-mini-window .sp-mini-head{
  margin:0;flex:0 0 auto;min-height:46px;
}
.sp-mini-top-actions{
  display:flex;align-items:center;gap:7px;flex-shrink:0;
}
.game .window .sp-mini-top-actions button{
  padding:7px 10px;font-size:11px;white-space:nowrap;
}
.game .window .sp-mini-top-actions [data-mini-help]{
  min-width:32px;min-height:32px;padding:3px;
  color:#86577f;background:#fffdf4;border-radius:50%;
  font:900 17px/1 'Nunito',sans-serif;
}
.sp-mini-window .sp-mini-score{
  margin:0;flex:0 0 auto;padding:7px 11px;
}
.sp-mini-window .sp-mini-progress{
  flex:0 0 7px;margin:0;border-radius:6px;
}
.sp-mini-stage{
  flex:1 1 0;min-width:0;min-height:0;width:100%;
  position:relative;display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.sp-mini-window .sp-mini-miner-stage canvas{
  display:block;width:100%;height:auto;max-width:100%;max-height:100%;
  flex:0 1 auto;object-fit:contain;
  border:5px solid #f7ebed;border-radius:12px;
  box-shadow:0 2px 0 #bba2b1,0 6px 15px #7b63842c;
}
.sp-mini-window .sp-mini-bomb-stage .sp-bomb-board{
  display:grid;width:min(100%,1150px);height:auto;
  max-width:100%;max-height:100%;margin:0;flex:0 1 auto;
  flex-shrink:1;aspect-ratio:23 / 9;
  border-width:7px;border-radius:12px;
  box-shadow:0 3px 0 #aac2b1,0 7px 16px #809c9760;
}
.sp-mini-window .sp-mini-actions{
  flex:0 0 auto;min-height:43px;margin:0;
  display:flex;align-items:center;justify-content:center;
}
.game .window .sp-mini-actions [data-mini-drop]{
  padding:10px 23px;font-size:13px;
}
.sp-mini-window .sp-bomb-controls{
  flex:0 0 auto;margin:1px auto 0;
  grid-template-rows:repeat(2,31px);
  grid-template-columns:repeat(3,44px) minmax(125px,1fr);
  gap:4px;width:min(100%,385px);
}
.game .window .sp-bomb-controls button{
  height:31px;padding:3px!important;font-size:16px!important;
}
.game .window .sp-bomb-controls [data-bomb-drop]{
  display:flex!important;align-items:center;justify-content:center;
  gap:4px;height:100%;padding:4px 6px!important;
  font:800 11px 'Nunito',sans-serif!important;
}
.sp-bomb-controls [data-bomb-drop] .sp-bomb-sprite{
  width:24px;height:24px;flex:0 0 24px;
}
.sp-bomb-controls kbd{
  display:inline-block;border:1px solid #bcacbd;border-radius:4px;
  background:#fff9f6;color:#8a6d84;padding:3px 5px;
  font:800 9px 'Nunito',sans-serif;
}
.sp-mini-window .sp-mini-message{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:0!important;border:0!important;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;
}
/* A small native-feeling pause/result card inside the game canvas. */
.sp-mini-result{
  position:absolute;z-index:8;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:13px;text-align:center;
  background:linear-gradient(135deg,#383c65cf,#826381df);
  backdrop-filter:blur(5px);border-radius:13px;color:#fff9f4;
}
.sp-mini-bomb .sp-mini-result{
  background:linear-gradient(135deg,#315b58dc,#698e86d9);
}
.sp-mini-result[hidden],.sp-mini-help-modal[hidden]{display:none!important;}
.sp-mini-result strong{
  font:900 clamp(21px,3vw,34px)/1.1 'Nunito',sans-serif;
  letter-spacing:.2px;text-shadow:0 2px 2px #2d2c4544;
}
.sp-mini-result span{font:700 13px 'Nunito',sans-serif;color:#fff4df;}
.game .window .sp-mini-result button{
  background:linear-gradient(#fffdf3,#f9deeb);padding:10px 18px;
  font-size:14px;border-color:#ffe7db;
}
/* Help is an optional in-game panel accessed only by the ? icon. */
.sp-mini-help-modal{
  position:absolute;inset:0;z-index:20;
  display:flex;align-items:center;justify-content:center;
  padding:clamp(12px,3vw,30px);
  background:#38344caa;backdrop-filter:blur(4px);
}
.sp-mini-help-card{
  position:relative;box-sizing:border-box;
  width:min(100%,470px);max-height:100%;overflow:auto;
  padding:clamp(17px,3vw,30px);
  border:3px double #cfafc1;border-radius:18px;
  background:linear-gradient(160deg,#fffaf6,#f6e5f0);
  box-shadow:0 14px 35px #35294b66;
  color:#6b5e78;
}
.sp-mini-bomb .sp-mini-help-card{
  background:linear-gradient(160deg,#fffbef,#e6f2e8);border-color:#acd0bf;
}
.game .window .sp-mini-help-card [data-mini-close-help]{
  position:absolute;right:11px;top:10px;min-width:32px;height:32px;padding:4px;
}
.sp-mini-help-card h3{
  margin:6px 0 12px;color:#96668c;
  font:900 clamp(20px,2.8vw,28px)/1.2 'Nunito',sans-serif;
}
.sp-mini-bomb .sp-mini-help-card h3{color:#5e8b7b;}
.game .window .sp-mini-help-card p{
  margin:0 0 11px!important;padding:0!important;
  color:#776c7f;font:650 13px/1.65 'Nunito',sans-serif!important;
}
.game .window .sp-mini-help-card .sp-help-note{
  margin-bottom:0!important;padding-top:9px!important;
  border-top:1px solid #e5d3de;
  font-size:11px!important;color:#a48b9b;
}
.sp-mini-help-card kbd{
  display:inline-block;padding:2px 5px;border:1px solid #dabbd0;
  border-bottom-width:2px;border-radius:5px;background:#fff;
  font:bold 11px 'Nunito',sans-serif;color:#8a6c8c;
}
.sp-mini-window .sp-mini-help{display:none;}
@media(max-width:550px){
 .sp-mini-window .sp-minigame{padding:7px;gap:5px;}
 .sp-mini-window .sp-mini-head{min-height:37px;}
 .sp-mini-logo{width:34px;height:34px;flex-basis:34px;}
 .sp-mini-logo svg{width:29px;height:29px;}
 .sp-mini-eyebrow,.sp-mini-head small{display:none;}
 .sp-mini-window .sp-mini-head h2{font-size:16px!important;}
 .game .window .sp-mini-top-actions button{padding:6px 8px;font-size:10px;}
 .sp-mini-window .sp-mini-score{padding:5px 8px;}
 .sp-mini-window .sp-mini-score b{font-size:15px;}
 .sp-mini-window .sp-bomb-controls{
  grid-template-columns:repeat(3,36px) minmax(118px,1fr);
  grid-template-rows:repeat(2,29px);width:min(100%,340px);
 }
 .game .window .sp-bomb-controls button{height:29px;}
 .game .window .sp-bomb-controls [data-bomb-drop]{font-size:10px!important;}
 .sp-bomb-controls [data-bomb-drop] .sp-bomb-sprite{width:19px;height:19px;flex-basis:19px;}
 .game .window .sp-mini-actions [data-mini-drop]{padding:8px 15px;font-size:12px;}
}
@media(max-height:650px){
 .sp-mini-window .sp-mini-head small,.sp-mini-window .sp-mini-eyebrow{display:none;}
 .sp-mini-window .sp-mini-head{min-height:34px;}
 .sp-mini-window .sp-mini-logo{width:34px;height:34px;flex-basis:34px;}
 .sp-mini-window .sp-mini-logo svg{width:30px;height:30px;}
 .sp-mini-window .sp-mini-score{padding:4px 8px;}
}

/* Selection feedback for double-click-to-open desktop and folder icons.
   Start Menu, taskbar, buttons and keyboard navigation remain single-click. */
.game .window .study-computer-nav button.is-selected,
.game .window .study-computer-nav button.is-selected:hover {
 /* Single-click selects a shortcut; hovering alone must not draw a box. */
 background:#fffaf56b;
 border:1px solid transparent;
}
.study-computer-folder-content .sp-explorer-place.is-selected {
 background:#e9c8e188;
 border:1px solid #bc90b2;
 border-radius:5px;
}

/* Live, independently focusable app windows. Background iframes remain mounted
   so a Melody radio can keep playing while Sugarplum Amp is foregrounded. */
.study-computer-content > .sp-window-layer {
 position:absolute;inset:0;pointer-events:none;
}
.study-computer-content > .sp-window-layer > * {pointer-events:auto}
/* An empty desktop wallpaper layer covers the full screen, above the desktop
   shortcuts in stacking order. Let pointer events pass through that transparent
   layer to the real icons; open application windows still accept input. */
.study-computer-content > .sp-window-layer > .study-computer-desktop {pointer-events:none}
/* Keep window stacking without disturbing dialogs or media layout. */

/* True tab strip: each tab retains its iframe and scroll position in the DOM.
   Switching tabs changes visibility, never destroys the inactive page. */
.sp-browser-tabs {
 display:flex;align-items:end;gap:3px;flex:none;
 min-height:33px;padding:3px 7px 0;
 overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
 background:linear-gradient(180deg,#fbecf3,#f2e1eb);
 border-bottom:1px solid #ddbed4;
}
.sp-browser-tab{
 display:flex;align-items:center;flex:0 0 auto;
 min-width:88px;max-width:185px;
 border:1px solid #dac2d5;border-bottom:0;
 border-radius:9px 9px 0 0;background:#e9dbe7;
}
.sp-browser-tab.is-active{background:#fffaf6;border-color:#d6b2cd}
.game .window .study-computer .sp-browser-tab button{
 margin:0;padding:5px 7px;border:0;border-radius:0;box-shadow:none;
 background:transparent;color:#806581;font:11px 'Nunito',sans-serif;
}
.game .window .study-computer .sp-browser-tab button:first-child{
 flex:1;min-width:0;max-width:145px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.game .window .study-computer .sp-browser-tab .sp-browser-tab-close{
 flex:none;padding:4px 6px;font-size:16px;line-height:1;
}
.game .window .study-computer .sp-browser-new-tab{
 flex:none;margin:0 4px 1px 2px;padding:3px 9px;
 border:1px solid #e0c2d6;border-radius:8px 8px 0 0;
 background:#fffbf8;color:#96738e;
}
.sp-browser-pages{position:relative;flex:1 1 auto;min-height:0;overflow:hidden}
.sp-browser-pages > .study-computer-web{
 position:absolute;inset:0;width:100%;height:100%;min-height:0;box-sizing:border-box;
}
.sp-browser-pages > .study-computer-web[hidden]{display:none!important}


/* Compact browser chrome: a small, believable desktop browser rather than
   oversized buttons fighting for vertical room in Sugarplum OS. */
.game .study-computer-browser .study-computer-window-title{
  height:29px;min-height:29px;padding:3px 7px 3px 10px;
  gap:5px;font-size:12px;font-weight:500;
}
.game .study-computer-browser .study-computer-window-title .study-computer-window-controls{
  gap:4px;
}
.game .study-computer-browser .study-computer-window-title button{
  min-width:27px;height:23px;padding:0 6px;
  border-radius:6px;font-size:13px;line-height:1;
}
.game .study-computer-browser .study-computer-toolbar{
  min-height:37px;flex-wrap:nowrap;gap:4px;padding:4px 6px;
}
.game .study-computer-browser .study-computer-toolbar > button{
  min-width:26px;height:27px;padding:2px 5px;
  border-radius:6px;font-size:13px;line-height:1;
}
.game .study-computer-browser .study-computer-address.sp-url-picker{
  flex:1 1 auto;min-width:0;height:28px;
  gap:4px;padding:2px 6px;border-radius:7px;
}
.game .study-computer-browser .sp-url-picker>span{
  font-size:13px;
}
.game .study-computer-browser .sp-url-picker select{
  height:24px;min-width:0;padding:2px 16px 2px 1px;
  font-size:13px;line-height:1.3;
}
.game .study-computer-browser .study-computer-bookmarks{
  min-height:27px;padding:2px 6px;gap:0 5px;
  flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
  scrollbar-width:thin;
}
.game .study-computer-browser .study-computer-bookmarks button{
  flex-shrink:0;white-space:nowrap;
  padding:3px 6px;border-radius:5px;
  font-size:12px;line-height:1.2;font-weight:500;
}
.game .study-computer-browser .sp-browser-tabs{
  min-height:27px;padding:2px 5px 0;
  gap:3px;
}
.game .study-computer-browser .sp-browser-tab{
  min-width:76px;max-width:143px;
  border-radius:7px 7px 0 0;
}
.game .study-computer-browser .sp-browser-tab button{
  min-height:23px;padding:3px 6px;
  font-size:11px;line-height:1.1;
}
.game .study-computer-browser .sp-browser-tab .sp-browser-tab-close{
  padding:3px 6px;font-size:13px;
}
.game .study-computer-browser .sp-browser-new-tab{
  padding:2px 7px;min-height:22px;border-radius:6px 6px 0 0;
  font-size:14px;line-height:1.1;
}
.game .study-computer-browser .study-computer-notice:not(:empty){
  min-height:0;padding:3px 7px;font-size:11px;
}
.game .study-computer-browser .study-computer-notice:empty{
  display:none;
}
@media(max-width:680px){
  .game .study-computer-browser .study-computer-window-title{height:28px;min-height:28px}
  .game .study-computer-browser .study-computer-toolbar{min-height:35px;gap:2px;padding:3px}
  .game .study-computer-browser .study-computer-toolbar > button{min-width:23px;height:25px;padding:1px 3px}
  .game .study-computer-browser .study-computer-bookmarks{gap:1px}
  .game .study-computer-browser .study-computer-bookmarks button{font-size:11px;padding:3px 5px}
}

/* Dreamcloud is intentionally quiet: keep only one compact heading and the
   actual SoundCloud playlist, without decorative duplicated title blocks. */
.game .study-computer .sp-dreamcloud{
  min-height:100%;
  padding:14px clamp(12px,3vw,25px) 18px;
}
.game .study-computer .sp-dreamcloud-header{
  display:flex;align-items:baseline;justify-content:center;gap:13px;
  flex-wrap:wrap;max-width:690px;
  padding:0;margin:0 auto 11px;
  text-align:center;
}
.game .study-computer .sp-dreamcloud-header h1{
  margin:0!important;
  font-size:clamp(21px,2.5vw,28px);
  font-style:normal;line-height:1.2;
  letter-spacing:0;text-shadow:none;
}
.game .study-computer .sp-dreamcloud-header h1 span{
  font-size:17px;
}
.game .study-computer .sp-dreamcloud-header p{
  margin:0!important;
  font-size:12px;line-height:1.4;
  font-style:normal;color:#a28aa1;
}
.game .study-computer .sp-dreamcloud-card{
  max-width:700px;
  margin:25px auto 0;
  padding:7px;
  border-radius:12px;
  box-shadow:0 3px 9px #b995b51c;
}
.game .study-computer .sp-dreamcloud-player{
  display:block;width:100%;height:390px;
  border-radius:7px;
}
@media(max-width:680px){
  .game .study-computer .sp-dreamcloud{padding:9px 8px 14px}
  .game .study-computer .sp-dreamcloud-header{gap:5px;margin-bottom:8px}
  .game .study-computer .sp-dreamcloud-header h1{font-size:20px}
  .game .study-computer .sp-dreamcloud-header p{font-size:11px}
  .game .study-computer .sp-dreamcloud-card{margin-top:13px;padding:5px}
  .game .study-computer .sp-dreamcloud-player{height:370px}
}


/* A real desktop browser reserves height for its toolbars and taskbar.
   Give the virtual monitor a taller 3:2 screen like the reference Chrome
   window, leaving enough space for an entire page under the browser chrome. */
@media (min-width:681px){
  .game .modal.study-pc-open{padding:8px}
  .game .modal.study-pc-open .window{
    width:min(1460px,96vw,145dvh);
    height:auto;
    aspect-ratio:3/2;
    max-width:calc(100vw - 16px);
    max-height:calc(100dvh - 16px);
  }
}


/* Phone portrait: display the COMPLETE 1440x960 desktop, not a tall 390px
   responsive reflow. JS sets one uniform scale for both axes so paintings,
   toolbar, app windows and taskbar keep their real desktop proportions. */
@media (max-width:680px){
  .game .modal.study-pc-open{padding:0;align-items:center;justify-content:center;overflow:hidden}
  .game .modal.study-pc-open .window{
    flex:0 0 1440px;
    width:1440px;
    min-width:1440px;
    max-width:none;
    height:960px;
    min-height:960px;
    max-height:none;
    aspect-ratio:auto;
    padding:14px;
    border-radius:22px;
    transform:scale(var(--sp-phone-monitor-scale, .26));
    transform-origin:50% 50%;
  }
  /* Keep the desktop geometry even though the containing phone is narrow. */
  .study-computer-nav{top:16px;left:10px;width:102px;gap:9px}
  .game .window .study-computer-nav button{min-height:75px;font-size:12px;padding:7px 4px}
  .study-computer-nav .xp-icon{width:48px;height:47px;font-size:27px}
  .study-computer-nav .xp-icon svg{width:44px;height:44px}
  .study-computer-window{inset:12px 13px 11px 123px}
  .study-computer-window.study-computer-browser,
  .study-computer-window.study-computer-files{left:123px;z-index:4}
  .study-computer-window-title{font-size:14px}
  .study-computer-toolbar{gap:5px;padding:7px}
  .game .window .study-computer-toolbar > button{padding:5px 9px}
  .study-computer-address{width:auto;flex-basis:auto}
  .study-computer-taskbar{height:44px;gap:6px}
  .game .window .study-computer-start{min-width:102px;font-size:17px}
  .game .window .study-computer-running{font-size:12px}
  .study-computer-tray{min-width:100px;font-size:12px}
}

/* Compact desktop shortcuts retain the two-column arrangement. */
.study-computer-nav{display:grid;grid-template-columns:repeat(2,102px);grid-template-rows:repeat(4,auto);grid-auto-flow:column;width:214px;max-height:calc(100% - 32px);gap:8px}
.game .window .study-computer-nav button{flex-shrink:0;min-height:84px;font-size:13px}
.study-computer-nav .xp-icon,
.study-computer-nav .xp-icon img.sp-app-icon-image,
.study-computer-nav .xp-icon svg{width:48px;height:48px}
.study-computer-nav .xp-icon{filter:none}
.study-computer-nav [data-pc-app="mini"] .xp-icon{font-size:40px}
.sp-executable-art.sp-mini-exe-icon{filter:none}

/* Every image file uses the same thumbnail and viewer, in every folder. */
.sp-explorer-open .sp-image-thumbnail{display:grid;place-items:center;width:100%;height:85px;flex:none;overflow:hidden;border-radius:8px;background:#faeff7}
.sp-explorer-open .sp-image-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:transparent}
.sp-photo-frame{display:flex;align-items:center;justify-content:center;width:100%;height:310px;flex:none;padding:14px;background:#fff9fc;border:1px solid #ead8e4;border-radius:14px;overflow:hidden}
.sp-photo-frame>img{display:block;width:100%;height:100%;object-fit:contain}

/* A classic Word workspace: fixed toolbars, ruler, paper and document status. */
.sp-word-window .study-computer-folder-content{padding:0;display:flex;overflow:hidden}
.sp-word-window [data-creative-host]{display:flex;flex:1;min-width:0;min-height:0}
.sp-word-app{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;background:#d7d7df;color:#31313a}
.sp-word-app .sp-creative-toolbar,.sp-word-app .sp-creative-tools{flex:none;position:static;margin:0;gap:4px;padding:5px 8px;background:linear-gradient(#faf9fc,#e9e6ee);border:0;border-bottom:1px solid #c8bfce;border-radius:0;box-shadow:none}
.sp-word-app .sp-creative-toolbar label{margin-right:auto}
.game .window .study-computer .sp-word-app button{padding:4px 7px;min-height:27px;border:1px solid transparent;border-radius:3px;background:transparent;color:#4b4052}
.game .window .study-computer .sp-word-app button:hover{background:#fff7db;border-color:#c6ad76}
.game .window .study-computer .sp-word-app button[aria-pressed=true]{background:#f5dcab!important;border-color:#ba995d;box-shadow:inset 0 1px 2px #99876544}
.game .window .study-computer .sp-word-app select{max-width:150px;padding:3px;border-color:#bab2c0;color:#38313f}
.sp-word-tool-divider{align-self:stretch;width:1px;margin:1px 3px;background:#c6becb}
.sp-word-ruler{flex:none;overflow:hidden;padding:5px 24px;background:#d7d7df}
.sp-word-ruler>div{display:flex;justify-content:space-around;max-width:794px;height:23px;margin:auto;border:1px solid #b3adb8;background:repeating-linear-gradient(90deg,transparent 0 11px,#bbb6c2 11px 12px) left bottom/100% 5px no-repeat,#fff;box-shadow:0 1px 1px #6662}
.sp-word-ruler span{font-size:10px;line-height:17px;color:#615a67}
.sp-word-ruler>div{padding-inline:72px;justify-content:flex-start;background-position:72px bottom;background-size:calc(100% - 144px) 5px}
.sp-word-ruler span{flex:0 0 96px;text-align:right}
.sp-word-app .sp-creative-paper{flex:1;min-height:0;padding:10px 24px 32px;border-radius:0;background:#d7d7df;overscroll-behavior:contain}
.sp-word-app .sp-word-page{box-sizing:border-box;width:794px;max-width:100%;min-height:1123px;margin:0 auto;padding:72px;background:#fff;color:#24242a;font:16px/1.6 Georgia,serif;border:1px solid #b9b5bd;box-shadow:1px 2px 5px #57526045;outline:none;cursor:text;user-select:text;text-align:left}
.sp-word-app .sp-word-page:focus-visible{outline:1px solid #9b84b1;outline-offset:0}
.game .window .study-computer .sp-word-page :is(p,div,li,blockquote){font-size:inherit;line-height:inherit;color:inherit}
.game .window .study-computer .sp-word-page p{margin:0 0 12px}
.sp-word-status{display:flex;justify-content:space-between;gap:12px;flex:none;padding:5px 10px;border-top:1px solid #bdb5c5;background:#eeeaf2;color:#62566e;font-size:11px}
#neverland-game .sp-word-app .sp-creative-tools,#neverland-game .sp-word-status{text-transform:none}
@media(max-width:680px){
 .sp-explorer-open .sp-image-thumbnail{height:65px}
 .sp-photo-frame{height:240px}
}
