/* ── desktop environment (homepage) ─────────────── */

/* ── body overrides ────────────────────────────── */

body.terminal {
  display: block;
  padding: 0;
  background: linear-gradient(145deg, #080c14 0%, #0c1220 50%, #080e18 100%);
  overflow: hidden;
  height: 100vh;
}

body.terminal::before,
body.terminal::after {
  display: none;
}

/* ── starfield / custom background ─────────────── */

#universe {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.star0 { height: 1px; width: 1px; opacity: 1; position: absolute; }
.star1 { height: 2px; width: 2px; border-radius: 50%; opacity: 1; position: absolute; }
.star2 { height: 3px; width: 3px; border-radius: 50%; opacity: 1; position: absolute; }
.star3 { height: 4px; width: 4px; border-radius: 50%; opacity: 1; position: absolute; }

#custom-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

/* ── desktop ────────────────────────────────────── */

.desktop {
  position: fixed;
  inset: 0;
  bottom: 40px;
  overflow: hidden;
  z-index: 1;
}

.desktop-icons {
  position: relative;
  width: 100%;
  height: 100%;
}

.desktop-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 68px;
  padding: 6px 4px 4px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: background 0.1s, border-color 0.1s;
}

.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.desktop-icon:active,
.desktop-icon.selected {
  background: color-mix(in srgb, var(--green-phosphor, #0cf) 10%, transparent);
  border-color: color-mix(in srgb, var(--green-phosphor, #0cf) 25%, transparent);
}

.icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--icon-hue, 200) 40% 14%);
  border: 1px solid color-mix(in srgb, var(--green-phosphor, #0cf) 25%, hsl(var(--icon-hue, 200) 45% 25%));
  color: hsl(var(--icon-hue, 200) 70% 65%);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.icon-tile svg {
  width: 20px;
  height: 20px;
}

.desktop-icon:hover .icon-tile {
  transform: scale(1.08);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--green-phosphor, #0cf) 35%, transparent);
  border-color: color-mix(in srgb, var(--green-phosphor, #0cf) 50%, hsl(var(--icon-hue, 200) 45% 25%));
}

.icon-name {
  font-size: 0.62rem;
  color: #ccc;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 2px #000;
  line-height: 1.3;
  max-width: 66px;
  word-wrap: break-word;
}

/* ── window ─────────────────────────────────────── */

.window {
  position: absolute;
  background: #181a28;
  border: 1px solid #282a3a;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 10;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s ease, opacity 0.2s ease;
  animation: win-open 0.2s ease;
}

@keyframes win-open {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ast-blink {
  50% { opacity: 0; }
}

.window.focused {
  border-color: rgba(0, 204, 255, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 204, 255, 0.1);
  z-index: 20;
}

.window.minimized {
  opacity: 0;
  transform: scale(0.8) translateY(40px);
  pointer-events: none;
}

.window.maximized {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100vh - 40px) !important;
  border-radius: 0;
  border: none;
}

.win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 12px;
  background: #121420;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  flex-shrink: 0;
}

.win-titlebar:active {
  cursor: grabbing;
}

.win-title {
  font-size: 0.72rem;
  color: #555;
  font-family: inherit;
}

.window.focused .win-title {
  color: #999;
}

.win-controls {
  display: flex;
}

.win-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: #555;
  font-size: 0.72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: background 0.1s, color 0.1s;
}

.win-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}

.win-close:hover {
  background: #c42b1c;
  color: #fff;
}

.win-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0c0e18;
  position: relative;
}

/* ── terminal inside window ─────────────────────── */

.window .term-body {
  padding: 12px 16px;
  position: absolute;
  inset: 0;
  overflow-y: auto;
  font-size: 0.82rem;
  line-height: 1.8;
  text-shadow: 0 0 6px var(--green-glow);
}

.window .term-line {
  opacity: 1;
  animation: none;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.window .term-line .cmd {
  color: var(--green-phosphor);
}

.window .term-line .dim {
  color: var(--green-dim);
}

.window .term-line .ok {
  color: var(--green-phosphor);
}

.window .prompt-text {
  color: var(--green-dim);
}

.window .input-line {
  display: flex;
  align-items: center;
  opacity: 1;
  animation: none;
  white-space: nowrap;
  min-height: 1.8em;
  flex-shrink: 0;
}

.window .input-typed {
  color: var(--green-phosphor);
  margin-left: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window .cursor {
  display: inline-block;
  width: 7px;
  height: 1.15em;
  background: var(--green-phosphor);
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}

/* ── taskbar ────────────────────────────────────── */

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  z-index: 10000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: inherit;
}

.start-btn {
  width: 44px;
  height: 40px;
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: background 0.1s, color 0.1s;
}

.start-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.start-btn svg {
  width: 16px;
  height: 16px;
}

/* ── taskbar search ───────────────────────────── */

.taskbar-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 4px;
}

.taskbar-search-icon {
  position: absolute;
  left: 12px;
  width: 13px;
  height: 13px;
  color: #555;
  pointer-events: none;
}

.taskbar-search-input {
  width: 160px;
  height: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #999;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 0 8px 0 28px;
  outline: none;
  transition: border-color 0.15s, background 0.15s, width 0.2s;
}

.taskbar-search-input:focus {
  border-color: color-mix(in srgb, var(--green-phosphor, #0cf) 50%, transparent);
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
  width: 200px;
}

.taskbar-search-results {
  position: absolute;
  bottom: 38px;
  left: 4px;
  width: 240px;
  background: rgba(18, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  display: none;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px 0;
  z-index: 10001;
}

.taskbar-search-results.open {
  display: block;
}

.taskbar-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  color: #bbb;
  font-family: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.1s;
}

.taskbar-search-result:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.taskbar-search-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.taskbar-search-empty {
  padding: 12px 14px;
  color: #555;
  font-size: 0.68rem;
  text-align: center;
}

.taskbar-items {
  display: flex;
  flex: 1;
  height: 100%;
  gap: 2px;
  padding: 0 4px;
  overflow: hidden;
}

.taskbar-item {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 32px;
  margin: 4px 0;
  font-size: 0.7rem;
  color: #777;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.1s, color 0.1s;
  position: relative;
}

.taskbar-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.taskbar-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ddd;
}

.taskbar-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  background: var(--green-phosphor, #00ccff);
  border-radius: 2px;
}

.system-tray {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 100%;
  gap: 10px;
  font-size: 0.68rem;
  color: #777;
}

.tray-sep {
  color: #333;
  font-size: 0.5rem;
}

/* ── cursor glow ────────────────────────────────── */

#cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

#cursor-glow.visible {
  opacity: 1;
}

/* ── hide old layout elements ───────────────────── */

.site-title,
.cards,
.footer,
.term-header {
  display: none;
}

/* ── responsive ─────────────────────────────────── */

/* (768px breakpoint removed — icons are free-positioned) */

/* ── resize handles ─────────────────────────────── */

.resize-handle {
  position: absolute;
  z-index: 2;
}

.resize-handle.rh-n {
  top: -3px; left: 6px; right: 6px; height: 6px;
  cursor: n-resize;
}
.resize-handle.rh-s {
  bottom: -3px; left: 6px; right: 6px; height: 6px;
  cursor: s-resize;
}
.resize-handle.rh-e {
  top: 6px; bottom: 6px; right: -3px; width: 6px;
  cursor: e-resize;
}
.resize-handle.rh-w {
  top: 6px; bottom: 6px; left: -3px; width: 6px;
  cursor: w-resize;
}
.resize-handle.rh-ne {
  top: -3px; right: -3px; width: 12px; height: 12px;
  cursor: ne-resize;
}
.resize-handle.rh-nw {
  top: -3px; left: -3px; width: 12px; height: 12px;
  cursor: nw-resize;
}
.resize-handle.rh-se {
  bottom: -3px; right: -3px; width: 12px; height: 12px;
  cursor: se-resize;
}
.resize-handle.rh-sw {
  bottom: -3px; left: -3px; width: 12px; height: 12px;
  cursor: sw-resize;
}

.window.maximized .resize-handle {
  display: none;
}

/* ── start menu ────────────────────────────────── */

.start-menu {
  position: fixed;
  bottom: 44px;
  left: 4px;
  width: 260px;
  max-height: 400px;
  background: rgba(18, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  z-index: 10001;
  padding: 0;
  display: flex;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.start-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.start-sidebar {
  width: 40px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 2px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.start-sidebar-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s, color 0.1s, transform 0.1s;
}

.start-sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}

.start-sidebar-btn:active {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(0.9);
}

.start-sidebar-btn svg {
  width: 15px;
  height: 15px;
}

.start-sidebar-spacer {
  flex: 1;
}

.start-menu-items {
  display: flex;
  flex-direction: column;
  max-height: 400px;
  overflow-y: auto;
  flex: 1;
  padding: 4px 0;
}

.start-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: transparent;
  border: none;
  color: #bbb;
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.1s, color 0.1s, transform 0.1s;
  text-align: left;
}

.start-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.start-item:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.97);
}

.start-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--icon-hue, 200) 40% 14%);
  border: 1px solid hsl(var(--icon-hue, 200) 45% 25%);
  color: hsl(var(--icon-hue, 200) 70% 65%);
  flex-shrink: 0;
}

.start-icon svg {
  width: 15px;
  height: 15px;
}

.start-label {
  flex: 1;
}

.start-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 12px;
}

/* ── context menu ──────────────────────────────── */

.ctx-menu {
  position: fixed;
  min-width: 160px;
  background: rgba(18, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  z-index: 10002;
  padding: 4px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.ctx-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 14px;
  background: transparent;
  border: none;
  color: #bbb;
  font-family: inherit;
  font-size: 0.7rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}

.ctx-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ctx-item.ctx-disabled {
  color: #555;
  cursor: default;
  pointer-events: none;
}

.ctx-icon {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.72rem;
}

.ctx-label {
  flex: 1;
}

.ctx-shortcut {
  color: #555;
  font-size: 0.62rem;
  margin-left: 16px;
}

.ctx-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 12px;
}

/* ── file manager ──────────────────────────────── */

.fm-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fm-breadcrumb {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: #666;
  gap: 4px;
  flex-shrink: 0;
}

.fm-crumb {
  background: transparent;
  border: none;
  color: #0af;
  font-family: inherit;
  font-size: 0.7rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
}

.fm-crumb:hover {
  background: rgba(255, 255, 255, 0.06);
}

.fm-crumb-sep {
  color: #444;
}

.fm-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

.fm-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.75rem;
  color: #bbb;
  transition: background 0.1s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.fm-entry:hover {
  background: rgba(255, 255, 255, 0.04);
}

.fm-entry-icon {
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.fm-entry-icon.folder {
  color: #e8c94a;
}

.fm-entry-icon.file {
  color: #666;
}

.fm-entry-name {
  flex: 1;
}

.fm-entry-size {
  color: #555;
  font-size: 0.65rem;
}

/* ── app iframe ────────────────────────────────── */

.app-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── text viewer ───────────────────────────────── */

.tv-content {
  padding: 14px 16px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #bbb;
  white-space: pre-wrap;
  word-wrap: break-word;
  height: 100%;
  overflow-y: auto;
}

/* ── about window ──────────────────────────────── */

.about-content {
  padding: 20px 24px;
  height: 100%;
  overflow-y: auto;
}

.about-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0af;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.about-version {
  font-size: 0.7rem;
  color: #555;
  margin-bottom: 20px;
}

.about-rows {
  font-size: 0.75rem;
  line-height: 2;
}

.about-row {
  display: flex;
  gap: 12px;
}

.about-label {
  color: #555;
  min-width: 90px;
}

.about-val {
  color: #bbb;
}

/* ── browser ───────────────────────────────────── */

.browser-bar {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.browser-url {
  flex: 1;
  background: #181a28;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  font-family: inherit;
  font-size: 0.72rem;
  padding: 5px 8px;
  outline: none;
}

.browser-url:focus {
  border-color: var(--green-phosphor, #0af);
}

.browser-go {
  background: color-mix(in srgb, var(--green-phosphor, #0af) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--green-phosphor, #0af) 30%, transparent);
  color: var(--green-phosphor, #0af);
  font-family: inherit;
  font-size: 0.68rem;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.browser-go:hover {
  background: color-mix(in srgb, var(--green-phosphor, #0af) 25%, transparent);
}

.browser-back {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}

.browser-back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ddd;
}

.browser-viewport {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #0c0e18;
  position: relative;
}

.browser-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
  display: block;
}

.browser-home {
  padding: 32px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.browser-home-title {
  font-size: 1.4rem;
  color: var(--green-phosphor, #0af);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.browser-home-sub {
  font-size: 0.7rem;
  color: #555;
  margin-bottom: 20px;
}

.browser-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.browser-bookmark {
  display: block;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #bbb;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s, border-color 0.1s;
}

.browser-bookmark:hover {
  background: rgba(0, 170, 255, 0.08);
  border-color: rgba(0, 170, 255, 0.2);
  color: #fff;
}

.browser-external {
  padding: 40px 30px;
  text-align: center;
}

.browser-ext-title {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 8px;
}

.browser-ext-url {
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 20px;
  word-break: break-all;
}

.browser-ext-msg {
  font-size: 0.72rem;
  color: #666;
  margin-bottom: 16px;
}

.browser-ext-link {
  display: inline-block;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--green-phosphor, #0af) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--green-phosphor, #0af) 30%, transparent);
  color: var(--green-phosphor, #0af);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: inherit;
}

.browser-ext-link:hover {
  background: color-mix(in srgb, var(--green-phosphor, #0af) 25%, transparent);
}

#win-browser .win-content {
  display: flex;
  flex-direction: column;
}

/* ── notepad ───────────────────────────────────── */

.notepad-toolbar {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.notepad-new,
.notepad-open,
.notepad-save,
.notepad-saveas {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.notepad-new:hover,
.notepad-open:hover,
.notepad-save:hover,
.notepad-saveas:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ddd;
}

.notepad-status {
  font-size: 0.65rem;
  color: #555;
  margin-left: auto;
}

.notepad-editor {
  width: 100%;
  flex: 1;
  background: #0c0e18;
  color: #ccc;
  border: none;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1.7;
  resize: none;
  outline: none;
}

#win-notepad .win-content {
  display: flex;
  flex-direction: column;
  position: relative;
}

.notepad-dialog {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 24, 0.95);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.notepad-dialog-title {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 12px;
}

.notepad-dialog-input {
  width: 260px;
  background: #181a28;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  font-family: inherit;
  font-size: 0.75rem;
  padding: 6px 10px;
  outline: none;
  margin-bottom: 12px;
}

.notepad-dialog-input:focus {
  border-color: #0af;
}

.notepad-dialog-list {
  width: 280px;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #333;
  border-radius: 4px;
  background: #181a28;
  margin-bottom: 12px;
}

.notepad-dialog-item {
  display: block;
  width: 100%;
  padding: 7px 12px;
  background: transparent;
  border: none;
  color: #bbb;
  font-family: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}

.notepad-dialog-item:hover {
  background: rgba(0, 170, 255, 0.1);
  color: #fff;
}

.notepad-dialog-actions {
  display: flex;
  gap: 8px;
}

.notepad-dialog-actions button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 5px 16px;
  border-radius: 3px;
  cursor: pointer;
}

.notepad-dialog-actions button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ddd;
}

.notepad-dialog-actions button.primary {
  background: rgba(0, 170, 255, 0.15);
  border-color: rgba(0, 170, 255, 0.3);
  color: #0af;
}

.notepad-dialog-actions button.primary:hover {
  background: rgba(0, 170, 255, 0.25);
}

/* ── calculator ────────────────────────────────── */

.calc-display {
  padding: 16px 18px;
  font-size: 1.8rem;
  color: #eee;
  text-align: right;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
}

.calc-btn {
  background: #181a28;
  border: none;
  color: #ccc;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
}

.calc-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.calc-btn:active {
  background: rgba(255, 255, 255, 0.14);
}

.calc-btn.calc-fn {
  color: #0af;
  background: rgba(0, 170, 255, 0.06);
}

.calc-btn.calc-op {
  color: #f80;
  background: rgba(255, 136, 0, 0.08);
}

.calc-btn.calc-op:hover {
  background: rgba(255, 136, 0, 0.18);
}

.calc-btn.calc-eq {
  background: #0af;
  color: #000;
  font-weight: 700;
}

.calc-btn.calc-eq:hover {
  background: #3bf;
}

.calc-btn.calc-zero {
  grid-column: span 2;
}

#win-calc .win-content {
  display: flex;
  flex-direction: column;
}

/* ── clock ─────────────────────────────────────── */

.clock-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  padding: 20px;
}

.clock-canvas {
  display: block;
}

.clock-digital {
  font-size: 1.6rem;
  color: #0af;
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}

/* ── settings ──────────────────────────────────── */

.settings-content {
  padding: 20px 24px;
  height: 100%;
  overflow-y: auto;
}

.settings-section {
  margin-bottom: 24px;
}

.settings-label {
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.1s, border-color 0.1s;
}

.swatch:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.settings-bg-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.settings-upload-btn,
.settings-reset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.settings-upload-btn:hover,
.settings-reset-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ddd;
}

.settings-dir-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.settings-dir-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ccc;
  font-family: inherit;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.settings-dir-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.settings-dir-btn.active {
  background: rgba(0, 204, 255, 0.18);
  border-color: rgba(0, 204, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.25);
}

.swatch.active {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transform: scale(1.12);
}

/* ── image viewer ──────────────────────────────── */

.imgview-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.imgview-prev,
.imgview-next {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}

.imgview-prev:hover,
.imgview-next:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ddd;
}

.imgview-counter {
  font-size: 0.7rem;
  color: #666;
  min-width: 50px;
  text-align: center;
}

.imgview-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.imgview-title {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 4px;
}

#win-imgview .win-content {
  display: flex;
  flex-direction: column;
}

/* ── music player ──────────────────────────────── */

.music-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.music-now {
  padding: 16px 18px 8px;
  text-align: center;
}

.music-track-name {
  font-size: 0.88rem;
  color: #ddd;
  margin-bottom: 2px;
}

.music-track-artist {
  font-size: 0.68rem;
  color: #666;
}

.music-progress {
  margin: 10px 18px 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.music-progress-bar {
  height: 100%;
  width: 0%;
  background: #0af;
  border-radius: 2px;
  transition: width 0.2s linear;
}

.music-time {
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 0.6rem;
  color: #555;
}

.music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
}

.music-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s, border-color 0.1s;
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.music-play {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  border-color: #0af;
  color: #0af;
}

.music-play:hover {
  background: rgba(0, 170, 255, 0.15);
}

.music-list {
  flex: 1;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.music-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 18px;
  font-size: 0.72rem;
  color: #888;
  cursor: pointer;
  transition: background 0.1s;
}

.music-list-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.music-list-item.active {
  color: #0af;
  background: rgba(0, 170, 255, 0.06);
}

.music-list-dur {
  color: #555;
  font-size: 0.65rem;
}

/* ── desktop icon dragging ─────────────────────── */

.desktop-icon.dragging {
  opacity: 0.7;
  z-index: 9999;
  pointer-events: none;
}

/* ── boot screen ──────────────────────────────── */

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #080c14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: boot-hold 1.5s ease forwards, boot-fade 0.5s 1.5s ease forwards;
}

.boot-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  opacity: 0;
  animation: boot-text-in 0.6s 0.2s ease forwards;
}

.boot-dot {
  color: var(--green-phosphor, #0cf);
}

.boot-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--green-phosphor, #0cf);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  animation: spin 0.8s linear infinite, boot-text-in 0.4s 0.5s ease forwards;
}

@keyframes boot-text-in {
  to { opacity: 1; }
}

@keyframes boot-fade {
  to { opacity: 0; pointer-events: none; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.boot-screen.done {
  display: none;
}

/* ── lock screen ─────────────────────────────── */

.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: linear-gradient(145deg, #0a0e1a 0%, #101828 50%, #0a1018 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.lock-screen.unlocking {
  opacity: 0;
  pointer-events: none;
}

.lock-time {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}

.lock-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 28px;
}

.lock-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(200 60% 25%), hsl(200 80% 40%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lock-user {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 4px;
}

.lock-hint {
  font-size: 0.68rem;
  color: #555;
  margin-top: 16px;
  animation: lock-pulse 2s ease-in-out infinite;
}

@keyframes lock-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── notification toasts ─────────────────────── */

.toast-container {
  position: fixed;
  bottom: 50px;
  right: 12px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(18, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 14px;
  color: #ccc;
  font-size: 0.72rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  animation: toast-in 0.25s ease;
  max-width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.toast-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 600;
  color: #ddd;
  font-size: 0.72rem;
  margin-bottom: 2px;
}

.toast-msg {
  color: #999;
  font-size: 0.65rem;
  line-height: 1.4;
}

.toast-close {
  background: transparent;
  border: none;
  color: #555;
  font-size: 0.65rem;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.1s;
}

.toast-close:hover {
  color: #ccc;
}

.toast-info { border-left: 3px solid #0af; }
.toast-success { border-left: 3px solid #4caf50; }
.toast-warning { border-left: 3px solid #ff9800; }
.toast-error { border-left: 3px solid #f44336; }

.toast.removing {
  animation: toast-out 0.2s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateX(20px) scale(0.95); }
}

/* ── snap preview ────────────────────────────── */

.snap-preview {
  position: fixed;
  background: color-mix(in srgb, var(--green-phosphor, #0cf) 10%, transparent);
  border: 2px solid color-mix(in srgb, var(--green-phosphor, #0cf) 30%, transparent);
  border-radius: 8px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s, top 0.15s, left 0.15s, width 0.15s, height 0.15s;
}

.snap-preview.visible {
  opacity: 1;
}

/* ── system tray indicators ──────────────────── */

.tray-icon {
  display: flex;
  align-items: center;
  color: #666;
}

.tray-icon svg {
  display: block;
}

.tray-clock-btn {
  cursor: pointer;
  padding: 0 2px;
  border-radius: 3px;
  transition: background 0.1s;
}

.tray-clock-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ── clock tray calendar popup ───────────────── */

.tray-calendar {
  position: absolute;
  bottom: 44px;
  right: 8px;
  width: 220px;
  background: rgba(18, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  padding: 14px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10001;
}

.tray-calendar.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tray-cal-date {
  font-size: 0.82rem;
  color: #ccc;
  margin-bottom: 12px;
  text-align: center;
}

.tray-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  text-align: center;
  font-size: 0.62rem;
}

.tray-cal-grid .cal-header {
  color: #555;
  padding: 4px 0;
  font-weight: 600;
}

.tray-cal-grid .cal-day {
  color: #888;
  padding: 3px 0;
  border-radius: 3px;
}

.tray-cal-grid .cal-day.today {
  background: color-mix(in srgb, var(--green-phosphor, #0cf) 25%, transparent);
  color: #fff;
}

.tray-cal-grid .cal-day.empty {
  color: transparent;
}

/* ── taskbar tooltips ────────────────────────── */

.taskbar-item {
  position: relative;
}

.taskbar-item::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 20, 32, 0.95);
  color: #ccc;
  font-size: 0.62rem;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.taskbar-item:hover::before {
  opacity: 1;
}

/* ── icon rename input ─────────────────────────── */

.icon-rename-input {
  width: 60px;
  background: #181a28;
  border: 1px solid #0af;
  border-radius: 3px;
  color: #ccc;
  font-family: inherit;
  font-size: 0.6rem;
  padding: 2px 4px;
  text-align: center;
  outline: none;
}

/* ── arcade launcher ──────────────────────────── */

.arcade-launcher {
  height: 100%;
  padding: 20px;
  overflow-y: auto;
}

.arcade-header {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
}

.arcade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

.arcade-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.arcade-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 170, 255, 0.2);
  transform: translateY(-2px);
}

.arcade-card-icon {
  font-size: 2rem;
  line-height: 1;
}

.arcade-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ddd;
}

.arcade-card-desc {
  font-size: 0.62rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.arcade-card-play {
  background: rgba(0, 170, 255, 0.15);
  border: 1px solid rgba(0, 170, 255, 0.3);
  color: #0af;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 5px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.15s;
}

.arcade-card-play:hover {
  background: rgba(0, 170, 255, 0.25);
}

/* ── minesweeper ──────────────────────────────── */

.ms-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  padding: 8px;
}

.ms-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin-bottom: 8px;
  width: 100%;
  justify-content: center;
}

.ms-difficulty {
  background: #181a28;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  font-family: inherit;
  font-size: 0.68rem;
  padding: 3px 6px;
  outline: none;
}

.ms-mines,
.ms-timer {
  font-family: monospace;
  font-size: 0.82rem;
  color: #f44;
  background: #111;
  padding: 2px 6px;
  border-radius: 3px;
  min-width: 36px;
  text-align: center;
}

.ms-timer {
  color: #f44;
}

.ms-newgame {
  background: transparent;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.ms-grid {
  display: grid;
  gap: 0;
  user-select: none;
  -webkit-user-select: none;
}

.ms-cell {
  width: 24px;
  height: 24px;
  background: #2a2a3a;
  border: 2px outset #454560;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.ms-cell:hover {
  background: #33334a;
}

.ms-cell.ms-revealed {
  background: #1a1a28;
  border: 1px solid #222238;
  cursor: default;
}

.ms-cell.ms-exploded {
  background: #4a1111;
}

.ms-cell.ms-flagged,
.ms-cell.ms-question {
  font-size: 0.68rem;
}

.ms-cell.ms-n1 { color: #4488ff; }
.ms-cell.ms-n2 { color: #44bb44; }
.ms-cell.ms-n3 { color: #ff4444; }
.ms-cell.ms-n4 { color: #4444cc; }
.ms-cell.ms-n5 { color: #cc4444; }
.ms-cell.ms-n6 { color: #44cccc; }
.ms-cell.ms-n7 { color: #444444; }
.ms-cell.ms-n8 { color: #888888; }

/* ── tetris ───────────────────────────────────── */

.tetris-info {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 100px;
}

.tetris-label {
  font-size: 0.58rem;
  color: #555;
  letter-spacing: 2px;
  margin-top: 8px;
}

.tetris-score,
.tetris-level,
.tetris-lines {
  font-size: 0.88rem;
  color: #ddd;
  font-variant-numeric: tabular-nums;
}

.tetris-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ── responsive ────────────────────────────────── */

@media (max-width: 520px) {
  .window {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 40px) !important;
    border-radius: 0;
    border: none;
  }

  .window .resize-handle {
    display: none;
  }

  .win-titlebar {
    cursor: default;
  }

  .start-menu {
    width: calc(100% - 8px);
  }

  .taskbar-search {
    display: none;
  }
}
