/* Plastic world: molded blocks, stone inventory slots and oak furniture. */
body[data-space-theme="plastic"]{
 --scene:#79b8ef url('/plastic-world.webp') center/cover no-repeat;
 --ink:#343b32;--muted:#606553;--surface:#eeeee2;--panel:#d3d3c5;
 --bar:#b9bbae;--line:#89917c;--radius:0px;
 --shadow:2px 3px 0 #26332830,0 8px 22px #152e242b;
 --font:"Trebuchet MS",Verdana,Arial,sans-serif;
 --dock:#bfc2b5;--icon-filter:drop-shadow(2px 3px 0 #20301e55);
}
body.desktop-active[data-space-theme="plastic"]{background-position:50% 50%}
body[data-space-theme="plastic"] #desktop .topbar{
 background:#ae8554;color:#fff9e9;border-bottom:1px solid #856647;
 box-shadow:inset 0 3px #dcc099,inset 0 -3px #8a633e,0 3px 0 #283b2f44;
 backdrop-filter:none;min-height:44px;
}
body[data-space-theme="plastic"] #desktop .topbar :is(.brand,button,.menu-clock){color:#fff8e5;text-shadow:1px 2px #634c36}
body[data-space-theme="plastic"] .topbar .brand{font-weight:900;letter-spacing:.3px}
body[data-space-theme="plastic"] #desktop .topbar button:hover{background:#83603e}
body[data-space-theme="plastic"] .desktop-window{
 border:1px solid #77816a!important;border-radius:0!important;
 box-shadow:var(--shadow),inset 0 0 0 1px #fafbee;backdrop-filter:none;
}
body[data-space-theme="plastic"] .win-titlebar{
 min-height:44px;background:#b8bcad;border-bottom:1px solid #969f88;
 box-shadow:inset 0 3px #eff1e1,inset 3px 0 #e1e4d3,inset -3px -3px #969e8b;
 padding-right:94px;padding-left:94px;
}
body[data-space-theme="plastic"] .win-titlebar h2{font-weight:800;letter-spacing:.2px;color:#30382b;text-shadow:1px 1px #f4f5e7}
body[data-space-theme="plastic"] .win-controls{top:9px;gap:9px}
body[data-space-theme="plastic"] .win-controls button{
 width:25px;height:25px;border-radius:0;border:1px solid #4f5946;
 background:#b4b8a6;box-shadow:inset 1px 1px #f2f3de,inset -1px -1px #858d76;
 font-size:19px;font-weight:700;color:#34422c;
}
body[data-space-theme="plastic"] .win-controls .win-close{background:#c89076;color:#54352e;box-shadow:inset 1px 1px #f3c7ac,inset -1px -1px #a16854}
body[data-space-theme="plastic"] .win-content{background:#efefe2;padding:12px}
body[data-space-theme="plastic"] .empty-copy{background:#e6e7d8;border:1px solid #b5baa7;box-shadow:inset 1px 1px #c8cdbb;font-size:15px;min-height:190px}
body[data-space-theme="plastic"] .win-status{background:#d3d7c6;border-top:1px solid #9ba38a;min-height:40px}
body[data-space-theme="plastic"] :is(.next-photo,.recording-controls .recording-play,.friend-link){
 border:1px solid #727b61;border-radius:0;background:#c9d1b7;
 box-shadow:inset 1px 1px #eff4db,inset -1px -1px #a1ae87;color:#34442d;
}
body[data-space-theme="plastic"] :is(.next-photo,.recording-controls .recording-play,.friend-link):hover{background:#d9e8bf;border-color:#456533}
body[data-space-theme="plastic"] .photo-window .win-content{background:#898f7d;box-shadow:inset 3px 3px #676e5c,inset -3px -3px #c5cab8;padding:10px}
body[data-space-theme="plastic"] .photo-window .win-content>img{box-shadow:0 2px 6px #20291e66}
body[data-space-theme="plastic"] .folders{
 display:flex;align-items:center;gap:6px;height:100px;padding:10px 12px;
 background:#bfc2b5;border:1px solid #7b866b;box-shadow:inset 1px 1px #eff1e2,inset -1px -1px #909683,0 5px 14px #1b2e232b;
 bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100vw - 24px);
}
body[data-space-theme="plastic"] .folders::before,body[data-space-theme="plastic"] .folders::after,body[data-space-theme="plastic"] .dock-reflection{display:none}
body[data-space-theme="plastic"] .folders .folder{
 flex:0 1 76px;width:76px;height:76px;padding:3px;background:#969f86;
 border:1px solid #68745a;border-radius:0;
 box-shadow:inset 1px 1px #798466,inset -1px -1px #dce1c8;
 transform:none;transition:background .12s,border-color .12s;
}
body[data-space-theme="plastic"] .folders .folder:hover,body[data-space-theme="plastic"] .folders .folder:focus-visible{
 background:#bccba0;border:1px solid #f2f5de;box-shadow:inset 1px 1px #869966,inset -1px -1px #e5efcb;
 outline:2px solid #344b25;outline-offset:0;
}
body[data-space-theme="plastic"] .folders .folder.is-open{border-color:#f5f6df;background:#b7c997;box-shadow:inset 1px 1px #809564,inset -1px -1px #e5efcb}
body[data-space-theme="plastic"] .folders .folder::after{display:none}
body[data-space-theme="plastic"] .folders .folder>.app-icon{width:100%;height:100%;object-fit:contain}
body[data-space-theme="plastic"] .folders .folder>span{
 bottom:calc(100% + 16px);font-size:12px;background:#eff0dc;color:#34442d;
 border:1px solid #4e5c43;border-radius:0;box-shadow:3px 3px 0 #23351f66;
 padding:6px 9px;white-space:nowrap;width:auto;
}
body[data-space-theme="plastic"] #desktop .topbar :is(.notification-center,.youtube-notification){
 border-radius:0;background:#eeeede;border:1px solid #77816a;box-shadow:var(--shadow);backdrop-filter:none;
}
body[data-space-theme="plastic"] .notification-center-header{background:#b8bcad;box-shadow:inset 0 3px #eff1e1}
body[data-space-theme="plastic"] .friend-link>img{content:url('/icons/plastic-friends.svg')}
body[data-space-theme="plastic"] :is(.recordings-toolbar,.recording-player,.model-toolbar,.readme-toolbar){background:#d7d9c8;border-color:#a7af94}
body[data-space-theme="plastic"] .readme-document{background:#f7f3dc}
body[data-space-theme="plastic"] .recording-wave{border-radius:0;background:#778a60}
body[data-space-theme="plastic"] .desktop-pet{filter:drop-shadow(3px 4px 0 #263c1f55)}
@media(max-width:600px),(max-height:500px) and (pointer:coarse){
 body.desktop-active[data-space-theme="plastic"]{background-position:59% center}
 body[data-space-theme="plastic"] #desktop .topbar{min-height:52px}
 body[data-space-theme="plastic"] .folders{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));width:calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right));gap:4px;padding:7px;height:auto;bottom:max(12px,env(safe-area-inset-bottom))}
 body[data-space-theme="plastic"] .folders .folder{width:100%;height:auto;min-height:44px;aspect-ratio:1;padding:2px}
 body[data-space-theme="plastic"] .folders .folder>.app-icon{width:100%;height:100%}
 body[data-space-theme="plastic"] .folders .folder>span{opacity:0;max-width:110px;white-space:normal;overflow-wrap:normal;font-size:11px;bottom:calc(100% + 13px)}
 body[data-space-theme="plastic"] .folders .folder:is(:hover,:focus-visible)>span{opacity:1}
 body[data-space-theme="plastic"] .folders .folder:first-child>span{left:0;transform:none}
 body[data-space-theme="plastic"] .folders .folder:last-child>span{left:auto;right:0;transform:none}
 body[data-space-theme="plastic"] .win-titlebar{min-height:48px}
 body[data-space-theme="plastic"] .win-controls{top:10px;gap:18px}
 body[data-space-theme="plastic"] .desktop-pet{bottom:calc(104px + env(safe-area-inset-bottom))}
}
@media(forced-colors:active){
 body[data-space-theme="plastic"]{--scene:Canvas;--shadow:none}
 body[data-space-theme="plastic"] :is(.topbar,.folders,.folder,.win-titlebar,.win-content,.win-status,.empty-copy){background:Canvas!important;color:CanvasText!important;box-shadow:none!important;border-color:CanvasText!important;text-shadow:none!important}
}
