Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
/* The desktop's system chrome: island taskbar, Start, tray status, quick
* settings, notification centre, toasts, dialogs, lock and power screens,
* plus the screen overlays (brightness, night light, energy saver).
* Colours come from theme.css tokens so every surface follows light/dark. */
/* ---------- Screen overlays ---------- */
.os-dim,
.os-night {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 20050;
}
.os-dim {
background: #000;
opacity: 0;
transition: opacity var(--duration-fast);
}
.os-night {
background: #ff8a1f;
mix-blend-mode: multiply;
opacity: 0;
transition: opacity var(--duration-slow);
}
.os-night.on {
opacity: 0.22;
}
.os.os-saver *,
.os.os-saver *::before,
.os.os-saver *::after {
animation-duration: 0s !important;
transition-duration: var(--duration-instant) !important;
}
.os.os-saver .os-pop,
.os.os-saver .os-task {
backdrop-filter: none;
}
/* ---------- Bubbles wallpaper ---------- */
.os[data-wall='bubbles'] .os-wall {
background:
radial-gradient(ellipse 70px 46px at calc(22% - 58px) calc(30% - 70px), #ffffffb0, transparent 70%),
radial-gradient(circle 190px at 22% 30%, #7fb2ff55 0%, #6a5cff40 62%, #c7b8ff99 96%, transparent 100%),
radial-gradient(ellipse 40px 26px at calc(78% - 32px) calc(22% - 38px), #ffffffa0, transparent 70%),
radial-gradient(circle 110px at 78% 22%, #ff9de255 0%, #b45cff40 62%, #ffc4f299 96%, transparent 100%),
radial-gradient(ellipse 90px 58px at calc(66% - 80px) calc(74% - 92px), #ffffff90, transparent 70%),
radial-gradient(circle 250px at 66% 74%, #5ee0ff44 0%, #3b6cff38 62%, #a6e9ff88 96%, transparent 100%),
radial-gradient(ellipse 22px 14px at calc(42% - 16px) calc(58% - 20px), #ffffffb0, transparent 70%),
radial-gradient(circle 58px at 42% 58%, #ffd27a55 0%, #ff7a9a40 62%, #ffe2a899 96%, transparent 100%),
radial-gradient(ellipse 30px 20px at calc(10% - 24px) calc(80% - 28px), #ffffffa0, transparent 70%),
radial-gradient(circle 84px at 10% 80%, #8affc955 0%, #2fbf9f40 62%, #b9ffe699 96%, transparent 100%),
radial-gradient(ellipse 16px 10px at calc(90% - 12px) calc(56% - 14px), #ffffffa0, transparent 70%),
radial-gradient(circle 40px at 90% 56%, #ffffff40 0%, #8b7bff40 62%, #ffffff88 96%, transparent 100%),
radial-gradient(80% 70% at 20% 0%, #4b2ea8, transparent 70%),
radial-gradient(80% 80% at 100% 100%, #0a5b9e, transparent 70%),
linear-gradient(140deg, #0c1238, #241052 50%, #071a3c);
}
[data-theme='light'] .os[data-wall='bubbles'] .os-wall {
background:
radial-gradient(ellipse 70px 46px at calc(22% - 58px) calc(30% - 70px), #ffffffe0, transparent 70%),
radial-gradient(circle 190px at 22% 30%, #a9c8ff70 0%, #9b8cff50 62%, #ffffffd0 96%, transparent 100%),
radial-gradient(ellipse 40px 26px at calc(78% - 32px) calc(22% - 38px), #ffffffe0, transparent 70%),
radial-gradient(circle 110px at 78% 22%, #ffc0ee70 0%, #d9a0ff50 62%, #ffffffd0 96%, transparent 100%),
radial-gradient(ellipse 90px 58px at calc(66% - 80px) calc(74% - 92px), #ffffffd0, transparent 70%),
radial-gradient(circle 250px at 66% 74%, #a6efff70 0%, #8fb0ff50 62%, #ffffffd0 96%, transparent 100%),
radial-gradient(ellipse 22px 14px at calc(42% - 16px) calc(58% - 20px), #ffffffe0, transparent 70%),
radial-gradient(circle 58px at 42% 58%, #ffe0a070 0%, #ffb0c450 62%, #ffffffd0 96%, transparent 100%),
radial-gradient(ellipse 30px 20px at calc(10% - 24px) calc(80% - 28px), #ffffffe0, transparent 70%),
radial-gradient(circle 84px at 10% 80%, #b6ffe070 0%, #7fe0c850 62%, #ffffffd0 96%, transparent 100%),
radial-gradient(ellipse 16px 10px at calc(90% - 12px) calc(56% - 14px), #ffffffe0, transparent 70%),
radial-gradient(circle 40px at 90% 56%, #ffffff80 0%, #c0b8ff50 62%, #ffffffd0 96%, transparent 100%),
radial-gradient(80% 70% at 20% 0%, #d8ccff, transparent 70%),
radial-gradient(80% 80% at 100% 100%, #c2e4ff, transparent 70%),
linear-gradient(140deg, #eef1ff, #f6ecff 50%, #e6f4ff);
}
/* White labels vanish on the pastel light wallpaper: switch to dark ink with a soft halo. */
[data-theme='light'] .os[data-wall='bubbles'] .os-icon {
color: #1d1838;
text-shadow: 0 0 4px #ffffffd0, 0 1px 1px #ffffff90;
}
[data-theme='light'] .os[data-wall='bubbles'] .os-icon:hover {
background: #1d18381a;
}
/* ---------- App tiles: glossy, lit from above ---------- */
.os .app-tile {
position: relative;
overflow: hidden;
background:
radial-gradient(120% 70% at 50% -10%, #ffffff55, transparent 60%),
linear-gradient(150deg, hsl(var(--hue) 82% 64%), hsl(calc(var(--hue) + 34) 74% 42%));
box-shadow:
0 6px 14px -4px hsl(var(--hue) 70% 30% / 0.65),
0 2px 4px #0004,
inset 0 1px 0 #ffffff70,
inset 0 -2px 4px #0003;
}
.os .app-tile .ico {
filter: drop-shadow(0 1px 1.5px #0005);
}
/* ---------- Island taskbar (Fluent) ---------- */
@media (min-width: 721px) {
.os[data-style='fluent'] .os-task {
left: 50%;
right: auto;
bottom: 8px;
height: calc(var(--task-h) - 14px);
width: max-content;
max-width: calc(100vw - 16px);
transform: translateX(-50%);
grid-template-columns: auto auto auto;
gap: 4px;
padding: 0 6px;
border: 1px solid var(--hr);
border-radius: 16px;
background: var(--bg70);
backdrop-filter: var(--blur-heavy);
box-shadow: 0 10px 40px -8px #0008, inset 0 1px 0 #ffffff14;
}
.os[data-style='fluent'] .os-task.left {
left: 8px;
transform: none;
}
.os[data-style='fluent'] .os-task .os-tb {
width: 40px;
height: 38px;
border-radius: 10px;
}
.os[data-style='fluent'] .os-task .os-clock {
height: 38px;
border-radius: 10px;
}
.os[data-style='fluent'] .os-task-mid {
padding: 0 6px;
border-left: 1px solid var(--hr);
border-right: 1px solid var(--hr);
}
.os[data-style='fluent'] .os-showdesk {
display: none;
}
.os[data-style='fluent'] .start-menu,
.os[data-style='fluent'] .os-quick,
.os[data-style='fluent'] .os-notes {
bottom: calc(var(--task-h) + 4px);
}
}
/* Show desktop sliver at the far right of the bar */
.os-showdesk {
align-self: stretch;
width: 8px;
margin-left: 4px;
border-left: 1px solid var(--hr);
border-radius: 0;
}
.os-showdesk:hover {
background: var(--hover-b);
}
/* ---------- Tray status pill and clock ---------- */
.os-tb.os-status {
display: flex;
align-items: center;
gap: 7px;
width: auto;
padding: 0 10px;
}
/* Every style pins tray buttons to a square; the status pill holds several glyphs and must size to them. */
.os[data-style] .os-task-right .os-tb.os-status {
width: auto;
padding: 0 8px;
}
.st-ico {
display: grid;
place-items: center;
}
.st-ico.off {
color: var(--text2);
}
.st-bat {
position: relative;
display: inline-block;
width: 20px;
height: 10px;
border: 1.5px solid currentColor;
border-radius: 3px;
flex: none;
}
.st-bat::after {
content: '';
position: absolute;
right: -4px;
top: 2px;
width: 2px;
height: 3px;
border-radius: 0 1px 1px 0;
background: currentColor;
}
.st-bat i {
position: absolute;
inset: 1px auto 1px 1px;
width: calc(var(--lvl, 100%) - 2px);
min-width: 1px;
border-radius: 1px;
background: currentColor;
}
.st-bat.low i {
background: #f5b83d;
}
.st-bat.critical i {
background: #ef4444;
}
.st-bat.chg i {
background: #34d399;
}
.os .os-clock {
position: relative;
flex-direction: row;
align-items: center;
gap: 8px;
}
.ck-t {
display: flex;
flex-direction: column;
align-items: flex-end;
line-height: 1.25;
}
.ck-t b {
font-weight: 500;
font-variant-numeric: tabular-nums;
}
.ck-t small {
font-size: 11px;
color: var(--text2);
}
/* The Aqua menu bar and the Classic taskbar are too short for two lines: time only, date in the tooltip. */
.os:is([data-style='aqua'], [data-style='classic']) .ck-t small {
display: none;
}
.ck-n {
display: grid;
place-items: center;
min-width: 18px;
height: 18px;
padding: 0 5px;
border-radius: 9px;
font-size: 10px;
font-weight: 700;
color: #fff;
background: var(--accent);
}
.ck-dnd {
display: grid;
place-items: center;
color: var(--text2);
}
/* ---------- Start menu ---------- */
.os .start-menu {
width: min(760px, calc(100vw - 16px));
margin-left: calc(min(760px, 100vw - 16px) / -2);
height: min(680px, calc(100vh - var(--task-h) - 56px));
padding: 0;
overflow: visible;
margin-top: 40px;
border-radius: 18px;
}
.os[data-style='aqua'] .start-menu {
margin-top: 0;
}
.sm-head {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
padding: 0 22px 14px;
}
.os .sm-user {
flex-direction: column;
gap: 6px;
margin-top: -36px;
padding: 0 10px 4px;
font-size: 14px;
font-weight: 600;
border-radius: 14px;
}
.os .sm-user:hover {
background: none;
}
.sm-user .avatar {
width: 72px;
height: 72px;
font-size: 26px;
border: 3px solid var(--cm);
box-shadow: 0 8px 24px #0006;
background-size: cover;
background-position: center;
transition: transform var(--duration-base) var(--ease-decel);
}
.sm-user:hover .avatar {
transform: scale(1.05);
}
.sm-head .sm-search {
align-self: stretch;
height: 42px;
border-radius: 21px;
}
/* The pill already lights up on focus-within; a second ring on the input reads as a double border. */
.sm-search input:focus-visible {
outline: none;
}
.sm-main {
flex: 1;
min-height: 0;
display: grid;
grid-template-columns: 220px 1fr;
border-top: 1px solid var(--hr);
}
.start-menu.searching .sm-side {
display: none;
}
.start-menu.searching .sm-main {
grid-template-columns: 1fr;
}
.sm-side {
overflow-y: auto;
padding: 10px 8px 12px;
border-right: 1px solid var(--hr);
scrollbar-width: thin;
}
.sm-letter {
margin: 10px 8px 2px;
padding: 2px 0;
font-size: 11px;
font-weight: 700;
color: var(--accent);
}
.sm-side-app {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 5px 8px;
border-radius: 8px;
font-size: 13px;
text-align: left;
}
.sm-side-app span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sm-side-app .app-tile.sm {
width: 26px;
height: 26px;
border-radius: 7px;
}
.sm-side-app:hover {
background: var(--hover-b);
}
.sm-side-app:active {
background: var(--fill);
}
.os .sm-body {
margin: 0;
padding: 12px 18px 14px;
}
.sm-clock {
display: flex;
align-items: baseline;
gap: 14px;
margin: 2px 4px 14px;
}
.sm-clock b {
font-size: 40px;
font-weight: 300;
letter-spacing: -1px;
font-variant-numeric: tabular-nums;
line-height: 1;
}
.sm-clock span {
color: var(--text2);
font-size: 13px;
}
.os .sm-h .sm-more {
display: inline-flex;
align-items: center;
gap: 4px;
}
.os .sm-grid {
grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
}
.os .sm-foot {
margin: 0;
padding: 10px 16px;
border-radius: 0 0 18px 18px;
}
.sm-folders {
display: flex;
gap: 2px;
}
.sm-folder {
display: grid;
place-items: center;
width: 38px;
height: 34px;
border-radius: 8px;
color: var(--text2);
transition: background var(--duration-fast), color var(--duration-fast);
}
.sm-folder:hover {
background: var(--hover-b);
color: var(--text);
}
.sm-folder:active,
.sm-pwr:active {
background: var(--fill);
}
.sm-power:hover {
color: #ef4444;
}
@media (max-width: 720px) {
.os .start-menu {
height: calc(100vh - var(--task-h) - 56px);
}
.sm-main {
grid-template-columns: 1fr;
}
.sm-side {
display: none;
}
.sm-clock b {
font-size: 32px;
}
}
/* ---------- Context menus: submenus, check marks, shortcuts ---------- */
.os .ctx {
min-width: 220px;
border-radius: 10px;
}
.ctx button span {
flex: 1;
}
.ctx i.ico {
display: inline-block;
width: 16px;
height: 16px;
flex: none;
}
.ctx kbd {
font: inherit;
font-size: 11px;
color: var(--text2);
}
.ctx button[aria-expanded='true'] {
background: var(--hover-b);
}
.ctx-sub {
position: absolute;
animation-name: ctx-in;
}
/* ---------- Quick settings ---------- */
.os-quick,
.os-notes {
right: 8px;
bottom: calc(var(--task-h) + 10px);
transform-origin: bottom right;
}
.os-quick {
width: min(380px, calc(100vw - 16px));
padding: 18px 18px 0;
border-radius: 14px;
}
.qs-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.qs-tile {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
min-height: 76px;
padding: 12px;
border-radius: 10px;
border: 1px solid var(--hr);
background: var(--hover-half);
font-size: 12px;
text-align: left;
transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-instant);
}
.qs-tile:hover {
background: var(--hover-b);
}
.qs-tile:active {
transform: scale(0.97);
}
.qs-tile[aria-pressed='true'] {
color: #fff;
background: var(--accent);
border-color: transparent;
}
.qs-tile[aria-pressed='true']:hover {
filter: brightness(1.08);
}
.qs-sliders {
display: flex;
flex-direction: column;
gap: 6px;
margin: 18px 0 10px;
}
.qs-slider {
display: grid;
grid-template-columns: 22px 1fr 40px;
align-items: center;
gap: 12px;
}
.qs-slider output {
font-size: 12px;
color: var(--text2);
text-align: right;
font-variant-numeric: tabular-nums;
}
.qs-slider input {
-webkit-appearance: none;
appearance: none;
height: 22px;
background: transparent;
cursor: pointer;
}
.qs-slider input::-webkit-slider-runnable-track {
height: 4px;
border-radius: 2px;
background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--fill-track, #8886) var(--fill, 50%));
}
.qs-slider input::-moz-range-track {
height: 4px;
border-radius: 2px;
background: linear-gradient(90deg, var(--accent) var(--fill, 50%), #8886 var(--fill, 50%));
}
.qs-slider input::-webkit-slider-thumb {
-webkit-appearance: none;
width: 18px;
height: 18px;
margin-top: -7px;
border-radius: 50%;
background: var(--accent);
border: 4px solid var(--card);
box-shadow: 0 0 0 1px var(--hr), 0 2px 6px #0005;
transition: transform var(--duration-instant);
}
.qs-slider input::-moz-range-thumb {
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--accent);
border: 4px solid var(--card);
box-shadow: 0 0 0 1px var(--hr);
}
.qs-slider input:active::-webkit-slider-thumb {
transform: scale(1.2);
}
.qs-info {
display: flex;
flex-direction: column;
gap: 4px;
padding: 10px 0 12px;
border-top: 1px solid var(--hr);
}
.qs-line {
display: flex;
align-items: center;
gap: 12px;
padding: 4px 2px;
}
.qs-line > .ico,
.qs-line > .st-bat {
flex: none;
}
.qs-line b {
display: block;
font-size: 13px;
font-weight: 500;
}
.qs-line small {
display: block;
font-size: 11px;
color: var(--text2);
}
.qs-foot {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 -18px;
padding: 8px 12px;
background: var(--bg30);
border-top: 1px solid var(--hr);
border-radius: 0 0 14px 14px;
}
.qs-user {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 8px;
border-radius: 8px;
font-size: 13px;
min-width: 0;
}
.qs-user span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.qs-foot-acts {
display: flex;
gap: 2px;
}
.qs-ico {
display: grid;
place-items: center;
width: 38px;
height: 34px;
border-radius: 8px;
}
.qs-user:hover,
.qs-ico:hover {
background: var(--hover-b);
}
.qs-user:active,
.qs-ico:active {
background: var(--fill);
}
.avatar.img {
background-size: cover;
background-position: center;
color: transparent;
}
/* ---------- Notification centre and calendar ---------- */
.os-notes {
display: flex;
flex-direction: column;
gap: 10px;
width: min(380px, calc(100vw - 16px));
max-height: calc(100vh - var(--task-h) - 24px);
padding: 0;
background: none;
border: 0;
box-shadow: none;
backdrop-filter: none;
}
.nc-panel,
.nc-cal {
background: var(--cm);
backdrop-filter: var(--blur-heavy);
border: 1px solid var(--hr);
border-radius: 14px;
box-shadow: var(--shadow-lg);
}
.nc-panel {
display: flex;
flex-direction: column;
min-height: 0;
flex: 1 1 auto;
max-height: 52vh;
}
.nc-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 12px 14px 8px;
font-size: 14px;
}
.nc-head-acts {
display: flex;
gap: 4px;
}
.nc-dnd,
.nc-clear {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 8px;
font-size: 12px;
background: var(--hover-half);
}
.nc-dnd:hover,
.nc-clear:hover {
background: var(--hover-b);
}
.nc-dnd[aria-pressed='true'] {
color: #fff;
background: var(--accent);
}
.nc-list {
display: flex;
flex-direction: column;
gap: 6px;
padding: 2px 10px 12px;
overflow-y: auto;
scrollbar-width: thin;
}
.nc-card,
.os-ntoast {
position: relative;
padding: 10px 12px;
border-radius: 10px;
background: var(--card);
border: 1px solid var(--hr);
font-size: 13px;
text-align: left;
}
.nc-card.link,
.os-ntoast.link {
cursor: pointer;
}
.nc-card.link:hover {
background: var(--hover);
}
.nt-head {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 6px;
font-size: 11px;
color: var(--text2);
}
.nt-head span {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.nt-head .app-tile.xs {
width: 18px;
height: 18px;
border-radius: 5px;
}
.nt-head time {
font-size: 11px;
}
.nt-x {
display: grid;
place-items: center;
width: 22px;
height: 22px;
border-radius: 6px;
opacity: 0;
transition: opacity var(--duration-fast), background var(--duration-fast);
}
.nc-card:hover .nt-x,
.os-ntoast:hover .nt-x,
.nt-x:focus-visible {
opacity: 1;
}
.nt-x:hover {
background: var(--hover-b);
}
.nc-card b,
.os-ntoast b {
display: block;
font-weight: 600;
}
.nc-card p,
.os-ntoast p {
margin: 3px 0 0;
color: var(--text2);
line-height: 1.4;
}
.nc-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 26px 18px 30px;
color: var(--text2);
text-align: center;
}
.nc-empty b {
color: var(--text);
font-weight: 600;
}
.nc-empty small {
max-width: 260px;
line-height: 1.45;
}
.nc-cal {
padding: 14px;
flex: none;
}
.cal-today {
display: flex;
flex-direction: column;
padding-bottom: 10px;
margin-bottom: 8px;
border-bottom: 1px solid var(--hr);
}
.cal-today b {
font-size: 15px;
font-weight: 600;
}
.cal-today span {
font-size: 12px;
color: var(--text2);
}
.nc-cal .cal-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6px;
font-size: 13px;
font-weight: 600;
}
.nc-cal .cal-head button {
display: inline-grid;
place-items: center;
width: 28px;
height: 26px;
border-radius: 7px;
}
.nc-cal .cal-head button:hover {
background: var(--hover-b);
}
.nc-cal .cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 2px;
text-align: center;
font-size: 12px;
}
.nc-cal .cal-grid i {
font-style: normal;
color: var(--text2);
padding: 4px 0;
}
.nc-cal .cal-grid b {
display: grid;
place-items: center;
justify-self: center;
width: 34px;
height: 34px;
padding: 0;
border-radius: 50%;
font-weight: 400;
}
.nc-cal .cal-grid b.mute {
color: var(--text2);
opacity: 0.55;
}
/* ---------- Toasts ---------- */
.os-ntoasts {
position: absolute;
right: 12px;
bottom: calc(var(--task-h) + 12px);
display: flex;
flex-direction: column;
gap: 8px;
width: min(360px, calc(100vw - 24px));
z-index: 10003;
pointer-events: none;
}
.os-ntoast {
pointer-events: auto;
background: var(--cm);
backdrop-filter: var(--blur-heavy);
box-shadow: var(--shadow-md);
animation: nt-in 0.35s var(--ease-decel);
}
.os-ntoast.out {
opacity: 0;
transform: translateX(24px);
transition: opacity var(--duration-base), transform var(--duration-base);
}
@keyframes nt-in {
from {
opacity: 0;
transform: translateX(40px);
}
}
/* ---------- Dialogs (Run, About, Rename) ---------- */
.os-dialog-wrap {
position: absolute;
inset: 0;
display: grid;
place-items: center;
padding: 16px;
background: #0005;
z-index: 20000;
animation: fade-in 0.15s;
}
.os-dialog-wrap.out {
opacity: 0;
transition: opacity var(--duration-fast);
}
@keyframes fade-in {
from {
opacity: 0;
}
}
.os-dialog {
width: min(440px, 100%);
max-height: calc(100vh - 32px);
display: flex;
flex-direction: column;
background: var(--cm);
backdrop-filter: var(--blur-heavy);
border: 1px solid var(--hr);
border-radius: 12px;
box-shadow: var(--shadow-focus);
animation: pop-in 0.2s var(--ease-decel);
overflow: hidden;
}
.os-dialog.about {
width: min(520px, 100%);
}
.dlg-head {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 8px 10px 14px;
font-size: 13px;
}
.dlg-head b {
flex: 1;
font-weight: 600;
}
.dlg-x {
display: grid;
place-items: center;
width: 32px;
height: 28px;
border-radius: 7px;
}
.dlg-x:hover {
background: #e81123;
color: #fff;
}
.dlg-body {
padding: 6px 18px 16px;
overflow-y: auto;
font-size: 13px;
line-height: 1.5;
}
.dlg-foot {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 16px;
background: var(--bg30);
border-top: 1px solid var(--hr);
}
.os-dialog .os-btn {
min-width: 88px;
justify-content: center;
}
.run-body p {
margin: 0 0 12px;
color: var(--text2);
}
.run-field {
display: flex;
align-items: center;
gap: 10px;
}
.run-field input {
flex: 1;
min-width: 0;
height: 34px;
padding: 0 10px;
border-radius: 7px;
border: 1px solid var(--hr);
border-bottom: 2px solid var(--accent);
background: var(--bg30);
color: var(--text);
font: inherit;
outline: 0;
user-select: text;
}
.run-body .run-err {
margin: 10px 0 0;
color: var(--danger, #f87171);
}
.about-hero {
display: flex;
align-items: center;
gap: 16px;
padding: 10px 0 16px;
color: var(--accent);
}
.about-hero b {
display: block;
font-size: 22px;
font-weight: 600;
color: var(--text);
}
.about-hero span {
color: var(--text2);
}
.about-specs {
display: grid;
grid-template-columns: max-content 1fr;
gap: 6px 16px;
margin: 0;
padding: 12px 14px;
border-radius: 10px;
background: var(--bg30);
border: 1px solid var(--hr);
}
.about-specs dt {
color: var(--text2);
}
.about-specs dd {
margin: 0;
overflow-wrap: anywhere;
}
.about-legal {
margin: 12px 0 0;
font-size: 12px;
color: var(--text2);
}
/* ---------- Lock screen ---------- */
.os-lockscreen {
position: absolute;
inset: 0;
z-index: 20040;
display: grid;
place-items: center;
color: #fff;
outline: 0;
overflow: hidden;
animation: fade-in 0.35s;
}
.os-lockscreen::before {
content: '';
position: absolute;
inset: -40px;
transition: filter var(--duration-slow), transform var(--duration-slow);
background:
radial-gradient(circle 220px at 18% 26%, #7fb2ff40 0%, #6a5cff30 62%, #c7b8ff80 96%, transparent 100%),
radial-gradient(circle 300px at 74% 72%, #5ee0ff30 0%, #3b6cff28 62%, #a6e9ff70 96%, transparent 100%),
radial-gradient(circle 120px at 80% 20%, #ff9de240 0%, #b45cff30 62%, #ffc4f280 96%, transparent 100%),
linear-gradient(140deg, #0c1238, #241052 50%, #071a3c);
}
.os-lockscreen.sign::before {
filter: blur(28px) brightness(0.7);
transform: scale(1.05);
}
.os-lockscreen.out {
transform: translateY(-100%);
transition: transform var(--duration-slow) var(--ease-decel);
}
.ls-face,
.ls-sign {
position: relative;
grid-area: 1 / 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
transition: opacity var(--duration-base), transform var(--duration-slow) var(--ease-decel);
}
.ls-face {
align-self: start;
margin-top: 12vh;
text-shadow: 0 2px 20px #0006;
}
.ls-time {
font-size: clamp(64px, 12vw, 128px);
font-weight: 200;
letter-spacing: -2px;
line-height: 1;
font-variant-numeric: tabular-nums;
}
.ls-date {
margin-top: 10px;
font-size: clamp(16px, 2.2vw, 24px);
font-weight: 400;
}
.ls-hint {
margin-top: 40vh;
font-size: 13px;
opacity: 0.75;
animation: ls-hint 2.4s ease-in-out infinite;
}
@keyframes ls-hint {
50% {
opacity: 0.35;
}
}
.ls-sign {
gap: 14px;
opacity: 0;
transform: translateY(24px);
pointer-events: none;
}
.os-lockscreen.sign .ls-face {
opacity: 0;
transform: translateY(-40px);
pointer-events: none;
}
.os-lockscreen.sign .ls-sign {
opacity: 1;
transform: none;
pointer-events: auto;
}
.ls-av {
width: 132px;
height: 132px;
font-size: 46px;
border: 3px solid #ffffff40;
box-shadow: 0 16px 48px #0008;
}
.ls-name {
font-size: 26px;
font-weight: 500;
}
.ls-go {
min-width: 140px;
padding: 9px 22px;
border-radius: 10px;
color: #fff;
background: #ffffff26;
border: 1px solid #ffffff40;
backdrop-filter: var(--blur-light);
font-size: 14px;
transition: background var(--duration-fast);
}
.ls-go:hover {
background: #ffffff3d;
}
.ls-go:active {
background: #ffffff1a;
}
.ls-corner {
position: absolute;
bottom: 24px;
display: flex;
gap: 8px;
}
.ls-left {
left: 24px;
}
.ls-right {
right: 24px;
}
.ls-chip {
display: inline-flex;
align-items: center;
gap: 8px;
min-width: 40px;
height: 40px;
padding: 0 10px;
justify-content: center;
border-radius: 10px;
color: #fff;
font-size: 13px;
}
button.ls-chip:hover {
background: #ffffff26;
}
button.ls-chip:active {
background: #ffffff1a;
}
/* ---------- Power (restart, shut down) ---------- */
.os-power {
position: absolute;
inset: 0;
z-index: 20060;
display: grid;
place-content: center;
justify-items: center;
gap: 22px;
color: #fff;
background: #0b1030;
font-size: 16px;
animation: fade-in 0.3s;
}
.os-power.off {
background: #000;
}
.os-power p {
margin: 0;
}
.pw-spin {
position: relative;
width: 44px;
height: 44px;
}
.pw-spin i {
position: absolute;
inset: 0;
animation: pw-orbit 2.2s infinite;
}
.pw-spin i::before {
content: '';
position: absolute;
top: 0;
left: 50%;
width: 5px;
height: 5px;
margin-left: -2.5px;
border-radius: 50%;
background: #fff;
}
.pw-spin i:nth-child(2) {
animation-delay: 0.12s;
}
.pw-spin i:nth-child(3) {
animation-delay: 0.24s;
}
.pw-spin i:nth-child(4) {
animation-delay: 0.36s;
}
.pw-spin i:nth-child(5) {
animation-delay: 0.48s;
}
@keyframes pw-orbit {
0% {
transform: rotate(0);
opacity: 1;
animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1);
}
45% {
transform: rotate(300deg);
animation-timing-function: linear;
}
60% {
transform: rotate(420deg);
animation-timing-function: cubic-bezier(0.4, 0, 0.5, 1);
}
100% {
transform: rotate(720deg);
opacity: 0.2;
}
}
.os-power.off .pw-spin,
.os-power.off > p:not(.pw-hint) {
display: none;
}
.pw-on {
display: grid;
place-items: center;
width: 72px;
height: 72px;
border-radius: 50%;
color: #fff;
background: #ffffff14;
border: 1px solid #ffffff30;
transition: background var(--duration-fast), box-shadow var(--duration-base);
}
.pw-on:hover {
background: #ffffff24;
box-shadow: 0 0 0 8px #ffffff10;
}
.pw-hint {
font-size: 13px;
color: #ffffff99;
}
/* ---------- Desktop drop target ---------- */
.os-icons.drop {
outline: 2px dashed var(--accent);
outline-offset: -6px;
border-radius: 12px;
background: #ffffff0c;
}
@media (prefers-reduced-motion: reduce) {
.ls-hint,
.pw-spin i {
animation: none;
}
}
/* Desktop widgets live between the icons and the windows. */
.os-widgets-host {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
}
.os-tb.os-assist .ico {
color: var(--accent);
}
/* Hover feedback for the controls above that set cursor: pointer. */
.qs-slider input:hover { filter: brightness(1.25); }