/* ============================================================
   START MENU
   ============================================================ */
#start-menu {
  position: fixed;
  left: 0;
  bottom: var(--taskbar-height);
  z-index: 9500;
  width: 300px;
  max-height: calc(100vh - var(--taskbar-height) - 20px);
  background: var(--start-bg);
  border: 2px solid;
  border-color: var(--win-border-hi) var(--win-border-dk) var(--win-border-dk) var(--win-border-hi);
  box-shadow: 4px -4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s;
}

#start-menu.hidden {
  display: none;
}

/* ---- header ---- */
.start-header {
  background: var(--start-header-bg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.start-header img {
  width: 32px;
  height: 32px;
}

.start-header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--start-header-text);
  font-family: var(--font);
}

/* ---- body ---- */
.start-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

.start-section-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px 2px;
}

/* ---- items ---- */
.start-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-family: var(--font);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.1s;
  width: 100%;
  text-align: left;
}

.start-item:hover {
  background: var(--tag-bg-active);
  color: var(--tag-text-active);
}

.start-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.start-item-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-item-icon-text {
  width: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  flex-shrink: 0;
}

/* ---- separator ---- */
.start-separator {
  height: 1px;
  background: var(--start-separator);
  margin: 4px 8px;
}

/* ---- active mode ---- */
.start-item.active-mode {
  background: var(--tag-bg-active);
  color: var(--tag-text-active);
}
