html:has(body.hub) { height: 100%; overflow: hidden; background: var(--z-desk); }
body.hub {
  --tb: 30px;
  --z-tb-h: var(--tb);
  height: 100%; min-height: 0; overflow: hidden; margin: 0;
  background: var(--z-desk); color: var(--z-text);
  font: 12px/1.3 var(--font);
  user-select: none; -webkit-user-select: none;
  touch-action: manipulation;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.skip { position: fixed; left: 8px; top: -40px; z-index: 9000; background: var(--z-info); color: #000; padding: 4px 8px; border: 1px solid #000; }
.skip:focus { top: 8px; }
.hub textarea, .hub input[type="text"], .hub input[type="search"], .hub input[type="number"] { user-select: text; -webkit-user-select: text; }

.desktop { position: fixed; left: 0; right: 0; top: 0; bottom: var(--tb); overflow: hidden; background: var(--z-desk); }
.desk-bg { position: absolute; inset: 0; background-repeat: repeat; image-rendering: pixelated; pointer-events: none; }
.desktop.is-dragging iframe { pointer-events: none; }
.desktop.is-dragging, .desktop.is-dragging * { user-select: none; }

.desk-icons {
  position: absolute; left: 0; top: 0; bottom: 0; padding: 4px 2px;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 8), 76px); grid-auto-columns: 78px;
  gap: 2px 4px; align-content: start; justify-content: start; z-index: 1;
}
.z98 .di {
  position: relative; width: 78px; height: 76px; min-width: 0; min-height: 0; padding: 4px 1px 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: transparent; border: 0; box-shadow: none; color: #fff; cursor: var(--z-cur-arrow);
  touch-action: manipulation;
}
.di img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; pointer-events: none; }
.di-label {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  max-width: 76px; padding: 0 2px 1px; line-height: 14px; text-align: center; color: #fff; overflow-wrap: anywhere;
}
.desk-bg[data-wall]:not([data-wall="none"]) ~ .desk-icons .di-label { text-shadow: 1px 1px 0 #000; }
.di.is-sel .di-label { background: var(--z-sel); color: var(--z-seltext); text-shadow: none !important; }
.di.is-sel img { filter: brightness(.72) sepia(1) hue-rotate(185deg) saturate(3); }
.z98 .di:focus-visible { outline: none; }
.di:focus-visible .di-label { outline: 1px dotted var(--z-hilite); outline-offset: 0; }
.z98 .di:not(:disabled):active { box-shadow: none; padding: 4px 1px 0; }
.z98 .zpeek { position: absolute; right: -4px; top: 6px; width: 20px; height: 20px; padding: 0; border: 0; background: transparent; box-shadow: none; min-width: 0; min-height: 0; animation: zpeek 3.2s steps(1) infinite; }
.zpeek img { width: 16px; height: 16px; image-rendering: pixelated; }
.z98 .zpeek.is-found { animation: zpop .5s steps(4) forwards; }
@keyframes zpeek { 0%, 70% { transform: translateX(0); } 75%, 95% { transform: translateX(6px); } }
@keyframes zpop { to { transform: translateY(-30px); opacity: 0; } }

.windows { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.windows > * { pointer-events: auto; }
.z98 .window.zw {
  position: absolute; display: flex; flex-direction: column; min-width: 0; min-height: 0;
  padding: 3px; outline: none;
}
.zw[hidden] { display: none !important; }
.zw .title-bar { flex: none; cursor: var(--z-cur-arrow); touch-action: none; }
.zw .zw-ico { width: 16px; height: 16px; image-rendering: pixelated; cursor: var(--z-cur-arrow); }
.zw-menu { flex: none; padding: 1px 0; display: flex; align-items: center; gap: 4px; min-width: 0; }
.zw-menu .z-menubar { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.zw-menu .curio-mode { margin-right: 1px; }
.zw-body { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 1px; }
.zw .status-bar { flex: none; position: relative; padding-right: 14px; }
.zw .status-bar-field:first-child { flex: 0 1 auto; min-width: 90px; max-width: 40%; }
.zw-grip { position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; cursor: nwse-resize; touch-action: none;
  background: linear-gradient(135deg, transparent 0 45%, var(--z-hilite) 45% 52%, var(--z-shadow) 52% 60%, transparent 60% 68%, var(--z-hilite) 68% 75%, var(--z-shadow) 75% 83%, transparent 83%); }
.zw.is-max .zw-grip, .zw.is-max .zw-h { display: none; }
.zw-h { position: absolute; z-index: 3; touch-action: none; }
.zw-h--n { top: -3px; left: 8px; right: 8px; height: 7px; cursor: ns-resize; }
.zw-h--s { bottom: -3px; left: 8px; right: 8px; height: 7px; cursor: ns-resize; }
.zw-h--e { right: -3px; top: 8px; bottom: 8px; width: 7px; cursor: ew-resize; }
.zw-h--w { left: -3px; top: 8px; bottom: 8px; width: 7px; cursor: ew-resize; }
.zw-h--ne { right: -3px; top: -3px; width: 12px; height: 12px; cursor: nesw-resize; }
.zw-h--nw { left: -3px; top: -3px; width: 12px; height: 12px; cursor: nwse-resize; }
.zw-h--se { right: -3px; bottom: -3px; width: 14px; height: 14px; cursor: nwse-resize; }
.zw-h--sw { left: -3px; bottom: -3px; width: 12px; height: 12px; cursor: nesw-resize; }
.zw.is-loading, .zw.is-loading * { cursor: var(--z-cur-wait) !important; }
.zw-frame { flex: 1; min-height: 0; display: flex; box-shadow: var(--z-field); padding: 2px; background: var(--z-win); }
.zw-frame iframe { flex: 1; width: 100%; height: 100%; border: 0; display: block; background: var(--z-face); }
.zw-zoom { position: fixed; z-index: 4000; pointer-events: none; border: 2px solid #fff; mix-blend-mode: difference; }

.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--tb); z-index: 2000;
  display: flex; align-items: center; gap: 3px; padding: 3px 2px 2px;
  background: var(--z-face); box-shadow: inset 0 1px var(--z-light), inset 0 2px var(--z-hilite);
}
.z98 .start {
  flex: none; display: inline-flex; align-items: center; gap: 4px; height: 23px; min-width: 56px; min-height: 0; padding: 0 6px 0 4px;
  font-weight: 700; font-size: 12px;
}
.start img { width: 16px; height: 16px; image-rendering: pixelated; }
.start b { font-family: var(--font); font-weight: 700; }
.z98 .start.is-on, .z98 .start[aria-expanded="true"], .z98 .start:not(:disabled):active { box-shadow: var(--z-sunken); padding: 1px 5px 0 5px; }
.z98 .start:focus-visible { outline: 1px dotted var(--z-text); outline-offset: -4px; }
.tb-sep { flex: none; width: 9px; height: 22px; background: linear-gradient(90deg, var(--z-shadow) 0 1px, var(--z-hilite) 1px 2px, transparent 2px); }
.tb-sep::after { content: ""; display: block; width: 3px; height: 18px; margin: 2px 0 0 4px; box-shadow: inset 1px 1px var(--z-hilite), inset -1px -1px var(--z-shadow); }
.quick { flex: none; display: flex; gap: 1px; }
.z98 .qb, .z98 .tr-b, .z98 .zx-tb, .z98 .zx-node, .z98 .zh-nav button {
  min-width: 0; min-height: 0; padding: 0; background: transparent; box-shadow: none; display: inline-flex; align-items: center; justify-content: center;
}
.z98 .qb { width: 22px; height: 22px; }
.qb img, .tr-b img { width: 16px; height: 16px; image-rendering: pixelated; pointer-events: none; }
.z98 .qb:hover { box-shadow: var(--z-thin-up); }
.z98 :is(.qb, .tr-b, .zx-tb, .zx-node, .zh-nav button, .zi, .di, .zob-body, .zob-x, .tr-clock, .z-menu__item, .z-menubar__item, .curio-bar__tbtn):not(:disabled):active { box-shadow: none; text-shadow: none; }
.z98 .qb:not(:disabled):active, .z98 .zx-tb:not(:disabled):active { box-shadow: var(--z-thin-down); }
.z98 .z-menubar__item:not(:disabled):active { padding: 0 7px; }
.z98 .z-menu__item:not(:disabled):active { padding: 1px 2px; }
.tasks { flex: 1; min-width: 0; display: flex; gap: 3px; overflow: hidden; height: 23px; }
.z98 .zt {
  flex: 0 1 160px; min-width: 28px; height: 23px; min-height: 0; padding: 0 6px 0 4px;
  display: inline-flex; align-items: center; gap: 4px; text-align: left; font-size: 12px; overflow: hidden;
}
.zt img { width: 16px; height: 16px; image-rendering: pixelated; flex: none; }
.zt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.z98 .zt[aria-pressed="true"] { box-shadow: var(--z-sunken); background: var(--z-dither); font-weight: 700; padding: 1px 5px 0 5px; }
.z98 .zt:focus-visible { outline: 1px dotted var(--z-text); outline-offset: -4px; }
.tray { flex: none; display: flex; align-items: center; gap: 1px; height: 23px; padding: 0 4px 0 3px; box-shadow: var(--z-thin-down); }
.z98 .tr-b { width: 20px; height: 20px; }
.z98 .tr-b[aria-pressed="false"][data-t="zob"] img { opacity: .5; filter: grayscale(1); }
.z98 .tr-b[aria-pressed="true"][data-t="pad"] { box-shadow: var(--z-thin-down); background: var(--z-dither); }
.z98 .tr-clock { min-width: 0; min-height: 0; height: 20px; padding: 0 4px; background: transparent; box-shadow: none; font-size: 12px; white-space: nowrap; }
.z98 .tr-clock.is-warp { color: var(--bad); animation: zwarp .2s steps(2) 6; }
@keyframes zwarp { 50% { transform: translateX(2px); } }
.zcat { position: absolute; bottom: 100%; left: -40px; width: 24px; height: 14px; animation: zcat 26s linear infinite;
  background: linear-gradient(#000, #000) 4px 4px / 16px 7px no-repeat, linear-gradient(#000, #000) 18px 1px / 5px 5px no-repeat, linear-gradient(#000, #000) 6px 11px / 2px 3px no-repeat, linear-gradient(#000, #000) 16px 11px / 2px 3px no-repeat, linear-gradient(#000, #000) 1px 2px / 3px 2px no-repeat, linear-gradient(#000, #000) 18px 0 / 2px 2px no-repeat, linear-gradient(#000, #000) 21px 0 / 2px 2px no-repeat; }
@keyframes zcat { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 80px)); } }

.zvol { position: fixed; z-index: 3100; width: 112px; padding: 8px 10px; text-align: center; }
.zvol p { margin: 0 0 4px; }
.zvol .curio-opt { margin: 6px 0 0; text-align: left; }

.zx { background: var(--z-face); }
.zx-tools { flex: none; display: flex; align-items: center; gap: 1px; padding: 2px 2px 3px; box-shadow: inset 0 -1px var(--z-shadow), inset 0 -2px var(--z-hilite); overflow: hidden; }
.z98 .zx-tb { height: 24px; padding: 0 6px 0 3px; gap: 4px; font-size: 12px; color: var(--z-text); white-space: nowrap; }
.zx-tb img { width: 16px; height: 16px; image-rendering: pixelated; pointer-events: none; }
.z98 .zx-tb:hover:not(:disabled) { box-shadow: var(--z-thin-up); }
.z98 .zx-tb:disabled img { filter: grayscale(1); opacity: .45; }
.zx-tb.is-drop img { animation: zcoin .45s steps(4); }
@keyframes zcoin { 50% { transform: translateY(5px); } }
.zx-sep { flex: none; width: 2px; height: 20px; margin: 0 3px; box-shadow: inset 1px 0 var(--z-shadow), inset -1px 0 var(--z-hilite); }
.zx-extra { display: contents; }
.zx-addr { flex: none; display: flex; align-items: center; gap: 4px; padding: 3px 2px 3px; box-shadow: inset 0 -1px var(--z-shadow), inset 0 -2px var(--z-hilite); }
.zx-addr label { color: var(--z-text); padding: 0 2px; }
.zx-addr__box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; height: 21px; padding: 0 2px 0 4px; background: var(--z-win); box-shadow: var(--z-field); }
.zx-addr__box img { width: 16px; height: 16px; image-rendering: pixelated; flex: none; }
.z98 .zx-addr__box input[type="text"] { flex: 1; min-width: 0; height: 17px; box-shadow: none; padding: 0 2px; line-height: 17px; background: transparent; }
.z98 .zx-go { min-width: 34px; height: 21px; min-height: 0; padding: 0 6px; }
.zx-main { flex: 1; min-height: 0; display: flex; gap: 3px; margin-top: 2px; }
.zx-tree { flex: 0 0 196px; min-width: 0; overflow: auto; background: var(--z-win); box-shadow: var(--z-field); }
.zx-tree[hidden] { display: none; }
.z98 .zx-tv { box-shadow: none; background: transparent; padding: 4px 2px; min-width: max-content; }
.z98 .zx-tv ul { margin-left: 8px; padding-left: 8px; }
.z98 .zx-tv li { margin-top: 1px; }
.z98 .zx-tv ul > li::before { left: -8px; width: 7px; top: 9px; }
.z98 .zx-tv ul > li:last-child::after { left: -11px; top: 10px; width: 4px; }
.z98 .zx-node { justify-content: flex-start; gap: 4px; height: 18px; padding: 0 3px 0 1px; color: var(--z-text); white-space: nowrap; }
.zx-node img { width: 16px; height: 16px; image-rendering: pixelated; }
.zx-node.is-sel span { background: var(--z-sel); color: var(--z-seltext); }
.zx-node span { padding: 0 2px; }
.z98 .zx-node:focus-visible { outline: 1px dotted var(--z-text); outline-offset: -1px; }
.z98 .zx-list.sunken-panel { flex: 1; min-width: 0; min-height: 0; overflow: auto; position: relative; padding: 2px; background: var(--z-win); color: var(--z-text); }
.zx-grid { display: grid; align-content: start; }
.zx-list.is-large .zx-grid { grid-template-columns: repeat(auto-fill, 80px); gap: 6px 2px; padding: 4px 2px; justify-content: start; }
.zx-list.is-list .zx-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 8px; padding: 2px; }
.z98 .zi {
  position: relative; min-width: 0; min-height: 0; padding: 2px; background: transparent; box-shadow: none; color: var(--z-text);
  display: flex; align-items: center; gap: 3px; text-align: left; cursor: var(--z-cur-arrow); touch-action: manipulation; font-size: 12px;
}
.zi img { width: 16px; height: 16px; image-rendering: pixelated; flex: none; pointer-events: none; }
.zi-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; line-height: 14px; }
.zx-list.is-large .zi { flex-direction: column; justify-content: flex-start; width: 80px; padding: 2px 1px; gap: 3px; }
.zx-list.is-large .zi img { width: 32px; height: 32px; }
.zx-list.is-large .zi-label { white-space: normal; text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; max-width: 78px; }
.zi.is-sel .zi-label { background: var(--z-sel); color: var(--z-seltext); }
.zw:not(.is-active) .zi.is-sel .zi-label { background: var(--z-face); color: var(--z-text); }
.zi.is-sel img { filter: brightness(.75) sepia(1) hue-rotate(185deg) saturate(3); }
.z98 .zi:focus-visible { outline: none; }
.zi:focus-visible .zi-label { outline: 1px dotted var(--z-text); outline-offset: 0; }
.zi.is-sel:focus-visible .zi-label { outline-color: var(--z-seltext); outline-offset: -1px; }
@media (hover: hover) {
  .zx-list .zi:hover .zi-label { text-decoration: underline; text-underline-offset: 2px; color: var(--z-link); }
  .zx-list .zi.is-sel:hover .zi-label { color: var(--z-seltext); }
}
.zi.is-fav::after { content: "\2605"; position: absolute; left: 1px; top: 0; font-size: 12px; line-height: 1; color: #ffd23f; text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000; pointer-events: none; }
.zx-list.is-large .zi.is-fav::after { left: 18px; top: 1px; }
.zi.is-new .zi-label::after { content: " NEW"; color: #c00000; font-weight: 700; }
.zi.is-new.is-sel .zi-label::after { color: #ffd23f; }
:root[data-theme="dark"] .zi.is-new .zi-label::after { color: #ff8080; }
.zx-empty { margin: 14px; color: var(--z-gray); line-height: 1.5; max-width: 420px; }
.z98 .zx-table { width: 100%; border-collapse: collapse; background: var(--z-win); }
.z98 .zx-table th { padding: 0; height: 18px; box-shadow: var(--z-raised); background: var(--z-face); position: sticky; top: 0; z-index: 1; }
.z98 .zx-table th button { width: 100%; min-width: 0; min-height: 0; height: 18px; padding: 0 6px; text-align: left; background: transparent; box-shadow: none; font-weight: 400; display: block; }
.z98 .zx-table th button:not(:disabled):active { box-shadow: var(--z-thin-down); padding: 0 6px; }
.z98 .zx-table td { padding: 0 6px; height: 20px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zx-table td:first-child { padding-left: 1px; }
.z98 .zx-table .zi { width: 100%; max-width: 260px; }

.zp { min-width: min(260px, 70vw); }
.zp-head { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.zp-head img { width: 32px; height: 32px; image-rendering: pixelated; }
.zp-rows { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 8px 0 0; }
.zp-rows dd { margin: 0; overflow-wrap: anywhere; }

.zn { flex: 1; min-height: 0; width: 100%; resize: none; border: 0; padding: 4px 6px; font: 14px/1.35 var(--mono); background: var(--z-win); color: var(--z-text); box-shadow: var(--z-field); outline: none; white-space: pre-wrap; }
.zw-prompt .zw-body { background: #000; box-shadow: var(--z-field); padding: 2px; }
.zc { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #000; color: #c0c0c0; font: 14px/1.25 var(--mono); padding: 4px 6px; overflow: hidden; cursor: text; }
.z98 .zc-out { margin: 0; flex: 0 1 auto; min-height: 0; overflow: auto; white-space: pre-wrap; font: inherit; background: none; box-shadow: none; padding: 0; color: inherit; }
.zc-row { display: flex; align-items: baseline; flex: none; }
.zc-ps { white-space: pre; }
.z98 input.zc-in[type="text"] { flex: 1; min-width: 0; background: transparent !important; border: 0; box-shadow: none; color: #c0c0c0; font: inherit; padding: 0; outline: none; height: auto; caret-color: #c0c0c0; line-height: inherit; }

.zh { flex: 1; min-height: 0; display: flex; gap: 4px; }
.z98 .zh-nav { flex: 0 0 200px; overflow: auto; padding: 4px; margin: 0; }
.zh-nav li { margin: 0 0 2px !important; }
.z98 .zh-nav button { width: 100%; justify-content: flex-start; gap: 4px; padding: 1px 2px; color: var(--z-text); text-align: left; height: auto; }
.zh-nav button img { width: 16px; height: 16px; image-rendering: pixelated; }
.zh-nav button.is-sel span { background: var(--z-sel); color: var(--z-seltext); }
.zh-nav button span { padding: 0 2px; }
.z98 .zh-text { flex: 1; min-width: 0; overflow: auto; padding: 10px 14px; line-height: 1.5; user-select: text; }
.zh-text h2 { font: 700 16px var(--font); margin: 0 0 10px; color: var(--z-sel); }
:root[data-theme="dark"] .zh-text h2 { color: var(--z-text); }
.zh-text p { margin: 0 0 10px; max-width: 520px; }

.zf { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 2px; }
.zf-top { display: flex; gap: 10px; align-items: flex-start; }
.zf-q { flex: 1; min-width: 0; display: grid; gap: 6px; }
.zf-q input, .zf-q select, .zf-q .z-select { width: 100%; }
.zf-btns { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; align-items: center; }
.zf-anim { width: 32px; height: 32px; margin-top: 6px; image-rendering: pixelated; }
.z98 .zf-out { flex: 1; min-height: 60px; overflow: auto; padding: 2px; }

.zr-top { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.zr-top img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.zr-top p { margin: 0; line-height: 1.4; }
.zr .field-row label { margin-right: 4px; }
.zroll { display: flex; gap: 14px; align-items: center; min-height: 56px; }
.zroll img { width: 32px; height: 32px; image-rendering: pixelated; }
.zroll b { display: block; font-size: 16px; font-family: var(--c-hand); margin-bottom: 4px; }
.zroll p { margin: 0; }
.zdel-anim { position: relative; display: flex; justify-content: space-between; align-items: center; height: 40px; margin: 0 0 8px; width: min(260px, 64vw); }
.zdel-anim img { width: 32px; height: 32px; image-rendering: pixelated; }
.zdel-anim i { position: absolute; left: 30px; top: 6px; width: 12px; height: 14px; background: #fff; box-shadow: inset 0 0 0 1px #000, inset 3px 4px 0 -2px #808080; animation: zfly 1s steps(10) infinite; }
@keyframes zfly { 0% { transform: translate(0, 0); } 50% { transform: translate(90px, -14px); } 100% { transform: translate(180px, 4px); } }
.zdel p { margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.zsd-row { display: flex; gap: 14px; align-items: flex-start; }
.zsd-row img { width: 32px; height: 32px; image-rendering: pixelated; }
.zsd-row p { margin: 0 0 8px; }

.zdp { display: grid; place-items: center; margin: 0 0 14px; }
.zdp-mon { width: 152px; height: 112px; padding: 8px 8px 22px; background: var(--z-face); box-shadow: var(--z-raised-win); position: relative; }
.zdp-mon::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 60px; height: 10px; transform: translateX(-50%); background: var(--z-face); box-shadow: var(--z-raised); }
.zdp-scr { width: 100%; height: 100%; box-shadow: var(--z-field); background-repeat: repeat; image-rendering: pixelated; }

.zt-clock { flex: 1; display: flex; gap: 10px; padding: 4px; }
.zt-clock fieldset { flex: 1; text-align: center; }
.zt-clock canvas { image-rendering: pixelated; width: 96px; height: 96px; box-shadow: var(--z-field); }
.z98 .zt-cal { margin: 0 auto; border-collapse: collapse; background: var(--z-win); box-shadow: var(--z-field); }
.z98 .zt-cal th, .z98 .zt-cal td { width: 22px; height: 18px; text-align: center; padding: 0; font-size: 12px; }
.z98 .zt-cal th { color: var(--z-gray); box-shadow: none; background: transparent; position: static; }
.zt-cal td.is-today { background: var(--z-sel); color: var(--z-seltext); }
.zt-clock p { margin: 6px 0 0; }

.zwel { flex: 1; display: flex; min-height: 0; }
.zwel-side { flex: 0 0 132px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; color: #fff; background: linear-gradient(180deg, var(--z-t2), var(--z-t1)); box-shadow: var(--z-field); }
.zwel-side span { font-size: 12px; opacity: .9; }
.zwel-side b { font: 700 24px/1 var(--c-hand); }
.zwel-side b i { font-style: normal; color: #ffd23f; margin-left: 2px; }
.zwel-main { flex: 1; min-width: 0; padding: 10px 12px; display: flex; flex-direction: column; }
.zwel-lead { margin: 0 0 10px; line-height: 1.45; }
.zwel-btns { display: grid; gap: 6px; }
.z98 .zwel-btns button { justify-content: flex-start; display: flex; align-items: center; gap: 8px; text-align: left; height: 26px; }
.zwel-btns img { width: 16px; height: 16px; image-rendering: pixelated; }
.zwel-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; flex-wrap: wrap; }

.z-start { min-width: 196px; }
.z-start .z-menu__banner { width: 24px; }
.z-start .z-menu__banner span { font-size: 20px; bottom: 6px; display: flex; flex-direction: row; align-items: center; }
.z-start .z-menu__banner span i { font-style: normal; display: inline-block; cursor: var(--z-cur-arrow); padding: 1px 0; }
.z-start .z-menu__banner span i.boing { animation: zboing .14s steps(2); }
.z-start .z-menu__banner span b { margin-top: 6px; color: var(--z-light); }
@keyframes zboing { 50% { transform: translateX(-3px); } }

.zob { position: absolute; right: 14px; bottom: 12px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; max-width: 260px; }
.zob[hidden] { display: none; }
.zob > * { pointer-events: auto; }
.z98 .zob-body { position: relative; width: 52px; height: 60px; min-width: 0; min-height: 0; padding: 2px; background: transparent; box-shadow: none; cursor: var(--z-cur-hand); touch-action: none; }
.zob-body .pim { width: 48px; height: 56px; animation: zbob 3s steps(1) infinite; }
.zob-body:focus-visible { outline: 1px dotted #fff; }
@keyframes zbob { 0%, 85%, 100% { transform: translateY(0); } 90% { transform: translateY(-2px); } }
.zob.is-squish .pim { animation: zsquish .3s steps(3); }
@keyframes zsquish { 50% { transform: scale(1.12, .86) translateY(4px); } }
.zob.is-dizzy .pim { animation: zdizzy 1.2s steps(12); }
@keyframes zdizzy { to { transform: rotate(720deg); } }
.zob.is-wave .pim, .zob.is-giggle .pim { animation: zwob .7s steps(4) 2; }
@keyframes zwob { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.zob-zzz { position: absolute; right: -4px; top: -10px; font: 700 12px var(--c-hand); color: #fff; text-shadow: 1px 1px #000; display: none; }
.zob-zzz i, .zob-zzz b { font-style: normal; font-weight: 700; }
.zob.is-sleeping .zob-zzz { display: block; animation: zzz 2s steps(4) infinite; }
@keyframes zzz { 0% { transform: translate(0, 4px); opacity: .3; } 100% { transform: translate(6px, -8px); opacity: 1; } }
.zob-bubble {
  position: relative; max-width: 230px; margin: 0 10px 6px 0; padding: 8px 22px 8px 10px;
  background: var(--z-info); color: var(--z-infotext); border: 1px solid #000; border-radius: 8px;
  font-size: 12px; line-height: 1.4; box-shadow: 2px 2px 0 rgba(0, 0, 0, .3);
}
:root[data-look="contrast"] .zob-bubble { border-color: #fff; }
.zob-bubble[hidden] { display: none; }
.zob-bubble::after, .zob-bubble::before { content: ""; position: absolute; right: 18px; top: 100%; border-style: solid; border-width: 10px 0 0 10px; border-color: #000 transparent transparent; }
.zob-bubble::after { right: 19px; border-width: 8px 0 0 8px; border-color: var(--z-info) transparent transparent; margin-top: -1px; }
.zob-bubble p { margin: 0; }
.zob-btns { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.zob-btns[hidden] { display: none; }
.z98 .zob-btns button { min-width: 0; height: 22px; padding: 0 8px; }
.z98 .zob-x { position: absolute; right: 3px; top: 3px; width: 14px; height: 13px; min-width: 0; min-height: 0; padding: 0; background: transparent var(--zg-close) center / 7px 6px no-repeat; box-shadow: none; image-rendering: pixelated; }
:root[data-look="contrast"] .z98 .zob-x, :root[data-look="midnight"] .z98 .zob-x { background-image: var(--zg-close-w); }

.zboot { position: fixed; inset: 0; z-index: 7000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: #fff; background: #000; overflow: hidden; cursor: var(--z-cur-wait); }
.zboot-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #1d2a8a 0%, #2c64c8 45%, #78b6ff 72%, #ffd99a 100%); }
.zboot-sky::after { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(rgba(0, 0, 0, .14) 0 25%, transparent 0 50%) 0 0 / 2px 2px; }
.zboot-logo { position: relative; display: flex; align-items: center; gap: 18px; }
.zboot-logo b { font: 700 72px/1 var(--c-hand); letter-spacing: 1px; text-shadow: 4px 4px 0 #000080; }
.zboot-logo b i { font-style: normal; color: #ffd23f; font-size: 48px; margin-left: 10px; vertical-align: top; }
.zboot-zob .pim { width: 96px; height: 112px; }
.zboot-msg { position: relative; margin: 0; font: 12px var(--font); text-shadow: 1px 1px 0 #000; }
.zboot-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; overflow: hidden; background: #000080; }
.zboot-bar i { position: absolute; inset: 0; width: 200%; background: repeating-linear-gradient(90deg, transparent 0 40px, #1084d0 40px 80px, #ffd23f 80px 100px, #dc2f6c 100px 120px, transparent 120px 200px); animation: zbar 1.2s linear infinite; }
@keyframes zbar { to { transform: translateX(-200px); } }
.zboot.is-out { opacity: 0; transition: opacity .25s; }
.zboot--safe { background: #000; cursor: var(--z-cur-arrow); gap: 10px; }
.zboot--safe p { font: 700 24px/1.4 var(--c-hand); color: #ff8a00; text-align: center; margin: 0; }
.zboot--safe small { font: 12px var(--font); color: #777; }
.zboot--safe:focus { outline: none; }
.desktop.is-fading::after { content: ""; position: absolute; inset: 0; z-index: 3000; background: repeating-conic-gradient(rgba(0, 0, 0, .55) 0 25%, transparent 0 50%) 0 0 / 2px 2px; animation: curio-fade .6s steps(4); }
.zsaver { position: fixed; inset: 0; z-index: 6000; width: 100%; height: 100%; image-rendering: pixelated; background: #000; cursor: none; }

.desktop.is-party .di { animation: zdance .5s steps(2) infinite; }
.desktop.is-party .di:nth-child(even) { animation-delay: .25s; }
.desktop.is-party .desk-bg { animation: zhue 1.6s steps(8) infinite; background-color: var(--z-desk); }
@keyframes zdance { 50% { transform: translateY(-5px) rotate(-4deg); } }
@keyframes zhue { to { filter: hue-rotate(360deg); } }
.zbats i { position: absolute; left: -40px; width: 22px; height: 10px; animation: zbat 13s steps(60) infinite; pointer-events: none; z-index: 2;
  background: linear-gradient(#111, #111) 9px 2px / 4px 6px no-repeat, linear-gradient(#111, #111) 2px 2px / 7px 3px no-repeat, linear-gradient(#111, #111) 13px 2px / 7px 3px no-repeat, linear-gradient(#111, #111) 0 0 / 3px 3px no-repeat, linear-gradient(#111, #111) 19px 0 / 3px 3px no-repeat; }
@keyframes zbat { 0% { transform: translate(0, 0); } 25% { transform: translate(30vw, -20px); } 50% { transform: translate(60vw, 18px); } 75% { transform: translate(90vw, -12px); } 100% { transform: translate(115vw, 0); } }
.zsnow i { position: absolute; top: -8px; width: 3px; height: 3px; background: #fff; box-shadow: 1px 1px 0 rgba(0, 0, 0, .25); animation: zsnow 10s linear infinite; pointer-events: none; z-index: 2; }
@keyframes zsnow { to { transform: translateY(105vh); } }

@media (max-width: 640px) {
  body.hub { --tb: 40px; }
  .taskbar { padding: 4px 3px 3px; gap: 4px; }
  .z98 .start { height: 32px; padding: 0 8px 0 6px; }
  .z98 .start.is-on, .z98 .start[aria-expanded="true"] { padding: 1px 7px 0 7px; }
  .quick, .tb-sep--q { display: none; }
  .tasks { height: 32px; }
  .z98 .zt { height: 32px; flex: 0 1 120px; }
  .tasks.is-crowded .zt span { display: none; }
  .tasks.is-crowded .zt { flex: 0 0 36px; justify-content: center; padding: 0; }
  .tray { height: 32px; padding: 0 3px; }
  .z98 .tr-b { width: 26px; height: 28px; }
  .tray [data-t="pad"] { display: none; }
  .desk-icons { grid-auto-flow: row; grid-template-rows: none; grid-auto-rows: 82px; grid-template-columns: repeat(4, minmax(0, 1fr)); right: 0; padding: 8px 6px; overflow-y: auto; }
  .z98 .di { width: 100%; height: 82px; }
  .di-label { max-width: 100%; }
  .z98 .window.zw { padding: 2px; }
  .zw-h, .zw-grip, .zw .title-bar-controls .maximize { display: none; }
  .zx-tb span { display: none; }
  .z98 .zx-tb { padding: 0 5px; height: 30px; }
  .zx-list.is-large .zx-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .zx-list.is-large .zi { width: 100%; }
  .zh { flex-direction: column; }
  .z98 .zh-nav { flex: 0 0 auto; max-height: 34%; }
  .zwel-side { display: none; }
  .zob { right: 6px; bottom: 6px; }
  .zob-body .pim { width: 36px; height: 42px; }
  .z98 .zob-body { width: 40px; height: 46px; }
  .zob-bubble { max-width: min(240px, calc(100vw - 30px)); }
  .zboot-logo { flex-direction: column; gap: 10px; }
  .zboot-logo b { font-size: 48px; }
  .zboot-logo b i { font-size: 24px; }
  .zt-clock { flex-direction: column; overflow: auto; }
  .zf-top { flex-direction: column; align-items: stretch; }
  .zf-btns { flex-direction: row; padding-top: 0; }
  .zf-anim { display: none; }
}
@media (pointer: coarse) {
  .z98 .zi { min-height: 30px; }
  .zx-list.is-large .zi { min-height: 0; }
}
