html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--gray-color);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

#navbar {
  background: var(--bright-color);
  padding: 12px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  left: 0;
  right: 0;
  cursor: pointer;
}

@media (max-width: 600px) {
  #navbar {
    justify-content: center;
  }
}

#logo {
  height: 40px;
  width: auto;
}

#drive { max-width: 900px; margin: 24px auto; }

#breadcrumbs {
  max-width: 900px;
  margin: 8px auto 0;
  padding: 8px 16px;
  color: var(--gray-color);
  font-size: 14px;
}

#breadcrumbs .crumb {
  color: var(--gray-color);
  cursor: pointer;
}

#breadcrumbs .sep {
  margin: 0 6px;
  color: rgba(0,0,0,0.3);
}

#drive-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tile {
  display: inline-block;
  width: 80%;
  max-width: 500px;
  height: 120px;
  margin: 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.14);
  background: var(--light-color);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  vertical-align: top;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.18);
}

.tile-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: block;
  max-width: 100%;
}

.tile-placeholder {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  background: var(--medium-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--light-color);
}

.tile-name {
  font-weight: 500;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-meta {
  font-size: 12px;
  color: var(--gray-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .tile {
    width: 260px;
    margin: 0;
  }
}

