/* Katsubō V11.7.13: presentation only. Editor-scoped, no player/hero styling. */
/* Compact, readable 48px selection surfaces with consistent arrow and spacing. */
#editpanel select:not([multiple]),
#editpanel #v11Editor select:not([multiple]) {
  box-sizing: border-box !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 10px 38px 10px 14px !important;
  border-radius: 12px !important;
  border-width: 1px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  vertical-align: middle !important;
  max-width: 100%;
  -webkit-appearance: menulist;
  appearance: auto;
}
/* Make category selector match sibling controls without stretching whole toolbar. */
#editpanel .editorTools { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
#editpanel .editorTools > label[for="categorySelect"] {font-size:16px; font-weight:600; line-height:1.3;}
#editpanel #categorySelect {width:auto; min-width:165px;}
#editpanel #collectionCategory {width:auto; min-width:165px;}
#editpanel .collectionEditorTop {display:flex; flex-wrap:wrap; align-items:center; gap:10px;}
/* The existing native chooser remains native; visually distinguish the inner action. */
#editpanel input[type="file"]:not([hidden]) {
  box-sizing:border-box;
  width:100%;
  min-height:48px;
  padding:6px 8px;
  border:1px solid rgba(157,139,181,.45);
  border-radius:12px;
  font-size:14px; font-weight:500; line-height:1.35; font-family:inherit;
  background:rgba(165,147,190,.055);
}
#editpanel input[type="file"]:not([hidden])::file-selector-button {
  box-sizing:border-box;
  min-height:34px;
  margin-right:12px;
  padding:6px 13px;
  border:1px solid rgba(165,139,206,.55);
  border-radius:10px;
  background:rgba(167,138,209,.14);
  color:inherit;
  font:600 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  cursor:pointer;
}
#editpanel input[type="file"]:not([hidden])::file-selector-button:hover {background:rgba(167,138,209,.26);}
#editpanel input[type="file"]:focus-visible,
#editpanel select:focus-visible {outline:2px solid #b995f2;outline-offset:2px;}
/* Keep three-column media actions, file-preview dimensions and the wider site untouched. */
@media (max-width:700px) {
  #editpanel .editorTools {justify-content:flex-start;}
  #editpanel select:not([multiple]) {max-width:100%;}
}
