:root{
    --accent:#8b5cf6;
    --accent2:#6d28d9;
    --bg:#07080d;
    --panel:rgba(17,18,27,.76);
    --panel2:rgba(25,26,38,.86);
    --glass:rgba(255,255,255,.065);
    --glass2:rgba(255,255,255,.1);
    --border:rgba(255,255,255,.1);
    --text:#f7f7fb;
    --muted:#9295a5;
    --danger:#ef4444;
    --success:#22c55e;
    --shadow:0 25px 80px rgba(0,0,0,.45);
    --blur:24px;
    --radius:18px;
    --taskbar:68px;
    --scale:1;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{
    box-sizing:border-box;
}

html,body{
    width:100%;
    height:100%;
    margin:0;
    overflow:hidden;
    background:var(--bg);
    color:var(--text);
}

button,input,textarea{
    font:inherit;
}

button{
    border:0;
    color:inherit;
    cursor:pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible{
    outline:2px solid var(--accent);
    outline-offset:2px;
}

.hidden{
    display:none!important;
}

/* BOOT */

#boot{
    position:fixed;
    inset:0;
    z-index:999999;
    background:#050509;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    transition:opacity .7s ease,visibility .7s;
}

#boot.done{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.boot-logo{
    width:76px;
    height:76px;
    border:2px solid var(--accent);
    border-radius:23px;
    display:grid;
    place-items:center;
    font-size:42px;
    font-weight:900;
    box-shadow:0 0 60px color-mix(in srgb,var(--accent),transparent 55%);
    animation:bootPulse 1.4s infinite alternate;
}

.boot-name{
    margin-top:20px;
    font-size:30px;
    font-weight:800;
    letter-spacing:8px;
}

.boot-sub{
    margin-top:7px;
    color:#77798a;
    font-size:10px;
    letter-spacing:4px;
}

.boot-bar{
    width:170px;
    height:3px;
    background:#1c1d27;
    border-radius:9px;
    margin-top:32px;
    overflow:hidden;
}

.boot-bar i{
    display:block;
    height:100%;
    width:0;
    background:var(--accent);
    animation:bootLoad 1.8s ease forwards;
}

@keyframes bootLoad{
    to{width:100%}
}

@keyframes bootPulse{
    from{transform:scale(.97);box-shadow:0 0 20px transparent}
    to{transform:scale(1.03);box-shadow:0 0 70px color-mix(in srgb,var(--accent),transparent 55%)}
}

/* DESKTOP */

#desktop{
    position:fixed;
    inset:0;
    overflow:hidden;
    background:
        radial-gradient(circle at 15% 20%,rgba(139,92,246,.13),transparent 28%),
        radial-gradient(circle at 80% 80%,rgba(6,182,212,.08),transparent 30%),
        #07080d;
}

.aurora{
    position:absolute;
    width:50vw;
    height:50vw;
    border-radius:50%;
    filter:blur(110px);
    opacity:.12;
    pointer-events:none;
    animation:aurora 20s ease-in-out infinite alternate;
}

.a1{
    background:var(--accent);
    left:-15vw;
    top:-15vw;
}

.a2{
    background:#06b6d4;
    right:-20vw;
    bottom:-20vw;
    animation-delay:-7s;
}

.a3{
    background:#ec4899;
    left:40%;
    top:30%;
    width:25vw;
    height:25vw;
    animation-delay:-13s;
}

@keyframes aurora{
    from{transform:translate3d(0,0,0) scale(1)}
    to{transform:translate3d(5vw,-3vw,0) scale(1.2)}
}

.noise{
    position:absolute;
    inset:0;
    opacity:.025;
    pointer-events:none;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* TOP BAR */

#topbar{
    position:absolute;
    z-index:20;
    left:14px;
    right:14px;
    top:12px;
    height:38px;
    display:flex;
    align-items:center;
    padding:0 10px;
    border:1px solid var(--border);
    border-radius:14px;
    background:rgba(10,11,17,.45);
    backdrop-filter:blur(18px);
}

#aerisBtn{
    background:transparent;
    font-weight:800;
    letter-spacing:2px;
}

#workspaceName{
    margin-left:18px;
    color:var(--muted);
    font-size:12px;
}

.top-center{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    font-weight:700;
    font-size:13px;
}

.top-status{
    margin-left:auto;
    display:flex;
    gap:12px;
    color:var(--muted);
    font-size:11px;
}

#onlineDot{
    color:var(--success);
}

/* WIDGET */

#desktopWidget{
    position:absolute;
    right:38px;
    top:105px;
    text-align:right;
    user-select:none;
}

#widgetTime{
    font-size:52px;
    line-height:1;
    font-weight:700;
    letter-spacing:-3px;
}

#widgetDate{
    margin-top:8px;
    color:var(--muted);
    font-size:13px;
}

.widget-line{
    height:1px;
    width:100%;
    margin:14px 0;
    background:var(--border);
}

#widgetInfo{
    color:var(--accent);
    font-size:9px;
    letter-spacing:3px;
}

/* DESKTOP ICONS */

#desktopIcons{
    position:absolute;
    inset:70px 0 var(--taskbar) 0;
    pointer-events:none;
}

.desktop-icon{
    position:absolute;
    width:90px;
    height:90px;
    border-radius:16px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    pointer-events:auto;
    background:transparent;
    transition:.15s;
}

.desktop-icon:hover{
    background:rgba(255,255,255,.07);
}

.desktop-icon .icon{
    width:43px;
    height:43px;
    border-radius:13px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,var(--glass2),var(--glass));
    border:1px solid var(--border);
    font-size:21px;
}

.desktop-icon span:last-child{
    font-size:11px;
    text-shadow:0 2px 8px #000;
}

/* WINDOWS */

#windows{
    position:absolute;
    inset:0 0 var(--taskbar) 0;
    pointer-events:none;
}

.window{
    position:absolute;
    min-width:320px;
    min-height:220px;
    width:760px;
    height:520px;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:var(--panel);
    box-shadow:var(--shadow);
    backdrop-filter:blur(var(--blur)) saturate(140%);
    pointer-events:auto;
    display:flex;
    flex-direction:column;
    transform-origin:center;
    animation:windowOpen .18s ease;
}

.window.solid{
    background:#11121a;
    backdrop-filter:none;
}

.window.minimized{
    display:none;
}

.window.maximized{
    left:12px!important;
    top:55px!important;
    width:calc(100% - 24px)!important;
    height:calc(100% - 67px)!important;
}

@keyframes windowOpen{
    from{
        opacity:0;
        transform:scale(.96) translateY(8px);
    }
}

.titlebar{
    height:46px;
    flex:0 0 46px;
    display:flex;
    align-items:center;
    padding:0 10px 0 15px;
    border-bottom:1px solid var(--border);
    background:rgba(255,255,255,.025);
    cursor:default;
    user-select:none;
}

.window-icon{
    width:28px;
    height:28px;
    border-radius:8px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.07);
    margin-right:9px;
}

.window-title{
    font-size:12px;
    font-weight:700;
}

.win-controls{
    display:flex;
    margin-left:auto;
    gap:4px;
}

.win-controls button{
    width:29px;
    height:29px;
    border-radius:8px;
    background:transparent;
    color:var(--muted);
}

.win-controls button:hover{
    background:var(--glass2);
    color:var(--text);
}

.win-controls .close:hover{
    background:var(--danger);
    color:white;
}

.window-content{
    flex:1;
    overflow:auto;
    min-height:0;
}

/* TASKBAR */

#taskbar{
    position:absolute;
    z-index:5000;
    left:12px;
    right:12px;
    bottom:10px;
    height:var(--taskbar);
    display:flex;
    align-items:center;
    gap:7px;
    padding:7px;
    border:1px solid var(--border);
    border-radius:20px;
    background:rgba(10,11,17,.72);
    backdrop-filter:blur(25px);
    box-shadow:0 15px 50px rgba(0,0,0,.35);
}

.task-icon{
    width:52px;
    height:52px;
    border-radius:15px;
    background:transparent;
    display:grid;
    place-items:center;
    color:var(--muted);
    transition:.15s;
}

.task-icon:hover{
    background:var(--glass2);
    color:var(--text);
}

.aeris-symbol{
    font-weight:900;
    font-size:22px;
    color:var(--accent);
}

#taskApps{
    display:flex;
    gap:5px;
    overflow:auto;
    scrollbar-width:none;
}

#taskApps::-webkit-scrollbar{
    display:none;
}

.task-app{
    min-width:47px;
    height:47px;
    border-radius:13px;
    background:transparent;
    position:relative;
    font-size:19px;
}

.task-app:hover{
    background:var(--glass2);
}

.task-app.active::after{
    content:"";
    position:absolute;
    bottom:3px;
    left:50%;
    transform:translateX(-50%);
    width:15px;
    height:3px;
    border-radius:5px;
    background:var(--accent);
}

.task-spacer{
    flex:1;
}

.tray{
    height:48px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 10px;
    color:var(--muted);
    font-size:11px;
}

/* PANELS */

.panel{
    position:absolute;
    z-index:9000;
    border:1px solid var(--border);
    border-radius:22px;
    background:rgba(13,14,21,.86);
    backdrop-filter:blur(30px);
    box-shadow:0 30px 100px rgba(0,0,0,.5);
}

/* START */

#startMenu{
    left:14px;
    bottom:88px;
    width:430px;
    padding:17px;
}

.start-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.start-head b{
    display:block;
    letter-spacing:2px;
}

.start-head small{
    color:var(--muted);
}

.start-head button{
    width:34px;
    height:34px;
    border-radius:10px;
    background:var(--glass);
}

.start-search,
.spot-head{
    margin-top:17px;
    height:43px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 13px;
    border:1px solid var(--border);
    border-radius:13px;
    background:rgba(255,255,255,.04);
}

.start-search input,
.spot-head input{
    width:100%;
    background:transparent;
    border:0;
    outline:0;
    color:var(--text);
}

#appGrid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:7px;
    margin-top:15px;
    max-height:330px;
    overflow:auto;
}

.start-app{
    min-height:78px;
    border-radius:14px;
    background:transparent;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
}

.start-app:hover{
    background:var(--glass2);
}

.start-app .app-icon{
    font-size:23px;
}

.start-app small{
    color:var(--muted);
    font-size:10px;
}

.start-footer{
    margin-top:13px;
    padding-top:12px;
    border-top:1px solid var(--border);
    display:flex;
    justify-content:space-between;
    color:var(--muted);
    font-size:10px;
}

/* SPOTLIGHT */

#spotlight{
    width:min(650px,calc(100% - 30px));
    left:50%;
    top:17%;
    transform:translateX(-50%);
    padding:13px;
}

.spot-head{
    margin:0;
}

.spot-head kbd{
    font-size:10px;
    color:var(--muted);
}

#spotResults{
    margin-top:8px;
    max-height:420px;
    overflow:auto;
}

.spot-result{
    width:100%;
    padding:12px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:12px;
    background:transparent;
    text-align:left;
}

.spot-result:hover,
.spot-result.selected{
    background:var(--glass2);
}

/* CONTROL */

#controlCenter{
    right:14px;
    bottom:88px;
    width:340px;
    padding:17px;
}

.cc-title{
    font-weight:800;
    margin-bottom:13px;
}

.cc-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}

.cc-grid button{
    min-height:85px;
    border-radius:15px;
    background:var(--glass);
    border:1px solid var(--border);
    text-align:left;
    padding:13px;
}

.cc-grid button:hover{
    background:var(--glass2);
}

.cc-grid strong{
    display:block;
    color:var(--accent);
    font-size:18px;
}

.cc-grid span{
    display:block;
    margin-top:6px;
    font-size:12px;
}

.cc-grid small{
    color:var(--muted);
}

.cc-section{
    margin-top:18px;
}

.cc-section label{
    color:var(--muted);
    font-size:10px;
    display:block;
    margin-bottom:9px;
}

#brightness{
    width:100%;
}

.accents{
    display:flex;
    gap:10px;
}

.accents button{
    width:28px;
    height:28px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.25);
}

.accents button:nth-child(1){background:#8b5cf6}
.accents button:nth-child(2){background:#06b6d4}
.accents button:nth-child(3){background:#ef4444}
.accents button:nth-child(4){background:#22c55e}
.accents button:nth-child(5){background:#f59e0b}

/* NOTIFICATIONS */

#notifications{
    position:absolute;
    z-index:8000;
    top:62px;
    right:14px;
    width:340px;
    max-height:calc(100% - 150px);
    overflow:auto;
    display:none;
}

#notifications.open{
    display:block;
}

.notif-head{
    display:flex;
    justify-content:space-between;
    padding:15px;
    border-bottom:1px solid var(--border);
}

.notif-head button{
    background:transparent;
    color:var(--muted);
}

.notification{
    margin:8px;
    padding:13px;
    border-radius:13px;
    background:var(--glass);
}

.notification b{
    display:block;
    font-size:12px;
}

.notification p{
    margin:5px 0 0;
    color:var(--muted);
    font-size:11px;
}

/* CONTEXT */

#contextMenu{
    position:fixed;
    z-index:99999;
    width:200px;
    padding:7px;
    display:none;
    border:1px solid var(--border);
    border-radius:14px;
    background:rgba(15,16,24,.94);
    backdrop-filter:blur(25px);
    box-shadow:var(--shadow);
}

#contextMenu.open{
    display:block;
}

#contextMenu button{
    width:100%;
    text-align:left;
    padding:10px;
    border-radius:9px;
    background:transparent;
    font-size:12px;
}

#contextMenu button:hover{
    background:var(--glass2);
}

#contextMenu hr{
    border:0;
    border-top:1px solid var(--border);
}

/* LOCK */

#lockScreen{
    position:absolute;
    inset:0;
    z-index:100000;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:#05060a;
}

.lock-blur{
    position:absolute;
    inset:-20%;
    background:
        radial-gradient(circle at 30% 30%,var(--accent),transparent 25%),
        radial-gradient(circle at 70% 70%,#06b6d4,transparent 25%);
    filter:blur(100px);
    opacity:.16;
}

.lock-content{
    position:relative;
    text-align:center;
}

#lockTime{
    font-size:86px;
    font-weight:700;
    letter-spacing:-5px;
}

#lockDate{
    color:var(--muted);
    margin:8px 0 28px;
}

#unlockButton{
    padding:12px 22px;
    border-radius:12px;
    background:var(--accent);
    color:white;
}

/* APP COMMON */

.app{
    height:100%;
    display:flex;
    flex-direction:column;
    min-height:0;
}

.app-toolbar{
    min-height:50px;
    padding:8px 12px;
    display:flex;
    align-items:center;
    gap:7px;
    border-bottom:1px solid var(--border);
}

.app-toolbar button,
.toolbar-btn{
    padding:8px 10px;
    border-radius:9px;
    background:var(--glass);
}

.app-toolbar button:hover{
    background:var(--glass2);
}

.app-input{
    flex:1;
    min-width:0;
    background:var(--glass);
    border:1px solid var(--border);
    color:var(--text);
    border-radius:9px;
    padding:9px 11px;
    outline:0;
}

/* FILES */

.files-layout{
    display:grid;
    grid-template-columns:180px 1fr;
    height:100%;
}

.file-sidebar{
    padding:12px;
    border-right:1px solid var(--border);
}

.file-side-item{
    width:100%;
    text-align:left;
    padding:10px;
    border-radius:9px;
    background:transparent;
    color:var(--muted);
}

.file-side-item:hover,
.file-side-item.active{
    background:var(--glass2);
    color:var(--text);
}

.file-main{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.file-path{
    color:var(--muted);
    font-size:11px;
}

.file-grid{
    flex:1;
    padding:16px;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(100px,1fr));
    gap:10px;
    overflow:auto;
}

.file-item{
    min-height:100px;
    border-radius:14px;
    background:transparent;
    border:1px solid transparent;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
}

.file-item:hover{
    background:var(--glass);
    border-color:var(--border);
}

.file-item .file-icon{
    font-size:29px;
}

.file-item small{
    color:var(--muted);
    max-width:90px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* TERMINAL */

.terminal{
    height:100%;
    background:#050609;
    color:#d5d7e3;
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    padding:14px;
    overflow:auto;
    font-size:12px;
}

.terminal-line{
    white-space:pre-wrap;
    line-height:1.6;
}

.term-green{
    color:#4ade80;
}

.term-purple{
    color:var(--accent);
}

.terminal-input-row{
    display:flex;
    align-items:center;
}

.terminal-prompt{
    color:#4ade80;
    white-space:nowrap;
}

.terminal-input{
    flex:1;
    background:transparent;
    border:0;
    outline:0;
    color:white;
    font:inherit;
    min-width:0;
}

/* EDITOR */

.editor{
    height:100%;
    display:flex;
    flex-direction:column;
}

.editor textarea{
    flex:1;
    resize:none;
    border:0;
    outline:0;
    background:#08090e;
    color:#dfe1ea;
    padding:18px;
    font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;
}

/* BROWSER */

.browser{
    height:100%;
    display:flex;
    flex-direction:column;
}

.browser-tabs{
    display:flex;
    align-items:center;
    height:37px;
    padding:4px 8px;
    gap:4px;
    border-bottom:1px solid var(--border);
}

.browser-tab{
    height:29px;
    min-width:130px;
    max-width:190px;
    border-radius:8px;
    background:var(--glass);
    padding:0 10px;
    display:flex;
    align-items:center;
    gap:7px;
    font-size:10px;
}

.browser-tab span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.browser-bar{
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px;
    border-bottom:1px solid var(--border);
}

.browser-nav{
    width:31px;
    height:31px;
    border-radius:8px;
    background:var(--glass);
}

.browser-address{
    flex:1;
    min-width:0;
    height:31px;
    border:1px solid var(--border);
    background:var(--glass);
    color:var(--text);
    border-radius:9px;
    padding:0 11px;
    outline:0;
}

.browser-page{
    flex:1;
    min-height:0;
    background:white;
    position:relative;
}

.browser-home{
    width:100%;
    height:100%;
    background:#0b0c12;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.browser-home h1{
    font-size:50px;
    margin:0;
    color:var(--accent);
}

.browser-home p{
    color:#777;
}

.browser-frame{
    width:100%;
    height:100%;
    border:0;
    background:white;
}

/* CALCULATOR */

.calculator{
    height:100%;
    display:flex;
    flex-direction:column;
    padding:15px;
    gap:12px;
}

.calc-display{
    min-height:90px;
    border-radius:16px;
    background:#08090d;
    border:1px solid var(--border);
    padding:18px;
    text-align:right;
    font-size:34px;
    display:flex;
    align-items:end;
    justify-content:flex-end;
    overflow:hidden;
}

.calc-grid{
    flex:1;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:7px;
}

.calc-grid button{
    border-radius:13px;
    background:var(--glass);
    border:1px solid var(--border);
    font-size:16px;
}

.calc-grid button:hover{
    background:var(--glass2);
}

.calc-grid .equal{
    background:var(--accent);
}

/* MUSIC */

.music{
    height:100%;
    padding:20px;
    display:grid;
    grid-template-columns:230px 1fr;
    gap:22px;
}

.album{
    aspect-ratio:1;
    border-radius:22px;
    background:
        radial-gradient(circle at 35% 30%,#fff2,transparent 12%),
        linear-gradient(145deg,var(--accent),#111);
    display:grid;
    place-items:center;
    font-size:60px;
    box-shadow:0 20px 60px #0006;
}

.music-info h2{
    margin-top:0;
}

.music-info p{
    color:var(--muted);
}

.music-controls{
    display:flex;
    gap:10px;
    margin-top:25px;
}

.music-controls button{
    width:43px;
    height:43px;
    border-radius:50%;
    background:var(--glass);
}

.music-controls .play{
    background:var(--accent);
}

.music-range{
    width:100%;
    margin-top:25px;
}

/* GALLERY */

.gallery{
    height:100%;
    display:flex;
    flex-direction:column;
}

.gallery-grid{
    flex:1;
    padding:15px;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
    gap:10px;
    overflow:auto;
}

.gallery-item{
    aspect-ratio:1;
    border-radius:13px;
    overflow:hidden;
    background:var(--glass);
    border:1px solid var(--border);
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* CALENDAR */

.calendar{
    padding:18px;
}

.calendar-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.calendar-head button{
    background:var(--glass);
    border-radius:9px;
    width:35px;
    height:35px;
}

.calendar-grid{
    margin-top:18px;
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:5px;
}

.calendar-grid div{
    min-height:45px;
    border-radius:8px;
    display:grid;
    place-items:center;
}

.calendar-week{
    color:var(--muted);
    font-size:10px;
}

.calendar-day{
    background:rgba(255,255,255,.025);
}

.calendar-day.today{
    background:var(--accent);
    color:white;
}

/* SETTINGS */

.settings{
    padding:18px;
    overflow:auto;
}

.settings h2{
    margin-top:0;
}

.setting-card{
    padding:16px;
    border:1px solid var(--border);
    border-radius:15px;
    background:var(--glass);
    margin-bottom:10px;
}

.setting-card b{
    display:block;
    margin-bottom:6px;
}

.setting-card small{
    color:var(--muted);
}

.setting-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

.toggle{
    width:46px;
    height:26px;
    border-radius:20px;
    background:#30313b;
    padding:3px;
}

.toggle i{
    display:block;
    width:20px;
    height:20px;
    border-radius:50%;
    background:white;
    transition:.2s;
}

.toggle.on{
    background:var(--accent);
}

.toggle.on i{
    transform:translateX(20px);
}

/* TASK MANAGER */

.process-list{
    padding:12px;
}

.process{
    display:grid;
    grid-template-columns:1fr 70px 80px 80px;
    align-items:center;
    gap:10px;
    padding:11px;
    border-bottom:1px solid var(--border);
    font-size:11px;
}

.process button{
    background:var(--glass);
    border-radius:7px;
    padding:5px;
}

.process-head{
    color:var(--muted);
}

/* SYSTEM */

.system{
    padding:18px;
    overflow:auto;
}

.system-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.system-card{
    padding:16px;
    border:1px solid var(--border);
    border-radius:15px;
    background:var(--glass);
}

.system-card small{
    color:var(--muted);
}

.system-card strong{
    display:block;
    margin-top:6px;
    font-size:18px;
}

/* SCROLLBARS */

*{
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.16) transparent;
}

::-webkit-scrollbar{
    width:7px;
    height:7px;
}

::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.14);
    border-radius:20px;
}

/* RESPONSIVE */

@media(max-width:800px){

    #topbar{
        left:7px;
        right:7px;
        top:7px;
    }

    #workspaceName,
    .top-status{
        display:none;
    }

    #desktopWidget{
        right:18px;
        top:75px;
    }

    #widgetTime{
        font-size:38px;
    }

    .window{
        min-width:0;
        width:calc(100% - 14px)!important;
        height:calc(100% - 90px)!important;
        left:7px!important;
        top:50px!important;
        border-radius:15px;
    }

    .files-layout{
        grid-template-columns:1fr;
    }

    .file-sidebar{
        display:none;
    }

    #startMenu{
        left:7px;
        right:7px;
        bottom:82px;
        width:auto;
    }

    #controlCenter{
        right:7px;
        bottom:82px;
        width:calc(100% - 14px);
    }

    .music{
        grid-template-columns:1fr;
        overflow:auto;
    }

    .album{
        width:180px;
        margin:auto;
    }

    .system-grid{
        grid-template-columns:1fr;
    }

    .process{
        grid-template-columns:1fr 60px;
    }

    .process span:nth-child(3),
    .process button:nth-child(4){
        display:none;
    }

    .tray span:not(:last-child){
        display:none;
    }
}

@media(max-width:480px){

    #taskbar{
        left:5px;
        right:5px;
        bottom:5px;
        height:60px;
        border-radius:17px;
    }

    .task-icon{
        width:44px;
        height:44px;
    }

    .tray{
        padding:0 5px;
    }

    #appGrid{
        grid-template-columns:repeat(3,1fr);
    }

    .window{
        height:calc(100% - 75px)!important;
        top:45px!important;
    }

    .titlebar{
        height:42px;
        flex-basis:42px;
    }

    .win-controls button:nth-child(2){
        display:none;
    }
}

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        animation-duration:.001ms!important;
        transition-duration:.001ms!important;
    }

    .aurora{
        animation:none;
    }
}