:root {
    --accent: #008bb6;
    --desktop-text: #222222;
    --panel-text: #222222;
    --topbar-bg: rgba(255, 250, 250, 0.5);
    --panel-bg: rgba(255, 250, 250, 0.6);
    --dock-bg: rgba(250, 250, 250, 0.75);
    --hover-bg: rgba(0, 0, 0, 0.08);
    --button-bg: rgba(10, 10, 10, 0.06);
    --dock-border: rgba(255, 255, 255, 0.18);
    --topbar-height:32px;
    --dock-height:85px;
    --pr-bg:hsla(0, 0%, 19%, 0.08);
    --nxt-wall:black;
    --active-bg:rgba(250, 250, 250, 0.85);
    --active-hv:rgba(250, 250, 250, 0.5);
    --accent2: rgba(152, 227, 250, 1);
    .dark-mode {
    --desktop-text: #ffffff;
    --panel-text: #ffffff;
    --hover-bg: rgba(255, 255, 255, 0.10);
    --topbar-bg: rgba(20, 20, 24, 0.5);
    --panel-bg: rgba(25, 25, 30, 0.6);
    --dock-bg: rgba(25, 25, 30, 0.75);
    --active-bg: rgba(25, 25, 30, 0.85);
    --active-hv: rgba(25, 25, 30, 0.5);
    --button-bg: rgba(255, 255, 255, 0.06);
    --dock-border: rgba(0, 0, 0, 0.18);
    --pr-bg:rgba(218, 218, 218, 0.08);
}
}
.tb,.dk,.settings-panel,.wpicker,.clpl,.wintit,.winbtn,.logo,.app,.ct,.ca button,.clh,.ls,.lb,.lc,.os-name,.lcl,.dt {
    user-select: none;
    -webkit-user-select: none;
}
* {
    box-sizing: border-box;
}
body,
.tb,
.dk,
.settings-panel,
.wpicker,
.wtp,
.clpl,
.appwin,
.sysinfoc,
.lm,
.caltc,
.cadis,
.calbtn button,
.gcr,
.wintit,
.winbtn,
.ca button,
.ct,
.inf div,
.anc,
#note,
.wth-set input {
    transition:
        background-color 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    overflow: hidden;
}

.ls {
    position:fixed;
    inset:0;
    height:100%;
    width:100%;
    visibility: visible;
    align-items: center;
    justify-content: center;
    color:white;
    background: linear-gradient(75deg,var(--accent) 0%, var(--accent2) 30%, rgba(241, 214, 193, 1) 60%, rgba(255, 196, 171, 1) 80%, rgba(245, 164, 107, 1) 100%);
    transition:opacity 0.4s ease, transform 0.4s cubic-bezier(0.2,0.8,0.2,1), filter 0.4s ease, visibility 0.4s ease;
    z-index:1000;
}
.ls.login{
    opacity:0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2,0.8,0.2,1), filter 0.4s ease, visibility 0.4s ease;
    z-index:1000;
}
.ls.inactive{
    opacity:0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2,0.8,0.2,1), filter 0.4s ease, visibility 0.4s ease;
}
.lc {
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    text-align: center;
}

.os-name {
    text-shadow:0 2px 4px rgba(0,0,0,0.2);
    margin: 0 0 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    opacity: 0;
    animation:ls-fade 1.2s ease-out 1.5s both;
}

.lc h1 {
    text-shadow:0 2px 4px rgba(0,0,0,0.2);
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    opacity:0;
    animation:ls-wlcm 1s cubic-bezier(0.2,0.8,0.2,1) 1s both;
}

.lc h2 {
    text-shadow:0 2px 4px rgba(0,0,0,0.2);
    margin: 5px 0 30px;
    font-size: 48px;
    font-weight: 700;
    opacity:0;
    animation: ls-fade 1s ease-out 1s both;
}

#lb {
    text-shadow:0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    padding: 14px 24px;
    border-radius: 24px;
    border:none;
    background: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transform:translateY(0);
    transition:
        transform 0.15s ease,
        filter 0.15s ease;
    opacity:1;
}
.lb-cv{
    opacity:0;
    animation:ls-con 1s cubic-bezier(0.2,0.8,0.2,1) 2s both;
}
#lb svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    margin-left: 2px;
    width:16px;
    height:16px;
    vertical-align: bottom;
    margin-bottom:1.5px;
}
#lb:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

#lb:active {
    transform: scale(0.9);
}

.lcl {
    text-shadow:0 2px 4px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 500;
    opacity: 0;
    animation: ls-fade 1.1s ease-out 2.5s both;
}
.dt
{
    position: fixed;
    isolation: isolate;
    inset:0;
    width:100%;
    height:100vh;
    background-image:url("assets/wallpapers/wallpaper2.jpg");
    background-size:cover;
    background-position:center;
    overflow:hidden;
    opacity:0;
    transform:scale(1.02);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 2.2s ease, transform 2.4s cubic-bezier(0.2,0.8,0.2,1), visibility 2.4s ease;
    z-index:500;
}
.dt.login{
    opacity:1;
    transform: scale(1);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 2.2s ease, transform 2.4s cubic-bezier(0.2,0.8,0.2,1), visibility 2.4s ease;
}
.dt::before{
    content:"";
    position: absolute;
    inset:0;
    background-image: var(--nxt-wall);
    background-size:cover;
    background-position: center;
    opacity:0;
    z-index:-1;
    transition:opacity 0.5s ease;
    pointer-events: none;
}
.dt.wp-ch::before{
    opacity:1;
}
.tb
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 14px;
    background:var(--topbar-bg);
    backdrop-filter:blur(28px) saturate(140%);
    color:var(--desktop-text);
    z-index:100;
}
.left{
    display:flex;
    align-items:center;
    gap:6px;
}
.logo{
    box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.15);
    border:1px solid var(--accent);
    width:24px;
    height:24px;
    border-radius:20px;
    color:white;
    background: linear-gradient(30deg, var(--accent) 0%, var(--accent2) 50%,rgba(255, 196, 171, 1) 80%, rgba(245, 164, 107, 1) 100%);
    font-family: 'Merienda', cursive;
    text-shadow:0 2px 4px rgba(0,0,0,0.2);
    font-size:11px;
    font-weight:700;
    cursor:pointer;
    transition:filter 0.2s ease, transform 0.2s ease, background 200ms ease;
}
.logo:hover{
    filter:brightness(1.2);
}
.logo.active{
    transform:scale(0.8);
}
.ost{
    font-size:12px;
    font-weight:600;
    border:none;
    padding: 3px 6px;
    background:transparent;
    border-radius:24px;
}
.ost:hover{
    background:var(--hover-bg)
}
.tc.active,.wb.active,.settings.active{
    background:var(--pr-bg)
}
.tc{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    border:none;
    background:transparent;
    padding:3px 6px;
    border-radius: 24px;
    font-size: 12px;
    cursor:pointer;
    transition: background 0.15s ease;
    color: var(--desktop-text);
    font-weight:600;
}
.tc:hover{
    background:var(--hover-bg);
}
.right{
    display:flex;
    align-items:center;
    gap:8px;
}
.wb,.settings{
    border:none;
    background:transparent;
    padding:3px 6px;
    border-radius: 24px;
    font-size: 12px;
    cursor:pointer;
    transition: background 0.15s ease;
    color: var(--desktop-text);
}
.wb:hover,.settings:hover{
    background:var(--hover-bg);
}
.settings{
    width:30px;
    height:28px;
    display:flex;
    align-items: center;
    justify-content: center;
}
.settings svg{
    width:16px;
    height:16px;
    display: block;
    fill: currentColor;
}
.dk{
    position:absolute;
    left:50%;
    bottom: 10px;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 24px;
    background: var(--dock-bg);
    backdrop-filter: blur(20px);
    border:1px solid var(--dock-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 100;
}
.app{
    position:relative;
    width: 48px;
    height: 48px;
    border:none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: 
    transform 0.15s ease,
    background 0.15s ease;
}
.app img{
    width:32px;
    height:32px;
    object-fit: contain;
    display: block;
    margin:auto;
}
.app::after{
    content:"";
    position:absolute;
    bottom:2px;
    left:50%;
    width:0;
    height:0;
    border-radius:4px;
    background:var(--accent);
    transform:translateX(-50%);
    opacity:0;
    transition:width 180ms ease, height 180ms ease, opacity 180ms ease;
}
.app.rngmin::after{
    width:10px;
    height:5px;
    opacity:1;
}
.app.rng::after{
    width:15px;
    height:5px;
    opacity:1;
}
.app.rng{
    background:var(--active-bg);
    border:2px solid var(--dock-border);
    transition: background 180ms ease, transform 180ms ease;
}
.app.rng:hover{
    background:var(--active-hv);
}
.app:hover{
    transform: translateY(-6px) scale(1.05);
    background: rgba(255,250,250,0.08);
}
.app:active{
    transform: scale(0.95);
}
.settings-panel{
    position:absolute;
    top:42px;
    right:10px;
    width: 280px;
    padding: 16px;
    background: var(--panel-bg);
    backdrop-filter: blur(28px);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
    color: var(--panel-text);
    z-index:500;
    visibility: hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}
.settings-panel h2{
    margin:0 0 16px;
    font-size:18px;
}
.settings-panel.open{
    visibility: visible;
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}
.cs{
    display:grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 12px;
}
.ct{
    min-height: 0;
    width:100%;
    border:none;
    border-radius: 24px;
    background: var(--button-bg);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:space-between;
    padding: 12px;
    font-size: 20px;
    cursor:pointer;
    text-align:left;
}
.ct.active{
    background:var(--accent);
    color:white;
}
.ct span{
    font-size: 14px;
    font-weight: 600;
    color: var(--desktop-text);
}
.ct.active span{
    color:white;
}
.ca {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    
}
.ca button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 24px;
    background: var(--button-bg);
    font-weight: 600;
    cursor: pointer;
    color: var(--desktop-text);
}
.wpicker{
    position:absolute;
    top:42px;
    right:10px;
    width: 256px;
    height: 288px;
    padding: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    background: var(--panel-bg);
    backdrop-filter: blur(28px);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
    color: var(--panel-text);
    z-index:2500;
    visibility: hidden;
    opacity:0;
    transform:translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 180ms ease;
    pointer-events:none;
}
.wpicker.open{
    visibility:visible;
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}
.wpicker h2{
    margin:0 0 16px;
    font-size:18px;
}
.wp-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wp-option{
    padding:0;
    border: 2px solid transparent;
    border-radius: 24px;
    overflow:hidden;
    background:transparent;
    cursor:pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease;
}
.wp-option:hover{
    transform:translateY(-2px);
}
.wp-option.sel{
    border-color:var(--accent);
}
.wp-option:hover img{
    transform:scale(1.04);
}
.wp-option img{
    display:block;
    width:100%;
    height:105px;
    aspect-ratio: 1/1;
    object-fit:cover;
    transition: transform 0.15s ease;
}
.wp-option:active{
    transform:scale(0.97);
}
.sds,.sos,.rds{
    place-items: center;
    position:fixed;
    inset:0;
    width:100%;
    height:100vh;
    align-items:center;
    justify-content: center;
    background: black;
    color:white;
    text-align: center;
    opacity:0;
    visibility: hidden;
    pointer-events: none;
    transition:opacity 0.4s ease, visibility 0.4s ease;
    z-index:3000;
}
.sds.active,.sos.active,.rds.active{
    opacity:1;
    visibility: visible;
    pointer-events: auto;
}
.sdc,.soc,.rdc{
    transform:translate(-50%, -50%);
    position: absolute;
    top:50%;
    left:50%;
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.sdc p,.soc p,.rdc p{
    margin:0;
    font-size:16px;
    font-weight:500;
    opacity:0.85;
}
.sdsp svg,.sosp svg,.rdsp svg{
    height: 32px;
    width: 32px;
    animation:sd-sp 0.9s linear infinite;
}
@keyframes sd-sp{
    from{
        transform: rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
.sysinfo{
    position:absolute;
    inset:0;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    z-index:3500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform-origin: center center;
    transition:
        box-shadow 0.18s ease,
        opacity 0.18s ease,
        border-color 0.18s ease,
        backdrop-filter 0.18s ease,
        visibility 180ms ease;
}
.sysinfo.open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform:scale(1);
}
.sysinfoc{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width: 360px;
    padding:28px;
    border-radius: 24px;
    background:var(--panel-bg);
    backdrop-filter: blur(28px) saturate(140%);
    color:var(--panel-text);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align:center;
}
.sysclo{
    position:absolute;
    top:12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border:none;
    border-radius:50%;
    background:transparent;
    color:var(--panel-text);
    font-size:20px;
    cursor:pointer;
}
.sysclo svg{
    width:16px;
    height:16px;
}
.sysclo:hover{
    background:var(--hover-bg);
}
.sysl{
    overflow: hidden;
    width:52px;
    height:52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow:0 4px 6px rgba(0,0,0,0.5);
    border-radius:50%;
    border:1px solid #4db5ff;
    background: linear-gradient(30deg, #008bb6 0%, rgba(152, 227, 250, 1) 50%,rgba(255, 196, 171, 1) 80%, rgba(245, 164, 107, 1) 100%);
    color:white;
    box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.15);
    font-family: 'Merienda', cursive;
    font-size:22px;
    font-weight:700;
}
.sysl span{
    margin-top:-6px;
    margin-right:-2px;
}
.logo span{
    margin-top:-10px;
    margin-right:-0.5px;
}
.sysinfoc h2{
    margin: 0;
    font-size:22px;
}
.system-version{
    margin: 6px 0 24px;
    font-size: 13px;
    opacity:0.55;
}
.inf{
    display:flex;
    flex-direction: column;
    gap:12px;
    text-align:left;
}
.inf div{
    padding: 12px 14px;
    border-radius: 24px;
    background: var(--button-bg);
}
.inf strong{
    display:block;
    text-align: center;
    font-size: 14px;
}
.ok{
    width:50%;
    margin-top:20px;
    padding:11px;
    border:none;
    border-radius:24px;
    background:var(--accent);
    color:white;
    font-weight: 600;
    cursor:pointer;
}
.appwin{
    visibility: hidden;
    position: absolute;
    top:50px;
    left:500px;
    min-width:650px;
    min-height:450px;
    transform:translateY(10px) scale(0.96);
    opacity:0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 12px;
    background: var(--panel-bg);
    backdrop-filter: blur(28px) saturate(140%);
    color: var(--panel-text);
    border:1px solid var(--dock-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index:300;
    transition:
        box-shadow 0.18s ease,
        opacity 0.18s ease,
        border-color 0.18s ease,
        transform 180ms ease,
        visibility 180ms ease;
}
.appwin.resizing{
    user-select:none;
}
.appwin.open{
    visibility: visible;
    opacity:1;
    transform:scale(1);
    pointer-events: auto;
}
.appwin.focused{
    z-index:400;
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.wintit{
    height:32px;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding-left:6px;
    padding-right:1px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border-bottom:1px solid rgba(255, 255, 255, 0.08);
    font-size:14px;
    font-weight:600;
    display:flex;
    vertical-align: middle;
    gap:7px;
    z-index:2;
}
.wintit img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    line-height:1;
    vertical-align: middle;
}
.winctrl{
    margin-left:auto;
    height:100%;
    display:flex;
    align-items: center;
    gap:2px;
}
.winbtn{
    width:30px;
    height:100%;
    display:flex;
    align-items:center;
    justify-content: center;
    border:none;
    border-radius:12px;
    background:transparent;
    color:var(--panel-text);
    font-size:15px;
    cursor:pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}
.winbtn:hover{
    background:var(--hover-bg);
}
.winbtn.cl:hover{
    background:#e81123;
    color:white;
}
.winbtn svg{
    width:16px;
    height:16px;
    display:block;
}
.wincon{
    vertical-align: top;
    height:calc(100%-32px);
    position:absolute;
    top:32px;
    right:0;
    bottom:0;
    left:0;
    min-height:0;
    overflow:auto;
    padding:20px;
}
.appwin.maximized{
    top:var(--topbar-height)!important;
    left:0!important;
    width:100%!important;
    height:calc(100% - var(--topbar-height) - var(--dock-height))!important;
    border-radius:0;
    resize:none;
}
.appwin.minimized{
    opacity:0;
    transform:translateY(30px) scale(0.9);
    pointer-events: none;
}
.clpl{
    position:fixed;
    top: 48px;
    left:50%;
    right:auto;
    transform:translateX(-50%) translateY(-8px) scale(0.98);
    width:456px;
    padding:18px 20px 20;
    background: var(--panel-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--topbar-bg);
    border-radius: 24px;
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.08);
    opacity:0;
    pointer-events:none;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
    z-index:1000;
}
.clpl.open{
    opacity:1;
    transform:translateX(-50%) translateY(0) scale(1);
    pointer-events:auto;
}
.cd{
    margin-top:24px;
    text-align: center;
    font-size: 16px;
    font-weight:500;
    margin-bottom:18px;
    color:var(--panel-text);
}
.clc{
    display:flex;
    gap:28px;
    align-items:center;
}
.cal{
    margin-left:24px;
    margin-bottom:24px;
    flex:1;
}
.clh{
    display:flex;
    width:100%;
    height:32px;
    border:none;
    background:transparent;
    border-radius: 8px;
    font-size:14px;
    color:var(--panel-text);
    cursor:pointer;
    align-items: center;
    justify-content: center;
    gap:4px;
    margin-bottom:8px;
}
#pm svg, #nm svg{
    height:14px;
    width:14px;
    color:var(--panel-text);
    vertical-align: bottom;
    margin-bottom:1px;
    align-items: center;
}
#pm:hover,#nm:hover{
    background:var(--hover-bg);
}
#pm button.pressed,#nm button.pressed{
    background:var(--pr-bg);
}
.clh button{
    aspect-ratio: 1;
    background:transparent;
    border:none;
    border-radius:24px;
}
.clh:hover{
    background:rgba(0,0,0.0.08);
}
.wd,.days{
    display:grid;
    grid-template-columns: repeat(7,1fr);
    text-align:center;
    color:var(--panel-text);
}
.wd{
    font-size:10px;
    opacity:0.6;
    margin-bottom:5px;
}
.days{
    row-gap:1px;
}
.day{
    aspect-ratio: 1;
    height:20px;
    display:flex;
    align-items:center;
    justify-content: center;
    font-size:10px;
    border-radius: 50%;
}
.day.om{
    opacity:0.4;
}
.day.td{
    background:var(--accent);
    border-radius:999px;
    color:white;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content: center;
}
.ans{
    width:160px;
    display:flex;
    flex-direction: column;
    align-items:center;
}
.anc{
    position:relative;
    width:145px;
    height:145px;
    right:20px;
    border-radius:50%;
    background: var(--dock-bg);
    border:3px solid var(--dock-border);
    box-shadow:inset 0 0 3px rgba(255,255,255,0.75),
                0 3px 10px rgba(0,0,0,0.1);
}
.anc::before{
    content:"";
    position:absolute;
    inset:8px;
    border-radius:50%;
    border:1px solid rgba(100,120,130,0.25);
}
.ch{
    position:absolute;
    left:50%;
    bottom:50%;
    transform-origin:50% 100%;
    border-radius:999px;
}
.hr{
    width:4px;
    height:36px;
    background:var(--desktop-text);
}
.min{
    width:2px;
    height:48px;
    background:var(--desktop-text);
}
.sec{
    width:1px;
    height:54px;
    background:var(--accent);
}
.cc{
    position:absolute;
    width:8px;
    height:8px;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:var(--accent);
}
.adt{
    margin-right:42px;
    margin-top:10px;
    font-size:16px;
    font-weight:500;
    color:var(--panel-text);
    margin-bottom:16px;
}
@keyframes ls-wp{
    from{
        opacity:0;
    }to{
        opacity:1;
    }
}
@keyframes ls-wlcm{
    from{
        opacity:0;
        transform:translateX(-50px);
    }to{
        opacity:1;
        transform:translateX(0);
    }
}
@keyframes ls-fade{
    from{
        opacity:0;
    }to{
        opacity:0.8;
    }
}
@keyframes ls-con{
    from{
        opacity:0;
        transform: translateY(35px);
    }to{
        opacity:1;
        transform:translateY(0);
    }
}
.wtp{
    visibility: hidden;
    position:fixed;
    top:42px;
    right:10px;
    width:360px;
    padding:18px;
    background:var(--panel-bg);
    backdrop-filter: blur(28px) saturate(140%);
    border:1px solid var(--topbar-bg);
    border-radius: 24px;
    color:var(--panel-text);
    box-shadow: 0 12px 36px rgba(0,0,0,0.2),
                0 2px 8px rgba(0,0,0,0.1);
    opacity:0;
    transform:translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.18s ease,
                transform 0.18s ease,
                visibility 0.18s ease;
    z-index:1000;
}
.wtp.open{
    opacity: 1 ;
    transform: translateY(0) scale(1);
    pointer-events: auto ;
    visibility: visible !important;
}
.wtc{
    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-rows:auto auto;
    align-items: center;
    column-gap: 20px;
    row-gap:4px;
    gap:14px;
    margin-top:18px;
}
#wtt{
    grid-column: 1;
    grid-row:1;
    display: flex;
    flex-direction: column;
    gap:2px;
    font-size:36px;
    font-weight:600;
    letter-spacing: -1px;
}
#wtco{
    grid-column: 1;
    grid-row:2;
    width:auto;
    justify-self: start;
    margin-top: 0;
    font-size: 16px;
    font-weight:500;
    align-items: center;
}
.wtic{
    font-size:64px;
    grid-column:2;
    grid-row:1/ span 2;
    margin-top:0;
    margin-top:-16px;
}
.wth{
    display: flex;
    align-items:center;
    justify-content: space-between;
    margin-top:14px;
}
.wthloc{
    font-size:14px;
    font-weight:500;
}
.wthloc svg{
    width:16px;
    height:16px;
    vertical-align: bottom;
}
.wtu{
    font-size:14px;
    opacity: 0.5;
}
.wtr{
    margin-left: 5px;
    width:24px;
    height:24px;
    padding:0;
    border:none;
    border-radius: 50%;
    background: transparent;
    color:var(--panel-text);
    cursor:pointer;
}
.wtr svg{
    width:12px;
    height:12px;
    color:var(--panel-text);
    margin-top:5px;
}
.wtr:hover{
    background:var(--hover-bg);
}
.mem{
    padding:0;
    overflow:hidden;
}
#note{
    overflow:auto;
    width:100%;
    height:100%;
    min-height:0;
    box-sizing: border-box;
    padding:20px;
    border:none;
    outline:none;
    resize:none;
    background:transparent;
    color:var(--panel-text);
    font-family:Arial,sans-serif;
    font-size:16px;
    line-height:1.6;
}
.wipcon{
    top:32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width:100%;
    height:100%;
    min-height:0;
    gap:8px;
}
.wipic{
    font-size:64px;
}
.wipcon h2{
    margin:0;
    font-size:24px;
}
.wipcon p{
    margin:0;
    opacity:0.75;
}
.painc{
    top:32px;
    padding:0;
    overflow: hidden;
}
.painc iframe{
    display:block;
    width:100%;
    height:100%;
    border:none;
}
.broc{
    top:32px;
    padding:0;
    overflow: hidden;
}
.broc iframe{
    display:block;
    width:100%;
    height:100%;
    border:none;
}
#pin{
    width:900px;
    height:700px;
}
#bin{
    width:900px;
    height:700px;
}
.catc{
    display: flex;
    align-items:center;
    justify-content: center;
    overflow:hidden;
}
.caltc{
    width:300px;
    padding:16px;
    border-radius:36px;
    background:var(--button-bg);
}
#cawin{
    width:360px;
    height:510px;
    min-height:510px;
    min-width:360px;
}
#cawin.max{
    display:none;
}
.cadis{
    width:100%;
    height:80px;
    padding:12px;
    margin-bottom: 12px;
    display:flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-size:36px;
    font-weight:500;
    overflow: hidden;
    white-space: nowrap;
    border-radius:18px;
    background:var(--panel-bg);
}
.calbtn {
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:8px;
}
.calbtn button{
    height:56px;
    border:none;
    border-radius: 18px;
    background:var(--panel-bg);
    color:var(--panel-text);
    font-size:16px;
    font-weight:600;
    cursor: pointer;
    transition: text-shadow 150ms ease, transform 100ms ease, background 150ms ease, filter 150ms ease;
}
.calbtn button.actop{
    background-color: var(--desktop-text)!important;
}
.calbtn button:hover{
    background:var(--hover-bg);
}
.calbtn button.pressed{
    text-shadow: 0 0 2px 4px var(--accent);
    background:var(--pr-bg);
}
.clear{
    color:var(--accent);
    background:var(--panel-text);
}
.calbtn button[dcal="op"]{
    color:var(--accent);
}
.calbtn button[dcal="bksp"]{
    color:var(--accent);
}
.calbtn button[dcal="op"] svg,.calbtn button[dcal="eq"] svg, .calbtn button[dcal="bksp"] svg{
    width:16px;
    height:16px;
}
.calbtn button[dcal="eq"]{
    background:var(--accent);
    color:white;
}
.calbtn button[dcal="eq"]:hover{
    filter:brightness(1.1);
}
.calbtn button[dcal="clear"]{
    font-weight:500;
    color:var(--accent);
}
.c0{
    grid-column: span 2;
}
.wth-set{
    cursor:default;
    width:100%;
    min-width: 0;
    flex-direction: column;
    grid-column: 1 / -1;
    gap:8px;
    justify-content: space-between;
    align-items: left;
}
.wth-set input{
    width:100%;
    min-width:0;
    height:30px;
    padding:5px 8px;
    border: none;
    outline: none;
    border-radius: 24px;
    background:var(--panel-bg);
    color:var(--desktop-text);
    font-family: inherit;
    font-size:14px;
}
.wth-set input::placeholder{
    color:var(--panel-text);
    opacity:0.5;
}
.lm{
    position: absolute;
    top:42px;
    left:10px;;
    width:192px;
    padding:6px;
    display:flex;
    flex-direction: column;
    align-items: left;
    gap:10px;
    background:var(--panel-bg);
    backdrop-filter: blur(28px) !important;
    border:1px solid var(--topbar-bg);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
    opacity:0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
    transform:translateY(-6px) scale(0.96);
    transform-origin:top left;
    z-index:500;
}
.lm.open{
    opacity:1;
    visibility: visible;
    pointer-events: auto;
    transform:translateY(0) scale(1);
}
.lm button{
    width:100%;
    height:38px;
    padding:0 12px;
    border:none;
    border-radius: 24px;
    background:transparent;
    color:var(--panel-text);
    font-family:inherit;
    font-size:14px;
    font-weight:500;
    text-align:left;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    cursor:pointer;
    transition:background 120ms ease;
}
.lm button svg{
    display:block !important;
    width:14px !important;
    height:14px !important;
    flex:0 0 14px !important;
    margin:0 !important;
    padding:0 !important;
    color:currentColor !important;
}
.lm button:hover{
    background:var(--hover-bg);
}
.lm button:active{
    transform:scale(0.98);
    background:var(--accent);
}
.lm button:last-child{
    color:#e05252;
}
.material-icons-round {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
.aibc{
    top:32px;
    padding:0;
    overflow: hidden;
}
.aibc iframe{
    display:block;
    width:100%;
    height:100%;
    border:none;
}
#ab{
    width:900px;
    height:700px;
}
.sep{
    width:2px;
    height:36px;
    margin: 0 8px;
    background:var(--accent);
    opacity:0.5;
    flex-shrink:0;
}
#gw{
    width: 800px;
    height:600px;
    min-width: 800px;
    min-height:700px;
}
#gw .wincon{
    top:0px;
    overflow: hidden;
    bottom:0;
}
#gw .gawc{
    height:100%;
    position:relative;
    overflow: hidden;
}
.ggr{
    display:grid;
    grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
    gap:18px;
    padding:24px;
}
.gcr{
    padding:0;
    border:none;
    border-radius: 24px;
    overflow: hidden;
    background:var(--dock-bg);
    color:inherit;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.gcr:hover{
    filter:brightness(1.2);
    transform:translateY(-2px);
}
.gt{
    height:140px;
    display:flex;
    align-items: center;
    justify-content: center;
    font-size:64px;
}
.gin{
    display: flex;
    flex-direction: column;
    gap:4px;
    padding:12px 14px;
}
.gin strong{
    font-size: 16px;
}
.gin span{
    font-size:12px;
    opacity:0.6;
}
.gv{
    display: none;
    position: absolute;
    inset:0;
    top:0px;
    height:100%;
    width:100%;
    overflow: hidden;
}
.gv.playing{
    display: block;
}
.gv iframe{
    display:block;
    width:100%;
    height:calc(100% - 32px);
    min-height:0;
    border:none;
}
.gawc{
    width:100%;
    height:100%;
    overflow: hidden;
}
.gawc.playing .gah, .gawc.playing .ggr, .gawc.playing .rh, .gawc.playing .rg{
    display:none;
}
.gback{
    font-size:16px;
    opacity:0;
    visibility: hidden;
    transition: opacity 150ms ease, visibility 150ms ease;
}
.gback.show{
    opacity: 1;
    visibility: visible;
}
.gback svg{
    width:16px;
    height:16px;
    vertical-align: center;
}
body.resizing-iframe iframe {
    pointer-events: none;
}
.rg{
    margin: 0 16px 4px;
    font-size: 14px;
    opacity:0.75;
}
.rg strong{
    left:36px;
    opacity: 1;
}
.rh{
    line-height: 1;
    top:20px;
    bottom:-10px;
    margin-left:14px;
    vertical-align: bottom;
    font-size: 14px;
    opacity:0.75;
    bottom:-20px;
}
[ttp]{
    position:relative;
}
.tc[ttp]{
    position:absolute;
}
[ttp]::before{
    content:attr(ttp);
    position:absolute;
    top:calc(100% + 8px);
    left:50%;
    transform:translateX(-50%);
    padding:6px 10px;
    border-radius:24px;
    background:var(--dock-bg);
    color:var(--desktop-text);
    font-size:12px;
    white-space: nowrap;
    opacity:0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 150ms ease;
}
[ttp]:hover::before{
    opacity:1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
}
.app[ttp]::before{
    bottom:calc(100% + 8px);
    left:50%;
    top:auto;
    transform:translateX(-50%);
    opacity: 0;
}
.app[ttp]:hover::before{
    transform:translateX(-50%) translateY(-2px);
    opacity:1;
}
.logo[ttp]::before{
    top:calc(100% + 6px);
    left:175%;
    font-family: Arial, Helvetica, sans-serif;
}
.settings[ttp]::before{
    left:auto;
    bottom:auto;
    top:calc(100% + 6px);
}
.l[ttp]:hover::before,.tc.active[ttp]:hover::before,.wb.active[ttp]:hover::before,.settings.active[ttp]:hover::before{
    opacity:0;
    visibility: hidden;
}
.tb:has([ttp].active) [ttp]::before{
    opacity:0;
    visibility:hidden;
    transition:opacity 150ms ease;
}
.bt{
    position: fixed;
    inset: 0;
    z-index:20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:black;
    color:white;
    opacity:1;
    visibility: visible;
    transition:opacity 750ms ease, visibility 750ms ease;
    cursor: none;
}
.btcon{
    user-select: none;
    cursor:none;
    display:flex;
    opacity:0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:6px;
    transition:opacity 150ms ease;
    animation: btan 1400ms ease 500ms forwards,
    btout 400ms ease 4500ms forwards;
}
.btt{
    font-size:32px;
    font-weight:500;
    letter-spacing: 6px;
    margin-top:48px;
    font-family: Arial, Helvetica, sans-serif;
    transition:opacity 150ms ease;
}
.ldi{
    width:150px;
    height:3px;
    margin-top:54px;
    overflow: hidden;
    border:none;
    border-radius: 99px;
    background:rgb(255, 255, 255, 0.5);
    transition:opacity 150ms ease;
}
.pgb{
    width:100%;
    height:100%;
    border:none;
    border-radius: inherit;
    background:white;
    animation: btpg 4s ease-in-out;
}
@keyframes btpg{
    0%{
        width:0%;
    }
    50%{
        width:50%;
    }
    100%{
        width:100%;;
    }
}
@keyframes btan{
    from{
        opacity:0;
    }to{
        opacity:1;
    }
}
@keyframes btout{
    from{opacity:1}
    to{opacity:0}
}
.bt.hd{
    opacity:0;
    visibility: hidden;
    pointer-events: none;
}