/* A single material system: woven slate, enamel chrome, walnut and ivory paper. */
body[data-space-theme="ios6"]{
 --scene:url('textures/linen.svg') repeat,radial-gradient(ellipse at 50% 28%,#b9c5cd 0%,#97a9b7 48%,#718595 100%);
 --ink:#303e50;--muted:#637184;--surface:#fafaf7;--panel:#e7ebef;
 --bar:linear-gradient(#bac7d5 0%,#94a7be 49%,#879db7 50%,#7189a7 100%);
 --line:#9cabb9;--radius:8px;--shadow:0 14px 38px #25354350,0 1px 0 #ffffffb3 inset;
 --icon-filter:drop-shadow(0 2px 1px #23324470) drop-shadow(0 8px 5px #23324435);
}
body[data-space-theme="ios6"] #desktop .topbar{
 min-height:42px;padding:0 20px;gap:14px;border-bottom:1px solid #74899f;
 box-shadow:inset 0 1px #e8eff6, inset 0 -1px #bdd0df50,0 2px 6px #23334740;backdrop-filter:none;
}
body[data-space-theme="ios6"] #desktop .topbar :is(.brand,.menu-clock,button),
body[data-space-theme="ios6"] :is(.win-titlebar h2,.notification-center-header){color:#fff;text-shadow:0 -1px 1px #405773;font-weight:700}
body[data-space-theme="ios6"] #desktop .topbar .brand{font-size:17px;letter-spacing:-.5px}
body[data-space-theme="ios6"] #desktop .topbar .menu-clock{font-size:12px;font-weight:500;opacity:.9}
body[data-space-theme="ios6"] #desktop .topbar :is(#exit,.language-switch,.notification-bell){
 position:relative;min-height:30px;min-width:32px;padding:4px 9px;border:1px solid #7289a4;border-radius:5px;
 background:linear-gradient(#aabbd0,#8099b8 48%,#647fa3 49%,#728faf);
 box-shadow:inset 0 1px #e3edf699,inset 0 -1px #4c64805c,0 1px #e8eff680;font-size:12px;
}
body[data-space-theme="ios6"] #desktop .topbar :is(#exit,.language-switch,.notification-bell)::after{content:"";position:absolute;inset:-7px 0}
body[data-space-theme="ios6"] #desktop .topbar #exit span{padding:0}
body[data-space-theme="ios6"] #desktop .topbar #exit span[aria-hidden]{display:none}
body[data-space-theme="ios6"] #desktop .notification-bell svg{width:18px;height:18px}
body[data-space-theme="ios6"] #desktop .topbar :is(#exit,.language-switch,.notification-bell):active{background:linear-gradient(#48607f,#6b85a4);box-shadow:inset 0 2px 4px #283c5966;transform:none}
body[data-space-theme="ios6"] .notification-badge{background:linear-gradient(#ff8980,#e84238 48%,#c82722 49%,#e64c41);border:2px solid #fff;box-shadow:0 1px 3px #27384980}
/* Icons stand above a shallow shelf; the front edge carries its weight. */
body[data-space-theme="ios6"] .folders{height:122px;padding:0 25px 30px;gap:20px;bottom:max(14px,env(safe-area-inset-bottom))}
body[data-space-theme="ios6"] .folders::before{
 bottom:9px;height:65px;border:0;border-radius:3px;clip-path:polygon(3.5% 0,96.5% 0,100% 100%,0 100%);
 background:linear-gradient(#fff3,#fff0 20%,#613b162e),url('textures/walnut.svg') center/720px 128px;
 box-shadow:inset 0 2px #f7d5ad,inset 0 -1px #6d472e;backdrop-filter:none;
}
body[data-space-theme="ios6"] .folders::after{
 display:block;bottom:0;height:10px;border:1px solid #795032;border-top-color:#e3b682;border-radius:0 0 4px 4px;
 background:linear-gradient(#bd8958,#99663c 75%,#784d2e);box-shadow:0 2px 2px #fff2,0 6px 10px #23323d60;z-index:-1;
}
body[data-space-theme="ios6"] .folders .folder{height:80px}
body[data-space-theme="ios6"] .folders .folder>.app-icon{object-fit:contain}
body[data-space-theme="ios6"] .folders .dock-reflection{display:none}
body[data-space-theme="ios6"] .folders .folder>span{
 bottom:-14px;width:calc(100% + 14px);min-height:15px;padding:0;opacity:1;border:0;border-radius:0;background:none;box-shadow:none;
 font-size:11px;line-height:1.2;white-space:nowrap;overflow-wrap:normal;text-align:center;color:#fff9f0;font-weight:600;text-shadow:0 1px 2px #382716,0 1px #634123;
}
body[data-space-theme="ios6"] .folders .folder.is-open::after{bottom:-24px;top:auto;width:5px;height:3px;left:calc(50% - 2.5px);background:#e4faff;box-shadow:0 0 4px 1px #a8e3ff;opacity:1}
body[data-space-theme="ios6"] .folders .folder:focus-visible{outline:2px solid #f2f8ff;outline-offset:3px;border-radius:8px}
body[data-space-theme="ios6"] .desktop-pet{bottom:148px;filter:drop-shadow(0 4px 2px #2d3e4a55)}
/* Match the content furniture to the shell, including the language sheet. */
body[data-space-theme="ios6"] .win-titlebar{min-height:44px;border-color:#7f93aa;box-shadow:inset 0 1px #f1f6fc99}
body[data-space-theme="ios6"] .win-titlebar h2{font-size:15px}
body[data-space-theme="ios6"] .win-controls{top:10px}
body[data-space-theme="ios6"] .win-controls button{width:24px;height:24px;border-radius:5px;border:1px solid #4c6381;color:#fff;background:linear-gradient(#a8b8cd,#7891b1 48%,#5b779b 49%,#7892b4);box-shadow:inset 0 1px #e9f1fa99,0 1px #b9c8db;text-shadow:0 -1px #435975}
body[data-space-theme="ios6"] :is(.win-status,.recordings-toolbar,.model-toolbar,.readme-toolbar){background:linear-gradient(#f5f7f9,#dce2e8);box-shadow:inset 0 1px #fff;border-color:#b7c0c9}
body[data-space-theme="ios6"] :is(.next-photo,.recording-controls .recording-play){border:1px solid #8c9aad;border-radius:5px;background:linear-gradient(#fff,#e9edf2 48%,#dce2ea 49%,#eef1f6);box-shadow:inset 0 1px #fff,0 1px 2px #35435a22;text-shadow:0 1px #fff}
body[data-space-theme="ios6"] .readme-document{background:linear-gradient(90deg,transparent 29px,#d48e8e55 29px 30px,transparent 30px),repeating-linear-gradient(#fffae7 0 27px,#abb8ca55 27px 28px);padding:22px 24px 24px 42px}
body[data-space-theme="ios6"] .friend-link{background:linear-gradient(#fff,#f1f3f5);border:1px solid #b9c2cb;border-radius:8px;box-shadow:inset 0 1px #fff,0 1px 2px #35455918}
body[data-space-theme="ios6"] :is(.youtube-notification,.notification-center){background:linear-gradient(#fdfefe,#e9edf2);border-color:#7c8c9f;box-shadow:inset 0 1px #fff,0 8px 22px #293b5055;backdrop-filter:none}
body[data-space-theme="ios6"] .notification-center-header{background:var(--bar);border-color:#657b96}
body[data-space-theme="ios6"] #desktop .topbar :is(.notification-close,.notification-center-close){color:#4a5d73;background:none;box-shadow:none;border:0;text-shadow:none}
body[data-space-theme="ios6"] #desktop .topbar .notification-center-close{color:white}
body.desktop-active[data-space-theme="ios6"] #language-dialog{background:#e9edf2;border:1px solid #667e98;border-radius:9px;box-shadow:0 15px 60px #22364c66;backdrop-filter:none;color:var(--ink)}
body.desktop-active[data-space-theme="ios6"] #language-dialog .setup-titlebar{background:var(--bar);color:white;text-shadow:0 -1px #435773}
body.desktop-active[data-space-theme="ios6"] #language-dialog :is(.setup-body,.setup-footer){background:linear-gradient(#f8f9fb,#e7ebf0);color:var(--ink)}
@media(max-width:600px),(max-height:500px) and (pointer:coarse){
 body[data-space-theme="ios6"] #desktop .topbar{min-height:48px;padding:7px max(12px,env(safe-area-inset-right)) 7px max(12px,env(safe-area-inset-left));padding-top:calc(7px + env(safe-area-inset-top));gap:8px}
 body[data-space-theme="ios6"] #desktop .topbar .brand{font-size:16px}
 body[data-space-theme="ios6"] #desktop .topbar .menu-clock{font-size:11px}
 body[data-space-theme="ios6"] #desktop .topbar :is(#exit,.language-switch,.notification-bell){min-height:30px;min-width:32px;padding:4px 7px}
 body[data-space-theme="ios6"] .folders{width:calc(100vw - 12px - env(safe-area-inset-left) - env(safe-area-inset-right));max-width:480px;height:110px;padding:0 8px 34px;gap:6px;bottom:max(10px,env(safe-area-inset-bottom))}
 body[data-space-theme="ios6"] .folders::before{height:60px}
 body[data-space-theme="ios6"] .folders .folder{height:58px;min-height:44px}
 body[data-space-theme="ios6"] .folders .folder>.app-icon{width:min(52px,100%);height:auto;aspect-ratio:1}
 body[data-space-theme="ios6"] .folders .folder>span{bottom:-23px;width:calc(100% + 5px);min-height:24px;font-size:10px;line-height:12px;white-space:normal}
 body[data-space-theme="ios6"] .folders .folder.is-open::after{bottom:-29px}
 body[data-space-theme="ios6"] .desktop-pet{bottom:calc(127px + env(safe-area-inset-bottom));width:68px;height:68px}
 body[data-space-theme="ios6"] #desktop .desktop-window{border:1px solid #647a93;border-radius:8px}
 body[data-space-theme="ios6"] .win-titlebar{min-height:46px;padding-inline:90px}
 body[data-space-theme="ios6"] .win-controls{top:11px;gap:16px}
}
@media(max-width:360px){body[data-space-theme="ios6"] #desktop .topbar .menu-clock{display:none}body[data-space-theme="ios6"] #desktop .topbar .brand{margin-right:auto}body[data-space-theme="ios6"] .folders{gap:4px;padding-inline:6px}body[data-space-theme="ios6"] .folders .folder>span{font-size:9px}}
@media(max-height:500px) and (pointer:coarse){body[data-space-theme="ios6"] .folders{height:84px;padding-bottom:27px;max-width:440px}body[data-space-theme="ios6"] .folders::before{height:45px}body[data-space-theme="ios6"] .folders .folder{height:40px}body[data-space-theme="ios6"] .folders .folder>.app-icon{width:38px}body[data-space-theme="ios6"] .folders .folder>span{bottom:-18px;min-height:12px;white-space:nowrap;font-size:9px}body[data-space-theme="ios6"] .folders .folder.is-open::after{bottom:-23px}body[data-space-theme="ios6"] .desktop-pet{bottom:100px;width:50px;height:50px}}
@media(forced-colors:active){body[data-space-theme="ios6"]{--scene:Canvas}body[data-space-theme="ios6"] #desktop .topbar :is(.brand,.menu-clock,button),body[data-space-theme="ios6"] .win-titlebar h2,body[data-space-theme="ios6"] .folders .folder>span{color:CanvasText;text-shadow:none}body[data-space-theme="ios6"] .folders::before,body[data-space-theme="ios6"] .folders::after{background:Canvas;border:1px solid CanvasText;box-shadow:none}}
/* Material edition, based on the Notes / Find My Friends / wooden tray references. */
body[data-space-theme="ios6"]{
 --scene:radial-gradient(ellipse at 50% 18%,#fff1c515,transparent 80%),url('textures/golden-leather.png') 0 0/512px 512px repeat,#d9b064;
 --ink:#563713;--muted:#795a32;--surface:#ffefc6;--panel:#dcb575;--line:#a17a42;
 --bar:linear-gradient(#d1aa7780,#8d542db3),url('textures/leather.svg');
 --shadow:0 15px 40px #4b301f55,inset 0 1px #fff1bd;--radius:8px;
}
body[data-space-theme="ios6"] #desktop .topbar{
 background:linear-gradient(#b1896980,#68432fd9),url('textures/leather.svg');border-bottom:1px solid #51321f;
 min-height:52px;padding-bottom:8px;box-shadow:inset 0 1px #ebcda280,0 3px 5px #57361755;
}
body[data-space-theme="ios6"] #desktop .topbar::before{content:"";position:absolute;left:0;right:0;bottom:1px;height:10px;background:url('textures/stitch.svg') repeat-x;pointer-events:none}
body[data-space-theme="ios6"] #desktop .topbar :is(.brand,.menu-clock,button){color:#fff4d8;text-shadow:0 -1px #412518}
body[data-space-theme="ios6"] #desktop .topbar :is(#exit,.language-switch,.notification-bell){background:linear-gradient(#b18a6390,#614027ba),url('textures/leather.svg');border-color:#573b25;box-shadow:inset 0 1px #ebc79975,0 1px #e0b98760}
body[data-space-theme="ios6"] #desktop .topbar :is(#exit,.language-switch,.notification-bell):active{background:linear-gradient(#513222bb,#895a3488),url('textures/leather.svg')}
body[data-space-theme="ios6"] .folders::before{height:78px;bottom:8px;clip-path:none;border:1px solid #8e5a24;border-radius:10px 10px 5px 5px;background:linear-gradient(#6a3b1670,transparent 18%,#ffe1a31a 50%,#91501d4d),url('textures/walnut.svg') center/600px auto repeat,#c28a50;box-shadow:inset 0 3px 2px #ffe0a6,inset 4px 0 3px #ffe6ab70,inset -4px 0 3px #82502680,inset 0 12px 8px #62350e33,0 0 0 1px #edbf7a65}
body[data-space-theme="ios6"] .folders::after{height:13px;border-radius:0 0 7px 7px;background:linear-gradient(#e8bb77,#bd863f 45%,#9b652e);border-color:#855722;border-top:1px solid #ffe7ae;box-shadow:0 3px 4px #603d2855,0 8px 13px #66412366}
body[data-space-theme="ios6"] .folders .folder>span{color:#573411;text-shadow:0 1px #f8d99f;font-weight:700}
body[data-space-theme="ios6"] .win-titlebar{background:var(--bar);min-height:52px;padding-bottom:14px;border-color:#704b29;box-shadow:inset 0 1px #ffe6b2b0,0 1px 3px #62402255;z-index:1}
body[data-space-theme="ios6"] .win-titlebar::after{content:"";position:absolute;bottom:1px;left:0;right:0;height:10px;background:url('textures/stitch.svg') repeat-x;pointer-events:none}
body[data-space-theme="ios6"] .win-titlebar h2{color:#4e2c0d;text-shadow:0 1px #fbe3ad;font-size:17px;font-weight:700}
body[data-space-theme="ios6"] .win-controls{top:9px}
body[data-space-theme="ios6"] .win-controls button{background:linear-gradient(#fff1bd40,#6f421d40),url('textures/leather.svg');border-color:#8b6231;color:#603b18;box-shadow:inset 0 1px #fff1c5,0 1px #f3d99b;text-shadow:0 1px #efd099}
body[data-space-theme="ios6"] :is(.win-status,.recordings-toolbar,.model-toolbar){background:linear-gradient(#fff0c22e,#6d401821),url('textures/leather.svg');color:#64411c;border-color:#9c753d;box-shadow:inset 0 1px #ffe5af}
/* Notes is a legal pad with a dark leather binding, ruled sheets and double margin. */
body[data-space-theme="ios6"] .desktop-window[data-app="notes"]{border-color:#79502e;background:#fff3b2}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-titlebar{background:linear-gradient(#8b5d4890,#40251ce6),url('textures/leather.svg');min-height:56px;padding-bottom:8px;border-bottom:4px double #d2b77e;box-shadow:inset 0 1px #d4b19a,0 3px 5px #5c3f243d}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-titlebar::after{display:none}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-titlebar h2{color:#fff9e9;text-shadow:0 -1px #321d17}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-controls button{color:#fff3dc;background:linear-gradient(#91644d,#513022);border-color:#3e261c;box-shadow:inset 0 1px #b68d6a,0 1px #ad825c50;text-shadow:0 -1px #38231a}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-content{
 min-height:300px;background:linear-gradient(90deg,transparent 26px,#b47a6480 26px 27px,transparent 27px 30px,#b47a6480 30px 31px,transparent 31px),url('textures/paper.svg'),repeating-linear-gradient(transparent 0 31px,#a8a18280 31px 32px),linear-gradient(90deg,#f0df93,#fff8ba 12%,#fff6b2 92%,#ead88f);color:#403329;
}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .empty-copy{display:block;min-height:300px;margin:0;padding:39px 18px 25px 44px;font:22px/32px "Noteworthy","Marker Felt","Segoe Print",cursive;color:#635139;text-shadow:0 1px #fff9d5}
body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-status{background:url('textures/paper.svg'),#f5e6a2;color:#956638;border-top:1px solid #b8a56a;box-shadow:inset 0 1px #fff5b8;padding-left:32px}
/* A stitched address book, with a pressed leather emblem and inset contact card. */
body[data-space-theme="ios6"] .friends-window .win-titlebar{background:linear-gradient(#ffe9b533,#b982341f),url('textures/leather.svg')}
body[data-space-theme="ios6"] .friends-window .win-content{min-height:290px;background:radial-gradient(ellipse at 50% 25%,#ffe7aa44,transparent 80%),url('textures/leather.svg')}
body[data-space-theme="ios6"] .friends-list{padding:20px 22px 26px}
body[data-space-theme="ios6"] .friends-list::before{content:"";display:block;width:104px;height:104px;margin:0 auto 20px;background:url('icons/friends-ios6.svg') center/contain no-repeat;filter:drop-shadow(0 3px 3px #79502760)}
body[data-space-theme="ios6"] .friend-link{min-height:96px;position:relative;padding:15px 30px 15px 17px;border:1px solid #96703d;border-radius:7px;background:linear-gradient(#fff4ca90,#edce9180),url('textures/leather.svg');box-shadow:inset 0 2px 4px #77502355,0 1px #ffedbd;color:#593614}
body[data-space-theme="ios6"] .friend-link:hover{background:linear-gradient(#fff4cad0,#edce91b0),url('textures/leather.svg')}
body[data-space-theme="ios6"] .friend-link>img{display:none}
body[data-space-theme="ios6"] .friend-link::after{content:"›";position:absolute;right:13px;top:50%;transform:translateY(-50%);font:bold 30px Georgia;color:#8c6530;text-shadow:0 1px #fff0bd}
body[data-space-theme="ios6"] .friend-copy strong{font-size:21px;text-shadow:0 1px #ffe8b2}
body[data-space-theme="ios6"] .friend-domain{font-size:15px;color:#70532e}
body[data-space-theme="ios6"] .friend-hint{font-size:11px;color:#80623b}
body[data-space-theme="ios6"] .friends-window .win-status{position:relative;padding-top:16px;min-height:42px}
body[data-space-theme="ios6"] .friends-window .win-status::before{content:"";position:absolute;top:1px;left:0;right:0;height:10px;background:url('textures/stitch.svg') repeat-x}
/* Photos sit on album paper. The recorder has enamel and brushed metal controls. */
body[data-space-theme="ios6"] .photo-window .win-content{padding:15px;background:url('textures/paper.svg'),#eee6d4}
body[data-space-theme="ios6"] .photo-window .win-content>img{border:5px solid #fffdf5;box-shadow:0 2px 7px #60462850}
body[data-space-theme="ios6"] .readme-document{background:url('textures/paper.svg'),#fff9e8;font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.65;padding:24px 26px}
body[data-space-theme="ios6"] .recordings-window .win-content{background:url('textures/linen.svg'),linear-gradient(#4c5963,#313d48);color:#f4f0e5}
body[data-space-theme="ios6"] .recordings-window :is(.recording-title,.recording-select,.recording-row.selected .recording-title){color:#f7f3e9;text-shadow:0 -1px #17232e}
body[data-space-theme="ios6"] .recordings-window :is(.recording-duration,.recording-times,.recording-scrub-hint,.recording-message){color:#d0d6da}
body[data-space-theme="ios6"] .recording-row{border-color:#ffffff26}
body[data-space-theme="ios6"] .recording-player{background:transparent;color:#fff}
body[data-space-theme="ios6"] .recording-wave{border:1px solid #17232e;border-radius:5px;background:repeating-linear-gradient(0deg,transparent 0 23px,#c6d4df14 23px 24px),linear-gradient(#1d2b36,#33434f);box-shadow:inset 0 2px 6px #0006,0 1px #ffffff26}
body[data-space-theme="ios6"] .recording-wave::after{background:#df6351;box-shadow:0 0 4px #df635166}
body[data-space-theme="ios6"] .recording-controls .recording-play{border-radius:50%;border-color:#c5cbd0;background:radial-gradient(ellipse at 40% 20%,#fff8,transparent 65%),linear-gradient(#f5f5f2,#a8b0b6 48%,#e7ebed 51%,#b5bdc4);color:#37434c;box-shadow:inset 0 1px #fff,0 0 0 4px #202c35,0 4px 7px #0008}
@media(max-width:600px),(max-height:500px) and (pointer:coarse){
 body[data-space-theme="ios6"] #desktop .topbar{padding-bottom:14px;min-height:56px}
 body[data-space-theme="ios6"] #desktop .desktop-window{border-color:#8f683b}
 body[data-space-theme="ios6"] .folders::before{height:68px}
 body[data-space-theme="ios6"] .win-titlebar{min-height:54px;padding-bottom:15px}
 body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-content,body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .empty-copy{min-height:250px}
 body[data-space-theme="ios6"] .friends-window .win-content{min-height:250px}
 body[data-space-theme="ios6"] .friends-list{padding:16px 17px 22px}
 body[data-space-theme="ios6"] .friends-list::before{width:90px;height:90px;margin-bottom:16px}
}
@media(max-height:500px) and (pointer:coarse){body[data-space-theme="ios6"] .folders::before{height:48px}body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .win-content,body[data-space-theme="ios6"] .desktop-window[data-app="notes"] .empty-copy,body[data-space-theme="ios6"] .friends-window .win-content{min-height:80px}body[data-space-theme="ios6"] .friends-list::before{display:none}}
@media(forced-colors:active){body[data-space-theme="ios6"]{--scene:Canvas}body[data-space-theme="ios6"] :is(.win-titlebar::after,.friends-list::before,.friends-window .win-status::before),body[data-space-theme="ios6"] #desktop .topbar::before{display:none}body[data-space-theme="ios6"] :is(.win-titlebar,.win-content,.empty-copy,.win-status,.friend-link,.folders::before,.folders::after){background:Canvas!important;color:CanvasText!important;text-shadow:none!important}}
