/* Kids' page tweaks (loaded via File Browser branding.files) */

/* Sidebar: no folder/file makers */
nav button[aria-label="New folder"],
nav button[aria-label="New file"] { display: none !important; }

/* Hide File Browser's own search (it only searches files already here, which
   confused things). The green "Search for games" button is the real search. */
header #search,
header .search-button { display: none !important; }

/* Make the Upload button obvious, with its word showing */
#upload-button {
  background: #2e7d32 !important; color: #fff !important;
  border-radius: 6px; padding: .4em .9em !important; margin: 0 .4em;
  display: inline-flex !important; align-items: center;
}
#upload-button i { color: #fff !important; }
#upload-button span { display: inline !important; margin-left: .35em; font-weight: 600; }

/* How-to box above the file list */
#listing::before {
  display: block;
  white-space: pre-line;
  content: "🔍  To find a new game:  click the green  Search for games  button at the bottom right.\A⬇  To get something:  open a folder, click the file you want, then click  DOWNLOAD.\A⬆  To ask for something:  click the green  Upload  button at the top and pick your .torrent file.  (On a phone, tap the three dots at the top right first.)\AIt shows up in this list when it's ready (a few minutes, or longer for big ones).";
  margin: 1em 1em 1.5em; padding: 1em 1.25em;
  border-left: 5px solid #2e7d32; border-radius: 6px;
  background: rgba(46,125,50,.15); color: inherit;
  font-size: 1.05rem; line-height: 1.7;
}
